/* PROPULYA — site v2
   1. Socle   2. Composants   3. Accueil   4. Pages intérieures   5. Formulaire   6. Mouvement réduit */

@font-face {
    font-family: "Archivo";
    src: url("../fonts/archivo-var.woff2") format("woff2");
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-style: normal;
    font-display: swap;
}

:root {
    --nuit: #011948;
    --abysse: #010d2a;
    --nuit-2: #0a2a66;
    --vert: #01cc59;
    --vert-vif: #2ff58b;
    --vert-texte: #007a38;
    --jaune: #ffc935;
    --bleu: #2f6bff;
    --papier: #f2f5ee;
    --blanc: #ffffff;
    --encre: #0b1733;
    --gris: #55617a;
    --trait: rgba(1, 25, 72, .13);
    --trait-clair: rgba(255, 255, 255, .14);

    --wrap: 1240px;
    --barre: 76px;
    --doux: cubic-bezier(.22, .8, .2, 1);
    --net: cubic-bezier(.7, 0, .2, 1);
    --c: 12px;
    --coupe: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--barre) + 24px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    color: var(--encre);
    background: var(--blanc);
    font-family: "Archivo", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    font-stretch: 100%;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-ouvert { overflow: hidden; }

main { overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
p { margin: 0 0 1.1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--nuit); font-weight: 800; font-stretch: 118%; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
h3 { font-size: 1.3rem; font-stretch: 110%; letter-spacing: -.01em; line-height: 1.15; }

::selection { color: var(--nuit); background: var(--vert-vif); }

:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap--etroit { width: min(100% - 40px, 860px); }

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: fixed; z-index: 999; left: 16px; top: -80px;
    padding: 12px 18px; color: var(--nuit); background: var(--jaune); font-weight: 700;
    transition: top .2s;
}
.skip-link:focus { top: 16px; }

.icon { flex: 0 0 auto; width: 22px; height: 22px; }
.fleche { flex: 0 0 auto; width: .8em; height: .8em; }

/* ---------- Blocs et titres ---------- */

.bloc { position: relative; padding-block: clamp(72px, 10vw, 136px); }
.bloc--papier { background: var(--papier); }
.bloc--nuit { color: rgba(255, 255, 255, .76); background: var(--nuit); }
.bloc--nuit h2, .bloc--nuit h3 { color: var(--blanc); }

.titre { font-size: clamp(2rem, 4.7vw, 3.9rem); font-weight: 800; font-stretch: 122%; line-height: 1; }
.chapo { max-width: 58ch; margin-top: 1.4rem; color: var(--gris); font-size: clamp(1.06rem, 1.5vw, 1.22rem); }
.bloc--nuit .chapo { color: rgba(255, 255, 255, .78); }

.entete { max-width: 920px; margin-bottom: clamp(36px, 5vw, 64px); }
.entete--ligne { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.entete--ligne > div { max-width: 820px; }

.etiquette {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 1.3rem; padding: 6px 12px 6px 10px;
    color: var(--nuit); background: var(--vert); font-size: .9rem; font-weight: 700; font-stretch: 108%;
    clip-path: var(--coupe); --c: 8px;
}
.etiquette .icon { width: 18px; height: 18px; }
.etiquette--jaune { background: var(--jaune); }

/* ---------- Boutons ---------- */

.btn {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 12px 26px;
    font-weight: 700; font-stretch: 110%; font-size: 1rem; line-height: 1.15; text-align: center;
    clip-path: var(--coupe);
    transition: color .25s, background-color .25s, transform .35s var(--doux);
}
.btn::before {
    content: ""; position: absolute; z-index: -1; inset: -2px;
    transform: translateX(-104%) skewX(-18deg); transform-origin: left;
    transition: transform .45s var(--net);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0) skewX(0deg); }
.btn:focus-visible { clip-path: none; }
.btn__fleche { width: 15px; height: 15px; transition: transform .35s var(--doux); }
.btn:hover .btn__fleche { transform: translate(3px, -3px); }
.btn__ico { width: 18px; height: 18px; }

.btn--vert { color: var(--nuit); background: var(--vert); }
.btn--vert::before { background: var(--blanc); }
.btn--nuit { color: var(--blanc); background: var(--nuit); }
.btn--nuit::before { background: var(--abysse); }
.btn--ghost { color: var(--blanc); background: rgba(255, 255, 255, .1); }
.btn--ghost::before { background: var(--blanc); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--nuit); }
.btn--contour { color: var(--nuit); background: rgba(1, 25, 72, .08); }
.btn--contour::before { background: var(--nuit); }
.btn--contour:hover, .btn--contour:focus-visible { color: var(--blanc); }

.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .95rem; --c: 9px; }
.btn--xl { min-height: 60px; padding: 14px 30px; font-size: 1.06rem; --c: 14px; }
.btn--large { width: 100%; }
.groupe-btn { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.lien { display: inline-flex; align-items: center; gap: 8px; color: var(--nuit); font-weight: 700; font-stretch: 108%; }
.lien .fleche { color: var(--vert-texte); transition: transform .35s var(--doux); }
.lien:hover .fleche, a:hover > .lien .fleche { transform: translate(3px, -3px); }
.lien { background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat; padding-bottom: 3px; transition: background-size .35s var(--doux); }
.lien:hover, a:hover > .lien { background-size: 100% 2px; }
.lien--clair { color: var(--blanc); }
.lien--clair .fleche { color: var(--vert-vif); }

.coupe { clip-path: var(--coupe); --c: 22px; }

.coches { display: grid; gap: 9px; margin: 1.2rem 0 1.5rem; }
.coches li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.coches .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--vert-texte); stroke-width: 2.6; }
.bloc--nuit .coches .icon { color: var(--vert-vif); }

.statut { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; font-size: .82rem; font-weight: 700; background: var(--papier); color: var(--nuit); border-radius: 99px; }
.statut::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.statut--dispo { background: #d8f9e5; color: #00632d; }
.statut--dispo::before { animation: battement 1.8s infinite; }
.statut--bientot { background: #e0e9ff; color: #1b46b8; }
.statut--pilote { background: #fff0c2; color: #6b4b00; }

@keyframes battement { 50% { opacity: .25; } }

/* ---------- Barre de navigation ---------- */

.topbar {
    position: fixed; z-index: 100; inset: 0 0 auto 0; height: var(--barre);
    color: var(--blanc);
    transition: transform .45s var(--doux), background-color .3s;
    view-transition-name: barre;
}
.topbar.is-colle { background: rgba(1, 13, 42, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.topbar.is-cache { transform: translateY(-101%); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { position: relative; z-index: 2; }
.brand img { width: 172px; height: auto; }
.topbar__progress { position: absolute; inset: auto 0 0 0; height: 2px; }
.topbar__progress i { display: block; height: 100%; background: var(--vert); transform: scaleX(0); transform-origin: left; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link { position: relative; padding: 10px 14px; font-weight: 600; font-size: .98rem; color: rgba(255, 255, 255, .82); transition: color .2s; }
.nav__link::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
    background: var(--vert); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--doux);
}
.nav__link:hover, .nav__link.is-active { color: var(--blanc); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; }

.burger { display: none; position: relative; z-index: 2; width: 48px; height: 48px; color: var(--blanc); }
.burger__bars { position: absolute; inset: 0; display: grid; place-content: center; gap: 7px; }
.burger__bars i { width: 26px; height: 3px; background: currentColor; transition: transform .35s var(--doux); }
.burger[aria-expanded="true"] .burger__bars i:first-child { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars i:last-child { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 960px) {
    .burger { display: block; }
    .nav {
        position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
        padding: 96px 28px 40px; background: var(--abysse);
        clip-path: polygon(100% 0, 100% 0, 100% 0); visibility: hidden;
        transition: clip-path .6s var(--net), visibility 0s .6s;
    }
    .nav.is-ouvert { clip-path: polygon(-150% 0, 100% 0, 100% 250%); visibility: visible; transition: clip-path .6s var(--net); }
    .nav__link { padding: 6px 0; font-size: clamp(2rem, 9vw, 3rem); font-weight: 800; font-stretch: 120%; letter-spacing: -.02em; color: var(--blanc); opacity: 0; transform: translateX(30px); transition: opacity .4s, transform .5s var(--doux); }
    .nav__link::after { left: 0; right: 0; bottom: 0; height: 3px; }
    .nav.is-ouvert .nav__link { opacity: 1; transform: none; }
    .nav.is-ouvert .nav__link:nth-child(1) { transition-delay: .15s; }
    .nav.is-ouvert .nav__link:nth-child(2) { transition-delay: .21s; }
    .nav.is-ouvert .nav__link:nth-child(3) { transition-delay: .27s; }
    .nav.is-ouvert .nav__link:nth-child(4) { transition-delay: .33s; }
    .nav__cta { margin: 28px 0 0; min-height: 56px; font-size: 1.05rem; }
    .topbar.is-cache { transform: none; }
}

/* ---------- Appel final et pied de page ---------- */

.decollage { position: relative; overflow: hidden; padding-block: clamp(80px, 11vw, 150px); color: var(--nuit); background: var(--vert); }
.decollage__rayures { position: absolute; inset: 0; pointer-events: none; }
.decollage__rayures i {
    position: absolute; left: -20%; width: 70%; height: 46px; background: rgba(1, 25, 72, .09);
    transform: rotate(-38deg); transform-origin: left center; animation: rayure 7s linear infinite;
}
.decollage__rayures i:nth-child(1) { top: 100%; }
.decollage__rayures i:nth-child(2) { top: 150%; left: 10%; height: 22px; animation-duration: 5s; }
.decollage__rayures i:nth-child(3) { top: 190%; left: 34%; animation-duration: 9s; }
.decollage__rayures i:nth-child(4) { top: 230%; left: 52%; height: 14px; animation-duration: 6s; }
.decollage__rayures i:nth-child(5) { top: 270%; left: 70%; height: 30px; animation-duration: 8s; }
@keyframes rayure { from { translate: -20% 0; opacity: 0; } 20%, 80% { opacity: 1; } to { translate: 60% -120vh; opacity: 0; } }
.decollage__in { position: relative; }
.decollage__titre { max-width: 13ch; font-size: clamp(2.6rem, 8vw, 6.6rem); font-weight: 900; font-stretch: 125%; line-height: .93; letter-spacing: -.03em; }
.decollage__texte { max-width: 46ch; margin: 1.8rem 0 0; font-size: clamp(1.08rem, 1.6vw, 1.3rem); font-weight: 500; }
.decollage__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.4rem; }
.decollage .btn--vert { color: var(--blanc); background: var(--nuit); }
.decollage .btn--vert::before { background: var(--blanc); }
.decollage .btn--vert:hover, .decollage .btn--vert:focus-visible { color: var(--nuit); }
.decollage .btn--ghost { color: var(--nuit); background: rgba(1, 25, 72, .14); }
.decollage .btn--ghost::before { background: var(--nuit); }
.decollage .btn--ghost:hover { color: var(--blanc); }

.pied { position: relative; overflow: hidden; padding-top: clamp(56px, 7vw, 96px); color: rgba(255, 255, 255, .66); background: var(--abysse); font-size: .98rem; }
.pied__grille { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.pied__marque img { width: 180px; margin-bottom: 20px; }
.pied__marque p { max-width: 34ch; }
.pied__reseaux { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pied__reseaux a { padding: 6px 12px; background: rgba(255, 255, 255, .08); color: var(--blanc); font-weight: 600; font-size: .9rem; }
.pied h3 { margin-bottom: 16px; color: var(--blanc); font-size: 1rem; font-stretch: 112%; }
.pied nav a, .pied__grille > div:last-child a, .pied__grille > div:last-child span { display: block; padding: 5px 0; }
.pied a { transition: color .2s; }
.pied a:hover { color: var(--vert-vif); }
.pied__geant {
    margin: clamp(30px, 5vw, 70px) 0 -0.16em; text-align: center; white-space: nowrap;
    font-size: clamp(3rem, 14.4vw, 17rem); font-weight: 900; font-stretch: 125%; line-height: .8; letter-spacing: -.03em;
    color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .13); user-select: none;
}
.pied__bas { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px; border-top: 1px solid var(--trait-clair); background: var(--abysse); font-size: .9rem; }
.pied__bas p { margin: 0; }
.pied__bas div { display: flex; gap: 22px; }

.wa-flottant {
    position: fixed; z-index: 90; right: 18px; bottom: 18px;
    display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 20px 0 16px;
    color: var(--nuit); background: var(--vert); font-weight: 700; border-radius: 99px;
    box-shadow: 0 10px 30px rgba(1, 13, 42, .35); transition: transform .3s var(--doux);
}
.wa-flottant:hover { transform: translateY(-3px) scale(1.04); }

@media (max-width: 860px) {
    .pied__grille { grid-template-columns: 1fr 1fr; }
    .pied__marque { grid-column: 1 / -1; }
    .wa-flottant span { display: none; }
    .wa-flottant { width: 54px; padding: 0; justify-content: center; }
}
@media (max-width: 480px) {
    .pied__grille { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Apparitions au défilement (activées seulement si le script tourne) ---------- */

.has-js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--doux), transform .9s var(--doux); transition-delay: var(--d, 0ms); }
.has-js [data-reveal="droite"] { transform: translateX(40px); }
.has-js [data-reveal="gauche"] { transform: translateX(-40px); }
.has-js [data-reveal="zoom"] { transform: scale(.94); }
.has-js [data-reveal].is-vu { opacity: 1; transform: none; }

.has-js [data-cascade] > * { opacity: 0; transform: translateY(34px); transition: opacity .6s var(--doux), transform .8s var(--doux); transition-delay: calc(var(--i, 0) * 90ms); }
.has-js [data-cascade].is-vu > * { opacity: 1; transform: none; }

.mot { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.mot > span { display: inline-block; transform: translateY(105%); transition: transform .8s var(--doux); transition-delay: calc(var(--i, 0) * 45ms); }
.is-vu > .mot > span { transform: none; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-sortie .28s var(--net) both; }
::view-transition-new(root) { animation: vt-entree .5s var(--doux) both; }
@keyframes vt-sortie { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-entree { from { opacity: 0; transform: translateY(22px); } }

/* =====================================================================
   ACCUEIL
   ===================================================================== */

/* ---------- Hero ---------- */

.hero {
    position: relative; overflow: hidden; isolation: isolate;
    min-height: 100svh; padding: calc(var(--barre) + clamp(28px, 5vh, 64px)) 0 clamp(96px, 12vh, 130px);
    color: var(--blanc);
    background:
        radial-gradient(60% 55% at 84% 62%, rgba(1, 204, 89, .2), transparent 70%),
        radial-gradient(50% 60% at 8% 0%, rgba(47, 107, 255, .24), transparent 70%),
        linear-gradient(180deg, var(--nuit) 0%, var(--abysse) 100%);
}
.hero__trainees { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.hero__grille { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); column-gap: clamp(24px, 4vw, 64px); align-items: start; }
.hero__texte { display: contents; }
.hero__intro { grid-column: 1 / -1; margin: 0 0 clamp(14px, 2vh, 22px); color: var(--vert-vif); font-weight: 600; font-stretch: 108%; font-size: clamp(.95rem, 1.3vw, 1.1rem); }
.hero__titre {
    grid-column: 1 / -1; color: var(--blanc);
    font-size: clamp(2.5rem, 8.3vw, 7.7rem); font-weight: 900; font-stretch: 125%; line-height: .92; letter-spacing: -.035em;
    text-wrap: nowrap;
}
.hero__ligne { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.hero__ligne > span { display: inline-block; }
.hero__ligne--mot { color: var(--vert); padding-top: .04em; }
.rotateur { position: relative; white-space: nowrap; }
.rotateur__mot { display: inline-block; transform-origin: left bottom; transition: transform .55s var(--net), opacity .35s, font-stretch .55s var(--net); }
.rotateur__mot.sort { transform: translateY(-70%) skewY(-4deg); opacity: 0; font-stretch: 62%; }
.rotateur__mot.entre { transform: translateY(80%) skewY(5deg); opacity: 0; font-stretch: 62%; transition: none; }

.hero__chapo { grid-column: 1; margin: clamp(24px, 4vh, 44px) 0 0; max-width: 34em; color: rgba(255, 255, 255, .8); font-size: clamp(1.06rem, 1.45vw, 1.24rem); }
.hero__actions { grid-column: 1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3.4vh, 34px); }
.hero__preuve { grid-column: 1; display: flex; align-items: flex-start; gap: 10px; max-width: 36em; margin: clamp(22px, 3.4vh, 34px) 0 0; color: rgba(255, 255, 255, .62); font-size: .95rem; }
.hero__preuve .icon { width: 20px; height: 20px; color: var(--vert-vif); margin-top: 2px; }

.hero__suite { position: absolute; left: 50%; bottom: 46px; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .6); font-size: .9rem; font-weight: 600; }
.hero__suite .icon { width: 18px; height: 18px; animation: plonge 1.8s var(--doux) infinite; }
@keyframes plonge { 50% { transform: translateY(6px); } }

.has-js [data-entree] { opacity: 0; transform: translateY(24px); }
.has-js .hero__ligne [data-entree] { opacity: 1; transform: translateY(112%); }
.has-js .is-pret [data-entree] { opacity: 1; transform: none; transition: opacity .8s var(--doux), transform 1s var(--doux); transition-delay: calc(var(--n, 0) * 110ms); }

/* Scène : téléphone et cartes flottantes */
.hero__scene {
    grid-column: 2; grid-row: 3 / span 3; position: relative; height: clamp(330px, 46vh, 430px); margin-top: clamp(10px, 2vh, 26px);
    perspective: 1100px; transform-style: preserve-3d;
    --rx: 0deg; --ry: 0deg;
}
.hero__scene > * { transition: transform .5s var(--doux); }
.hero__halo { position: absolute; left: 50%; top: 50%; width: 76%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(1, 204, 89, .34), transparent 64%); filter: blur(12px); }

.tel {
    position: absolute; left: 50%; top: 50%; width: 178px; aspect-ratio: 9 / 18.4;
    margin: -182px 0 0 -89px;
    padding: 7px; background: #05122f; border-radius: 30px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .2), 0 40px 70px rgba(0, 0, 0, .5);
    transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(5deg) translate3d(calc(var(--px, 0) * 10px), calc(var(--py, 0) * 10px), 0);
}
.tel__ecran { position: relative; overflow: hidden; height: 100%; border-radius: 24px; background: linear-gradient(160deg, #0c8f4b, var(--nuit) 70%); }
.tel__barres { position: absolute; z-index: 2; inset: 10px 10px auto; display: flex; gap: 4px; }
.tel__barres i { flex: 1; height: 3px; overflow: hidden; background: rgba(255, 255, 255, .3); border-radius: 3px; }
.tel__barres i::after { content: ""; display: block; height: 100%; background: var(--blanc); transform-origin: left; animation: story 9s linear infinite; }
.tel__barres i:nth-child(2)::after { animation-name: story2; }
.tel__barres i:nth-child(3)::after { animation-name: story3; }
@keyframes story { 0% { transform: scaleX(0); } 33.3%, 100% { transform: scaleX(1); } }
@keyframes story2 { 0%, 33.3% { transform: scaleX(0); } 66.6%, 100% { transform: scaleX(1); } }
@keyframes story3 { 0%, 66.6% { transform: scaleX(0); } 100% { transform: scaleX(1); } }

.mini-ad { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 16px 14px 18px; }
.mini-ad__tag { position: absolute; left: 14px; top: 28px; padding: 3px 9px; color: var(--nuit); background: var(--jaune); font-size: .68rem; font-weight: 800; animation: ad-tag 9s var(--doux) infinite; }
.mini-ad__produit { position: absolute; left: 50%; top: 33%; width: 58%; aspect-ratio: 1; translate: -50% -50%; animation: ad-produit 9s var(--doux) infinite; }
.mini-ad__produit i { position: absolute; inset: 0; border-radius: 28% 28% 34% 34%; background: linear-gradient(150deg, #fff 0%, #cfe9ff 46%, #7fb2ff 100%); box-shadow: inset -10px -14px 24px rgba(1, 25, 72, .28), 0 18px 30px rgba(0, 0, 0, .35); }
.mini-ad__produit i:last-child { inset: 22% 20% 38% 20%; border-radius: 12px; background: rgba(1, 25, 72, .82); box-shadow: none; }
.mini-ad__titre { font-size: 1.12rem; font-weight: 900; font-stretch: 122%; line-height: .98; text-transform: uppercase; letter-spacing: -.01em; animation: ad-titre 9s var(--doux) infinite; }
.mini-ad__prix { position: absolute; right: 12px; top: 44%; display: grid; place-items: center; width: 56px; height: 56px; color: var(--nuit); background: var(--vert); border-radius: 50%; font-weight: 900; font-size: .9rem; rotate: 12deg; animation: ad-prix 9s var(--doux) infinite; }
.mini-ad__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 7px 11px; color: var(--nuit); background: var(--blanc); border-radius: 99px; font-size: .72rem; font-weight: 800; animation: ad-cta 9s var(--doux) infinite; }
.mini-ad__cta .icon { width: 14px; height: 14px; color: var(--vert-texte); }
@keyframes ad-tag { 0%, 4% { transform: translateX(-140%); } 9%, 92% { transform: none; } 97%, 100% { transform: translateX(-140%); } }
@keyframes ad-produit { 0%, 6% { transform: translateY(40%) scale(.5) rotate(-18deg); opacity: 0; } 14% { transform: scale(1.06) rotate(4deg); opacity: 1; } 18%, 50% { transform: none; opacity: 1; } 56% { transform: rotate(-6deg) scale(1.04); } 62%, 90% { transform: none; opacity: 1; } 97%, 100% { transform: scale(.6); opacity: 0; } }
@keyframes ad-titre { 0%, 16% { transform: translateY(30px); opacity: 0; } 24%, 92% { transform: none; opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes ad-prix { 0%, 36% { scale: 0; } 41% { scale: 1.25; } 45%, 92% { scale: 1; } 97%, 100% { scale: 0; } }
@keyframes ad-cta { 0%, 60% { transform: scale(.4); opacity: 0; } 66% { transform: scale(1.1); opacity: 1; } 70%, 76%, 82%, 92% { transform: scale(1); opacity: 1; } 73%, 79% { transform: scale(1.07); } 97%, 100% { opacity: 0; } }

.hcarte {
    position: absolute; padding: 14px 16px; color: var(--blanc); font-size: .86rem; line-height: 1.35;
    background: rgba(10, 30, 78, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 24px 44px rgba(0, 0, 0, .35);
    transform: rotateX(var(--rx)) rotateY(var(--ry)) translate3d(calc(var(--px, 0) * var(--force, 20) * 1px), calc(var(--py, 0) * var(--force, 20) * 1px), 0);
}
.hcarte--pub { left: 0; top: 2%; width: min(214px, 40%); --force: 26; animation: flotte 7s ease-in-out infinite; }
.hcarte--chat { right: 0; top: 34%; width: min(204px, 38%); --force: 40; animation: flotte 8s ease-in-out -3s infinite; }
.hcarte--stock { left: 0; bottom: 6%; display: flex; align-items: center; gap: 12px; --force: 18; animation: flotte 6s ease-in-out -1.5s infinite; }
@keyframes flotte { 50% { translate: 0 -10px; } }
.hcarte__tete { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.hcarte__tete em { margin-left: auto; color: var(--vert-vif); font-style: normal; font-size: .76rem; }
.pastille { width: 9px; height: 9px; border-radius: 50%; background: var(--vert); animation: battement 1.6s infinite; }
.hcarte__courbe { width: 100%; height: 62px; overflow: visible; }
.hcarte__aire { fill: rgba(1, 204, 89, .16); }
.hcarte__trait { fill: none; stroke: var(--vert); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; animation: trace 5s var(--doux) infinite; vector-effect: non-scaling-stroke; }
@keyframes trace { 0% { stroke-dashoffset: 100; } 45%, 100% { stroke-dashoffset: 0; } }
.hcarte__pied { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; color: rgba(255, 255, 255, .72); font-size: .78rem; }
.hcarte__fleche { width: 14px; height: 14px; color: var(--vert-vif); }
.hcarte__meta { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; color: var(--vert-vif); font-size: .74rem; font-weight: 600; }
.hcarte__meta .icon { width: 13px; height: 13px; }
.hcarte__ok { display: grid; place-items: center; width: 34px; height: 34px; color: var(--nuit); background: var(--vert); border-radius: 50%; }
.hcarte__ok .icon { width: 18px; height: 18px; stroke-width: 3; }
.hcarte--stock b, .hcarte--stock span { display: block; }
.hcarte--stock span { color: rgba(255, 255, 255, .66); font-size: .78rem; }

.bulle { width: fit-content; max-width: 92%; margin: 0 0 6px; padding: 8px 11px; color: var(--encre); background: var(--blanc); border-radius: 4px 14px 14px 14px; font-size: .84rem; line-height: 1.3; }
.bulle--auto { margin-left: auto; color: #06361b; background: #c9f7dc; border-radius: 14px 4px 14px 14px; }
.hcarte--chat .bulle { animation: bulle 8s var(--doux) infinite; }
.hcarte--chat .bulle--auto { animation-name: bulle2; }
@keyframes bulle { 0%, 4% { opacity: 0; transform: translateY(8px) scale(.9); } 10%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes bulle2 { 0%, 26% { opacity: 0; transform: translateY(8px) scale(.9); } 32%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

@media (max-width: 900px) {
    .hero { min-height: 0; padding-bottom: 110px; }
    .hero__grille { grid-template-columns: minmax(0, 1fr); }
    .hero__titre { font-size: clamp(2.2rem, 10.8vw, 5rem); font-stretch: 112%; }
    .hero__scene { grid-column: 1; grid-row: auto; height: 400px; margin-top: 44px; }
    .hcarte--pub { width: 176px; }
    .hcarte--chat { width: 168px; top: 40%; }
    .hero__suite { display: none; }
    .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Bandeau défilant ---------- */

.bandeau { position: relative; z-index: 3; margin-top: -34px; overflow: hidden; color: var(--nuit); background: var(--vert); transform: rotate(-1.6deg) scale(1.03); }
.bandeau__piste { display: flex; width: max-content; animation: defile 34s linear infinite; }
.bandeau ul { display: flex; flex: none; }
.bandeau li { display: flex; align-items: center; gap: 22px; padding: 17px 22px 17px 0; font-size: clamp(1.05rem, 2vw, 1.5rem); font-weight: 800; font-stretch: 122%; white-space: nowrap; }
.bandeau .fleche { width: .72em; height: .72em; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Diagnostic interactif ---------- */

.diag__grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.diag__choix { display: grid; gap: 10px; margin-top: 2.2rem; }
.puce {
    position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 62px; padding: 12px 54px 12px 18px;
    text-align: left; color: var(--nuit); background: var(--papier); font-weight: 600; font-size: 1.04rem; line-height: 1.3;
    clip-path: var(--coupe); --c: 12px;
    transition: background-color .25s, color .25s, transform .35s var(--doux);
}
.puce .icon { color: var(--vert-texte); transition: color .25s; }
.puce::after {
    content: ""; position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; translate: 0 -50%;
    border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(1, 25, 72, .3);
    background: center / 12px no-repeat; transition: background-color .25s, box-shadow .25s, scale .35s var(--doux);
}
.puce:hover { transform: translateX(6px); background: #e6ecdf; }
.puce:focus-visible { clip-path: none; }
.puce[aria-pressed="true"] { color: var(--blanc); background: var(--nuit); }
.puce[aria-pressed="true"] .icon { color: var(--vert-vif); }
.puce[aria-pressed="true"]::after {
    background-color: var(--vert); box-shadow: none; scale: 1.1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011948' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
}

.diag__droite { position: sticky; top: calc(var(--barre) + 20px); padding: clamp(24px, 3vw, 38px); color: rgba(255, 255, 255, .8); background: var(--nuit); --c: 26px; }
.diag__tete { margin-bottom: 18px; }
.diag__jauge { display: block; height: 6px; margin-bottom: 18px; background: rgba(255, 255, 255, .14); }
.diag__jauge i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--vert), var(--jaune)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--doux); }
.diag__verdict { margin: 0; color: var(--blanc); font-size: 1.22rem; font-weight: 700; font-stretch: 110%; line-height: 1.25; min-height: 2.5em; }
.diag__reponses { display: grid; }
.diag__reponses li { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; grid-template-rows: 1fr; overflow: hidden; transition: grid-template-rows .5s var(--doux), opacity .4s, padding .5s var(--doux); padding-block: 12px; border-top: 1px solid var(--trait-clair); }
.diag__reponses li > * { min-height: 0; overflow: hidden; }
.diag__reponses .icon { color: var(--vert-vif); margin-top: 2px; }
.diag__reponses b { display: block; color: var(--blanc); font-stretch: 108%; }
.diag__reponses p { margin: 2px 0 4px; font-size: .95rem; line-height: 1.45; }
.diag__reponses a { color: var(--vert-vif); font-weight: 600; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }
.diag.is-trie .diag__reponses li:not(.is-on) { grid-template-rows: 0fr; opacity: 0; padding-block: 0; border-top-color: transparent; }
.diag__cta { width: 100%; margin-top: 20px; }

@media (max-width: 900px) {
    .diag__grille { grid-template-columns: minmax(0, 1fr); }
    .diag__droite { position: static; }
}

/* ---------- Volets des métiers ---------- */

.volets { display: flex; gap: 10px; height: 470px; container-type: inline-size; }
.volet { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; color: var(--blanc); background: var(--nuit); transition: flex-grow .7s var(--net); --ton: var(--vert-vif); }
.volet.is-on { flex-grow: 6.2; }
.volet--video { color: var(--nuit); background: var(--jaune); --ton: var(--nuit); }
.volet--gestion { color: var(--nuit); background: var(--vert); --ton: var(--nuit); }
.volet--ia { background: var(--nuit-2); }
.volet--web { background: #1f55e0; --ton: var(--blanc); }
.volet h3 { color: inherit; font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-stretch: 122%; }
.volet__onglet {
    position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 0;
    color: inherit; transition: opacity .3s;
}
.volet__onglet .icon { width: 28px; height: 28px; transition: transform .4s var(--doux); }
.volet__onglet span { writing-mode: vertical-rl; rotate: 180deg; font-size: 1.25rem; font-weight: 800; font-stretch: 122%; white-space: nowrap; }
.volet__onglet:hover .icon { transform: translateY(6px) scale(1.15); }
.volet.is-on .volet__onglet { opacity: 0; pointer-events: none; }
.volet__corps {
    position: absolute; inset: 0 auto 0 0; width: calc((100cqw - 40px) * 6.2 / 10.2);
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: center; padding: clamp(24px, 3vw, 42px);
    opacity: 0; visibility: hidden; transform: translateX(30px); transition: opacity .3s, transform .5s var(--doux), visibility 0s .3s;
}
.volet.is-on .volet__corps { opacity: 1; visibility: visible; transform: none; transition: opacity .5s .25s, transform .7s var(--doux) .2s; }
.volet__texte p { margin: 14px 0 0; opacity: .86; }
.volet .coches .icon { color: var(--ton); }
.volet .lien { color: inherit; }
.volet .lien .fleche { color: var(--ton); }
.volet__demo { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 22px; background: rgba(1, 13, 42, .32); border-radius: 18px; }
.volet--video .volet__demo, .volet--gestion .volet__demo { color: var(--blanc); background: var(--nuit); }

.demo-pub__ligne span { display: block; margin-bottom: 5px; font-size: .84rem; opacity: .8; }
.demo-pub__ligne i { display: block; height: 14px; width: var(--l); background: linear-gradient(90deg, var(--vert), var(--vert-vif)); transform: scaleX(0); transform-origin: left; }
.demo-pub__ligne:nth-child(2) i { background: rgba(255, 255, 255, .5); }
.demo-pub__ligne:nth-child(3) i { background: rgba(255, 255, 255, .26); }
.volet.is-on .demo-pub__ligne i { animation: pousse 3.6s var(--doux) infinite; }
.volet.is-on .demo-pub__ligne:nth-child(2) i { animation-delay: .15s; }
.volet.is-on .demo-pub__ligne:nth-child(3) i { animation-delay: .3s; }
@keyframes pousse { 0%, 6% { transform: scaleX(0); } 34%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.demo-pub p { margin: 6px 0 0; font-size: .86rem; color: var(--vert-vif); font-weight: 600; }

.demo-video__vignettes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.demo-video__vignettes i { aspect-ratio: 9 / 14; border-radius: 6px; background: linear-gradient(160deg, var(--bleu), var(--nuit-2)); }
.demo-video__vignettes i:nth-child(2) { background: linear-gradient(160deg, var(--jaune), #ff8a3d); }
.demo-video__vignettes i:nth-child(3) { background: linear-gradient(160deg, var(--vert), #067a48); }
.demo-video__vignettes i:nth-child(4) { background: linear-gradient(160deg, #fff, #b9c7e6); }
.volet.is-on .demo-video__vignettes i { animation: vignette 4s var(--doux) infinite; }
.volet.is-on .demo-video__vignettes i:nth-child(2) { animation-delay: 1s; }
.volet.is-on .demo-video__vignettes i:nth-child(3) { animation-delay: 2s; }
.volet.is-on .demo-video__vignettes i:nth-child(4) { animation-delay: 3s; }
@keyframes vignette { 0%, 20%, 100% { transform: none; box-shadow: none; } 6%, 14% { transform: translateY(-6px) scale(1.06); box-shadow: 0 0 0 2px var(--blanc); } }
.demo-video__pistes { position: relative; display: grid; gap: 5px; padding-block: 4px; }
.demo-video__pistes i { height: 12px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.demo-video__pistes i:nth-child(1) { width: 92%; background: var(--vert); }
.demo-video__pistes i:nth-child(2) { width: 64%; margin-left: 12%; background: var(--jaune); }
.demo-video__pistes i:nth-child(3) { width: 78%; margin-left: 6%; }
.demo-video__pistes b { position: absolute; top: -4px; bottom: -4px; left: 0; width: 2px; background: var(--blanc); }
.volet.is-on .demo-video__pistes b { animation: tete 4s linear infinite; }
@keyframes tete { to { left: 100%; } }

.demo-gestion { flex-direction: row; align-items: stretch; justify-content: stretch; gap: 10px; }
.demo-gestion div { flex: 1; display: flex; flex-direction: column-reverse; gap: 8px; min-height: 180px; }
.demo-gestion span { font-size: .78rem; text-align: center; opacity: .8; }
.demo-gestion i { display: block; height: var(--h); margin-top: auto; background: var(--vert); border-radius: 6px 6px 0 0; transform: scaleY(0); transform-origin: bottom; }
.demo-gestion div:nth-child(2) i { background: var(--jaune); }
.demo-gestion div:nth-child(4) i { background: var(--bleu); }
.volet.is-on .demo-gestion i { animation: monte 4s var(--doux) infinite; }
.volet.is-on .demo-gestion div:nth-child(2) i { animation-delay: .12s; }
.volet.is-on .demo-gestion div:nth-child(3) i { animation-delay: .24s; }
.volet.is-on .demo-gestion div:nth-child(4) i { animation-delay: .36s; }
@keyframes monte { 0%, 5% { transform: scaleY(0); } 30%, 92% { transform: scaleY(1); } 100% { transform: scaleY(0); } }

.demo-web { gap: 9px; }
.demo-web__barre { display: flex; gap: 5px; margin-bottom: 4px; }
.demo-web__barre i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.demo-web__bloc { height: 58px; border-radius: 8px; background: var(--vert); }
.demo-web__bloc--fin { height: 30px; width: 46%; background: var(--blanc); }
.demo-web__ligne { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.demo-web__ligne i { height: 52px; border-radius: 8px; background: rgba(255, 255, 255, .24); }
.demo-web__ligne i:nth-child(2) { background: var(--jaune); }
.volet.is-on .demo-web__bloc, .volet.is-on .demo-web__ligne i { animation: bati 4.6s var(--doux) infinite both; }
.volet.is-on .demo-web__ligne i:nth-child(1) { animation-delay: .25s; }
.volet.is-on .demo-web__ligne i:nth-child(2) { animation-delay: .4s; }
.volet.is-on .demo-web__ligne i:nth-child(3) { animation-delay: .55s; }
.volet.is-on .demo-web__bloc--fin { animation-delay: .8s; }
@keyframes bati { 0%, 4% { opacity: 0; transform: translateY(16px) scale(.9); } 20%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.demo-ia { justify-content: flex-end; }
.demo-ia .bulle { opacity: 0; }
.volet.is-on .demo-ia .bulle { animation: dialogue 7s var(--doux) infinite; }
.volet.is-on .demo-ia .bulle:nth-child(2) { animation-delay: 1.4s; }
.volet.is-on .demo-ia .bulle:nth-child(3) { animation-delay: 2.8s; }
@keyframes dialogue { 0% { opacity: 0; transform: translateY(10px) scale(.92); } 8%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.bulle--frappe { display: flex; gap: 4px; padding: 11px 12px; }
.bulle--frappe i { width: 6px; height: 6px; border-radius: 50%; background: var(--gris); animation: frappe 1s infinite; }
.bulle--frappe i:nth-child(2) { animation-delay: .15s; }
.bulle--frappe i:nth-child(3) { animation-delay: .3s; }
@keyframes frappe { 30% { transform: translateY(-4px); opacity: .5; } }

@media (max-width: 900px) {
    .volets { flex-direction: column; height: auto; }
    .volet, .volet.is-on { flex: none; }
    .volet__onglet { position: relative; inset: auto; flex-direction: row; justify-content: flex-start; gap: 14px; width: 100%; padding: 18px 20px; }
    .volet__onglet span { writing-mode: horizontal-tb; rotate: none; }
    .volet.is-on .volet__onglet { opacity: 1; pointer-events: auto; }
    .volet__corps { position: static; width: auto; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 0 20px; max-height: 0; opacity: 1; visibility: visible; transform: none; overflow: hidden; transition: max-height .6s var(--net), padding .6s var(--net); }
    .volet.is-on .volet__corps { max-height: 760px; padding: 4px 20px 24px; transition: max-height .6s var(--net), padding .6s var(--net); }
    .volet h3 { font-size: 1.45rem; }
}

/* ---------- Lecteur du studio ---------- */

.studio-accueil__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.studio-accueil__liste { display: grid; gap: 16px; margin-top: 2rem; }
.studio-accueil__liste li { display: flex; gap: 14px; align-items: flex-start; }
.studio-accueil__liste .icon { width: 26px; height: 26px; color: var(--jaune); margin-top: 2px; }
.studio-accueil__liste b { display: block; color: var(--blanc); font-stretch: 110%; font-size: 1.08rem; }
.studio-accueil__note { margin: 14px 0 0; color: rgba(255, 255, 255, .55); font-size: .88rem; text-align: center; }
[data-spot] { --sx: 50%; --sy: 30%; }
.bloc--nuit[data-spot]::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--sx) var(--sy), rgba(47, 107, 255, .22), transparent 70%); }
.bloc--nuit[data-spot] > .wrap { position: relative; }

.lecteur { color: var(--blanc); }
.lecteur__formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.lecteur__formats button { padding: 10px 8px; text-align: center; background: rgba(255, 255, 255, .08); transition: background-color .25s, color .25s; clip-path: var(--coupe); --c: 9px; }
.lecteur__formats button:focus-visible { clip-path: none; }
.lecteur__formats b { display: block; font-size: 1.1rem; font-stretch: 122%; }
.lecteur__formats span { display: block; font-size: .78rem; opacity: .72; line-height: 1.25; }
.lecteur__formats button:hover { background: rgba(255, 255, 255, .16); }
.lecteur__formats button.is-on { color: var(--nuit); background: var(--jaune); }
.lecteur__formats button.is-on span { opacity: .85; }

.lecteur__cadre {
    display: grid; place-items: center; height: clamp(380px, 62vh, 540px); padding: 18px; overflow: hidden;
    background: var(--abysse) repeating-conic-gradient(rgba(255, 255, 255, .035) 0 25%, transparent 0 50%) 0 0 / 26px 26px;
    border-radius: 20px;
}
.lecteur__scene { position: relative; height: 100%; max-width: 100%; aspect-ratio: 9 / 16; overflow: hidden; container-type: size; border-radius: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); transition: width .6s var(--net), height .6s var(--net); }

.ad { position: absolute; inset: 0; color: var(--blanc); background: #05215c; overflow: hidden; }
.ad__plan { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8cqmin; text-align: center; opacity: 0; visibility: hidden; }
.ad__plan--4 { opacity: 1; visibility: visible; color: var(--nuit); background: var(--papier); gap: 4cqmin; }
.ad__fil { position: absolute; inset: 0; }
.ad__fil i { position: absolute; left: 12%; right: 12%; height: 34%; border-radius: 4cqmin; background: rgba(255, 255, 255, .07); }
.ad__fil i:nth-child(1) { top: 4%; } .ad__fil i:nth-child(2) { top: 42%; } .ad__fil i:nth-child(3) { top: 80%; } .ad__fil i:nth-child(4) { top: 118%; }
.ad__accroche { position: relative; margin: 0; text-align: left; font-size: 10.6cqmin; font-weight: 900; font-stretch: 125%; line-height: .96; letter-spacing: -.02em; text-transform: uppercase; }
.ad__accroche span { display: block; overflow: hidden; padding-bottom: .1em; }
.ad__accroche b { display: inline-block; font-weight: inherit; }
.ad__vert { color: var(--vert-vif); }
.ad__compteur { position: relative; width: 46cqmin; aspect-ratio: 1; display: grid; place-items: center; }
.ad__compteur svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.ad__compteur circle { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 7; }
.ad__compteur .ad__anneau { stroke: var(--vert); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.ad__compteur b { position: absolute; font-size: 27cqmin; font-weight: 900; font-stretch: 125%; line-height: 1; }
.ad__tension { margin: 6cqmin 0 0; font-size: 7.6cqmin; font-weight: 800; font-stretch: 112%; line-height: 1.1; }
.ad__plan--3 { gap: 0; padding: 0; }
.ad__bande { display: block; width: 130%; padding: 3.2cqmin 0; margin: -.6cqmin 0; font-size: 11cqmin; font-weight: 900; font-stretch: 125%; line-height: 1; text-transform: uppercase; letter-spacing: -.02em; color: var(--nuit); rotate: -6deg; }
.ad__bande--vert { background: var(--vert); }
.ad__bande--jaune { background: var(--jaune); }
.ad__bande--blanc { background: var(--blanc); }
.ad__logo { width: 36cqmin; height: auto; }
.ad__final { margin: 0; max-width: 11em; font-size: 8.6cqmin; font-weight: 800; font-stretch: 118%; line-height: 1.05; letter-spacing: -.02em; }
.ad__cta { padding: 3.2cqmin 6cqmin; color: var(--nuit); background: var(--vert); font-size: 5.4cqmin; font-weight: 800; clip-path: var(--coupe); --c: 2cqmin; }
.ad__volet { position: absolute; inset: -20% -70%; background: var(--vert); transform: translateX(-130%) skewX(-18deg); }

.lecteur__commandes { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.lecteur__lecture { flex: none; display: grid; place-items: center; width: 50px; height: 50px; color: var(--nuit); background: var(--vert); border-radius: 50%; transition: transform .3s var(--doux), background-color .2s; }
.lecteur__lecture:hover { transform: scale(1.08); background: var(--vert-vif); }
.lecteur__lecture .icon { width: 20px; height: 20px; }
.lecteur__ico-pause, .lecteur.is-lecture .lecteur__ico-lire { display: none; }
.lecteur.is-lecture .lecteur__ico-pause { display: block; }
.lecteur__curseur { flex: 1; min-width: 0; height: 28px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; --p: 100%; }
.lecteur__curseur::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--vert) var(--p), rgba(255, 255, 255, .2) var(--p)); }
.lecteur__curseur::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--vert) var(--p), rgba(255, 255, 255, .2) var(--p)); }
.lecteur__curseur::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%; background: var(--blanc); box-shadow: 0 0 0 4px rgba(1, 204, 89, .35); }
.lecteur__curseur::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--blanc); box-shadow: 0 0 0 4px rgba(1, 204, 89, .35); }
.lecteur__temps { flex: none; min-width: 3.2em; font-variant-numeric: tabular-nums; font-weight: 600; font-size: .95rem; text-align: right; color: rgba(255, 255, 255, .8); }
.lecteur__chapitres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.lecteur__chapitres button { padding: 9px 4px; font-size: .84rem; font-weight: 600; line-height: 1.2; color: rgba(255, 255, 255, .7); border-top: 3px solid rgba(255, 255, 255, .16); transition: color .2s, border-color .2s; }
.lecteur__chapitres button:hover { color: var(--blanc); }
.lecteur__chapitres button.is-on { color: var(--blanc); border-top-color: var(--jaune); }

@media (max-width: 900px) {
    .studio-accueil__grille { grid-template-columns: minmax(0, 1fr); }
    .lecteur__cadre { height: 460px; }
}

/* ---------- Trajectoire au défilement ---------- */

.moteur { position: relative; background: var(--blanc); }
.moteur__fixe { padding-block: clamp(72px, 10vw, 120px); }
.moteur__grille { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.moteur__etapes { margin-top: 2rem; counter-reset: etape; }
.moteur__etapes li { position: relative; padding: 14px 0 14px 54px; border-top: 1px solid var(--trait); counter-increment: etape; }
.moteur__etapes li::before {
    content: counter(etape); position: absolute; left: 0; top: 12px; display: grid; place-items: center; width: 34px; height: 34px;
    color: var(--nuit); background: var(--papier); font-weight: 800; border-radius: 50%; transition: background-color .4s, color .4s, scale .5s var(--doux);
}
.moteur__etapes b { display: block; font-size: 1.3rem; font-stretch: 120%; font-weight: 800; color: var(--nuit); transition: color .3s; }
.moteur__etapes p { margin: 6px 0 4px; color: var(--gris); }
.moteur__etapes span { color: var(--vert-texte); font-weight: 600; font-size: .92rem; }
.moteur__etapes li.is-on::before { color: var(--nuit); background: var(--vert); scale: 1.12; }
.moteur__graphe svg { width: 100%; height: auto; overflow: visible; }
.moteur__repere path { stroke: var(--trait); stroke-width: 1; stroke-dasharray: 3 7; fill: none; }
.moteur__rail { fill: none; stroke: rgba(1, 25, 72, .12); stroke-width: 10; stroke-linecap: round; }
.moteur__trace { fill: none; stroke: var(--vert); stroke-width: 10; stroke-linecap: round; }
.moteur__noeud circle { fill: var(--blanc); stroke: rgba(1, 25, 72, .25); stroke-width: 3; transition: fill .4s, stroke .4s, r .4s var(--doux); }
.moteur__noeud text { font: 800 19px "Archivo", sans-serif; font-stretch: 118%; fill: rgba(1, 25, 72, .38); transition: fill .4s; }
.moteur__noeud.is-on circle { fill: var(--nuit); stroke: var(--vert); r: 13px; }
.moteur__noeud.is-on text { fill: var(--nuit); }
.moteur__mobile path { fill: var(--nuit); stroke: var(--blanc); stroke-width: 2; stroke-linejoin: round; transform: scale(1.5); }

@media (min-width: 961px) and (min-height: 640px) {
    .has-js .moteur.is-epingle { height: 380vh; }
    .has-js .moteur.is-epingle .moteur__fixe { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; padding-block: var(--barre) 0; }
    .has-js .moteur.is-epingle .moteur__etapes { margin-top: 1.4rem; }
    .has-js .moteur.is-epingle .moteur__etapes li { padding-block: 10px; }
    .has-js .moteur.is-epingle .moteur__etapes div { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s var(--doux), opacity .4s; }
    .has-js .moteur.is-epingle .moteur__etapes div > * { min-height: 0; overflow: hidden; }
    .has-js .moteur.is-epingle .moteur__etapes div p { margin: 0; padding-top: 4px; }
    .has-js .moteur.is-epingle .moteur__etapes div { grid-template-columns: 1fr; }
    .has-js .moteur.is-epingle .moteur__etapes li.is-on div { grid-template-rows: 1fr 1fr; opacity: 1; }
    .has-js .moteur.is-epingle .moteur__etapes li:not(.is-on) b { color: rgba(1, 25, 72, .4); }
    .has-js .moteur.is-epingle .titre { font-size: clamp(2rem, 3.6vw, 3.1rem); }
    .has-js .moteur.is-epingle .chapo { margin-top: 1rem; font-size: 1.05rem; }
}
@media (max-width: 960px) {
    .moteur__grille { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
    .moteur__texte { display: contents; }
    .moteur__texte .titre { order: 1; }
    .moteur__texte .chapo { order: 2; }
    .moteur__graphe { order: 3; max-width: 520px; margin: 28px 0 8px; padding-right: 8px; }
    .moteur__etapes { order: 4; }
}

/* ---------- Logiciels ---------- */

.produits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1400px; }
.produit {
    position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 26px; background: var(--papier); --acc: var(--vert);
    clip-path: var(--coupe); --c: 24px;
    transform: rotateX(var(--ix, 0deg)) rotateY(var(--iy, 0deg)); transition: transform .5s var(--doux), background-color .3s;
}
.produit:hover { background: #e7ecdf; }
.produit:focus-visible { clip-path: none; }
.produit--nuru { --acc: var(--jaune); }
.produit--point { --acc: var(--bleu); }
.produit--wapi { --acc: var(--vert); }
.produit__haut { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 18px; }
.produit__sigle { display: grid; place-items: center; width: 46px; height: 46px; color: var(--nuit); background: var(--acc); font-weight: 900; font-stretch: 125%; font-size: 1.3rem; clip-path: var(--coupe); --c: 10px; }
.produit--point .produit__sigle { color: var(--blanc); }
.produit__ecran { width: 100%; height: 158px; margin-bottom: 22px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; color: var(--blanc); background: var(--nuit); border-radius: 14px; overflow: hidden; }
.produit h3 { font-size: 1.6rem; font-stretch: 122%; }
.produit p { margin: 10px 0 18px; color: var(--gris); }
.produit .lien { margin-top: auto; }
.pe-kpi { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; opacity: .85; }
.pe-kpi i { width: 44%; height: 8px; border-radius: 4px; background: var(--acc); }
.pe-barres { display: flex; align-items: flex-end; gap: 6px; height: 86px; }
.pe-barres i { flex: 1; background: rgba(255, 255, 255, .2); border-radius: 4px 4px 0 0; height: 30%; transition: height .6s var(--doux); }
.pe-barres i:nth-child(2) { height: 46%; } .pe-barres i:nth-child(3) { height: 38%; } .pe-barres i:nth-child(4) { height: 62%; }
.pe-barres i:nth-child(5) { height: 54%; } .pe-barres i:nth-child(6) { height: 78%; } .pe-barres i:nth-child(7) { height: 92%; background: var(--acc); }
.produit:hover .pe-barres i { height: 60%; } .produit:hover .pe-barres i:nth-child(odd) { height: 84%; } .produit:hover .pe-barres i:nth-child(7) { height: 100%; }
.pe-presence { display: flex; margin-bottom: auto; }
.pe-presence i { width: 34px; height: 34px; margin-right: -8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 3px var(--nuit); transition: translate .4s var(--doux); }
.pe-presence i:nth-child(2) { background: var(--jaune); } .pe-presence i:nth-child(3) { background: var(--vert); } .pe-presence i:nth-child(4) { background: #fff; } .pe-presence i:nth-child(5) { background: #ff8a3d; }
.produit:hover .pe-presence i:nth-child(even) { translate: 0 -6px; }
.pe-ligne { display: flex; align-items: center; gap: 8px; font-size: .82rem; }
.pe-ligne b { width: 9px; height: 9px; border-radius: 50%; background: var(--vert); }
.pe-ligne--retard b { background: var(--jaune); }
.produit__ecran .bulle { margin: 0; font-size: .8rem; }
.produit:hover .produit__ecran .bulle--auto { animation: dialogue 2.4s var(--doux); }

@media (max-width: 900px) { .produits { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Références ---------- */

.refs__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.refs__liste li {
    position: relative; display: flex; align-items: flex-end; min-height: clamp(150px, 17vw, 230px); padding: clamp(20px, 2.4vw, 32px);
    color: var(--blanc); background: rgba(255, 255, 255, .07); isolation: isolate; overflow: hidden;
    font-size: clamp(1.5rem, 2.7vw, 2.5rem); font-weight: 900; font-stretch: 125%; line-height: 1; letter-spacing: -.02em;
    transition: color .35s, translate .45s var(--doux); --c: 26px;
}
.refs__liste li::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--vert); transform: translateY(101%); transition: transform .5s var(--net); }
.refs__liste li:nth-child(2)::before { background: var(--jaune); }
.refs__liste li:nth-child(3)::before { background: var(--blanc); }
.refs__liste .fleche { position: absolute; right: clamp(20px, 2.4vw, 32px); top: clamp(20px, 2.4vw, 32px); width: 26px; height: 26px; color: var(--vert-vif); transition: color .35s, transform .45s var(--doux); }
.refs__liste li:hover { color: var(--nuit); translate: 0 -8px; }
.refs__liste li:hover::before { transform: none; }
.refs__liste li:hover .fleche { color: var(--nuit); transform: translate(5px, -5px) scale(1.2); }
@media (max-width: 800px) { .refs__liste { grid-template-columns: minmax(0, 1fr); } .refs__liste li { min-height: 120px; } }

/* ---------- Étapes ---------- */

.etapes { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 28px; }
.etapes::before, .etapes::after { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--trait); }
.etapes::after { background: var(--vert); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--net); }
.etapes.is-vu::after { transform: scaleX(1); }
.etapes li { position: relative; z-index: 1; }
.etapes__num { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; color: var(--nuit); background: var(--papier); font-size: 1.3rem; font-weight: 900; font-stretch: 125%; clip-path: var(--coupe); --c: 12px; transition: background-color .5s, scale .6s var(--doux); transition-delay: calc(var(--i, 0) * 380ms + 200ms); }
.bloc--papier .etapes__num { background: var(--blanc); }
.etapes.is-vu .etapes__num { background: var(--vert); scale: 1.06; }
.etapes h3 { margin-bottom: 8px; font-size: 1.4rem; font-stretch: 120%; }
.etapes p { margin: 0; color: var(--gris); }
.bloc--nuit .etapes p { color: rgba(255, 255, 255, .72); }
.bloc--nuit .etapes::before { background: var(--trait-clair); }
.bloc--nuit .etapes__num { color: var(--blanc); background: var(--nuit-2); }
.bloc--nuit .etapes.is-vu .etapes__num { color: var(--nuit); background: var(--vert); }

@media (max-width: 860px) {
    .etapes { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .etapes::before, .etapes::after { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
    .etapes::after { transform: scaleY(0); transform-origin: top; }
    .etapes.is-vu::after { transform: scaleY(1); }
    .etapes li { padding: 0 0 30px 80px; min-height: 76px; }
    .etapes__num { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ---------- Offres ---------- */

.offres__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.offre { display: flex; flex-direction: column; padding: 28px 24px 24px; background: var(--blanc); transition: translate .4s var(--doux); }
.offre:hover { translate: 0 -8px; }
.offre__pour { margin-bottom: 14px; color: var(--vert-texte); font-weight: 700; font-size: .92rem; }
.offre h3 { font-size: 1.5rem; font-stretch: 120%; }
.offre p { margin: 12px 0 0; color: var(--gris); }
.offre .coches { margin-bottom: 26px; }
.offre .btn { margin-top: auto; padding-inline: 14px; font-size: .96rem; }
.offre--libre { background: var(--jaune); }
.offre--libre p, .offre--libre .offre__pour { color: var(--nuit); }
.offre--libre .coches .icon { color: var(--nuit); }
.offre--phare { color: rgba(255, 255, 255, .8); background: var(--nuit); }
.offre--phare h3 { color: var(--blanc); }
.offre--phare p { color: rgba(255, 255, 255, .76); }
.offre--phare .offre__pour { color: var(--jaune); }
.offre--phare .coches .icon { color: var(--vert-vif); }

@media (max-width: 960px) { .offres__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .offres__grille { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Questions fréquentes ---------- */

.faq__grille { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--barre) + 24px); }
.faq__intro .titre { font-size: clamp(1.9rem, 3.5vw, 3rem); }
.accordeon details { border-top: 2px solid var(--nuit); }
.accordeon details:last-child { border-bottom: 2px solid var(--nuit); }
.accordeon summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; cursor: pointer; list-style: none; color: var(--nuit); font-size: clamp(1.08rem, 1.6vw, 1.28rem); font-weight: 700; font-stretch: 110%; line-height: 1.25; transition: color .2s, padding .35s var(--doux); }
.accordeon summary::-webkit-details-marker { display: none; }
.accordeon summary:hover { padding-left: 10px; color: var(--vert-texte); }
.accordeon summary .icon { flex: none; width: 34px; height: 34px; padding: 7px; color: var(--nuit); background: var(--papier); border-radius: 50%; transition: rotate .4s var(--doux), background-color .3s; }
.accordeon details[open] summary .icon { rotate: 135deg; background: var(--vert); }
.accordeon details > div { padding: 0 54px 22px 0; color: var(--gris); }
.accordeon details > div p:last-child { margin: 0; }
@supports (interpolate-size: allow-keywords) {
    .accordeon { interpolate-size: allow-keywords; }
    .accordeon details::details-content { height: 0; overflow: clip; transition: height .45s var(--doux), content-visibility .45s allow-discrete; }
    .accordeon details[open]::details-content { height: auto; }
}
.bloc--nuit .accordeon details { border-color: var(--trait-clair); }
.bloc--nuit .accordeon summary { color: var(--blanc); }
.bloc--nuit .accordeon summary:hover { color: var(--vert-vif); }
.bloc--nuit .accordeon details > div { color: rgba(255, 255, 255, .74); }
.bloc--nuit .accordeon summary .icon { color: var(--blanc); background: rgba(255, 255, 255, .1); }
.bloc--nuit .accordeon details[open] summary .icon { color: var(--nuit); background: var(--vert); }

@media (max-width: 900px) {
    .faq__grille { grid-template-columns: minmax(0, 1fr); }
    .faq__intro { position: static; }
    .accordeon details > div { padding-right: 0; }
}

/* =====================================================================
   PAGES INTÉRIEURES
   ===================================================================== */

/* ---------- Entrée de page ---------- */

.entree {
    position: relative; overflow: hidden; isolation: isolate; color: var(--blanc);
    padding: calc(var(--barre) + clamp(48px, 9vw, 110px)) 0 clamp(64px, 9vw, 120px);
    background:
        radial-gradient(50% 70% at 92% 100%, rgba(1, 204, 89, .22), transparent 70%),
        radial-gradient(46% 60% at 0% 0%, rgba(47, 107, 255, .24), transparent 70%),
        linear-gradient(180deg, var(--nuit), var(--abysse));
}
.entree--courte { padding-bottom: clamp(48px, 6vw, 80px); }
.entree__titre { max-width: 17ch; color: var(--blanc); font-size: clamp(2.3rem, 6.6vw, 5.6rem); font-weight: 900; font-stretch: 125%; line-height: .96; letter-spacing: -.03em; }
.entree__chapo { max-width: 46ch; margin: clamp(20px, 3vw, 34px) 0 0; color: rgba(255, 255, 255, .8); font-size: clamp(1.08rem, 1.6vw, 1.3rem); }
.entree__duo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.entree--studio .entree__titre { font-size: clamp(2.2rem, 5vw, 4.4rem); max-width: 14ch; }
.entree--studio { padding-top: calc(var(--barre) + clamp(32px, 5vw, 64px)); }
.entree--studio .lecteur__cadre { height: clamp(360px, 52vh, 480px); }
@media (max-width: 900px) { .entree__duo { grid-template-columns: minmax(0, 1fr); } }

.plein { position: relative; overflow: hidden; isolation: isolate; display: grid; align-items: center; min-height: 100svh; padding: calc(var(--barre) + 40px) 0 80px; color: var(--blanc); background: radial-gradient(60% 60% at 80% 80%, rgba(1, 204, 89, .24), transparent 70%), linear-gradient(180deg, var(--nuit), var(--abysse)); }
.plein__signe { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 28px; color: var(--nuit); background: var(--vert); clip-path: var(--coupe); --c: 18px; }
.plein__signe .icon { width: 44px; height: 44px; stroke-width: 3; }
.plein__code { display: block; margin-bottom: 8px; font-size: clamp(6rem, 24vw, 17rem); font-weight: 900; font-stretch: 125%; line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px var(--vert); }

/* ---------- Sommaire collant ---------- */

.sousnav { position: sticky; z-index: 50; top: 0; background: var(--blanc); border-bottom: 1px solid var(--trait); transition: top .45s var(--doux); }
.barre-visible .sousnav { top: var(--barre); }
.sousnav__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sousnav__in::-webkit-scrollbar { display: none; }
.sousnav a { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 16px 16px; color: var(--gris); font-weight: 600; white-space: nowrap; transition: color .2s; }
.sousnav a .icon { width: 18px; height: 18px; }
.sousnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--vert); transform: scaleX(0); transition: transform .35s var(--doux); }
.sousnav a:hover, .sousnav a.is-on { color: var(--nuit); }
.sousnav a.is-on::after { transform: scaleX(1); }
@media (max-width: 960px) { .sousnav { top: var(--barre); } }
.sousnav__pt { width: 10px; height: 10px; border-radius: 50%; background: var(--acc); }

/* ---------- Services ---------- */

.service__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.service__intro { position: sticky; top: calc(var(--barre) + 80px); }
.service__picto { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 26px; color: var(--nuit); background: var(--vert); clip-path: var(--coupe); --c: 14px; }
.service__picto .icon { width: 30px; height: 30px; }
.service--video .service__picto { background: var(--jaune); }
.service__intro .btn { margin-top: 2rem; }
.service__intro .groupe-btn .btn { margin-top: 0; }
.service__points { display: grid; gap: 12px; }
.point { position: relative; padding: 26px 28px 26px 84px; background: var(--papier); transition: background-color .3s, color .3s, translate .4s var(--doux); --c: 18px; }
.bloc--papier .point { background: var(--blanc); }
.bloc--nuit .point { background: rgba(255, 255, 255, .07); }
.point .icon { position: absolute; left: 28px; top: 28px; width: 32px; height: 32px; color: var(--vert-texte); transition: color .3s, transform .5s var(--doux); }
.bloc--nuit .point .icon { color: var(--jaune); }
.point h3 { margin-bottom: 6px; transition: color .3s; }
.point p { margin: 0; color: var(--gris); transition: color .3s; }
.bloc--nuit .point p { color: rgba(255, 255, 255, .72); }
.point:hover { translate: 10px 0; background: var(--nuit); }
.point:hover h3 { color: var(--blanc); }
.point:hover p { color: rgba(255, 255, 255, .78); }
.point:hover .icon { color: var(--vert-vif); transform: scale(1.15) rotate(-6deg); }
.bloc--nuit .point:hover { background: var(--jaune); }
.bloc--nuit .point:hover h3, .bloc--nuit .point:hover p, .bloc--nuit .point:hover .icon { color: var(--nuit); }

@media (max-width: 900px) {
    .service__grille { grid-template-columns: minmax(0, 1fr); }
    .service__intro { position: static; }
    .point:hover { translate: 0; }
}

/* ---------- Cartes ---------- */

.cartes { display: grid; gap: 14px; }
.cartes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cartes--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.carte { position: relative; display: flex; flex-direction: column; padding: 28px 26px; background: var(--papier); overflow: hidden; isolation: isolate; }
.carte--blanche { background: var(--blanc); }
.carte__picto { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; color: var(--nuit); background: var(--vert); border-radius: 50%; transition: background-color .35s, transform .5s var(--doux); }
.carte__picto .icon { width: 26px; height: 26px; }
.carte h3 { margin-bottom: 10px; font-size: 1.35rem; font-stretch: 118%; transition: color .35s; }
.carte p { margin: 0; color: var(--gris); transition: color .35s; }
a.carte__info { text-decoration: underline; text-underline-offset: 4px; }
.carte__info { margin-top: auto; padding-top: 18px; color: var(--vert-texte); font-weight: 700; font-size: .92rem; transition: color .35s; }
.carte--anime::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--nuit); transform: translateY(101%); transition: transform .55s var(--net); }
.carte--anime:hover::before { transform: none; }
.carte--anime:hover h3 { color: var(--blanc); }
.carte--anime:hover p { color: rgba(255, 255, 255, .78); }
.carte--anime:hover .carte__info { color: var(--vert-vif); }
.carte--anime:hover .carte__picto { background: var(--jaune); transform: rotate(-10deg) scale(1.1); }
@media (max-width: 1000px) { .cartes--3, .cartes--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cartes--3, .cartes--4 { grid-template-columns: minmax(0, 1fr); } }

.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.duo--centre { align-items: center; }
.duo .btn { margin-top: 2rem; }
@media (max-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr); } }

.atouts { display: grid; gap: 4px; }
.atouts li { display: flex; gap: 18px; padding: 20px 0; border-top: 2px solid var(--nuit); }
.atouts li:last-child { border-bottom: 2px solid var(--nuit); }
.atouts .icon { width: 28px; height: 28px; color: var(--vert-texte); margin-top: 2px; }
.atouts b { display: block; color: var(--nuit); font-size: 1.16rem; font-stretch: 112%; }
.atouts p { margin: 4px 0 0; color: var(--gris); }
.atouts--clair li, .atouts--clair li:last-child { border-color: var(--trait-clair); }
.atouts--clair .icon { color: var(--vert-vif); }
.atouts--clair b { color: var(--blanc); }
.atouts--clair p { color: rgba(255, 255, 255, .74); }
.atouts--serre li { padding: 14px 0; border-width: 1px; border-color: var(--trait); }
.atouts--serre li:last-child { border-width: 1px; border-color: var(--trait); }

.formules { display: grid; gap: 12px; }
.formules article { display: grid; grid-template-columns: 190px 1fr; gap: 20px; align-items: center; padding: 24px 26px; background: var(--papier); transition: background-color .3s, color .3s; }
.formules b { color: var(--nuit); font-size: 1.4rem; font-weight: 800; font-stretch: 122%; transition: color .3s; }
.formules p { margin: 0; color: var(--gris); transition: color .3s; }
.formules article:hover { background: var(--vert); }
.formules article:hover p { color: var(--nuit); }
@media (max-width: 560px) { .formules article { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Anatomie d'une publicité (onglets) ---------- */

.anat__piste { display: flex; gap: 4px; }
.anat__piste button { flex: var(--part) 1 0; min-width: 0; padding: 14px 12px 16px; text-align: left; color: rgba(255, 255, 255, .72); background: rgba(255, 255, 255, .08); transition: background-color .3s, color .3s, flex-grow .5s var(--net); }
.anat__piste button b { display: block; font-size: 1.02rem; font-stretch: 112%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.anat__piste button span { font-size: .82rem; opacity: .8; white-space: nowrap; }
.anat__piste button:hover { background: rgba(255, 255, 255, .16); color: var(--blanc); }
.anat__piste button.is-on { flex-grow: calc(var(--part) * 1.9); color: var(--nuit); background: var(--jaune); }
.anat__panneaux { display: grid; margin-top: 4px; background: rgba(255, 255, 255, .06); }
.anat__panneau { grid-area: 1 / 1; padding: clamp(24px, 4vw, 44px); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s, transform .5s var(--doux), visibility 0s .3s; }
.anat__panneau.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s .1s, transform .6s var(--doux) .1s; }
.anat__panneau h3 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-stretch: 120%; }
.anat__panneau p { max-width: 62ch; margin: 14px 0 0; font-size: 1.1rem; }
@media (max-width: 760px) {
    .anat__piste { flex-wrap: wrap; }
    .anat__piste button, .anat__piste button.is-on { flex: 1 1 30%; }
}

/* ---------- Solutions ---------- */

.solution { --acc: var(--vert); }
.solution--nuru { --acc: var(--jaune); }
.solution--point { --acc: var(--bleu); }
.solution__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.solution__grille--inverse > :first-child { order: 2; }
.solution__nom { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.solution--point .produit__sigle { color: var(--blanc); }
.solution .titre { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 900; }
.solution__traits { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 2.2rem 0; }
.solution__traits li { display: flex; gap: 12px; }
.solution__traits .icon { width: 24px; height: 24px; color: var(--vert-texte); margin-top: 2px; }
.solution__traits b { display: block; color: var(--nuit); font-stretch: 110%; }
.solution__traits p { margin: 3px 0 0; color: var(--gris); font-size: .97rem; line-height: 1.45; }
.tarifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 1.8rem; }
.tarifs div { padding: 16px 16px 18px; background: var(--papier); }
.tarifs span { display: block; color: var(--gris); font-size: .86rem; font-weight: 600; }
.tarifs b { display: block; margin-top: 4px; color: var(--nuit); font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 900; font-stretch: 122%; line-height: 1.1; }
.tarifs small { font-size: .5em; font-weight: 700; font-stretch: 100%; }
.tarifs__phare { background: var(--jaune) !important; }
.tarifs__phare span { color: var(--nuit); }

.maquette { position: relative; padding: 0 22px 20px; color: var(--blanc); background: var(--nuit); border-radius: 22px; overflow: hidden; transform: perspective(1200px) rotateX(var(--ix, 0deg)) rotateY(var(--iy, 0deg)); transition: transform .5s var(--doux); box-shadow: 18px 18px 0 var(--acc); }
.maquette__barre { display: flex; align-items: center; gap: 6px; margin: 0 -22px 18px; padding: 14px 20px; background: rgba(255, 255, 255, .07); font-size: .84rem; color: rgba(255, 255, 255, .7); }
.maquette__barre i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.maquette__barre i:first-child { background: var(--acc); }
.maquette__barre span { margin-left: 8px; }
.maquette__note { margin: 16px 0 0; color: rgba(255, 255, 255, .5); font-size: .82rem; text-align: center; }
.maquette__onglets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 18px; }
.maquette__onglets button { padding: 10px 6px; font-weight: 700; color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); border-radius: 10px; transition: background-color .25s, color .25s; }
.maquette__onglets button:hover { color: var(--blanc); background: rgba(255, 255, 255, .16); }
.maquette__onglets button.is-on { color: var(--nuit); background: var(--acc); }
.maquette__graphe { display: flex; align-items: flex-end; gap: 10px; height: 190px; padding: 14px 14px 0; background: rgba(255, 255, 255, .05); border-radius: 12px 12px 0 0; }
.maquette__graphe i { flex: 1; height: var(--h, 40%); background: rgba(255, 255, 255, .26); border-radius: 6px 6px 0 0; transition: height .7s var(--doux), background-color .4s; }
.maquette__graphe i:nth-child(1) { --h: 34%; } .maquette__graphe i:nth-child(2) { --h: 48%; } .maquette__graphe i:nth-child(3) { --h: 42%; } .maquette__graphe i:nth-child(4) { --h: 60%; }
.maquette__graphe i:nth-child(5) { --h: 72%; } .maquette__graphe i:nth-child(6) { --h: 94%; background: var(--acc); } .maquette__graphe i:nth-child(7) { --h: 56%; }
[data-vue="stock"] .maquette__graphe i:nth-child(1) { --h: 88%; } [data-vue="stock"] .maquette__graphe i:nth-child(2) { --h: 74%; background: var(--acc); } [data-vue="stock"] .maquette__graphe i:nth-child(3) { --h: 66%; }
[data-vue="stock"] .maquette__graphe i:nth-child(4) { --h: 50%; } [data-vue="stock"] .maquette__graphe i:nth-child(5) { --h: 38%; } [data-vue="stock"] .maquette__graphe i:nth-child(6) { --h: 24%; background: #ff6b5e; } [data-vue="stock"] .maquette__graphe i:nth-child(7) { --h: 80%; }
[data-vue="caisse"] .maquette__graphe i:nth-child(1) { --h: 52%; } [data-vue="caisse"] .maquette__graphe i:nth-child(2) { --h: 58%; } [data-vue="caisse"] .maquette__graphe i:nth-child(3) { --h: 64%; }
[data-vue="caisse"] .maquette__graphe i:nth-child(4) { --h: 70%; background: var(--vert); } [data-vue="caisse"] .maquette__graphe i:nth-child(5) { --h: 78%; background: var(--vert); } [data-vue="caisse"] .maquette__graphe i:nth-child(6) { --h: 86%; background: var(--vert); } [data-vue="caisse"] .maquette__graphe i:nth-child(7) { --h: 96%; background: var(--vert); }
.maquette__jours { display: flex; gap: 10px; padding: 6px 14px 10px; background: rgba(255, 255, 255, .05); border-radius: 0 0 12px 12px; font-size: .78rem; color: rgba(255, 255, 255, .55); }
.maquette__jours span { flex: 1; text-align: center; }
.maquette__panneaux { display: grid; margin-top: 16px; }
.maquette__panneaux p { grid-area: 1 / 1; display: flex; gap: 10px; margin: 0; font-size: .96rem; line-height: 1.4; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .4s var(--doux); }
.maquette__panneaux p.is-on { opacity: 1; transform: none; }
.maquette__panneaux .icon { width: 20px; height: 20px; color: var(--acc); }

.pointage { display: grid; gap: 8px; margin-bottom: 16px; }
.pointage li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: rgba(255, 255, 255, .07); border-radius: 12px; transition: background-color .4s; }
.pointage i { width: 34px; height: 34px; border-radius: 50%; background: var(--t); opacity: .35; transition: opacity .4s, scale .5s var(--doux); }
.pointage span { font-weight: 600; }
.pointage em { margin-left: auto; padding: 4px 10px; font-style: normal; font-size: .82rem; font-weight: 700; color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .1); border-radius: 99px; transition: background-color .4s, color .4s; }
.pointage li.is-arrive i { opacity: 1; }
.pointage li.is-arrive em { color: #06361b; background: #9ff0c0; }
.pointage li.is-retard em { color: #5a3d00; background: var(--jaune); }
.pointage li.vient-d-arriver { animation: arrivee .9s var(--doux); }
@keyframes arrivee { 0% { background: var(--vert); scale: 1.03; } 100% { scale: 1; } }

.chat { display: flex; flex-direction: column; justify-content: flex-end; gap: 0; height: 250px; overflow: hidden; padding: 14px; background: rgba(255, 255, 255, .05); border-radius: 12px; }
.chat .bulle { flex: none; font-size: .95rem; padding: 10px 14px; margin-bottom: 8px; animation: bulle-in .45s var(--doux) both; }
.chat .bulle--client { margin-left: auto; color: var(--blanc); background: var(--nuit-2); border-radius: 14px 4px 14px 14px; }
@keyframes bulle-in { from { opacity: 0; transform: translateY(14px) scale(.94); } }
.chat__choix { display: grid; gap: 6px; margin-top: 12px; }
.chat__choix button { padding: 11px 14px; text-align: left; font-weight: 600; color: var(--blanc); background: rgba(255, 255, 255, .09); border-radius: 10px; transition: background-color .25s, color .25s, translate .3s var(--doux); }
.chat__choix button:hover:not(:disabled) { color: var(--nuit); background: var(--acc); translate: 6px 0; }
.chat__choix button:disabled { opacity: .45; cursor: default; }

.orbite { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.orbite::before, .orbite::after { content: ""; position: absolute; inset: 10%; border: 2px dashed rgba(255, 255, 255, .2); border-radius: 50%; animation: tourne 60s linear infinite; }
.orbite::after { inset: 30%; border-style: solid; border-color: rgba(1, 204, 89, .3); animation: onde 3s var(--doux) infinite; }
@keyframes tourne { to { rotate: 360deg; } }
@keyframes onde { from { scale: .5; opacity: 1; } to { scale: 1.9; opacity: 0; } }
.orbite__centre { position: absolute; z-index: 2; left: 50%; top: 50%; display: grid; place-items: center; width: 28%; aspect-ratio: 1; translate: -50% -50%; background: var(--blanc); border-radius: 50%; box-shadow: 0 0 0 10px rgba(255, 255, 255, .1); }
.orbite__centre img { width: 70%; }
.orbite__noeud { position: absolute; left: 50%; top: 50%; width: 0; height: 0; rotate: var(--a); animation: orbite 44s linear infinite; }
.orbite__noeud::before { content: ""; position: absolute; left: 0; top: -1px; width: 40cqw; height: 2px; background: linear-gradient(90deg, transparent 34%, rgba(1, 204, 89, .7)); }
.orbite__noeud b { position: absolute; left: 40cqw; top: 0; translate: -50% -50%; padding: 8px 14px; white-space: nowrap; color: var(--nuit); background: var(--vert); font-size: clamp(.78rem, 3.4cqw, .95rem); font-stretch: 108%; border-radius: 99px; animation: orbite-inverse 44s linear infinite; }
.orbite__noeud:nth-of-type(odd) b { background: var(--jaune); }
@keyframes orbite { from { rotate: var(--a); } to { rotate: calc(var(--a) + 360deg); } }
@keyframes orbite-inverse { from { rotate: calc(var(--a) * -1); } to { rotate: calc(var(--a) * -1 - 360deg); } }
.orbite:hover .orbite__noeud, .orbite:hover .orbite__noeud b { animation-play-state: paused; }

@media (max-width: 900px) {
    .solution__grille { grid-template-columns: minmax(0, 1fr); }
    .solution__grille--inverse > :first-child { order: 0; }
    .maquette { box-shadow: 10px 10px 0 var(--acc); margin-right: 10px; }
}
@media (max-width: 520px) {
    .solution__traits { grid-template-columns: 1fr; }
    .tarifs { grid-template-columns: 1fr; }
}

/* ---------- À propos ---------- */

.zones__intro { position: sticky; top: calc(var(--barre) + 24px); }
.zones__total { display: flex; align-items: center; gap: 18px; max-width: 30em; margin: 2rem 0 0; color: var(--gris); line-height: 1.4; }
.zones__total b { flex: none; color: var(--nuit); font-size: clamp(3.4rem, 7vw, 5.6rem); font-weight: 900; font-stretch: 125%; line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.zones { display: grid; gap: 30px; }
.zone h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 1.05rem; font-stretch: 112%; color: var(--vert-texte); }
.zone h3::after { content: ""; flex: 1; height: 2px; background: var(--trait); }
.pays { display: flex; flex-wrap: wrap; gap: 8px; }
.pays li { display: inline-flex; align-items: center; gap: 7px; padding: 10px 15px; color: var(--nuit); background: var(--blanc); font-weight: 700; font-stretch: 108%; font-size: 1rem; clip-path: var(--coupe); --c: 9px; transition: background-color .3s, color .3s, translate .35s var(--doux); }
.pays .icon { width: 16px; height: 16px; color: var(--vert-texte); transition: color .3s; }
.pays li:hover { translate: 0 -5px; color: var(--blanc); background: var(--nuit); }
.pays li:hover .icon { color: var(--vert-vif); }
@media (max-width: 900px) { .zones__intro { position: static; } }

/* =====================================================================
   FORMULAIRE
   ===================================================================== */

.contact__grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact__cote { position: sticky; top: calc(var(--barre) + 24px); }
.contact__titre { margin-bottom: 20px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-stretch: 120%; }
.contact__direct { display: grid; gap: 6px; margin-top: 26px; padding: 20px; background: var(--papier); }
.contact__direct p { margin: 0 0 6px; font-weight: 700; color: var(--nuit); }
.contact__direct a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 600; color: var(--nuit); }
.contact__direct a:hover { color: var(--vert-texte); }
.contact__direct .icon { width: 20px; height: 20px; color: var(--vert-texte); }
.contact__confiance { display: flex; gap: 10px; margin: 22px 0 0; color: var(--gris); font-size: .93rem; }
.contact__confiance .icon { width: 20px; height: 20px; color: var(--vert-texte); margin-top: 2px; }

.formulaire-boite { padding: clamp(22px, 4vw, 44px); background: var(--papier); --c: 30px; }
.alerte { margin-bottom: 22px; padding: 16px 18px; color: #7a1410; background: #ffe3e0; border-left: 5px solid #d93025; }
.alerte ul { margin-top: 8px; padding-left: 20px; list-style: disc; }
.formulaire__piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.progression { display: none; }
.has-js .formulaire:not([data-sans-etapes]) .progression { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 30px; }
.progression li { padding-top: 12px; color: var(--gris); font-weight: 600; font-size: .92rem; border-top: 4px solid var(--trait); transition: border-color .4s, color .4s; }
.progression span { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; color: var(--blanc); background: var(--gris); border-radius: 50%; font-size: .8rem; font-weight: 800; transition: background-color .4s; }
.progression li.is-on, .progression li.is-fait { color: var(--nuit); border-top-color: var(--vert); }
.progression li.is-on span { color: var(--nuit); background: var(--vert); }
.progression li.is-fait span { background: var(--nuit); }

.palier { min-width: 0; margin: 0 0 34px; padding: 0; border: 0; }
.palier legend { margin-bottom: 20px; padding: 0; color: var(--nuit); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; font-stretch: 120%; line-height: 1.1; letter-spacing: -.02em; }
.palier__actions { display: none; }
.has-js .formulaire:not([data-sans-etapes]) .palier { display: none; margin-bottom: 0; }
.has-js .formulaire:not([data-sans-etapes]) .palier.is-on { display: block; animation: palier .55s var(--doux); }
.has-js .formulaire:not([data-sans-etapes]) .palier.is-on.recule { animation-name: palier-recule; }
@keyframes palier { from { opacity: 0; transform: translateX(34px); } }
@keyframes palier-recule { from { opacity: 0; transform: translateX(-34px); } }
.has-js .palier__actions, .formulaire[data-sans-etapes] .palier:last-of-type .palier__actions, html:not(.has-js) .palier:last-of-type .palier__actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 26px; }
.palier__actions > :only-child { margin-left: auto; }
.formulaire[data-sans-etapes] [data-suivant], .formulaire[data-sans-etapes] [data-precedent], html:not(.has-js) [data-suivant], html:not(.has-js) [data-precedent] { display: none; }
.formulaire[data-sans-etapes] .palier:not(:last-of-type) .palier__actions { display: none; }

.choix { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choix__carte { position: relative; display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 12px 14px; cursor: pointer; isolation: isolate; }
.choix__carte input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choix__fond { position: absolute; z-index: -1; inset: 0; background: var(--blanc); clip-path: var(--coupe); --c: 10px; transition: background-color .25s; }
.choix__carte .icon { color: var(--vert-texte); transition: color .25s, transform .4s var(--doux); }
.choix__texte b { display: block; color: var(--nuit); line-height: 1.2; transition: color .25s; }
.choix__texte small { display: block; margin-top: 2px; color: var(--gris); font-size: .84rem; line-height: 1.25; transition: color .25s; }
.choix__carte:hover .choix__fond { background: #e3e9dc; }
.choix__carte:hover .icon { transform: scale(1.15); }
.choix__carte input:checked ~ .choix__fond { background: var(--nuit); }
.choix__carte input:checked ~ .icon { color: var(--vert-vif); }
.choix__carte input:checked ~ .choix__texte b { color: var(--blanc); }
.choix__carte input:checked ~ .choix__texte small { color: rgba(255, 255, 255, .7); }
.choix__carte input:focus-visible ~ .choix__fond { clip-path: none; outline: 3px solid var(--jaune); outline-offset: 2px; }
@media (max-width: 560px) { .choix { grid-template-columns: 1fr; } }

.rangee { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .rangee { grid-template-columns: 1fr; gap: 0; } }
.champ { margin-bottom: 16px; }
.champ label { display: block; margin-bottom: 6px; color: var(--nuit); font-weight: 700; }
.champ label span { color: var(--gris); font-weight: 400; }
.champ input, .champ select, .champ textarea {
    width: 100%; min-height: 54px; padding: 13px 14px; color: var(--encre); background: var(--blanc);
    border: 2px solid transparent; border-radius: 0; outline: 0; transition: border-color .2s, box-shadow .2s;
}
.champ textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.champ select { -webkit-appearance: none; appearance: none; padding-right: 42px; background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011948' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 20px no-repeat; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--trait); }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--nuit); box-shadow: 4px 4px 0 var(--vert); }
.champ .est-invalide { border-color: #d93025; }
.champ ::placeholder { color: #8b96a8; }
.champ__aide { display: block; margin-top: 6px; color: var(--gris); font-size: .88rem; }
.accord { display: flex; gap: 12px; align-items: flex-start; margin-top: 8px; color: var(--gris); font-size: .95rem; cursor: pointer; }
.accord input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--nuit); }
.accord a { color: var(--nuit); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.btn.is-envoi { pointer-events: none; opacity: .75; }

@media (max-width: 900px) {
    .contact__grille { grid-template-columns: minmax(0, 1fr); }
    .contact__cote { position: static; order: 2; }
}

/* ---------- Pages légales ---------- */

.legal__grille { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.legal__nav { position: sticky; top: calc(var(--barre) + 24px); display: grid; gap: 2px; }
.legal__nav strong { margin-bottom: 10px; color: var(--nuit); font-stretch: 112%; }
.legal__nav a { padding: 7px 0 7px 14px; color: var(--gris); border-left: 3px solid var(--trait); transition: color .2s, border-color .2s; }
.legal__nav a:hover { color: var(--nuit); border-left-color: var(--vert); }
.legal__texte { max-width: 70ch; }
.legal__texte section { margin-bottom: 44px; scroll-margin-top: 110px; }
.legal__texte h2 { margin-bottom: 14px; font-size: 1.6rem; font-stretch: 116%; }
.legal__texte a { color: var(--vert-texte); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal__texte dl { margin: 18px 0 0; }
.legal__texte dl div { display: grid; grid-template-columns: 220px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--trait); }
.legal__texte dt { color: var(--gris); }
.legal__texte dd { margin: 0; color: var(--nuit); font-weight: 600; }
.legal__vide { padding: 2px 8px; color: #6b4b00; background: #fff0c2; font-size: .88rem; font-weight: 600; }
@media (max-width: 800px) {
    .legal__grille { grid-template-columns: minmax(0, 1fr); }
    .legal__nav { position: static; }
    .legal__texte dl div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Correctifs de la trajectoire épinglée ---------- */
@media (min-width: 961px) and (min-height: 640px) {
    .has-js .moteur.is-epingle .moteur__etapes div { display: block; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .55s var(--doux), opacity .4s; }
    .has-js .moteur.is-epingle .moteur__etapes li.is-on div { max-height: 150px; opacity: 1; }
}

/* =====================================================================
   MOUVEMENT RÉDUIT
   ===================================================================== */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
    .has-js [data-reveal], .has-js [data-cascade] > *, .has-js [data-entree], .has-js .hero__ligne [data-entree], .mot > span { opacity: 1 !important; transform: none !important; }
    .bandeau__piste { animation: none; }
    .demo-pub__ligne i, .demo-gestion i { transform: none; }
    .demo-ia .bulle, .hcarte--chat .bulle { opacity: 1; }
    @view-transition { navigation: none; }
}
