/* Micilo, landing page V7 : pensée pour le téléphone (375 à 430 px), colonne centrée sur grand écran.
   Identité : celle de l'onboarding de l'app (clair seulement). */

:root {
  --fond: #ECEFF5;
  --surface: #FFFFFF;
  --ligne: #E1E5EE;
  --texte: #0F1630;
  --texte-doux: #4D5670;
  --texte-discret: #646C85;
  --accent: #2A3F9E;
  --vif: #4361E8;
  --corail: #FF9466;
  --corail-fonce: #E9713F;
  --erreur: #B3261E;

  --rayon-carte: 22px;
  --ombre-carte: 0 1px 2px rgba(15, 22, 48, .05), 0 12px 32px -12px rgba(15, 22, 48, .16);
  --police: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --gouttiere: 20px;
  --colonne: 480px;
  --barre: 92px;          /* la place de la barre collante flottante, en bas du pied de page */
  --ressort: cubic-bezier(.34, 1.4, .64, 1);
  --doux: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police);
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.feuille-ouverte { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--vif); outline-offset: 3px; border-radius: 8px; }

.cache {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.evitement {
  position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px;
  background: var(--texte); color: #fff; border-radius: 999px; text-decoration: none;
}
.evitement:focus { top: 12px; }
.nowrap { white-space: nowrap; }

/* ---------- Le fond « fluide » de l'app (OnbFond) ---------- */
.fond { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #ECEFF5; }
.fond__nappe {
  position: absolute; left: 50%; top: 50%;
  width: 124vmax; height: 124vmax; margin: -62vmax 0 0 -62vmax;
  background:
    radial-gradient(36% 36% at 0% 0%, #DCE2F8, transparent),
    radial-gradient(34% 34% at 33% 0%, #C8D1EC, transparent),
    radial-gradient(34% 34% at 67% 0%, #F5E6D3, transparent),
    radial-gradient(36% 36% at 100% 0%, #F2D6CD, transparent),
    radial-gradient(34% 34% at 0% 33%, #C8D1EC, transparent),
    radial-gradient(30% 30% at 64% 38%, #DCE2F8, transparent),
    radial-gradient(34% 34% at 100% 33%, #F5E6D3, transparent),
    radial-gradient(34% 34% at 0% 67%, #F5E6D3, transparent),
    radial-gradient(30% 30% at 36% 62%, #F2D6CD, transparent),
    radial-gradient(34% 34% at 100% 67%, #C8D1EC, transparent),
    radial-gradient(36% 36% at 0% 100%, #F2D6CD, transparent),
    radial-gradient(34% 34% at 33% 100%, #F5E6D3, transparent),
    radial-gradient(34% 34% at 67% 100%, #C8D1EC, transparent),
    radial-gradient(36% 36% at 100% 100%, #DCE2F8, transparent),
    #ECEFF5;
  animation: tourne 240s linear infinite;
  will-change: transform;
}
@keyframes tourne { to { transform: rotate(1turn); } }

/* ---------- La colonne ---------- */
main { max-width: var(--colonne); margin: 0 auto; container-type: inline-size; }
main > section { padding: 0 var(--gouttiere); }
.bloc { padding-top: 76px; }

/* ---------- Typo ---------- */
.titre-l { font-size: clamp(30px, 8.6cqi, 40px); line-height: 1.04; font-weight: 800; letter-spacing: -.032em; text-wrap: balance; }

.auteur {
  display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 0;
  font-size: clamp(11px, 3.3cqi, 13.5px); white-space: nowrap; font-weight: 600; letter-spacing: -.01em; color: var(--texte-doux); line-height: 1.25; text-align: center;
}
.auteur img { width: 22px; height: 22px; flex: none; }

/* ---------- Formulaire ---------- */
.inscription { margin-top: 16px; display: grid; gap: 10px; }
.inscription__champ {
  width: 100%; height: 54px; padding: 0 20px; border-radius: 999px;
  border: 1.5px solid rgba(15, 22, 48, .1); background: #fff; font-size: 17px; color: var(--texte);
  box-shadow: 0 1px 2px rgba(15, 22, 48, .04);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.inscription__champ::placeholder { color: #8D93A6; }
.inscription__champ:focus { outline: none; border-color: var(--vif); box-shadow: 0 0 0 4px rgba(67, 97, 232, .16); }
.inscription__champ[aria-invalid="true"] { border-color: var(--erreur); }
.bouton {
  position: relative; width: 100%; height: 56px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--texte); color: #fff; font-size: 17px; font-weight: 600; letter-spacing: -.01em;
  box-shadow: 0 10px 24px -10px rgba(15, 22, 48, .55);
  transition: transform .2s var(--doux), background .2s;
}
.bouton:hover { background: #1B2448; }
.bouton:active { transform: scale(.97); }
.bouton[aria-busy="true"] { cursor: progress; }
.bouton[aria-busy="true"] span { opacity: 0; }
.bouton[aria-busy="true"]::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .3); border-top-color: #fff;
  animation: roue .8s linear infinite;
}
@keyframes roue { to { transform: rotate(1turn); } }
.inscription__autre {
  justify-self: center; min-height: 44px; margin-top: -6px; padding: 0 14px; border: 0; background: none;
  font-size: 15.5px; font-weight: 600; color: var(--accent);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(42, 63, 158, .35);
}
.inscription__autre[aria-busy="true"] { opacity: .5; cursor: progress; }
.inscription__note { margin-top: -10px; font-size: 13.5px; color: var(--texte-discret); text-align: center; }
.inscription__message { font-size: 15px; font-weight: 600; color: var(--erreur); margin: -2px 10px 0; }
.inscription__message:empty { display: none; }
.inscription__succes {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--rayon-carte);
  background: rgba(255, 255, 255, .82); border: 1px solid #fff; box-shadow: var(--ombre-carte); outline: none;
}
.inscription__succes[hidden] { display: none; }
.inscription__succes img { flex: none; animation: saut .7s var(--ressort) both; }
.inscription__succes p { font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.inscription.est-fait > :not(.inscription__succes) { display: none; }
@keyframes saut { from { transform: translateY(14px) scale(.7); opacity: 0; } }

/* Titre d'une section : centré, très gras, serré. */
.titre-section {
  font-size: clamp(31px, 9.2cqi, 42px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em;
  text-align: center; text-wrap: balance;
}

/* ---------- 2. Ce que ça résout ---------- */
.explique { padding-top: 56px; overflow-x: clip; }
.explique__dessin { position: relative; width: min(212px, 56cqi); margin: 0 auto; }
/* Une lumière douce derrière Mici, sans bord : il est posé sur la page, pas dans une case. */
.explique__dessin::before {
  content: ""; position: absolute; left: 50%; top: 52%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(220, 226, 248, .55) 50%, rgba(220, 226, 248, 0));
}
.explique__dessin img { position: relative; width: 100%; height: auto; }
.explique__texte {
  margin-top: 18px; font-size: clamp(25px, 7.3cqi, 32px); line-height: 1.16; font-weight: 800; letter-spacing: -.032em;
  text-wrap: pretty;
}
.explique__probleme { color: #757C94; }
.explique__reponse { display: block; margin-top: .6em; color: var(--texte); }
.explique__reponse em {
  font-style: normal; color: var(--accent);
  background: linear-gradient(transparent 64%, rgba(255, 148, 102, .34) 64%, rgba(255, 148, 102, .34) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- 3. Ce qu'il y a dans Micilo ---------- */
.inclus { padding-top: 88px; overflow-x: clip; }
.inclus__tel { --w: min(236px, 62cqi); position: relative; width: var(--w); margin: 30px auto 0; }
.inclus__tel::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 190%; height: 92%; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(132, 156, 255, .30), rgba(200, 209, 236, .25) 55%, rgba(200, 209, 236, 0));
}
.inclus__tel .tel { box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .2),
    inset 0 0 0 calc(var(--w) * .014) #0A0D18,
    0 40px 60px -30px rgba(22, 36, 94, .55),
    0 16px 26px -16px rgba(15, 22, 48, .45); }
.inclus__tel .tel__ecran img {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .55s var(--doux);
}
.inclus__tel .tel__ecran img.est-la { opacity: 1; }

.inclus__points { display: flex; justify-content: center; gap: 2px; margin-top: 14px; }
.inclus__points button {
  display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; background: none;
}
.inclus__points button::before {
  content: ""; width: 8px; height: 8px; border-radius: 4px; background: rgba(15, 22, 48, .18);
  transition: width .35s var(--doux), background-color .35s var(--doux);
}
.inclus__points button.est-actif::before { width: 22px; background: var(--texte); }

.inclus__cartes { display: grid; gap: 10px; margin-top: 14px; }
.inclus__carte {
  position: relative; overflow: hidden; display: block; width: 100%; text-align: left;
  padding: 16px 18px 17px; border-radius: 22px;
  background: rgba(255, 255, 255, .5); border: 1.5px solid rgba(255, 255, 255, .8);
  transition: background-color .3s var(--doux), border-color .3s var(--doux), box-shadow .3s var(--doux), transform .2s var(--doux);
}
.inclus__carte:active { transform: scale(.985); }
.inclus__carte[aria-selected="true"] {
  background: #fff; border-color: var(--texte);
  box-shadow: 0 1px 2px rgba(15, 22, 48, .05), 0 14px 30px -18px rgba(15, 22, 48, .35);
}
.inclus__titre { display: block; font-size: 17px; line-height: 1.25; font-weight: 700; letter-spacing: -.018em; color: var(--texte-doux); transition: color .3s; }
.inclus__carte[aria-selected="true"] .inclus__titre { color: var(--texte); }
.inclus__phrase { display: block; margin-top: 5px; font-size: 15px; line-height: 1.42; color: var(--texte-doux); text-wrap: pretty; }
/* Le temps qui passe avant l'écran suivant, sur le bord bas de la carte active (seulement en lecture automatique). */
.inclus__temps {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--corail);
  transform: scaleX(0); transform-origin: 0 50%; pointer-events: none;
}
.inclus.joue .inclus__carte[aria-selected="true"] .inclus__temps { animation: remplit var(--duree, 5200ms) linear forwards; }
.inclus.en-pause .inclus__carte[aria-selected="true"] .inclus__temps { animation-play-state: paused; }
@keyframes remplit { to { transform: none; } }

.suivis__titre {
  margin-top: 40px; font-size: 14px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--texte-discret); text-align: center;
}
.pastilles { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pastilles li {
  flex: none; display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 15px; border-radius: 999px;
  background: #fff; box-shadow: 0 1px 2px rgba(15, 22, 48, .05);
  font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; white-space: nowrap;
}
.pastilles small { font-size: 13px; font-weight: 500; color: var(--texte-discret); }

/* Les 4 bandes : 1re et 3e en orange, de droite à gauche ; 2e et 4e en bleu, de gauche à droite.
   Sans script ou avec moins d'animations : rien ne bouge, les pastilles passent à la ligne. */
.defile { display: grid; gap: 8px; margin: 14px calc(-1 * var(--gouttiere)) 0; }
.defile .pastilles { padding: 0 var(--gouttiere); }

.defile.bouge {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.defile.bouge .defile__piste {
  display: flex; width: max-content;
  animation: defile-gauche var(--duree, 56s) linear infinite;
  will-change: transform;
}
/* La bande et sa copie, chacune suivie du même petit écart : -50 % tombe pile sur le début de la copie. */
.defile.bouge .pastilles { flex-wrap: nowrap; padding: 0 8px 0 0; }
.defile.bouge .defile__ligne:nth-child(even) .defile__piste { animation-name: defile-droite; }
.defile.bouge .defile__ligne:nth-child(1) .defile__piste { --duree: 52s; }
.defile.bouge .defile__ligne:nth-child(2) .defile__piste { --duree: 60s; }
.defile.bouge .defile__ligne:nth-child(3) .defile__piste { --duree: 46s; }
.defile.bouge .defile__ligne:nth-child(4) .defile__piste { --duree: 68s; }
.defile.en-pause .defile__piste { animation-play-state: paused; }
@keyframes defile-gauche { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes defile-droite { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

/* « Et bien plus encore » : une phrase seule, en bleu Micilo, soulignée au surligneur corail. Pas un bouton. */
.suivis__plus {
  margin-top: 22px; text-align: center;
  font-size: clamp(22px, 6.6cqi, 28px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--accent);
}
.suivis__plus span {
  background: linear-gradient(transparent 62%, rgba(255, 148, 102, .34) 62%, rgba(255, 148, 102, .34) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- 4. Pourquoi choisir Micilo ---------- */
.pourquoi { padding-top: 92px; }
.pourquoi__cartes { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.pourquoi__carte {
  display: grid; grid-template-columns: 1fr auto; align-items: start; column-gap: 12px;
  padding: 24px 20px 24px 24px; border-radius: 30px; background: #fff;
  box-shadow: 0 1px 2px rgba(15, 22, 48, .04), 0 18px 40px -28px rgba(15, 22, 48, .28);
}
.pourquoi__carte h3 {
  grid-column: 1; grid-row: 1; align-self: center;
  font-size: 20px; line-height: 1.18; font-weight: 800; letter-spacing: -.025em; text-wrap: balance;
}
.pourquoi__carte img { grid-column: 2; grid-row: 1; width: 76px; height: 76px; margin: -8px -4px -4px 0; }
.pourquoi__carte p {
  grid-column: 1 / -1; margin-top: 10px; font-size: 16px; line-height: 1.48; color: var(--texte-doux); text-wrap: pretty;
}
.pourquoi__carte:first-child p { color: var(--texte); font-weight: 500; }
.pourquoi__action { margin-top: 24px; }

/* ---------- 5. Questions ---------- */
.faq { padding-top: 92px; }
.faq__liste { display: grid; gap: 10px; margin-top: 26px; }
.faq details {
  border-radius: 24px; background: #fff;
  box-shadow: 0 1px 2px rgba(15, 22, 48, .04);
}
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 64px; padding: 14px 16px 14px 20px; cursor: pointer; border-radius: 24px;
  font-size: 16.5px; font-weight: 600; letter-spacing: -.012em; line-height: 1.3;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: #F0F2F7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%234D5670' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .35s var(--doux), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq summary:active::after { background-color: #E4E8F1; }
.faq__reponse { padding: 0 20px 20px; }
.faq__reponse p { font-size: 15.5px; line-height: 1.5; color: var(--texte-doux); text-wrap: pretty; }
.faq__reponse p + p { margin-top: 10px; }
.faq__reponse strong { color: var(--texte); font-weight: 700; }

/* ---------- 6. Fin ---------- */
.fin { text-align: center; }
.fin__mici { width: 96px; height: 96px; margin: 0 auto 10px; }
.fin__phrase { margin-top: 8px; font-size: 18px; color: var(--texte-doux); }
.fin .inscription { margin-top: 22px; text-align: left; }
/* ---------- Le pied de page, sur le bleu nuit du haut de page ---------- */
.pied {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 84px;
  padding: 56px max(var(--gouttiere), calc((100% - var(--colonne)) / 2 + var(--gouttiere))) calc(var(--barre) + env(safe-area-inset-bottom));
  border-radius: 36px 36px 0 0;
  text-align: center; color: #fff;
  background:
    radial-gradient(80% 60% at 50% -10%, rgba(67, 97, 232, .42), rgba(67, 97, 232, 0) 70%),
    radial-gradient(60% 50% at 110% 100%, rgba(42, 63, 158, .55), rgba(42, 63, 158, 0) 70%),
    linear-gradient(180deg, #1D2E78 0%, #16245E 58%, #121D4D 100%);
  box-shadow:
    0 -22px 44px -30px rgba(22, 36, 94, .55),
    0 320px 0 0 #121D4D;   /* sous la page : le bleu continue quand on tire vers le haut */
}
/* Un filet de lumière sur le bord haut, là où le clair rencontre le bleu. */
.pied::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
  pointer-events: none;
}
.pied :focus-visible { outline-color: #fff; }
.pied__logo { width: 84px; height: auto; margin: 0 auto; }
.pied__phrase { margin-top: 16px; font-size: 17px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; text-wrap: balance; color: #fff; }
.pied__auteur { margin-top: 4px; font-size: 15px; color: rgba(234, 238, 255, .74); line-height: 1.35; text-wrap: balance; }
.pied__petit { margin-top: 10px; font-size: 13px; line-height: 1.6; color: rgba(234, 238, 255, .6); }

/* Les colonnes : courtes, alignées à gauche, deux par rangée sur téléphone ; les réseaux prennent toute la largeur. */
.pied__colonnes {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; row-gap: 26px;
  margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: left;
}
.pied__titre {
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3;
  color: rgba(234, 238, 255, .55);
}
.pied__col ul { list-style: none; margin: 6px 0 0; padding: 0; }
.pied__col a, .pied__col button {
  display: flex; align-items: center; min-height: 42px; padding: 6px 0; border: 0; background: none;
  font-size: 15.5px; font-weight: 600; letter-spacing: -.012em; line-height: 1.25; text-align: left; color: #fff;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: transparent;
  transition: text-decoration-color .2s var(--doux);
}
.pied__col a:hover, .pied__col button:hover { text-decoration-color: var(--corail); }
.pied__col--reseaux { grid-column: 1 / -1; }
.pied__ligne { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.pied__col .pied__reseaux { display: flex; flex: 0 0 auto; gap: 6px; margin: 0; }
/* Un réseau : son logo et son nom. Sans adresse (dans script.js), il reste « Bientôt » et ne se touche pas. */
.pied__col .pied__reseau {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; padding: 7px 10px; border-radius: 16px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px; font-weight: 600; letter-spacing: -.012em; line-height: 1.15; color: rgba(255, 255, 255, .82);
  text-decoration: none;
}
.pied__reseau svg { flex: none; width: 20px; height: 20px; }
.pied__reseau-texte { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.pied__bientot { font-size: 10.5px; line-height: 1.2; font-weight: 500; letter-spacing: 0; color: rgba(234, 238, 255, .5); }
.pied__col a.pied__reseau { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); transition: background-color .2s var(--doux), transform .2s var(--doux); }
.pied__col a.pied__reseau:hover { background: rgba(255, 255, 255, .16); }
.pied__col a.pied__reseau:active { transform: scale(.97); }
.pied__reseau .pied__sortie { flex: none; width: 12px; height: 12px; opacity: .6; }

/* Tout en bas : la langue, puis © 2026 Micilo. */
.pied__bas {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px;
  margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12);
}
.pied__bas .pied__petit { margin: 0; }
/* Le bouton de langue : un vrai <select> posé par-dessus, invisible, pour la roue native d'iOS. */
.langue {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 13px;
  border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  color: #fff; font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  transition: background-color .2s var(--doux);
}
.langue:hover { background: rgba(255, 255, 255, .15); }
.langue__drapeau { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 19px; line-height: 1; }
.langue__fleche { opacity: .7; }
.langue__choix {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: inherit;
  opacity: 0; cursor: pointer; font-size: 16px; -webkit-appearance: none; appearance: none;
}
.langue:has(.langue__choix:focus-visible) { outline: 3px solid #fff; outline-offset: 3px; }
.langue__choix:focus-visible { outline: none; }

@media (min-width: 640px) {
  .pied__colonnes { grid-template-columns: 1.2fr 1fr 1.1fr; }
  .pied__col--reseaux { grid-column: auto; }
  .pied__ligne { flex-direction: column; align-items: flex-start; }
}

/* ---------- Les pages À propos et Confidentialité : fond clair, en-tête en pilule, textes courts ---------- */
.page main { padding-top: calc(max(10px, env(safe-area-inset-top)) + 56px + 30px); }
.page .pied { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
.page-tete { text-align: center; }
.page-tete__mici { position: relative; width: 112px; margin: 0 auto 6px; }
.page-tete__mici::before {
  content: ""; position: absolute; left: 50%; top: 52%; width: 190%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(220, 226, 248, .55) 50%, rgba(220, 226, 248, 0));
}
.page-tete__mici img { position: relative; width: 100%; height: auto; }
.page-tete__surtitre { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--corail-fonce); }
.page-tete h1 {
  margin-top: 8px; font-size: clamp(32px, 9.6cqi, 44px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em;
  text-wrap: balance;
}
.page-tete__chapeau { margin-top: 14px; font-size: 17px; line-height: 1.45; color: var(--texte-doux); text-wrap: pretty; }
.page-tete__chapeau strong { color: var(--texte); font-weight: 700; }

/* Une carte de texte, blanche, comme les questions de la page d'accueil. */
.texte-carte {
  margin-top: 14px; padding: 22px 20px 22px; border-radius: 26px; background: #fff;
  box-shadow: 0 1px 2px rgba(15, 22, 48, .04), 0 18px 40px -30px rgba(15, 22, 48, .25);
}
.texte-carte h2 { font-size: 20px; line-height: 1.2; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.texte-carte p, .texte-carte li { font-size: 16px; line-height: 1.5; color: var(--texte-doux); text-wrap: pretty; }
.texte-carte h2 + p, .texte-carte h2 + ul { margin-top: 10px; }
.texte-carte p + p, .texte-carte ul + p, .texte-carte p + ul { margin-top: 10px; }
.texte-carte strong { color: var(--texte); font-weight: 700; }
.texte-carte a, .page-fin a:not(.bouton) {
  color: var(--accent); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(42, 63, 158, .35);
}
.texte-carte--seule { margin-top: 40px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.points li { position: relative; padding-left: 20px; }
.points li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--corail);
}

/* « En bref » : le seul bloc bleu nuit, pour lire l'essentiel en trois lignes. */
.bref {
  position: relative; overflow: hidden; margin-top: 26px; padding: 22px 20px; border-radius: 26px; color: #fff;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(67, 97, 232, .55), rgba(67, 97, 232, 0) 70%),
    linear-gradient(160deg, #1D2E78, #16245E 70%);
  box-shadow: 0 24px 44px -28px rgba(22, 36, 94, .7);
}
.bref h2 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(234, 238, 255, .62); }
.bref .points { margin-top: 12px; gap: 10px; }
.bref .points li { font-size: 17px; line-height: 1.38; font-weight: 600; letter-spacing: -.012em; color: #fff; text-wrap: pretty; }
.bref .points li::before { top: .55em; }
.bref a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(255, 148, 102, .8); }
.bref :focus-visible { outline-color: #fff; }

.page-date { margin-top: 22px; font-size: 13.5px; color: var(--texte-discret); text-align: center; }

/* La lettre du créateur, à la main, sur un papier légèrement de travers. */
.lettre { position: relative; margin-top: 44px; }
.lettre__dessous {
  position: absolute; inset: 6px -4px -8px 6px; border-radius: 6px; transform: rotate(2.2deg);
  background: #F1EBDD; box-shadow: 0 10px 30px -16px rgba(60, 40, 10, .35);
}
.lettre__papier {
  position: relative; padding: 28px 22px 24px; border-radius: 6px; transform: rotate(-1.1deg);
  background: repeating-linear-gradient(180deg, transparent 0 33px, rgba(28, 42, 102, .07) 33px 34px), #FBF8F0;
  background-position: 0 64px;
  box-shadow: 0 1px 2px rgba(60, 40, 10, .08), 0 22px 40px -22px rgba(60, 40, 10, .35);
  font-family: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive; color: #1C2A66; font-size: 19.5px; line-height: 34px;
}
.lettre__titre {
  font-family: var(--police); font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #8A7A56; line-height: 20px; margin-bottom: 14px; padding-right: 64px;
}
.lettre__signature { font-family: "Snell Roundhand", "Bradley Hand", cursive; font-size: 27px; text-align: right; margin-top: 18px; }
/* Mici, posé sur le coin de la lettre. */
.lettre__mici { position: absolute; z-index: 1; top: -34px; right: 8px; width: 74px; height: 74px; transform: rotate(8deg); }

.page-fin { margin-top: 56px; text-align: center; }
.page-fin h2 { font-size: clamp(26px, 7.6cqi, 32px); line-height: 1.08; font-weight: 800; letter-spacing: -.032em; text-wrap: balance; }
.page-fin .bouton { display: flex; align-items: center; justify-content: center; margin-top: 18px; text-decoration: none; }
.page-fin__contact { margin-top: 16px; font-size: 15.5px; color: var(--texte-doux); }
.barre__bouton:is(a) { text-decoration: none; }

/* ---------- La barre collante : du verre liquide teinté du bleu Micilo, qui flotte au-dessus du bas de l'écran ---------- */
.collant {
  --ecart: 12px;
  position: fixed; z-index: 30;
  left: var(--ecart); right: var(--ecart); bottom: calc(10px + env(safe-area-inset-bottom));
  max-width: calc(var(--colonne) - 2 * var(--ecart)); margin: 0 auto;
  isolation: isolate; overflow: hidden;
  padding: 0; border-radius: 22px;
  background:
    radial-gradient(70% 140% at 100% 100%, rgba(120, 146, 255, .38), rgba(120, 146, 255, 0) 70%),
    linear-gradient(100deg, rgba(22, 36, 94, .93) 0%, rgba(42, 63, 158, .9) 52%, rgba(67, 97, 232, .88) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(190%);
  backdrop-filter: blur(18px) saturate(190%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .34),
    inset 0 -1px 0 rgba(255, 255, 255, .1),
    0 20px 38px -16px rgba(22, 36, 94, .62),
    0 6px 14px -6px rgba(22, 36, 94, .38);
  transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom))) scale(.96); opacity: 0; visibility: hidden;
  transition: transform .45s var(--doux), opacity .3s var(--doux), visibility 0s .45s;
}
/* Le reflet clair du haut, comme une goutte sous la lumière. */
.collant::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, .04) 38%, rgba(255, 255, 255, 0) 52%);
}
/* Le liseré lumineux : plus vif en haut à gauche et en bas à droite, là où la lumière accroche le verre. */
.collant::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(150deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .14) 34%, rgba(255, 255, 255, .06) 62%, rgba(170, 188, 255, .55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.collant.visible { transform: none; opacity: 1; visibility: visible; transition: transform .45s var(--ressort), opacity .25s var(--doux); }
.collant.visible:has(.bouton:active) { transform: scale(.975); transition: transform .2s var(--doux); }
/* La barre entière est le bouton : texte blanc sur le bleu, une pastille blanche avec une flèche au bout. */
.collant .bouton {
  z-index: 1; display: block; height: 62px; padding: 0 62px; border-radius: inherit;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Ccircle cx='22' cy='22' r='22' fill='%23fff'/%3E%3Cpath d='M16 22h12m-5-5 5 5-5 5' fill='none' stroke='%2316245E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 9px center / 44px no-repeat;
  color: #fff; font-size: 17.5px; font-weight: 700; letter-spacing: -.015em;
  text-shadow: 0 1px 2px rgba(4, 8, 32, .35);
  box-shadow: none;
}
.collant .bouton:hover { background-color: rgba(255, 255, 255, .07); }
.collant .bouton:active { transform: none; }
.collant .bouton:focus-visible { outline: 3px solid #fff; outline-offset: -6px; border-radius: 18px; }
@media (prefers-reduced-transparency: reduce) {
  .collant { background: linear-gradient(118deg, #16245E, #2A3F9E 52%, #4361E8); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- La feuille qui monte du bas ---------- */
.feuille-bas {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden;
  --clavier: 0px;
}
.feuille-bas::backdrop { background: rgba(15, 22, 48, 0); transition: background .3s; }
.feuille-bas.monte::backdrop { background: rgba(15, 22, 48, .38); }
.feuille-bas__panneau {
  position: absolute; left: 0; right: 0; bottom: var(--clavier);
  max-width: var(--colonne); margin: 0 auto;
  padding: 10px var(--gouttiere) calc(20px + env(safe-area-inset-bottom));
  background: #F4F6FB; border-radius: 28px 28px 0 0;
  box-shadow: 0 -20px 50px -20px rgba(15, 22, 48, .4);
  transform: translateY(105%); transition: transform .38s var(--doux), bottom .2s;
  max-height: calc(100% - 24px); overflow-y: auto; overscroll-behavior: contain;
}
.feuille-bas.monte .feuille-bas__panneau { transform: none; }
.feuille-bas__poignee { display: block; width: 40px; height: 5px; margin: 0 auto 6px; border-radius: 3px; background: #C9CEDB; }
.feuille-bas__fermer {
  position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: rgba(15, 22, 48, .06); color: var(--texte-doux);
}
.feuille-bas__titre { padding: 14px 56px 0 2px; font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.feuille-bas .inscription { margin-top: 16px; }

/* ---------- Le mini-formulaire après l'inscription à la bêta : une question par écran ---------- */
/* La feuille elle-même ne défile jamais (seul le panneau défile) : le focus ne peut pas la décaler. */
.feuille-q { overflow: hidden; overflow: clip; }
.q__haut { padding: 12px 56px 0 2px; }
.q__titre { font-size: 22px; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.q__intro { margin-top: 4px; font-size: 14.5px; line-height: 1.4; color: var(--texte-discret); }
.q__progres { display: flex; gap: 6px; margin-top: 14px; margin-right: -54px; }
.q__progres span { flex: 1; height: 5px; border-radius: 3px; background: rgba(15, 22, 48, .1); transition: background-color .35s var(--doux); }
.q__progres span.est-fait { background: var(--vif); }
.q__compte { margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--texte-discret); }
.q__etape[hidden], .q__merci[hidden], .q__haut[hidden] { display: none; }
.q__etape { margin: 0; padding: 0; border: 0; min-width: 0; }
.q__question {
  display: block; margin-top: 10px; padding: 0 2px; outline: none;
  font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; text-wrap: balance;
}
/* La question reçoit le focus pour être lue à voix haute ; ce n'est pas une commande, donc pas de contour. */
.q__question:focus, .q__question:focus-visible { outline: none; }
.q__choix { display: grid; gap: 7px; margin-top: 14px; }
.q__pastille {
  position: relative; display: flex; align-items: center; min-height: 48px; padding: 10px 50px 10px 20px;
  border-radius: 999px; background: #fff; border: 1.5px solid rgba(15, 22, 48, .1);
  font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; cursor: pointer;
  -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
  transition: border-color .2s var(--doux), box-shadow .2s var(--doux), transform .15s var(--doux);
}
.q__pastille input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
/* Le rond à droite, qui se remplit quand la réponse est choisie. */
.q__pastille::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; border: 2px solid rgba(15, 22, 48, .2); background: #fff;
  transition: background-color .2s, border-color .2s;
}
.q__pastille:active { transform: scale(.985); }
.q__pastille:has(input:checked) { border-color: var(--texte); box-shadow: 0 10px 22px -16px rgba(15, 22, 48, .45); }
.q__pastille:has(input:checked)::after {
  border-color: var(--vif);
  background: var(--vif) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.q__pastille:has(input:focus-visible) { outline: 3px solid var(--vif); outline-offset: 2px; }
.q__texte {
  display: block; width: 100%; min-height: 128px; margin-top: 16px; padding: 14px 18px; resize: none;
  border-radius: 20px; border: 1.5px solid rgba(15, 22, 48, .1); background: #fff;
  font: inherit; font-size: 17px; line-height: 1.4; color: var(--texte);
  -webkit-appearance: none; appearance: none;
}
.q__texte::placeholder { color: #8D93A6; }
.q__texte:focus { outline: none; border-color: var(--vif); box-shadow: 0 0 0 4px rgba(67, 97, 232, .16); }
.q__compteur { margin-top: 6px; font-size: 13px; color: var(--texte-discret); text-align: right; }
.q__accord {
  display: flex; align-items: flex-start; gap: 12px; min-height: 44px; margin-top: 14px; padding: 10px 4px;
  font-size: 15px; line-height: 1.38; color: var(--texte-doux); cursor: pointer;
}
.q__accord input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--vif); cursor: pointer; }
/* L'avis n'apparaît qu'après « Suivant » sans la case cochée ; vide, il ne prend aucune place. */
.q__sans-accord { margin: 2px 4px 0; padding: 10px 14px; border-radius: 14px; background: rgba(255, 148, 102, .16); font-size: 14.5px; font-weight: 600; line-height: 1.35; color: #8A3A14; }
.q__sans-accord:empty { margin: 0; padding: 0; }
.q__sans-accord.secoue { animation: pousse .45s var(--doux); }
@keyframes pousse {
  0% { transform: translateY(4px); opacity: 0; }
  30% { transform: translateX(-5px); opacity: 1; }
  55% { transform: translateX(4px); }
  78% { transform: translateX(-2px); }
  100% { transform: none; }
}
/* Passer et Suivant restent toujours à portée du pouce, sur un fond plein : les réponses défilent dessous,
   et la dernière s'arrête au-dessus avec de la marge. Le panneau n'a pas de marge en bas, sinon la rangée
   collée remonterait d'autant et cacherait la dernière réponse. */
.feuille-q .feuille-bas__panneau { padding-bottom: 0; }
.q__actions {
  position: sticky; bottom: 0; z-index: 1;
  display: flex; align-items: center; gap: 10px; margin-top: 10px;
  padding: 14px 0 calc(18px + env(safe-area-inset-bottom));
  background: linear-gradient(rgba(244, 246, 251, 0), #F4F6FB 14px);
}
.q__passer {
  flex: none; min-height: 44px; min-width: 44px; padding: 0 14px; border: 0; background: none;
  font-size: 15.5px; font-weight: 600; color: var(--accent);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(42, 63, 158, .35);
}
.q__actions .bouton { flex: 1; width: auto; }
.q__merci { display: grid; justify-items: center; gap: 14px; padding: 18px 4px calc(22px + env(safe-area-inset-bottom)); text-align: center; }
.q__merci img { width: 104px; height: 104px; animation: saut .7s var(--ressort) both; }
.q__merci-texte { font-size: 22px; font-weight: 800; letter-spacing: -.025em; line-height: 1.2; text-wrap: balance; outline: none; }
.q__merci .bouton { margin-top: 6px; }

/* ---------- En-tête en pilule ---------- */
.barre {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  padding: max(10px, env(safe-area-inset-top)) var(--gouttiere) 10px;
  pointer-events: none;
}
.barre__dedans {
  pointer-events: auto;
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; padding: 0 8px 0 18px; border-radius: 999px;
  background: rgba(244, 246, 251, .6);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 24px -14px rgba(15, 22, 48, .25);
}
.barre__logo { display: flex; align-items: center; min-height: 44px; }
.barre__logo img { width: 84px; height: auto; }
.barre__bouton {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 0;
  border-radius: 999px; background: var(--texte); color: #fff;
  font-size: 15px; font-weight: 600; text-decoration: none; letter-spacing: -.01em;
  transition: transform .2s var(--doux);
}
.barre__bouton:active { transform: scale(.96); }
main [id] { scroll-margin-top: 88px; }

/* ---------- Moins d'animations ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .fond__nappe { animation: none; }
  html { scroll-behavior: auto; }
  /* Les bandes ne bougent pas : la copie disparaît, les pastilles passent à la ligne. */
  .defile.bouge { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .defile.bouge .defile__piste { width: auto; animation: none !important; transform: none; will-change: auto; }
  .defile.bouge .pastilles { flex-wrap: wrap; padding: 0 var(--gouttiere); }
  .defile .pastilles[aria-hidden="true"] { display: none; }
  .q__sans-accord.secoue { animation: none !important; }
}
