/* ═══════════════════════════════════════════════════════════
   Action Fréquence Solidaire — feuille de style
   Charte graphique reprise du site de l'Église Nouvelle Fréquence.
═══════════════════════════════════════════════════════════ */
:root {
  /* Charte de l'Église Nouvelle Fréquence */
  --blue: #3f78e0;
  --green: #44c4a0;
  --navy: #343f52;
  --red: #e2626b;
  --light: #fefefe;
  --gray: #f6f7f9;
  --dark: #1a2332;
  --purple: #7c4dff;
  --deep: #070a74;
  --ink: #343f52;
  --muted: #6b7c93;
  --line: #e8ecf0;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(52, 63, 82, .08);
  --shadow-lg: 0 12px 36px rgba(52, 63, 82, .15);
  --body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --display: var(--body);
  --wrap: 1140px;
  /* anciens noms conservés pour les styles en ligne des pages */
  --night: var(--navy); --night-2: var(--blue); --night-3: var(--dark);
  --gold: var(--blue); --gold-deep: var(--blue); --berry: var(--red); --fir: var(--green);
  --cream: var(--light); --paper: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1.02rem; line-height: 1.65; color: var(--ink); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--night-2); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--night); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6vw, 4.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--night-3); padding: .6rem 1rem; z-index: 5000; font-weight: 700; }
.skip:focus { left: .5rem; top: .5rem; }

.eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 .7rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; scroll-margin-top: 70px; }
.section-head { margin-bottom: 2.2rem; }

/* ── Boutons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 700; font-size: .97rem; border-radius: 999px; padding: .78rem 1.6rem; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--night-3); box-shadow: 0 8px 22px rgba(230, 180, 80, .32); }
.btn-gold:hover { background: #f1c56b; color: var(--night-3); }
.btn-night { background: var(--night); color: #fff; }
.btn-night:hover { background: var(--night-2); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-line { border-color: var(--night); color: var(--night); background: transparent; }
.btn-line:hover { background: var(--night); color: #fff; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-sm { padding: .5rem 1.05rem; font-size: .86rem; }

/* ── En-tête ── */
#site-header { position: sticky; top: 0; z-index: 1000; background: rgba(11, 27, 51, .96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(230, 180, 80, .25); }
.nav { display: flex; align-items: center; gap: 1rem; min-height: 66px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; margin-right: auto; }
.brand svg { width: 38px; height: 38px; flex-shrink: 0; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.08rem; line-height: 1.1; letter-spacing: .01em; color: #fff; }
.brand-name small { display: block; font-family: var(--body); font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: .5rem .75rem; color: #dbe4f0; text-decoration: none; font-weight: 600; font-size: .92rem; border-radius: 8px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold); background: rgba(255, 255, 255, .06); }
.nav-links .btn { padding: .5rem 1.1rem; margin-left: .4rem; color: var(--night-3); }
.nav-links .btn:hover { color: var(--night-3); background: #f1c56b; }
.nav-toggle { display: none; background: transparent; border: 1px solid rgba(255, 255, 255, .3); color: #fff; border-radius: 8px; padding: .45rem .6rem; cursor: pointer; }
.nav-toggle svg { display: block; }

.lang { display: flex; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: 2px; margin-left: .5rem; }
.lang button { font: inherit; font-size: .76rem; font-weight: 700; letter-spacing: .06em; background: transparent; color: #c8d3e2; border: 0; border-radius: 999px; padding: .28rem .6rem; cursor: pointer; }
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--night-3); }

@media (max-width: 1220px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--night-3); padding: .6rem 1rem 1.1rem; border-bottom: 1px solid rgba(230, 180, 80, .25); gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .75rem .5rem; font-size: 1rem; }
  .nav-links .btn { margin: .6rem 0 0; justify-content: center; }
  .lang { margin-left: 0; }
}

/* ── Héros : ciel de nuit, guirlande, neige ── */
.hero { position: relative; color: #fff; padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(5rem, 11vw, 8rem); background: radial-gradient(120% 90% at 50% 35%, #2c5a86 0%, var(--night) 45%, var(--night-3) 100%); overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .8;
  background-image:
    radial-gradient(1.6px 1.6px at 8% 22%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 19% 61%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 31% 14%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 44% 38%, #fff 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 58% 12%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 67% 47%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 79% 24%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 91% 55%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 86% 9%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 4% 70%, #fff 50%, transparent 51%); }
.hero-snow { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 7vw, 90px); z-index: -1; }
.garland { position: absolute; top: 0; left: 0; width: 100%; height: 90px; z-index: -1; pointer-events: none; }
.garland circle { animation: twinkle 3.2s ease-in-out infinite; }
.garland circle:nth-of-type(2n) { animation-delay: 1.1s; }
.garland circle:nth-of-type(3n) { animation-delay: 2s; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero .lede { color: #d5dfec; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(230, 180, 80, .35); border-radius: 18px; padding: .7rem; transform: rotate(1.5deg); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); text-decoration: none; display: block; color: #fff; transition: transform .25s; }
.hero-card:hover { transform: rotate(0) translateY(-4px); color: #fff; }
.hero-card img { border-radius: 12px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-card-cap { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .75rem .5rem .3rem; font-weight: 600; font-size: .93rem; }
.hero-card-cap span:last-child { color: var(--gold); white-space: nowrap; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-card { max-width: 440px; } }

.page-hero { padding: clamp(3rem, 7vw, 4.6rem) 0 clamp(3.6rem, 8vw, 5.4rem); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); max-width: 20ch; }

/* ── Activités ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem 1.5rem; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--accent, var(--gold)); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent, var(--gold)) 14%, #fff); color: var(--accent, var(--gold-deep)); margin-bottom: 1.1rem; }
.card-icon svg { width: 26px; height: 26px; }
.card-icon img { width: 44px; height: auto; }
.card p { color: var(--muted); font-size: .97rem; }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--night); display: inline-flex; gap: .35rem; align-items: center; }
.card .more:hover { color: var(--gold-deep); }
.card .more::after { content: '→'; transition: transform .2s; }
.card .more:hover::after { transform: translateX(4px); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* ── Agenda ── */
.agenda { background: var(--paper); border-block: 1px solid var(--line); }
.events { list-style: none; margin: 0; padding: 0; }
.event { display: grid; grid-template-columns: 96px 1fr auto; gap: 1.4rem; align-items: center; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.event:first-child { border-top: 0; }
.event-date { width: 96px; height: 96px; border-radius: 16px; background: var(--night); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.05; }
.event-date b { font-family: var(--display); font-size: 2rem; font-weight: 600; }
.event-date span { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.event-date.soon { background: var(--cream); color: var(--night); border: 1px dashed #c9bda6; }
.event-date.soon b { font-size: 1.35rem; }
.event-date.soon span { color: var(--gold-deep); }
.event h3 { margin: 0 0 .2rem; font-size: 1.35rem; }
.event-meta { font-size: .86rem; font-weight: 600; color: var(--gold-deep); margin: 0 0 .25rem; }
.event p.event-text { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 720px) {
  .event { grid-template-columns: 72px 1fr; gap: 1rem; }
  .event-date { width: 72px; height: 72px; border-radius: 12px; } .event-date b { font-size: 1.5rem; } .event-date.soon b { font-size: 1.05rem; } .event-date span { font-size: .6rem; }
  .event .btn { grid-column: 2; justify-self: start; }
}

/* ── Bandeau repas ── */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.feature img { border-radius: 18px; box-shadow: var(--shadow); width: 100%; }
.prices { display: flex; gap: .9rem; flex-wrap: wrap; margin: 1.3rem 0 1.6rem; padding: 0; list-style: none; }
.price { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1.2rem; min-width: 150px; }
.price b { display: block; font-family: var(--display); font-size: 1.9rem; font-weight: 600; color: var(--berry); line-height: 1; }
.price span { font-size: .86rem; color: var(--muted); font-weight: 600; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* ── Soutenir ── */
.support { background: linear-gradient(135deg, var(--fir), #17402f); color: #fff; }
.support h2 { color: #fff; }
.support .eyebrow { color: var(--gold); }
.support p { color: #d8e8df; max-width: 60ch; }
.support-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 2.5rem; align-items: center; }
.support-box { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius); padding: 1.6rem; text-align: center; }
.support-box p { font-size: .88rem; margin: .9rem 0 0; color: #c9dcd1; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } }

/* ── Formulaires ── */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.3rem, 3.5vw, 2.2rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
label, legend { font-weight: 700; font-size: .88rem; color: var(--night); }
label .opt { font-weight: 500; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="search"], input[type="number"], select, textarea {
  font: inherit; color: var(--ink); background: #fdfcf9; border: 1.5px solid #d9d0be; border-radius: 10px; padding: .68rem .85rem; width: 100%; min-height: 46px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--night-2); box-shadow: 0 0 0 3px rgba(29, 65, 104, .15); background: #fff; }
.was-validated :invalid { border-color: var(--berry); }
.err { display: none; color: var(--berry); font-size: .82rem; font-weight: 600; }
.was-validated :invalid ~ .err { display: block; }
.hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; font-weight: 500; color: var(--muted); }
.check input { margin-top: .25rem; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--night); }
.form-note { font-size: .84rem; color: var(--muted); margin: 0; }
.notice { border-radius: 12px; padding: 1rem 1.15rem; font-size: .95rem; margin: 0 0 1.2rem; }
.notice.ok { background: #e7f4ec; border: 1px solid #b6dcc5; color: #174a34; }
.notice.warn { background: #fdf3dc; border: 1px solid #ecd49a; color: #6b4a0c; }
[hidden] { display: none !important; }

/* Compteurs de repas */
.meal { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fdfcf9; }
.meal-info b { display: block; color: var(--night); }
.meal-info span { font-size: .86rem; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: .3rem; }
.stepper button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--night); background: #fff; color: var(--night); font-size: 1.3rem; font-weight: 700; line-height: 1; cursor: pointer; }
.stepper button:hover { background: var(--night); color: #fff; }
.stepper input { width: 58px; text-align: center; font-weight: 700; font-size: 1.1rem; padding: .4rem; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 1.2rem; border-radius: 12px; background: var(--night); color: #fff; }
.total span { font-weight: 600; }
.total b { font-family: var(--display); font-size: 2rem; font-weight: 600; color: var(--gold); line-height: 1; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.steps li { counter-increment: s; position: relative; padding-left: 2.9rem; color: var(--muted); font-size: .95rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -.05rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--gold); color: var(--night-3); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.steps b { color: var(--night); display: block; }
.two-col { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.aside-stack { display: grid; gap: 1.3rem; position: sticky; top: 90px; }
.recap { margin: 0 0 1.1rem; padding: 0; list-style: none; }
.recap li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--line); }
.recap li b { color: var(--night); }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .aside-stack { position: static; } }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ── Bibliothèque ── */
.lib-tools { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: 1rem; }
.lib-tools input { flex: 1 1 220px; }
.lib-tools select { flex: 0 1 200px; }
.books { list-style: none; margin: 0; padding: 0; max-height: 620px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: #fdfcf9; }
.book { display: flex; align-items: center; gap: .9rem; padding: .7rem .9rem; border-top: 1px solid var(--line); }
.book:first-child { border-top: 0; }
.book-spine { width: 8px; align-self: stretch; border-radius: 4px; background: var(--c, var(--gold)); flex-shrink: 0; }
.book-main { flex: 1; min-width: 0; }
.book-main b { display: block; color: var(--night); line-height: 1.3; }
.book-main span { font-size: .84rem; color: var(--muted); }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: .12rem .55rem; background: #efe9dc; color: #6a5a3a; margin-left: .35rem; }
.tag.out { background: #f6e1e3; color: var(--berry); }
.book.sel { background: #fff6df; }
.count { font-size: .86rem; color: var(--muted); margin: .6rem 0 0; }
.chosen { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.chosen li { display: flex; justify-content: space-between; align-items: center; gap: .7rem; background: #fff6df; border: 1px solid #ecd9a6; border-radius: 10px; padding: .5rem .5rem .5rem .85rem; font-weight: 600; font-size: .93rem; }
.chosen button { border: 0; background: transparent; color: var(--berry); font-size: 1.3rem; line-height: 1; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; }
.chosen button:hover { background: #f6e1e3; }
.chosen-empty { color: var(--muted); font-size: .92rem; font-style: italic; margin: 0; }

/* ── Contact ── */
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--gold-deep); flex-shrink: 0; margin-top: .2rem; }
.contact-list b { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ── Pages légales ── */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1rem 0; background: var(--paper); }
.legal th, .legal td { border: 1px solid var(--line); padding: .6rem .7rem; text-align: left; vertical-align: top; }
.legal th { background: #f3ecdd; color: var(--night); }
.table-scroll { overflow-x: auto; }

/* ── Pied de page ── */
#site-footer { background: var(--night-3); color: #b9c5d6; font-size: .93rem; padding: 3.5rem 0 1.5rem; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.2rem; }
#site-footer h4 { font-family: var(--body); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
#site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
#site-footer a { color: #d3dcea; text-decoration: none; }
#site-footer a:hover { color: var(--gold); }
.foot-brand .brand { margin-bottom: .9rem; }
.social { display: flex; gap: .5rem; margin-top: 1rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.social a:hover { background: var(--gold); color: var(--night-3) !important; }
.foot-church { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.foot-church img { height: 40px; width: auto; background: #fff; border-radius: 8px; padding: 4px 8px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .83rem; color: #8d9bb0; }
.foot-bottom a { color: #8d9bb0 !important; }
.foot-bottom a:hover { color: var(--gold) !important; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }

/* ── Cookies ── */
#cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 3000; max-width: 720px; margin: 0 auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 48px rgba(11, 27, 51, .25); padding: 1.1rem 1.25rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; font-size: .9rem; line-height: 1.5; }
#cookie-banner p { flex: 1 1 320px; margin: 0; }
#cookie-banner .ck-actions { display: flex; gap: .5rem; }

/* ── Apparition ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .garland circle { animation: none; }
  .btn, .card, .hero-card { transition: none; }
}

@media (min-width: 901px) { .two-col.lib { grid-template-columns: 1.15fr 1fr; } }
.nav-links a.btn { display: inline-flex; }
@media (max-width: 1220px) { .nav-links a.btn { display: flex; } .lang { margin-top: .8rem; width: fit-content; } }

/* ═══════════════════════════════════════════════════════════
   CHARTE ÉGLISE NOUVELLE FRÉQUENCE
   Bleu #3f78e0, vert #44c4a0, marine #343f52, fonds clairs,
   titres gras sans empattement, boutons en pilule.
═══════════════════════════════════════════════════════════ */
body { background: var(--light); font-size: 1rem; }
h1, h2, h3, h4 { font-weight: 800; color: var(--navy); line-height: 1.15; }
h1 { font-weight: 900; letter-spacing: 0; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
a { color: var(--blue); }
a:hover { color: var(--green); }
:focus-visible { outline-color: var(--blue); }
.skip { background: var(--blue); color: #fff; }
.eyebrow { color: var(--blue); letter-spacing: .18em; font-size: .75rem; margin-bottom: .5rem; }
.lede { color: var(--muted); }

/* Boutons */
.btn-gold, .btn-night { background: var(--blue); color: #fff; box-shadow: none; }
.btn-gold:hover, .btn-night:hover { background: var(--green); color: #fff; box-shadow: 0 8px 24px rgba(63, 120, 224, .35); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: rgba(255, 255, 255, .15); }
.btn-line { background: rgba(63, 120, 224, .1); color: var(--blue); border-color: transparent; }
.btn-line:hover { background: var(--blue); color: #fff; }

/* En-tête clair */
#site-header { background: #fefefe; backdrop-filter: none; border-bottom: 1px solid var(--line); box-shadow: 0 2px 20px rgba(0, 0, 0, .06); }
.nav { min-height: 72px; }
.brand-name { color: var(--navy); font-weight: 800; }
.brand-name small { color: #9aa5b4; letter-spacing: .08em; }
.nav-links a { color: #4a5568; font-size: .9rem; letter-spacing: .02em; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); background: transparent; }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.nav-links .btn, .nav-links .btn:hover { color: #fff; }
.nav-links .btn:hover { background: var(--green); }
.nav-toggle { border-color: #c5cdd8; color: var(--navy); }
.lang { border-color: #dce2ea; }
.lang button { color: var(--muted); }
.lang button:hover { color: var(--navy); }
.lang button[aria-pressed="true"] { background: var(--blue); color: #fff; }
@media (max-width: 1220px) { .nav-links { background: #fefefe; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 0, 0, .08); } }

/* Héros */
.hero { background: linear-gradient(135deg, var(--dark) 0%, var(--deep) 55%, var(--blue) 130%); padding: clamp(4rem, 9vw, 7rem) 0; }
.hero::before { opacity: 1; background-image: radial-gradient(circle, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 28px 28px; }
.hero .eyebrow { display: inline-block; color: var(--green); background: rgba(69, 196, 160, .15); border: 1px solid rgba(69, 196, 160, .4); border-radius: 50px; padding: .35rem 1.2rem; margin-bottom: 1.5rem; letter-spacing: .2em; }
.hero h1 { text-shadow: 0 2px 20px rgba(0, 0, 0, .3); line-height: 1.08; }
.hero h1 em { font-style: normal; font-weight: 900; color: var(--green); }
.hero .lede { color: rgba(255, 255, 255, .82); }
.hero-card { border-color: rgba(255, 255, 255, .2); border-radius: 20px; transform: none; }
.hero-card:hover { transform: translateY(-5px); }
.hero-card-cap span:last-child { color: var(--green); }
.page-hero { background: var(--blue); padding: clamp(3.2rem, 7vw, 4.5rem) 0; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255, 255, 255, .14) 0%, transparent 70%), radial-gradient(ellipse 40% 60% at 10% 80%, rgba(69, 196, 160, .25) 0%, transparent 60%); }
.page-hero .eyebrow { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); }

/* Activités : cartes en dégradé, comme les ministères */
.cards { gap: 1.5rem; }
.card { border: 0; border-radius: 20px; padding: 2.5rem 2rem; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); transition: transform .3s, box-shadow .3s; }
.card::before { top: -60px; left: auto; right: -60px; width: 200px; height: 200px; background: rgba(255, 255, 255, .1); border-radius: 50%; transition: transform .4s; }
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0, 0, 0, .2); }
.card:hover::before { transform: scale(1.4); }
.card.c-blue { --c1: #2d63cc; --c2: #3f78e0; }
.card.c-purple { --c1: #5c35d4; --c2: #7c4dff; }
.card.c-green { --c1: #2a9d7f; --c2: #38b291; }
.card h3 { color: #fff; font-size: 1.5rem; }
.card p { color: rgba(255, 255, 255, .9); font-size: .93rem; line-height: 1.7; }
.card-icon { width: 60px; height: 60px; border-radius: 16px; background: rgba(255, 255, 255, .2); color: #fff; margin-bottom: 1.5rem; }
.card-icon svg { width: 30px; height: 30px; }
.card .more, .card .more:hover { color: #fff; font-size: .88rem; position: relative; }

/* Agenda */
.agenda { background: var(--gray); border: 0; }
.events { display: grid; gap: 1rem; }
.event, .event:first-child { background: #fff; border: 0; border-radius: 16px; padding: 1.25rem 1.5rem; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.event:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.event-date { background: var(--blue); }
.event-date b { font-weight: 800; }
.event-date span { color: rgba(255, 255, 255, .85); }
.event-date.soon { background: rgba(63, 120, 224, .1); border: 0; color: var(--blue); }
.event-date.soon span { color: var(--blue); }
.event-meta { color: var(--blue); }
.event h3 { font-weight: 700; font-size: 1.2rem; }

/* Repas */
.price { border-radius: 16px; box-shadow: var(--shadow); border: 0; }
.price b { font-weight: 800; color: var(--blue); }

/* Soutenir */
.support { background: linear-gradient(135deg, var(--dark) 0%, var(--deep) 55%, var(--blue) 130%); }
.support .eyebrow { color: var(--green); }
.support p { color: rgba(255, 255, 255, .82); }
.support-box { border-radius: 20px; }
.support-box p { color: rgba(255, 255, 255, .7); }

/* Formulaires */
.panel { border: 0; border-radius: 20px; box-shadow: 0 4px 24px rgba(52, 63, 82, .1); }
label, legend { font-size: .82rem; font-weight: 600; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="search"], input[type="number"], select, textarea { background: #fff; border-color: #dce2ea; font-size: .95rem; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63, 120, 224, .12); }
.check input { accent-color: var(--blue); }
.notice.ok { background: rgba(69, 196, 160, .14); border-color: rgba(69, 196, 160, .45); color: #17624f; }
.meal { background: #fff; border-color: var(--line); }
.stepper button { border-color: var(--blue); color: var(--blue); }
.stepper button:hover { background: var(--blue); }
.total { background: var(--gray); color: var(--navy); border: 1px solid var(--line); }
.total b { color: var(--blue); font-weight: 800; }
.steps li::before { background: var(--blue); color: #fff; }
.books { background: #fff; }
.book.sel { background: rgba(63, 120, 224, .07); }
.tag { background: #f0f3f7; color: var(--muted); }
.tag.out { background: rgba(226, 98, 107, .12); color: #c2414b; }
.chosen li { background: rgba(63, 120, 224, .07); border-color: rgba(63, 120, 224, .25); }
.chosen button:hover { background: rgba(226, 98, 107, .12); }
.contact-list svg { color: var(--blue); }
.contact-list b { color: var(--blue); }
.legal th { background: var(--gray); }

/* Pied de page clair */
#site-footer { background: #fefefe; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; padding: 4rem 0 1.5rem; }
#site-footer h4 { color: #9aa5b4; font-weight: 700; letter-spacing: .15em; font-size: .75rem; }
#site-footer a { color: var(--muted); }
#site-footer a:hover { color: var(--blue); }
.social a { background: #f0f3f7; border: 1px solid var(--line); transition: background .2s, color .2s, transform .2s; }
.social a:hover { transform: translateY(-2px); color: #fff !important; }
.social a[aria-label="Facebook"] { color: #1877f2; } .social a[aria-label="Facebook"]:hover { background: #1877f2; border-color: #1877f2; }
.social a[aria-label="Instagram"] { color: #d6249f; } .social a[aria-label="Instagram"]:hover { background: #d6249f; border-color: #d6249f; }
.social a[aria-label="YouTube"] { color: #ff0000; } .social a[aria-label="YouTube"]:hover { background: #ff0000; border-color: #ff0000; }
.foot-church, .foot-bottom { border-top-color: var(--line); }
.foot-church img { background: transparent; padding: 0; height: 40px; }
.foot-bottom, .foot-bottom a { color: #9aa5b4 !important; }
.foot-bottom a:hover { color: var(--blue) !important; }
#cookie-banner { box-shadow: 0 16px 48px rgba(7, 10, 116, .18); }

/* ── Bannière en première vue ── */
.banner { padding: 0; background: #1c3a63; }
.banner img { width: 100%; height: auto; max-height: calc(100vh - 73px); object-fit: cover; }
.intro { padding: clamp(2.2rem, 5vw, 3.5rem) 0 0; text-align: center; }
.intro h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.intro .lede { margin-inline: auto; }
.intro .hero-actions { justify-content: center; }

/* ── Agenda : cartes avec affiche ── */
.events { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ecard { background: #fff; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.ecard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ecard-img { aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 1.5rem; border-bottom: 1px solid var(--line); }
.ecard-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.ecard-img.cover { padding: 0; }
.ecard-img.cover img { width: 100%; height: 100%; object-fit: cover; }
.ecard-img.none { background: linear-gradient(135deg, #2d63cc, #3f78e0); color: rgba(255, 255, 255, .85); }
.ecard-img.none svg { width: 64px; height: 64px; }
.ecard-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.ecard-body h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 .3rem; }
.ecard-body .event-meta { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 .4rem; }
.event-place { font-size: .86rem; font-weight: 600; color: var(--navy); margin: 0 0 .4rem; }
.ecard-body .event-text { color: var(--muted); font-size: .92rem; margin: 0 0 1.1rem; }
.ecard-body .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) { .events { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .events { grid-template-columns: 1fr; } }

/* ── Soutenir : réduction d'impôt ── */
.tax-title { color: #fff; font-size: 1.1rem; margin: 1.8rem 0 .8rem; }
.tax { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 620px; }
.tax li { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; padding: 1rem 1.2rem; }
.tax b { display: block; font-size: 2rem; font-weight: 900; color: var(--green); line-height: 1.1; }
.tax span { font-size: .88rem; color: rgba(255, 255, 255, .85); }
.support p.tax-note { font-size: .88rem; color: rgba(255, 255, 255, .7); }
@media (max-width: 520px) { .tax { grid-template-columns: 1fr; } }

/* ── Bibliothèque : photo ── */
.hero-photo { border-radius: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ── Qui sommes-nous ── */
.about { display: grid; gap: 3rem; max-width: 860px; }
.mission { font-size: clamp(1.3rem, 2.8vw, 1.8rem); font-weight: 700; line-height: 1.4; color: var(--navy); border-left: 4px solid var(--blue); padding-left: 1.3rem; margin: 0; }
.means { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: .8rem; }
.means li { position: relative; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 1rem 1.2rem 1rem 3.2rem; }
.means li::before { content: ''; position: absolute; left: 1.15rem; top: 1.15rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* ── Retour en haut ── */
#back-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 2000; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(63, 120, 224, .4); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
#back-top.show { opacity: 1; visibility: visible; transform: none; }
#back-top:hover { background: var(--green); }

/* ── Pied de page ── */
.foot-bottom > span:last-child { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.foot-brand .brand { margin-bottom: 0; }
.foot-church span { font-weight: 700; color: var(--navy); }
.brand-name, .nav-links a { white-space: nowrap; }
.nav-links a { padding: .5rem .6rem; }
.ecard-img.grow img { height: 62%; }

/* ── Onglet flottant « Merci pour vos dons » ── */
#don-tab { position: fixed; right: 0; top: 50%; z-index: 1900; transform: translateY(-50%); writing-mode: vertical-rl; display: flex; align-items: center; gap: .5rem; font: inherit; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--blue); border: 0; border-radius: 12px 0 0 12px; padding: 1rem .6rem; cursor: pointer; box-shadow: -4px 6px 20px rgba(63, 120, 224, .35); transition: background .2s, padding .2s; }
#don-tab span { transform: rotate(180deg); }
#don-tab:hover, #don.open #don-tab { background: var(--green); padding-right: .9rem; }
#don-panel { position: fixed; right: 3.2rem; top: 50%; transform: translateY(-50%); z-index: 1950; width: min(380px, calc(100vw - 4.2rem)); max-height: calc(100vh - 2rem); overflow: auto; background: #fff; border-radius: 20px; box-shadow: 0 20px 60px rgba(7, 10, 116, .25); padding: 1.6rem 1.5rem 1.5rem; font-size: .92rem; color: var(--muted); }
#don-panel h2 { font-size: 1.35rem; margin: 0 2rem .9rem 0; }
#don-panel h3 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 1.1rem 0 .35rem; }
#don-panel p { margin: 0 0 .7rem; }
#don-panel strong { color: var(--navy); }
#don-panel a:not(.btn) { font-weight: 700; word-break: break-word; }
#don-panel .btn { width: 100%; margin-top: .5rem; }
#don-close { position: absolute; top: .8rem; right: .8rem; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--gray); color: var(--navy); font-size: 1.4rem; line-height: 1; cursor: pointer; }
#don-close:hover { background: var(--line); }
@media (max-width: 620px) { #don-tab { font-size: .72rem; padding: .8rem .45rem; } #don-panel { right: 2.6rem; width: calc(100vw - 3.4rem); } }
@media print { #don, #back-top, #cookie-banner { display: none; } }

/* ── Boutique ── */
.chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.chip { font: inherit; font-size: .86rem; font-weight: 700; border: 0; border-radius: 50px; padding: .45rem 1.1rem; background: rgba(63, 120, 224, .1); color: var(--blue); cursor: pointer; }
.chip:hover { background: rgba(63, 120, 224, .2); }
.chip[aria-pressed="true"] { background: var(--blue); color: #fff; }
.products { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.product { display: grid; grid-template-columns: 84px 1fr auto; gap: 1.1rem; align-items: center; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 1rem 1.2rem; border: 2px solid transparent; transition: border-color .2s; }
.product.sel { border-color: var(--blue); }
.product-pic { width: 84px; height: 84px; border-radius: 14px; display: grid; place-items: center; color: #fff; overflow: hidden; background: linear-gradient(135deg, #2d63cc, #3f78e0); }
.product-pic.c-calendrier { background: linear-gradient(135deg, #5c35d4, #7c4dff); }
.product-pic.c-goodies { background: linear-gradient(135deg, #2a9d7f, #38b291); }
.product-pic svg { width: 38px; height: 38px; }
.product-pic img { width: 100%; height: 100%; object-fit: cover; }
.product-main { min-width: 0; display: grid; gap: .15rem; }
.product-main b { color: var(--navy); font-size: 1.05rem; }
.product-main span { font-size: .88rem; color: var(--muted); }
.product-main .product-price { font-weight: 700; color: var(--blue); }
.product-detail { margin-top: .45rem; min-height: 40px !important; padding: .45rem .7rem !important; font-size: .88rem !important; }
.recap em { color: var(--muted); font-size: .88rem; }
#sh-total { margin-top: .8rem; }
@media (max-width: 560px) { .product { grid-template-columns: 56px 1fr; } .product-pic { width: 56px; height: 56px; } .product-pic svg { width: 26px; height: 26px; } .product .stepper { grid-column: 1 / -1; justify-content: flex-end; } }

/* Bannière un peu réduite : alignée sur la largeur du contenu, coins arrondis */
.banner { background: transparent; padding: 1.5rem 0 0; }
.banner img { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; border-radius: 20px; box-shadow: var(--shadow-lg); max-height: none; }

/* ═══════════════════════════════════════════════════════════
   LOGO DE SAISON
   --logo : couleur du logo ; --fx : couleur des petites formes animées.
   La saison est posée par site.js sur <html data-season="…">.
═══════════════════════════════════════════════════════════ */
:root[data-season="printemps"] { --logo: #2f9e62; --fx: #f29bb8; }   /* vert tendre, pétales roses */
:root[data-season="ete"]       { --logo: #ef8a17; --fx: #f6b93b; }   /* orangé, soleil qui rayonne */
:root[data-season="automne"]   { --logo: #b4532a; --fx: #e08a2c; }   /* brun roux, feuilles */
:root[data-season="hiver"]     { --logo: #3b82c4; --fx: #9cc9ee; }   /* bleu glacier, flocons */
:root[data-season="noel"]      { --logo: #c0392b; --fx: #9cc9ee; }   /* rouge de Noël, flocons */

.logo { position: relative; display: inline-grid; flex-shrink: 0; }
.logo svg circle { transition: fill .4s; }
.logo i { position: absolute; top: -2px; left: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--fx, transparent); opacity: 0; pointer-events: none; animation: logo-fall 3.9s linear infinite; }
.logo i:nth-of-type(2) { left: 17px; animation-delay: 1.3s; }
.logo i:nth-of-type(3) { left: 29px; animation-delay: 2.6s; }
@keyframes logo-fall {
  0% { transform: translate(0, -8px) rotate(0); opacity: 0; }
  15% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translate(7px, 44px) rotate(260deg); opacity: 0; }
}
/* pétales et feuilles : forme en amande */
:root[data-season="printemps"] .logo i, :root[data-season="automne"] .logo i { width: 8px; height: 8px; border-radius: 80% 0 80% 0; }
:root[data-season="automne"] .logo i:nth-of-type(2) { background: #c0392b; }
/* été : pas de chute, un halo qui rayonne */
:root[data-season="ete"] .logo i { display: none; }
:root[data-season="ete"] .logo::before { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 var(--fx); animation: logo-sun 2.6s ease-out infinite; }
@keyframes logo-sun { 0% { box-shadow: 0 0 0 0 rgba(246, 185, 59, .7); } 100% { box-shadow: 0 0 0 12px rgba(246, 185, 59, 0); } }
/* Noël : l'onde du logo scintille en or */
:root[data-season="noel"] .logo svg path { animation: logo-gold 2.4s ease-in-out infinite; }
@keyframes logo-gold { 0%, 100% { stroke: #fff; } 50% { stroke: #f6d27a; } }
@media (prefers-reduced-motion: reduce) { .logo i, .logo::before { display: none !important; animation: none; } .logo svg path { animation: none !important; } }

/* Couleur de saison du logo (appliquée en CSS pour fonctionner aussi dans Safari) */
.brand svg circle { fill: var(--logo, #3f78e0); }
/* Icône « Accueil » du menu */
.nav-home { display: flex !important; align-items: center; gap: .5rem; }
.nav-home span { display: none; }
@media (max-width: 1220px) { .nav-home span { display: inline; } }

/* Menu avec « Accueil » en toutes lettres : un peu plus serré pour tenir sur une ligne */
.nav { gap: .6rem; }
.nav-links a { padding: .5rem .5rem; font-size: .88rem; letter-spacing: 0; }
.nav-links .btn { padding: .5rem .95rem; margin-left: .2rem; }
.lang { margin-left: .2rem; }
.lang button { padding: .28rem .5rem; }
@media (max-width: 1240px) { .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fefefe; padding: .6rem 1rem 1.1rem; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 0, 0, .08); gap: 0; }
  .nav-links.open { display: flex; } .nav-links a { padding: .75rem .5rem; font-size: 1rem; } .nav-links a.btn { display: flex; justify-content: center; margin: .6rem 0 0; } .nav-toggle { display: block; } .lang { margin: .8rem 0 0; width: fit-content; } }
#site-header .wrap { width: min(100% - 2rem, 1320px); }
