@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #fdf8f0;
  --bg2: #f0e8d8;
  --surface: #fff;
  --border: rgba(118,84,43,.15);
  --ink: #2d2317;
  --ink-soft: #57514a;
  --brand: #76542b;
  --brand-soft: #f0e4cf;
  --radius: 16px;
}

html { background: var(--bg); }
body { font-family: 'Manrope', sans-serif; background: linear-gradient(160deg, var(--bg) 0%, var(--bg2) 100%); color: var(--ink); min-height: 100vh; line-height: 1.7; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(253,248,240,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0 20px; height: 56px; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 700; }
.nav-brand img { height: 32px; }
.nav-links { display: flex; gap: 20px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: .85rem; font-weight: 600; }
.nav-links a:hover { color: var(--brand); }

/* CONTAINER */
.container { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* HERO HOME */
.home-hero { text-align: center; padding: 56px 20px 40px; }
.home-hero h1 { font-family: 'Fraunces', serif; font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--ink); margin-bottom: 12px; }
.home-hero p { font-size: 1rem; color: var(--ink-soft); max-width: 560px; margin: 0 auto 28px; }

/* APP BADGES */
.app-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.badge-appstore, .badge-playstore { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: .85rem; text-decoration: none; color: #fff; }
.badge-appstore { background: #4a86c8; }
.badge-playstore { background: #3d8a6a; }
.badge-appstore img { width: 18px; height: 18px; object-fit: contain; }

/* GRID ARTICLES */
.saints-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; padding: 0 20px 60px; max-width: 1100px; margin: 0 auto; }

.saint-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; box-shadow: 0 4px 14px rgba(73,50,17,.08); transition: transform .15s, box-shadow .15s; }
.saint-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(73,50,17,.14); }
.saint-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: var(--brand-soft); }
.saint-card-img-placeholder { width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg, #e8ddc8, #d4c4a8); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.saint-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.saint-card-date { font-size: .72rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; }
.saint-card-title { font-family: 'Fraunces', serif; font-size: 1.05rem; color: var(--ink); line-height: 1.3; }
.saint-card-excerpt { font-size: .82rem; color: var(--ink-soft); line-height: 1.5; flex: 1; }

/* ARTICLE PAGE */
.article { padding: 40px 20px 80px; max-width: 760px; margin: 0 auto; }
.article-header { margin-bottom: 32px; }
.article-fete { font-size: .78rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.article-title { font-family: 'Fraunces', serif; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; color: var(--ink); margin-bottom: 16px; }
.article-meta { font-size: .82rem; color: var(--ink-soft); display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.article-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 32px; box-shadow: 0 8px 28px rgba(73,50,17,.14); }
.article-body { font-size: 1rem; line-height: 1.8; color: var(--ink); }
.article-body p { margin-bottom: 1.2em; }
.article-body h2 { font-family: 'Fraunces', serif; font-size: 1.4rem; margin: 2em 0 .6em; color: var(--ink); }
.article-body h3 { font-family: 'Fraunces', serif; font-size: 1.15rem; margin: 1.6em 0 .5em; color: var(--ink); }

/* CTA APP */
.cta-app { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 24px; margin: 40px 0; text-align: center; box-shadow: 0 4px 14px rgba(73,50,17,.07); }
.cta-app h3 { font-family: 'Fraunces', serif; font-size: 1.15rem; margin-bottom: 8px; }
.cta-app p { font-size: .88rem; color: var(--ink-soft); margin-bottom: 16px; }

/* STRUCTURED DATA visible */
.saint-feast { display: inline-block; background: var(--brand-soft); color: var(--brand); font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 12px; }

/* PAGINATION */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 20px 0 60px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 8px; border: 1.5px solid var(--border); font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--ink-soft); background: var(--surface); }
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* FOOTER */
.footer { border-top: 1px solid var(--border); padding: 28px 20px; text-align: center; font-size: .8rem; color: var(--ink-soft); }
.footer a { color: var(--brand); text-decoration: none; }

/* ADSENSE */
.ad-slot { margin: 32px 0; text-align: center; }

/* RESPONSIVE */
@media (max-width: 600px) {
  .saints-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .article-title { font-size: 1.7rem; }
  .nav-links { display: none; }
}
@media (max-width: 380px) {
  .saints-grid { grid-template-columns: 1fr; }
}

/* NAV - same as sanctus-sanctus.fr */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(253,248,240,.9); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(118,84,43,.1);
    padding: 0 20px; height: 56px;
    display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center;
}
.topnav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(253,248,240,.9); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(118,84,43,.1);
    padding: 0 20px; height: 56px;
    display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center;
}
.topnav-right { display: flex; justify-content: flex-end; position: relative; }
.nav-logo { height: 36px; width: auto; display: block; }
.menu-btn {
    background: #fff; border: 1.5px solid rgba(118,84,43,.2); border-radius: 10px;
    padding: 7px 14px; font-family: 'Manrope',sans-serif; font-weight: 700; font-size: .85rem;
    color: #2d2317; cursor: pointer; display: flex; align-items: center; gap: 8px;
}
.menu-dropdown {
    position: absolute; top: 48px; right: 0; background: #fff;
    border: 1.5px solid rgba(118,84,43,.15); border-radius: 14px;
    box-shadow: 0 12px 32px rgba(73,50,17,.15); padding: 8px;
    display: none; flex-direction: column; gap: 4px; min-width: 200px; z-index: 200;
}
.menu-dropdown.open { display: flex; }
.menu-dropdown a {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    border-radius: 10px; font-family: 'Manrope',sans-serif; font-weight: 700;
    font-size: .95rem; color: #2d2317; text-decoration: none;
}
.menu-dropdown a:hover { background: #f6f1e8; }
.menu-dropdown img { width: 28px; height: 28px; border-radius: 7px; }
.menu-label { font-size: .7rem; font-weight: 700; color: #a0907a; text-transform: uppercase; letter-spacing: .08em; padding: 6px 14px 4px; }
.menu-divider { height: 1px; background: rgba(118,84,43,.12); margin: 4px 8px; }
