/* DAHOMAN — Sous le masque · feuille de style du site de prélancement
   Identité des cartes : fond basalte, or, latérite, brique ; Baloo 2 (titres), Nunito (texte), Andika (ɔ, Ɔ et accent grave).
   Mobile d'abord. Aucune dépendance externe : les polices sont dans site/fonts/ ; sans elles, les polices système prennent le relais. */

/* Polices hébergées par le site (site/fonts/, licence SIL OFL : fichiers OFL-*.txt) : aucune requête vers un autre serveur.
   Baloo 2 (titres) et Nunito (texte) : jeux « latin » et « latin-ext », chargés seulement si la page en a besoin.
   Andika : seulement ɔ, Ɔ et l'accent grave combinant de Kútɔ̀nu (unicode-range), puisqu'elle est en tête des deux piles. */
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/baloo-2-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/baloo-2-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/baloo-2-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/baloo-2-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/baloo-2-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/baloo-2-800-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/nunito-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/nunito-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/nunito-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/nunito-800-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/nunito-600-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/nunito-600-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/nunito-700-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/nunito-700-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Andika"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/andika-400-latin-ext.woff2") format("woff2"); unicode-range: U+0186, U+0254, U+0300; }
@font-face { font-family: "Andika"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/andika-700-latin-ext.woff2") format("woff2"); unicode-range: U+0186, U+0254, U+0300; }


:root {
  color-scheme: dark;
  --fond: #120d0a;
  --fond-2: #1b140f;
  --fond-3: #261c15;
  --fond-4: #33261c;
  --bord: rgba(243, 212, 138, .26);
  --bord-fort: rgba(243, 212, 138, .62);
  --or: #f3d48a;
  --or-clair: #ffe6a8;
  --or-2: #d4a537;
  --or-ombre: #8a6420;
  --laterite: #b4462a;
  --laterite-clair: #ef6a3e;
  --brique: #8c3b2e;
  --indigo: #2b3a67;
  --creme: #fff8e6;
  --texte: #efe3cc;
  --texte-doux: #c4b496;
  --erreur: #ffb59e;
  --encre: #2a1c0c;
  --rayon: 20px;
  --ombre: 0 22px 44px -20px rgba(0, 0, 0, .85);
  --police-titre: "Andika", "Baloo 2", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --police-texte: "Andika", "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --motif: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'40'%20height%3D'40'%3E%3Crect%20width%3D'40'%20height%3D'40'%20fill%3D'%238C3B2E'%2F%3E%3Cpath%20d%3D'M20%204%20L36%2020%20L20%2036%20L4%2020Z'%20fill%3D'none'%20stroke%3D'rgba(255%2C240%2C200%2C.35)'%20stroke-width%3D'3'%2F%3E%3Cpath%20d%3D'M0%200%20L8%200%20L0%208Z%20M40%200%20L32%200%20L40%208Z%20M0%2040%20L8%2040%20L0%2032Z%20M40%2040%20L32%2040%20L40%2032Z'%20fill%3D'rgba(255%2C240%2C200%2C.35)'%2F%3E%3Ccircle%20cx%3D'20'%20cy%3D'20'%20r%3D'4'%20fill%3D'rgba(255%2C240%2C200%2C.35)'%2F%3E%3C%2Fsvg%3E");
  --gravure: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'56'%20height%3D'56'%3E%3Cpath%20d%3D'M28%206%20L50%2028%20L28%2050%20L6%2028Z%20M28%2016%20L40%2028%20L28%2040%20L16%2028Z'%20fill%3D'none'%20stroke%3D'%23f3d48a'%20stroke-width%3D'1.2'%2F%3E%3C%2Fsvg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 400 1.0625rem/1.65 var(--police-texte);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
p { margin: 0 0 1em; }
a { color: var(--or); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { color: var(--or-clair); }
:focus-visible { outline: 3px solid var(--creme); outline-offset: 3px; border-radius: 6px; }
strong, b { color: var(--creme); font-weight: 800; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--police-titre);
  color: var(--creme);
  line-height: 1.1;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1, h2 { font-weight: 800; }
h3 { font-weight: 700; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.lien-evitement {
  position: absolute; left: -9999px; top: 10px; z-index: 100;
  background: var(--or); color: var(--encre); padding: 10px 16px; border-radius: 12px; font-weight: 800;
}
.lien-evitement:focus { left: 16px; color: var(--encre); }

.conteneur { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 16px; }
.conteneur--etroit { max-width: 780px; }
@media (min-width: 700px) { .conteneur { padding-inline: 28px; } }

.section { padding-block: clamp(56px, 9vw, 104px); }
.section--alt { background: var(--fond-2); }
.frise { height: 14px; background: var(--motif) repeat-x center / 28px 28px; opacity: .95; }

.surtitre {
  font: 800 .8rem/1.3 var(--police-texte);
  letter-spacing: .16em; text-transform: uppercase; color: var(--or); margin: 0 0 .9rem;
}
.titre-section { font-size: clamp(2rem, 5.4vw, 3.1rem); }
.chapeau { font-size: clamp(1.06rem, 2.4vw, 1.22rem); max-width: 62ch; }
.centre { text-align: center; }
.centre .chapeau { margin-inline: auto; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: .7em 1.45em; border-radius: 999px;
  font: 800 1.06rem/1.15 var(--police-titre); letter-spacing: .01em; text-align: center;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn--or { background: var(--or); color: var(--encre); box-shadow: 0 4px 0 var(--or-ombre); }
.btn--or:hover { background: var(--or-clair); color: var(--encre); transform: translateY(-1px); }
.btn--or:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--or-ombre); }
.btn--contour { background: transparent; color: var(--or); border-color: var(--bord-fort); }
.btn--contour:hover { background: rgba(243, 212, 138, .1); color: var(--creme); }
.btn--petit { min-height: 42px; padding: .45em 1.05em; font-size: .97rem; box-shadow: 0 3px 0 var(--or-ombre); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.lien-fleche { font-weight: 800; color: var(--or); }
.lien-fleche::after { content: " →"; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; }

/* En-tête */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 13, 10, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bord);
}
.entete__in { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--creme); font: 800 1.3rem/1 var(--police-titre); letter-spacing: .07em;
}
.logo:hover { color: var(--or); }
.logo__masque { width: 42px; height: 27px; flex: none; }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; color: var(--texte); text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--creme); background: rgba(243, 212, 138, .1); }
.entete__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.langue {
  min-width: 46px; min-height: 42px; display: inline-grid; place-items: center;
  border: 1.5px solid var(--bord-fort); border-radius: 999px;
  color: var(--creme); font-weight: 800; text-decoration: none; letter-spacing: .06em;
}
.langue:hover { background: rgba(243, 212, 138, .1); color: var(--or); }
@media (min-width: 940px) {
  .nav { display: block; }
  .entete__actions { margin-left: 8px; }
}
@media (max-width: 359px) { .logo__mot { display: none; } }

/* Menu sur téléphone et tablette (sous 940 px) : bouton « Menu » (élément <details>, marche sans script) */
.menu-mobile { flex: none; }
.menu-mobile__bouton {
  list-style: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 46px; min-height: 42px; padding: 0 14px;
  border: 1.5px solid var(--bord-fort); border-radius: 999px;
  color: var(--creme); font: 800 .95rem/1 var(--police-texte); cursor: pointer; user-select: none;
}
.menu-mobile__bouton::-webkit-details-marker { display: none; }
.menu-mobile__bouton:hover, .menu-mobile[open] .menu-mobile__bouton { background: rgba(243, 212, 138, .12); color: var(--or); }
.menu-mobile__bouton:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
.menu-mobile__icone, .menu-mobile__icone::before, .menu-mobile__icone::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease;
}
.menu-mobile__icone { position: relative; }
.menu-mobile__icone::before, .menu-mobile__icone::after { content: ""; position: absolute; left: 0; }
.menu-mobile__icone::before { top: -6px; }
.menu-mobile__icone::after { top: 6px; }
.menu-mobile[open] .menu-mobile__icone { background: transparent; }
.menu-mobile[open] .menu-mobile__icone::before { transform: translateY(6px) rotate(45deg); }
.menu-mobile[open] .menu-mobile__icone::after { transform: translateY(-6px) rotate(-45deg); }
.menu-mobile__panneau {
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(18, 13, 10, .98); border-bottom: 1px solid var(--bord-fort);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .55);
  padding: 6px 20px 18px; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto;
}
.menu-mobile__panneau ul { list-style: none; margin: 0 auto; padding: 0; max-width: 560px; }
.menu-mobile__panneau a {
  display: block; padding: 15px 6px; border-bottom: 1px solid var(--bord);
  color: var(--creme); text-decoration: none; font: 800 1.2rem/1.2 var(--police-titre);
}
.menu-mobile__panneau li:last-child a { border-bottom: 0; color: var(--or); }
.menu-mobile__panneau a:hover, .menu-mobile__panneau a:focus-visible, .menu-mobile__panneau a[aria-current="page"] { color: var(--or); }
@media (max-width: 519px) { .entete__actions .btn--petit { display: none; } }
@media (max-width: 399px) {
  .menu-mobile__bouton { padding: 0; width: 46px; }
  .menu-mobile__texte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 940px) { .menu-mobile { display: none; } }

/* Accueil : haut de page */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(40px, 8vw, 92px) clamp(60px, 9vw, 108px);
  background:
    radial-gradient(55% 55% at 78% 42%, rgba(212, 165, 55, .2), transparent 70%),
    radial-gradient(50% 60% at 6% 100%, rgba(180, 70, 42, .24), transparent 70%),
    var(--fond);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--gravure) center / 56px 56px; opacity: .05;
}
.hero__grille { position: relative; display: grid; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 10vw, 5.4rem); margin-bottom: .35em; }
.h1-marque { display: block; color: var(--or); letter-spacing: .05em; text-shadow: 0 4px 0 #6b4a12, 0 0 30px rgba(243, 212, 138, .25); }
.h1-sous { display: block; font-size: .46em; font-weight: 700; color: var(--creme); letter-spacing: .01em; margin-top: .15em; }
.hero__lead { font-size: clamp(1.1rem, 2.7vw, 1.32rem); max-width: 34em; }
.slogan {
  font: italic 700 clamp(1.12rem, 2.7vw, 1.38rem)/1.4 var(--police-texte);
  color: var(--or); border-left: 4px solid var(--laterite); padding-left: 14px; margin: 1.2em 0 0;
}
.hero__visuel { position: relative; margin: 0; display: grid; place-items: center; padding-block: 8px 20px; }
.hero__visuel img { grid-area: 1 / 1; width: min(60vw, 300px); border-radius: 5.1% / 3.65%; box-shadow: var(--ombre), 0 0 0 1px var(--bord); }
.hero__carte--g { transform: translateX(-52%) rotate(-10deg) scale(.84); filter: brightness(.62) saturate(.85); }
.hero__carte--d { transform: translateX(52%) rotate(10deg) scale(.84); filter: brightness(.62) saturate(.85); }
.hero__carte--c { position: relative; z-index: 2; animation: flotte 6s ease-in-out infinite; box-shadow: var(--ombre), 0 0 60px -10px rgba(243, 212, 138, .55) !important; }
@keyframes flotte { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@media (min-width: 900px) {
  .hero__grille { grid-template-columns: 1.05fr .95fr; }
  .hero__visuel img { width: min(26vw, 310px); }
}

/* Chiffres et calendrier */
.chiffres {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  list-style: none; margin: 0 0 28px; padding: 0;
}
.chiffres li {
  background: var(--fond-3); border: 1px solid var(--bord); border-radius: 18px;
  padding: 18px 12px; text-align: center; font-weight: 800; color: var(--texte-doux);
}
.chiffres b { display: block; font: 800 clamp(2.1rem, 6vw, 3rem)/1 var(--police-titre); color: var(--or); margin-bottom: 4px; }
.chiffres li:last-child:nth-child(odd) { grid-column: 1 / -1; } /* 5 cases sur téléphone : la dernière prend toute la ligne */
@media (min-width: 700px) { .chiffres { grid-template-columns: repeat(5, 1fr); } .chiffres li:last-child:nth-child(odd) { grid-column: auto; } }
.calendrier { max-width: 70ch; margin: 0 auto; text-align: center; font-size: 1.06rem; }
.calendrier .mot-diese { color: var(--or); font-weight: 800; }

/* Pitch */
.pitch__texte { max-width: 66ch; }
.pitch__texte p { font-size: clamp(1.05rem, 2.3vw, 1.15rem); }
.piliers { display: grid; gap: 16px; list-style: none; margin: 36px 0 0; padding: 0; }
.pilier {
  background: linear-gradient(180deg, rgba(243, 212, 138, .09), rgba(243, 212, 138, .02));
  border: 1.5px solid var(--bord); border-radius: var(--rayon); padding: 22px 22px 18px;
}
.pilier svg { width: 46px; height: 46px; color: var(--or); }
.pilier h3 { font-size: 1.45rem; margin: 12px 0 6px; }
.pilier p { margin: 0; }
@media (min-width: 780px) { .piliers { grid-template-columns: repeat(3, 1fr); } }

/* Les 5 Phares */
.phares {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; gap: 44px 28px; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .phares { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .phares { grid-template-columns: repeat(3, 1fr); } }
.phare { display: flex; flex-direction: column; }
.phare__carte {
  position: relative; width: 100%; max-width: 320px; margin-inline: auto;
  aspect-ratio: 800 / 1120; border-radius: 5.1% / 3.65%; overflow: hidden; isolation: isolate;
  box-shadow: var(--ombre), 0 0 0 1px var(--bord); background: var(--fond-2);
}
.phare__face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phare__face--m {
  z-index: 2; transform-origin: 50% 0;
  transition: transform .8s cubic-bezier(.55, -0.3, .7, 1), opacity .45s ease .32s;
}
.phare__face--e {
  z-index: 1; transform: scale(1.07); filter: brightness(.45) saturate(.6);
  transition: transform 1s cubic-bezier(.2, .8, .2, 1) .2s, filter .7s ease .2s;
}
.phare__carte::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at 50% 30%, rgba(255, 236, 170, .55), transparent 60%);
  opacity: 0;
}
.phare.est-eveille .phare__face--m { transform: translateY(32%) rotate(-7deg) scale(.92); opacity: 0; }
.phare.est-eveille .phare__face--e { transform: none; filter: none; }
.phare.est-eveille .phare__carte::after { animation: eclat .9s ease-out .25s; }
@keyframes eclat { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
html:not(.js) .phare:not(.phare--scelle) .phare__carte:hover .phare__face--m { transform: translateY(32%) rotate(-7deg) scale(.92); opacity: 0; }
html:not(.js) .phare:not(.phare--scelle) .phare__carte:hover .phare__face--e { transform: none; filter: none; }
.phare__bouton {
  position: absolute; inset: 0; z-index: 4; width: 100%; padding: 0 0 4.5%;
  display: flex; align-items: flex-end; justify-content: center;
  background: transparent; border: 0; border-radius: inherit; cursor: pointer; color: inherit; font: inherit;
}
.phare__bouton:focus-visible { outline: 3px solid var(--creme); outline-offset: -6px; }
.phare__indice {
  display: inline-flex; align-items: center; gap: 6px;
  font: 800 .8rem/1 var(--police-texte); letter-spacing: .03em;
  background: rgba(18, 13, 10, .86); color: var(--or); border: 1px solid var(--bord-fort);
  padding: 8px 13px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0, 0, 0, .5);
  transition: background-color .2s, color .2s;
}
.phare__indice svg { width: 14px; height: 14px; }
.phare__bouton:hover .phare__indice, .phare__bouton:focus-visible .phare__indice { background: var(--or); color: var(--encre); }
.phare--scelle.refuse .phare__face--m { animation: secousse .6s ease; }
@keyframes secousse {
  0%, 100% { transform: none; }
  20% { transform: rotate(-2.5deg) translateX(-6px); }
  40% { transform: rotate(2deg) translateX(5px); }
  60% { transform: rotate(-1.5deg) translateX(-3px); }
  80% { transform: rotate(1deg) translateX(2px); }
}
.phare__bulle {
  position: absolute; left: 7%; right: 7%; top: 36%; z-index: 5; margin: 0;
  background: var(--creme); color: var(--encre); border-radius: 16px; padding: 12px 14px;
  font: 800 .95rem/1.35 var(--police-texte); text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(10px) scale(.96); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.phare__bulle:empty { padding: 0; }
.phare--scelle.montre-bulle .phare__bulle { opacity: 1; transform: none; }
.phare__texte { padding: 18px 4px 0; max-width: 420px; margin-inline: auto; width: 100%; }
.phare__nom { font-size: 1.65rem; margin: 0 0 6px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.phare__num { font: 700 .8rem/1 var(--police-texte); letter-spacing: .08em; color: var(--texte-doux); }
.phare__fiche { font-size: .9rem; font-weight: 800; color: var(--or); margin-bottom: 10px; }
.phare__desc { margin-bottom: 12px; }
.phare__accroche { font-style: italic; font-weight: 700; color: var(--creme); border-left: 3px solid var(--laterite); padding-left: 12px; margin: 0; }
.phares__suite { text-align: center; margin-top: 48px; }

/* Ma région a son Dahoman */
.regions__grille { display: grid; gap: 28px; margin-top: 36px; }
@media (min-width: 980px) {
  .regions__grille { grid-template-columns: minmax(340px, 440px) 1fr; align-items: start; }
  .carte-xwe { position: sticky; top: 84px; }
}
.carte-xwe {
  margin: 0; padding: 10px;
  background: radial-gradient(circle at 50% 40%, #241a13, #120d0a 75%);
  border: 1.5px solid var(--bord); border-radius: 24px;
}
.carte-xwe__svg { display: block; width: 100%; height: auto; max-width: 440px; margin-inline: auto; }
.carte-xwe__region { stroke: #120d0a; stroke-width: 2.5; stroke-linejoin: round; cursor: pointer; transition: filter .2s ease; }
.carte-xwe__region:hover { filter: brightness(1.3); }
.carte-xwe__region.est-choisie { stroke: var(--or); stroke-width: 3.5; filter: brightness(1.45); }
.carte-xwe__nom {
  fill: var(--creme); font-family: var(--police-titre); font-weight: 800; pointer-events: none;
  paint-order: stroke; stroke: rgba(18, 13, 10, .75); stroke-width: 3px; stroke-linejoin: round;
}
.carte-xwe__voisins text { fill: #a99a80; font: italic 600 11px var(--police-texte); }
.carte-xwe__voisins .carte-xwe__mer { fill: #9cc3dc; font-size: 13px; letter-spacing: .12em; }
.carte-xwe__route { stroke: var(--laterite-clair); stroke-width: 2.4; stroke-dasharray: 1 6; stroke-linecap: round; pointer-events: none; }
.carte-xwe__point { cursor: pointer; }
.carte-xwe__point circle { stroke: #120d0a; stroke-width: 2; transition: stroke .15s, stroke-width .15s; }
.carte-xwe__point:hover circle, .carte-xwe__point.est-surligne circle { stroke: var(--creme); stroke-width: 3; }
.carte-xwe__borne text { fill: var(--or); font: 800 11px var(--police-texte); paint-order: stroke; stroke: #16263a; stroke-width: 3px; }
.carte-xwe__rose text { fill: var(--or); font: 800 11px var(--police-texte); }
.legende { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: .97rem; }
.legende li { display: flex; gap: 10px; align-items: baseline; }
.pastille { flex: none; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #120d0a; box-shadow: 0 0 0 1.5px var(--bord-fort); transform: translateY(1px); }
.pastille--1 { background: #2fc2ba; } .pastille--2 { background: #f2c230; } .pastille--3 { background: #ef6a3e; }
.pastille--route { width: 22px; height: 0; border-radius: 0; border: 0; border-top: 3px dotted var(--laterite-clair); box-shadow: none; transform: translateY(-3px); }
.note-carte { font-size: .88rem; color: var(--texte-doux); margin-top: 12px; }
.regions__puces { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; }
.puce-region {
  min-height: 42px; padding: 6px 15px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--bord-fort); background: transparent; color: var(--texte);
  font: 700 .97rem/1 var(--police-texte);
}
.puce-region:hover { background: rgba(243, 212, 138, .1); color: var(--creme); }
.puce-region[aria-pressed="true"] { background: var(--or); color: var(--encre); border-color: var(--or); }
.region-fiche {
  background: var(--fond-3); border: 1.5px solid var(--bord); border-radius: 22px;
  padding: clamp(18px, 3vw, 30px); margin-bottom: 16px; scroll-margin-top: 90px;
}
.region-fiche h3 { font-size: clamp(1.75rem, 3.8vw, 2.25rem); margin-bottom: 10px; }
.region-fiche h3 span { display: block; margin-top: 4px; font-size: .6em; color: var(--or); font-weight: 700; }
.region-fiche__infos { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 14px 0 22px; }
.region-fiche__infos dt { font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--texte-doux); }
.region-fiche__infos dd { margin: 0; font-weight: 700; color: var(--creme); }
.region-fiche__sous { font: 800 .78rem/1.3 var(--police-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--or); margin: 0 0 10px; }
.region-fiche__dahoman { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.region-fiche__dahoman li {
  display: flex; gap: 14px; align-items: center; padding: 8px 10px 8px 8px; border-radius: 14px;
  background: rgba(255, 255, 255, .03); border: 1.5px solid transparent; transition: border-color .2s, background-color .2s;
}
.region-fiche__dahoman li.est-surligne { border-color: var(--or); background: rgba(243, 212, 138, .09); }
.region-fiche__dahoman img { flex: none; width: 60px; aspect-ratio: 600 / 840; border-radius: 4px; }
.region-fiche__dahoman div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.region-fiche__dahoman b { font: 800 1.2rem/1.15 var(--police-titre); }
.region-fiche__dahoman span { font-size: .92rem; color: var(--texte-doux); }
.region-fiche__dahoman .region-fiche__num { font-size: .8rem; letter-spacing: .03em; }
.regions__appel { margin-top: 28px; max-width: 70ch; }

/* Liste d'attente */
.liste {
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(212, 165, 55, .16), transparent 70%),
    var(--fond);
}
.cadre-motif { max-width: 680px; margin: 36px auto 0; padding: 10px; border-radius: 32px; background: var(--motif) center / 28px 28px; box-shadow: var(--ombre); }
.formulaire-carte {
  background: linear-gradient(180deg, var(--fond-2), #150f0b);
  border-radius: 23px; padding: clamp(20px, 4.5vw, 40px);
  box-shadow: inset 0 0 0 2px rgba(243, 212, 138, .55);
}
.champ { display: grid; gap: 7px; margin-bottom: 18px; }
.champ label, .champ .etiquette { font-weight: 800; color: var(--creme); }
.facultatif, .obligatoire { font-weight: 600; color: var(--texte-doux); font-size: .9em; }
.champ input, .champ select {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 14px;
  border: 2px solid #6a5642; background: var(--fond); color: var(--creme);
  font: 600 1.02rem/1.2 var(--police-texte);
}
.champ select { appearance: none; -webkit-appearance: none; padding-right: 42px;
  background: var(--fond) url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2016%2016'%3E%3Cpath%20d%3D'M3%206l5%205%205-5'%20fill%3D'none'%20stroke%3D'%23f3d48a'%20stroke-width%3D'2.2'%20stroke-linecap%3D'round'%2F%3E%3C%2Fsvg%3E") no-repeat right 14px center / 16px; }
.champ input::placeholder { color: #8f7f66; }
.champ input:focus-visible, .champ select:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; border-color: var(--or); }
.case { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; margin-bottom: 14px; }
.case input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--or); cursor: pointer; }
.case label { font-weight: 600; color: var(--texte); cursor: pointer; }
.case .erreur { grid-column: 2; }
[aria-invalid="true"] { border-color: var(--erreur) !important; }
.case input[aria-invalid="true"] { outline: 2px solid var(--erreur); outline-offset: 2px; }
.erreur { color: var(--erreur); font-weight: 700; font-size: .93rem; margin: 2px 0 0; }
.erreur:empty { display: none; }
.formulaire-carte .btn { width: 100%; margin-top: 6px; }
.petite-ligne { font-size: .86rem; color: var(--texte-doux); margin: 16px 0 0; }
.erreur-envoi { margin-top: 14px; }
.confirmation { text-align: center; padding: 10px 0; }
.confirmation__masque { width: 92px; margin: 0 auto 14px; }
.confirmation h3 { font-size: clamp(1.6rem, 4vw, 2rem); color: var(--or); }
.mode-test {
  margin-top: 14px; padding: 10px 14px; border-radius: 12px; font-size: .9rem; font-weight: 700;
  color: var(--or); border: 1.5px dashed var(--bord-fort); background: rgba(243, 212, 138, .06);
}

/* FAQ */
.faq { max-width: 820px; margin: 28px auto 0; }
.faq details { border-bottom: 1px solid var(--bord); }
.faq details:first-child { border-top: 1px solid var(--bord); }
.faq summary {
  position: relative; cursor: pointer; list-style: none; padding: 20px 46px 20px 2px;
  font: 800 clamp(1.08rem, 2.5vw, 1.22rem)/1.3 var(--police-titre); color: var(--creme);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid var(--bord-fort); color: var(--or); font: 800 1.2rem/1 var(--police-texte);
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--or); }
.faq details p { margin: 0 0 20px; max-width: 68ch; }

/* Pied de page */
.pied { background: #0b0806; border-top: 1px solid var(--bord); padding-block: 40px 56px; font-size: .93rem; color: var(--texte-doux); }
.pied__marque { display: flex; align-items: center; gap: 12px; color: var(--creme); font-weight: 700; margin-bottom: 12px; }
.pied__marque svg { width: 44px; height: 28px; flex: none; }
.pied__marque p { margin: 0; }
.pied__liens { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 16px 0; }
.pied__liens a { color: var(--texte); font-weight: 700; }
.pied__liens a:hover { color: var(--or); }
.pied__note { margin: 0; }
.a-completer {
  color: var(--or); background: rgba(243, 212, 138, .12);
  outline: 1px dashed rgba(243, 212, 138, .65); outline-offset: 1px; border-radius: 4px; padding: 0 4px;
}

/* Quiz */
.quiz { padding-block: clamp(36px, 7vw, 72px) clamp(56px, 8vw, 96px); min-height: 72vh;
  background: radial-gradient(60% 50% at 50% 0%, rgba(212, 165, 55, .14), transparent 70%), var(--fond); }
.ecran { max-width: 760px; margin-inline: auto; }
.ecran--large { max-width: 1040px; }
.quiz-accueil { text-align: center; }
.quiz-accueil__cartes { display: grid; place-items: center; margin: 4px auto 28px; height: 220px; }
.quiz-accueil__cartes img { grid-area: 1 / 1; width: 140px; border-radius: 5.1% / 3.65%; box-shadow: var(--ombre); }
.quiz-accueil__cartes img:nth-child(1) { transform: translateX(-62%) rotate(-12deg) scale(.88); filter: brightness(.65); }
.quiz-accueil__cartes img:nth-child(3) { transform: translateX(62%) rotate(12deg) scale(.88); filter: brightness(.65); }
.quiz-accueil__cartes img:nth-child(2) { position: relative; z-index: 2; }
.quiz-accueil h1 { font-size: clamp(2.5rem, 9vw, 4.2rem); color: var(--or); }
.quiz-accueil .chapeau { margin-inline: auto; }
.quiz-accueil .petite-ligne { font-size: .95rem; margin-bottom: 26px; }
.progression { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 800; color: var(--texte-doux); font-size: .92rem; }
.barre { height: 8px; background: var(--fond-3); border-radius: 99px; overflow: hidden; margin: 10px 0 28px; }
.barre span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--laterite), var(--or)); border-radius: inherit; transition: width .35s ease; }
.question-titre { font-size: clamp(1.45rem, 4.4vw, 2rem); line-height: 1.25; margin-bottom: 22px; outline: none; }
.reponses { display: grid; gap: 12px; border: 0; margin: 0; padding: 0; min-width: 0; }
.reponse { position: relative; }
.reponse input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.reponse label {
  display: flex; gap: 14px; align-items: flex-start; padding: 15px 16px; min-height: 58px;
  border: 2px solid #4d3c2d; border-radius: 18px; background: var(--fond-2);
  cursor: pointer; font-weight: 600; color: var(--texte); line-height: 1.45;
  transition: border-color .15s, background-color .15s;
}
.reponse label:hover { border-color: var(--bord-fort); }
.reponse__lettre {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; margin-top: -2px;
  font: 800 1rem/1 var(--police-titre); background: var(--fond-3); color: var(--or); border: 1.5px solid var(--bord-fort);
}
.reponse input:checked + label { border-color: var(--or); background: rgba(243, 212, 138, .1); color: var(--creme); }
.reponse input:checked + label .reponse__lettre { background: var(--or); color: var(--encre); border-color: var(--or); }
.reponse input:focus-visible + label { outline: 3px solid var(--creme); outline-offset: 3px; }
.navigation-quiz { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.calcul { text-align: center; padding: 56px 0 40px; }
.calcul svg { width: 130px; height: 82px; margin: 0 auto 22px; display: block; animation: respire 1.3s ease-in-out infinite; }
.calcul p { font: 800 clamp(1.2rem, 3.6vw, 1.5rem)/1.4 var(--police-titre); color: var(--creme); }
@keyframes respire { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(243, 212, 138, 0)); } 50% { transform: scale(1.08); filter: drop-shadow(0 0 18px rgba(243, 212, 138, .55)); } }
.resultat { display: grid; gap: 30px; }
@media (min-width: 780px) { .resultat { grid-template-columns: minmax(250px, 330px) 1fr; align-items: start; } }
.resultat__carte { margin: 0; }
.resultat__carte img {
  width: 100%; max-width: 330px; margin-inline: auto; border-radius: 5.1% / 3.65%;
  box-shadow: var(--ombre), 0 0 0 3px var(--type, var(--or)), 0 0 60px -14px var(--type, var(--or));
  animation: apparition .8s cubic-bezier(.2, .8, .2, 1);
}
@keyframes apparition { from { opacity: 0; transform: translateY(18px) rotate(-3deg) scale(.95); } to { opacity: 1; transform: none; } }
.resultat__titre { font-size: clamp(2.2rem, 7vw, 3.3rem); color: var(--or); outline: none; }
.fiche-ligne { font-weight: 700; color: var(--texte-doux); font-size: .97rem; }
.lignes-cle { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.lignes-cle li { background: var(--fond-2); border-left: 4px solid var(--or); padding: 11px 15px; border-radius: 0 14px 14px 0; }
.ligne-commune { font-style: italic; font-weight: 700; color: var(--or); }
.partage-autres { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .95rem; margin-top: 16px; }
.partage-autres span { color: var(--texte-doux); }
.partage-autres a, .bouton-lien { font-weight: 800; color: var(--or); background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.etat-partage { min-height: 1.6em; color: var(--or); font-weight: 800; margin-top: 10px; }
.invitation { margin-top: 48px; }
.invitation__texte { text-align: center; max-width: 60ch; margin: 0 auto; }
.invitation .cadre-motif { margin-top: 24px; }
.plus-jeunes { text-align: center; color: var(--texte-doux); margin-top: 22px; }
.quiz-mention { text-align: center; font-size: .88rem; color: var(--texte-doux); margin: 48px auto 0; max-width: 60ch; }

/* Page de partage d'un résultat */
.partage-page__grille { display: grid; gap: 30px; align-items: center; }
@media (min-width: 780px) { .partage-page__grille { grid-template-columns: minmax(250px, 360px) 1fr; } }
.partage-page__carte { margin: 0; }
.partage-page__carte img { width: 100%; max-width: 360px; margin-inline: auto; border-radius: 5.1% / 3.65%; box-shadow: var(--ombre), 0 0 0 3px var(--type, var(--or)); }
.partage-page h1 { font-size: clamp(2.5rem, 8vw, 3.8rem); color: var(--or); }
.citation { font: italic 700 clamp(1.15rem, 3vw, 1.4rem)/1.45 var(--police-texte); color: var(--creme); border-left: 4px solid var(--laterite); margin: 20px 0; padding-left: 16px; }
.citation p { margin: 0; }

/* Pages légales et 404 */
.texte-legal { max-width: 780px; }
.texte-legal h1 { font-size: clamp(2.1rem, 6vw, 3rem); color: var(--or); }
.texte-legal h2 { font-size: clamp(1.35rem, 3.4vw, 1.65rem); margin-top: 2em; }
.texte-legal ul { padding-left: 1.2em; }
.texte-legal li { margin-bottom: .5em; }
.texte-legal .note { font-size: .92rem; color: var(--texte-doux); border-left: 3px solid var(--bord-fort); padding-left: 12px; }
.page-404 { text-align: center; }
.page-404 svg { width: 140px; height: 88px; margin: 0 auto 18px; display: block; }

/* Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .phare__face--m, .phare__face--e { transition: opacity .25s ease !important; transform: none !important; }
  .phare.est-eveille .phare__face--m { transform: none !important; }
}
.surtitre--diese { text-transform: none; letter-spacing: .06em; font-size: .95rem; }

/* Bouton « Voir les 144 Dahoman » (23/10/2026) */
.phares__galerie { border: 1px solid var(--bord-fort); color: var(--or); background: transparent; margin: 10px 0 0 10px; }
.phares__galerie:hover { background: var(--fond-3); color: var(--or-clair); }

/* Application DAHOMAN (24/10/2026) */
/* Installée sur l'écran d'accueil : l'en-tête passe sous la barre d'état de l'iPhone (encoche). */
@media (display-mode: standalone) {
  .entete { padding-top: env(safe-area-inset-top, 0px); }
}
/* Mode appli (adresse avec app=1, classe posée par js/site.js) : l'application a ses propres onglets,
   donc ni en-tête ni pied de page ; on garde juste un petit espace sous la barre d'état. */
html.appli { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 16px); }
html.appli body { padding-top: calc(env(safe-area-inset-top, 0px) + 10px); padding-bottom: env(safe-area-inset-bottom, 0px); }
html.appli .lien-evitement,
html.appli .entete,
html.appli .pied { display: none !important; }
/* Pas d'adresse e-mail demandée dans l'application (enfants et familles) : la liste d'attente et ses liens disparaissent. */
html.appli #liste,
html.appli .plus-jeunes,
html.appli .quiz-parents,
html.appli a[href*="#liste"] { display: none !important; }
/* Carnet : « Ajouter à l'écran d'accueil » n'a pas de sens dans l'application. */
html.appli .carnet__bloc[aria-labelledby="car-ecran-h"] { display: none !important; }
/* Application pour enfants (règles Familles de Google Play, catégorie Enfants d'Apple) : aussi masqués ici, et pas seulement
   par le script injecté par l'application (qui peut arriver tard sur Android) : rappels de la liste d'attente dans les jeux
   (16 ans et plus), offre à venir « Pack du Gardien », liens directs vers les réseaux, installation de l'appli web, scanner caméra. */
html.appli .j-attente,
html.appli .mj-liste,
html.appli .mm-liste,
html.appli .mm-fin__liste,
html.appli .jj-liste,
html.appli [data-emplacement="pack-premium"],
html.appli .partage-autres,
html.appli .j-installer,
html.appli section[aria-labelledby="car-ecran-h"],
html.appli #car-installer,
html.appli #car-scan,
html.appli #car-scan-aide-cam,
html.appli #car-scan-zone { display: none !important; }
/* Navigateur sans :has() : seule cette règle est ignorée. */
html.appli p:has(> a[href*="#liste"]) { display: none !important; }
/* Appli web déjà installée (écran d'accueil) : les blocs « Installer l'application » ne servent plus. */
@media (display-mode: standalone) {
  .j-installer,
  section[aria-labelledby="car-ecran-h"],
  .carnet__bloc[aria-labelledby="car-ecran-h"],
  #car-installer { display: none !important; }
}

/* Accueil, « Joue avec les Dahoman » (24/10/2026) : les 6 jeux gratuits, juste sous le haut de page.
   Chaque tuile montre l'illustration seule (img/jeux/illu/, sans le cadre ni les textes de la carte). */
.jeux-accueil { background: radial-gradient(70% 45% at 50% 0%, rgba(212, 165, 55, .14), transparent 70%), var(--fond); }
.ja-grille { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .ja-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .ja-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.ja-tuile {
  display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center; height: 100%;
  padding: 12px 16px 12px 12px; border-radius: 18px; border: 1.5px solid var(--bord); background: var(--fond-3);
  color: var(--texte); text-decoration: none; transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.ja-tuile:hover { border-color: var(--bord-fort); background: var(--fond-4); color: var(--texte); transform: translateY(-2px); }
.ja-img { width: 84px; height: auto; aspect-ratio: 360 / 504; object-fit: cover; border-radius: 12px; box-shadow: 0 0 0 1px var(--bord); background: var(--fond-2); }
.ja-texte { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ja-nom { font: 800 1.2rem/1.15 var(--police-titre); color: var(--creme); }
.ja-phrase { font-size: .95rem; line-height: 1.4; color: var(--texte-doux); }
.ja-actions { justify-content: center; margin-top: 28px; }
@media (prefers-reduced-motion: reduce) { .ja-tuile:hover { transform: none; } }

/* Quiz : sous le résultat, les jeux et le Carnet ; lien discret vers le Coin des parents */
.invitation__actions { justify-content: center; }
.quiz-parents { text-align: center; margin: 14px 0 0; font-size: .9rem; }
.quiz-parents a { display: inline-flex; align-items: center; min-height: 44px; color: var(--texte-doux); font-weight: 700; }
.quiz-parents a:hover { color: var(--or); }
