/* ============================================================
   OPTERIA : page « Agence d’automatisation IA » (/automatisation), refonte du design du 18/10/2026 (demande Axel : « très fade »).
   Références : gleap.ai (maquettes vivantes sur peinture, rythme des sections, survols) et la page Dia × Google
   (scènes numérotées avec pastille, grandes cartes peintes, bulle de demande en langage naturel, navigation par points).
   Préfixe au- : rien ici ne touche aux autres pages. Aucune ombre portée, filets de 1 px seulement.
   Mode nuit : on reprend les variables du thème (--paper, --ink, --g-100…) ; les maquettes d’interface (.au-ui) restent blanches.
   ============================================================ */

.page-auto-ia { --au-o: #FB4D17; --au-o-fonce: #c93d10; --au-muet: rgba(53,53,53,.72); --au-pale: rgba(41,41,41,.22); --au-gris: #f3f3ef; --au-gris-2: #e8e8e2; --au-vert: #2f9a4c; --au-large: 1240px; }
html[data-theme="nuit"] .page-auto-ia { --au-muet: rgba(255,255,255,.7); --au-pale: rgba(255,255,255,.2); --au-gris: #1c1c1c; --au-gris-2: #2a2a2a; }
.page-auto-ia main, .page-auto-ia section, .page-auto-ia header.au-hero { position: relative; }
.page-auto-ia .wrap { max-width: var(--au-large); }

/* ---------- Apparitions au défilement (contenu visible si le JS ne tourne pas) ---------- */
html.js .page-auto-ia .au-r { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .9s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
html.js .page-auto-ia .au-r.is-in { opacity: 1; transform: none; }

/* ---------- Petits éléments communs ---------- */
.au-pastille { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 13px 6px 9px; border-radius: 99px; background: var(--au-gris); color: var(--ink); font-size: 13px; font-weight: 500; letter-spacing: .01em; line-height: 1.2; }
.au-pastille i { width: 8px; height: 8px; border-radius: 50%; background: var(--au-o); flex: none; }
.au-pastille--doux { background: transparent; border: 1px solid var(--line); }
.au-h1 { margin: 0; font-size: clamp(38px, 5.4vw, 78px); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.au-h2 { margin: 0; font-size: clamp(32px, 3.6vw, 52px); font-weight: 400; line-height: 1.06; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.au-p { margin: 22px 0 0; font-size: 19px; line-height: 1.5; color: var(--au-muet); }
.au-sec { padding: clamp(88px, 11vw, 160px) 0 0; background: var(--paper); }
.au-tete { max-width: 780px; margin-bottom: clamp(44px, 5vw, 72px); }
.au-tete--centre { margin-left: auto; margin-right: auto; text-align: center; }
.au-centre { justify-content: center; }
.au-lien-txt { color: inherit; text-decoration: underline; text-decoration-color: var(--au-o); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color .2s ease; }
.au-lien-txt:hover { color: var(--au-o); }
.au-lien { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px 0 22px; border-radius: 99px; background: var(--au-gris); color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; transition: background .25s ease, color .25s ease; }
.au-lien svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.au-lien:hover { background: #191919; color: #fff; }
.au-lien:hover svg { transform: translateX(4px); }
html[data-theme="nuit"] .page-auto-ia .au-lien:hover { background: #fff; color: #141414; }
.au-peint { position: absolute; inset: -6%; z-index: 0; background: var(--peint) var(--pos, center) / cover no-repeat; transform: translate3d(0, var(--px, 0px), 0) scale(1.02); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); pointer-events: none; }

/* Maquettes d’interface : blanches dans les deux modes, couleurs du jour */
.au-ui { position: relative; z-index: 1; background: #fff; color: #353535; border: 1px solid rgba(0,0,0,.08); border-radius: 18px; --ink: #292929; --texte: #353535; --line: rgba(0,0,0,.1); --au-muet: rgba(53,53,53,.72); --au-gris: #f3f3ef; --au-gris-2: #e8e8e2; color-scheme: light; }
.au-ui__barre { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 16px; border-bottom: 1px solid rgba(0,0,0,.07); font-size: 14px; color: #292929; }
.au-ui__barre b { font-weight: 500; }
.au-ui__points { display: inline-flex; gap: 6px; }
.au-ui__points i { width: 10px; height: 10px; border-radius: 50%; background: #e2e2dc; }
.au-direct { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #6f6f6c; }
.au-direct i { width: 7px; height: 7px; border-radius: 50%; background: var(--au-vert); animation: au-pouls 1.8s ease-in-out infinite; }
@keyframes au-pouls { 50% { opacity: .35; } }
.au-statut { margin-left: auto; flex: none; padding: 4px 10px; border-radius: 99px; background: rgba(47,154,76,.12); color: #23773a; font-size: 12px; font-style: normal; font-weight: 500; white-space: nowrap; }
.au-statut--attente { background: rgba(251,77,23,.11); color: var(--au-o-fonce); }

/* ---------- Barre de lecture et navigation par points ---------- */
.au-progres { position: fixed; inset: 0 0 auto; z-index: 120; height: 2px; pointer-events: none; }
.au-progres i { display: block; height: 100%; background: var(--au-o); transform-origin: 0 50%; transform: scaleX(var(--lu, 0)); }
.au-points { position: fixed; left: 26px; top: 50%; z-index: 90; display: none; flex-direction: column; gap: 12px; transform: translateY(-50%); opacity: 0; transition: opacity .4s ease; }
.au-points.is-visible { opacity: 1; }
.au-points a { position: relative; display: block; width: 8px; height: 8px; border-radius: 99px; background: var(--au-pale); transition: height .35s cubic-bezier(.2,.7,.2,1), background .3s ease; }
.au-points a::before { content: ""; position: absolute; inset: -8px; }
.au-points a.is-on { height: 24px; background: var(--ink); }
.au-points a span { position: absolute; left: 20px; top: 50%; padding: 5px 10px; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: 12px; white-space: nowrap; transform: translate(-6px, -50%); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.au-points a:hover span, .au-points a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
@media (min-width: 1360px) { .au-points { display: flex; } }

/* ================= HÉROS ================= */
.au-hero { padding: clamp(64px, 8vw, 112px) 0 0; background: var(--paper); text-align: center; overflow: hidden; }
.au-hero__tete { max-width: 1040px; margin: 0 auto; }
.au-hero__sous { max-width: 760px; margin: 28px auto 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--au-muet); }
.au-preuves { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink); }
.au-preuves li { display: inline-flex; align-items: center; gap: 8px; }
.au-preuves svg, .au-questions__r svg { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--au-o); fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.au-hero__actions { justify-content: center; margin-top: 34px; }

/* Scène de démonstration */
.au-demo { position: relative; margin: clamp(48px, 6vw, 80px) auto 0; max-width: var(--au-large); height: clamp(560px, 46vw, 640px); border-radius: 32px; overflow: hidden; isolation: isolate; text-align: left; }
.au-demo__fen { position: absolute; left: 50%; top: 92px; width: min(820px, calc(100% - 48px)); transform: translateX(-50%); overflow: hidden; }
.au-demo__corps { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 330px; }
.au-demo__corps > .au-bulle, .au-demo__corps > .au-etapes { grid-column: 1; }
.au-demo__corps > .au-resultat, .au-demo__corps > .au-valider { grid-column: 2; }
.au-bulle { grid-row: 1; margin: 20px 20px 0; padding: 14px 16px; border-radius: 14px; background: #f3f3ef; }
.au-bulle__qui { display: block; margin-bottom: 4px; font-size: 12px; color: #8e8e8a; }
.au-bulle p { margin: 0; font-size: 15px; line-height: 1.45; color: #292929; min-height: 2.9em; }
.au-etapes { grid-row: 2; margin: 14px 20px 20px; padding: 0; list-style: none; display: grid; gap: 8px; align-content: start; }
.au-etapes li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid rgba(0,0,0,.07); border-radius: 12px; font-size: 13.5px; color: #353535; transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.au-etapes li img { margin-left: auto; opacity: .9; }
.au-etat { position: relative; width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.6px solid #d6d6d0; }
.au-etapes li.is-fait .au-etat { border-color: var(--au-vert); background: var(--au-vert); }
.au-etapes li.is-fait .au-etat::after { content: ""; position: absolute; left: 5px; top: 2.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.au-etapes li.is-cours .au-etat { border-color: #d6d6d0; border-top-color: var(--au-o); animation: au-tourne .8s linear infinite; }
@keyframes au-tourne { to { transform: rotate(360deg); } }
.au-resultat { grid-row: 1 / span 2; align-self: start; margin: 20px 20px 0 0; padding: 18px; border-radius: 14px; border: 1px solid rgba(0,0,0,.08); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.au-resultat__titre { margin: 0 0 12px; font-size: 22px; letter-spacing: -.02em; line-height: 1.15; color: #292929; }
.au-resultat ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.au-resultat li { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; padding: 9px 0; border-top: 1px solid rgba(0,0,0,.07); font-size: 13.5px; }
.au-resultat li b { font-weight: 500; color: #292929; }
.au-resultat li span { grid-column: 1; color: #8e8e8a; font-size: 12.5px; }
.au-resultat li em { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding: 4px 10px; border-radius: 99px; background: rgba(47,154,76,.12); color: #23773a; font-size: 12px; font-style: normal; font-weight: 500; }
.au-resultat li em.is-attente { background: rgba(251,77,23,.11); color: var(--au-o-fonce); }
.au-valider { grid-row: 3; grid-column: 1 / -1 !important; display: flex; align-items: center; gap: 12px; margin: 16px 20px 20px; padding: 12px 12px 12px 16px; border-radius: 14px; background: #191919; color: #fff; font-size: 14px; transition: background .4s ease; }
.au-valider__lab { display: inline-flex; align-items: center; gap: 8px; }
.au-valider__lab::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--au-o); animation: au-pouls 1.4s ease-in-out infinite; }
.au-valider__btns { margin-left: auto; display: inline-flex; gap: 8px; }
.au-mini { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 99px; background: #fff; color: #191919; font-size: 13px; font-weight: 500; transition: transform .2s ease, background .2s ease; }
.au-mini--ghost { background: #353535; color: #fff; }
.au-mini.is-clic { transform: scale(.92); background: var(--au-o); color: #fff; }
.au-valider__fait { display: none; align-items: center; gap: 8px; }
.au-valider__fait svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--au-vert); fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.au-valider.is-fait { background: #23773a; }
.au-valider.is-fait .au-valider__lab, .au-valider.is-fait .au-valider__btns { display: none; }
.au-valider.is-fait .au-valider__fait { display: inline-flex; animation: au-entre .45s cubic-bezier(.2,.7,.2,1); }
@keyframes au-entre { from { opacity: 0; transform: translateY(6px); } }
/* états pilotés par automatisation.js */
.au-demo.is-joue .au-etapes li:not(.is-fait):not(.is-cours) { opacity: .35; }
.au-demo.is-joue .au-resultat:not(.is-pret) { opacity: 0; transform: translateY(12px); }
.au-demo.is-joue .au-valider:not(.is-pret) { opacity: .25; }
.au-demo__onglets { position: absolute; left: 50%; top: 26px; z-index: 2; display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transform: translateX(-50%); }
.au-demo__onglets span { position: relative; padding: 8px 16px; border-radius: 99px; font-size: 13.5px; color: #555; white-space: nowrap; cursor: pointer; transition: background .3s ease, color .3s ease; overflow: hidden; }
.au-demo__onglets span.is-on { background: #fff; color: #191919; }
.au-demo__onglets span.is-on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--au-o); transform-origin: 0 50%; animation: au-minuteur var(--duree, 7s) linear forwards; }
@keyframes au-minuteur { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.au-demo__bobby { position: absolute; z-index: 3; left: calc(50% + 424px); bottom: -14px; width: clamp(120px, 13vw, 176px); height: auto; transform-origin: 50% 100%; animation: au-respire 4.5s ease-in-out infinite; }
@keyframes au-respire { 50% { transform: translateY(-6px) rotate(-2deg); } }
.au-flotte { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border-radius: 99px; background: #fff; color: #292929; font-size: 13px; font-weight: 500; animation: au-flotte 6s ease-in-out infinite; }
.au-flotte--1 { left: 4%; top: 32%; }
.au-flotte--2 { left: 7%; top: 62%; animation-delay: -2s; }
.au-flotte--3 { right: 4%; top: 20%; animation-delay: -4s; }
.au-flotte--4 { right: 7%; top: 38%; animation-delay: -1s; }
@keyframes au-flotte { 50% { transform: translateY(-10px); } }

/* ================= EN BREF + AVANT / APRÈS ================= */
.au-bref { padding: clamp(96px, 11vw, 168px) 0 0; background: var(--paper); }
.au-bref .wrap { max-width: 1120px; }
.au-bref__texte { margin: 0; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.18; letter-spacing: -.025em; color: var(--ink); }
.au-bref__texte strong { font-weight: 400; }
html.js .au-bref__texte.is-mots .au-mot { color: var(--au-pale); transition: color .35s ease; }
html.js .au-bref__texte.is-mots .au-mot.on { color: var(--ink); }
html.js .au-bref__texte.is-mots strong .au-mot.on { color: var(--ink); }
html.js .au-bref__texte.is-mots :not(strong) > .au-mot.on { color: var(--au-muet); }

.au-duel { margin-top: clamp(64px, 7vw, 104px); padding: clamp(24px, 3vw, 40px); border-radius: 32px; background: var(--au-gris); }
.au-duel__tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.au-duel__titre { margin: 0; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.au-duel__titre span { color: var(--au-o); }
.au-bascule { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); }
.au-bascule button { position: relative; z-index: 1; height: 40px; padding: 0 20px; border: 0; border-radius: 99px; background: none; color: var(--au-muet); font: inherit; font-size: 14px; cursor: pointer; transition: color .3s ease; }
.au-bascule button[aria-pressed="true"] { color: #fff; }
.au-bascule__curseur { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px; background: #191919; transition: transform .5s cubic-bezier(.65,0,.35,1), background .4s ease; }
.au-duel.is-bobby .au-bascule__curseur { transform: translateX(100%); background: var(--au-o); }
html[data-theme="nuit"] .au-bascule__curseur { background: #3a3a3a; }
.au-duel__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.au-duel__col { padding: 26px; border-radius: 22px; background: var(--paper); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.au-duel__lab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; font-size: 18px; color: var(--ink); }
.au-duel__lab small { font-size: 13px; color: var(--au-muet); }
.au-duel__col ul { margin: 0; padding: 0; list-style: none; }
.au-duel__col li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--texte); }
.au-duel__col li i { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--au-gris); color: var(--au-muet); font-size: 13px; font-style: normal; transition: background .4s ease, color .4s ease; }
.au-duel__col--bobby li i { background: rgba(251,77,23,.12); color: var(--au-o); }
html.js .au-duel.is-pret .au-duel__col--main { opacity: 1; }
html.js .au-duel.is-pret .au-duel__col--bobby { opacity: .38; }
html.js .au-duel.is-pret.is-bobby .au-duel__col--main { opacity: .38; }
html.js .au-duel.is-pret.is-bobby .au-duel__col--bobby { opacity: 1; }
html.js .au-duel.is-pret.is-bobby .au-duel__col--bobby li i { background: var(--au-o); color: #fff; }
.au-duel__col--main li { transition: color .5s ease; }
html.js .au-duel.is-bobby .au-duel__col--main li { text-decoration: line-through; text-decoration-color: rgba(251,77,23,.6); }

/* ================= DÉFINITION ================= */
.au-def__grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.au-def__texte { position: sticky; top: 120px; }
.au-def__texte > p:not(.au-pastille) { margin: 22px 0 0; font-size: 18px; line-height: 1.6; color: var(--au-muet); }
.au-def__texte .au-h2 { margin-bottom: 6px; }
.au-def__visuels { display: grid; gap: 18px; }
.au-flux { position: relative; padding: 28px; border-radius: 28px; background: var(--au-gris); overflow: hidden; isolation: isolate; }
.au-flux__lab { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 14px; color: var(--au-muet); }
.au-flux__lab span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 11px; }
.au-flux__ligne { display: flex; align-items: center; gap: 0; margin-top: 12px; }
.au-noeud { display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-size: 14px; line-height: 1.3; }
.au-noeud svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.au-noeud--ok svg { background: var(--au-vert); }
.au-noeud--ko { color: #b5361f; border-color: rgba(214,69,40,.35); }
html[data-theme="nuit"] .au-noeud--ko { color: #ff8a6c; }
.au-noeud--ko svg { background: #d64528; }
.au-noeud--mail { max-width: 230px; font-style: italic; }
.au-fleche { position: relative; flex: 1 1 40px; min-width: 28px; height: 2px; margin: 0 8px; background: linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0 / 10px 2px repeat-x; }
.au-fleche::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--line-2); border-right: 0; }
.au-flux.is-in .au-fleche { animation: au-pointilles 1s linear infinite; }
@keyframes au-pointilles { to { background-position: 10px 0; } }
.au-flux__ligne--casse .au-fleche { background-size: 6px 2px; opacity: .6; }
html.js .au-flux--regle .au-flux__ligne { opacity: 0; transform: translateX(-12px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
html.js .au-flux--regle.is-in .au-flux__ligne { opacity: 1; transform: none; }
html.js .au-flux--regle.is-in .au-flux__ligne--casse { transition-delay: .7s; }
html.js .au-flux--regle.is-in .au-noeud--ko { animation: au-secoue .5s ease 1.6s 1; }
@keyframes au-secoue { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
.au-flux--ia { padding: 40px; min-height: 360px; display: grid; place-items: center; background: none; }
.au-flux__ui { width: 100%; max-width: 440px; padding: 22px; }
.au-flux__ui .au-flux__lab { color: #6f6f6c; }
.au-flux__ui .au-flux__lab span { background: #191919; color: #fff; }
.au-flux__mail { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #f3f3ef; font-size: 15px; font-style: italic; color: #292929; }
.au-flux__pas { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.au-flux__pas li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #353535; }
.au-flux__pas li i { position: relative; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--au-vert); }
.au-flux__pas li i::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.au-flux__pas .au-flux__fin { margin-top: 6px; padding: 10px 12px; border-radius: 12px; background: #191919; color: #fff; }
.au-flux__pas .au-flux__fin i { background: var(--au-o); animation: au-pouls 1.4s ease-in-out infinite; }
.au-flux__pas .au-flux__fin i::after { display: none; }
html.js .au-flux--ia .au-flux__pas li { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
html.js .au-flux--ia.is-in .au-flux__pas li { opacity: 1; transform: none; }
html.js .au-flux--ia.is-in .au-flux__pas li:nth-child(1) { transition-delay: .5s; }
html.js .au-flux--ia.is-in .au-flux__pas li:nth-child(2) { transition-delay: 1s; }
html.js .au-flux--ia.is-in .au-flux__pas li:nth-child(3) { transition-delay: 1.5s; }
html.js .au-flux--ia.is-in .au-flux__pas li:nth-child(4) { transition-delay: 2.1s; }
.au-citation { grid-column: 1 / -1; margin: clamp(24px, 4vw, 56px) 0 0; padding: 0 0 0 clamp(20px, 3vw, 40px); border-left: 2px solid var(--au-o); }
.au-citation p { margin: 0; max-width: 1000px; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.3; letter-spacing: -.02em; color: var(--au-muet); }
.au-citation span { color: var(--ink); background: linear-gradient(transparent 62%, rgba(251,77,23,.22) 0) 0 0 / 0 100% no-repeat; transition: background-size 1.4s cubic-bezier(.2,.7,.2,1) .4s; }
.au-citation.is-in span, html:not(.js) .au-citation span { background-size: 100% 100%; }

/* ================= SCÈNES MÉTIER (façon Dia, en alternance façon gleap) ================= */
.au-scene { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "toile num" "toile titre" "toile txt"; grid-template-rows: auto auto 1fr; column-gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(80px, 9vw, 140px); }
.au-scene:first-of-type { margin-top: 0; }
.au-scene:nth-of-type(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "num toile" "titre toile" "txt toile"; }
.au-scene__num { grid-area: num; display: inline-flex; align-items: center; gap: 10px; justify-self: start; margin: 40px 0 18px; padding: 5px 14px 5px 5px; border-radius: 99px; background: var(--au-gris); font-size: 13px; color: var(--au-muet); letter-spacing: .02em; text-transform: uppercase; }
.au-scene__num span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 12px; text-transform: none; }
.au-scene__titre { grid-area: titre; margin: 0 0 24px; font-size: clamp(30px, 3vw, 44px); font-weight: 400; line-height: 1.08; letter-spacing: -.03em; color: var(--ink); }
.au-scene__txt { grid-area: txt; display: grid; gap: 20px; align-content: start; justify-items: start; }
.au-scene__txt p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--au-muet); }
.au-scene__txt div > p:not(.au-scene__lab) { color: var(--texte); }
html[data-theme="nuit"] .au-scene__txt div > p:not(.au-scene__lab) { color: rgba(255,255,255,.88); }
.au-scene__lab { margin: 0 0 6px !important; font-size: 13px !important; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--au-o) !important; }
.au-scene__lab--vous { color: var(--au-muet) !important; }
.au-scene__toile { grid-area: toile; position: relative; min-height: 540px; border-radius: 32px; overflow: hidden; isolation: isolate; }
.au-scene__toile:hover .au-peint { transform: translate3d(0, var(--px, 0px), 0) scale(1.08); }
.au-doc { position: absolute; left: 50%; top: 44px; width: min(480px, calc(100% - 56px)); padding: 22px 22px 90px; transform: translateX(-50%); }
.au-doc__tete { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #8e8e8a; }
.au-doc__cadenas { display: inline-flex; align-items: center; gap: 6px; text-transform: none; letter-spacing: 0; font-size: 12px; color: #23773a; }
.au-doc__cadenas svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.au-doc__titre { margin: 0 0 18px; font-size: clamp(22px, 2vw, 28px); line-height: 1.12; letter-spacing: -.025em; color: #191919; }
.au-doc__titre span { color: #8e8e8a; }
.au-lignes { margin: 0; padding: 0; list-style: none; }
.au-lignes li { display: grid; grid-template-columns: 28px 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid rgba(0,0,0,.07); font-size: 14px; }
.au-lignes li > img, .au-lignes li > .au-pastille-ico { grid-row: 1 / span 2; justify-self: center; }
.au-lignes li b { font-weight: 500; color: #292929; }
.au-lignes li span:not(.au-pastille-ico) { grid-column: 2; color: #8e8e8a; font-size: 12.5px; }
.au-lignes li em { grid-column: 3; grid-row: 1 / span 2; }
.au-pastille-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #f3f3ef; color: #6f6f6c; font-size: 11px; font-weight: 500; }
.au-coches { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.au-coches li { position: relative; padding: 10px 0 10px 32px; border-top: 1px solid rgba(0,0,0,.07); font-size: 14px; color: #292929; }
.au-coches li::before { content: ""; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--au-vert); }
.au-coches li::after { content: ""; position: absolute; left: 7px; top: 13.5px; width: 4.5px; height: 9px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.au-coches li.is-attente::before { background: var(--au-o); }
.au-coches li.is-attente::after { left: 9px; top: 15px; width: 2px; height: 6px; border: 0; background: #fff; transform: none; box-shadow: none; }
.au-nav { display: flex; align-items: center; gap: 12px; margin: -6px -6px 18px; padding: 8px 10px; border-radius: 12px; background: #f3f3ef; }
.au-nav__url { flex: 1; padding: 5px 12px; border-radius: 99px; background: #fff; font-size: 12.5px; color: #6f6f6c; }
.au-diff { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; }
.au-diff li { padding: 9px 12px; border-radius: 10px; }
.au-diff__moins { background: rgba(214,69,40,.08); color: #8e8e8a; text-decoration: line-through; }
.au-diff__plus { background: rgba(47,154,76,.1); color: #1f5f30; }
.au-doc__photo { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; border: 1px dashed rgba(0,0,0,.14); }
.au-doc__photo span { width: 64px; height: 46px; flex: none; border-radius: 8px; background: var(--peinture-3) 40% 60% / cover; }
.au-doc__photo p { margin: 0; font-size: 14px; color: #292929; }
.au-doc__photo small { display: block; color: #8e8e8a; font-size: 12.5px; }
.au-demande { position: absolute; z-index: 2; left: 50%; bottom: 28px; width: min(520px, calc(100% - 40px)); padding: 16px 18px 12px; transform: translateX(-50%); border-radius: 16px; }
.au-demande p { margin: 0 0 12px; font-size: 16px; line-height: 1.45; color: #191919; min-height: 2.9em; }
.au-demande p.is-tape::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: #191919; animation: au-curseur 1s steps(1) infinite; }
@keyframes au-curseur { 50% { opacity: 0; } }
.au-demande__pied { display: flex; align-items: center; gap: 6px; padding-top: 10px; border-top: 1px solid rgba(0,0,0,.07); font-size: 12.5px; color: #8e8e8a; }
.au-demande__pied img:last-of-type { margin-right: 4px; }
.au-demande--vocal { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; }
.au-demande--vocal p, .au-demande--vocal .au-demande__pied { grid-column: 2; }
.au-onde { grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 3px; width: 46px; height: 46px; justify-content: center; border-radius: 50%; background: var(--au-o); }
.au-onde i { width: 3px; height: 8px; border-radius: 2px; background: #fff; animation: au-onde 1s ease-in-out infinite; }
.au-onde i:nth-child(2) { animation-delay: -.2s; } .au-onde i:nth-child(3) { animation-delay: -.4s; } .au-onde i:nth-child(4) { animation-delay: -.6s; } .au-onde i:nth-child(5) { animation-delay: -.8s; } .au-onde i:nth-child(6) { animation-delay: -.3s; } .au-onde i:nth-child(7) { animation-delay: -.5s; }
@keyframes au-onde { 50% { height: 20px; } }
/* les lignes de la maquette arrivent l’une après l’autre quand la scène entre à l’écran */
html.js .au-scene__toile :is(.au-lignes li, .au-coches li, .au-diff li, .au-doc__photo) { opacity: 0; transform: translateY(10px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
html.js .au-scene__toile.is-in :is(.au-lignes li, .au-coches li, .au-diff li, .au-doc__photo) { opacity: 1; transform: none; }
html.js .au-scene__toile.is-in :is(.au-lignes, .au-coches, .au-diff) li:nth-child(1) { transition-delay: .5s; }
html.js .au-scene__toile.is-in :is(.au-lignes, .au-coches, .au-diff) li:nth-child(2) { transition-delay: .7s; }
html.js .au-scene__toile.is-in :is(.au-lignes, .au-coches, .au-diff) li:nth-child(3) { transition-delay: .9s; }
html.js .au-scene__toile.is-in :is(.au-lignes, .au-coches, .au-diff) li:nth-child(4) { transition-delay: 1.1s; }
html.js .au-scene__toile.is-in :is(.au-lignes, .au-coches, .au-diff) li:nth-child(5) { transition-delay: 1.3s; }
html.js .au-scene__toile.is-in .au-doc__photo { transition-delay: 1.2s; }
html.js .au-scene__toile .au-statut { transform: scale(.6); opacity: 0; transition: transform .45s cubic-bezier(.3,1.5,.5,1), opacity .3s ease; }
html.js .au-scene__toile.is-in .au-statut { transform: none; opacity: 1; transition-delay: 1.6s; }
.au-note { margin: clamp(56px, 6vw, 88px) auto 0; max-width: 640px; text-align: center; font-size: 15px; color: var(--au-muet); }

/* ================= QUIZ ================= */
.au-quiz-sec { padding-top: clamp(88px, 11vw, 160px); }
.au-quiz-sec__toile { position: relative; padding: clamp(56px, 7vw, 104px) 0; overflow: hidden; isolation: isolate; border-radius: 40px; margin: 0 clamp(8px, 1.5vw, 24px); }
.au-quiz { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); padding: clamp(24px, 4vw, 56px); border-radius: 28px; }
.au-quiz__tete { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.au-quiz__tete .au-pastille { background: #f3f3ef; color: #292929; }
.au-quiz__tete .au-h2 { color: #292929; }
.au-quiz__tete .au-h2 .g { color: rgba(41,41,41,.5); }
.au-quiz__bobby { width: clamp(110px, 12vw, 160px); height: auto; margin-top: auto; padding-top: 28px; transform-origin: 50% 100%; animation: au-respire 4.5s ease-in-out infinite; }
.au-quiz__zone { position: relative; min-height: 470px; }
.au-quiz__fil { display: none; gap: 6px; margin-bottom: 26px; }
html.js .au-quiz__fil { display: flex; }
.au-quiz__fil span { flex: 1; height: 3px; border-radius: 3px; background: #e8e8e2; overflow: hidden; }
.au-quiz__fil span::after { content: ""; display: block; height: 100%; background: #191919; transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.au-quiz__fil span.is-on::after { transform: scaleX(1); }
.au-quiz__q { margin: 0 0 28px; padding: 0; border: 0; min-width: 0; }
.au-quiz__q legend { display: block; margin-bottom: 18px; padding: 0; font-size: clamp(21px, 2vw, 27px); line-height: 1.2; letter-spacing: -.02em; color: #191919; }
.au-quiz__q legend span { display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: #8e8e8a; }
.au-quiz__choix { display: grid; gap: 8px; }
.au-quiz__choix button { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 12px 52px 12px 18px; border: 1px solid rgba(0,0,0,.09); border-radius: 16px; background: #f7f7f4; color: #292929; font: inherit; font-size: 16px; line-height: 1.35; text-align: left; cursor: pointer; transition: background .25s ease, border-color .25s ease, transform .35s cubic-bezier(.2,.7,.2,1), color .25s ease; }
.au-quiz__choix button::after { content: ""; position: absolute; right: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 1.6px solid rgba(0,0,0,.18); transition: background .25s ease, border-color .25s ease; }
.au-quiz__choix button:hover { background: #fff; border-color: rgba(0,0,0,.22); transform: translateX(4px); }
.au-quiz__choix button:focus-visible { outline: 2px solid var(--au-o); outline-offset: 2px; }
.au-quiz__choix button[aria-pressed="true"] { background: #191919; border-color: #191919; color: #fff; transform: none; }
.au-quiz__choix button[aria-pressed="true"]::after { border-color: var(--au-o); background: var(--au-o) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 10.5 3 3 6-6.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
html.js .au-quiz.is-pas .au-quiz__q { display: none; }
html.js .au-quiz.is-pas .au-quiz__q.is-actif { display: block; animation: au-question .55s cubic-bezier(.2,.7,.2,1); }
@keyframes au-question { from { opacity: 0; transform: translateX(24px); } }
.au-quiz.is-recule .au-quiz__q.is-actif { animation-name: au-question-recule; }
@keyframes au-question-recule { from { opacity: 0; transform: translateX(-24px); } }
.au-quiz__choix button { animation: none; }
html.js .au-quiz.is-pas .au-quiz__q.is-actif .au-quiz__choix button { animation: au-choix .5s cubic-bezier(.2,.7,.2,1) both; }
.au-quiz__q.is-actif .au-quiz__choix button:nth-child(2) { animation-delay: .05s !important; } .au-quiz__q.is-actif .au-quiz__choix button:nth-child(3) { animation-delay: .1s !important; } .au-quiz__q.is-actif .au-quiz__choix button:nth-child(4) { animation-delay: .15s !important; } .au-quiz__q.is-actif .au-quiz__choix button:nth-child(5) { animation-delay: .2s !important; }
@keyframes au-choix { from { opacity: 0; transform: translateY(10px); } }
.au-quiz__pied { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.au-quiz__pied p { margin: 0; font-size: 14px; color: #8e8e8a; }
.au-quiz__pied .btn:disabled { opacity: .35; cursor: not-allowed; }
.au-quiz__retour, .au-quiz__refaire { height: 40px; padding: 0 16px; border: 1px solid rgba(0,0,0,.14); border-radius: 99px; background: none; color: #292929; font: inherit; font-size: 14px; cursor: pointer; transition: background .2s ease; }
.au-quiz__retour:hover, .au-quiz__refaire:hover { background: #f3f3ef; }
.au-quiz__res { position: relative; padding: 28px; border-radius: 22px; background: #f7f7f4; outline: none; animation: au-question .6s cubic-bezier(.2,.7,.2,1); }
.au-quiz__res .au-pastille { background: #fff; color: #292929; }
.au-quiz__res h3 { margin: 0 0 12px; padding-right: 120px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; line-height: 1.1; letter-spacing: -.025em; color: #191919; }
.au-quiz__res p { margin: 0 0 12px; font-size: 16.5px; line-height: 1.55; color: #353535; }
.au-quiz__aussi { color: #6f6f6c !important; font-size: 15px !important; }
.au-quiz__aussi:empty { display: none; }
.au-quiz__res .actions { margin: 22px 0 16px; }
.au-quiz__res-bobby { position: absolute; right: 18px; top: -38px; width: 120px; height: auto; animation: au-saute .8s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes au-saute { from { opacity: 0; transform: translateY(30px) scale(.8); } }
html.js .au-quiz.is-fini .au-quiz__q, html.js .au-quiz.is-fini .au-quiz__pied, html.js .au-quiz.is-fini .au-quiz__fil { display: none !important; }
.au-quiz__note { width: fit-content; max-width: calc(100% - 32px); margin: 20px auto 0; padding: 10px 18px; border-radius: 99px; background: rgba(255,255,255,.85); color: #353535; font-size: 14.5px; text-align: center; position: relative; z-index: 1; }

/* ================= MÉTHODE ================= */
.au-temps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 36px); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.au-temps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; background: var(--line); }
.au-temps::after { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; background: var(--au-o); transform-origin: 0 50%; transform: scaleX(var(--fait, 0)); transition: transform .2s linear; }
html:not(.js) .au-temps::after { transform: scaleX(1); }
.au-temps__pas { position: relative; z-index: 1; }
.au-temps__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-2); color: var(--ink); font-size: 16px; transition: background .4s ease, border-color .4s ease, color .4s ease; }
.au-temps__pas.is-atteint .au-temps__n { background: var(--au-o); border-color: var(--au-o); color: #fff; }
.au-temps__visuel { position: relative; display: grid; place-items: center; height: 220px; margin: 26px 0 26px; border-radius: 26px; background: var(--au-gris); overflow: hidden; }
.au-temps__pas h3 { margin: 0 0 10px; font-size: 26px; font-weight: 400; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.au-temps__pas p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--au-muet); }
.au-visio { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 250px; padding: 10px; border-radius: 16px; }
.au-visio__cam { position: relative; height: 92px; border-radius: 10px; background: #e9e6df; overflow: hidden; }
.au-visio__cam--b { background: #f1e3da; }
.au-visio__cam i { position: absolute; left: 50%; bottom: -10px; width: 46px; height: 58px; margin-left: -23px; border-radius: 23px 23px 0 0; background: #cfc9bd; }
.au-visio__cam i::before { content: ""; position: absolute; left: 50%; top: -26px; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: #cfc9bd; }
.au-visio__cam--b i, .au-visio__cam--b i::before { background: var(--au-o); }
.au-visio__cam--b { outline: 2px solid transparent; animation: au-parle 2.4s ease-in-out infinite; }
@keyframes au-parle { 50% { outline-color: rgba(251,77,23,.55); } }
.au-visio__pied { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; padding: 4px 4px 2px; font-size: 13px; color: #353535; }
.au-visio__pied i { width: 7px; height: 7px; border-radius: 50%; background: #d64528; animation: au-pouls 1.4s infinite; }
.au-temps__visuel--install { grid-template-columns: 1fr; }
.au-prises { display: grid; grid-template-columns: 1fr 1fr; gap: 54px 96px; }
.au-prises span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 9px; border-radius: 99px; background: #fff; color: #292929; font-size: 13px; border: 1px solid transparent; transition: border-color .4s ease; }
.au-temps__pas.is-atteint .au-prises span { border-color: var(--au-o); }
.au-temps__pas.is-atteint .au-prises span:nth-child(2) { transition-delay: .2s; } .au-temps__pas.is-atteint .au-prises span:nth-child(3) { transition-delay: .4s; } .au-temps__pas.is-atteint .au-prises span:nth-child(4) { transition-delay: .6s; }
.au-prises__coeur { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 20px; background: #fff; }
.au-prises__coeur::before { content: ""; position: absolute; inset: -10px; border-radius: 26px; border: 1.5px dashed rgba(251,77,23,.5); animation: au-tourne 14s linear infinite; }
.au-groupe { width: 270px; padding: 12px; border-radius: 16px; }
.au-groupe__tete { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(0,0,0,.07); font-size: 13px; color: #292929; }
.au-groupe__msg { width: fit-content; max-width: 88%; margin: 0 0 6px; padding: 8px 12px; border-radius: 12px 12px 12px 4px; background: #f3f3ef; font-size: 13px; line-height: 1.35; color: #292929; }
.au-groupe__msg--nous { margin-left: auto; border-radius: 12px 12px 4px 12px; background: #dcf6d3; }
html.js .au-groupe__msg { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
html.js .au-temps__pas.is-atteint .au-groupe__msg { opacity: 1; transform: none; }
html.js .au-temps__pas.is-atteint .au-groupe__msg--nous { transition-delay: .9s; }
.au-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(64px, 7vw, 104px) 0 48px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.au-chiffres li { padding: 28px 24px 0 0; display: grid; gap: 8px; align-content: start; }
.au-chiffres li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.au-chiffres b { font-size: clamp(36px, 3.5vw, 52px); font-weight: 400; letter-spacing: -.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.au-chiffres li > span { font-size: 15px; line-height: 1.45; color: var(--au-muet); }

/* ================= AGENCE OU OUTIL ================= */
.au-choix__duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.au-choix__carte { position: relative; padding: clamp(28px, 3vw, 44px); border-radius: 30px; background: var(--au-gris); overflow: hidden; isolation: isolate; }
.au-choix__carte p { margin: 0; font-size: 17.5px; line-height: 1.6; color: var(--texte); }
html[data-theme="nuit"] .au-choix__carte p { color: rgba(255,255,255,.88); }
.au-choix__lab { margin: 0 0 16px !important; font-size: 24px !important; letter-spacing: -.02em; line-height: 1.15 !important; color: var(--ink) !important; }
.au-choix__carte--agence { padding: 18px; background: none; }
.au-choix__in { position: relative; z-index: 1; height: 100%; padding: clamp(22px, 2.6vw, 30px); border-radius: 20px; background: #fff; }
.au-choix__in p { color: #353535 !important; }
.au-choix__in .au-choix__lab { color: #191919 !important; }
.au-questions { margin-top: clamp(64px, 7vw, 104px); }
.au-questions h3 { margin: 0 0 24px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; letter-spacing: -.02em; color: var(--ink); }
.au-questions__liste { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.au-questions__liste li { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); transition: background .3s ease; }
.au-questions__q { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.35; color: var(--ink); }
.au-questions__r { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; color: var(--au-muet); }
.au-questions__r svg { transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1) .35s; }
.au-questions__liste li.is-in .au-questions__r svg, html:not(.js) .au-questions__r svg { transform: none; }
.au-questions__nos { margin: 22px 0 0; max-width: 820px; font-size: 15px; line-height: 1.6; color: var(--au-muet); }

/* ================= POURQUOI : mosaïque ================= */
.au-mosaique { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.au-tuile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 380px; padding: clamp(26px, 2.8vw, 38px); border-radius: 30px; background: var(--au-gris); overflow: hidden; transition: background .3s ease; }
.au-tuile:hover { background: var(--au-gris-2); }
.au-tuile h3 { margin: 0 0 12px; font-size: clamp(23px, 2vw, 28px); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.au-tuile p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--au-muet); }
.au-tuile--outils, .au-tuile--qualiopi { grid-column: span 2; }
.au-tuile--outils .au-tuile__txt { max-width: 560px; }
.au-defile { position: relative; display: grid; gap: 12px; margin: 0 calc(-1 * clamp(26px, 2.8vw, 38px)); -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.au-defile__rang { display: flex; gap: 12px; width: max-content; animation: au-defile 38s linear infinite; }
.au-defile__rang--inverse { animation-direction: reverse; animation-duration: 44s; }
.au-defile__rang span { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; background: #fff; flex: none; }
.au-tuile--outils:hover .au-defile__rang { animation-play-state: paused; }
@keyframes au-defile { to { transform: translateX(-50%); } }
.au-defile__coeur { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 28px; background: #fff; outline: 2px solid var(--au-o); outline-offset: 4px; }
.au-defile__coeur img { width: 56px; height: 56px; }
.au-reglages { display: grid; gap: 0; padding: 6px 16px; }
.au-reglages p { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; margin: 0 !important; padding: 13px 0; border-top: 1px solid rgba(0,0,0,.07); font-size: 14px !important; color: #292929 !important; }
.au-reglages p:first-child { border-top: 0; }
.au-inter { position: relative; display: inline-flex; align-items: center; height: 28px; padding: 0 12px 0 34px; border-radius: 99px; background: #ececE6; color: #6f6f6c; font-size: 12px; font-style: normal; white-space: nowrap; transition: background .4s ease, color .4s ease; }
.au-inter::before { content: ""; position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .4s cubic-bezier(.65,0,.35,1); }
.au-inter.is-on { background: #191919; color: #fff; }
.au-inter:not(.is-on) { background: rgba(251,77,23,.12); color: var(--au-o-fonce); }
.au-tuile--main:hover .au-inter::before { transform: scale(.85); }
.au-coffre { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.au-coffre__plaque { display: grid; place-items: center; width: 96px; height: 96px; margin-right: 10px; border-radius: 28px; background: #fff; transform: rotate(-4deg); transition: transform .5s cubic-bezier(.3,1.5,.5,1); }
.au-tuile--donnees:hover .au-coffre__plaque { transform: rotate(3deg) scale(1.04); }
.au-coffre__plaque svg { width: 48px; height: 48px; fill: none; stroke: #191919; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.au-coffre__plaque circle { fill: var(--au-o); stroke: none; }
.au-coffre__anse { transform-origin: 33px 22px; animation: au-anse 4.8s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes au-anse { 0%, 30%, 70%, 100% { transform: none; } 42%, 58% { transform: translateY(-4px) rotate(18deg); } }
.au-coffre__opt { padding: 7px 13px; border-radius: 99px; background: var(--paper); color: var(--ink); font-size: 13px; }
.au-tuile--qualiopi { flex-direction: row; align-items: center; }
.au-tuile--qualiopi .au-tuile__txt { flex: 1; max-width: 520px; }
.au-qualiopi { position: relative; flex: none; display: flex; align-items: flex-end; gap: 0; }
.au-qualiopi > img:first-child { width: 220px; height: auto; padding: 14px; border-radius: 18px; background: #fff; }
.au-qualiopi__bobby { width: 132px; height: auto; margin-left: -18px; transition: transform .6s cubic-bezier(.3,1.5,.5,1); }
.au-tuile--qualiopi:hover .au-qualiopi__bobby { transform: rotate(-6deg) translateY(-6px); }

/* ================= FAQ ================= */
.au-faq__grille { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.au-faq__tete { position: sticky; top: 120px; }
.au-faq__tete .btn { margin-top: 28px; }
.au-faq .faq { counter-reset: q; border-top: 1px solid var(--line); }
.au-faq .faq__item { counter-increment: q; border-bottom: 1px solid var(--line); }
.au-faq .faq__q { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 24px 0 24px 52px; border: 0; background: none; color: var(--ink); font: inherit; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.35; letter-spacing: -.01em; text-align: left; cursor: pointer; transition: color .2s ease; }
.au-faq .faq__q::before { content: counter(q, decimal-leading-zero); position: absolute; left: 0; top: 27px; font-size: 13px; color: var(--au-muet); font-variant-numeric: tabular-nums; transition: color .2s ease; }
.au-faq .faq__item:hover .faq__q::before, .au-faq .faq__item.is-open .faq__q::before { color: var(--au-o); }
.au-faq .faq__q span { flex: none; width: 34px; height: 34px; border-radius: 50%; background-color: var(--au-gris); -webkit-mask: none; mask: none; position: relative; font-size: 0; transition: background-color .25s ease, transform .4s cubic-bezier(.65,0,.35,1); }
.au-faq .faq__q span::before, .au-faq .faq__q span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform .4s cubic-bezier(.65,0,.35,1), background .25s ease; }
.au-faq .faq__q span::after { transform: rotate(90deg); }
.au-faq .faq__item.is-open .faq__q span { background-color: var(--au-o); transform: rotate(180deg); }
.au-faq .faq__item.is-open .faq__q span::before, .au-faq .faq__item.is-open .faq__q span::after { background: #fff; }
.au-faq .faq__item.is-open .faq__q span::after { transform: rotate(0deg); }
.au-faq .faq__item .faq__a { padding: 0 60px 0 52px; font-size: 16.5px; line-height: 1.65; color: var(--au-muet); }
.au-faq .faq__item.is-open .faq__a { padding-bottom: 26px; }

/* ================= APPEL FINAL ================= */
.au-fin { padding: clamp(96px, 11vw, 168px) 0 clamp(64px, 7vw, 104px); background: var(--paper); }
.au-fin__toile { position: relative; padding: clamp(110px, 12vw, 150px) clamp(16px, 4vw, 48px) clamp(48px, 6vw, 80px); border-radius: 40px; overflow: hidden; isolation: isolate; }
.au-fin__carte { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: clamp(80px, 8vw, 104px) clamp(22px, 4vw, 56px) clamp(32px, 4vw, 48px); border-radius: 28px; background: #fff; text-align: center; }
.au-fin__bobby { position: absolute; left: 50%; top: -96px; width: 170px; height: auto; margin-left: -85px; transform-origin: 50% 100%; }
.au-fin__toile.is-in .au-fin__bobby { animation: au-saute 1s cubic-bezier(.3,1.6,.5,1) .3s both, au-respire 4.5s ease-in-out 1.3s infinite; }
.au-fin__titre { margin: 0; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -.035em; color: #191919; text-wrap: balance; }
.au-fin__sous { margin: 18px auto 30px; max-width: 520px; font-size: 18px; line-height: 1.5; color: #6f6f6c; }

/* Boutons posés sur les cartes blanches : toujours sombres, même la nuit */
html[data-theme="nuit"] .page-auto-ia :is(.au-ui, .au-fin__carte) .btn.btn:not(.nav__cta) { background: #191919; color: #fff; }
html[data-theme="nuit"] .page-auto-ia :is(.au-ui, .au-fin__carte) .btn.btn:not(.nav__cta):hover { background: #3a3a3a; color: #fff; }
html[data-theme="nuit"] .page-auto-ia :is(.au-ui, .au-fin__carte) .btn.btn--ghost:not(.nav__cta) { background: #e8e8e2; color: #292929; }
html[data-theme="nuit"] .page-auto-ia :is(.au-ui, .au-fin__carte) .btn.btn--ghost:not(.nav__cta):hover { background: #dbdbd2; color: #292929; }
html[data-theme="nuit"] .page-auto-ia .au-ui .g { color: rgba(41,41,41,.5); }
html[data-theme="nuit"] .page-auto-ia .au-pastille--doux { border-color: rgba(255,255,255,.16); }

/* ================= Tablette ================= */
@media (max-width: 1080px) {
  .au-flotte { display: none; }
  .au-demo__bobby { left: auto; right: 18px; width: 120px; }
  .au-demo__fen { top: 84px; width: min(820px, calc(100% - 32px)); }
  .au-def__grille, .au-faq__grille { grid-template-columns: minmax(0, 1fr); }
  .au-def__texte, .au-faq__tete { position: static; }
  .au-scene, .au-scene:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "num" "titre" "toile" "txt"; grid-template-rows: none; }
  .au-scene__num { margin-top: 0; }
  .au-scene__toile { min-height: 520px; margin-bottom: 28px; }
  .au-scene__txt { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .au-scene__txt .au-lien { grid-column: 1 / -1; }
  .au-quiz { grid-template-columns: minmax(0, 1fr); }
  .au-quiz__bobby { position: absolute; right: 0; top: 0; width: 96px; padding: 0; }
  .au-quiz__tete .au-h2 { padding-right: 100px; }
  .au-temps { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .au-temps::before, .au-temps::after { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .au-temps::after { transform-origin: 50% 0; transform: scaleY(var(--fait, 0)); }
  html:not(.js) .au-temps::after { transform: scaleY(1); }
  .au-temps__pas { padding-left: 68px; }
  .au-temps__n { position: absolute; left: 0; top: 0; }
  .au-temps__visuel { margin-top: 0; }
  .au-chiffres { grid-template-columns: 1fr 1fr; }
  .au-chiffres li:nth-child(3) { padding-left: 0; border-left: 0; }
  .au-chiffres li:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--line); }
  .au-mosaique { grid-template-columns: 1fr 1fr; }
  .au-tuile--outils, .au-tuile--qualiopi { grid-column: 1 / -1; }
}

/* ================= Téléphone ================= */
@media (max-width: 680px) {
  .au-hero { padding-top: 44px; }
  .au-preuves { flex-direction: column; align-items: center; gap: 8px; font-size: 14.5px; }
  .au-hero__actions { flex-direction: column; align-items: stretch; max-width: 340px; margin-left: auto; margin-right: auto; }
  .au-hero__actions .btn { justify-content: center; }
  .au-demo { height: auto; margin: 40px -8px 0; padding: 74px 12px 150px; border-radius: 26px; }
  .au-demo__fen { position: relative; left: auto; top: auto; width: 100%; transform: none; }
  .au-demo__corps { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .au-demo__corps > * { grid-column: 1 !important; grid-row: auto !important; }
  .au-bulle { margin: 14px 14px 0; }
  .au-etapes { margin: 12px 14px 0; }
  .au-resultat { margin: 12px 14px 0; }
  .au-demo.is-joue .au-resultat:not(.is-pret) { display: none; }
  .au-valider { margin: 12px 14px 14px; flex-wrap: wrap; }
  .au-demo__onglets { top: 18px; max-width: calc(100% - 24px); overflow-x: auto; scrollbar-width: none; }
  .au-demo__onglets span { padding: 8px 12px; font-size: 13px; }
  .au-demo__bobby { width: 92px; right: 22px; bottom: -8px; }
  .au-pastille { font-size: 12px; }
  .au-bref__texte { font-size: 25px; }
  .au-duel { border-radius: 26px; padding: 18px; }
  .au-duel__grille { grid-template-columns: minmax(0, 1fr); }
  html.js .au-duel.is-pret .au-duel__col--bobby { display: none; }
  html.js .au-duel.is-pret.is-bobby .au-duel__col--bobby { display: block; }
  html.js .au-duel.is-pret.is-bobby .au-duel__col--main { display: none; }
  .au-bascule { width: 100%; }
  .au-duel__col { padding: 20px; }
  .au-duel__col li { font-size: 15px; }
  .au-flux { padding: 20px; border-radius: 24px; }
  .au-flux__ligne { flex-wrap: wrap; gap: 8px; }
  .au-fleche { flex-basis: 24px; flex-grow: 0; }
  .au-flux--ia { padding: 18px; min-height: 0; }
  .au-scene__toile { min-height: 540px; border-radius: 24px; }
  .au-doc { top: 20px; width: calc(100% - 28px); padding: 18px 16px 120px; }
  .au-demande { bottom: 16px; width: calc(100% - 28px); }
  .au-demande p { font-size: 15px; }
  .au-scene__txt { grid-template-columns: minmax(0, 1fr); }
  .au-quiz-sec__toile { margin: 0; border-radius: 0; padding: 28px 0; }
  .au-quiz-sec__toile .wrap { padding-left: 12px; padding-right: 12px; }
  .au-quiz { padding: 24px 18px; border-radius: 22px; }
  .au-quiz__zone { min-height: 0; }
  .au-quiz__choix button { font-size: 15px; min-height: 52px; }
  .au-quiz__res { padding: 22px 18px; }
  .au-quiz__res h3 { padding-right: 76px; }
  .au-quiz__res-bobby { width: 84px; top: -26px; right: 8px; }
  .au-quiz__note { border-radius: 16px; }
  .au-chiffres { grid-template-columns: minmax(0, 1fr); }
  .au-chiffres li, .au-chiffres li + li { padding: 22px 0 0; border-left: 0; }
  .au-chiffres li + li { margin-top: 22px; border-top: 1px solid var(--line); }
  .au-choix__duo { grid-template-columns: minmax(0, 1fr); }
  .au-choix__carte--agence { padding: 12px; }
  .au-questions__liste li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .au-mosaique { grid-template-columns: minmax(0, 1fr); }
  .au-tuile { min-height: 0; border-radius: 24px; }
  .au-tuile--qualiopi { flex-direction: column; align-items: flex-start; }
  .au-qualiopi > img:first-child { width: 180px; }
  .au-qualiopi__bobby { width: 104px; }
  .au-prises { gap: 52px 18px; }
  .au-prises span { font-size: 12px; padding: 7px 10px 7px 8px; }
  .au-faq .faq__q { padding-left: 40px; }
  .au-faq .faq__item .faq__a { padding: 0 8px 0 40px; }
  .au-faq .faq__item.is-open .faq__a { padding-bottom: 22px; }
  .au-fin__toile { border-radius: 28px; padding: 100px 12px 24px; }
  .au-fin__bobby { width: 130px; margin-left: -65px; top: -76px; }
  .au-fin__carte { padding-top: 70px; }
  .au-fin .actions { flex-direction: column; align-items: stretch; }
}

/* ================= Mouvement réduit : tout est posé, rien ne bouge ================= */
@media (prefers-reduced-motion: reduce) {
  html.js .page-auto-ia .au-r, html.js .page-auto-ia .au-r.is-in { opacity: 1; transform: none; transition: none; }
  .page-auto-ia *, .page-auto-ia *::before, .page-auto-ia *::after { animation: none !important; transition: none !important; }
  html.js .au-scene__toile :is(.au-lignes li, .au-coches li, .au-diff li, .au-doc__photo), html.js .au-scene__toile .au-statut,
  html.js .au-flux--regle .au-flux__ligne, html.js .au-flux--ia .au-flux__pas li, html.js .au-groupe__msg { opacity: 1; transform: none; }
  .au-temps::after { transform: none; }
  .au-questions__r svg { transform: none; }
  .au-citation span { background-size: 100% 100%; }
  .au-defile__rang { transform: none; }
  html.js .au-bref__texte.is-mots .au-mot { color: inherit; }
}

/* Quiz : retouches après essai (pastille du conseil à sa taille, une seule mascotte sur téléphone) */
.au-quiz__res .au-pastille { margin-bottom: 18px; font-size: 13px; line-height: 1.2; }
@media (max-width: 1080px) { html.js .au-quiz.is-fini .au-quiz__bobby { display: none; } html.js .au-quiz.is-fini .au-quiz__tete .au-h2 { padding-right: 0; } }
