/* Jésus Afrique : thème « Veillée »
   Nuit verte, or du halo, papier clair. Mobile d'abord.
   Une seule feuille de style pour toutes les pages. */

:root {
  --night: #0b1f18;
  --night-2: #102c22;
  --forest: #14382d;
  --forest-2: #1c4a3b;
  --gold: #e7b24a;
  --gold-soft: #f3d894;
  --gold-deep: #80540a;
  --paper: #f5f8f3;
  --card: #ffffff;
  --ink: #12261e;
  --ink-2: #47594f;
  --line: #d9e3da;
  --line-2: #c5d3c8;
  --ok: #1b7a4a;
  --err: #b3261e;
  --on-night: #f4f7f2;
  --on-night-2: #c1cac4;
  --focus: #1c4a3b;

  --r-lg: 24px;
  --r-md: 16px;
  --gutter: 20px;
  --maxw: 1120px;
  --tabbar-h: 72px;

  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, "Noto Serif", Georgia, serif;

  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font: 400 1rem/1.6 var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--tabbar-h) + 28px + env(safe-area-inset-bottom, 0px));
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

a { color: var(--forest-2); text-underline-offset: 3px; }
a:hover { color: var(--forest); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .masthead :focus-visible, .site-footer :focus-visible, .tabbar :focus-visible { outline-color: var(--gold); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--night); padding: 10px 16px; border-radius: 999px; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Titres ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.005em;
  font-variant-numeric: lining-nums;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 9vw, 4.6rem); }
h2 { font-size: clamp(2rem, 6vw, 3.1rem); }
h3 { font-size: 1.55rem; line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 600; color: var(--gold-deep); }
.on-dark h1 em, .on-dark h2 em, .masthead h1 em, .on-dark h3 em { color: var(--gold); }

p { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: ""; width: 11px; height: 11px; border-radius: 50%;
  border: 1.5px solid currentColor; box-shadow: inset 0 0 0 2.5px transparent;
  background: radial-gradient(circle, currentColor 0 2px, transparent 2.5px);
}
.on-dark .eyebrow, .masthead .eyebrow { color: var(--gold); }

.lede { font-size: clamp(1.05rem, 2.6vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 36rem; }
.on-dark .lede, .masthead .lede { color: var(--on-night-2); }

.muted { color: var(--ink-2); }
.small { font-size: .9375rem; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--gold-soft); color: var(--night); }
.btn-ghost { color: var(--on-night); border-color: rgba(244, 247, 242, .42); background: transparent; }
.btn-ghost:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-2); color: #fff; }
.btn-outline { color: var(--ink); border-color: var(--line-2); background: transparent; }
.btn-outline:hover { color: var(--ink); border-color: var(--forest); background: rgba(20, 56, 45, .05); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- En-tête et navigation ---------- */

.masthead {
  position: relative;
  color: var(--on-night);
  background:
    radial-gradient(110% 90% at 88% -12%, rgba(231, 178, 74, .22), transparent 56%),
    radial-gradient(80% 70% at 0% 100%, rgba(28, 74, 59, .85), transparent 62%),
    var(--night);
  overflow: clip;
}

/* Anneaux concentriques : le halo, la voix, le soleil levant */
.masthead::before {
  content: ""; position: absolute; inset-inline-end: -150px; top: -170px;
  width: 440px; height: 440px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle at center, transparent 0 40px, rgba(231, 178, 74, .2) 40px 41px);
  -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 70%);
  mask-image: radial-gradient(circle, #000 25%, transparent 70%);
}

/* Bordure dentelée, clin d'œil aux tissus bogolan et kente */
.masthead::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 12px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='12' viewBox='0 0 28 12'%3E%3Cpath d='M-1 12.5 L14 1.2 L29 12.5 Z' fill='%23f5f8f3' stroke='%23e7b24a' stroke-width='1.2' stroke-opacity='.75'/%3E%3C/svg%3E") repeat-x center bottom;
}

.site-header { position: relative; z-index: 20; }
.site-header .bar { display: flex; align-items: center; gap: 12px; min-height: 68px; padding-block: 10px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--on-night); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1; letter-spacing: .01em; white-space: nowrap;
}
.brand:hover { color: var(--on-night); }
.brand svg { width: 30px; height: 30px; color: var(--gold); flex: none; }
.brand em { font-style: italic; font-weight: 600; color: var(--gold-soft); }

.top-nav { display: none; align-items: center; gap: 4px; margin-inline-start: auto; }
.top-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  color: var(--on-night-2); text-decoration: none; font-weight: 500; font-size: .96875rem;
  transition: color .15s ease, background-color .15s ease;
}
.top-nav a:not(.btn):hover { color: var(--on-night); background: rgba(255, 255, 255, .07); }
.top-nav a[aria-current="page"]:not(.btn) { color: var(--gold-soft); background: rgba(231, 178, 74, .12); }
.top-nav .btn { margin-inline-start: 8px; }

/* Langue et devise : un seul bouton discret */
.prefs { position: relative; margin-inline-start: auto; }
.prefs summary {
  list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border-radius: 999px; cursor: pointer; user-select: none;
  color: var(--on-night); font-size: .9375rem; font-weight: 600;
  border: 1px solid rgba(244, 247, 242, .25); background: rgba(255, 255, 255, .04); white-space: nowrap;
}
.prefs summary::-webkit-details-marker { display: none; }
.prefs summary svg { width: 18px; height: 18px; color: var(--gold); }
.prefs[open] summary { border-color: var(--gold); }
.prefs-panel {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 60;
  width: min(300px, calc(100vw - 2 * var(--gutter)));
  background: var(--card); color: var(--ink); border-radius: 18px; padding: 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .3);
}
.prefs-panel label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 14px; }
.prefs-panel label:last-child { margin-bottom: 0; }
.prefs-panel select { margin-top: 6px; }

/* Barre d'onglets mobile */
.tabbar {
  position: fixed; inset-inline: 12px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 50;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; padding: 6px;
  background: rgba(11, 31, 24, .97); border: 1px solid rgba(231, 178, 74, .3); border-radius: 24px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 56px; padding: 6px 1px; border-radius: 18px; min-width: 0;
  color: var(--on-night-2); text-decoration: none; font-size: .8125rem; font-weight: 600; line-height: 1.1;
  transition: background-color .15s ease, color .15s ease;
}
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a[aria-current="page"] { background: var(--gold); color: var(--night); }

@media (min-width: 880px) {
  .tabbar { display: none; }
  body { padding-bottom: 0; }
  .top-nav { display: flex; }
  .top-nav + .prefs { margin-inline-start: 6px; }
}

/* ---------- Bandeau de page (pages intérieures) ---------- */

.page-head { padding-block: 22px 56px; }
.page-head h1 { font-size: clamp(2.3rem, 8vw, 3.8rem); margin-top: 14px; }
.page-head .lede { margin-top: 14px; }

/* ---------- Sections ---------- */

.section { padding-block: 56px; }
.section.tight { padding-block: 40px; }
.band-white { background: #fff; border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 12px; margin-bottom: 32px; max-width: 40rem; }
.section-head .lede { color: var(--ink-2); }

@media (min-width: 880px) {
  .section { padding-block: 88px; }
  .section.tight { padding-block: 56px; }
  .section-head { margin-bottom: 44px; }
}

/* ---------- Accueil : héros ---------- */

.hero { padding-block: 64px 72px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 20px; justify-items: center; text-align: center; }
.hero-copy .lede { margin-inline: auto; }
.hero-copy .cta-row { justify-content: center; width: 100%; }
.hero-copy .cta-row .btn { flex: 1 1 220px; }

.trust { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: .9375rem; color: var(--on-night-2); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }

.halo { --halo: 168px; position: relative; width: var(--halo); aspect-ratio: 1; margin-inline: auto; isolation: isolate; order: -1; }
.halo::before {
  content: ""; position: absolute; inset: -46%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(231, 178, 74, .4) 0%, rgba(231, 178, 74, .12) 38%, transparent 66%);
}
.halo .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(231, 178, 74, .55); z-index: -1; }
.halo .r1 { inset: -9%; }
.halo .r2 { inset: -21%; border-color: rgba(231, 178, 74, .34); }
.halo .r3 { inset: -34%; border-color: rgba(231, 178, 74, .2); }
.halo .r4 { inset: -49%; border-color: rgba(231, 178, 74, .1); }
.halo img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--gold-soft);
  box-shadow: 0 0 0 6px var(--night), 0 0 0 7px rgba(231, 178, 74, .6), 0 0 56px rgba(231, 178, 74, .28);
}

@media (prefers-reduced-motion: no-preference) {
  .halo .ring { animation: breathe 8s ease-in-out infinite; }
  .halo .r2 { animation-delay: -1.6s; }
  .halo .r3 { animation-delay: -3.2s; }
  .halo .r4 { animation-delay: -4.8s; }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.035); opacity: .65; }
}

@media (min-width: 880px) {
  .hero { padding-block: 72px 104px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .hero-copy { justify-items: start; text-align: start; }
  .hero-copy .lede { margin-inline: 0; }
  .hero-copy .cta-row { justify-content: flex-start; width: auto; }
  .hero-copy .cta-row .btn { flex: 0 0 auto; }
  .trust { justify-content: flex-start; }
  .halo { --halo: min(380px, 100%); order: 0; }
}

/* ---------- Accueil : parole du jour ---------- */

.verse {
  position: relative; overflow: clip; color: var(--on-night);
  background: linear-gradient(155deg, var(--forest) 0%, var(--night) 100%);
  border-radius: 32px; padding: clamp(28px, 6vw, 64px);
}
.verse::before {
  content: "\201C"; position: absolute; inset-inline-start: .08em; top: -.02em;
  font-family: var(--font-display); font-size: clamp(8rem, 26vw, 15rem); line-height: 1;
  color: rgba(231, 178, 74, .2); pointer-events: none;
}
.verse::after {
  content: ""; position: absolute; inset-inline-end: -140px; bottom: -170px; width: 460px; height: 460px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle at center, transparent 0 36px, rgba(231, 178, 74, .24) 36px 37px);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 68%); mask-image: radial-gradient(circle, #000 18%, transparent 68%);
}
.verse > * { position: relative; z-index: 1; }
.verse-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 22px; }
.verse-date { display: inline-block; font-size: .9375rem; color: var(--on-night-2); }
.verse-date::first-letter { text-transform: uppercase; }
.verse blockquote { margin: 0 0 28px; }
.verse blockquote p {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 6vw, 3.6rem); line-height: 1.16;
  max-width: 24em;
}
.verse cite { display: block; margin-top: 16px; font-style: normal; font-weight: 700; letter-spacing: .06em; color: var(--gold); }
.verse-theme { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(231, 178, 74, .28); color: var(--on-night-2); font-size: .9375rem; max-width: 40rem; }
.verse-event { margin-top: 8px; color: var(--gold-soft); font-size: .9375rem; }
.verse .btn-ghost { border-color: rgba(244, 247, 242, .5); }
.verse .cta-row .btn { flex: 1 1 200px; }
@media (min-width: 640px) { .verse .cta-row .btn { flex: 0 0 auto; } }

/* ---------- Accueil : trois façons ---------- */

.paths { display: grid; gap: 16px; }
.path { display: flex; flex-direction: column; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.path p { color: var(--ink-2); }
.path > .btn { margin-top: auto; align-self: flex-start; }
.path-main { background: linear-gradient(160deg, var(--forest) 0%, var(--night) 100%); border-color: transparent; color: var(--on-night); }
.path-main p { color: var(--on-night-2); }
.path-main { position: relative; overflow: clip; justify-content: space-between; gap: 28px; }
.path-main::after {
  content: ""; position: absolute; inset-inline-end: -110px; bottom: -130px; width: 380px; height: 380px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle at center, transparent 0 30px, rgba(231, 178, 74, .22) 30px 31px);
  -webkit-mask-image: radial-gradient(circle, #000 15%, transparent 68%); mask-image: radial-gradient(circle, #000 15%, transparent 68%);
}
.path-main > * { position: relative; z-index: 1; }
.path-top, .path-mid, .path-bottom { display: grid; gap: 14px; }
.path-bottom { justify-items: start; }
.path-main h3 { font-size: clamp(2rem, 6vw, 2.8rem); }
.path-main h3 em { color: var(--gold); }

.plans-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plans-mini li {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px;
  padding: 12px 16px; border-radius: var(--r-md); border: 1px solid rgba(231, 178, 74, .35); background: rgba(255, 255, 255, .04);
}
.plans-mini li.featured { background: rgba(231, 178, 74, .14); border-color: var(--gold); }
.pm-min { font-family: var(--font-display); font-variant-numeric: lining-nums; font-size: 1.75rem; font-weight: 600; line-height: 1; }
.pm-min b { font-weight: 600; }
.pm-min span { font-family: var(--font-body); font-size: .9375rem; color: var(--on-night-2); }
.pm-price { text-align: end; font-weight: 700; font-size: 1.0625rem; color: var(--gold); white-space: nowrap; }
.pm-per { grid-column: 1 / -1; font-size: .875rem; color: var(--on-night-2); }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(231, 178, 74, .45); color: var(--gold-soft); font-size: .9375rem; font-weight: 500;
}

.fineprint { font-size: .9375rem; }
.path-main .fineprint { color: var(--on-night-2); }

/* Déroulé de la célébration : une barre qui s'intensifie jusqu'à la bénédiction */
.seg { list-style: none; margin: 0; padding: 0; display: flex; gap: 3px; height: 14px; border-radius: 999px; overflow: hidden; }
.seg li { flex: var(--w); background: var(--gold); opacity: calc(.22 + var(--i) * .15); }
.seg-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: .9375rem; color: var(--ink-2); }
.seg-legend b { color: var(--ink); font-weight: 600; }

@media (min-width: 880px) {
  .paths { grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 20px; }
  .path-main { grid-row: span 2; padding: 40px; }
}

/* ---------- Accueil : guides ---------- */

.guides { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.guide { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); }
.avatar {
  flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--forest); color: var(--gold-soft);
  font-family: var(--font-display); font-weight: 700; font-size: 1.45rem;
  box-shadow: 0 0 0 3px var(--card), 0 0 0 4.5px var(--gold);
}
.guide h3 { font-size: 1.3rem; }
.guide p { font-size: .9375rem; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }
.guides-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.2 3.2L16 7.8' fill='none' stroke='%23f3d894' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.split { display: grid; gap: 32px; }
.split-head .guides-foot { margin-top: 28px; }
.split .guides { align-content: start; }
.split-head .checks { margin-top: 4px; }

@media (min-width: 900px) {
  .split { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
  .split-head { position: sticky; top: 24px; }
}

/* ---------- Accueil : appel final ---------- */

.final-cta { position: relative; overflow: clip; text-align: center; color: var(--on-night); padding-block: 72px; background: radial-gradient(100% 120% at 50% 130%, rgba(231, 178, 74, .26), transparent 60%), var(--night); }
.final-cta .wrap { display: grid; gap: 18px; justify-items: center; }
.final-cta h2 { max-width: 14em; }
.final-cta h2 em { color: var(--gold); }
.final-cta p { color: var(--on-night-2); max-width: 30rem; }

/* ---------- Forfaits d'appel ---------- */

.plans { display: grid; gap: 16px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.plan-name { font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.plan-minutes { font-family: var(--font-display); font-variant-numeric: lining-nums; font-size: clamp(3.6rem, 13vw, 5rem); font-weight: 600; line-height: 1; margin-top: 6px; }
.plan-minutes b { font-weight: 600; }
.plan-minutes { word-spacing: -.22em; }
.plan-minutes span { word-spacing: normal; margin-inline-start: .35em; }
.plan-minutes span { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 500; color: var(--ink-2); }
.plan-price { font-family: var(--font-display); font-variant-numeric: lining-nums; font-size: 2.1rem; font-weight: 700; line-height: 1.1; margin-top: 10px; }
.plan-permin { font-weight: 600; color: var(--ink); }
.plan-eur { min-height: 1.5em; margin-bottom: 18px; font-size: .9375rem; color: var(--ink-2); }
.plan .btn { margin-top: auto; }
.plan-tag {
  align-self: flex-start; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px;
  background: var(--gold); color: var(--night); font-size: .8125rem; font-weight: 700;
}
.plan-featured { background: linear-gradient(160deg, var(--forest) 0%, var(--night) 100%); border-color: transparent; color: var(--on-night); }
.plan-featured .plan-name { color: var(--gold); }
.plan-featured .plan-minutes span, .plan-featured .plan-eur { color: var(--on-night-2); }
.plan-featured .plan-price { color: var(--gold); }
.plan-featured .plan-permin { color: var(--on-night); }

@media (min-width: 880px) {
  .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
  .plan { padding: 32px; }
  .plan-featured { margin-block: -14px; padding-block: 46px; }
}

/* ---------- Pied de page ---------- */

.site-footer { color: var(--on-night-2); background: #07140e; border-top: 1px solid rgba(231, 178, 74, .28); padding-block: 48px 36px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.footer-grid > div:first-child { grid-column: 1 / -1; }
.footer-grid .brand { margin-bottom: 10px; }
.footer-grid p { max-width: 22rem; }
.foot-h { font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-night); text-decoration: none; }
.footer-links a:hover { color: var(--gold-soft); text-decoration: underline; }
.footer-note { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(244, 247, 242, .14); font-size: .9375rem; }

@media (min-width: 880px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
  .footer-grid > div:first-child { grid-column: auto; }
}

/* ---------- Formulaires ---------- */

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 5vw, 36px); }
.card + .card { margin-top: 16px; }

.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-weight: 600; font-size: .96875rem; margin-bottom: 7px; }
.field > small { display: block; margin-top: 6px; color: var(--ink-2); font-size: .9375rem; }

input, select, textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-2); border-radius: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #6b7d73; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(20, 56, 45, .15); }
select {
  appearance: none; -webkit-appearance: none; padding-inline-end: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%2347594f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
[dir="rtl"] select { background-position: left 16px center; }
input[type="checkbox"], input[type="radio"] { width: 22px; height: 22px; min-height: 0; padding: 0; accent-color: var(--forest); flex: none; }
input[type="date"], input[type="time"] { color-scheme: light; }

.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; font-size: .96875rem; color: var(--ink-2); }
.check input { margin-top: 2px; }

.form-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

.status { min-height: 1.5em; margin-top: 16px; font-weight: 600; line-height: 1.45; }
.status[data-state="ok"] { color: var(--ok); }
.status[data-state="error"] { color: var(--err); }

details.more { margin-bottom: 18px; border: 1px dashed var(--line-2); border-radius: 14px; padding: 4px 16px; }
details.more summary { min-height: 46px; display: flex; align-items: center; cursor: pointer; font-weight: 600; color: var(--forest-2); }
details.more[open] { padding-bottom: 8px; }
details.more[open] summary { margin-bottom: 8px; }

.subform { margin-bottom: 18px; padding: 16px 16px 2px; border-radius: 14px; background: #eef4ee; border: 1px solid var(--line); }

.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px; margin-bottom: 24px; border-radius: 999px; background: #e7eee8; }
.tabs button {
  min-height: 46px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: 600 .96875rem/1 var(--font-body); color: var(--ink-2);
  transition: background-color .15s ease, color .15s ease;
}
.tabs button[aria-selected="true"] { background: var(--forest); color: #fff; }

.narrow { max-width: 560px; margin-inline: auto; }
.two-col { display: grid; gap: 20px; align-items: start; }
@media (min-width: 880px) { .two-col { grid-template-columns: 1.15fr .85fr; gap: 28px; } }

.aside-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.aside-list li { padding-inline-start: 18px; position: relative; color: var(--ink-2); }
.aside-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.aside-list strong { color: var(--ink); }

.note {
  border-inline-start: 4px solid var(--gold); background: #fbf3de; color: #4a3608;
  padding: 14px 16px; border-radius: 12px; line-height: 1.55;
}

/* ---------- Boutique ---------- */

.shop-tools { display: grid; gap: 14px; margin-bottom: 28px; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line-2); background: #fff; color: var(--ink);
  font: 600 .96875rem/1 var(--font-body);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.filter:hover { border-color: var(--forest); }
.filter[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }

.shop-grid { display: grid; gap: 14px; }
.product { display: flex; flex-direction: column; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.product-top { display: flex; align-items: center; gap: 14px; }
.product-icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--forest); color: var(--gold); }
.product-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.product h3 { font-size: 1.5rem; }
.product .ref { font-size: .875rem; color: var(--gold-deep); font-weight: 600; letter-spacing: .02em; }
.product p { color: var(--ink-2); }
.product details summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; color: var(--forest-2); }
.product details ul { margin: 0 0 6px; padding-inline-start: 20px; color: var(--ink-2); }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-variant-numeric: lining-nums; font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1; color: var(--ink); }
.price small { display: block; margin-top: 4px; font-family: var(--font-body); font-weight: 500; font-size: .8125rem; color: var(--ink-2); }

@media (min-width: 640px) { .shop-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } .filters { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; } }

/* ---------- Guides, à propos, étapes ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps > li { position: relative; padding: 0 0 32px 64px; counter-increment: step; }
.steps > li:last-child { padding-bottom: 0; }
[dir="rtl"] .steps > li { padding: 0 64px 32px 0; }
.steps > li::before {
  content: counter(step); position: absolute; inset-inline-start: 0; top: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--forest); color: var(--gold-soft);
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4.5px var(--gold);
}
.steps > li::after { content: ""; position: absolute; inset-inline-start: 22px; top: 54px; bottom: 6px; width: 2px; background: var(--line-2); }
.steps > li:last-child::after { display: none; }
.steps h3 { font-size: 1.6rem; margin-bottom: 6px; }
.steps p { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; list-style: none; padding: 0; }
.tags li { padding: 4px 12px; border-radius: 999px; background: #e7eee8; color: var(--forest); font-size: .875rem; font-weight: 600; }

.profiles { display: grid; gap: 14px; }
.profile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; }
.verified { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 5px 12px; border-radius: 999px; background: var(--forest); color: var(--gold-soft); font-size: .875rem; font-weight: 700; }
.rating { font-variant-numeric: lining-nums; font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.rating small { font-family: var(--font-body); font-size: .9375rem; font-weight: 500; color: var(--ink-2); }
@media (min-width: 720px) { .profiles { grid-template-columns: 1fr 1fr; } }

.pullquote {
  font-family: var(--font-display); font-weight: 600; font-style: italic;
  font-size: clamp(1.8rem, 5.6vw, 3rem); line-height: 1.2; color: var(--forest);
  padding-inline-start: 22px; border-inline-start: 4px solid var(--gold); max-width: 30em;
}

/* ---------- Pages de texte (juridique) ---------- */

.prose { max-width: 46rem; }
.prose > * + * { margin-top: 1em; }
.prose section { margin-top: 2.6em; }
.prose section:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.7rem, 4.6vw, 2.2rem); margin-bottom: .5em; }
.prose h3 { font-size: 1.4rem; margin: 1.4em 0 .4em; }
.prose p, .prose li { color: #2c4036; }
.prose ul, .prose ol { padding-inline-start: 1.3em; display: grid; gap: .5em; margin: .8em 0; }
.prose a { font-weight: 600; }
.prose .note { margin-block: 1.2em; }

/* ---------- Langues à écriture de droite à gauche ---------- */

[dir="rtl"] .eyebrow, [dir="rtl"] .foot-h { letter-spacing: 0; text-transform: none; }

/* ---------- Petits écrans ---------- */

@media (max-width: 380px) {
  .tabbar a { font-size: .75rem; }
  .brand { font-size: 1.2rem; }
  .brand svg { width: 26px; height: 26px; }
  .prefs summary { padding: 0 11px; }
}

@media print {
  .tabbar, .prefs, .top-nav, .masthead::before, .masthead::after { display: none !important; }
  body { padding: 0; }
}
