/* ---- accueil ---- */
/* Accueil. Toutes les classes sont préfixées « ac- » pour ne rien partager avec les autres pages.
   Ordinateur d’abord ; la composition mobile est en fin de feuille. */
.ac { --ivoire: #f4efe4; --menthe: var(--accent); --marge: var(--marge-site); --respire: 3rem; --corps: clamp(4rem, min(10vw, 15vh), 18rem); background: var(--ivoire); font-size: 1.1875rem; line-height: 1.5; font-variant-numeric: normal; -webkit-font-smoothing: auto; }
html:has(.ac) { scroll-padding-top: 0; }
.ac h1, .ac h2, .ac h3 { margin: 0; }
.ac p, .ac ul, .ac ol { margin: 0; padding: 0; }
.ac ul, .ac ol { list-style: none; }
.ac a:focus-visible, .ac button:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }

/* ---------- grands écrans d'affiche : hero et fin ---------- */
.ac-grand { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 100vh; min-height: 40rem; padding: 0 var(--marge); overflow: hidden; background: var(--bleu); color: var(--ivoire); }
.ac-hero { padding-top: var(--menu-haut); }
.ac-affiche { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.ac .ac-titre { margin: 0 calc(var(--marge) * -1); translate: 0 -1vh; rotate: -1.5deg; font-size: var(--corps); font-weight: 900; line-height: 1; letter-spacing: -.035em; text-transform: uppercase; }
.ac .ac-fin .ac-titre { line-height: 1.04; }
.ac-rang { display: flex; justify-content: center; white-space: nowrap; translate: calc(var(--y, 0) * var(--sens) * .22px) 0; }
.ac-piste { display: flex; gap: .28em; }
.ac-piste > span { color: var(--bleu); -webkit-text-stroke: 3px #627fb0; paint-order: stroke fill; }
/* copies en contour : décor seul, absentes du texte de la page */
.ac-piste > span[data-t]::before { content: attr(data-t); content: attr(data-t) / ""; }
.ac-piste > .ac-plein { color: var(--ivoire); -webkit-text-stroke: 0 transparent; }
.ac-plein .ac-pt { width: .17em; height: .17em; }
.ac .ac-tente { position: absolute; z-index: 2; left: 50%; top: 50%; margin-top: calc(1.5 * var(--corps)); translate: -50% 0; rotate: -6deg; color: var(--menthe); font: 400 min(5.5vw, 9.2vh)/1 var(--police-main); -webkit-text-stroke: .018em currentColor; white-space: nowrap; pointer-events: none; }
.ac .ac-fin .ac-tente { margin-top: calc(1.08 * var(--corps)); }
/* la réponse : NON en contour, OUI plein et ses échos. Le mot visé grandit, l'autre rétrécit. */
.ac-reponse { display: flex; justify-content: center; align-items: center; gap: min(7vw, 10vh); rotate: -1.5deg; padding: 2.5vh 0 5vh; }
.ac-mot { position: relative; display: block; font-size: min(7.6vw, 12.4vh); font-weight: 900; line-height: 1; letter-spacing: -.035em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: scale .25s var(--rebond); }
.ac-reponse:has(.ac-mot:hover) .ac-mot, .ac-reponse:has(.ac-mot:focus-visible) .ac-mot { scale: .82; }
.ac-reponse:has(.ac-mot:hover) .ac-mot:hover, .ac-reponse:has(.ac-mot:focus-visible) .ac-mot:focus-visible { scale: 1.18; }
.ac-mot__face { display: block; paint-order: stroke fill; transition: color .2s, -webkit-text-stroke-color .2s; }
.ac-mot--non .ac-mot__face { color: var(--bleu); -webkit-text-stroke: 3px #8fa6cc; }
.ac-mot--oui { color: var(--menthe); }
.ac-mot--oui::before, .ac-mot--oui::after { content: "OUI"; content: "OUI" / ""; position: absolute; left: 0; top: 0; color: var(--bleu); -webkit-text-stroke: 3px var(--menthe); paint-order: stroke fill; pointer-events: none; transition: transform .22s var(--ease); }
.ac-mot--oui::before { z-index: -1; transform: translate(-.065em, .065em); }
.ac-mot--oui::after { z-index: -2; transform: translate(-.13em, .13em); opacity: .45; }
.ac-mot--oui:hover, .ac-mot--oui:focus-visible { color: var(--ivoire); }
.ac-mot--oui:hover::before, .ac-mot--oui:focus-visible::before, .ac-mot--oui:hover::after, .ac-mot--oui:focus-visible::after { transform: none; -webkit-text-stroke-color: var(--ivoire); }
.ac-mot--non:hover .ac-mot__face, .ac-mot--non:focus-visible .ac-mot__face { color: var(--ivoire); -webkit-text-stroke-color: var(--ivoire); }
.ac .ac-mot:focus-visible { outline-color: var(--ivoire); outline-offset: .2em; }

/* le pied commun (navigation.css) est ici collé au bas de la dernière section */
.ac-fin .pied { margin: 0; }

/* ---------- sections : un écran chacune, la place du menu du bas est réservée ---------- */
.ac-s { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding: var(--respire) var(--marge); }
.ac .ac-h2 { align-self: center; text-align: center; font-size: min(5vw, 8vh); font-weight: 900; line-height: .96; letter-spacing: -.035em; text-transform: uppercase; }
.ac-h2 .ac-pt { background: var(--bleu); }
.ac-question { display: block; width: fit-content; margin: 0 auto .12em; rotate: -4deg; color: var(--bleu); font: 400 min(4.2vw, 7vh)/1 var(--police-main); -webkit-text-stroke: .018em currentColor; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.ac-formules { gap: 2.25rem; background: var(--bleu); color: var(--ivoire); }
.ac-evolutions { gap: 2.5rem; background: var(--encre); color: var(--ivoire); }
.ac-formules .ac-question, .ac-evolutions .ac-question { color: var(--menthe); }
.ac-formules .ac-h2 .ac-pt, .ac-evolutions .ac-h2 .ac-pt { background: var(--menthe); }

/* contour puis plein : une copie pleine recouvre le contour */
.ac-remplit { position: relative; display: inline-block; color: var(--bleu); }
.ac-anime .ac-remplit { color: var(--ivoire); -webkit-text-stroke: 3px var(--bleu); paint-order: stroke fill; }
.ac-anime .ac-remplit::after { content: attr(data-t); content: attr(data-t) / ""; position: absolute; left: 0; top: 0; color: var(--bleu); -webkit-text-stroke: 3px var(--bleu); paint-order: stroke fill; white-space: nowrap; clip-path: inset(100% 0 0 0); transition: clip-path .55s cubic-bezier(.6, 0, .2, 1) calc(var(--n) * .14s); }
.ac-anime .ac-remplit.vu::after { clip-path: inset(-20% -10% -20% -2%); }

/* méthode */
.ac-methode { gap: min(6vh, 4rem); }
.ac .ac-etapes { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 2rem; }
.ac-etapes li { display: flex; flex-direction: column; align-items: center; padding: 0 1.5rem; text-align: center; }
.ac-chiffre { margin-bottom: min(5vh, 3rem); font-size: min(26vw, 38vh); font-weight: 900; line-height: .8; }
.ac-etapes h3 { font-size: 2.5rem; font-weight: 900; line-height: 1.1; letter-spacing: -.03em; text-transform: uppercase; }
.ac .ac-etapes p { max-width: 22rem; min-height: 3lh; margin: .75rem auto 0; text-wrap: balance; }

/* formules */
.ac-offres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2px; }
.ac-offre { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 1.75rem 2rem; background: #fff; color: var(--encre); }
.ac-offre h3 { font-size: 2rem; font-weight: 900; line-height: 1.1; letter-spacing: -.03em; text-transform: uppercase; }
.ac .ac-offre__pour { margin-top: .5rem; }
.ac .ac-offre__prix { margin-top: 1.25rem; color: var(--bleu); font-size: clamp(3rem, 5.6vw, 6rem); font-weight: 800; line-height: 1; letter-spacing: -.055em; white-space: nowrap; }
.ac-offre__prix small { margin-left: .4rem; color: var(--encre); font-size: 1.1875rem; letter-spacing: 0; }
.ac-offre__prix .ac-offre__des { margin: 0 .35rem 0 0; }
.ac .ac-offre__delai { margin-bottom: .55rem; padding: .6rem 0; border-bottom: 1px solid #061a3a26; font-weight: 800; }
.ac .ac-offre ul { margin-bottom: 1.25rem; }
.ac-offre li { padding: .38rem 0; font-size: 1.0625rem; line-height: 1.35; }
/* le bouton : surface menthe, relief en écho, flèche. Toute la carte est cliquable. */
.ac-choisir { margin-top: auto; padding: .25rem 0 .6rem .6rem; color: var(--encre); text-decoration: none; }
.ac-choisir::after { content: ""; position: absolute; inset: 0; }
.ac-choisir__bouton { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1.15rem 1.5rem; font-size: min(1.375rem, 1.65vw); font-weight: 900; line-height: 1; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; transition: color .2s; }
.ac-choisir__fond, .ac-choisir__echo { position: absolute; inset: 0; border-radius: 6px; transition: transform .22s var(--ease), background-color .2s; }
.ac-choisir__fond { z-index: -1; background: var(--menthe); }
.ac-choisir__echo { z-index: -2; border: 2px solid var(--bleu); background: #fff; transform: translate(-.35rem, .35rem); }
.ac-choisir__echo--loin { z-index: -3; border-color: #00328766; transform: translate(-.7rem, .7rem); }
.ac-choisir__bouton svg { flex: none; width: 2.75rem; height: 1rem; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .22s var(--ease); }
.ac-offre:hover .ac-choisir, .ac-offre:focus-within .ac-choisir { color: var(--ivoire); }
.ac-offre:hover .ac-choisir__fond, .ac-offre:focus-within .ac-choisir__fond { background: var(--bleu); }
.ac-offre:hover .ac-choisir__echo, .ac-offre:focus-within .ac-choisir__echo { transform: none; }
.ac-offre:hover .ac-choisir__bouton svg, .ac-offre:focus-within .ac-choisir__bouton svg { transform: translateX(5px); }
.ac-offre:active .ac-choisir__fond { transform: scale(.98, .94); }
.ac-offre:focus-within { z-index: 1; outline: 4px solid var(--menthe); outline-offset: -4px; }
.ac .ac-choisir:focus-visible { outline: 0; }
.ac-note { display: flex; justify-content: space-between; gap: 3rem; margin-top: -.5rem; font-size: 1rem; }

/* évolutions */
.ac-colonnes { display: grid; grid-template-columns: 1fr 1fr; column-gap: 5vw; }
.ac-evolutions h3 { font-size: 2rem; font-weight: 900; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; }
.ac .ac-definition { max-width: 34rem; min-height: 3lh; margin-top: .5rem; }
.ac-tarifs { width: 100%; margin-top: 1.25rem; border-collapse: collapse; border-top: 3px solid var(--ivoire); }
.ac-tarifs tr { position: relative; border-bottom: 1px solid #f4efe440; }
.ac-tarifs th { padding: .85rem 0; text-align: left; font-weight: 400; }
.ac-tarifs th b { display: inline-block; min-width: 2.4ch; font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ac-tarifs td { padding: 0; text-align: right; font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ac-tarifs td small { font-size: 1rem; }
.ac-tarifs a { text-decoration: none; }
.ac-tarifs a::after { content: ""; position: absolute; inset: 0; }
.ac-tarifs tr:hover, .ac-tarifs tr:focus-within { background: var(--menthe); color: var(--encre); }
.ac .ac-valable { margin-top: .75rem; font-size: 1rem; opacity: .75; }
.ac-aussi { padding-top: 1.75rem; border-top: 1px solid #f4efe440; }
.ac .ac-aussi p { margin: .25rem 0 .5rem; }

/* faits */
.ac-faits { gap: min(3.5vh, 2.5rem); }
.ac-liste li { padding: min(1.5vh, 1.1rem) 0; text-align: center; }
.ac-liste li + li { border-top: 1px solid #061a3a40; }
.ac-faits h3 { margin-bottom: .15rem; font-size: min(5.4vw, 8.4vh); font-weight: 900; line-height: 1.05; letter-spacing: .002em; text-transform: uppercase; }
.ac .ac-liste p { font-size: min(1.1875rem, 2.4vh); }

/* ---------- mouvement ---------- */
@media (prefers-reduced-motion: no-preference) {
  .ac-piste { animation: ac-glisse 1.1s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * .07s) both; }
  .ac .ac-tente { animation: ac-ecrit .6s cubic-bezier(.5, 0, .3, 1) 1.15s backwards; }
  .ac-reponse { animation: ac-repond .35s cubic-bezier(.2, 1.4, .4, 1) 1.55s both; }
  .ac-reponse:focus-within { animation: none; }
  .ac-anime .ac-fin:not(.vu) .ac-piste, .ac-anime .ac-fin:not(.vu) .ac-tente, .ac-anime .ac-fin:not(.vu) .ac-reponse { animation-play-state: paused; }

  /* « En deux temps, trois mouvements » : le titre en deux temps, puis chaque chiffre mime son verbe */
  .ac-bat { display: inline-block; }
  .ac-anime .ac-bat { opacity: 0; }
  .ac-anime .ac-methode.joue .ac-bat { animation: ac-bat .26s cubic-bezier(.2, 1.5, .4, 1) calc(var(--b) * .3s) both; }
  .ac-anime .ac-methode.joue .ac-bat--suite { animation: ac-suite .35s cubic-bezier(.2, .8, .2, 1) .62s both; }
  /* 1 : il s'écrit */
  .ac-anime .ac-etapes li:nth-child(1) .ac-chiffre::after { clip-path: inset(-20% 100% -20% 0); transition: clip-path .55s cubic-bezier(.5, 0, .3, 1) .95s; }
  .ac-anime .ac-etapes li:nth-child(1) .ac-chiffre.vu::after { clip-path: inset(-20% -10% -20% 0); }
  /* 2 : il penche, corrige, se cale */
  .ac-anime .ac-etapes li:nth-child(2) .ac-chiffre::after { transition-delay: 1.45s; }
  .ac-anime .ac-methode.joue .ac-etapes li:nth-child(2) .ac-chiffre { transform-origin: 50% 80%; animation: ac-ajuste .75s ease-in-out 1.35s both; }
  /* 3 : il se soulève puis s'enclenche */
  .ac-anime .ac-etapes li:nth-child(3) .ac-chiffre::after { transition: clip-path .16s linear 2.28s; }
  .ac-anime .ac-methode.joue .ac-etapes li:nth-child(3) .ac-chiffre { transform-origin: 50% 100%; animation: ac-enclenche .6s 1.95s both; }

  /* la carte visée se soulève ; la bande invisible dessous évite le tremblement sur son bord bas */
  .ac-offre { transition: translate .2s var(--ease), box-shadow .2s; }
  .ac-offre:hover, .ac-offre:focus-within { translate: 0 -8px; box-shadow: 0 18px 32px -18px #000a; }
  .ac-offre:hover::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
}
@media (prefers-reduced-motion: reduce) { .ac *, .ac *::before, .ac *::after { transition: none !important; } }
@keyframes ac-glisse { from { transform: translateX(calc(var(--sens) * 55vw)); } to { transform: none; } }
@keyframes ac-ecrit { from { clip-path: inset(-40% 100% -40% -10%); } to { clip-path: inset(-40% -10% -40% -10%); } }
@keyframes ac-repond { from { opacity: 0; transform: translateY(-1rem) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes ac-bat { from { opacity: 0; transform: scale(1.25); } to { opacity: 1; transform: none; } }
@keyframes ac-suite { from { opacity: 0; transform: translateX(-2rem); } to { opacity: 1; transform: none; } }
@keyframes ac-ajuste { 0%, 100% { rotate: 0deg; } 22% { rotate: -13deg; } 48% { rotate: 9deg; } 70% { rotate: -4deg; } 86% { rotate: 1.5deg; } }
@keyframes ac-enclenche { 0% { translate: 0 0; scale: 1; animation-timing-function: cubic-bezier(.3, 0, .3, 1); } 50% { translate: 0 -4vh; scale: 1; animation-timing-function: cubic-bezier(.7, 0, 1, .6); } 70% { translate: 0 0; scale: 1.08 .9; animation-timing-function: ease-out; } 100% { translate: 0 0; scale: 1; } }

/* ---------- ordinateurs de hauteur moyenne (portables, 1440 × 900) ---------- */
@media (min-width: 60.01rem) and (min-height: 50.01rem) and (max-height: 62rem) {
  .ac-formules { gap: 1.35rem; }
  .ac-offre { padding-block: 1.4rem 1.75rem; }
  .ac-offre li { padding: .27rem 0; }
  .ac-choisir__bouton { padding-block: 1rem; }
  .ac-evolutions { gap: 1.1rem; }
  .ac .ac-evolutions .ac-h2 { margin-bottom: 2.2vh; }
  .ac-tarifs { margin-top: .8rem; }
  .ac-tarifs th { padding: .4rem 0; }
  .ac-aussi { padding-top: .9rem; }
}
/* ---------- ordinateurs peu hauts (1280 × 720) ---------- */
@media (min-width: 60.01rem) and (max-height: 50rem) {
  .ac { --respire: 2.5rem; }
  .ac .ac-question { font-size: min(3.6vw, 5.4vh); margin-bottom: 0; }
  .ac-formules { gap: 1rem; }
  .ac-offre { padding: 1rem 1.5rem; }
  .ac-offre h3 { font-size: 1.5rem; }
  .ac .ac-offre__pour { margin-top: .2rem; font-size: .9375rem; }
  .ac .ac-offre__prix { margin-top: .5rem; font-size: 3.25rem; }
  .ac .ac-offre__delai { margin-bottom: .3rem; padding: .35rem 0; font-size: 1rem; }
  .ac .ac-offre ul { margin-bottom: .6rem; }
  .ac-offre li { padding: .2rem 0; font-size: .875rem; line-height: 1.3; }
  .ac-choisir { padding: 0 0 .35rem .5rem; }
  .ac-choisir__bouton { padding: .7rem 1.1rem; font-size: 1.0625rem; }
  .ac-choisir__echo { transform: translate(-.25rem, .25rem); }
  .ac-choisir__echo--loin { transform: translate(-.5rem, .5rem); }
  .ac-note { margin-top: 0; font-size: .8125rem; }
  .ac-evolutions { gap: 1.1rem; }
  .ac .ac-evolutions .ac-h2 { margin-bottom: 2.2vh; }
  .ac-evolutions h3 { font-size: 1.4rem; }
  .ac .ac-definition, .ac .ac-aussi p { font-size: .9375rem; }
  .ac-tarifs { margin-top: .6rem; }
  .ac-tarifs th { padding: .4rem 0; font-size: 1rem; }
  .ac-tarifs th b, .ac-tarifs td { font-size: 1.4rem; }
  .ac .ac-valable { margin-top: .35rem; font-size: .875rem; }
  .ac-aussi { padding-top: .8rem; }
}
/* ---------- animation du hero : après la question, une flèche à main levée mène à OUI, dont le relief bat deux fois ---------- */
.ac-fleche { position: absolute; left: calc(100% + .1em); top: .55em; width: 1.5em; height: 1.2em; overflow: visible; fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.ac-fleche path { stroke-dasharray: 1 1; }
@media (max-width: 60rem) { .ac-fleche { left: calc(100% - .75em); top: .95em; width: .65em; height: .9em; stroke-width: 6; } }
@media (prefers-reduced-motion: no-preference) {
  .ac-fleche path { animation: ac-trace .45s cubic-bezier(.5, 0, .3, 1) var(--d) both; }
  /* le relief de OUI bat deux fois : il rejoint le mot et revient ; le second écho suit avec un léger retard.
     WCAG 2.2.2 : tout mouvement automatique s’arrête avant 5 s (ici 4,97 s). Ne pas le remettre en boucle sans bouton de pause. */
  .ac-hero .ac-mot--oui::before { animation: ac-signe 1.15s 2.55s 2; }
  .ac-hero .ac-mot--oui::after { animation: ac-signe 1.15s 2.67s 2; }
  /* au survol ou au clavier, le battement s'arrête et le relief reste contre le mot */
  .ac-hero .ac-mot--oui:hover::before, .ac-hero .ac-mot--oui:hover::after, .ac-hero .ac-mot--oui:focus-visible::before, .ac-hero .ac-mot--oui:focus-visible::after { animation: none; }
}
@keyframes ac-trace { from { stroke-dashoffset: 1; visibility: hidden; } 1% { visibility: visible; } to { stroke-dashoffset: 0; visibility: visible; } }
.ac-hero .ac-mot--oui::before { --repos: translate(-.065em, .065em); }
.ac-hero .ac-mot--oui::after { --repos: translate(-.13em, .13em); }
@keyframes ac-signe { 0% { transform: var(--repos); } 32% { transform: translate(0, 0); } 70%, 100% { transform: var(--repos); } }

/* ---------- après NON : la scène « la galère » (assets/js/galere.js), une boîte de dialogue plein écran ---------- */
.ac-galere { --menthe: var(--accent); --ivoire: #f4efe4; width: 100%; max-width: 100%; height: 100%; height: 100dvh; max-height: 100%; margin: 0; padding: 0; border: 0; overflow: hidden; background: var(--bleu); color: var(--ivoire); }
.ac-galere::backdrop { background: var(--bleu); }
html:has(.ac-galere[open]) { overflow: hidden; }
/* « Dommage… » : écrit au centre du vide, sous le tas qui va le recouvrir */
.ac-ga-dommage { position: absolute; left: 50%; top: 50%; translate: -50% -50%; rotate: -6deg; margin: 0; color: var(--menthe); font: 400 min(22vw, 24vh)/1 var(--police-main); -webkit-text-stroke: .018em currentColor; white-space: nowrap; }
.ac-ga-tas { position: absolute; inset: 0; overflow: hidden; }
/* les blocs : la famille des boutons du site (angles courts et relief en écho vers le bas à gauche).
   Trois matières seulement : ivoire plein, contour, encre. Le menthe reste réservé à OUI. */
.ac-ga-mot { --fond: var(--ivoire); --trait: #8fa6cc; position: absolute; left: 0; top: 0; visibility: hidden; padding: .48em .72em .44em; border: 1.5px solid var(--fond); border-radius: 5px; background: var(--fond); color: var(--encre); font: 900 clamp(.875rem, 2.2vmin + .3rem, 1.75rem)/1 var(--police); letter-spacing: -.012em; text-transform: uppercase; white-space: nowrap; user-select: none; box-shadow: -5px 5px 0 -1.5px var(--bleu), -5px 5px 0 0 var(--trait); }
.ac-ga-mot--grand { font-size: clamp(1.25rem, 3.8vmin + .3rem, 3rem); letter-spacing: -.028em; box-shadow: -7px 7px 0 -1.5px var(--bleu), -7px 7px 0 0 var(--trait); }
.ac-ga-mot--petit { font-size: clamp(.75rem, 1.6vmin + .2rem, 1.15rem); letter-spacing: .02em; box-shadow: -4px 4px 0 -1.5px var(--bleu), -4px 4px 0 0 var(--trait); }
.ac-ga-mot--contour { --fond: var(--bleu); border-color: #8fa6cc; color: var(--ivoire); }
.ac-ga-mot--encre { --fond: var(--encre); --trait: #627fb0; color: var(--ivoire); }
.ac-ga-tas--pose { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: .4rem; padding: 4rem 1rem 1rem; }
.ac-ga-tas--pose .ac-ga-mot { position: static; visibility: visible; }

/* sorties : toujours disponibles, au-dessus du tas */
.ac-ga-sorties { position: absolute; z-index: 3; top: .75rem; right: .75rem; display: flex; gap: .5rem; }
.ac-ga-sorties > * { display: flex; align-items: center; justify-content: center; min-width: 2.75rem; height: 2.75rem; padding: 0 1rem; border: 2px solid var(--ivoire); border-radius: 6px; background: var(--encre); color: var(--ivoire); font: 800 .875rem/1 var(--police); text-decoration: none; cursor: pointer; }
.ac-galere :focus-visible { outline: 3px solid var(--menthe); outline-offset: 3px; }

/* le « stop » : une affiche, sans cadre, posée sur le tas figé et assombri. Même composition que le hero. */
.ac-ga-fin { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3.5rem 1rem 1rem; background: #061a3acc; text-align: center; }
.ac-ga-fin[hidden] { display: none; }
.ac-ga-fin.ac-ga-part { opacity: 0; visibility: hidden; pointer-events: none; }
.ac-ga-titre { margin: 0; rotate: -1.5deg; font: 900 min(29vw, 40vh)/.84 var(--police); letter-spacing: -.045em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 .06em .25em #061a3ab3; }
.ac-ga-titre i { display: inline-block; width: .17em; height: .17em; margin-left: .05em; border-radius: 50%; background: var(--menthe); }
.ac-ga-question { position: relative; z-index: 1; margin: .12em 0 0; rotate: -6deg; color: var(--menthe); font: 400 min(10vw, 11vh)/1 var(--police-main); -webkit-text-stroke: .018em currentColor; white-space: nowrap; }
.ac-ga-fin .ac-fleche { left: calc(100% + .12em); top: .5em; width: 1.1em; height: .95em; }
@media (max-width: 60rem) { .ac-ga-fin .ac-fleche { left: calc(100% - .65em); top: .9em; width: .8em; height: .85em; } }
.ac-ga-oui { position: relative; isolation: isolate; display: inline-block; margin-top: min(5vh, 3rem); rotate: -1.5deg; color: var(--menthe); font: 900 min(24vw, 17vh)/.85 var(--police); letter-spacing: -.035em; text-decoration: none; }
.ac-ga-oui::before, .ac-ga-oui::after { content: "OUI"; content: "OUI" / ""; position: absolute; z-index: -1; left: 0; top: 0; color: var(--encre); -webkit-text-stroke: 3px var(--menthe); paint-order: stroke fill; transform: translate(-.065em, .065em); transition: transform .22s; }
.ac-ga-oui::after { z-index: -2; transform: translate(-.13em, .13em); opacity: .45; }
.ac-ga-oui:hover, .ac-ga-oui:focus-visible { color: var(--ivoire); }
.ac-ga-oui:hover::before, .ac-ga-oui:hover::after { transform: none; }
@media (prefers-reduced-motion: reduce) { .ac-ga-dommage { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  /* le hero se vide : les lignes repartent par où elles sont venues, le reste s'efface */
  .ac.ac-ga-vide .ac-hero .ac-rang .ac-piste { animation: ac-ga-sort .55s cubic-bezier(.6, 0, 1, .4) calc(var(--i) * .05s) both; }
  .ac.ac-ga-vide .ac-hero .ac-titre, .ac.ac-ga-vide .ac-hero .ac-tente, .ac.ac-ga-vide .ac-hero .ac-reponse, .ac.ac-ga-vide .ac-hero .ac-reponse:focus-within, body:has(.ac-ga-vide) .ac-menu { animation: ac-ga-efface .5s ease-in .1s both; }
  .ac-galere[open] .ac-ga-dommage { animation: ac-ga-ecrit .7s cubic-bezier(.5, 0, .3, 1) .15s both; }
  /* le voile tombe, « Stop » claque, la question s'écrit, la flèche se trace, puis le relief de OUI bat deux fois, comme dans le hero (WCAG 2.2.2) */
  .ac-ga-fin:not([hidden]) { animation: ac-ga-voile .2s ease-out backwards; }
  .ac-ga-fin.ac-ga-part { transition: opacity .25s, visibility 0s .25s; }
  .ac.ac-ga-calme .ac-formules .ac-h2, .ac.ac-ga-calme .ac-offre, .ac.ac-ga-calme .ac-choix, .ac.ac-ga-calme .ac-note { animation: ac-ga-monte .6s cubic-bezier(.16, 1, .3, 1) backwards; }
  .ac.ac-ga-calme .ac-offre:nth-child(1) { animation-delay: .15s; }
  .ac.ac-ga-calme .ac-offre:nth-child(2) { animation-delay: .27s; }
  .ac.ac-ga-calme .ac-offre:nth-child(3) { animation-delay: .39s; }
  .ac.ac-ga-calme .ac-note { animation-delay: .55s; }
  .ac-ga-fin:not([hidden]) .ac-ga-titre { animation: ac-ga-claque .28s cubic-bezier(.2, 1.7, .4, 1) .12s both; }
  .ac-ga-fin:not([hidden]) .ac-ga-question { animation: ac-ga-ecrit .55s cubic-bezier(.5, 0, .3, 1) .4s backwards; }
  .ac-ga-oui::before { animation: ac-ga-bat 1.15s 1.7s 2; }
  .ac-ga-oui::after { animation: ac-ga-bat 1.15s 1.82s 2; }
  .ac-ga-oui:hover::before, .ac-ga-oui:hover::after, .ac-ga-oui:focus-visible::before, .ac-ga-oui:focus-visible::after { animation: none; }
}
@keyframes ac-ga-claque { from { opacity: 0; scale: 1.2; } to { opacity: 1; scale: 1; } }
@keyframes ac-ga-sort { to { transform: translateX(calc(var(--sens) * 70vw)); opacity: 0; } }
@keyframes ac-ga-efface { from { opacity: 1; } to { opacity: 0; } }
@keyframes ac-ga-ecrit { from { clip-path: inset(-40% 100% -40% -10%); } to { clip-path: inset(-40% -10% -40% -10%); } }
@keyframes ac-ga-bat { 0% { transform: var(--repos); } 32% { transform: translate(0, 0); } 70%, 100% { transform: var(--repos); } }
.ac-ga-oui::before { --repos: translate(-.065em, .065em); }
.ac-ga-oui::after { --repos: translate(-.13em, .13em); }
@keyframes ac-ga-voile { from { opacity: 0; } }
@keyframes ac-ga-monte { from { opacity: 0; transform: translateY(2.5rem); } }
/* « Dommage… » ne doit pas reparaître derrière « Stop », ni quand le tas s’en va */
.ac-galere:has(.ac-ga-fin:not([hidden])) .ac-ga-dommage { visibility: hidden; }
@media (max-width: 60rem) { .ac-ga-question { margin-top: .4em; } }

/* ---------- petits écrans : base en une colonne ---------- */
@media (max-width: 60rem) {
  .ac { --corps: 10vw; }
  .ac-grand { height: auto; min-height: 100svh; }
  .ac .ac-tente { font-size: 11vw; margin-top: calc(1.9 * var(--corps)); }
  .ac .ac-fin .ac-tente { margin-top: calc(1.4 * var(--corps)); }
  .ac-reponse { gap: 2.5rem; padding-bottom: 3rem; }
  .ac-mot { font-size: 3.5rem; }
  .ac-s { min-height: 0; gap: 2rem; padding-block: 4rem; }
  .ac .ac-h2 { font-size: 8.4vw; }
  .ac .ac-question { font-size: 11vw; }
  .ac .ac-etapes, .ac-offres, .ac-colonnes { grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; }
  .ac-offres { row-gap: .75rem; }
  .ac-chiffre { margin-bottom: 1.25rem; font-size: 9rem; }
  .ac .ac-etapes p, .ac .ac-definition { min-height: 0; }
  .ac-choisir__bouton { font-size: 1.125rem; }
  .ac-note { flex-direction: column; gap: 1rem; margin-top: 0; }
  .ac-tarifs th b, .ac-tarifs td { font-size: 1.5rem; }
  .ac-faits h3 { font-size: 8vw; }
  .ac .ac-liste p { font-size: 1rem; }
}

/* ========== petits écrans : composition mobile, écran par écran (se superpose à la base ci-dessus) ========== */
@media (max-width: 60rem) {
  /* ---------- premier écran : une affiche sur toute la hauteur ---------- */
  .ac .ac-hero { height: 100svh; min-height: 34rem; padding-top: var(--menu-haut); }
  .ac-hero .ac-affiche { justify-content: flex-end; }
  /* chaque ligne est calée sur la largeur de l'écran : même texte, trois corps différents */
  .ac .ac-hero .ac-titre { translate: 0 0; font-size: 12vw; line-height: 1; }
  .ac-hero .ac-rang { translate: calc(var(--y, 0) * var(--sens) * .06px) 0; }
  .ac-hero .ac-rang:nth-child(1) { font-size: 11.5vw; }
  .ac-hero .ac-rang:nth-child(2) { font-size: 14.7vw; }
  .ac-hero .ac-rang:nth-child(3) { font-size: 13.7vw; }
  /* sur un écran étroit, les contours des côtés ne se voient plus : ils passent au-dessus du titre, en décor seul */
  .ac-hero .ac-titre::before { content: "Sur mesure\A Rapidement\A Votre site web"; content: "Sur mesure\A Rapidement\A Votre site web" / ""; display: block; white-space: pre; text-align: center; font-size: 13.2vw; line-height: 1.04; color: var(--bleu); -webkit-text-stroke: 2px #627fb0; paint-order: stroke fill; margin-bottom: .6vh; -webkit-mask-image: linear-gradient(transparent, #000 85%); mask-image: linear-gradient(transparent, #000 85%); }
  @media (max-height: 44rem) { .ac-hero .ac-titre::before { content: "Rapidement\A Votre site web"; content: "Rapidement\A Votre site web" / ""; } }
  .ac-hero .ac-piste > span[data-t] { visibility: hidden; }
  /* la question suit le titre, en grand */
  .ac .ac-hero .ac-tente { position: static; translate: none; align-self: center; margin: 5vh 0 0; font-size: min(17vw, 10vh); }
  .ac-hero .ac-affiche { padding-bottom: 5vh; }
  /* la réponse occupe la largeur, à portée du pouce ; OUI reste à droite */
  .ac-hero .ac-reponse { justify-content: space-between; gap: 1rem; padding: 0 .75rem 9vh; }
  .ac-hero .ac-mot { font-size: min(19vw, 11vh); }

  /* ---------- « En deux temps, trois mouvements » : un seul écran, un chiffre et son texte par rang ---------- */
  .ac .ac-methode { min-height: 100svh; justify-content: center; gap: min(5vh, 2.75rem); padding: 3.375rem 1.25rem; }
  .ac .ac-methode .ac-h2 { font-size: 8.1vw; line-height: 1; }
  .ac-methode .ac-bat--suite { white-space: nowrap; }
  .ac .ac-methode .ac-question { font-size: min(13vw, 8vh); }
  .ac .ac-methode .ac-etapes { grid-template-columns: minmax(0, 1fr); row-gap: min(4.5vh, 2.5rem); }
  .ac-methode .ac-etapes li { display: grid; grid-template-columns: 27vw minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: 1rem; padding: 0; text-align: left; }
  .ac-methode .ac-chiffre { grid-row: 1 / span 2; align-self: center; justify-self: center; margin: 0; font-size: min(36vw, 18vh); }
  .ac-methode .ac-etapes h3 { align-self: end; font-size: min(7.4vw, 2rem); }
  .ac .ac-methode .ac-etapes p { align-self: start; max-width: none; margin: .35rem 0 0; font-size: 1rem; line-height: 1.4; text-wrap: pretty; }
  @media (max-height: 44rem) {
    .ac .ac-methode { gap: 1.25rem; padding-block: 1rem 4.5rem; }
    .ac .ac-methode .ac-etapes { row-gap: 1.1rem; }
    .ac .ac-methode .ac-etapes p { font-size: .9375rem; }
  }

  /* ---------- prix : un comparateur. Les trois prix restent visibles, une seule fiche à la fois ---------- */
  .ac .ac-formules { min-height: 100svh; justify-content: center; gap: 0; padding: 3.375rem .75rem; }
  .ac .ac-formules .ac-h2 { font-size: 8.4vw; line-height: 1; }
  .ac .ac-formules .ac-question { font-size: min(13vw, 8vh); }
  .ac-choix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; margin-top: min(3vh, 1.5rem); }
  .ac-choix button { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .7rem .15rem .65rem; border: 1.5px solid #f4efe466; border-bottom: 0; border-radius: 10px 10px 0 0; background: transparent; color: var(--ivoire); font-family: var(--police); line-height: 1.1; cursor: pointer; }
  .ac-choix__nom { font-size: min(3.2vw, .875rem); font-weight: 800; text-transform: uppercase; }
  .ac-choix__libelle { font-size: .75rem; font-weight: 600; margin-bottom: -.2rem; }
  .ac-choix__prix small { font-size: .5em; letter-spacing: 0; margin-left: .1em; }
  .ac-choix__prix { font-size: min(5.8vw, 1.65rem); font-weight: 900; letter-spacing: -.04em; white-space: nowrap; }
  .ac-choix__delai { font-size: .75rem; font-weight: 500; white-space: nowrap; }
  .ac-choix button[aria-selected="true"] { border-color: #fff; background: #fff; color: var(--bleu); }
  .ac-choix button[aria-selected="true"] .ac-choix__nom, .ac-choix button[aria-selected="true"] .ac-choix__delai { color: var(--encre); }
  .ac .ac-choix button:focus-visible { outline: 3px solid var(--menthe); outline-offset: -5px; }
  /* les fiches sont superposées : la hauteur est celle de la plus longue, la page ne bouge pas en changeant d'offre */
  .ac .ac-offres--comparer { row-gap: 0; }
  .ac-offres--comparer .ac-offre { grid-area: 1 / 1; visibility: hidden; padding: 1.1rem 1.25rem 1rem; border-radius: 0 0 10px 10px; }
  .ac-offres--comparer .ac-offre.est-choisie { visibility: visible; }
  .ac-offres--comparer .ac-offre:hover, .ac-offres--comparer .ac-offre:focus-within { translate: 0 0; box-shadow: none; }
  .ac-offres--comparer .ac-offre::before { display: none; }
  /* nom et prix sont déjà dans le bouton choisi */
  .ac-offres--comparer .ac-offre h3, .ac-offres--comparer .ac-offre__prix { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ac .ac-offres--comparer .ac-offre__pour { margin: 0; font-size: 1.125rem; font-weight: 800; line-height: 1.3; }
  .ac .ac-offres--comparer .ac-offre__delai { margin: .35rem 0 .5rem; padding: .35rem 0 .65rem; font-size: 1rem; }
  .ac .ac-offres--comparer ul { margin-bottom: .8rem; }
  .ac-offres--comparer li { padding: .22rem 0; font-size: 1rem; line-height: 1.3; }
  .ac .ac-formules .ac-note { gap: .4rem; margin-top: .8rem; padding: 0 .5rem; font-size: .8125rem; line-height: 1.4; }
  @media (max-height: 44rem) {
    .ac .ac-formules { padding-top: 1rem; }
    .ac .ac-formules .ac-question { font-size: 2.5rem; }
    .ac-choix { margin-top: .75rem; }
    .ac-offres--comparer li { padding: .12rem 0; font-size: .9375rem; }
    .ac .ac-offres--comparer .ac-offre__pour { font-size: 1rem; }
  }

  /* ---------- évolutions : deux onglets, des lignes qui se touchent, les deux autres offres côte à côte ---------- */
  .ac .ac-evolutions { min-height: 100svh; justify-content: center; gap: 0; padding: 3.375rem 1.25rem; }
  .ac .ac-evolutions .ac-h2 { font-size: 8.4vw; line-height: 1; margin: 0; }
  .ac .ac-evolutions .ac-question { font-size: min(13vw, 8vh); }
  .ac-choix--evo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: min(3vh, 1.5rem); border-bottom: 3px solid var(--ivoire); }
  .ac-choix--evo button { padding: .7rem .2rem; }
  .ac-choix--evo .ac-choix__nom { font-size: min(3.9vw, 1.05rem); font-weight: 900; }
  .ac-choix.ac-choix--evo button[aria-selected="true"] { border-color: var(--ivoire); background: var(--ivoire); color: var(--encre); }
  .ac .ac-evo--onglets { row-gap: 0; }
  .ac-evo--onglets > div { grid-area: 1 / 1; visibility: hidden; }
  .ac-evo--onglets > div.est-choisie { visibility: visible; }
  .ac-evo--onglets h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ac .ac-evo--onglets .ac-definition { min-height: 0; margin-top: .8rem; font-size: .9375rem; line-height: 1.45; }
  .ac-evo--onglets .ac-tarifs { margin-top: .5rem; border-top: 0; }
  .ac-evo--onglets .ac-tarifs th { padding: .65rem 0; font-size: 1rem; }
  .ac-evo--onglets .ac-tarifs th b, .ac-evo--onglets .ac-tarifs td { font-size: 1.4rem; }
  .ac-evo--onglets .ac-tarifs td { padding-right: 2.5rem; position: relative; }
  /* la flèche dit que la ligne se touche */
  .ac-evo--onglets .ac-tarifs td::after { content: "→"; content: "→" / ""; position: absolute; right: 0; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 5px; background: var(--menthe); color: var(--encre); font-size: 1.05rem; font-weight: 800; }
  .ac-evo--onglets .ac-tarifs tr:active { background: var(--menthe); color: var(--encre); }
  .ac .ac-evo--onglets .ac-valable { margin-top: .4rem; font-size: .8125rem; }
  .ac .ac-evolutions .ac-aussi { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; margin-top: min(2.5vh, 1.25rem); padding-top: 1rem; }
  .ac-evolutions .ac-aussi > div { display: flex; flex-direction: column; }
  .ac-evolutions .ac-aussi h3 { font-size: 1rem; line-height: 1.15; }
  .ac .ac-evolutions .ac-aussi p { margin: .3rem 0 .35rem; font-size: .8125rem; line-height: 1.4; }
  .ac-evolutions .ac-aussi a { margin-top: auto; align-self: flex-start; padding: .5rem 0; font-size: .9375rem; font-weight: 700; }
  @media (max-height: 44rem) {
    .ac .ac-evolutions { padding-top: 1rem; }
    .ac .ac-evolutions .ac-question { font-size: 2.5rem; }
    .ac-choix--evo { margin-top: .75rem; }
    .ac-evo--onglets .ac-tarifs th { padding: .45rem 0; }
  }

  /* ---------- faits : chaque ligne calée sur la largeur, comme au premier écran ---------- */
  .ac .ac-faits { min-height: 100svh; justify-content: center; gap: min(3.5vh, 2rem); padding: 3.375rem .75rem; }
  .ac .ac-faits .ac-h2 { font-size: 8.4vw; line-height: 1; text-wrap: balance; }
  .ac .ac-faits .ac-question { font-size: min(13vw, 8vh); }
  .ac-faits .ac-liste li { padding: min(2.6vh, 1.4rem) 0; }
  .ac-faits .ac-liste h3 { margin: 0; line-height: 1; white-space: nowrap; }
  .ac-faits .ac-liste li:nth-child(1) h3 { font-size: 13.4vw; }
  .ac-faits .ac-liste li:nth-child(2) h3 { font-size: 8.7vw; }
  .ac-faits .ac-liste li:nth-child(3) h3 { font-size: 9.6vw; }
  .ac-faits .ac-liste li:nth-child(4) h3 { font-size: 8.5vw; }
  .ac .ac-faits .ac-liste p { margin-top: .45rem; font-size: .9375rem; line-height: 1.35; }
  .ac-anime .ac-faits .ac-remplit, .ac-anime .ac-faits .ac-remplit::after { -webkit-text-stroke-width: 1.5px; }
  @media (max-height: 44rem) {
    .ac .ac-faits { gap: 1rem; padding-top: 1rem; padding-bottom: 4.5rem; }
    .ac .ac-faits .ac-question { font-size: 2.5rem; }
    .ac-faits .ac-liste li { padding: .65rem 0; }
    .ac .ac-faits .ac-liste p { margin-top: .25rem; font-size: .875rem; }
  }

  /* ---------- fin de page : la même affiche que le premier écran ---------- */
  .ac .ac-fin { height: auto; min-height: 100svh; padding-top: 0; }
  .ac-fin .ac-affiche { justify-content: flex-end; padding: 4vh 0 5vh; }
  .ac .ac-fin .ac-titre { translate: 0 0; line-height: 1.02; }
  .ac-fin .ac-rang { translate: calc(var(--y, 0) * var(--sens) * .06px) 0; }
  .ac-fin .ac-rang:nth-child(1) { font-size: 15.4vw; }
  .ac-fin .ac-rang:nth-child(2) { font-size: 13.4vw; }
  .ac-fin .ac-piste > span[data-t] { visibility: hidden; }
  .ac-fin .ac-titre::before { content: "Dès 490\A0€\A0HT\A Votre site\A Dès 490\A0€\A0HT\A Votre site"; content: "Dès 490\A0€\A0HT\A Votre site\A Dès 490\A0€\A0HT\A Votre site" / ""; display: block; white-space: pre; text-align: center; font-size: 13.2vw; line-height: 1.04; color: var(--bleu); -webkit-text-stroke: 2px #627fb0; paint-order: stroke fill; margin-bottom: .6vh; -webkit-mask-image: linear-gradient(transparent, #000 85%); mask-image: linear-gradient(transparent, #000 85%); }
  .ac .ac-fin .ac-tente { position: static; translate: none; align-self: center; margin: 4vh 0 0; font-size: min(15vw, 9vh); }
  .ac-fin .ac-reponse { justify-content: space-between; gap: 1rem; padding: 0 .75rem 5vh; }
  .ac-fin .ac-mot { font-size: min(19vw, 11vh); }
  @media (max-height: 44rem) {
    .ac-fin .ac-titre::before { content: "Dès 490\A0€\A0HT\A Votre site"; content: "Dès 490\A0€\A0HT\A Votre site" / ""; }
  }

  /* ---------- menu ouvert : quatre grandes rubriques faciles à toucher ---------- */

  /* ---------- très petits écrans : le bouton du haut ne déborde plus ---------- */
}

