/* =========================================================================
   Carrosserie Toto — feuille de style unique.
   Direction : la cabine de peinture. Un fond clair et froid, une encre
   graphite, et une seule couleur saturée sur toute la page : la teinte
   choisie dans le nuancier. Tout ce qui est coloré descend de --teinte.
   ========================================================================= */

/* La teinte est une propriété enregistrée : elle peut donc être animée.
   Sans @property, un changement de couleur serait instantané. */
@property --teinte {
    syntax: '<color>';
    inherits: true;
    initial-value: #cf2b22;
}
@property --encre {
    syntax: '<color>';
    inherits: true;
    initial-value: #ffffff;
}

:root {
    --teinte: #cf2b22;
    --encre: #ffffff;

    /* Version assombrie de la teinte, pour le texte posé sur fond clair :
       une ocre ou un gris clair ne sont pas lisibles en petit corps. */
    --teinte-texte: color-mix(in oklab, var(--teinte) 62%, var(--carbone));

    --cabine: #f1f2f4;
    --cabine-2: #e9ebee;
    --blanc: #ffffff;
    --acier: #d2d6db;
    --appret: #6c727b;
    --plomb: #454b54;
    --carbone: #15171b;

    --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --texte: 'Instrument Sans', system-ui, -apple-system, sans-serif;
    --mono: 'Martian Mono', ui-monospace, 'SFMono-Regular', monospace;

    --sortie: cubic-bezier(.16, .84, .24, 1);
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");

    transition: --teinte .75s var(--sortie), --encre .75s var(--sortie);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--cabine);
    color: var(--carbone);
    font-family: var(--texte);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, figure, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

::selection { background: var(--teinte); color: var(--encre); }

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

.visuellement-cache {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
}

.evitement {
    position: fixed; top: .6rem; left: .6rem; z-index: 200;
    background: var(--carbone); color: #fff;
    padding: .8rem 1.2rem; border-radius: 3px;
    font-family: var(--mono); font-size: .7rem; text-decoration: none;
    transform: translateY(-160%); transition: transform .25s;
}
.evitement:focus-visible { transform: none; }

/* ------------------------------------------------------------- structure */

.wrap {
    width: min(1240px, 100% - clamp(2rem, 7vw, 7rem));
    margin-inline: auto;
}

.band { padding-block: clamp(4.5rem, 10vw, 9rem); }

/* Surtitre : un tiret de la teinte, puis une étiquette technique. */
.oeil {
    font-family: var(--mono);
    font-size: .6rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--appret);
}
.oeil::before {
    content: '';
    display: inline-block;
    width: 22px; height: 1px;
    background: var(--teinte);
    vertical-align: middle;
    margin-right: .9em;
    transform: translateY(-1px);
}

.titre {
    font-family: var(--display);
    font-variation-settings: 'wdth' 118;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(1.85rem, 5.2vw, 4rem);
    line-height: .95;
    letter-spacing: -.02em;
    margin-top: .55rem;
}

.tete { max-width: 42rem; }
.tete--centre { margin-inline: auto; text-align: center; max-width: 50rem; }
/* Centré, le titre tient sur deux lignes : un cran plus petit qu'aligné à gauche. */
.tete--centre .titre { font-size: clamp(1.7rem, 4vw, 3rem); }
.tete__deck {
    margin-top: 1.3rem;
    max-width: 54ch;
    color: var(--plomb);
    font-size: clamp(.98rem, 1.2vw, 1.08rem);
}
.tete--centre .tete__deck { margin-inline: auto; }

/* ---------------------------------------------------------------- entête */

.entete {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--cabine) 82%, transparent);
    backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid transparent;
    transition: border-color .4s, background .4s;
}
.entete.est-fixe { border-bottom-color: var(--acier); }

.entete__in {
    display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
    min-height: 72px;
}

.marque {
    display: flex; align-items: center; gap: .55rem;
    text-decoration: none;
    font-family: var(--display);
    font-variation-settings: 'wdth' 118;
    font-weight: 800;
    font-size: .76rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-right: auto;
}
.marque__pastille {
    width: 11px; height: 11px; border-radius: 2px;
    background: var(--teinte);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
    flex: none;
}
.marque__mot { color: var(--appret); }
.marque__nom { color: var(--carbone); }
.marque__mot + .marque__nom { margin-left: .4em; }

.nav { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a {
    position: relative;
    font-family: var(--mono);
    font-size: .64rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--appret);
    text-decoration: none;
    padding-block: .4rem;
    transition: color .3s;
}
.nav a::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 100%; height: 1px;
    background: var(--teinte);
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s var(--sortie);
}
.nav a:hover { color: var(--carbone); }
.nav a:hover::after { transform: scaleX(1); }

.entete__tel {
    display: flex; flex-direction: column; line-height: 1.15;
    text-decoration: none;
    padding-left: clamp(1rem, 2vw, 1.6rem);
    border-left: 1px solid var(--acier);
    transition: color .3s;
}
.entete__tel-label {
    font-family: var(--mono); font-size: .55rem;
    letter-spacing: .18em; text-transform: uppercase; color: var(--appret);
}
.entete__tel-num {
    font-family: var(--display); font-variation-settings: 'wdth' 112;
    font-weight: 700; font-size: .88rem; letter-spacing: .01em;
}
.entete__tel:hover { color: var(--teinte-texte); }

.burger {
    display: none;
    width: 42px; height: 42px;
    background: none; border: 1px solid var(--acier); border-radius: 3px;
    cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger__trait {
    display: block; width: 16px; height: 1.5px; background: var(--carbone);
    transition: transform .35s var(--sortie), opacity .2s;
}
.burger[aria-expanded='true'] .burger__trait:first-child { transform: translateY(3.2px) rotate(45deg); }
.burger[aria-expanded='true'] .burger__trait:last-child { transform: translateY(-3.2px) rotate(-45deg); }

/* ------------------------------------------------------------------ héro */

.hero {
    position: relative;
    padding-top: clamp(3rem, 8vw, 6.5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero::before {
    content: '';
    position: absolute; left: 0; right: 0; top: -35%;
    height: 90vh;
    background: radial-gradient(55% 50% at 50% 50%,
        color-mix(in oklab, var(--teinte) 18%, transparent), transparent 70%);
    pointer-events: none;
}
.hero > * { position: relative; }

.hero__oeil { animation: apparaitre .8s var(--sortie) both; }

.hero__titre {
    font-family: var(--display);
    font-variation-settings: 'wdth' 125;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(3rem, 8.4vw, 8.6rem);
    line-height: .88;
    letter-spacing: -.03em;
    margin-top: .3em;
}
.hero__titre .ligne { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__titre .ligne > span {
    display: block;
    transform: translateY(105%);
    animation: monter 1s var(--sortie) both;
    animation-delay: var(--d, 0s);
}
/* Le nom porte la teinte : changer de chip repeint la marque. */
.hero__titre .ligne:last-child > span { color: color-mix(in oklab, var(--teinte) 80%, var(--carbone)); }

.hero__bas {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap;
    margin-top: clamp(1.8rem, 3.5vw, 3rem);
    animation: apparaitre 1s var(--sortie) .45s both;
}
.hero__deck {
    max-width: 44ch;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    color: var(--plomb);
    border-left: 1px solid var(--acier);
    padding-left: clamp(1rem, 1.6vw, 1.5rem);
}
.hero__actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* --------------------------------------------------------------- boutons */

.btn {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--mono); font-size: .66rem; font-weight: 500;
    letter-spacing: .14em; text-transform: uppercase;
    text-decoration: none;
    padding: 1.15em 1.9em;
    border-radius: 3px;
    transition: transform .4s var(--sortie), box-shadow .4s, border-color .3s, color .3s;
}
.btn--plein {
    background: var(--teinte); color: var(--encre);
    box-shadow: 0 12px 28px -14px color-mix(in oklab, var(--teinte) 85%, #000);
}
.btn--plein::after {
    content: '';
    position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-18deg);
    transition: left .7s var(--sortie);
}
.btn--plein:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -14px color-mix(in oklab, var(--teinte) 85%, #000); }
.btn--plein:hover::after { left: 120%; }
.btn--fil { border: 1px solid var(--acier); color: var(--carbone); }
.btn--fil:hover { border-color: var(--teinte); color: var(--teinte-texte); transform: translateY(-3px); }

/* ------------------------------------------------- signature : la tôle */

.tole {
    --mx: 50%;
    position: relative;
    height: clamp(190px, 30vw, 380px);
    margin-top: clamp(2.2rem, 5vw, 4rem);
    border-radius: 16px;
    overflow: hidden;
    background: var(--teinte);
    box-shadow:
        0 50px 90px -50px color-mix(in oklab, var(--teinte) 70%, #000),
        inset 0 0 0 1px rgba(255, 255, 255, .12);
    animation: tole-entree 1.2s var(--sortie) .3s both;
    transition: background .5s var(--sortie), box-shadow .5s var(--sortie);
}
.tole > span {
    position: absolute; pointer-events: none;
    transition: opacity .5s var(--sortie), filter .5s var(--sortie),
                top .5s var(--sortie), height .5s var(--sortie);
}

/* Galbe : la lumière tombe du haut, l'ombre s'accumule en bas. */
.tole__galbe {
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .3), transparent 14%, transparent 86%, rgba(0, 0, 0, .3)),
        linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .03) 24%, transparent 40%),
        linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, .34) 74%, rgba(0, 0, 0, .62));
}
/* Nervure de caisse. */
.tole__arete {
    left: -2%; right: -2%; top: 61%; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55) 18%, rgba(255, 255, 255, .55) 82%, transparent);
    box-shadow: 0 3px 14px rgba(0, 0, 0, .45);
    transform: rotate(-.5deg);
}
/* Ligne d'horizon reflétée dans le vernis. */
.tole__horizon {
    left: -8%; right: -8%; top: 42%; height: 13%;
    background: linear-gradient(180deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0));
    filter: blur(6px);
    transform: rotate(-1deg);
}
/* Les néons de la cabine qui défilent sur la surface. */
.tole__lampe {
    top: -40%; bottom: -40%; left: -20%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .62), transparent);
    filter: blur(6px);
}
.tole__lampe--a { width: 11%; animation: lampe 15s linear infinite; }
.tole__lampe--b { width: 5%; opacity: .75; animation: lampe 22s linear infinite -8s; }
/* Reflet spéculaire piloté par le curseur. */
.tole__specular {
    inset: -25%;
    background: radial-gradient(34% 55% at var(--mx) 16%, rgba(255, 255, 255, .45), transparent 70%);
    transition: background .25s linear;
}
/* Paillette : la peinture n'est jamais parfaitement lisse. */
.tole__flocon {
    inset: 0;
    background-image: var(--grain);
    background-size: 160px;
    mix-blend-mode: overlay;
    opacity: .22;
}
/* Coup de lustre au changement de teinte. */
.tole__balayage {
    top: -50%; bottom: -50%; left: -50%; width: 36%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent);
    filter: blur(3px);
    transform: skewX(-16deg);
    opacity: 0;
}
.tole.est-balaye .tole__balayage { animation: balayer 1s cubic-bezier(.4, 0, .2, 1); }

/* Métallisé : la paillette prend le dessus, les reflets s'élargissent. */
.tole.est-metal .tole__flocon { opacity: .42; mix-blend-mode: color-dodge; }
.tole.est-metal .tole__horizon { filter: blur(16px); }
.tole.est-metal .tole__lampe { filter: blur(15px); }
.tole.est-metal .tole__arete { opacity: .6; }

/* Mat : aucun reflet, une lumière diffuse et un grain fin. La teinte est
   très légèrement désaturée — un vernis mat rend toujours la couleur
   moins vive que le brillant. */
.tole.est-mat {
    background: color-mix(in oklab, var(--teinte) 88%, #7a7e85);
    box-shadow:
        0 40px 70px -50px rgba(0, 0, 0, .8),
        inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.tole.est-mat .tole__lampe,
.tole.est-mat .tole__specular { opacity: 0; }
/* La nervure de caisse reste : en mat elle se lit comme une rupture de ton,
   pas comme un trait de lumière. */
.tole.est-mat .tole__arete {
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2) 12%, rgba(255, 255, 255, .2) 88%, transparent);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
    filter: blur(1.5px);
}
.tole.est-mat .tole__horizon {
    opacity: .16;
    top: 18%; height: 44%;
    filter: blur(40px);
    transform: none;
}
/* Une surface mate ne renvoie pas de coup de lustre. */
.tole.est-mat.est-balaye .tole__balayage { animation: none; }
.tole.est-mat .tole__flocon { opacity: .38; mix-blend-mode: overlay; background-size: 46px; }
.tole.est-mat .tole__galbe {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .16), transparent 22%, transparent 78%, rgba(0, 0, 0, .16)),
        linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .02) 34%, transparent 58%),
        linear-gradient(180deg, transparent 54%, rgba(0, 0, 0, .2));
}

/* ------------------------------------------------------------- nuancier */

.nuancier {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 1.5rem; flex-wrap: wrap;
    margin-top: 1.5rem;
}
.nuancier__nom {
    font-family: var(--display);
    font-variation-settings: 'wdth' 112;
    font-weight: 700; text-transform: uppercase;
    font-size: clamp(1.05rem, 2vw, 1.5rem);
    letter-spacing: -.01em;
    line-height: 1.1;
}
.nuancier__code { margin-top: .45rem; }
.nuancier__legende.est-change .nuancier__nom,
.nuancier__legende.est-change .nuancier__code { animation: glisser .5s var(--sortie); }

.nuancier__reglages { display: flex; flex-direction: column; align-items: flex-end; gap: .85rem; }
.nuancier__chips { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }

.choix { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; justify-content: flex-end; }
.choix__label { margin-right: .3rem; }
.choix__btn {
    font-family: var(--mono); font-size: .58rem; font-weight: 500;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--appret);
    background: transparent;
    border: 1px solid var(--acier);
    border-radius: 3px;
    padding: .7em 1.05em;
    cursor: pointer;
    transition: color .3s, border-color .3s, background .3s, transform .3s var(--sortie);
}
.choix__btn:hover { color: var(--carbone); border-color: var(--carbone); }
.choix__btn.est-actif {
    background: var(--carbone); border-color: var(--carbone); color: var(--cabine);
}
.chip {
    position: relative;
    width: clamp(40px, 5vw, 60px); height: clamp(40px, 5vw, 60px);
    padding: 0; border: 0; border-radius: 4px;
    background: var(--c);
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 8px 18px -12px rgba(0, 0, 0, .8);
    transition: transform .4s var(--sortie), box-shadow .4s var(--sortie);
    animation: chip-entree .6s var(--sortie) both;
}
.chip::after {
    content: '';
    position: absolute; inset: 0; border-radius: 4px;
    background: linear-gradient(148deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, .05) 45%, transparent 60%);
}
.chip:nth-child(1) { animation-delay: .85s; }
.chip:nth-child(2) { animation-delay: .92s; }
.chip:nth-child(3) { animation-delay: .99s; }
.chip:nth-child(4) { animation-delay: 1.06s; }
.chip:nth-child(5) { animation-delay: 1.13s; }
.chip:nth-child(6) { animation-delay: 1.2s; }
.chip:hover { transform: translateY(-7px); }
.chip.est-actif {
    transform: translateY(-7px);
    box-shadow: 0 0 0 2px var(--cabine), 0 0 0 3px var(--carbone), 0 12px 22px -12px rgba(0, 0, 0, .8);
}
.nuancier__avis {
    margin-top: 1.4rem;
    max-width: 62ch;
    font-size: .8rem;
    color: var(--appret);
}

/* -------------------------------------------------------------- bandeau */

.bandeau {
    background: var(--carbone);
    color: #eef0f2;
    overflow: hidden;
    padding-block: 1.15rem;
}
.bandeau__piste {
    display: flex; align-items: center; gap: 2.2rem;
    width: max-content;
    font-family: var(--mono); font-size: .68rem;
    letter-spacing: .18em; text-transform: uppercase;
    animation: defiler 44s linear infinite;
}
.bandeau__pt {
    width: 6px; height: 6px; flex: none;
    background: var(--teinte);
    transform: rotate(45deg);
}

/* ----------------------------------------------------------- prestations */

.duo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
    gap: clamp(1rem, 2vw, 1.6rem);
    margin-top: clamp(2.5rem, 5vw, 4rem);
}
.carte {
    display: flex; flex-direction: column;
    background: var(--blanc);
    border: 1px solid var(--acier);
    border-radius: 14px;
    overflow: hidden;
    transition: transform .5s var(--sortie), box-shadow .5s var(--sortie);
}
.carte:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .6); }
.carte__surface {
    display: block; position: relative; overflow: hidden;
    height: clamp(120px, 14vw, 180px);
    background: var(--teinte);
}
.carte__surface::before {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .3), transparent 42%),
        linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .38));
}
.carte__surface::before {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}
.carte__ligne {
    position: absolute; left: -4%; right: -4%; top: 64%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .4);
    transform: rotate(-.4deg);
}
.carte__surface::after {
    content: '';
    position: absolute; top: -50%; bottom: -50%; left: -40%; width: 30%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
    filter: blur(8px);
    transform: skewX(-16deg);
    transition: left .9s var(--sortie);
}
.carte:hover .carte__surface::after { left: 120%; }
.carte__corps { padding: clamp(1.4rem, 2.4vw, 2.2rem); display: flex; flex-direction: column; flex: 1; }
.carte__titre {
    font-family: var(--display);
    font-variation-settings: 'wdth' 112;
    font-weight: 700; text-transform: uppercase;
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    letter-spacing: -.01em;
}
.carte__texte { margin-top: .9rem; color: var(--plomb); font-size: .96rem; }
.carte__liste { margin-top: 1.6rem; border-top: 1px solid var(--acier); }
.carte__liste li {
    display: flex; gap: .8rem; align-items: flex-start;
    padding-block: .75rem;
    border-bottom: 1px solid var(--acier);
    font-family: var(--mono); font-size: .62rem;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--plomb);
}
.carte__liste li::before {
    content: ''; flex: none;
    width: 6px; height: 6px; margin-top: .5em;
    background: var(--teinte);
    transform: rotate(45deg);
}

.annexes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr));
    gap: clamp(1.2rem, 2.4vw, 2.2rem);
    margin-top: clamp(2.2rem, 4vw, 3.5rem);
    padding-top: clamp(1.8rem, 3vw, 2.6rem);
    border-top: 1px solid var(--acier);
}
.annexes__mq {
    display: block; width: 10px; height: 10px;
    border: 1.5px solid var(--teinte);
    transform: rotate(45deg);
    margin-bottom: 1.3rem;
}
.annexes h3 {
    font-family: var(--display);
    font-variation-settings: 'wdth' 110;
    font-weight: 700; text-transform: uppercase;
    font-size: .95rem; letter-spacing: .01em;
}
.annexes p { margin-top: .5rem; font-size: .88rem; color: var(--appret); }

/* ------------------------------------------------------------- finitions */

.finitions { background: var(--carbone); color: #eceef1; }
/* Deux lignes pleines : le titre a besoin d'un peu plus de large. */
.finitions .tete { max-width: 58rem; }
.finitions .titre { color: #fff; }
.finitions .oeil { color: #8b929c; }
.finitions .tete__deck { color: #9aa1aa; }

.finis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(.9rem, 1.8vw, 1.5rem);
    margin-top: clamp(2.5rem, 5vw, 4rem);
}
.fini__surf {
    display: block; position: relative; overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 10px;
    background: var(--teinte);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
    transition: transform .6s var(--sortie);
}
.fini:hover .fini__surf { transform: translateY(-6px); }
.fini__surf::before, .fini__surf::after { content: ''; position: absolute; }

/* brillant : un reflet franc, une coupure nette */
.fini--brillant .fini__surf::before {
    inset: 0;
    background:
        linear-gradient(158deg, rgba(255, 255, 255, .65) 0 18%, rgba(255, 255, 255, .1) 26%, transparent 46%),
        linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, .45));
}
.fini--brillant .fini__surf::after {
    left: -30%; right: -30%; top: 62%; height: 10%;
    background: linear-gradient(180deg, rgba(255, 255, 255, .35), transparent);
    filter: blur(4px);
}
/* métallisé : de la paillette et un dégradé qui roule */
.fini--metal .fini__surf::before {
    inset: 0;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, .5), transparent 38%),
        linear-gradient(210deg, rgba(255, 255, 255, .28), transparent 42%),
        linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .5));
}
.fini--metal .fini__surf::after {
    inset: 0;
    background-image: var(--grain);
    background-size: 110px;
    mix-blend-mode: color-dodge;
    opacity: .22;
}
/* nacré : la teinte vire vers deux reflets colorés */
.fini--nacre .fini__surf::before {
    inset: 0;
    background:
        linear-gradient(160deg,
            color-mix(in oklab, var(--teinte) 55%, #ffd9f2) 0 30%,
            transparent 55%),
        linear-gradient(20deg,
            color-mix(in oklab, var(--teinte) 60%, #b8f0ff) 0 25%,
            transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, .3), transparent 40%, rgba(0, 0, 0, .45));
}
.fini--nacre .fini__surf::after {
    inset: 0;
    background-image: var(--grain);
    background-size: 130px;
    mix-blend-mode: soft-light;
    opacity: .5;
}
/* mat : aucun reflet, la lumière est absorbée */
.fini--mat .fini__surf { background: color-mix(in oklab, var(--teinte) 88%, #7a7e85); }
.fini--mat .fini__surf::before {
    inset: 0;
    background:
        radial-gradient(70% 45% at 50% 26%, rgba(255, 255, 255, .12), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, .1), transparent 40%),
        linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, .22));
}
.fini--mat .fini__surf::after {
    inset: 0;
    background-image: var(--grain);
    background-size: 40px;
    mix-blend-mode: overlay;
    opacity: .4;
}

.fini figcaption { margin-top: 1rem; }
.fini figcaption b {
    display: block;
    font-family: var(--display);
    font-variation-settings: 'wdth' 110;
    font-weight: 700; text-transform: uppercase;
    font-size: .9rem; letter-spacing: .02em;
}
.fini figcaption span {
    display: block; margin-top: .4rem;
    font-size: .84rem; line-height: 1.5; color: #9aa1aa;
}

@media (min-width: 760px) { .finis { grid-template-columns: repeat(4, 1fr); } }

/* --------------------------------------------------------------- atelier */

.atelier { background: var(--cabine-2); }

.etapes {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr));
    gap: clamp(1.6rem, 2.8vw, 2.6rem);
    margin-top: clamp(2.8rem, 5vw, 4.5rem);
}
.etapes__rail { display: none; }
.etapes__rail i { display: block; height: 100%; width: 0; background: var(--teinte); transition: width 1.4s var(--sortie); }
.etape {
    position: relative;
    border-top: 1px solid var(--acier);
    padding-top: 1.5rem;
}
.etape::before {
    content: '';
    display: block;
    width: 9px; height: 9px;
    margin-bottom: 1.2rem;
    background: var(--teinte);
    transform: rotate(45deg) scale(.4);
    opacity: 0;
    transition: transform .6s var(--sortie) .2s, opacity .6s .2s;
}
.etape.est-vu::before { transform: rotate(45deg) scale(1); opacity: 1; }
.etape__num {
    display: block;
    font-family: var(--mono); font-size: .7rem; font-weight: 700;
    letter-spacing: .1em; color: var(--teinte-texte);
}
.etape h3 {
    margin-top: .6rem;
    font-family: var(--display);
    font-variation-settings: 'wdth' 112;
    font-weight: 700; text-transform: uppercase;
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}
.etape p { margin-top: .6rem; font-size: .92rem; color: var(--plomb); }

/* Au-delà de 1100px les quatre étapes tiennent sur une ligne :
   le rail devient lisible et porte les repères. */
@media (min-width: 1100px) {
    .etapes { grid-template-columns: repeat(4, 1fr); padding-top: 2.4rem; }
    .etapes__rail { display: block; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--acier); }
    .etape { border-top: 0; padding-top: 0; }
    .etape::before { position: absolute; top: -2.4rem; left: 0; margin: -4px 0 0; }
}

/* --------------------------------------------------------------- contact */

.fiches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr));
    gap: clamp(1rem, 2vw, 1.6rem);
    margin-top: clamp(2.5rem, 5vw, 4rem);
}
.fiche {
    display: flex; flex-direction: column; gap: 1rem;
    background: var(--blanc);
    border: 1px solid var(--acier);
    border-radius: 14px;
    padding: clamp(1.5rem, 2.4vw, 2.1rem);
    text-decoration: none;
    transition: transform .5s var(--sortie), box-shadow .5s var(--sortie);
}
.fiche:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .6); }
.fiche--tel { background: var(--teinte); color: var(--encre); border-color: transparent; }
.fiche--tel .oeil { color: inherit; opacity: .8; }
.fiche--tel .oeil::before { background: currentColor; }
.fiche__tel {
    font-family: var(--display);
    font-variation-settings: 'wdth' 115;
    font-weight: 800;
    font-size: clamp(1.4rem, 3.2vw, 2.2rem);
    letter-spacing: -.01em;
    line-height: 1.1;
}
.fiche__gros { font-size: 1.12rem; line-height: 1.45; }
.fiche__lien {
    margin-top: auto;
    font-family: var(--mono); font-size: .62rem;
    letter-spacing: .14em; text-transform: uppercase;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: .6em;
}
.fiche__lien::after { content: '→'; transition: transform .4s var(--sortie); }
.fiche:hover .fiche__lien::after { transform: translateX(6px); }

.statut {
    display: flex; align-items: center; gap: .6rem;
    font-family: var(--mono); font-size: .62rem;
    letter-spacing: .1em; text-transform: uppercase;
}
.statut__pt {
    width: 8px; height: 8px; border-radius: 50%;
    background: #12a06b;
    animation: pulser 2.6s ease-out infinite;
}
.statut.est-ferme { color: var(--appret); }
.statut.est-ferme .statut__pt { background: var(--acier); animation: none; }

.horaires { width: 100%; border-collapse: collapse; }
.horaires tr { border-top: 1px solid var(--acier); }
.horaires th {
    text-align: left; vertical-align: top; padding-block: .8rem;
    font-family: var(--mono); font-weight: 500; font-size: .62rem;
    letter-spacing: .1em; text-transform: uppercase; color: var(--plomb);
}
.horaires td { text-align: right; padding-block: .8rem; font-size: .95rem; }
.horaires--off td { color: var(--appret); }

/* ------------------------------------------------------------------ pied */

.pied {
    background: var(--carbone);
    color: #c4cad2;
    padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}
.pied__in { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.pied__marque {
    display: flex; align-items: center; gap: .6rem;
    font-family: var(--display);
    font-variation-settings: 'wdth' 118;
    font-weight: 800; font-size: .8rem;
    letter-spacing: .12em; text-transform: uppercase;
    color: #fff;
}
.pied__adresse { font-size: .92rem; line-height: 1.7; }
.pied__adresse a { text-decoration: none; }
.pied__adresse a:hover { color: #fff; }
.pied__note {
    flex-basis: 100%;
    margin-top: 1.2rem; padding-top: 1.5rem;
    border-top: 1px solid #262a31;
    font-family: var(--mono); font-size: .58rem;
    letter-spacing: .12em; text-transform: uppercase; color: #6b727b;
}

/* --------------------------------------------------- barre d'appel mobile */

.appel-mobile {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: none; align-items: center; justify-content: center; gap: .6rem;
    background: var(--teinte); color: var(--encre);
    padding: 1.05rem;
    font-family: var(--mono); font-size: .66rem;
    letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
    transform: translateY(110%);
    transition: transform .5s var(--sortie);
}
.appel-mobile.est-visible { transform: none; }
.appel-mobile__pt {
    width: 7px; height: 7px; border-radius: 50%;
    background: currentColor; opacity: .8;
    animation: pulser 2.6s ease-out infinite;
}

/* ------------------------------------------------------------ révélations */

/* Sans JavaScript, rien n'est masqué : la classe .js est posée en tête de page. */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s var(--sortie), transform .9s var(--sortie);
    transition-delay: var(--d, 0s);
}
.js [data-reveal].est-vu { opacity: 1; transform: none; }

/* ------------------------------------------------------------- animations */

@keyframes monter { to { transform: none; } }
@keyframes apparaitre { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes tole-entree { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes chip-entree { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes lampe { from { transform: translateX(0) skewX(-14deg); } to { transform: translateX(620%) skewX(-14deg); } }
@keyframes balayer {
    0% { left: -50%; opacity: 0; }
    12% { opacity: 1; }
    100% { left: 115%; opacity: 0; }
}
@keyframes defiler { to { transform: translateX(-50%); } }
@keyframes glisser { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pulser {
    0% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
    70% { box-shadow: 0 0 0 7px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 900px) {
    .burger { display: flex; }
    .nav {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; gap: 0;
        background: var(--cabine);
        border-bottom: 1px solid var(--acier);
        padding: .5rem clamp(1rem, 3.5vw, 3.5rem) 1.5rem;
        display: none;
    }
    .nav.est-ouvert { display: flex; }
    .nav a { font-size: .8rem; padding-block: 1rem; border-bottom: 1px solid var(--acier); }
    .nav a::after { display: none; }
    .appel-mobile { display: flex; }
    .pied { padding-bottom: 6rem; }
    .hero__titre { font-variation-settings: 'wdth' 100; font-size: clamp(2.2rem, 9.4vw, 5rem); }
    .hero__bas { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { flex: 1; }
}

@media (max-width: 560px) {
    .entete__tel { display: none; }
    /* Les sept teintes doivent tenir sur une seule ligne. */
    .nuancier__reglages { align-items: stretch; width: 100%; }
    .nuancier__chips { justify-content: flex-start; gap: .4rem; }
    .chip { flex: 1 1 0; width: auto; height: auto; min-width: 0; aspect-ratio: 1; }
    .choix { justify-content: flex-start; }
    .choix__label { flex-basis: 100%; margin: 0 0 .15rem; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .nuancier { align-items: center; }
    .nuancier__legende { flex: 1 1 100%; }
}

/* ------------------------------------------------------- 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;
    }
    .js [data-reveal] { opacity: 1; transform: none; }
    .hero__titre .ligne > span { transform: none; }
}
