/* HelloMia — feuille de style du site (version 2, 28/11/2026)
   Direction : sombre, épurée et technologique (grands titres, beaucoup d'espace, scènes au défilement),
   avec une section claire façon Apple pour rythmer. Couleurs et polices reprises de l'application.
   Organisation : primitives → rôles (tokens) → composants. Les composants n'utilisent que les rôles. */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
  /* ---- Primitives ---- */
  --noir-bleu: #04070D;
  --nuit: #0A1120;
  --profond: #102A43;
  --bleu: #3B82F6;
  --bleu-600: #2563EB;
  --bleu-clair: #8AB4FF;
  --orange: #F97316;
  --orange-700: #C2410C;
  --orange-300: #FDBA74;
  --blanc: #FFFFFF;
  --nuage: #F5F7FA;
  --gris-bleu: #A7B6C8;
  --gris-bleu-fonce: #8494A9;
  --apple-fond: #F5F5F7;
  --apple-texte: #1D1D1F;
  --apple-texte-2: #5F6168;
  --apple-ligne: #D9D9DE;

  /* ---- Rôles (zones sombres, par défaut) ---- */
  --fond: var(--noir-bleu);
  --fond-eleve: var(--nuit);
  --carte: rgba(255,255,255,.045);
  --carte-forte: rgba(255,255,255,.08);
  --ligne: rgba(255,255,255,.10);
  --ligne-forte: rgba(255,255,255,.22);
  --texte-principal: var(--nuage);
  --texte-secondaire: var(--gris-bleu);        /* 9,4:1 sur le fond */
  --texte-discret: var(--gris-bleu-fonce);     /* 6,1:1 sur le fond */
  --lien: var(--bleu-clair);                   /* 8,6:1 sur le fond */
  --accent: var(--orange);
  --accent-texte: var(--orange-300);           /* 11:1 sur le fond */
  --action-fond: var(--blanc);
  --action-texte: #0B0F17;
  --action-survol: #DCE6F5;
  --focus: var(--orange);

  --display: "Space Grotesk", system-ui, sans-serif;
  --texte: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  /* ---- Échelles ---- */
  --largeur: 1200px;
  --marge: clamp(20px, 5vw, 56px);
  --rayon-s: 12px;
  --rayon-m: 18px;
  --rayon-l: 28px;
  --cible: 44px;
  --duree-rapide: .18s;
  --duree: .7s;
  --sortie: cubic-bezier(.16, 1, .3, 1);
}

/* Zones claires (façon Apple) : mêmes rôles, autres valeurs. */
.clair, .page-legale main {
  --fond: var(--apple-fond);
  --carte: var(--blanc);
  --carte-forte: var(--blanc);
  --ligne: var(--apple-ligne);
  --ligne-forte: #B8B8C0;
  --texte-principal: var(--apple-texte);
  --texte-secondaire: var(--apple-texte-2);    /* 6:1 sur le fond */
  --texte-discret: var(--apple-texte-2);
  --lien: var(--bleu-600);                     /* 4,9:1 sur le fond */
  --accent-texte: var(--orange-700);           /* 4,8:1 sur le fond */
  --action-fond: var(--apple-texte);
  --action-texte: var(--blanc);
  --action-survol: #000;
  --focus: var(--orange-700);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texte-principal);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--lien); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(59,130,246,.35); }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge); }
.lien-evitement { position: absolute; left: -9999px; z-index: 100; }
.lien-evitement:focus { left: 16px; top: 16px; background: var(--blanc); color: #0B0F17; padding: 10px 16px; border-radius: 10px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 5vw, 4.25rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; }

/* ---------- Apparitions (seulement si JavaScript est actif) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--duree) var(--sortie) var(--delai, 0ms), transform var(--duree) var(--sortie) var(--delai, 0ms); }
.js [data-reveal].visible { opacity: 1; transform: none; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--texte); font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  background: var(--action-fond); color: var(--action-texte); border: 0; cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--duree-rapide) ease, transform var(--duree-rapide) ease, box-shadow var(--duree-rapide) ease;
}
.bouton:hover { background: var(--action-survol); box-shadow: 0 10px 30px rgba(59,130,246,.18); }
.bouton:active { transform: scale(.97); }
.bouton.petit { min-height: var(--cible); padding: 0 18px; font-size: .92rem; }
.bouton.fantome { background: transparent; color: var(--texte-principal); box-shadow: inset 0 0 0 1.5px var(--ligne-forte); }
.bouton.fantome:hover { background: var(--carte-forte); box-shadow: inset 0 0 0 1.5px var(--texte-secondaire); }

/* ---------- En-tête ---------- */
.entete { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--nuage); transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease; border-bottom: 1px solid transparent; }
.entete.defile, .page-legale .entete { background: rgba(4,7,13,.72); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-bottom-color: rgba(255,255,255,.08); }
.page-legale .entete { position: sticky; top: 0; background: rgba(4,7,13,.94); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.marque { display: flex; align-items: center; gap: 10px; min-height: var(--cible); color: inherit; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.marque img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { display: inline-flex; align-items: center; min-height: var(--cible); color: var(--gris-bleu); text-decoration: none; font-weight: 500; font-size: .92rem; transition: color var(--duree-rapide) ease; }
.nav a:hover { color: var(--blanc); }
.nav .bouton { color: #0B0F17; background: var(--blanc); }
.nav .bouton:hover { background: #DCE6F5; }
.entete :focus-visible { outline-color: var(--orange); }

/* Menu mobile (sans JavaScript pour s'ouvrir) */
.menu-mobile { display: none; position: relative; }
.menu-mobile summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: var(--cible); padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); color: var(--nuage); font-weight: 600; cursor: pointer; }
.menu-mobile summary::-webkit-details-marker { display: none; }
.menu-mobile summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform var(--duree-rapide) ease; }
.menu-mobile[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.menu-mobile nav { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: min(84vw, 300px); display: grid; gap: 2px; padding: 10px; background: rgba(10,17,32,.96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.12); border-radius: var(--rayon-m); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.menu-mobile nav a:not(.bouton) { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 10px; color: var(--nuage); text-decoration: none; font-weight: 500; }
.menu-mobile nav a:not(.bouton):hover { background: rgba(255,255,255,.06); }
.menu-mobile nav .bouton { margin-top: 6px; background: var(--blanc); color: #0B0F17; }

/* ---------- Repères et têtes de section ---------- */
.repere { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-texte); }
.repere::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.tete-section { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.tete-section h2 { margin-top: 18px; }
.tete-section > p:not(.repere) { margin-top: 20px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--texte-secondaire); max-width: 60ch; }
.tete-centree { margin-left: auto; margin-right: auto; text-align: center; }
.tete-centree .repere { justify-content: center; }
.tete-centree > p:not(.repere) { margin-left: auto; margin-right: auto; }

.section { position: relative; padding: clamp(88px, 12vw, 160px) 0; background: var(--fond); color: var(--texte-principal); }

/* ---------- Héros ---------- */
.heros { position: relative; overflow: hidden; padding: clamp(120px, 16vh, 170px) 0 48px; text-align: center; --recul: 0; }
.heros-halo { position: absolute; inset: -10% -20% auto; height: 120%; pointer-events: none; background:
  radial-gradient(40% 35% at 50% 62%, rgba(37,99,235,.28), transparent 70%),
  radial-gradient(24% 22% at 64% 74%, rgba(249,115,22,.14), transparent 70%),
  radial-gradient(60% 40% at 50% 0%, rgba(138,180,255,.10), transparent 70%); }
.heros-texte { position: relative; z-index: 2; transform: translateY(calc(var(--recul) * -70px)); opacity: calc(1 - var(--recul) * 1.2); }
.surtitre { display: inline-flex; padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(253,186,116,.35); background: rgba(249,115,22,.10); color: var(--orange-300); font-weight: 600; font-size: .9rem; }
.heros h1 { margin: 26px auto 0; font-size: clamp(2.7rem, 7vw, 6.6rem); line-height: .98; letter-spacing: -0.045em; max-width: 18ch; color: var(--blanc); }
.degrade { background: linear-gradient(100deg, #FFFFFF 10%, #A9C7FF 45%, #FDBA74 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.heros .chapo { margin: 28px auto 0; max-width: 46ch; font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--texte-secondaire); }
.heros .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.heros-visage { position: relative; z-index: 1; margin: clamp(-40px, -3vw, -10px) auto 0; width: min(780px, 96vw); }
.visage-cadre { position: relative; width: 100%; aspect-ratio: 1 / 1; transform: translateY(calc(var(--recul) * -60px)) scale(calc(1 + var(--recul) * .12)); opacity: calc(1 - var(--recul) * .85); }
.visage-cadre::before { content: ""; position: absolute; inset: 14% 16% 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(13,42,82,.9), rgba(8,26,53,.5) 55%, transparent 100%); }
#visage { position: relative; display: block; width: 100%; height: 100%; }
.onde { position: relative; z-index: 1; display: block; width: 100%; height: 110px; margin-top: clamp(-150px, -12vw, -60px); pointer-events: none; }
.onde path { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 10px rgba(249,115,22,.6)); stroke-dasharray: 3200; stroke-dashoffset: 3200; animation: tracer 2.6s var(--sortie) .4s forwards; opacity: .6; }
@keyframes tracer { to { stroke-dashoffset: 0; } }
.promesses { list-style: none; margin: 28px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 980px; border-top: 1px solid var(--ligne); }
.promesses li { padding: 22px 16px; color: var(--texte-secondaire); font-size: 1rem; }
.promesses li + li { border-left: 1px solid var(--ligne); }
.promesses strong { display: block; color: var(--blanc); font-family: var(--display); font-size: 1.2rem; letter-spacing: -0.01em; }
.statut { margin-top: 18px; font-size: .88rem; color: var(--texte-discret); }

/* ---------- Manifeste ---------- */
.manifeste { padding: clamp(110px, 18vh, 200px) 0; }
.manifeste-texte { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 4rem); line-height: 1.12; letter-spacing: -0.03em; max-width: 22ch; color: var(--texte-principal); }
.manifeste-texte .mot { color: rgba(245,247,250,.16); transition: color .35s ease; }
.manifeste-texte .mot.allume { color: var(--texte-principal); }

/* ---------- Carrousels ---------- */
.carrousel-piste { position: relative; }
.carrousel-liste { list-style: none; margin: 0; padding: 4px 4px 12px; display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scrollbar-width: none; }
.carrousel-liste::-webkit-scrollbar { display: none; }
.carrousel-liste > li { scroll-snap-align: start; }
.carrousel:not(.carrousel-actif) .carrousel-liste { flex-wrap: wrap; overflow: visible; }
.carrousel-position { margin-top: 18px; text-align: center; font-family: var(--mono); font-size: .85rem; font-weight: 600; letter-spacing: .06em; color: var(--texte-discret); font-variant-numeric: tabular-nums; }
.carrousel-position[hidden] { display: none; }
.carrousel-bouton {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22); background: rgba(10,17,32,.5); color: var(--blanc);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  cursor: pointer; touch-action: manipulation;
  transition: background-color var(--duree-rapide) ease, opacity var(--duree-rapide) ease, transform var(--duree-rapide) ease;
}
.carrousel-bouton[hidden] { display: none; }
.carrousel-precedent { left: -24px; }
.carrousel-suivant { right: -24px; }
.carrousel-bouton:hover { background: rgba(10,17,32,.8); }
.carrousel-bouton:active { transform: translateY(-50%) scale(.94); }
.carrousel-bouton:disabled { opacity: 0; pointer-events: none; }

/* Cartes des douleurs */
.douleurs > li { flex: 0 0 calc((100% - 36px) / 3); display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--rayon-l); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--ligne); transition: border-color .3s ease, transform .3s var(--sortie); }
.douleurs > li:hover { border-color: rgba(138,180,255,.4); transform: translateY(-4px); }
.douleurs .cite { font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.28; letter-spacing: -0.015em; color: var(--blanc); }
.douleurs p:not(.cite) { color: var(--texte-secondaire); font-size: 1rem; }
.douleurs a { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; min-height: var(--cible); font-weight: 600; font-size: .95rem; text-decoration: none; }
.douleurs a::after { content: "→"; transition: transform var(--duree-rapide) ease; }
.douleurs a:hover { text-decoration: underline; }
.douleurs a:hover::after { transform: translateX(4px); }

/* ---------- Principe ---------- */
.etapes { list-style: none; margin: 0 0 72px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.etapes li { padding: 32px 28px; border-radius: var(--rayon-l); background: var(--carte); border: 1px solid var(--ligne); }
.etapes .numero { display: block; font-family: var(--display); font-weight: 700; font-size: 3.4rem; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(138,180,255,.7); margin-bottom: 22px; }
.etapes h3 { margin-bottom: 10px; }
.etapes p { color: var(--texte-secondaire); }

/* ---------- Conversation animée (reprend l'écran Mia de l'application) ----------
   Étapes (data-etape) : 0 accueil, 1 écoute, 2 transcription, 3 réflexion, 4 réponse, 5 rappel. */
.conversation { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(36px, 7vw, 110px); align-items: center; justify-content: center; max-width: 980px; margin: 0 auto; }
.conv-telephone .telephone { width: 320px; }
.telephone-ecran.app { display: flex; flex-direction: column; background: #F5F7FA; color: #102A43; font-family: var(--texte); font-size: 12px; line-height: 1.4; text-align: left; }
.app-statut { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 4px; font-weight: 600; font-size: 11px; }
.app-statut-icones { display: flex; gap: 4px; }
.app-statut-icones i { width: 12px; height: 7px; border-radius: 2px; background: #102A43; }
.app-statut-icones i:last-child { width: 18px; }
.app-entete { position: relative; display: flex; align-items: center; justify-content: center; padding: 8px 16px 10px; border-bottom: 1px solid #E5E7EB; }
.app-crayon { position: absolute; left: 16px; color: #2563EB; }
.app-entete p { display: flex; flex-direction: column; align-items: center; line-height: 1.25; }
.app-entete strong { font-size: 12.5px; }
.app-entete span { color: #52606D; font-size: 11px; }
.app-fil { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px 14px 10px; overflow: hidden; }
.app-salut { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.app-sous-titre { margin-top: -6px; color: #52606D; font-size: 12.5px; }
.msg { max-width: 88%; padding: 10px 12px; border-radius: 16px; transition: opacity .45s ease, transform .55s var(--sortie); }
.msg-vous { align-self: flex-end; background: #2563EB; color: #fff; border-bottom-right-radius: 4px; }
.msg-mia { align-self: flex-start; background: #fff; border: 1px solid #E5E7EB; border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(16,42,67,.06); }
.msg-texte::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: currentColor; opacity: 0; }
.conversation[data-etape="2"] .msg-texte::after { opacity: 1; animation: curseur .8s steps(1) infinite; }
@keyframes curseur { 50% { opacity: 0; } }
.msg-ecrit { align-self: flex-start; display: flex; gap: 4px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid #E5E7EB; transition: opacity .3s ease; }
.msg-ecrit i { width: 6px; height: 6px; border-radius: 50%; background: #9AA5B1; animation: rebond 1s ease-in-out infinite; }
.msg-ecrit i:nth-child(2) { animation-delay: .15s; }
.msg-ecrit i:nth-child(3) { animation-delay: .3s; }
@keyframes rebond { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.app-tache { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid #E5E7EB; box-shadow: 0 2px 10px rgba(16,42,67,.08); transition: box-shadow .6s ease, border-color .6s ease, transform .6s var(--sortie); }
.app-rond { flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; border: 2px solid #2563EB; }
.app-tache-titre { font-weight: 600; font-size: 12px; }
.app-tache-meta { margin-top: 5px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: #52606D; font-size: 10.5px; }
.app-pastille { padding: 1px 8px; border-radius: 999px; background: #FFEDD5; color: #C2410C; font-weight: 600; }
.app-saisie { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid #E5E7EB; background: #fff; }
.app-plus { color: #2563EB; font-size: 20px; line-height: 1; }
.app-champ { position: relative; flex: 1; height: 34px; border-radius: 999px; background: #F1F4F8; overflow: hidden; }
.app-placeholder, .app-ecoute { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; padding: 0 12px; color: #7B8794; font-size: 12px; transition: opacity .3s ease; }
.app-ecoute { opacity: 0; color: #2563EB; font-weight: 600; }
.app-ecoute i { width: 2.5px; height: 6px; margin-right: 1px; border-radius: 2px; background: #3B82F6; }
.app-ecoute i:nth-child(n+5) { background: #F97316; }
.app-ecoute i:last-of-type { margin-right: 6px; }
.app-micro, .app-envoi { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; }
.app-micro { border: 1.5px solid #2563EB; background: #fff; transition: box-shadow .3s ease; }
.app-envoi { background: #2563EB; }
.app-nav { display: flex; justify-content: space-around; padding: 8px 6px 14px; background: #fff; border-top: 1px solid #E5E7EB; color: #52606D; font-size: 9.5px; font-weight: 500; }
.app-nav span { position: relative; padding-top: 6px; }
.app-nav-actif { color: #102A43; font-weight: 700; }
.app-nav-actif::before { content: ""; position: absolute; top: -8px; left: 50%; width: 22px; height: 3px; margin-left: -11px; border-radius: 2px; background: #F97316; }
.app-notif { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 2; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 18px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 12px 30px rgba(16,42,67,.25); font-size: 11.5px; color: #102A43; transition: transform .6s var(--sortie), opacity .4s ease; }
.app-notif-icone img { width: 28px; height: 28px; border-radius: 7px; }
.app-notif-tete { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 2px; color: #52606D; font-size: 10.5px; }
.app-notif-tete strong { color: #102A43; }

/* États de la scène (sans JavaScript, la conversation complète reste affichée : étape 4). */
.conversation:not([data-etape="2"]):not([data-etape="3"]):not([data-etape="4"]):not([data-etape="5"]) .msg-vous,
.conversation:not([data-etape="4"]):not([data-etape="5"]) .msg-mia { opacity: 0; transform: translateY(12px) scale(.97); }
.conversation:not([data-etape="3"]) .msg-ecrit { opacity: 0; position: absolute; pointer-events: none; }
.conversation:not([data-etape="5"]) .app-notif { opacity: 0; transform: translateY(-130%); }
.conversation[data-etape="1"] .app-placeholder { opacity: 0; }
.conversation[data-etape="1"] .app-ecoute { opacity: 1; }
.conversation[data-etape="1"] .app-ecoute i { animation: onde-voix .9s ease-in-out infinite; }
.conversation[data-etape="1"] .app-ecoute i:nth-child(2n) { animation-delay: .2s; }
.conversation[data-etape="1"] .app-ecoute i:nth-child(3n) { animation-delay: .4s; }
.conversation[data-etape="1"] .app-micro { box-shadow: 0 0 0 5px rgba(59,130,246,.18), 0 0 0 10px rgba(59,130,246,.08); animation: micro 1.2s ease-in-out infinite; }
@keyframes onde-voix { 0%, 100% { height: 5px; } 50% { height: 16px; } }
@keyframes micro { 50% { box-shadow: 0 0 0 7px rgba(59,130,246,.22), 0 0 0 14px rgba(59,130,246,.06); } }
.conversation[data-etape="4"] .app-tache { border-color: #93C5FD; box-shadow: 0 0 0 3px rgba(59,130,246,.15), 0 6px 18px rgba(16,42,67,.12); transform: translateY(-1px); }

/* Légendes synchronisées */
.conv-etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.conv-etapes li { position: relative; padding: 20px 22px 20px 26px; border-radius: var(--rayon-m); border: 1px solid var(--ligne); background: var(--carte); transition: border-color .4s ease, background-color .4s ease, opacity .4s ease; }
.conv-etapes li::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: transparent; transition: background-color .4s ease; }
.js .conversation.anime .conv-etapes li { opacity: .45; }
.js .conversation.anime .conv-etapes li.actif { opacity: 1; border-color: rgba(138,180,255,.45); background: var(--carte-forte); }
.conv-etapes li.actif::before { background: linear-gradient(var(--bleu-clair), var(--orange)); }
.conv-heure { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; color: var(--accent-texte); }
.conv-etapes h3 { margin-top: 6px; font-size: 1.2rem; }
.conv-etapes p { margin-top: 6px; color: var(--texte-secondaire); font-size: .98rem; }
.conv-pause { display: inline-flex; align-items: center; gap: 10px; min-height: var(--cible); margin-top: 22px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ligne-forte); background: transparent; color: var(--texte-secondaire); font: 600 .88rem var(--texte); cursor: pointer; }
.conv-pause:hover { color: var(--blanc); border-color: var(--texte-secondaire); }
.conv-pause[hidden] { display: none; }
.conv-pause[aria-pressed="true"] .cycle-pause-icone { width: 0; height: 0; border-left: 10px solid currentColor; border-right: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

@media (max-width: 900px) {
  .conversation { grid-template-columns: 1fr; justify-items: center; }
  .conv-texte { width: 100%; max-width: 520px; }
}
@media (max-width: 640px) {
  .conv-telephone .telephone { width: 290px; }
}
@media (prefers-reduced-motion: reduce) {
  .msg, .app-notif, .app-tache, .msg-ecrit, .app-placeholder, .app-ecoute { transition: none; }
  .msg-ecrit i, .app-ecoute i, .app-micro { animation: none !important; }
}

/* ---------- Les 5 piliers en scène ---------- */
.scene { position: relative; padding: clamp(88px, 12vw, 160px) 0 clamp(60px, 8vw, 120px); background:
  radial-gradient(50% 30% at 30% 30%, rgba(37,99,235,.12), transparent 70%), var(--fond); }
.scene-grille { display: grid; grid-template-columns: minmax(280px, 0.9fr) 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.scene-telephone { position: sticky; top: calc(50vh - 300px); height: 600px; display: grid; place-items: center; perspective: 1600px; }

/* Téléphone (cadre dessiné en CSS, écrans réels de l'application) */
.telephone { position: relative; width: 290px; padding: 10px; border-radius: 50px; background: linear-gradient(150deg, #2B3240 0%, #12161F 45%, #07090D 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), inset 0 0 0 4px #05070B, 0 50px 100px rgba(0,0,0,.55), 0 0 120px rgba(59,130,246,.14); }
.telephone-ecran { position: relative; overflow: hidden; border-radius: 40px; aspect-ratio: 600 / 1334; background: #000; }
.telephone-ecran img { width: 100%; height: 100%; object-fit: cover; }
.telephone::after { content: ""; position: absolute; inset: 10px; border-radius: 40px; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 32%); }
.telephone-3d { transform: rotateY(var(--ry, -12deg)) rotateX(var(--rx, 5deg)); transform-style: preserve-3d; transition: transform .25s linear; will-change: transform; }
.scene-telephone .ecran { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .6s ease, transform .8s var(--sortie); }
.scene-telephone .ecran.actif { opacity: 1; transform: none; }

/* Écran animé : masquage des noms */
.ecran-masquage { display: flex; flex-direction: column; gap: 10px; padding: 46px 16px 20px; background: radial-gradient(80% 40% at 50% 0%, rgba(59,130,246,.25), transparent 70%), #0A1120; color: var(--nuage); font-size: .8rem; line-height: 1.45; }
.masquage-titre { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris-bleu); }
.masquage-bulle { position: relative; overflow: hidden; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.masquage-bulle mark { background: rgba(249,115,22,.22); color: #FFD9B8; padding: 0 3px; border-radius: 4px; }
.masquage-bulle code { font-family: var(--mono); font-size: .74rem; background: rgba(59,130,246,.25); color: #CFE0FF; padding: 1px 5px; border-radius: 5px; }
.masquage-envoi { border-color: rgba(138,180,255,.35); }
.masquage-envoi::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(138,180,255,.25), transparent); transform: translateX(-100%); }
.ecran-masquage.actif .masquage-envoi::after { animation: balayage 2.8s ease-in-out infinite; }
@keyframes balayage { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.masquage-fleche { display: flex; align-items: center; gap: 8px; font-size: .72rem; color: var(--orange-300); }
.masquage-fleche::before { content: "↓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(249,115,22,.18); }
.masquage-note { margin-top: auto; font-size: .7rem; color: var(--gris-bleu); }

.scene-etapes { display: grid; }
.pilier { padding: clamp(48px, 14vh, 140px) 0; min-height: 78vh; display: flex; flex-direction: column; justify-content: center; scroll-margin-top: 80px; transition: opacity .5s ease; }
.js .scene-etapes .pilier { opacity: .32; }
.js .scene-etapes .pilier.actif, .mouvement-reduit .scene-etapes .pilier { opacity: 1; }
.pilier h3 { margin-top: 14px; font-size: clamp(1.9rem, 3.4vw, 3rem); letter-spacing: -0.035em; line-height: 1.04; }
.pilier-chapo { margin-top: 18px; font-size: 1.12rem; color: var(--texte-secondaire); max-width: 52ch; }
.pilier-visuel { display: none; margin: 0 0 28px; }
.fonctions { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.fonctions li { position: relative; padding-left: 30px; color: var(--texte-secondaire); max-width: 58ch; }
.fonctions li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--bleu-clair); border-bottom: 2.5px solid var(--bleu-clair); transform: rotate(-45deg); }
.fonctions strong { color: var(--texte-principal); font-weight: 600; }
.situation { margin: 28px 0 0; padding: 22px 24px; border-radius: var(--rayon-m); background: var(--carte); border: 1px solid var(--ligne); border-left: 3px solid var(--orange); max-width: 58ch; }
.situation p { color: var(--texte-secondaire); }
.situation strong { color: var(--texte-principal); }
.situation-gain { margin-top: 12px; color: var(--accent-texte) !important; font-weight: 600; }

/* ---------- Schéma animé des 5 piliers (remplace l'infographie) ----------
   Au centre, « votre mémoire » ; autour, les piliers reliés par des flux ; un bouclier entoure le tout. */
.cycle { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; margin: 0 auto clamp(80px, 11vw, 150px); }
.cycle-scene { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; justify-self: center; }
.cycle-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cycle-svg .anneau { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1.2; }
.cycle-svg .bouclier { fill: none; stroke: url(#cycle-bouclier); stroke-width: 1.5; stroke-dasharray: 2 10; stroke-linecap: round; opacity: .45; transform-origin: 300px 300px; animation: tourner 60s linear infinite; transition: opacity .6s ease, stroke-width .6s ease; }
.cycle-svg .bouclier-halo { fill: none; stroke: url(#cycle-bouclier); stroke-width: 14; opacity: 0; filter: blur(10px); transition: opacity .6s ease; }
.cycle[data-actif="5"] .bouclier { opacity: 1; stroke-width: 2.5; stroke-dasharray: 6 6; }
.cycle[data-actif="5"] .bouclier-halo { opacity: .35; }
.cycle-svg .rayon { stroke: rgba(138,180,255,.18); stroke-width: 1.2; stroke-dasharray: 3 7; transition: stroke .5s ease, stroke-width .5s ease; }
.cycle[data-actif="1"] .r1, .cycle[data-actif="2"] .r2, .cycle[data-actif="3"] .r3, .cycle[data-actif="4"] .r4, .cycle[data-actif="5"] .r5 { stroke: #A9C7FF; stroke-width: 2; animation: flux 1.1s linear infinite; filter: drop-shadow(0 0 6px rgba(138,180,255,.8)); }
.cycle-svg .orbite { transform-origin: 300px 300px; }
.cycle-svg .orbite circle { fill: #CFE0FF; filter: drop-shadow(0 0 6px rgba(138,180,255,.9)); }
.cycle-svg .orbite-1 { animation: tourner 9s linear infinite; }
.cycle-svg .orbite-2 { animation: tourner 9s linear infinite; animation-delay: -4.5s; opacity: .7; }
.cycle-svg .orbite-3 circle { fill: #FDBA74; filter: drop-shadow(0 0 6px rgba(249,115,22,.9)); }
.cycle-svg .orbite-3 { animation: tourner 24s linear infinite reverse; }
.cycle-svg .noyau-halo { fill: url(#cycle-noyau); transform-origin: 300px 300px; animation: pulser 4s ease-in-out infinite; }
.cycle-svg .noyau-liens line { stroke: rgba(138,180,255,.28); stroke-width: .7; }
.cycle-svg .etoile { fill: #DCEBFF; }
.cycle-svg .e0 { animation: scintiller 3.2s ease-in-out infinite; }
.cycle-svg .e2 { animation: scintiller 4.1s ease-in-out infinite -1.3s; }
.cycle-svg .e4 { animation: scintiller 2.7s ease-in-out infinite -2.1s; }
@keyframes tourner { to { transform: rotate(360deg); } }
@keyframes flux { to { stroke-dashoffset: 20; } }
@keyframes pulser { 0%, 100% { transform: scale(.92); opacity: .8; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes scintiller { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.cycle-centre { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; text-align: center; font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blanc); text-shadow: 0 0 12px rgba(4,7,13,.9), 0 0 4px rgba(4,7,13,.9); pointer-events: none; }

/* Piliers : boutons posés sur l'anneau (positions calculées pour un rayon de 33,3 %). */
.cycle-onglets { position: absolute; inset: 0; }
.cycle-noeud { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--texte-secondaire); font: 600 .88rem var(--texte); cursor: pointer; touch-action: manipulation; }
.cycle-noeud.n1 { left: 50%; top: 16.67%; }
.cycle-noeud.n2 { left: 81.7%; top: 39.7%; }
.cycle-noeud.n3 { left: 69.6%; top: 76.97%; }
.cycle-noeud.n4 { left: 30.4%; top: 76.97%; }
.cycle-noeud.n5 { left: 18.3%; top: 39.7%; }
.cycle-icone { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(10,17,32,.85); border: 1px solid rgba(138,180,255,.3); color: var(--bleu-clair); box-shadow: 0 0 0 6px rgba(4,7,13,.8); transition: background-color .4s ease, color .4s ease, transform .4s var(--sortie), box-shadow .4s ease, border-color .4s ease; }
.cycle-label { padding: 2px 8px; border-radius: 999px; background: rgba(4,7,13,.75); transition: color .4s ease; }
.cycle-noeud:hover .cycle-icone { border-color: rgba(138,180,255,.7); }
.cycle-noeud[aria-selected="true"] { color: var(--blanc); }
.cycle-noeud[aria-selected="true"] .cycle-icone { background: var(--blanc); color: #0B0F17; border-color: var(--blanc); transform: scale(1.14); box-shadow: 0 0 0 6px rgba(4,7,13,.8), 0 0 40px rgba(138,180,255,.7); }
.cycle-noeud.n5[aria-selected="true"] .cycle-icone { box-shadow: 0 0 0 6px rgba(4,7,13,.8), 0 0 40px rgba(249,115,22,.6); }
.cycle-noeud:focus-visible { outline: none; }
.cycle-noeud:focus-visible .cycle-icone { outline: 3px solid var(--orange); outline-offset: 4px; }

/* Texte du pilier en cours */
.cycle-texte { position: relative; }
.cycle-panneau { animation: apparaitre .6s var(--sortie); }
.cycle-numero { font-family: var(--mono); font-size: .8rem; font-weight: 600; letter-spacing: .12em; color: var(--accent-texte); }
.cycle-panneau h3 { margin-top: 14px; font-size: clamp(1.8rem, 3.2vw, 2.7rem); letter-spacing: -0.035em; line-height: 1.05; }
.cycle-panneau p:not(.cycle-numero) { margin-top: 16px; font-size: 1.12rem; color: var(--texte-secondaire); max-width: 44ch; }
.cycle-panneau a { display: inline-flex; align-items: center; gap: 8px; min-height: var(--cible); margin-top: 18px; font-weight: 600; text-decoration: none; }
.cycle-panneau a::after { content: "↓"; transition: transform var(--duree-rapide) ease; }
.cycle-panneau a:hover { text-decoration: underline; }
.cycle-panneau a:hover::after { transform: translateY(3px); }
@keyframes apparaitre { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
/* Sans JavaScript : tous les piliers restent lisibles, les uns sous les autres. */
html:not(.js) .cycle-panneau[hidden] { display: block; margin-top: 32px; }
.cycle-pause { display: inline-flex; align-items: center; gap: 10px; min-height: var(--cible); margin-top: 28px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ligne-forte); background: transparent; color: var(--texte-secondaire); font: 600 .88rem var(--texte); cursor: pointer; }
.cycle-pause:hover { color: var(--blanc); border-color: var(--texte-secondaire); }
.cycle-pause[hidden] { display: none; }
.cycle-pause-icone { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.cycle-pause[aria-pressed="true"] .cycle-pause-icone { width: 0; height: 0; border-left: 10px solid currentColor; border-right: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
/* Barre de progression vers le pilier suivant */
.cycle-progression { position: absolute; left: 0; right: 0; bottom: -14px; height: 2px; border-radius: 2px; background: var(--ligne); overflow: hidden; }
.cycle-progression::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bleu-clair), var(--orange)); transform-origin: left; transform: scaleX(0); }
.cycle.en-lecture .cycle-progression::after { animation: progression var(--cycle-duree, 5s) linear forwards; }
@keyframes progression { to { transform: scaleX(1); } }

@media (max-width: 900px) {
  .cycle { grid-template-columns: 1fr; gap: 24px; }
  .cycle-scene { max-width: 460px; }
  .cycle-texte { text-align: center; }
  .cycle-panneau p:not(.cycle-numero) { margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
  .cycle-icone { width: 48px; height: 48px; box-shadow: 0 0 0 4px rgba(4,7,13,.8); }
  .cycle-icone svg { width: 20px; height: 20px; }
  .cycle-noeud { font-size: .78rem; gap: 6px; }
  .cycle-centre { font-size: .62rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cycle-svg .bouclier, .cycle-svg .orbite, .cycle-svg .noyau-halo, .cycle-svg .etoile, .cycle-svg .rayon { animation: none !important; }
  .cycle-panneau { animation: none; }
  .cycle-icone, .cycle-panneau a::after { transition: none; }
}

/* ---------- Galerie ---------- */
.galerie { background: radial-gradient(45% 35% at 70% 40%, rgba(249,115,22,.07), transparent 70%), var(--fond); }
.ecrans > li { flex: 0 0 250px; }
.ecrans figure { margin: 0; }
.ecrans .telephone { width: 100%; border-radius: 44px; padding: 9px; }
.ecrans .telephone-ecran, .ecrans .telephone::after { border-radius: 35px; }
.ecrans .telephone::after { inset: 9px; }
.ecrans > li:nth-child(even) { padding-top: 36px; }
.ecrans figcaption { margin-top: 18px; font-size: .95rem; color: var(--texte-secondaire); }
.ecrans figcaption strong { display: block; color: var(--texte-principal); font-family: var(--display); font-size: 1.1rem; }

/* ---------- Avant / avec (bento) ---------- */
.bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento li { padding: 30px; border-radius: var(--rayon-l); background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.015)); border: 1px solid var(--ligne); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 220px; }
.bento li:nth-child(1), .bento li:nth-child(4), .bento li:nth-child(5) { grid-column: span 2; }
.bento .avant { color: var(--texte-discret); text-decoration: line-through; text-decoration-color: rgba(249,115,22,.7); text-decoration-thickness: 1.5px; }
.bento .avec { font-family: var(--display); font-weight: 700; font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.15; letter-spacing: -0.025em; color: var(--blanc); }
.bento .avec::before { content: "→ "; color: var(--bleu-clair); }

/* ---------- Pour qui (clair) ---------- */
.onglets-liste { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 40px; padding: 4px; border-radius: 999px; background: #E6E6EB; }
.onglets-liste [role="tab"] { min-height: var(--cible); padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--apple-texte-2); font: 600 .98rem var(--texte); cursor: pointer; transition: background-color var(--duree-rapide) ease, color var(--duree-rapide) ease; }
.onglets-liste [role="tab"]:hover { color: var(--apple-texte); }
.onglets-liste [aria-selected="true"] { background: var(--blanc); color: var(--apple-texte); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.onglets-panneau:focus-visible { outline-offset: 8px; }
.personas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.personas li { padding: 30px; border-radius: var(--rayon-l); background: var(--blanc); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.05); display: grid; gap: 12px; align-content: start; }
.persona-nom { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.015em; color: var(--apple-texte); }
.persona-douleur { color: var(--apple-texte-2); }
.persona-scene { padding-left: 16px; border-left: 3px solid var(--orange); color: var(--apple-texte); }

/* ---------- Confidentialité ---------- */
.confiance { background: radial-gradient(50% 40% at 50% 0%, rgba(37,99,235,.18), transparent 70%), var(--fond); }
.engagements { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.engagements li { position: relative; padding: 30px; border-radius: var(--rayon-l); background: var(--carte); border: 1px solid var(--ligne); overflow: hidden; }
.engagements li::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, rgba(138,180,255,.7), transparent); }
.engagements h3 { margin-bottom: 10px; color: var(--blanc); }
.engagements p { color: var(--texte-secondaire); font-size: 1rem; }
.nuance { margin: 28px auto 0; max-width: 70ch; text-align: center; font-size: .92rem; color: var(--texte-discret); }

/* ---------- Choix de l'IA ---------- */
.offres-ia { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.offres-ia li { position: relative; padding: 32px 28px; border-radius: var(--rayon-l); background: var(--carte); border: 1px solid var(--ligne); }
.offres-ia .offre-conseillee { background: linear-gradient(var(--nuit), var(--nuit)) padding-box, linear-gradient(140deg, rgba(138,180,255,.9), rgba(249,115,22,.8)) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 80px rgba(37,99,235,.18); }
.offre-badge { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(249,115,22,.14); color: var(--orange-300); font-size: .8rem; font-weight: 600; }
.offres-ia h3 { font-size: 1.45rem; }
.offres-ia dl { margin: 22px 0 0; display: grid; gap: 4px; }
.offres-ia dt { margin-top: 12px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-discret); }
.offres-ia dd { margin: 0; color: var(--texte-principal); }
.note-discrete { margin-top: 22px; font-size: .92rem; color: var(--texte-discret); }

/* ---------- FAQ (clair) ---------- */
.faq-grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grille .tete-section { position: sticky; top: 110px; }
.faq { border-top: 1.5px solid var(--apple-texte); }
.faq details { border-bottom: 1px solid var(--apple-ligne); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 68px; padding: 18px 0; font-weight: 600; font-size: 1.08rem; color: var(--apple-texte); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #E6E6EB; color: var(--apple-texte); font-size: 1.3rem; font-weight: 500; transition: transform var(--duree-rapide) ease, background-color var(--duree-rapide) ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--apple-texte); color: var(--blanc); }
.faq details p { padding: 0 48px 22px 0; color: var(--apple-texte-2); max-width: 68ch; }

/* ---------- Appel final ---------- */
.final { overflow: hidden; }
.final-halo { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 50% at 50% 50%, rgba(37,99,235,.28), transparent 70%), radial-gradient(25% 30% at 62% 60%, rgba(249,115,22,.16), transparent 70%); }
.final-carte { position: relative; max-width: 860px; margin: 0 auto; text-align: center; }
.final-carte .repere { justify-content: center; }
.final-carte h2 { margin-top: 18px; font-size: clamp(2.6rem, 6.4vw, 5.6rem); letter-spacing: -0.045em; line-height: .98; }
.final-carte > p:not(.repere):not(.note) { margin: 22px auto 0; max-width: 54ch; font-size: 1.15rem; color: var(--texte-secondaire); }
.final-avantages { list-style: none; margin: 32px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.final-avantages li { padding: 18px 20px; border-radius: var(--rayon-m); background: var(--carte); border: 1px solid var(--ligne); color: var(--texte-secondaire); font-size: .98rem; }
.final .actions { margin-top: 36px; display: flex; justify-content: center; }
.final .note { margin: 16px auto 0; max-width: 60ch; font-size: .92rem; color: var(--texte-discret); }
.final .note a { overflow-wrap: anywhere; }
.stores { list-style: none; margin: 28px 0 0; padding: 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.store { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 54px; padding: 8px 18px; border-radius: 14px; border: 1.5px dashed var(--ligne-forte); color: var(--texte-secondaire); font-size: .82rem; line-height: 1.25; }
.store strong { font-size: 1rem; color: var(--texte-principal); }

/* ---------- Pied de page ---------- */
.pied { background: var(--noir-bleu); color: var(--gris-bleu); padding: 56px 0 44px; font-size: .92rem; border-top: 1px solid rgba(255,255,255,.08); }
.pied .conteneur { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.pied a { color: var(--nuage); text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.pied nav a { display: inline-flex; align-items: center; min-height: var(--cible); }
.pied .marque { font-size: 1.1rem; margin-bottom: 6px; }
.pied :focus-visible { outline-color: var(--orange); }

/* ---------- Pages légales ---------- */
.page-legale { background: var(--apple-fond); }
.page-legale main { background: var(--apple-fond); color: var(--apple-texte); }
.page-legale .entete-page { position: relative; overflow: hidden; background: radial-gradient(50% 120% at 20% 0%, rgba(37,99,235,.28), transparent 70%), var(--noir-bleu); color: var(--blanc); padding: 72px 0 56px; --focus: var(--orange); }
.page-legale .entete-page h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.035em; }
.page-legale .entete-page p { margin-top: 14px; color: var(--gris-bleu); }
.legal { max-width: 72ch; padding: 56px 0 96px; }
.legal h2 { font-size: 1.6rem; margin: 52px 0 14px; letter-spacing: -0.02em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.12rem; margin: 28px 0 8px; }
.legal p, .legal li { color: #2B2D33; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; margin: 12px 0; }
.legal li + li { margin-top: 6px; }
.legal a { overflow-wrap: anywhere; }
.legal .table-defile { overflow-x: auto; margin: 12px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--apple-ligne); color: #2B2D33; }
.legal thead th { font-family: var(--display); border-bottom: 1.5px solid var(--apple-texte); color: var(--apple-texte); }
.a-completer { background: #FFF1E6; color: var(--orange-700); font-weight: 600; padding: 0 6px; border-radius: 4px; }
.encadre { background: var(--blanc); border: 1px solid var(--apple-ligne); border-radius: var(--rayon-m); padding: 20px 24px; margin: 20px 0; }
.legal .bouton { background: var(--apple-texte); color: var(--blanc); }

/* ---------- Grands écrans moyens ---------- */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .douleurs > li { flex-basis: calc((100% - 18px) / 2); }
  .carrousel-precedent { left: -12px; }
  .carrousel-suivant { right: -12px; }
  .engagements, .offres-ia { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Tablette ---------- */
@media (max-width: 900px) {
  .accueil .nav a:not(.bouton) { display: none; }
  .accueil .menu-mobile { display: block; }
  .accueil .entete .conteneur > .marque { margin-right: auto; }
  .etapes { grid-template-columns: 1fr; }
  .scene-grille { grid-template-columns: 1fr; }
  .scene-telephone { display: none; }
  .pilier { min-height: 0; padding: 56px 0; border-top: 1px solid var(--ligne); }
  .js .scene-etapes .pilier { opacity: 1; }
  .pilier-visuel { display: block; }
  .pilier-visuel .telephone { width: 230px; margin: 0 auto; border-radius: 42px; padding: 8px; }
  .pilier-visuel .telephone-ecran, .pilier-visuel .telephone::after { border-radius: 34px; }
  .pilier-visuel .telephone::after { inset: 8px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento li:nth-child(n) { grid-column: auto; }
  .bento li:nth-child(1) { grid-column: span 2; }
  .personas { grid-template-columns: 1fr; }
  .faq-grille { grid-template-columns: 1fr; }
  .faq-grille .tete-section { position: static; }
  .final-avantages { grid-template-columns: 1fr; }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .accueil .nav { display: none; }
  .page-legale .nav a:not(.bouton) { display: none; }
  .heros { padding-top: 110px; }
  .heros .actions .bouton { flex: 1 1 100%; }
  .heros-visage { width: 118vw; margin-left: -9vw; margin-top: -10px; }
  .onde { height: 70px; margin-top: -90px; }
  .promesses { grid-template-columns: 1fr; text-align: left; }
  .promesses li + li { border-left: 0; border-top: 1px solid var(--ligne); }
  .douleurs > li { flex-basis: 86%; padding: 24px; }
  .carrousel-bouton { width: 44px; height: 44px; }
  .carrousel-precedent { left: 4px; }
  .carrousel-suivant { right: 4px; }
  .ecrans > li { flex-basis: 70%; }
  .ecrans > li:nth-child(even) { padding-top: 0; }
  .bento { grid-template-columns: 1fr; }
  .bento li:nth-child(n) { grid-column: auto; min-height: 0; }
  .engagements, .offres-ia { grid-template-columns: 1fr; }
  .onglets-liste { border-radius: 22px; }
  .onglets-liste [role="tab"] { padding: 0 16px; }
  .personas li, .engagements li, .bento li { padding: 24px; }
  .demo { padding: 16px; }
  .demo .micro { display: none; }
  .demo .fleche, .fiche, .demo .reponse { margin-left: 0; }
  .faq details p { padding-right: 0; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .onde path { animation: none; stroke-dashoffset: 0; }
  .heros-texte, .visage-cadre { transform: none; opacity: 1; }
  .telephone-3d { transform: rotateY(-8deg) rotateX(3deg); transition: none; }
  .scene-telephone .ecran { transition: none; }
  .ecran-masquage.actif .masquage-envoi::after { animation: none; }
  .manifeste-texte .mot { color: var(--texte-principal); transition: none; }
  .bouton, .carrousel-bouton, .douleurs > li, .douleurs a::after, .faq summary::after, .menu-mobile summary::after { transition: none; }
  .bouton:active, .carrousel-bouton:active { transform: translateY(-50%); }
  .bouton:active { transform: none; }
}
