/* =========================================================
   EPHPHATA – Site « retour sur l'édition » (sections sombres bleu nuit / or)
   Complète style.css (charte, boutons, formulaire de don).
   ========================================================= */

:root {
  --nuit: #050D22;
  --nuit-2: #081736;
  --trait-or: rgba(212, 165, 55, .28);
  --verre: rgba(255, 255, 255, .04);
  --blanc-70: rgba(255, 255, 255, .7);
  --blanc-50: rgba(255, 255, 255, .5);
}

body.site { background: var(--nuit); color: var(--white); }
body.site main.donate, body.site .donate { background: var(--bg); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
button { font-family: inherit; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-solid, .nav.is-open { background: rgba(5, 13, 34, .95); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.nav__logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 800 17px/1 var(--font-title); letter-spacing: .12em; color: var(--white); }
.nav__logo span { color: var(--gold-light); font-weight: 600; font-size: 13px; letter-spacing: .1em; }
.nav__links { display: none; align-items: center; gap: 24px; }
.nav__links a:not(.btn) { color: var(--blanc-70); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .04em; transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--white); }
.nav__burger { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--white); cursor: pointer; }
.nav__burger svg { width: 24px; height: 24px; }
.nav__panel { display: none; padding: 8px 20px 24px; }
.nav.is-open .nav__panel { display: block; }
.nav__panel a:not(.btn) { display: block; padding: 14px 0; color: var(--white); text-decoration: none; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.nav__panel .btn { margin-top: 18px; width: 100%; }
@media (min-width: 900px) {
  .nav__inner { height: 68px; }
  .nav__links { display: flex; }
  .nav__burger, .nav.is-open .nav__panel { display: none; }
}

/* ---------- Boutons complémentaires ---------- */
.btn--ghost { color: var(--white); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.rond { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(5, 13, 34, .55); color: var(--white); cursor: pointer; transition: background .2s, border-color .2s; }
.rond:hover { background: rgba(255, 255, 255, .12); border-color: var(--gold); }
.rond:focus-visible { outline: 3px solid var(--blue-sky); outline-offset: 2px; }
.rond svg { width: 20px; height: 20px; }

/* ---------- Sections ---------- */
.sec { position: relative; padding: 80px 0; overflow: hidden; scroll-margin-top: 60px; }
@media (min-width: 768px) { .sec { padding: 112px 0; } }
.sec--degrade { background: linear-gradient(180deg, var(--nuit) 0%, var(--blue-night) 55%, var(--nuit) 100%); }
.sec--royal { background: linear-gradient(180deg, var(--nuit) 0%, var(--blue-deep) 50%, var(--nuit) 100%); }
.sec__halo { position: absolute; left: 50%; top: 0; width: min(1000px, 140vw); height: 520px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(212, 165, 55, .16), transparent 65%); pointer-events: none; }
.sec__tete { position: relative; text-align: center; margin: 0 auto 44px; max-width: 760px; }
.sec__tete--gauche { text-align: left; margin-left: 0; }
.surtitre { margin: 0 0 14px; font-size: 11px; font-weight: 600; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); }
.sec__titre { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: clamp(30px, 5.4vw, 54px); line-height: 1.1; color: var(--white); }
.sec__titre em { font-style: normal; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec__tete::after { content: ""; display: block; width: 64px; height: 1px; margin: 18px auto 0; background: var(--gold); opacity: .6; }
.sec__tete--gauche::after { margin-left: 0; }
.sec__sous { margin: 16px 0 0; color: var(--blanc-70); font-size: 15px; }

.revele { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.revele.est-vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .revele { opacity: 1; transform: none; transition: none; } }

/* ---------- Hero cinématique ---------- */
.cine { position: relative; min-height: 820px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--nuit); }
@media (min-width: 768px) { .cine { min-height: 100vh; } }
.cine__fond, .cine__fond > * { position: absolute; inset: 0; }
.cine__diapo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.6s ease; }
.cine__diapo.est-active { opacity: 1; animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.16); } }
.cine__video { opacity: 0; transition: opacity 1.8s ease; pointer-events: none; overflow: hidden; }
.cine__video.est-prete { opacity: 1; }
.cine__video video { width: 100%; height: 100%; object-fit: cover; }
.cine__video iframe { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); min-height: 100%; transform: translate(-50%, -50%) scale(1.35); border: 0; }
.cine__voile { background:
  radial-gradient(ellipse at top, rgba(245, 210, 122, .22), transparent 60%),
  linear-gradient(180deg, rgba(5, 13, 34, .84) 0%, rgba(8, 36, 96, .7) 45%, var(--nuit) 100%); }
.cine__contenu { position: relative; z-index: 2; width: 100%; max-width: 980px; padding: 96px 20px 110px; text-align: center; }
.cine__haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.cine__eglise { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; text-align: left; color: var(--blanc-70); line-height: 1.4; }
.cine__eglise strong { color: var(--gold-light); display: block; }
.pastille { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(212, 165, 55, .45); background: rgba(212, 165, 55, .1); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); white-space: nowrap; }
.pastille::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.cine__sur { margin: 0 0 6px; font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--blanc-70); }
.cine__logo { margin: 0 auto; width: min(82vw, 600px); filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55)); }
.cine__logo img { width: 100%; height: auto; }
.cine__accroche { margin: 10px auto 0; max-width: 640px; font-family: var(--font-title); font-size: clamp(16px, 2.4vw, 21px); color: rgba(255, 255, 255, .88); }
.cine__infos { margin: 14px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 14px; font-weight: 600; color: var(--blanc-70); }
.cine__infos strong { color: var(--gold-light); }
.cine__cta { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cine__don { display: inline-block; margin-top: 18px; color: var(--gold-light); font-size: 14px; font-weight: 600; text-underline-offset: 4px; }
.cine__bas { position: absolute; left: 50%; bottom: 22px; z-index: 2; transform: translateX(-50%); color: var(--blanc-50); animation: rebond 1.8s ease-in-out infinite; }
.cine__bas svg { width: 26px; height: 26px; }
@keyframes rebond { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
.monte { opacity: 0; transform: translateY(16px); animation: monte .8s ease forwards; animation-delay: var(--d, 0s); }
@keyframes monte { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .monte, .cine__bas, .cine__diapo.est-active { animation: none; opacity: 1; transform: none; } .cine__bas { transform: translateX(-50%); } }
@media (max-width: 520px) { .cine__eglise { display: none; } .cine__haut { justify-content: center; } }

/* ---------- Chiffres clés ---------- */
.chiffres { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 768px) { .chiffres { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; } }
.chiffre { position: relative; padding: 26px 16px; text-align: center; background: var(--verre); border: 1px solid var(--trait-or); backdrop-filter: blur(10px); }
.chiffre::before, .chiffre::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid var(--gold); }
.chiffre::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.chiffre::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.chiffre__nb { font-family: var(--font-title); font-weight: 700; font-size: clamp(30px, 5vw, 52px); line-height: 1; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chiffre__lib { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.chiffre__det { margin-top: 6px; font-size: 12px; color: var(--blanc-50); }
.chiffres > .chiffre:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 768px) { .chiffres > .chiffre:last-child:nth-child(odd) { grid-column: auto; } }

/* ---------- Moments (diaporama) ---------- */
.moments__scene { position: relative; margin: 0 auto; max-width: 1100px; }
.moments__cadre { position: relative; margin: 0 auto; border: 1px solid rgba(212, 165, 55, .6); box-shadow: 0 30px 80px -30px #000, 0 0 60px -20px rgba(212, 165, 55, .5); overflow: hidden; background: #000; transition: width .6s ease, height .6s ease; cursor: zoom-in; }
.moments__cadre img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.moments__cadre img.est-active { opacity: 1; }
.moments__compteur { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: rgba(5, 13, 34, .8); color: var(--gold-light); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.moments__barre { position: absolute; left: 0; bottom: 0; z-index: 2; height: 3px; width: 0; background: var(--gold-gradient); }
.moments__barre.court { width: 100%; transition: width var(--duree, 4500ms) linear; }
.moments__nav { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); }
.moments__nav--prec { left: 10px; } .moments__nav--suiv { right: 10px; }
.moments__pause { position: absolute; left: 12px; bottom: 14px; z-index: 3; width: 40px; height: 40px; }
.moments__pied { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.moments__mini { display: flex; gap: 10px; }
.moments__mini img { width: 96px; height: 64px; object-fit: cover; opacity: .7; border: 1px solid var(--trait-or); cursor: pointer; transition: opacity .2s; }
.moments__mini img:hover { opacity: 1; }
.note { margin: 0; font-size: 12px; color: var(--blanc-50); }

/* ---------- Témoignages ---------- */
.temo__scene { position: relative; max-width: 900px; margin: 0 auto; }
.temo__carte { position: relative; aspect-ratio: 4 / 5; padding: 30px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 22px; background: linear-gradient(145deg, rgba(30, 99, 198, .28), rgba(5, 13, 34, .85)); border: 2px solid transparent; background-clip: padding-box; box-shadow: 0 0 70px -18px rgba(212, 165, 55, .55); transition: opacity .6s ease, transform .6s ease; }
.temo__carte::before { content: ""; position: absolute; inset: -2px; border-radius: 24px; padding: 2px; background: var(--gold-gradient); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.temo__carte::after { content: ""; position: absolute; inset: 6px; border-radius: 17px; border: 1px solid rgba(245, 210, 122, .22); pointer-events: none; }
@media (min-width: 640px) { .temo__carte { aspect-ratio: 16 / 9; padding: 44px 60px; } }
.temo__carte.sort { opacity: 0; transform: translateY(-16px) scale(.96); }
.temo__carte.entre { opacity: 0; transform: translateY(26px) scale(.95); transition: none; }
.temo__texte { flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.temo__texte p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 300; line-height: 1.3; color: var(--white); overflow-wrap: anywhere; }
.temo__texte p::before { content: "« "; color: var(--gold-light); } .temo__texte p::after { content: " »"; color: var(--gold-light); }
.temo__orn { margin: 16px 0 12px; display: flex; align-items: center; gap: 12px; color: var(--gold); font-size: 12px; }
.temo__orn::before, .temo__orn::after { content: ""; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.temo__orn::after { transform: scaleX(-1); }
.temo__auteur { display: flex; align-items: center; gap: 12px; }
.temo__initiale { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-gradient); color: var(--blue-night); font: 700 19px var(--font-title); }
.temo__nom { font: 700 18px var(--font-title); background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; text-align: left; }
.temo__sous { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--blanc-50); text-align: left; }
.temo__vide { border: 2px dashed rgba(212, 165, 55, .45); background: var(--verre); box-shadow: none; }
.temo__vide::before, .temo__vide::after { display: none; }
.temo__vide h3 { margin: 0 0 8px; font: 700 22px var(--font-title); color: var(--gold-light); }
.temo__vide p { margin: 0; color: var(--blanc-70); }
.temo__pied { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.temo__total { margin: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.rangee { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Invités ---------- */
.invites__grille { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .invites__grille { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
.invites__visuel { order: -1; position: relative; margin: 0 auto; width: min(100%, 560px); aspect-ratio: 4 / 3; border: 1px solid rgba(212, 165, 55, .5); overflow: hidden; box-shadow: 0 30px 70px -30px #000; background: var(--blue-night); }
@media (min-width: 960px) { .invites__visuel { order: 0; aspect-ratio: 4 / 5; width: min(100%, 440px); } }
.invites__visuel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; opacity: 0; transform: scale(1.02); transition: opacity .7s ease, transform 9s linear; }
.invites__visuel > .est-active { opacity: 1; transform: scale(1.08); }
.invites__visuel::after { content: ""; position: absolute; inset: 60% 0 0; background: linear-gradient(transparent, rgba(5, 13, 34, .85)); }
.invites__texte { min-height: 340px; transition: opacity .35s ease, transform .35s ease; }
.invites__texte.sort { opacity: 0; transform: translateX(-18px); }
.invites__role { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .35em; text-transform: uppercase; color: var(--gold); }
.invites__nom { margin: 0; font: 700 clamp(30px, 5vw, 54px)/1 var(--font-title); }
.invites__nom span { display: block; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.invites__origine { margin: 14px 0 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--blanc-70); }
.invites__lib { margin: 26px 0 10px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--blanc-50); }
.passage { width: 100%; display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 12px 14px; text-align: left; color: var(--white); background: var(--verre); border: 1px solid var(--trait-or); border-radius: 14px; cursor: pointer; transition: background .2s, border-color .2s; }
.passage:hover { background: rgba(212, 165, 55, .1); border-color: var(--gold); }
.passage__jouer { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--gold-gradient); color: var(--blue-night); }
.passage__jouer svg { width: 18px; height: 18px; margin-left: 2px; }
.passage strong { display: block; font-size: 14px; }
.passage small { color: var(--blanc-50); font-size: 12px; }
.invites__bande { margin-top: 36px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.invites__avatars { display: flex; align-items: center; gap: 10px; overflow-x: auto; padding: 6px 2px; scrollbar-width: none; }
.avatar { width: 50px; height: 50px; flex: none; padding: 0; border-radius: 50%; border: 2px solid transparent; overflow: hidden; opacity: .5; cursor: pointer; background: var(--blue-night); transition: all .3s; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.avatar.est-actif { width: 66px; height: 66px; opacity: 1; border-color: var(--gold); box-shadow: 0 0 22px -4px var(--gold); }

/* ---------- Replays ---------- */
.replays__tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.replays__tete .sec__tete { margin: 0; }
.replays__fleches { display: none; gap: 10px; }
@media (min-width: 640px) { .replays__fleches { display: flex; } }
.replays__bande { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.replays__bande::-webkit-scrollbar, .invites__avatars::-webkit-scrollbar { display: none; }
.vcarte { flex: none; width: 82%; scroll-snap-align: start; padding: 0; text-align: left; color: var(--white); background: none; border: 0; cursor: pointer; }
@media (min-width: 640px) { .vcarte { width: 46%; } }
@media (min-width: 960px) { .vcarte { width: 31%; } }
.vcarte__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--trait-or); background: linear-gradient(135deg, var(--blue-royal), var(--nuit)); }
.vcarte__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.vcarte:hover .vcarte__img img { transform: scale(1.08); }
.vcarte__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(5, 13, 34, .85)); }
.vcarte__jouer { position: absolute; z-index: 1; top: 50%; left: 50%; width: 60px; height: 60px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: var(--gold-gradient); color: var(--blue-night); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.vcarte__jouer svg { width: 22px; height: 22px; margin-left: 3px; }
.badge { position: absolute; z-index: 1; padding: 4px 9px; border-radius: 999px; background: rgba(5, 13, 34, .8); font-size: 11px; font-weight: 700; color: var(--gold-light); }
.badge--hg { top: 10px; left: 10px; } .badge--bd { bottom: 10px; right: 10px; color: var(--white); }
.vcarte__titre { margin: 14px 0 0; font: 700 18px/1.3 var(--font-title); transition: color .2s; }
.vcarte:hover .vcarte__titre { color: var(--gold-light); }
.vcarte__det { margin: 4px 0 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--blanc-50); }
.glisser { margin: 16px 0 0; text-align: center; font-size: 12px; color: var(--blanc-50); }
@media (min-width: 640px) { .glisser { display: none; } }

/* ---------- Mot du Prophète ---------- */
.mot__cadre { position: relative; max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; border: 2px solid rgba(212, 165, 55, .45); box-shadow: 0 0 80px -20px rgba(212, 165, 55, .55); background: #000; cursor: pointer; padding: 0; display: block; width: 100%; }
.mot__cadre img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.mot__cadre .vcarte__jouer { width: 78px; height: 78px; }

/* ---------- Verset ---------- */
.verset { position: relative; min-height: 80vh; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; background: var(--nuit); }
.verset__fond { position: absolute; inset: -12% 0; background:
  radial-gradient(ellipse at 50% 0%, rgba(245, 210, 122, .28), transparent 55%),
  repeating-conic-gradient(from 0deg at 50% -10%, rgba(255, 255, 255, .05) 0deg 4deg, transparent 4deg 12deg),
  linear-gradient(180deg, var(--blue-royal), var(--nuit) 80%); will-change: transform; }
.verset__contenu { position: relative; max-width: 900px; padding: 80px 24px; }
.verset__guillemet { font: 700 150px/0.6 var(--font-title); color: var(--gold); opacity: .28; }
.verset__texte { margin: 0; font: 600 clamp(26px, 5vw, 50px)/1.25 var(--font-title); color: var(--white); }
.verset__ref { margin: 26px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .35em; text-transform: uppercase; color: var(--gold-light); }
.verset__contenu::after { content: ""; display: block; width: 96px; height: 1px; margin: 26px auto 0; background: var(--gold); opacity: .6; }
.verset__ref { order: 2; }

/* ---------- Transformations & mur social ---------- */
.grille3 { display: grid; gap: 20px; }
@media (min-width: 720px) { .grille3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grille3 { grid-template-columns: repeat(3, 1fr); } }
.tcarte { border-radius: 22px; overflow: hidden; border: 1px solid var(--trait-or); background: rgba(5, 13, 34, .55); }
.tcarte img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tcarte__corps { padding: 20px; }
.tcarte__lib { margin: 0 0 4px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--blanc-50); }
.tcarte__lib--or { color: var(--gold-light); margin-top: 14px; }
.tcarte p { margin: 0; font-size: 14px; }
.tcarte__avant { font-style: italic; color: var(--blanc-70); }
.tcarte__nom { margin-top: 16px !important; font-weight: 700; color: var(--gold-light); }
.scarte { display: block; border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--white); border: 1px solid rgba(255, 255, 255, .12); background: var(--verre); transition: transform .25s, border-color .25s; }
.scarte:hover { transform: scale(1.02); border-color: var(--gold); }
.scarte img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.scarte__corps { padding: 16px; }
.scarte__pf { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.scarte__pf i { width: 10px; height: 10px; border-radius: 50%; background: var(--pf, var(--gold)); }
.scarte p { margin: 8px 0 0; font-size: 14px; color: var(--blanc-70); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scarte__auteur { color: var(--gold-light) !important; font-weight: 600; }

/* ---------- Sponsors ---------- */
.sponsors { background:
  radial-gradient(ellipse at 50% 0%, rgba(212, 165, 55, .2), transparent 55%),
  linear-gradient(180deg, var(--nuit) 0%, var(--blue-deep) 45%, var(--nuit) 100%); }
.sponsors__intro { max-width: 760px; margin: 0 auto 36px; text-align: center; color: rgba(255, 255, 255, .85); font-size: 16px; }
.atouts { list-style: none; margin: 0 auto 48px; padding: 0; max-width: 900px; display: grid; gap: 12px; }
@media (min-width: 720px) { .atouts { grid-template-columns: 1fr 1fr; } }
.atouts li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--verre); border: 1px solid var(--trait-or); border-radius: 12px; font-size: 14px; }
.atouts li::before { content: "✦"; color: var(--gold); }
.formules { display: grid; gap: 16px; margin-bottom: 56px; }
@media (min-width: 640px) { .formules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .formules { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.formule { display: flex; flex-direction: column; padding: 26px 22px; border-radius: 18px; background: rgba(5, 13, 34, .6); border: 1px solid var(--trait-or); }
.formule--phare { border: 2px solid var(--gold); box-shadow: 0 0 50px -18px var(--gold); }
.formule h3 { margin: 0; font: 700 24px var(--font-title); background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.formule__prix { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--blanc-70); }
.formule ul { flex: 1; list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 9px; align-content: start; font-size: 14px; color: rgba(255, 255, 255, .85); }
.formule li { padding-left: 20px; position: relative; }
.formule li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.formule .btn { width: 100%; }
.sform { max-width: 760px; margin: 0 auto; padding: 28px 22px; border-radius: 22px; background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
@media (min-width: 640px) { .sform { padding: 38px 40px; } }
.sform h3 { margin: 0 0 4px; font: 700 24px var(--font-title); color: var(--blue-night); text-align: center; }
.sform > p { margin: 0 0 18px; text-align: center; color: var(--ink-soft); font-size: 14px; }
.sform__grille { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .sform__grille { grid-template-columns: 1fr 1fr; } .sform__large { grid-column: 1 / -1; } }
.field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: 500 16px var(--font-body); color: var(--ink); background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }
.field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-royal); box-shadow: 0 0 0 4px rgba(11, 61, 145, .12); }
.piege { position: absolute; left: -9999px; }
.sform .btn { margin-top: 22px; }
.sform__ok { text-align: center; padding: 20px 0; }
.sform__ok strong { display: block; font: 700 22px var(--font-title); color: var(--blue-night); margin-bottom: 8px; }
.sform__tel { margin: 16px 0 0; text-align: center; font-size: 14px; color: var(--ink-soft); }
.sform__tel a { color: var(--blue-royal); font-weight: 700; }

/* ---------- Titre de la section don (fond clair) ---------- */
.donate__tete { text-align: center; margin-bottom: 36px; }
.donate__tete .surtitre { color: var(--gold-dark); }
.donate__tete h2 { margin: 0; font: 700 clamp(28px, 4.6vw, 44px)/1.15 var(--font-title); color: var(--blue-night); }
.pay-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.pay-chips .pay-chip { background: var(--white); border: 1px solid var(--line); color: var(--ink); }

/* ---------- Fenêtres (vidéo, photo) ---------- */
.lb { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 60px 16px 24px; background: rgba(0, 0, 0, .93); backdrop-filter: blur(14px); }
.lb.est-ouverte { display: flex; }
.lb__boite { width: 100%; max-width: 1100px; animation: zoom .3s ease; }
@keyframes zoom { from { opacity: 0; transform: scale(.95); } }
.lb__video { aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--trait-or); }
.lb__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.lb__legende { margin: 14px 0 0; text-align: center; color: var(--blanc-70); font-size: 14px; }
.lb__img { display: block; margin: 0 auto; max-width: 100%; max-height: 82vh; object-fit: contain; }
.lb__fermer { position: absolute; top: 12px; right: 12px; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__nav--prec { left: 10px; } .lb__nav--suiv { right: 10px; }
.lb__compte { position: absolute; top: 22px; left: 18px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--gold-light); }

/* ---------- Pages secondaires ---------- */
.page { min-height: 100vh; padding: 104px 0 80px; background: linear-gradient(180deg, var(--blue-night), var(--nuit) 420px); }
.page__tete { text-align: center; margin-bottom: 30px; }
.page__tete h1 { margin: 0; font: 700 clamp(34px, 6vw, 60px)/1.1 var(--font-title); }
.onglets { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--verre); border: 1px solid var(--trait-or); }
.onglets button, .puces button { border: 0; background: none; color: var(--blanc-70); cursor: pointer; font: 600 13px var(--font-body); border-radius: 999px; padding: 9px 18px; }
.onglets button.est-actif { background: var(--gold-gradient); color: var(--blue-night); }
.puces { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 28px; }
.puces button { border: 1px solid rgba(255, 255, 255, .2); }
.puces button.est-actif { border-color: var(--gold); color: var(--gold-light); background: rgba(212, 165, 55, .12); }
.mosaique { columns: 2; column-gap: 12px; }
@media (min-width: 640px) { .mosaique { columns: 3; column-gap: 16px; } }
@media (min-width: 1024px) { .mosaique { columns: 4; } }
.tuile { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--blue-night); cursor: zoom-in; break-inside: avoid; transition: transform .25s, box-shadow .25s; }
@media (min-width: 640px) { .tuile { margin-bottom: 16px; } }
.tuile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px var(--gold); }
.tuile img { width: 100%; height: auto; display: block; }
.vgrille { display: grid; gap: 22px; }
@media (min-width: 640px) { .vgrille { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .vgrille { grid-template-columns: repeat(3, 1fr); } }
.vgrille .vcarte { width: 100%; }
.centre { text-align: center; }
.vide { padding: 60px 0; text-align: center; color: var(--blanc-50); }

.footer--site { background: #030816; }

/* ---------- Appel au don (accueil) et page de don ---------- */
.appel-don { background: linear-gradient(180deg, var(--nuit), var(--blue-night)); }
.appel-don .verse { margin: 26px auto 0; color: var(--blanc-70); }
.pay-chips--sombre { margin-top: 22px; }
.pay-chips--sombre .pay-chip { background: var(--verre); border: 1px solid rgba(255, 255, 255, .16); color: var(--white); }
.don-tete { position: relative; padding: 120px 0 56px; text-align: center; overflow: hidden; background:
  radial-gradient(ellipse at top, rgba(245, 210, 122, .22), transparent 60%),
  linear-gradient(180deg, var(--nuit) 0%, var(--blue-royal) 130%); }
.don-tete h1 { margin: 0; font: 700 clamp(30px, 5.4vw, 52px)/1.12 var(--font-title); }
.don-tete h1 em { font-style: normal; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.don-tete__texte { max-width: 620px; margin: 16px auto 0; color: rgba(255, 255, 255, .85); }
.don-tete .verse { margin: 22px auto 0; }

/* ---------- Page « Devenir sponsor » ---------- */
.sp-tete { position: relative; min-height: 78vh; display: flex; align-items: center; text-align: center; overflow: hidden; background: var(--nuit); }
.sp-tete__fond { position: absolute; inset: 0; background-size: cover; background-position: center; }
.sp-tete__fond::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(ellipse at top, rgba(245, 210, 122, .22), transparent 60%),
  linear-gradient(180deg, rgba(5, 13, 34, .86) 0%, rgba(8, 36, 96, .72) 50%, var(--nuit) 100%); }
.sp-tete__contenu { position: relative; padding-top: 120px; padding-bottom: 80px; }
.sp-tete h1 { margin: 0 auto; max-width: 900px; font: 700 clamp(32px, 6vw, 62px)/1.1 var(--font-title); }
.sp-tete__dates { margin: 16px 0 0; font-weight: 600; color: var(--gold-light); }

/* ---------- Lien de retour (pages témoignage et mur) ---------- */
.retour { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 8px; color: var(--gold-light); font-size: 14px; font-weight: 600; text-decoration: none; }
.retour:hover { text-decoration: underline; text-underline-offset: 4px; }
.retour--mur { position: absolute; z-index: 5; top: 10px; left: 16px; margin: 0; font-size: 13px; opacity: .55; transition: opacity .2s; }
.retour--mur:hover, .retour--mur:focus-visible { opacity: 1; }

/* ---------- Invité sans photo : panneau aux initiales ---------- */
.sans-photo { display: grid; place-items: center; width: 100%; height: 100%; font: 700 18px var(--font-title); color: var(--gold-light);
  background: radial-gradient(ellipse at 50% 20%, rgba(245, 210, 122, .3), transparent 60%), linear-gradient(160deg, var(--blue-royal), var(--nuit)); }
.invites__visuel .sans-photo { position: absolute; inset: 0; font-size: clamp(90px, 16vw, 170px); letter-spacing: .04em; opacity: 0; transition: opacity .7s ease;
  background-image: radial-gradient(ellipse at 50% 20%, rgba(245, 210, 122, .3), transparent 60%), repeating-conic-gradient(from 0deg at 50% -10%, rgba(255, 255, 255, .05) 0deg 4deg, transparent 4deg 12deg), linear-gradient(160deg, var(--blue-royal), var(--nuit)); }
.invites__visuel .sans-photo.est-active { opacity: 1; transform: none; }

/* ---------- Moyen de paiement indisponible (page de don) ---------- */
.operator.is-off { cursor: not-allowed; opacity: .5; }
.operator.is-off .operator__box { background: #F1F3F8; border-style: dashed; }

/* ---------- Fenêtre de paiement : en cours, validé, refusé ---------- */
.modal__icon.is-processing { background: none; border: 5px solid var(--blue-ice); border-top-color: var(--blue-royal); border-right-color: var(--gold); animation: tourne 1s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.modal__attente { height: 6px; margin: 16px 0 4px; border-radius: 999px; background: var(--blue-ice); overflow: hidden; }
.modal__attente span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--gold-gradient); }
.modal__second { margin: 0 8px 8px 0; }
.btn--discret { background: none !important; box-shadow: none !important; color: var(--ink-soft) !important; border: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .modal__icon.is-processing { animation-duration: 3s; } }
