
:root {
  --lever: cubic-bezier(.16, 1, .3, 1);
  --std: cubic-bezier(.2, .7, .2, 1);
  --pose: cubic-bezier(.3, 1.25, .5, 1);
  --trajet: cubic-bezier(.45, .05, .35, 1);
}

.anim .instantane,
.anim .instantane *,
.anim .instantane::before,
.anim .instantane::after,
.anim .instantane *::before,
.anim .instantane *::after { animation: none !important; }

.btn { transition: transform var(--dur-fast) var(--ease-out); }
.btn::before { transition: transform 320ms var(--courbe-lever); }
.fleche { transition: transform var(--dur-entete) var(--courbe-lever); }

.card { isolation: isolate; }
.pastille { transition: transform 500ms var(--lever); }
@media (hover: hover) and (pointer: fine) {
  .card { transition: transform 360ms var(--std), border-color 360ms var(--std); }
  .card:hover { transform: translateY(-6px); border-color: var(--brun); }
  .card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    box-shadow: var(--ombre-survol);
    opacity: 0;
    pointer-events: none;
    transition: opacity 360ms var(--std);
  }
  .card:hover::before { opacity: 1; }
  .card::after {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 0;
    height: 4px;
    border-radius: 4px;
    background: var(--terra);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 500ms var(--lever);
    pointer-events: none;
  }
  .card:hover::after { transform: scaleX(1); }
  .card:hover .pastille { transform: translateY(58%); }
}

@media (hover: none) {
  .btn { transition: transform 160ms var(--std); }
  .btn:active { transform: translateY(-2px); }
}

.site-nav a::after { transition: transform var(--dur-entete) var(--courbe-standard); }

.menu-mobile__lien .fleche { transition: transform var(--dur-entete) var(--courbe-lever); }
.menu-mobile__lien:hover .fleche,
.menu-mobile__lien:focus-visible .fleche { transform: translateX(6px); }

.site-header::after { transition: opacity var(--dur-entete) var(--ease-out); }


.faq__question::after {
  transition: transform var(--dur-entete) var(--courbe-standard),
    background-color var(--dur-entete) var(--courbe-standard);
}

.bascule__bouton {
  transition: background-color 320ms var(--courbe-lever);
}

@media (prefers-reduced-motion: no-preference) {
  html.js .menu-mobile[open] { animation: rideau 420ms var(--courbe-lever) both; }
  html.js .menu-mobile[open] .menu-mobile__soleil { animation: lever 900ms var(--courbe-lever) 300ms both; }
}

@keyframes rideau {
  from { clip-path: inset(0 0 100% 0); }
}
@keyframes lever {
  from { transform: translateY(70%); }
}

.form-status { transition: opacity var(--dur-base) var(--ease-out); }

@keyframes hero-trace { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hero-lever { from { transform: translateY(100%); } to { transform: none; } }
@keyframes hero-halo { from { transform: translateY(40%) scale(.9); opacity: 0; } to { transform: none; opacity: .8; } }
@keyframes hero-pose { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes balayage {
  0% { transform: translateX(-140%) skewX(-18deg); opacity: 0; }
  15% { opacity: .38; }
  85% { opacity: .38; }
  100% { transform: translateX(420%) skewX(-18deg); opacity: 0; }
}
@keyframes trace-ligne { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes trace-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes trace-centre { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lever-clip { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sun-lever { from { transform: translateY(100%); } to { transform: translateY(var(--niv, 0%)); } }
@keyframes pose-couche { from { transform: translateY(28px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes epaissir { from { transform: scaleY(1); } to { transform: scaleY(1.5); } }
@keyframes halo-accord { from { transform: scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }

.anim [data-scene="arrivee"]:not(.joue) .hero__horizon { transform: scaleX(0); }
.anim [data-scene="arrivee"]:not(.joue) .hero__halo { opacity: 0; transform: translateY(40%) scale(.9); }
.anim [data-scene="arrivee"]:not(.joue) .hero__soleil { transform: translateY(100%); }
.anim [data-scene="arrivee"]:not(.joue) .hero__reflet i { transform: scaleX(0); }
.anim [data-scene="arrivee"]:not(.joue) .maquette,
.anim [data-scene="arrivee"]:not(.joue) .demo__fenetre { opacity: 0; transform: translateY(40px); }
.anim [data-scene="arrivee"]:not(.joue) .prix-appel__montant::after { transform: scaleX(0); }

.anim [data-scene="arrivee"].joue .hero__horizon { animation: hero-trace 800ms var(--lever) both; }
.anim [data-scene="arrivee"].joue .hero__halo { animation: hero-halo 1500ms var(--lever) 80ms both; }
.anim [data-scene="arrivee"].joue .hero__soleil { animation: hero-lever 1200ms var(--lever) 150ms both; }
.anim [data-scene="arrivee"].joue .hero__reflet i { animation: hero-trace 700ms var(--lever) 400ms both; }
.anim [data-scene="arrivee"].joue .hero__reflet i:nth-child(2) { animation-delay: 520ms; }
.anim [data-scene="arrivee"].joue .maquette,
.anim [data-scene="arrivee"].joue .demo__fenetre { animation: hero-pose 800ms var(--pose) 350ms both; }
.anim [data-scene="arrivee"] .maquette { position: relative; overflow: hidden; }
.anim [data-scene="arrivee"] .maquette::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  background: linear-gradient(90deg, rgba(255, 250, 240, 0), rgba(255, 250, 240, .45), rgba(255, 250, 240, 0));
  opacity: 0;
  pointer-events: none;
}
.anim [data-scene="arrivee"].joue .maquette::after { animation: balayage 900ms var(--std) 1050ms both; }
.prix-appel__ligne .prix-appel__montant { position: relative; text-decoration: none; }
.prix-appel__ligne .prix-appel__montant::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12em;
  height: 0.12em;
  border-radius: 2px;
  background: var(--abricot);
  transform-origin: left;
}
.anim [data-scene="arrivee"].joue .prix-appel__montant::after { animation: hero-trace 500ms var(--lever) 900ms both; }

.anim .card[data-scene="carte"]:not(.joue) .pastille { clip-path: inset(100% 0 0 0); }
.anim .card[data-scene="carte"] .pastille::after { transform-origin: left; }
.anim .card[data-scene="carte"]:not(.joue) .pastille::after { transform: scaleX(0); }
.anim .card[data-scene="carte"].joue .pastille { animation: lever-clip 900ms var(--lever) 0ms backwards; }
.anim .card[data-scene="carte"].joue .pastille::after { animation: trace-ligne 500ms var(--lever) 0ms backwards; }
.anim .cartes-offres .card[data-scene="carte"].joue:nth-child(2) .pastille,
.anim .cartes-offres .card[data-scene="carte"].joue:nth-child(2) .pastille::after { animation-delay: 120ms; }
.anim .cartes-offres .card[data-scene="carte"].joue:nth-child(3) .pastille,
.anim .cartes-offres .card[data-scene="carte"].joue:nth-child(3) .pastille::after { animation-delay: 240ms; }

.parcours__soleil i { --niv: 0%; --retard: 0ms; }
.parcours__soleil--n1 i { --niv: 70%; }
.parcours__soleil--n2 i { --niv: 56%; }
.parcours__soleil--n3 i { --niv: 40%; }
.parcours__soleil--n4 i { --niv: 24%; }
@media (min-width: 901px) {
  .parcours__soleil--n1 i { --retard: 242ms; }
  .parcours__soleil--n2 i { --retard: 573ms; }
  .parcours__soleil--n3 i { --retard: 1022ms; }
  .parcours__soleil--n4 i { --retard: 1317ms; }
  .parcours--court .parcours__soleil--n2 i { --retard: 645ms; }
  .parcours--court .parcours__soleil--n3 i { --retard: 881ms; }
  .parcours--court .parcours__soleil--n4 i { --retard: 1188ms; }
  .parcours__soleil--n6 i { --retard: 1456ms; }
  .parcours__soleil--n7 i { --retard: 1515ms; }
  .parcours__soleil--n8 i { --retard: 1623ms; }
}

.anim .parcours__rang[data-scene="rang"]::before { transform-origin: left; }
.anim .parcours__rang[data-scene="rang"]:not(.joue)::before { transform: scaleX(0); }
.anim .parcours__rang--avant[data-scene="rang"].joue::before { animation: trace-ligne 2000ms var(--trajet) both; }
.anim .parcours__rang--apres[data-scene="rang"].joue::before { animation: trace-ligne 900ms var(--lever) 1450ms both; }

@media (min-width: 901px) {
  .anim .parcours__rang[data-scene="rang"]:not(.joue) .parcours__soleil i { transform: translateY(100%); }
  .anim .parcours__rang[data-scene="rang"].joue .parcours__soleil i {
    animation: sun-lever 900ms var(--lever) var(--retard) both;
  }
}
@media (max-width: 900px) {
  .anim .parcours__etape[data-scene="etape"]:not(.joue) .parcours__soleil i { transform: translateY(100%); }
  .anim .parcours__etape[data-scene="etape"].joue .parcours__soleil i {
    animation: sun-lever 900ms var(--lever) var(--retard) both;
  }
}

.anim .parcours__fourche[data-scene="detour"]::before { transform-origin: top; }
.anim .parcours__fourche[data-scene="detour"]:not(.joue)::before { transform: scaleY(0); }
.anim .parcours__fourche[data-scene="detour"].joue::before { animation: trace-y 900ms var(--std) both; }
.anim .parcours__detour--boite { isolation: isolate; background: none; border-color: transparent; }
.anim .parcours__detour--boite::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  z-index: -1;
  border: 2px solid var(--brun);
  border-radius: 18px;
  background: var(--blanc);
  opacity: 1;
}
.anim .parcours__fourche[data-scene="detour"]:not(.joue) .parcours__detour--boite::before { opacity: 0; }
.anim .parcours__fourche[data-scene="detour"].joue .parcours__detour--boite::before {
  animation: pose-couche 700ms var(--pose) 900ms both;
}

.anim .parcours__accord[data-scene="accord"]:not(.joue) .parcours__grand-soleil { clip-path: inset(100% 0 0 0); }
.anim .parcours__accord[data-scene="accord"]:not(.joue) .parcours__halo { opacity: 0; transform: scale(.9); transform-origin: bottom center; }
.anim .parcours__accord[data-scene="accord"].joue .parcours__grand-soleil { animation: lever-clip 1100ms var(--lever) both; }
.anim .parcours__accord[data-scene="accord"].joue .parcours__halo { animation: halo-accord 1100ms var(--lever) both; }
.parcours__accord .parcours__ligne { transform: scaleY(1.5); }
.anim .parcours__accord[data-scene="accord"]:not(.joue) .parcours__ligne { transform: scaleY(1); }
.anim .parcours__accord[data-scene="accord"].joue .parcours__ligne { animation: epaissir 400ms var(--std) 1100ms both; }

@media (max-width: 900px) {
  .parcours__soleil i { --retard: 0ms; }
  .anim .parcours__rang[data-scene="rang"] { border-left-color: transparent; }
  .anim .parcours__rang[data-scene="rang"]::after {
    content: "";
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px;
    background: var(--brun);
    transform-origin: top;
  }
  .anim .parcours__rang[data-scene="rang"]:not(.joue)::after { transform: scaleY(0); }
  .anim .parcours__rang[data-scene="rang"].joue::after { animation: trace-y 2000ms var(--trajet) both; }
  .anim .parcours__detour--boite { position: relative; top: auto; right: auto; bottom: auto; left: auto; }
}

.anim .section--final[data-scene="appel"]:not(.joue)::before { transform: scaleX(0); }
.anim .section--final[data-scene="appel"].joue::before { animation: trace-centre 900ms var(--trajet) both; }
.anim .section--final[data-scene="appel"]:not(.joue)::after { clip-path: inset(100% 0 0 0); }
.anim .section--final[data-scene="appel"].joue::after { animation: lever-clip 1400ms var(--lever) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .btn::before,
  .fleche,
  .card,
  .card::before,
  .card::after,
  .pastille,
  .site-nav a::after,
  .site-header::after,
  .lien,
  .faq__question::after,
  .bascule__bouton,
  .form-status,
  .menu-mobile__lien .fleche {
    transition: none;
  }
  .btn:hover .fleche,
  .btn:active,
  .card:hover,
  .card:hover .pastille,
  .card:hover::after,
  .menu-mobile__lien:hover .fleche,
  .menu-mobile__lien:focus-visible .fleche {
    transform: none;
  }
  html.js .menu-mobile[open],
  html.js .menu-mobile[open] .menu-mobile__soleil {
    animation: none;
  }
}

@keyframes trace-dash { from { stroke-dashoffset: 100; } }
@keyframes monte-svg { from { transform: translateY(24px); } }

.horizon__barre { transform-origin: left; }
.anim [data-scene="entete"]:not(.joue) .horizon__soleil { clip-path: inset(100% 0 0 0); }
.anim [data-scene="entete"]:not(.joue) .horizon__barre { transform: scaleX(0); }
.anim [data-scene="entete"].joue .horizon__soleil { animation: lever-clip 1000ms var(--lever) 100ms both; }
.anim [data-scene="entete"].joue .horizon__barre { animation: trace-ligne 700ms var(--lever) both; }
.anim-charge [data-scene="arrivee"]:not(.joue) .hero__horizon { transform: scaleX(0); }
.anim-charge [data-scene="arrivee"].joue .hero__horizon { animation: hero-trace 800ms var(--lever) both; }
.anim-charge [data-scene="entete"]:not(.joue) .horizon__soleil { clip-path: inset(100% 0 0 0); }
.anim-charge [data-scene="entete"]:not(.joue) .horizon__barre { transform: scaleX(0); }
.anim-charge [data-scene="entete"].joue .horizon__soleil { animation: lever-clip 1000ms var(--lever) 100ms both; }
.anim-charge [data-scene="entete"].joue .horizon__barre { animation: trace-ligne 700ms var(--lever) both; }

.anim [data-scene="village"]:not(.joue) .village-soleil { clip-path: inset(100% 0 0 0); }
.anim [data-scene="village"].joue .village-soleil { animation: lever-clip 1200ms var(--lever) both; }
.anim [data-scene="village"]:not(.joue) .village-bat { transform: translateY(24px); }
.anim [data-scene="village"].joue .village-bat--1 { animation: monte-svg 700ms var(--lever) 200ms both; }
.anim [data-scene="village"].joue .village-bat--2 { animation: monte-svg 700ms var(--lever) 290ms both; }
.anim [data-scene="village"].joue .village-bat--3 { animation: monte-svg 700ms var(--lever) 380ms both; }
.anim [data-scene="village"].joue .village-bat--4 { animation: monte-svg 700ms var(--lever) 470ms both; }
.anim [data-scene="village"] .village-oiseaux { stroke-dasharray: 100; stroke-dashoffset: 0; }
.anim [data-scene="village"]:not(.joue) .village-oiseaux { stroke-dashoffset: 100; }
.anim [data-scene="village"].joue .village-oiseaux { animation: trace-dash 600ms var(--trajet) 900ms both; }
.coche { stroke-dasharray: 100; stroke-dashoffset: 0; }
.anim [data-scene="coches"]:not(.joue) .coche { stroke-dashoffset: 100; }
.anim [data-scene="coches"].joue .coche--1 { animation: trace-dash 300ms var(--std) 0ms both; }
.anim [data-scene="coches"].joue .coche--2 { animation: trace-dash 300ms var(--std) 140ms both; }
.anim [data-scene="coches"].joue .coche--3 { animation: trace-dash 300ms var(--std) 280ms both; }
.anim [data-scene="coches"].joue .coche--4 { animation: trace-dash 300ms var(--std) 420ms both; }
.anim [data-scene="ecran"] .ecran-trait { stroke-dasharray: 100; stroke-dashoffset: 0; }
.anim [data-scene="ecran"]:not(.joue) .ecran-trait { stroke-dashoffset: 100; }
.anim [data-scene="ecran"].joue .ecran-trait--1 { animation: trace-dash 400ms var(--trajet) 0ms both; }
.anim [data-scene="ecran"].joue .ecran-trait--2 { animation: trace-dash 400ms var(--trajet) 160ms both; }
.anim [data-scene="ecran"].joue .ecran-trait--3 { animation: trace-dash 400ms var(--trajet) 320ms both; }
.anim [data-scene="departements"] .liaison-trace { stroke-dasharray: 100; stroke-dashoffset: 0; }
.anim [data-scene="departements"]:not(.joue) .liaison-trace { stroke-dashoffset: 100; }
.anim [data-scene="departements"] .departements__grand .liaisons path:nth-of-type(1) { mask: url(#dep-g-1); }
.anim [data-scene="departements"] .departements__grand .liaisons path:nth-of-type(2) { mask: url(#dep-g-2); }
.anim [data-scene="departements"] .departements__grand .liaisons path:nth-of-type(3) { mask: url(#dep-g-3); }
.anim [data-scene="departements"] .departements__grand .liaisons path:nth-of-type(4) { mask: url(#dep-g-4); }
.anim [data-scene="departements"] .departements__grand .liaisons path:nth-of-type(5) { mask: url(#dep-g-5); }
.anim [data-scene="departements"] .departements__grand .liaisons path:nth-of-type(6) { mask: url(#dep-g-6); }
.anim [data-scene="departements"] .departements__petit .liaisons path:nth-of-type(1) { mask: url(#dep-p-1); }
.anim [data-scene="departements"] .departements__petit .liaisons path:nth-of-type(2) { mask: url(#dep-p-2); }
.anim [data-scene="departements"] .departements__petit .liaisons path:nth-of-type(3) { mask: url(#dep-p-3); }
.anim [data-scene="departements"] .departements__petit .liaisons path:nth-of-type(4) { mask: url(#dep-p-4); }
.anim [data-scene="departements"] .departements__petit .liaisons path:nth-of-type(5) { mask: url(#dep-p-5); }
.anim [data-scene="departements"] .departements__petit .liaisons path:nth-of-type(6) { mask: url(#dep-p-6); }
@media (min-width: 901px) {
  .anim [data-scene="departements"].joue .departements__grand .liaison-trace--1 { animation: trace-dash 600ms var(--trajet) 0ms both; }
  .anim [data-scene="departements"].joue .departements__grand .liaison-trace--2 { animation: trace-dash 600ms var(--trajet) 60ms both; }
  .anim [data-scene="departements"].joue .departements__grand .liaison-trace--3 { animation: trace-dash 600ms var(--trajet) 120ms both; }
  .anim [data-scene="departements"].joue .departements__grand .liaison-trace--4 { animation: trace-dash 600ms var(--trajet) 180ms both; }
  .anim [data-scene="departements"].joue .departements__grand .liaison-trace--5 { animation: trace-dash 600ms var(--trajet) 240ms both; }
  .anim [data-scene="departements"].joue .departements__grand .liaison-trace--6 { animation: trace-dash 600ms var(--trajet) 300ms both; }
}
@media (max-width: 900px) {
  .anim [data-scene="departements"].joue .departements__petit .liaison-trace--1 { animation: trace-dash 600ms var(--trajet) 0ms both; }
  .anim [data-scene="departements"].joue .departements__petit .liaison-trace--2 { animation: trace-dash 600ms var(--trajet) 60ms both; }
  .anim [data-scene="departements"].joue .departements__petit .liaison-trace--3 { animation: trace-dash 600ms var(--trajet) 120ms both; }
  .anim [data-scene="departements"].joue .departements__petit .liaison-trace--4 { animation: trace-dash 600ms var(--trajet) 180ms both; }
  .anim [data-scene="departements"].joue .departements__petit .liaison-trace--5 { animation: trace-dash 600ms var(--trajet) 240ms both; }
  .anim [data-scene="departements"].joue .departements__petit .liaison-trace--6 { animation: trace-dash 600ms var(--trajet) 300ms both; }
}

.puce { position: relative; padding-block: 9px; }
.puce::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 16px;
  height: 8px;
  margin-left: -8px;
  border-radius: 16px 16px 0 0;
  background: var(--abricot);
  pointer-events: none;
  clip-path: inset(100% 0 0 0);
}
.puce:has(input:checked)::after,
.puce[aria-pressed="true"]::after { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: no-preference) {
  .puce { transition: transform 200ms var(--std); }
  .puce::after { transition: clip-path 320ms var(--lever); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .puce:hover { transform: translateY(-2px); }
}
@keyframes allume { from { opacity: 0; } }
@keyframes glisse-loupe { from { opacity: 0; transform: translateY(-134px); } }
.anim [data-scene="village"]:not(.joue) .village-fenetre { opacity: 0; }
.anim [data-scene="village"].joue .village-fenetre--1 { animation: allume 400ms var(--std) 1170ms both; }
.anim [data-scene="village"].joue .village-fenetre--2 { animation: allume 400ms var(--std) 1290ms both; }
.anim [data-scene="village"].joue .village-fenetre--3 { animation: allume 400ms var(--std) 1410ms both; }
.anim [data-scene="village"].joue .village-fenetre--4 { animation: allume 400ms var(--std) 1530ms both; }
.anim [data-scene="village"].joue .village-fenetre--5 { animation: allume 400ms var(--std) 1650ms both; }
.anim [data-scene="coches"]:not(.joue) .loupe { opacity: 0; transform: translateY(-134px); }
.anim [data-scene="coches"].joue .loupe { animation: glisse-loupe 600ms var(--std) 720ms both; }


html.js .bascule__bouton { transition: none; }
.anim .bascule__bouton { position: relative; z-index: 1; --dx: 0px; }
.anim .bascule__bouton[aria-pressed="true"] { background: transparent; box-shadow: none; }
.anim .bascule__bouton::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 999px;
  background: var(--blanc);
  box-shadow: 0 1px 0 var(--brun);
  pointer-events: none;
  opacity: 0;
  transform: translateX(var(--dx, 0px));
}
.anim .bascule__bouton[aria-pressed="true"]::before { opacity: 1; transform: none; transition: transform 320ms var(--lever); }

.odometre { display: none; }
html.js .odometre-val { position: relative; }
html.js .odometre-val > .valeur {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
html.js .odometre {
  display: inline-flex;
  height: 1em;
  overflow: hidden;
  vertical-align: -0.12em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.odometre__col { display: flex; flex-direction: column; text-align: center; }
.odometre__col b { display: block; height: 1em; font-weight: inherit; }
.odometre__unite { margin-left: 0.2em; }
html.js [data-engagement="oui"] .odometre__col:not(.fixe) { transform: translateY(-1em); }
.anim .odometre__col { transition: transform 560ms var(--lever); }
.anim .odometre__col:nth-child(2) { transition-delay: 55ms; }
.anim .odometre__col:nth-child(3) { transition-delay: 110ms; }
.anim .odometre__col:nth-child(4) { transition-delay: 165ms; }
.anim .odometre__col:nth-child(5) { transition-delay: 220ms; }
.anim .odometre__col:nth-child(6) { transition-delay: 275ms; }

html.js.anim .carte-offre__creation { position: relative; overflow: hidden; }
html.js.anim .carte-offre__creation > .valeur { display: block; transition: transform 320ms var(--lever), opacity 320ms var(--std); }
html.js.anim [data-engagement="non"] .carte-offre__creation > .valeur--avec,
html.js.anim [data-engagement="oui"] .carte-offre__creation > .valeur--sans {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(110%);
}

.total-paiement { position: relative; }
.total-paiement::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12em;
  height: 0.12em;
  border-radius: 2px;
  background: var(--abricot);
  transform-origin: left;
}
.anim [data-scene="paiement"]:not(.joue) .total-paiement::after { transform: scaleX(0); }
.anim [data-scene="paiement"].joue .total-paiement::after { animation: hero-trace 500ms var(--lever) both; }


html.anim .progression.cran .progression__astre { animation: astre-cran 600ms var(--lever) 1; }
@keyframes astre-cran { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

html.pilote body:has(#form-projet) *,
html.pilote body:has(#form-projet) *::before,
html.pilote body:has(#form-projet) *::after { transition: none !important; }
html.pilote .recap__bloc.maj::after { animation-fill-mode: none !important; }
html.pilote .champ.erreur input,
html.pilote .champ.erreur textarea,
html.pilote .champ.erreur select,

#merci-reference { flex-wrap: wrap; }
.merci-envoi { position: relative; flex: 0 0 100%; height: 112px; margin: 0 0 var(--e-4); }
.merci-envoi__soleil {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 96px;
  height: 48px;
  margin-left: -48px;
  border-radius: 96px 96px 0 0;
  background: var(--abricot);
}
.merci-envoi__horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  background: var(--brun);
}
.merci-envoi__coche { position: absolute; left: 50%; top: 0; width: 48px; height: 48px; margin-left: -24px; overflow: visible; }
.merci-envoi__coche path {
  fill: none;
  stroke: var(--brun);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
html.anim #merci-reference .merci-envoi__soleil { animation: lever-clip 1200ms var(--lever) backwards; }
html.anim #merci-reference .merci-envoi__coche path { animation: trace-coche 500ms var(--std) 1000ms backwards; }
html.anim #merci-reference .merci-envoi__horizon { animation: trace-ligne 700ms var(--lever) backwards; }
@keyframes trace-coche { from { stroke-dashoffset: 1; } }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { transform: translateY(0); }
}
.btn:not([aria-disabled="true"]):focus-visible::before { transform: translateY(0); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn:hover .fleche { transform: translateX(4px); }
}
@media (prefers-reduced-motion: no-preference) {
  .btn:not([aria-disabled="true"]):focus-visible .fleche { transform: translateX(4px); }
}
.lien { position: relative; }
.lien::after {
  content: "";
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: min(9px, calc(26px - 1em));
  height: 2px;
  border-radius: 2px;
  background: var(--terra);
  transform-origin: left;
  pointer-events: none;
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .lien:hover { text-decoration-color: transparent; }
  .lien:hover::after { display: block; animation: trace-ligne 240ms var(--std) both; }
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .lien:focus-visible { text-decoration-color: transparent; }
  .lien:focus-visible::after { display: block; animation: trace-ligne 240ms var(--std) both; }
}
@media (forced-colors: active) {
  .lien, .lien:hover, .lien:focus-visible { text-decoration-line: underline; text-decoration-color: var(--terra); }
  .lien::after, .lien:hover::after, .lien:focus-visible::after { display: none; }
}
.site-nav a:focus-visible::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .inclus__groupe, .encadre-carte { position: relative; }
  .inclus__groupe::before, .encadre-carte::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 3px;
    border-radius: 3px;
    background: var(--terra);
    transform: scaleX(0);
    transform-origin: left;
    pointer-events: none;
  }
  .inclus__groupe:hover::before, .encadre-carte:hover::before { transform: scaleX(1); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .inclus__icone { transition: transform 320ms var(--lever); }
  .inclus__groupe::before, .encadre-carte::before { transition: transform 320ms var(--lever); }
  .inclus__groupe:hover .inclus__icone { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: no-preference) {
  .etape-detail__resume::after { transition: transform var(--dur-entete) var(--courbe-standard); }
  details.faq__item::details-content,
  details.etape-detail::details-content {
    transform: translateY(-6px);
    transition: transform var(--dur-entete) var(--std);
  }
  details.faq__item[open]::details-content,
  details.etape-detail[open]::details-content { transform: none; }
}
@view-transition { navigation: auto; }
.site-header { view-transition-name: entete; }
::view-transition-group(entete) { animation: none; }
::view-transition-old(entete) { display: none; }
::view-transition-new(entete) { animation: none; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 200ms; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}
