/* Site sanctiago.com — charte « coquillage » de l'app (saints-go/src/constants/charte.js, 16/10/2026).
   Polices servies par le site (src/polices, licence SIL OFL 1.1). Aucun appel extérieur. */
@font-face { font-family: "Inter"; src: url(/polices/Inter-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/polices/Inter-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/polices/Inter-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Sanctiago Titres"; src: url(/polices/SanctiagoTitres-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Sanctiago Titres"; src: url(/polices/SanctiagoTitres-Black.woff2) format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Cinzel Decorative"; src: url(/polices/CinzelDecorative-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bleu-royal: #063BBA; --bleu-profond: #031553; --nuit: #020B32; --bleu-lumineux: #0875FF;
  --or: #F6B91A; --or-clair: #FFE99A; --or-reflet: #FFF6C7; --or-ombre: #C86B00; --bronze: #7F3C00;
  --lumiere: #FFD45A; --blanc-lumiere: #FFFBEA;
  --texte: #FFFBEA; --texte-doux: rgba(255, 251, 234, 0.78); --texte-faible: rgba(255, 251, 234, 0.6);
  --carte-ui: rgba(2, 11, 50, 0.62); --filet: rgba(246, 185, 26, 0.55); --filet-fort: rgba(246, 185, 26, 0.85);
  --lueur-douce: 0 0 10px rgba(246, 185, 26, 0.25); --lueur-moyenne: 0 0 14px rgba(246, 185, 26, 0.45);
  --lueur-intense: 0 0 18px rgba(255, 212, 90, 0.8); --profondeur: 0 8px 16px rgba(0, 0, 0, 0.45);
  --titre-deco: "Cinzel Decorative", "Sanctiago Titres", Georgia, serif;
  --titre: "Sanctiago Titres", Georgia, serif;
  --corps: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gouttiere: 16px; --large: 1120px;
  color-scheme: dark;
}
@media (min-width: 720px) { :root { --gouttiere: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--nuit); color: var(--texte); font: 400 17px/1.6 var(--corps); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--or-clair); text-underline-offset: 3px; }
a:hover { color: var(--or-reflet); }
:focus-visible { outline: 2px solid var(--or-clair); outline-offset: 3px; border-radius: 6px; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--or); color: var(--bleu-profond); padding: 8px 14px; border-radius: 999px; font-weight: 700; }
.lien-evitement:focus { top: 8px; }

/* ---------------------------------------------------------------- typographie */
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.2; }
.grand-titre { font-family: var(--titre-deco); color: var(--or-clair); text-shadow: 0 0 8px rgba(246, 185, 26, 0.45); letter-spacing: 0.01em; }
.titre-section { font-family: var(--titre-deco); color: var(--or-clair); font-size: clamp(28px, 6.4vw, 46px); text-align: center; text-shadow: 0 0 8px rgba(246, 185, 26, 0.4); }
.sur-titre { display: block; font: 700 12px/1.4 var(--corps); letter-spacing: 0.14em; text-transform: uppercase; color: var(--or); text-align: center; margin-bottom: 10px; }
.chapeau { max-width: 680px; margin: 14px auto 0; text-align: center; color: var(--texte-doux); font-size: 18px; }
.titre-bloc { font-family: var(--titre); font-size: clamp(24px, 5vw, 32px); color: var(--or-clair); text-shadow: 0 0 8px rgba(246, 185, 26, 0.35); }
p { margin: 0 0 14px; }

/* ---------------------------------------------------------------- boutons (BOUTONS de la charte) */
.bouton-or { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px;
  background: linear-gradient(180deg, #FFE99A 0%, #F6B91A 55%, #E0950C 100%); color: var(--bleu-profond); font: 700 16px/1.25 var(--corps);
  text-decoration: none; text-align: center; box-shadow: var(--lueur-douce), inset 0 1px 0 rgba(255, 255, 255, 0.6); border: 0; }
.bouton-or:hover { color: var(--bleu-profond); filter: brightness(1.05); }
.bouton-or[aria-disabled="true"] { cursor: default; }
.bouton-second { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border-radius: 999px; background: var(--bleu-profond);
  border: 1px solid var(--filet-fort); color: var(--or-clair); font: 600 15px/1.2 var(--corps); text-decoration: none; cursor: pointer; }
.bouton-second:hover { background: #0A2470; color: var(--or-reflet); }

/* ---------------------------------------------------------------- en-tête */
.entete { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.3s, box-shadow 0.3s; }
.entete.defile { background: rgba(2, 11, 50, 0.86); box-shadow: 0 1px 0 rgba(246, 185, 26, 0.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.entete-int { max-width: var(--large); margin: 0 auto; padding: 8px max(var(--gouttiere), env(safe-area-inset-right)) 8px max(var(--gouttiere), env(safe-area-inset-left)); display: flex; align-items: center; gap: 12px; min-height: 60px; }
.entete-logo { display: block; width: 116px; flex: none; }
.entete-logo img { width: 116px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--texte); text-decoration: none; font-weight: 600; font-size: 16px; display: inline-block; padding: 10px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--or-clair); }
.bouton-menu { display: none; margin-left: auto; background: rgba(2, 11, 50, 0.6); border: 1px solid rgba(246, 185, 26, 0.6); color: var(--or-clair); border-radius: 999px;
  height: 44px; padding: 0 18px; font: 600 16px var(--corps); cursor: pointer; }
@media (max-width: 899px) {
  .bouton-menu { display: inline-flex; align-items: center; gap: 8px; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: rgba(2, 11, 50, 0.97); border-bottom: 1px solid var(--filet); display: none; }
  .nav.ouvert { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gouttiere) 16px; }
  .nav li a { display: block; padding: 12px 4px; font-size: 17px; border-bottom: 1px solid rgba(246, 185, 26, 0.15); }
}

/* ---------------------------------------------------------------- hero : intro du logo (IntroLogoCharte) */
.hero { position: relative; min-height: max(100vh, 600px); min-height: max(100svh, 600px); display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  overflow: hidden; background: #0a2a8f; isolation: isolate; padding: 0 var(--gouttiere) calc(7vh + env(safe-area-inset-bottom)); text-align: center; }
.hero-fond { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: 50% 40%;
  background-image: url(/img/intro/fond_royal-828.webp); opacity: 1; }
.hero-scene { position: absolute; left: 50%; top: 40%; width: 0; height: 0; z-index: -1; }
.hero-scene .calque { position: absolute; display: block; max-width: none; pointer-events: none; will-change: transform, opacity; }
.hero-scene .reflet { position: absolute; overflow: hidden; pointer-events: none; will-change: transform; }
.hero-scene .reflet img { position: absolute; top: 0; max-width: none; }
.hero-scene .rayons-tourne { animation: tourne 60s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.hero-texte { position: relative; max-width: 760px; }
.hero h1 { font-family: var(--titre-deco); color: var(--or-clair); font-size: clamp(27px, 7vw, 52px); line-height: 1.15; text-shadow: 0 0 10px rgba(246, 185, 26, 0.5), 0 2px 6px rgba(2, 11, 50, 0.6); }
.hero .sous-titre { margin: 10px 0 26px; font: 600 clamp(18px, 4.4vw, 24px)/1.3 var(--corps); color: var(--blanc-lumiere); letter-spacing: 0.02em; }
.hero .bouton-or { font-size: 16px; max-width: 360px; }
.hero .note-sortie { margin-top: 12px; font-size: 16px; color: var(--texte-faible); }
.hero-suite { position: absolute; bottom: calc(6px + env(safe-area-inset-bottom)); left: 50%; width: 48px; height: 48px; margin-left: -24px; display: block; }
.hero-suite::after { content: ""; position: absolute; left: 12px; top: 6px; width: 24px; height: 24px; border-right: 2px solid var(--or-clair); border-bottom: 2px solid var(--or-clair);
  transform: rotate(45deg); opacity: 0.7; animation: invite 2.4s ease-in-out infinite; }
@keyframes invite { 0%, 100% { transform: translateY(0) rotate(45deg); opacity: 0.4; } 50% { transform: translateY(6px) rotate(45deg); opacity: 0.85; } }
.hero-texte > * { opacity: 0; transform: translateY(14px); transition: opacity 0.8s ease, transform 0.8s ease; }
.hero.texte-visible .hero-texte > * { opacity: 1; transform: none; }
.hero.texte-visible .hero-texte > *:nth-child(2) { transition-delay: 0.15s; }
.hero.texte-visible .hero-texte > *:nth-child(3) { transition-delay: 0.3s; }
.hero.texte-visible .hero-texte > *:nth-child(4) { transition-delay: 0.45s; }

/* ---------------------------------------------------------------- sections */
.section { position: relative; padding: 84px var(--gouttiere); }
.section-int { max-width: var(--large); margin: 0 auto; }
.fond-profond { background: radial-gradient(120% 70% at 50% 0%, #0B2E95 0%, #031553 55%, #020B32 100%); }
.fond-nuit { background: linear-gradient(180deg, #020B32 0%, #031553 100%); }
.fond-royal { background: radial-gradient(90% 60% at 50% 20%, #0b3fc4 0%, #063BBA 30%, #031553 85%); }
.filet-haut::before { content: ""; position: absolute; top: 0; left: 50%; width: min(520px, 70%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(246, 185, 26, 0.7), transparent); }

/* apparition au défilement */
[data-apparait] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1); }
[data-apparait].vu { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- piliers */
.piliers { display: grid; gap: 22px; margin-top: 44px; }
@media (min-width: 640px) { .piliers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .piliers { grid-template-columns: repeat(4, 1fr); gap: 18px; } .pilier { padding: 28px 18px 24px; } }
.pilier { background: var(--carte-ui); border: 1px solid var(--filet); border-radius: 24px; padding: 30px 24px 26px; box-shadow: var(--lueur-douce); text-align: center; }
.pilier h3 { font-family: var(--titre); color: var(--or-clair); font-size: 21px; margin: 18px 0 12px; }
.pilier p { color: var(--texte-doux); font-size: 16px; margin: 0; }
.medaillon { position: relative; width: 112px; height: 112px; margin: 0 auto; }
.medaillon .disque { position: absolute; inset: 8px; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #3d8bff 0%, #0b52e0 45%, #0732a8 80%);
  box-shadow: 0 0 0 3px #f6c64a, 0 0 0 5px #c86b00, 0 0 18px rgba(255, 212, 90, 0.55), inset 0 -8px 16px rgba(0, 0, 0, 0.3); }
.medaillon .disque::after { content: ""; position: absolute; left: 18%; top: 10%; width: 44%; height: 22%; border-radius: 50%; border-top: 2px solid rgba(255, 255, 255, 0.45); transform: rotate(-18deg); }
.medaillon svg { position: absolute; inset: 28px; width: 56px; height: 56px; filter: drop-shadow(0 1px 1px rgba(80, 30, 0, 0.6)); }
.medaillon .aureole { position: absolute; left: 50%; top: -10px; width: 74px; height: 22px; margin-left: -37px; border-radius: 50%;
  border: 3px solid #ffd45a; box-shadow: 0 0 10px rgba(255, 212, 90, 0.9), inset 0 0 6px rgba(255, 246, 199, 0.8); animation: aureole 4s ease-in-out infinite; }
@keyframes aureole { 0%, 100% { transform: translateY(0); box-shadow: 0 0 8px rgba(255, 212, 90, 0.7), inset 0 0 6px rgba(255, 246, 199, 0.7); }
  50% { transform: translateY(-4px); box-shadow: 0 0 18px rgba(255, 212, 90, 1), inset 0 0 8px rgba(255, 246, 199, 1); } }
.pilier:nth-child(2) .aureole { animation-delay: -1s; } .pilier:nth-child(3) .aureole { animation-delay: -2s; } .pilier:nth-child(4) .aureole { animation-delay: -3s; }
.paillettes { position: absolute; inset: 0; pointer-events: none; }
.paillettes i { position: absolute; width: 10px; height: 10px; background: url(/img/intro/paillette-42.webp) center/contain no-repeat; opacity: 0; animation: scintille 3.6s ease-in-out infinite; }
.paillettes i:nth-child(1) { left: 6%; top: 30%; } .paillettes i:nth-child(2) { right: 4%; top: 18%; animation-delay: 1.2s; } .paillettes i:nth-child(3) { right: 14%; bottom: 8%; animation-delay: 2.4s; }
@keyframes scintille { 0%, 100% { opacity: 0; transform: scale(0.4); } 50% { opacity: 1; transform: scale(1.1); } }

/* ---------------------------------------------------------------- blocs « comment ça marche » */
.blocs { display: grid; gap: 96px; margin-top: 56px; }
.bloc { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .bloc { grid-template-columns: 1fr 1fr; gap: 64px; } .bloc.inverse .bloc-visuel { order: 2; } }
.bloc-texte .numero { font: 900 15px var(--titre); color: var(--or); letter-spacing: 0.12em; }
.bloc-texte h3 { margin: 6px 0 16px; }
.bloc-texte p { color: var(--texte-doux); }
.bloc-texte ul { padding-left: 0; list-style: none; margin: 0 0 14px; }
.bloc-texte li { position: relative; padding-left: 28px; margin: 8px 0; color: var(--texte-doux); }
.bloc-texte li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 12px; background: url(/img/logo/embleme-102.webp) center/contain no-repeat; }
.bloc-visuel { position: relative; display: flex; justify-content: center; }

/* téléphone (cadre d'iPhone dessiné) */
.telephone { position: relative; width: min(300px, 78vw); aspect-ratio: 390 / 844; border-radius: 46px; padding: 10px; background: #0d0f16;
  box-shadow: 0 0 0 2px #3a3f4f, 0 0 0 3px #11131a, 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(246, 185, 26, 0.18); flex: none; }
.telephone .ecran { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #031553; }
.telephone .ecran > picture, .telephone .ecran > picture img, .telephone .ecran > video { width: 100%; height: 100%; object-fit: cover; }
.telephone .ilot { position: absolute; top: 18px; left: 50%; width: 31%; height: 24px; margin-left: -15.5%; border-radius: 20px; background: #000; z-index: 5; }
.legende { margin-top: 12px; font-size: 16px; line-height: 1.45; color: var(--texte-faible); text-align: center; }

/* ---------------------------------------------------------------- démo de la carte vivante */
.carte-vivante .ecran { background: #6d9a45; }
.cv-carte { position: absolute; inset: -6% -10% auto -10%; width: 120%; transform-origin: 50% 50%; }
.cv-carte img { width: 100%; height: auto; }
.cv-calque { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.cv-pluie { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s; background-image: url(/img/carte/pluie_proche-256.webp), url(/img/carte/pluie_loin-256.webp);
  background-size: 128px 512px, 96px 384px; animation: pluie 0.6s linear infinite; mix-blend-mode: screen; }
.cv-pluie.active { opacity: 0.55; }
@keyframes pluie { to { background-position: -40px 512px, -20px 384px; } }
.cv-meteo { position: absolute; top: 52px; left: 12px; z-index: 4; background: rgba(2, 11, 50, 0.8); border: 1px solid var(--filet); border-radius: 999px; padding: 4px 11px;
  font: 600 11px/1.4 var(--corps); color: var(--or-clair); }
.cv-lieu { position: absolute; width: 34px; height: 35px; transform: translate(-50%, -100%); }
.cv-lieu img { width: 100%; height: auto; }
.cv-lieu span { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 700 9px/1.2 var(--corps); color: #2b1a08;
  text-shadow: 0 0 3px #fff6c7, 0 0 2px #fff6c7; font-style: italic; }
.cv-saint { position: absolute; left: 0; top: 0; width: 64px; height: 91px; transform: translate(-50%, -84%); }
.cv-sprite { width: 100%; height: 100%; background-image: var(--png); background-image: image-set(var(--webp) type("image/webp"), var(--png) type("image/png"));
  background-size: calc(var(--n) * 100%) 100%; background-repeat: no-repeat; }
.cv-bulle { position: absolute; left: 50%; bottom: calc(100% - 16px); width: 46px; height: 46px; margin: 0 0 0 -23px; border-radius: 50%; }
.cv-bulle .portrait-parlant { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px #f6c64a, 0 0 0 3.5px #c86b00, 0 0 12px rgba(255, 212, 90, 0.8); background-color: #fff6c7; }
.cv-bulle::before { content: ""; position: absolute; left: 50%; top: -12px; width: 30px; height: 9px; margin-left: -15px; border-radius: 50%; border: 2px solid #ffd45a; box-shadow: 0 0 6px rgba(255, 212, 90, 0.9); }
.cv-bulle::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -5px; border: 5px solid transparent; border-top-color: #f6c64a; border-bottom: 0; }
.cv-parole { position: absolute; top: 76px; left: 12px; right: 12px; z-index: 4; background: rgba(2, 11, 50, 0.9); border: 1px solid var(--filet); border-radius: 14px; padding: 10px 12px 8px;
  text-align: center; opacity: 0; transform: translateY(-8px); transition: opacity 0.5s, transform 0.5s; box-shadow: var(--lueur-douce); }
.cv-parole.visible { opacity: 1; transform: none; }
.cv-parole strong { display: block; font: 700 11px var(--titre); color: var(--or); letter-spacing: 0.04em; margin-bottom: 3px; }
.cv-parole p { margin: 0; font-size: 11.5px; line-height: 1.4; color: var(--texte); }
.cv-parole small { display: block; margin-top: 4px; font-size: 9px; color: var(--texte-faible); }
.cv-barre { position: absolute; left: 0; right: 0; bottom: 0; height: 92px; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 0 22px 12px;
  background: linear-gradient(180deg, transparent, rgba(2, 11, 50, 0.35)); }
.cv-barre .icone { width: 34px; height: 34px; }
.cv-barre .viseur { width: 62px; height: 62px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.92); box-shadow: 0 0 6px rgba(0, 0, 0, 0.35); position: relative; }
.cv-barre .viseur::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #fff; }
.cv-statut { position: absolute; top: 15px; left: 30px; right: 22px; z-index: 6; display: flex; justify-content: space-between; align-items: center; font: 600 13px var(--corps); color: #10141f; }
.cv-statut svg { fill: #10141f; color: #10141f; }

/* ---------------------------------------------------------------- réalité augmentée */
.ar-duo { display: flex; gap: 18px; justify-content: center; align-items: flex-end; flex-wrap: wrap; }
.ages { display: flex; justify-content: center; align-items: flex-end; gap: 6px; margin-top: 26px; }
.ages figure { margin: 0; text-align: center; }
.ages img { filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.45)); }
.ages figcaption { font: 700 12px var(--titre); color: var(--or); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }
.a-venir { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 220px; padding: 18px; border: 2px dashed rgba(255, 233, 154, 0.75);
  border-radius: 18px; color: var(--or-clair); font: 700 15px/1.4 var(--corps); background: repeating-linear-gradient(135deg, rgba(246, 185, 26, 0.08) 0 12px, transparent 12px 24px); }

/* ---------------------------------------------------------------- carte gagnée */
.carte-gagnee { position: relative; width: min(340px, 86vw); aspect-ratio: 3 / 4.1; margin: 0 auto; border-radius: 28px; overflow: hidden;
  background: radial-gradient(70% 55% at 50% 42%, #1b4fd6 0%, #0a2a8f 45%, #031553 100%); border: 1px solid var(--filet); box-shadow: var(--profondeur), var(--lueur-douce); }
.cg-rayons { position: absolute; left: 50%; top: 42%; width: 640px; height: 640px; margin: -320px 0 0 -320px; opacity: 0; background: url(/img/intro/rayons_dores-600.webp) center/contain no-repeat; }
.cg-halo { position: absolute; left: 50%; top: 42%; width: 360px; height: 360px; margin: -180px 0 0 -180px; opacity: 0; background: url(/img/intro/halo_dore-512.webp) center/contain no-repeat; }
.cg-carte { position: absolute; left: 50%; top: 42%; width: 46%; aspect-ratio: 2 / 3; transform: translate(-50%, -50%) scale(0.5); opacity: 0; perspective: 900px; }
.cg-carte .faces { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(180deg); }
.cg-carte .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 6%; overflow: hidden; box-shadow: 0 0 24px rgba(255, 212, 90, 0.7); }
.cg-carte .face img { width: 100%; height: 100%; object-fit: cover; }
.cg-carte .verso { transform: rotateY(180deg); }
.cg-texte { position: absolute; left: 0; right: 0; bottom: 64px; text-align: center; font: 700 17px/1.3 var(--titre); color: var(--or-clair); text-shadow: 0 0 8px rgba(246, 185, 26, 0.6); padding: 0 18px; opacity: 0; }
.cg-bouton { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); min-height: 38px; padding: 8px 26px; font-size: 14px; opacity: 0; pointer-events: none; }
.confettis { position: absolute; left: 50%; top: 42%; width: 0; height: 0; }
.confettis i { position: absolute; left: 0; top: 0; width: 7px; height: 12px; border-radius: 2px; background: linear-gradient(180deg, #fff6c7, #f6b91a 60%, #c86b00); opacity: 0; }
.confettis i:nth-child(3n) { width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle, #fff6c7, #ffd45a 60%, #c86b00); }
.confettis i:nth-child(4n) { width: 12px; height: 12px; border-radius: 0; background: url(/img/intro/paillette-42.webp) center/contain no-repeat; }
.joue .cg-rayons { animation: cg-rayons 9s linear forwards; }
.joue .cg-halo { animation: cg-halo 1.4s ease-out 0.2s forwards; }
.joue .cg-carte { animation: cg-carte 1.2s cubic-bezier(.2,.9,.3,1.15) 0.4s forwards; }
.joue .cg-carte .faces { animation: cg-tourne 1.1s cubic-bezier(.4,.1,.2,1) 1.1s forwards; }
.joue .confettis i { animation: confetti 2.4s cubic-bezier(.15,.7,.35,1) var(--d, 1.6s) forwards; }
.joue .cg-texte { animation: apparait 0.7s ease 2.2s forwards; }
.joue .cg-bouton { animation: apparait 0.6s ease 2.7s forwards; }
@keyframes cg-rayons { 0% { opacity: 0; transform: rotate(0); } 15% { opacity: 0.75; } 100% { opacity: 0.6; transform: rotate(40deg); } }
@keyframes cg-halo { 0% { opacity: 0; transform: scale(0.4); } 60% { opacity: 1; } 100% { opacity: 0.75; transform: scale(1); } }
@keyframes cg-carte { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes cg-tourne { to { transform: rotateY(0deg); } }
@keyframes confetti { 0% { opacity: 0; transform: translate(0, 0) rotate(0); } 8% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); } }
@keyframes apparait { to { opacity: 1; } }
.rejouer { display: block; margin: 14px auto 0; }

/* ---------------------------------------------------------------- les saints */
.galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; margin: 34px 0 0; padding: 22px 0 0; }
@media (min-width: 600px) { .galerie { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 20px; } }
@media (min-width: 960px) { .galerie { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .galerie { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.saint { scroll-snap-align: center; position: relative; margin: 0; }
.saint .carte { border-radius: 14px; overflow: hidden; box-shadow: var(--profondeur), 0 0 0 1px rgba(246, 185, 26, 0.35); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.saint:hover .carte, .saint:focus-within .carte { transform: translateY(-4px) rotate(-0.6deg); box-shadow: var(--profondeur), 0 0 22px rgba(255, 212, 90, 0.55); }
.saint .bulle { position: absolute; top: -16px; right: -6px; width: clamp(46px, 12vw, 58px); height: clamp(46px, 12vw, 58px); z-index: 2; }
.saint .bulle .portrait-parlant { position: absolute; inset: 0; border-radius: 50%; background-color: #fff6c7; box-shadow: 0 0 0 2px #f6c64a, 0 0 0 3.5px #c86b00, 0 0 12px rgba(255, 212, 90, 0.75); }
.saint figcaption { margin-top: 12px; }
.saint h3 { font: 700 17px/1.25 var(--titre); color: var(--or-clair); }
.saint p { margin: 6px 0 0; font-size: 16px; line-height: 1.45; color: var(--texte-doux); }
.portrait-parlant { background-image: var(--png); background-image: image-set(var(--webp) type("image/webp"), var(--png) type("image/png")); background-size: 500% 100%; background-position: 0 0; background-repeat: no-repeat; }
.portrait-parlant[data-i="1"] { background-position: 25% 0; } .portrait-parlant[data-i="2"] { background-position: 50% 0; }
.portrait-parlant[data-i="3"] { background-position: 75% 0; } .portrait-parlant[data-i="4"] { background-position: 100% 0; }
.defile-indice { text-align: center; font-size: 13px; color: var(--texte-faible); margin-top: 4px; }
@media (min-width: 900px) { .defile-indice { display: none; } }
.rangee-3d { display: flex; justify-content: center; align-items: flex-end; gap: 0; margin: 40px auto 0; max-width: 980px; }
.rangee-3d img { width: auto; max-height: 360px; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.5)); }

/* ---------------------------------------------------------------- cartes Gold */
.gold { background: radial-gradient(80% 60% at 50% 30%, #2a1d05 0%, #120b02 45%, #020B32 100%); }
.gold .titre-section { color: #ffe99a; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 40px auto 0; max-width: 760px; }
.trio figure { margin: 0; text-align: center; }
.trio .carte { border-radius: 10px; overflow: hidden; box-shadow: 0 0 18px rgba(255, 212, 90, 0.45), var(--profondeur); }
.trio figcaption { margin-top: 10px; font: 700 clamp(14px, 3.6vw, 17px)/1.3 var(--titre); color: var(--or-clair); }
.pelerinages { display: grid; gap: 14px; max-width: 900px; margin: 26px auto 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .pelerinages { grid-template-columns: repeat(3, 1fr); } }
.pelerinages li { background: var(--carte-ui); border: 1px solid rgba(246, 185, 26, 0.45); border-radius: 16px; padding: 16px 18px; font-size: 16px; color: var(--texte-doux); }
.pelerinages strong { display: block; font: 700 17px var(--titre); color: var(--or-clair); margin-bottom: 4px; }
.celebration { position: relative; max-width: 560px; height: 520px; margin: 56px auto 0; border-radius: 28px; overflow: hidden; background: radial-gradient(60% 50% at 50% 45%, #0d2a8a 0%, #031553 60%, #020B32 100%);
  border: 1px solid rgba(246, 185, 26, 0.55); box-shadow: 0 0 30px rgba(246, 185, 26, 0.25); }
.cel-rayons { position: absolute; left: 50%; top: 45%; width: 900px; height: 900px; margin: -450px 0 0 -450px; opacity: 0;
  background: repeating-conic-gradient(from 0deg, rgba(255, 212, 90, 0.11) 0deg 7.5deg, rgba(255, 246, 199, 0.05) 7.5deg 15deg); border-radius: 50%; }
.cel-petite { position: absolute; left: 50%; top: 45%; width: 92px; aspect-ratio: 2 / 3; margin: -69px 0 0 -46px; opacity: 0; border-radius: 7px; overflow: hidden; box-shadow: 0 0 16px rgba(255, 212, 90, 0.7); }
.cel-grande { position: absolute; left: 50%; top: 45%; width: 200px; aspect-ratio: 2 / 3; margin: -150px 0 0 -100px; opacity: 0; transform: scale(0.4); border-radius: 12px; overflow: hidden; box-shadow: 0 0 34px rgba(255, 212, 90, 0.9); }
.cel-eclat { position: absolute; left: 50%; top: 45%; width: 420px; height: 420px; margin: -210px 0 0 -210px; opacity: 0; background: url(/img/intro/flash_dore-512.webp) center/contain no-repeat; }
.cel-texte { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; padding: 0 22px; opacity: 0; }
.cel-texte .sur-titre { margin-bottom: 4px; }
.cel-texte strong { display: block; font: 700 24px var(--titre-deco); color: var(--or-clair); text-shadow: 0 0 8px rgba(246, 185, 26, 0.6); }
.cel-texte p { margin: 6px 0 0; font-size: 16px; color: var(--texte-doux); }
.joue .cel-rayons { animation: cel-rayons 60s linear forwards; }
.joue .cel-petite.j { animation: cel-j 3.4s cubic-bezier(.3,.8,.3,1) 0.3s forwards; }
.joue .cel-petite.m { animation: cel-m 3.4s cubic-bezier(.3,.8,.3,1) 0.3s forwards; }
.joue .cel-petite.s { animation: cel-s 3.4s cubic-bezier(.3,.8,.3,1) 0.3s forwards; }
.joue .cel-eclat { animation: cel-eclat 1.2s ease-out 3s forwards; }
.joue .cel-grande { animation: cel-grande 1.1s cubic-bezier(.2,.9,.3,1.2) 3.25s forwards; }
.joue .cel-texte { animation: apparait 0.8s ease 4.2s forwards; }
@keyframes cel-rayons { 0% { opacity: 0; transform: rotate(0); } 3% { opacity: 1; } 100% { opacity: 1; transform: rotate(120deg); } }
@keyframes cel-j { 0% { opacity: 0; transform: translate(-340px, 0) rotate(-10deg); } 30% { opacity: 1; transform: translate(-108px, 0) rotate(-4deg); } 62% { opacity: 1; transform: translate(-108px, 0) rotate(-4deg); }
  88% { opacity: 1; transform: translate(0, 0) scale(0.9); } 100% { opacity: 0; transform: translate(0, 0) scale(0.6); } }
@keyframes cel-m { 0% { opacity: 0; transform: translate(0, -380px); } 30% { opacity: 1; transform: translate(0, -18px); } 62% { opacity: 1; transform: translate(0, -18px); }
  88% { opacity: 1; transform: translate(0, 0) scale(0.9); } 100% { opacity: 0; transform: translate(0, 0) scale(0.6); } }
@keyframes cel-s { 0% { opacity: 0; transform: translate(340px, 0) rotate(10deg); } 30% { opacity: 1; transform: translate(108px, 0) rotate(4deg); } 62% { opacity: 1; transform: translate(108px, 0) rotate(4deg); }
  88% { opacity: 1; transform: translate(0, 0) scale(0.9); } 100% { opacity: 0; transform: translate(0, 0) scale(0.6); } }
@keyframes cel-eclat { 0% { opacity: 0; transform: scale(0.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes cel-grande { to { opacity: 1; transform: scale(1); } }
.chapelle-note { max-width: 640px; margin: 34px auto 0; text-align: center; font-size: 16px; color: var(--texte-doux); border-top: 1px solid rgba(246, 185, 26, 0.3); padding-top: 18px; }

/* ---------------------------------------------------------------- patrimoine, hologramme */
.patrimoine-grille { display: grid; gap: 40px; margin-top: 40px; align-items: center; }
@media (min-width: 900px) { .patrimoine-grille { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }
.encadre { background: var(--carte-ui); border: 1px solid var(--filet); border-radius: 20px; padding: 26px 24px; box-shadow: var(--lueur-douce); }
.encadre h3 { font: 700 21px/1.3 var(--titre); color: var(--or-clair); margin-bottom: 12px; }
.encadre p { color: var(--texte-doux); margin-bottom: 0; }
.encadre + .encadre { margin-top: 18px; }
.hologramme { position: relative; width: min(320px, 82vw); aspect-ratio: 3 / 4; margin: 0 auto; border-radius: 22px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(120, 200, 255, 0.35), 0 0 40px rgba(40, 140, 255, 0.25); }
.holo-socle { position: absolute; left: 50%; bottom: 7%; width: 64%; height: 9%; margin-left: -32%; border-radius: 50%; background: radial-gradient(closest-side, rgba(120, 210, 255, 0.85), rgba(40, 120, 255, 0.25) 60%, transparent); filter: blur(2px); }
.holo-faisceau { position: absolute; left: 50%; bottom: 10%; width: 70%; height: 82%; margin-left: -35%; background: linear-gradient(0deg, rgba(90, 190, 255, 0.28), rgba(90, 190, 255, 0) 85%);
  clip-path: polygon(30% 100%, 70% 100%, 100% 0, 0 0); }
.holo-saint { position: absolute; left: 50%; bottom: 11%; height: 80%; transform: translateX(-50%); }
.holo-saint img { height: 100%; width: auto; max-width: none; filter: grayscale(1) sepia(1) hue-rotate(165deg) saturate(3.2) brightness(1.15) contrast(1.05) drop-shadow(0 0 10px rgba(80, 180, 255, 0.85)); opacity: 0.82; mix-blend-mode: screen; }
.holo-lignes { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(120, 210, 255, 0.13) 0 1px, transparent 1px 4px); animation: lignes 6s linear infinite; mix-blend-mode: screen; }
@keyframes lignes { to { background-position: 0 120px; } }
.holo-saint { animation: holo 5s ease-in-out infinite; }
@keyframes holo { 0%, 100% { opacity: 0.95; } 46% { opacity: 0.95; } 48% { opacity: 0.7; } 50% { opacity: 0.95; } 75% { opacity: 0.88; } }
.etiquette-apercu { position: absolute; top: 12px; left: 12px; z-index: 3; background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(120, 210, 255, 0.6); color: #bfe6ff; border-radius: 999px; padding: 3px 10px;
  font: 700 11px var(--corps); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------------------------------------------------------------- famille */
.famille-grille { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 700px) { .famille-grille { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .famille-grille { grid-template-columns: repeat(4, 1fr); } }
.atout { background: var(--carte-ui); border: 1px solid var(--filet); border-radius: 18px; padding: 22px 20px; text-align: left; box-shadow: var(--lueur-douce); }
.atout .picto { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #3d8bff, #0732a8 80%); box-shadow: 0 0 0 2px #f6c64a, 0 0 10px rgba(255, 212, 90, 0.5); margin-bottom: 14px; }
.atout .picto svg { width: 24px; height: 24px; }
.atout h3 { font: 700 17px/1.3 var(--titre); color: var(--or-clair); margin-bottom: 8px; }
.atout p { font-size: 16px; color: var(--texte-doux); margin: 0; }
.note-politique { margin-top: 22px; text-align: center; font-size: 16px; color: var(--texte-faible); }

/* ---------------------------------------------------------------- créateur */
.createur { display: grid; gap: 28px; align-items: center; max-width: 900px; margin: 40px auto 0; }
@media (min-width: 760px) { .createur { grid-template-columns: 240px 1fr; gap: 48px; } }
.createur .photo { width: 200px; height: 200px; margin: 0 auto; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #f6c64a, 0 0 0 6px #c86b00, 0 0 26px rgba(255, 212, 90, 0.5); }
.createur .photo img { width: 100%; height: 100%; object-fit: cover; }
.createur h3 { font: 700 22px/1.3 var(--titre); color: var(--or-clair); margin-bottom: 12px; }
.createur p { color: var(--texte-doux); }
.brouillon { display: inline-block; font: 700 11px var(--corps); letter-spacing: 0.08em; text-transform: uppercase; color: #031553; background: #ffd45a; border-radius: 6px; padding: 2px 8px; margin-bottom: 10px; }

/* ---------------------------------------------------------------- bandeau boutique */
.bandeau-boutique { display: grid; gap: 22px; align-items: center; max-width: 900px; margin: 0 auto; background: var(--carte-ui); border: 1px solid var(--filet); border-radius: 24px; padding: 26px; box-shadow: var(--lueur-douce); }
@media (min-width: 760px) { .bandeau-boutique { grid-template-columns: 1fr auto; } }
.bandeau-boutique h2 { font: 700 24px var(--titre); color: var(--or-clair); margin-bottom: 8px; }
.bandeau-boutique p { color: var(--texte-doux); margin: 0; }

/* ---------------------------------------------------------------- pied de page */
.pied { background: #01081f; border-top: 1px solid rgba(246, 185, 26, 0.35); padding: 48px max(var(--gouttiere), env(safe-area-inset-right)) calc(36px + env(safe-area-inset-bottom)) max(var(--gouttiere), env(safe-area-inset-left)); font-size: 16px; color: var(--texte-doux); }
.pied-int { max-width: var(--large); margin: 0 auto; display: grid; gap: 26px; }
@media (min-width: 860px) { .pied-int { grid-template-columns: 1.2fr 1fr 1fr; } }
.pied .embleme { width: 64px; height: auto; margin-bottom: 10px; }
.pied h2 { font: 700 15px var(--titre); color: var(--or-clair); letter-spacing: 0.06em; margin-bottom: 10px; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin: 0; }
.pied ul:not(.reseaux) a { display: inline-block; padding: 10px 0; min-height: 44px; }
.pied a { color: var(--texte); }
.pied a:hover { color: var(--or-clair); }
.pied-bas { max-width: var(--large); margin: 30px auto 0; padding-top: 18px; border-top: 1px solid rgba(246, 185, 26, 0.2); font-size: 16px; color: var(--texte-faible); display: grid; gap: 6px; }

/* ---------------------------------------------------------------- pages simples (mentions légales, boutique, 404) */
.page-simple { padding: 120px var(--gouttiere) 70px; }
.page-simple .section-int { max-width: 820px; }
.page-simple h1 { font-family: var(--titre-deco); color: var(--or-clair); font-size: clamp(28px, 6vw, 42px); text-align: center; text-shadow: 0 0 8px rgba(246, 185, 26, 0.4); margin-bottom: 18px; }
.page-simple h2 { font: 700 21px var(--titre); color: var(--or-clair); margin: 34px 0 10px; }
.page-simple p, .page-simple li { color: var(--texte-doux); }
.page-simple ul { padding-left: 22px; }
.bientot { display: block; width: max-content; margin: 0 auto 26px; background: linear-gradient(180deg, #FFE99A, #F6B91A 55%, #E0950C); color: var(--bleu-profond); border-radius: 999px; padding: 6px 18px; font: 700 14px var(--corps); letter-spacing: 0.06em; text-transform: uppercase; }
.produits { display: grid; gap: 22px; margin-top: 34px; }
@media (min-width: 760px) { .produits { grid-template-columns: 1fr 1fr; } }
.produit { background: var(--carte-ui); border: 1px solid var(--filet); border-radius: 22px; padding: 22px; box-shadow: var(--lueur-douce); }
.produit h2 { margin-top: 14px; }
.produit .visuel { border-radius: 16px; overflow: hidden; background: radial-gradient(80% 70% at 50% 35%, #1b4fd6 0%, #031553 70%); }
.vignettes-produit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.vignettes-produit picture { border-radius: 10px; overflow: hidden; background: radial-gradient(80% 70% at 50% 35%, #1b4fd6 0%, #031553 70%); }

/* ---------------------------------------------------------------- mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; animation-delay: 0s !important; }
  [data-apparait] { opacity: 1; transform: none; }
  .hero-texte > * { opacity: 1; transform: none; }
  .hero-suite, .holo-lignes { animation: none !important; }
  .cv-pluie { animation: none !important; }
}
.a-completer { background: #ffd45a; color: #031553; font-weight: 700; border-radius: 4px; padding: 0 6px; }
.emb-404 { width: 260px; margin: 0 auto 18px; }
.emb-404 img { animation: aureole 4s ease-in-out infinite; }
/* ajouts ébauche 2 */
.accueil .entete:not(.defile) .entete-logo { opacity: 0; pointer-events: none; }
.entete-logo { transition: opacity 0.4s; }
.hero .bouton-or { max-width: 480px; }
.ar-duo { gap: 14px; flex-wrap: nowrap; align-items: flex-start; }
.ar-tel { margin: 0; }
.ar-tel.decale { margin-top: 48px; }
.telephone.petit { width: min(240px, 43vw); border-radius: 38px; padding: 8px; }
.telephone.petit .ecran { border-radius: 31px; }
.telephone.petit .ilot { top: 13px; height: 19px; }
.telephone .ecran > video { position: absolute; inset: 0; }
.ages img { width: auto; }
.rangee-3d { --k: min(165px, calc((100vw - 2 * var(--gouttiere)) / 4.5)); align-items: flex-end; }
.rangee-3d picture { margin: 0 -1%; flex: none; }
.rangee-3d img { height: calc(var(--hm) * var(--k)); width: auto; max-width: none; max-height: none; }
.vignettes-produit img { width: 100%; height: auto; }
.produit .visuel img { width: 100%; height: auto; }
.reseaux { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.reseaux a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 10px; border-radius: 999px; background: var(--bleu-profond);
  border: 1px solid var(--filet-fort); color: var(--or-clair); text-decoration: none; font: 600 15px var(--corps); }
.reseaux a:hover { background: #0A2470; color: var(--or-reflet); box-shadow: var(--lueur-douce); }
.reseaux svg { width: 22px; height: 22px; color: var(--or); }
.pied .reseaux li { margin: 0; }
.h-reseaux { margin-top: 22px; }
.suis-nous { margin: 18px 0 10px; font-weight: 600; color: var(--or-clair); }
.diaporama { position: absolute; inset: 0; }
.diaporama .diapo { position: absolute; inset: 0; opacity: 0; animation: diapo 20s infinite; }
.diaporama .diapo img { width: 100%; height: 100%; object-fit: cover; }
.diaporama .d0 { animation-delay: 0s; } .diaporama .d1 { animation-delay: 5s; } .diaporama .d2 { animation-delay: 10s; } .diaporama .d3 { animation-delay: 15s; }
@keyframes diapo { 0% { opacity: 0; } 4% { opacity: 1; } 25% { opacity: 1; } 29% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .diaporama .diapo { animation: none !important; } .diaporama .d0 { opacity: 1; } }
/* son : bouton « Entrer dans Sanctiago » et bouton flottant */
.ligne-entrer { min-height: 56px; margin: 0 0 14px; max-height: 80px; transition: max-height 0.4s ease, min-height 0.4s ease, margin 0.4s ease; }
.ligne-entrer.replie { max-height: 0; min-height: 0; margin: 0; overflow: hidden; }
.bouton-entrer { visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s linear 0.6s; cursor: pointer; font-size: 17px; padding: 12px 28px; }
.bouton-entrer.visible { visibility: visible; opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; animation: appel 2.8s ease-in-out 1s infinite; }
.bouton-entrer svg { width: 22px; height: 22px; }
@keyframes appel { 0%, 100% { box-shadow: 0 0 10px rgba(246, 185, 26, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.6); } 50% { box-shadow: 0 0 24px rgba(255, 212, 90, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.6); } }
.pastille-store { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border-radius: 999px; background: rgba(3, 21, 83, 0.75);
  border: 1px solid var(--filet-fort); color: var(--or-clair); font: 600 16px/1.3 var(--corps); text-wrap: balance; max-width: 560px; }
.bouton-son { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(2, 11, 50, 0.85); border: 1px solid rgba(246, 185, 26, 0.8); color: var(--or-clair); display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--lueur-douce), var(--profondeur); opacity: 0; transform: scale(0.8); transition: opacity 0.4s, transform 0.4s; }
.bouton-son.visible { opacity: 1; transform: none; }
.bouton-son svg { width: 26px; height: 26px; grid-area: 1 / 1; }
.bouton-son .icone-off { display: none; }
.bouton-son.coupe .icone-on { display: none; }
.bouton-son.coupe .icone-off { display: block; }
.bouton-son[hidden] { display: none; }

/* Cinzel Decorative : pas de ligatures décoratives (« HE » se lisait « Œ ») */
.grand-titre, .titre-section, .hero h1, .page-simple h1, .cel-texte strong { font-variant-ligatures: no-common-ligatures no-discretionary-ligatures no-contextual; font-feature-settings: "liga" 0, "dlig" 0, "calt" 0; }
/* démo de la carte : tailles proportionnelles à l'écran du téléphone (dessinée pour 280 px de large ; 1cqw = 2,8 px) */
.carte-vivante .ecran { container-type: inline-size; }
@supports (width: 1cqw) {
  .cv-saint { width: 22.9cqw; height: 32.5cqw; }
  .cv-bulle { width: 16.4cqw; height: 16.4cqw; margin-left: -8.2cqw; }
  .cv-bulle::before { top: -4.3cqw; width: 10.7cqw; height: 3.2cqw; margin-left: -5.35cqw; }
  .cv-parole { top: 27cqw; left: 4.3cqw; right: 4.3cqw; padding: 3.6cqw 4.3cqw 2.9cqw; border-radius: 5cqw; }
  .cv-parole strong { font-size: 3.9cqw; margin-bottom: 1cqw; }
  .cv-parole p { font-size: 4.1cqw; }
  .cv-parole small { font-size: 3.2cqw; margin-top: 1.4cqw; }
  .cv-meteo { top: 18.6cqw; left: 4.3cqw; font-size: 3.9cqw; padding: 1.4cqw 3.9cqw; }
  .cv-barre { height: 33cqw; padding: 0 7.9cqw 4.3cqw; }
  .cv-barre .icone, .cv-barre .icone img { width: 12cqw; height: auto; }
  .cv-barre .viseur { width: 22cqw; height: 22cqw; }
  .cv-statut { top: 5.4cqw; left: 10.7cqw; right: 7.9cqw; font-size: 4.6cqw; }
  .cv-statut svg { width: 19cqw; height: auto; }
  .cv-lieu { width: 12cqw; height: 12.5cqw; }
  .cv-lieu span { font-size: 3.2cqw; }
}
@media (prefers-reduced-motion: reduce) { .rejouer { display: none; } }

/* Pourquoi Sanctiago ? : SANCT / IA / GO paraissent l'une après l'autre, se rapprochent et se fondent dans le logo */
.nom-scene { position: relative; height: clamp(230px, 42vw, 320px); margin: 26px auto 0; max-width: 820px; overflow: hidden; }
.syllabes { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; gap: clamp(10px, 4vw, 44px); }
.syl { text-align: center; opacity: 0; transform: translateY(18px); flex: 0 1 auto; }
.syl b { display: block; font: 900 clamp(38px, 11vw, 88px)/1 var(--titre); letter-spacing: 0.02em;
  background: linear-gradient(180deg, #FFF6C7 0%, #FFE99A 32%, #F6B91A 62%, #C86B00 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(246, 185, 26, 0.45)); }
.syl small { display: block; margin: 10px auto 0; max-width: 11em; font-size: 16px; line-height: 1.35; color: var(--texte-doux); }
.nom-logo { position: absolute; left: 50%; top: 50%; width: min(420px, 80%); transform: translate(-50%, -50%) scale(0.6); opacity: 0; }
.nom-logo img { width: 100%; height: auto; }
.nom-eclat { position: absolute; left: 50%; top: 50%; width: 460px; height: 460px; margin: -230px 0 0 -230px; opacity: 0; background: url(/img/intro/flash_dore-512.webp) center/contain no-repeat; pointer-events: none; }
.joue .syl.s1 { animation: syl-in 0.6s ease 0.2s forwards, syl-gauche 0.9s cubic-bezier(.5,0,.3,1) 4s forwards; }
.joue .syl.s2 { animation: syl-in 0.6s ease 1s forwards, syl-centre 0.9s cubic-bezier(.5,0,.3,1) 4s forwards; }
.joue .syl.s3 { animation: syl-in 0.6s ease 1.8s forwards, syl-droite 0.9s cubic-bezier(.5,0,.3,1) 4s forwards; }
.joue .syl small { animation: legende-part 0.5s ease 3.4s forwards; }
.joue .nom-eclat { animation: cel-eclat 1.3s ease-out 4.6s forwards; }
.joue .nom-logo { animation: logo-arrive 1.1s cubic-bezier(.2,.9,.3,1.15) 4.7s forwards; }
@keyframes syl-in { to { opacity: 1; transform: none; } }
@keyframes legende-part { to { opacity: 0; transform: translateY(6px); } }
@keyframes syl-gauche { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(clamp(40px, 12vw, 120px)) scale(0.6); } }
@keyframes syl-centre { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(0.6); } }
@keyframes syl-droite { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(calc(-1 * clamp(40px, 12vw, 120px))) scale(0.6); } }
@keyframes logo-arrive { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.nom-texte { max-width: 720px; margin: 22px auto 0; text-align: center; color: var(--texte-doux); }
.nom-liste { list-style: none; padding: 0; margin: 10px 0 16px; display: grid; gap: 6px; }
.nom-liste strong { font: 900 18px var(--titre); color: var(--or-clair); letter-spacing: 0.04em; }
html, body { overflow-x: clip; }
/* Duels et jeux : les deux épées se croisent derrière le logo Sanctiago DUEL, un éclat, puis le logo luit doucement */
.duel-logo { position: relative; width: 240px; max-width: 70vw; aspect-ratio: 960 / 697; margin: 4px 0 6px; }
.duel-logo picture, .duel-logo img { position: relative; z-index: 2; width: 100%; height: auto; }
.duel-epee { position: absolute; z-index: 1; top: 8%; width: 52%; aspect-ratio: 291 / 270; background-size: contain; background-repeat: no-repeat; opacity: 0; }
.duel-epee.g { left: -6%; background-image: url(/img/duels/epee_gauche_grand-291.png); background-image: image-set(url(/img/duels/epee_gauche_grand-291.webp) type("image/webp"), url(/img/duels/epee_gauche_grand-291.png) type("image/png")); transform: translateX(-60%) rotate(-35deg); }
.duel-epee.d { right: -6%; background-image: url(/img/duels/epee_droite_grand-291.png); background-image: image-set(url(/img/duels/epee_droite_grand-291.webp) type("image/webp"), url(/img/duels/epee_droite_grand-291.png) type("image/png")); transform: translateX(60%) rotate(35deg); }
.duel-eclat { position: absolute; z-index: 3; left: 50%; top: 40%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(0.3); opacity: 0; background: url(/img/intro/flash_dore-512.webp) center/contain no-repeat; pointer-events: none; }
.duel-logo picture { opacity: 0; transform: scale(0.85); }
.joue .duel-epee { animation: epee 0.55s cubic-bezier(.6,0,.4,1.4) 0.2s forwards; }
.joue .duel-eclat { animation: duel-eclat 0.9s ease-out 0.7s forwards; }
.duel-logo.joue picture { animation: duel-logo 0.7s cubic-bezier(.2,.9,.3,1.2) 0.75s forwards, duel-luit 3.2s ease-in-out 2s infinite; }
@keyframes epee { to { opacity: 1; transform: none; } }
@keyframes duel-eclat { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); } }
@keyframes duel-logo { to { opacity: 1; transform: none; } }
@keyframes duel-luit { 0%, 100% { filter: drop-shadow(0 0 4px rgba(255, 212, 90, 0.3)); } 50% { filter: drop-shadow(0 0 14px rgba(255, 212, 90, 0.8)); } }
.puces-jeux { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.bloc-texte .puces-jeux li { padding: 8px 14px; margin: 0; border-radius: 999px; background: var(--bleu-profond); border: 1px solid var(--filet-fort); color: var(--or-clair); font: 600 16px var(--corps); }
.bloc-texte .puces-jeux li::before { display: none; }
.telephone.flotte { animation: flotte 6s ease-in-out infinite; }
@keyframes flotte { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { .telephone.flotte { animation: none !important; } .duel-logo picture { animation: none !important; } }
/* diaporama des captures du duel : 1 capture fixe, ou 2 / 3 captures en fondu */
.diaporama .diapo.seule { opacity: 1; animation: none; }
.diaporama .diapo.n2 { animation: diapo2 10s infinite; } .diaporama .n2.d1 { animation-delay: 5s; }
.diaporama .diapo.n3 { animation: diapo3 15s infinite; } .diaporama .n3.d1 { animation-delay: 5s; } .diaporama .n3.d2 { animation-delay: 10s; }
.diaporama .n2.d0, .diaporama .n3.d0 { opacity: 1; }
@keyframes diapo2 { 0% { opacity: 0; } 8% { opacity: 1; } 50% { opacity: 1; } 58% { opacity: 0; } 100% { opacity: 0; } }
@keyframes diapo3 { 0% { opacity: 0; } 5% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; } 100% { opacity: 0; } }
/* Thérèse en hologramme : vidéo de l'aperçu, cadre noir et or (le noir de la vidéo se confond avec le cadre) */
.holo-video { position: relative; margin: 0 auto; width: min(420px, 100%); aspect-ratio: 3 / 4; background: #000; border: 1px solid rgba(246, 185, 26, 0.75);
  border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 5px #000, 0 0 0 6px rgba(246, 185, 26, 0.35), 0 0 36px rgba(246, 185, 26, 0.22); }
.holo-video video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.holo-video .etiquette-apercu { z-index: 3; background: rgba(0, 0, 0, 0.7); border-color: rgba(246, 185, 26, 0.75); color: var(--or-clair); letter-spacing: 0.04em; text-transform: none; font-size: 13px; }
.holo-video video::cue { font-family: "Inter", sans-serif; font-size: 17px; line-height: 1.4; color: #FFFBEA; background: rgba(2, 11, 50, 0.82); }
.holo-actions { text-align: center; margin: 18px 0 0; }
.bouton-ecouter svg { width: 22px; height: 22px; }
.diaporama .diapo.n4 { animation: diapo4 20s infinite; } .diaporama .n4.d1 { animation-delay: 5s; } .diaporama .n4.d2 { animation-delay: 10s; } .diaporama .n4.d3 { animation-delay: 15s; }
.diaporama .diapo.n5 { animation: diapo5 25s infinite; } .diaporama .n5.d1 { animation-delay: 5s; } .diaporama .n5.d2 { animation-delay: 10s; } .diaporama .n5.d3 { animation-delay: 15s; } .diaporama .n5.d4 { animation-delay: 20s; }
.diaporama .n4.d0, .diaporama .n5.d0 { opacity: 1; }
@keyframes diapo4 { 0% { opacity: 0; } 4% { opacity: 1; } 25% { opacity: 1; } 29% { opacity: 0; } 100% { opacity: 0; } }
@keyframes diapo5 { 0% { opacity: 0; } 3% { opacity: 1; } 20% { opacity: 1; } 23% { opacity: 0; } 100% { opacity: 0; } }
/* Badges de téléchargement (règles Apple et Google) : badge jamais modifié ni animé ; même hauteur pour les deux (Google >= Apple) ;
   marge libre d'1/4 de la hauteur sur fond uni ; légende en texte HTML hors de la marge ; App Store d'abord, Google Play à droite
   (en dessous sur téléphone). */
.badges-store { --hb: 44px; display: flex; flex-direction: column; align-items: center; gap: 4px 20px; margin: 0 0 16px; }
@media (min-width: 560px) { .badges-store { flex-direction: row; justify-content: center; align-items: flex-start; } }
@media (min-width: 900px) { .badges-store.b-hero, .badges-store.b-createur { --hb: 54px; } }
.badge-bloc { display: flex; flex-direction: column; align-items: center; }
.badge-zone { display: block; padding: calc(var(--hb) * 0.25); background: #020B32; border-radius: calc(var(--hb) * 0.22); line-height: 0; }
.badge-lien { display: block; line-height: 0; }
.badge-img { display: block; height: calc(var(--hb) * var(--e, 1)); width: auto; max-width: none; }
.badge-lien, .badge-lien:hover, .badge-img, .badge-lien:hover .badge-img { transform: none !important; filter: none !important; animation: none !important; transition: none !important; box-shadow: none !important; }
.badge-legende { margin: 4px 0 0; font: 600 16px/1.3 var(--corps); color: var(--or-clair); text-align: center; }
.hero-texte > .badges-store { transform: none; }
.badges-store.b-createur, .badges-store.b-pied { justify-content: flex-start; }
@media (min-width: 760px) { .badges-store.b-createur { align-items: flex-start; } }
.badges-store.b-pied { --hb: 44px; align-items: flex-start; margin-top: 6px; }
@media (max-width: 559px) { .badges-store.b-createur { align-items: center; } }
.sortie-texte { font: 600 16px/1.4 var(--corps); color: var(--or-clair); }
/* commandes du son (en bas à droite) : titre du morceau, morceau suivant, son coupé / actif */
.son-commandes { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.son-commandes.visible { opacity: 1; }
.son-commandes > * { pointer-events: auto; }
.son-commandes[hidden] { display: none; }
.son-commandes .bouton-son { position: static; opacity: 1; transform: none; flex: none; }
.son-titre { min-width: 0; max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 7px 12px; border-radius: 999px;
  background: rgba(2, 11, 50, 0.85); border: 1px solid rgba(246, 185, 26, 0.55); color: var(--or-clair); font: 600 13px/1.3 var(--corps); }
.son-titre[hidden], .bouton-suivant[hidden] { display: none; }
.bouton-suivant { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(2, 11, 50, 0.85); border: 1px solid rgba(246, 185, 26, 0.7); color: var(--or-clair); }
.bouton-suivant svg { width: 22px; height: 22px; }
@media (max-width: 420px) { .son-titre { max-width: calc(100vw - 32px - 52px - 44px - 16px); font-size: 12px; } }
/* la flèche ⌄ du haut de page ne passe jamais sous le bandeau du titre de la chanson (téléphone, tablette) */
.hero-suite { transition: opacity 0.3s; }
@media (max-width: 999px) { body.son-titre-visible .hero-suite { opacity: 0; visibility: hidden; pointer-events: none; } }

/* bas de page : les mentions obligatoires (IA, musiques, ©) en petit, discrètes mais lisibles (contraste ≈ 6:1 sur #01081f) */
.pied-bas { gap: 2px; font-size: 12px; line-height: 1.4; color: rgba(255, 251, 234, 0.56); }
.pied-bas p { margin: 0; }
@media (min-width: 900px) { .pied-bas { font-size: 12.75px; } }
/* en bas de la page, les mentions restent au-dessus des commandes du son (fixées en bas à droite) */
.pied { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
