/* ==========================================================================
   Arpent — feuille de style unique
   Palette bois : noyer (sombre), chêne (doré), lin (clair), sauge, cuivre (actions).
   Sommaire : 1. Base · 2. Mise en page · 3. En-tête · 4. Composants · 5. Accueil
              6. Comparateur · 7. Maquettes · 8. Pages · 9. Pied · 10. Animations
   ========================================================================== */

@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Position du comparateur, animable (transition et GSAP). */
@property --pos {
    syntax: "<percentage>";
    inherits: true;
    initial-value: 50%;
}

:root {
    --noyer-950: #140e0a;
    --noyer-900: #1c140f;
    --noyer-800: #2a1e16;
    --noyer-700: #3d2b1f;
    --chene-600: #8f5f33;
    --chene-500: #b8834f;
    --chene-400: #d4a473;
    --chene-200: #ecd5b4;
    --lin: #f3ebde;
    --papier: #faf6ef;
    --encre: #221a14;
    --encre-doux: #5c4d41;
    --sauge: #7d8f6c;
    --sauge-fonce: #46573b;
    --cuivre: #a9501f;
    --cuivre-fonce: #873f17;
    --metre: #e0b04a;
    --rouge: #b3261e;

    --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --sans: "Inter", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;

    --rayon: 14px;
    --ombre: 0 1px 2px rgb(28 20 15 / .06), 0 12px 32px -12px rgb(28 20 15 / .25);
    --ombre-forte: 0 2px 4px rgb(20 14 10 / .1), 0 30px 60px -20px rgb(20 14 10 / .45);
    --entete: 68px;
    --marge: clamp(1.25rem, 4vw, 2.5rem);

    /* Grain de bois : bruit étiré à l'horizontale, comme des fibres. */
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.004 0.16' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.83  0 0 0 0 0.6  0 0 0 0 0.38  0 0 0 0.9 -0.32'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}

/* ---- 1. Base ---------------------------------------------------------------------------- */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--entete) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--encre);
    background: var(--papier);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.015em;
    margin: 0 0 .5em;
    text-wrap: balance;
}
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--chene-600); }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }
img, svg { max-width: 100%; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
s { text-decoration-thickness: 2px; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.ico--petit { width: 1em; height: 1em; vertical-align: -.12em; }

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

.evitement {
    position: absolute; left: 1rem; top: -4rem; z-index: 200;
    background: var(--cuivre); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.evitement:focus { top: 1rem; }

main:focus { outline: none; }

/* ---- 2. Mise en page -------------------------------------------------------------------- */

.conteneur { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--marge); }
.conteneur--etroit { max-width: 880px; }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--serre { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--lin { background: var(--lin); }
.section--noyer { background: var(--noyer-900); color: var(--lin); }

/* Le grain de bois, posé en surimpression sur les fonds sombres. */
.grain { position: relative; isolation: isolate; }
.grain::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: var(--grain); background-size: 700px 700px; opacity: .1;
}

.surtitre {
    display: inline-flex; align-items: center; gap: .5em;
    font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--chene-600); margin-bottom: 1.1rem;
}
.surtitre::before { content: ""; width: 1.8em; height: 1px; background: currentColor; opacity: .7; }
.surtitre--clair { color: var(--chene-400); }

.titre-section { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 18ch; }
.titre-section--clair { color: var(--papier); }
.titre-section--clair em { color: var(--chene-400); }
.titre-page { font-size: clamp(2.4rem, 5.6vw, 4.4rem); max-width: 17ch; }

.chapo { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--encre-doux); max-width: 60ch; }
.chapo--clair { color: color-mix(in srgb, var(--lin) 80%, transparent); }

.entete-section { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.entete-section--ligne { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }

.prose { max-width: 68ch; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }

/* ---- 3. En-tête ------------------------------------------------------------------------- */

/* Le mètre pliant : avance avec la lecture de la page. */
.metre {
    position: fixed; inset: 0 0 auto; height: 5px; z-index: 120; pointer-events: none;
}
.metre__ruban {
    display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0);
    background:
        repeating-linear-gradient(90deg, rgb(28 20 15 / .55) 0 1px, transparent 1px 10px),
        var(--metre);
    background-size: 100% 60%, 100% 100%;
    background-repeat: no-repeat;
}

.entete {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--noyer-900) 92%, transparent);
    backdrop-filter: blur(10px) saturate(1.2);
    color: var(--lin);
    border-bottom: 1px solid rgb(236 213 180 / .08);
}
.entete__barre { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--entete); }

.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: inherit; }
.logo__marque { width: 30px; height: 30px; color: var(--chene-400); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.logo:hover .logo__marque { transform: rotate(-12deg); }
.logo__nom { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; }
.logo--grand .logo__marque { width: 40px; height: 40px; }
.logo--grand .logo__nom { font-size: 2rem; }

.nav__liste { display: flex; align-items: center; gap: .35rem; }
.nav__lien {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .5rem .8rem; border-radius: 8px;
    font-size: .95rem; font-weight: 500; text-decoration: none; color: color-mix(in srgb, var(--lin) 88%, transparent);
    transition: color .2s, background-color .2s;
}
.nav__lien:hover, .nav__lien[aria-expanded="true"] { color: #fff; background: rgb(236 213 180 / .08); }
.nav__lien[aria-current="page"] { color: var(--chene-400); }
.nav__lien .ico { transition: transform .25s; }
.nav__lien[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav__element { position: relative; }
.nav__element--appel { margin-left: .5rem; }

.mega {
    position: absolute; top: calc(100% + 10px); left: -1rem; width: min(560px, 90vw);
    background: var(--papier); color: var(--encre);
    border-radius: var(--rayon); box-shadow: var(--ombre-forte); padding: .6rem;
}
.mega__lien {
    display: flex; gap: .9rem; align-items: flex-start; padding: .75rem .85rem; border-radius: 10px;
    text-decoration: none; transition: background-color .2s;
}
.mega__lien:hover, .mega__lien[aria-current="page"] { background: var(--lin); }
.mega__lien strong { display: block; font-weight: 600; }
.mega__lien small { display: block; color: var(--encre-doux); font-size: .87rem; line-height: 1.45; }
.mega__ico {
    display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px;
    background: var(--noyer-900); color: var(--chene-400);
}

.nav-bouton {
    display: none; align-items: center; gap: .4rem; padding: .5rem .8rem; border-radius: 8px;
    color: var(--lin); text-decoration: none; font-weight: 500; border: 1px solid rgb(236 213 180 / .2);
}

@media (max-width: 900px) {
    .nav-bouton { display: inline-flex; }
    .nav {
        display: none; position: fixed; inset: var(--entete) 0 0; overflow-y: auto;
        background: var(--noyer-900); padding: 1rem var(--marge) 2rem;
    }
    .menu-ouvert .nav { display: block; }
    .menu-ouvert { overflow: hidden; }
    .nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__lien { font-size: 1.15rem; padding: .9rem .2rem; border-bottom: 1px solid rgb(236 213 180 / .1); border-radius: 0; width: 100%; }
    .nav__lien .ico { display: none; }
    .mega, .mega[hidden] { display: block; position: static; width: auto; background: none; box-shadow: none; padding: .3rem 0 .8rem; color: var(--lin); }
    .mega__lien:hover { background: rgb(236 213 180 / .06); }
    .mega__lien small { color: color-mix(in srgb, var(--lin) 65%, transparent); }
    .mega__ico { background: rgb(236 213 180 / .1); }
    .nav__element--appel { margin: 1.5rem 0 0; }
    .nav__element--appel .bouton { width: 100%; justify-content: center; }
}

/* ---- 4. Composants ---------------------------------------------------------------------- */

.bouton {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: .95rem 1.5rem; border-radius: 999px; border: 0;
    font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
    transition: background-color .25s, transform .25s, box-shadow .25s;
}
.bouton .ico { transition: transform .25s; }
.bouton:hover .ico { transform: translateX(3px); }
.bouton:active { transform: translateY(1px); }
.bouton--cuivre { background: var(--cuivre); color: #fff; box-shadow: 0 8px 24px -10px rgb(169 80 31 / .8); }
.bouton--cuivre:hover { background: var(--cuivre-fonce); }
.bouton--chene { background: var(--chene-400); color: var(--noyer-950); }
.bouton--chene:hover { background: var(--chene-200); }
.bouton--petit { padding: .6rem 1.1rem; font-size: .92rem; }

.lien-fleche {
    display: inline-flex; align-items: center; gap: .45rem;
    font-weight: 600; text-decoration: none; color: var(--cuivre);
}
.lien-fleche::after {
    content: "→"; transition: transform .25s;
}
.lien-fleche:hover::after { transform: translateX(4px); }
.lien-fleche--clair { color: var(--chene-200); }
.lien-fleche--petit { font-size: .85rem; font-family: var(--sans); }

.etiquette-prix {
    display: inline-flex; align-items: center; padding: .45rem .9rem; border-radius: 999px;
    background: var(--lin); border: 1px solid var(--chene-200);
    font-family: var(--mono); font-size: .85rem; color: var(--noyer-700);
}

.liste-coches { display: grid; gap: .55rem; }
.liste-coches li { display: flex; gap: .6rem; align-items: flex-start; }
.liste-coches .ico { color: var(--sauge-fonce); margin-top: .2em; }

.techs { display: flex; flex-wrap: wrap; gap: .4rem; }
.techs li {
    font-family: var(--mono); font-size: .78rem; padding: .3rem .65rem; border-radius: 6px;
    background: var(--papier); border: 1px solid var(--chene-200); color: var(--noyer-700);
}

.mention { font-size: .9rem; color: var(--encre-doux); margin-top: 1.25rem; }
.mention--forte { font-weight: 600; color: var(--encre); }

/* Tableaux de tarifs. */
.tarifs { width: 100%; border-collapse: collapse; }
.tarifs tr { border-bottom: 1px solid color-mix(in srgb, var(--chene-500) 30%, transparent); }
.tarifs th, .tarifs td { padding: 1rem .5rem 1rem 0; text-align: left; vertical-align: top; }
.tarifs__nom { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; width: 30%; }
.tarifs__detail { color: var(--encre-doux); font-size: .95rem; }
.tarifs__prix { font-family: var(--mono); font-size: .92rem; width: 13rem; text-align: right !important; color: var(--noyer-800); font-weight: 600; }
@media (max-width: 640px) {
    .tarifs tr { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: .9rem 0; }
    .tarifs th, .tarifs td { padding: 0; }
    .tarifs__nom { width: auto; }
    .tarifs__detail { grid-column: 1 / -1; grid-row: 2; }
    .tarifs__prix { white-space: normal; }
}

/* FAQ. */
.faq { border-top: 1px solid color-mix(in srgb, var(--chene-500) 35%, transparent); }
.faq__question { border-bottom: 1px solid color-mix(in srgb, var(--chene-500) 35%, transparent); }
.faq__question summary {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.25rem 0; cursor: pointer; list-style: none;
    font-family: var(--serif); font-size: 1.2rem; font-weight: 500;
}
.faq__question summary::-webkit-details-marker { display: none; }
.faq__question summary .ico { color: var(--cuivre); transition: transform .3s; }
.faq__question[open] summary .ico { transform: rotate(45deg); }
.faq__reponse { padding: 0 2.5rem 1.25rem 0; color: var(--encre-doux); }
.faq__reponse em { font-style: normal; font-weight: 600; color: var(--encre); }

/* Fil d'Ariane. */
.ariane { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: var(--encre-doux); margin-bottom: 1.75rem; }
.ariane a { text-decoration: none; }
.ariane a:hover { color: var(--cuivre); }

/* ---- 5. Accueil ------------------------------------------------------------------------- */

.hero {
    background: var(--noyer-900); color: var(--lin); overflow: hidden;
    padding-block: clamp(3.5rem, 8vw, 7rem) clamp(4rem, 9vw, 8rem);
}
.hero__releve { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .5; }
.hero__lignes path { fill: none; stroke: var(--chene-500); stroke-width: 1; stroke-dasharray: 6 8; opacity: .45; }
.hero__lignes circle { fill: none; stroke: var(--chene-400); stroke-width: 1.5; opacity: .6; }
.hero__releve text { font-family: var(--mono); font-size: 13px; fill: var(--chene-500); opacity: .6; }
/* Quadrillage de relevé, très discret. */
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background-image:
        linear-gradient(rgb(236 213 180 / .045) 1px, transparent 1px),
        linear-gradient(90deg, rgb(236 213 180 / .045) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}

.hero__grille { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero__titre { font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 450; line-height: 1; letter-spacing: -.03em; color: var(--papier); max-width: 12ch; }
.hero__titre em { color: var(--chene-400); }
.hero__chapo { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: color-mix(in srgb, var(--lin) 82%, transparent); max-width: 50ch; margin-block: 1.5rem 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

/* Le carnet de relevé : une feuille de papier posée sur l'établi. */
.carnet {
    background: var(--papier); color: var(--encre); border-radius: 6px;
    padding: 1.6rem 1.6rem 1.2rem; box-shadow: var(--ombre-forte);
    transform: rotate(1.2deg);
    background-image:
        linear-gradient(90deg, transparent 2.6rem, rgb(179 38 30 / .25) 2.6rem 2.7rem, transparent 2.7rem),
        repeating-linear-gradient(transparent 0 2.45rem, rgb(143 95 51 / .14) 2.45rem calc(2.45rem + 1px));
}
.carnet__entete { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-left: 1.6rem; margin-bottom: .6rem; }
.carnet__titre { font-size: 1.35rem; margin: 0; font-style: italic; }
.carnet__ref { font-family: var(--mono); font-size: .72rem; color: var(--encre-doux); text-transform: uppercase; letter-spacing: .08em; }
.carnet__ligne a {
    display: block; padding: .55rem 0 .55rem 1.6rem; text-decoration: none; border-radius: 4px;
    transition: background-color .2s;
}
.carnet__ligne a:hover { background: rgb(212 164 115 / .14); }
.carnet__avant { display: block; color: var(--encre-doux); font-size: .92rem; }
/* Le trait qui barre l'« avant » est un fond animable (--barre), pas un text-decoration. */
.carnet__avant s {
    text-decoration: none;
    background: linear-gradient(var(--rouge), var(--rouge)) no-repeat 0 58% / var(--barre, 100%) 2px;
}
.carnet__apres { display: flex; gap: .4rem; align-items: baseline; font-family: var(--serif); font-size: 1.12rem; font-weight: 500; color: var(--sauge-fonce); }

@media (max-width: 900px) {
    .hero__grille { grid-template-columns: 1fr; }
    .carnet { transform: rotate(.6deg); }
}

/* Le constat. */
.constat { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.symptomes { display: grid; gap: .8rem; }
.symptome {
    display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem;
    background: var(--lin); border-radius: 12px; font-size: 1.02rem;
}
.symptome__marque {
    width: 1.4rem; height: 1.4rem; flex: none; margin-top: .15rem; border-radius: 50%;
    border: 2px solid var(--cuivre); position: relative;
}
.symptome__marque::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--cuivre); }
@media (max-width: 900px) { .constat { grid-template-columns: 1fr; } }

/* Les parcelles. */
.parcelle { padding-block: clamp(2rem, 5vw, 3.5rem); }
.parcelle__grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.parcelle:nth-of-type(even) .parcelle__texte { order: 2; }
.parcelle__numero {
    font-family: var(--mono); font-size: 3.2rem; line-height: 1; color: var(--chene-500); margin-bottom: 1rem;
    display: flex; align-items: baseline; gap: .6rem;
}
.parcelle__numero span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-doux); }
.parcelle__titre { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.parcelle__constat { color: var(--encre-doux); font-size: 1.08rem; }
.parcelle__pied { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem; margin-top: 1.75rem; }
.parcelle__prix { font-family: var(--mono); font-size: .85rem; padding: .35rem .75rem; background: var(--papier); border: 1px solid var(--chene-200); border-radius: 999px; }
@media (max-width: 900px) {
    .parcelle__grille { grid-template-columns: 1fr; }
    .parcelle:nth-of-type(even) .parcelle__texte { order: 0; }
}

/* Cartes des prestations. */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.service-carte a {
    display: flex; flex-direction: column; gap: .6rem; height: 100%;
    padding: 1.6rem 1.4rem; border-radius: var(--rayon); text-decoration: none;
    background: var(--lin); border: 1px solid transparent;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s;
}
.service-carte a:hover { transform: translateY(-4px); box-shadow: var(--ombre); border-color: var(--chene-200); }
.service-carte__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--noyer-900); color: var(--chene-400); margin-bottom: .4rem; }
.service-carte__ico .ico { width: 24px; height: 24px; }
.service-carte__nom { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.service-carte__resume { color: var(--encre-doux); font-size: .95rem; flex: 1; }
.service-carte__prix { font-family: var(--mono); font-size: .8rem; color: var(--cuivre); }

/* Comparatif. */
.comparatif { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.comparatif__table { display: grid; }
.comparatif__ligne {
    display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 1rem; padding: 1rem 0;
    border-bottom: 1px solid rgb(236 213 180 / .14); font-size: .95rem;
}
.comparatif__ligne--tete { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--chene-400); padding-top: 0; }
.comparatif__critere { font-family: var(--serif); font-size: 1.1rem; color: var(--papier); }
.comparatif__classique { color: color-mix(in srgb, var(--lin) 60%, transparent); display: flex; gap: .5rem; }
.comparatif__classique .ico { color: #d98a6a; margin-top: .3em; }
.comparatif__arpent { color: var(--papier); display: flex; gap: .5rem; }
.comparatif__arpent .ico { color: #a9c08f; margin-top: .3em; }
@media (max-width: 900px) {
    .comparatif { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .comparatif__ligne { grid-template-columns: 1fr 1fr; }
    .comparatif__ligne--tete span:first-child { display: none; }
    .comparatif__critere { grid-column: 1 / -1; }
}

/* La démarche : quatre jalons plantés sur une ligne de mesure. */
.demarche { position: relative; }
.demarche__ligne { position: absolute; top: 22px; left: 0; width: 100%; height: 20px; overflow: visible; }
.demarche__ligne path { fill: none; stroke: var(--chene-500); stroke-width: 2; stroke-dasharray: 2 7; vector-effect: non-scaling-stroke; }
.demarche__liste { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.jalon__piquet {
    display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
    background: var(--noyer-900); color: var(--chene-400); font-family: var(--serif); font-size: 1.6rem;
    box-shadow: 0 0 0 8px var(--papier); margin-bottom: 1.4rem;
}
.jalon__verbe { font-size: 1.5rem; }
.jalon p { color: var(--encre-doux); font-size: .98rem; }
@media (max-width: 900px) {
    .demarche__ligne { display: none; }
    .demarche__liste { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .demarche__liste { grid-template-columns: 1fr; } }

/* Cartes des réalisations. */
.realisations { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.25rem; }
.carte-real__lien {
    display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.8rem;
    background: var(--papier); border-radius: var(--rayon); text-decoration: none;
    border: 1px solid color-mix(in srgb, var(--chene-500) 22%, transparent);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
}
.section--serre .carte-real__lien, .realisations--toutes .carte-real__lien { background: var(--lin); }
.carte-real__lien:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.carte-real__etiquette { align-self: flex-start; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sauge-fonce); }
.carte-real__titre { font-size: 1.55rem; margin: .2rem 0 0; }
.carte-real__client { font-size: .88rem; color: var(--encre-doux); margin: 0; }
.carte-real__resume { flex: 1; margin: .4rem 0 .6rem; }
.carte-real__techs { font-family: var(--mono); font-size: .76rem; color: var(--chene-600); }

/* Bandeau d'appel. */
.appel { background: var(--noyer-800); color: var(--lin); padding-block: clamp(4rem, 8vw, 6.5rem); }
.appel__grille { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; }
.appel__titre { font-size: clamp(2.4rem, 5.5vw, 4.4rem); color: var(--papier); margin: 0 0 .6rem; }
.appel__titre em { color: var(--chene-400); }
.appel__texte { color: color-mix(in srgb, var(--lin) 75%, transparent); max-width: 50ch; margin: 0; }
.appel__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.appel__tel { display: inline-flex; gap: .5rem; align-items: center; color: var(--chene-200); text-decoration: none; font-family: var(--mono); }

/* ---- 6. Comparateur avant / après ------------------------------------------------------- */

.compare { margin: 0; }
.compare__scene {
    --pos: 50%;
    position: relative; aspect-ratio: 16 / 10; container-type: inline-size;
    border-radius: var(--rayon); overflow: hidden; background: #ddd5c8;
    box-shadow: var(--ombre-forte); touch-action: pan-y; user-select: none;
}
.compare__couche { position: absolute; inset: 0; }
.compare__apres { clip-path: inset(0 0 0 var(--pos)); }
.compare__trait {
    position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; translate: -50% 0;
    background: var(--papier); box-shadow: 0 0 12px rgb(0 0 0 / .35); pointer-events: none;
}
.compare__poignee {
    position: absolute; top: 50%; left: 50%; translate: -50% -50%;
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    background: var(--cuivre); color: #fff; border: 3px solid var(--papier); box-shadow: var(--ombre);
    transition: scale .2s;
}
.compare__scene:hover .compare__poignee { scale: 1.08; }
.compare__curseur {
    position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0;
    cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y;
}
.compare__scene:has(.compare__curseur:focus-visible) { outline: 3px solid var(--cuivre); outline-offset: 4px; }
.compare__etiquette {
    position: absolute; top: 12px; padding: .3rem .7rem; border-radius: 999px; pointer-events: none;
    font: 600 .72rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase;
    background: rgb(28 20 15 / .78); color: var(--lin); backdrop-filter: blur(4px);
}
.compare__etiquette--avant { left: 12px; }
.compare__etiquette--apres { right: 12px; background: var(--sauge-fonce); }
.compare__legende {
    display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin-top: 1rem;
    font-size: .9rem; color: var(--encre-doux);
}
.compare__legende-apres { font-weight: 600; color: var(--sauge-fonce); }
.compare__legende small { margin-left: auto; font-family: var(--mono); font-size: .72rem; opacity: .75; }
.aide-glisser { display: flex; align-items: center; gap: .4rem; justify-content: center; font-size: .85rem; color: var(--encre-doux); margin-top: .6rem; }

@media (max-width: 640px) {
    .compare__scene { aspect-ratio: 4 / 3; }
}

/* ---- 7. Maquettes (dimensionnées en em : elles s'agrandissent avec la scène) ------------ */

.maq {
    position: absolute; inset: 0; overflow: hidden;
    font-size: 1.72cqw; line-height: 1.3; font-family: var(--sans);
}
@media (max-width: 640px) { .maq { font-size: 2.25cqw; } }

/* 01 — Tableur. */
.xl { background: #fff; color: #222; font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif; display: flex; flex-direction: column; }
.xl__titre { background: #217346; color: #fff; padding: .55em 1em; font-size: .95em; display: flex; align-items: center; gap: .6em; white-space: nowrap; overflow: hidden; }
.xl__titre em { opacity: .75; font-style: normal; }
.xl__logo { display: inline-grid; place-items: center; width: 1.4em; height: 1.4em; background: #fff; color: #217346; font-weight: 700; border-radius: .15em; }
.xl__ruban { display: flex; gap: 1.4em; padding: .45em 1em; background: #f3f3f3; font-size: .82em; color: #444; border-bottom: 1px solid #ddd; }
.xl__ruban .on { color: #217346; font-weight: 700; border-bottom: .15em solid #217346; }
.xl__formule { display: flex; align-items: center; gap: .8em; padding: .35em .8em; border-bottom: 1px solid #ddd; font-size: .85em; }
.xl__formule b { width: 3em; border-right: 1px solid #ccc; }
.xl__formule i { color: #888; }
.xl__formule code { font-family: inherit; color: #c00; }
.xl__grille { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: .9em; flex: 1; }
.xl__grille th { background: #efefef; color: #666; font-weight: 400; font-size: .85em; border: 1px solid #d4d4d4; padding: .25em; }
.xl__grille tr > th:first-child { width: 2.6em; }
.xl__grille td { border: 1px solid #d4d4d4; padding: .3em .45em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xl__grille .t { font-weight: 700; }
.xl__grille .n { text-align: right; }
.xl__grille .err { color: #c00; font-weight: 700; text-align: right; }
.xl__grille .jaune { background: #fff200; }
.xl__grille .rouge { color: #c00; }
.xl__grille .sel { outline: .15em solid #217346; outline-offset: -.1em; }
.xl__onglets { display: flex; gap: .2em; padding: 0 .8em; background: #f3f3f3; border-top: 1px solid #ccc; font-size: .8em; }
.xl__onglets span { padding: .35em .9em; color: #555; }
.xl__onglets .on { background: #fff; color: #217346; font-weight: 700; border-bottom: .15em solid #217346; }
.xl__etat { background: #fff4ce; color: #7a5b00; padding: .4em 1em; font-size: .8em; border-top: 1px solid #e6d28f; }

.app { display: grid; grid-template-columns: 10.5em 1fr; background: #f7f3ec; color: var(--encre); }
.app__cote { background: var(--noyer-900); color: var(--chene-200); display: flex; flex-direction: column; padding: 1.1em 0; font-size: .92em; }
.app__cote > span { padding: .55em 1.2em; opacity: .75; }
.app__cote > .on { opacity: 1; background: rgb(255 255 255 / .07); box-shadow: inset .2em 0 var(--chene-400); color: #fff; }
.app__marque { display: flex; align-items: center; gap: .5em; padding: 0 1.2em 1.2em; font-family: var(--serif); font-size: 1.3em; color: #fff; }
.app__marque span { width: .9em; height: .9em; border-radius: .25em; background: var(--chene-400); }
.app__sauve { margin-top: auto; padding: 0 1.2em; font-size: .8em; color: #a9c08f; }
.app__corps { padding: 1.2em 1.4em; display: flex; flex-direction: column; gap: 1em; min-width: 0; }
.app__haut { display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.app__recherche { flex: 1; background: #fff; border: 1px solid #e4dccf; border-radius: .6em; padding: .5em .8em; color: #9a8d80; font-size: .9em; white-space: nowrap; overflow: hidden; }
.app__sync { font-size: .78em; color: var(--sauge-fonce); white-space: nowrap; }
.app__chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7em; }
.app__chiffres div { background: #fff; border-radius: .7em; padding: .7em .9em; font-size: .8em; color: var(--encre-doux); box-shadow: 0 .1em .3em rgb(0 0 0 / .05); }
.app__chiffres b { display: block; font-family: var(--serif); font-size: 1.9em; color: var(--encre); font-weight: 500; line-height: 1.1; }
.app__table { width: 100%; border-collapse: collapse; background: #fff; border-radius: .7em; overflow: hidden; font-size: .88em; box-shadow: 0 .1em .3em rgb(0 0 0 / .05); }
.app__table th { text-align: left; font-weight: 600; font-size: .85em; color: var(--encre-doux); padding: .7em .9em; background: #fbf8f3; }
.app__table td { padding: .65em .9em; border-top: 1px solid #f0e9de; white-space: nowrap; }
.pastille { font-style: normal; font-size: .82em; font-weight: 600; padding: .2em .65em; border-radius: 999px; }
.pastille.ok { background: #e4ecda; color: var(--sauge-fonce); }
.pastille.relance { background: #f8e1d3; color: var(--cuivre-fonce); }
.pastille.info { background: #ece4d6; color: var(--noyer-700); }
.app__pied { font-size: .78em; color: var(--encre-doux); margin-top: auto; }

/* 02 — Site web. */
.web { display: flex; align-items: center; justify-content: center; gap: 3.5em; padding: 1.5em; }
.web--avant { background: #d8d3cb; }
.web--apres { background: linear-gradient(160deg, #e9e2d5, #d9cdb9); }
.tel { width: 15em; height: 29em; flex: none; background: #111; border-radius: 2.2em; padding: .6em; box-shadow: 0 1.5em 3em -1em rgb(0 0 0 / .5); }
.tel__ecran { width: 100%; height: 100%; border-radius: 1.7em; overflow: hidden; background: #fff; position: relative; }
.wp { font-family: "Times New Roman", Times, serif; font-size: .42em; width: 33em; color: #000; }
.wp__bandeau { background: linear-gradient(#0033cc, #66ccff); color: #ff0; font-family: "Comic Sans MS", "Comic Sans", cursive; font-size: 2.2em; text-align: center; padding: 1em .5em; text-shadow: .08em .08em #000; }
.wp__menu { background: #ddd; padding: .6em; font-size: 1.1em; color: #00e; }
.wp__colonnes { display: grid; grid-template-columns: 8em 1fr; gap: .8em; padding: .8em; }
.wp__gauche { background: #ffc; border: 1px solid #cc9; padding: .6em; display: flex; flex-direction: column; gap: .3em; }
.wp__texte p { margin: 0 0 .8em; font-size: 1.15em; }
.wp__h { color: #c00; font-weight: 700; font-size: 1.6em !important; }
.wp__cookies { position: absolute; left: 0; right: 0; bottom: 0; background: #333; color: #fff; padding: 2em 1em 3em; font-size: 1.3em; line-height: 1.6; }
.wp__cookies span { display: inline-block; background: #888; padding: .2em .8em; margin: .3em .3em 0 0; }
.mo { font-size: .56em; color: var(--encre); background: var(--papier); height: 100%; }
.mo__haut { display: flex; justify-content: space-between; align-items: center; padding: 3.2em 1.6em 1.2em; font-size: 1.1em; }
.mo__haut b { font-family: var(--serif); font-size: 1.3em; font-weight: 600; }
.mo__hero { background: var(--noyer-800); color: var(--lin); padding: 2em 1.6em; margin: 0 1em; border-radius: 1.2em; }
.mo__hero small { font-family: var(--mono); color: var(--chene-400); text-transform: uppercase; letter-spacing: .1em; font-size: .85em; }
.mo__hero p { font-family: var(--serif); font-size: 2.1em; line-height: 1.08; margin: .4em 0 .8em; }
.mo__boutons { display: flex; gap: .6em; }
.mo__boutons span { flex: 1; text-align: center; padding: .8em; border-radius: 999px; border: 1px solid rgb(236 213 180 / .4); font-weight: 600; font-size: 1.05em; }
.mo__boutons .plein { background: var(--cuivre); border-color: var(--cuivre); color: #fff; }
.mo__ouvert { display: flex; align-items: center; gap: .6em; padding: 1.3em 1.8em; font-size: 1.1em; }
.mo__ouvert i { width: .7em; height: .7em; border-radius: 50%; background: #5a9a4a; box-shadow: 0 0 0 .3em #5a9a4a33; }
.mo__galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; padding: 0 1em; }
.mo__galerie span { aspect-ratio: 1; border-radius: .9em; background: linear-gradient(135deg, #d98d8d, #b4566a); }
.mo__galerie span:nth-child(2) { background: linear-gradient(135deg, #f3d27a, #d99a3c); }
.mo__galerie span:nth-child(3) { background: linear-gradient(135deg, #a9c08f, #5f7d4c); }
.web__mesures { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1em; min-width: 12em; }
.web__mesures li { border-left: .2em solid; padding-left: .9em; }
.web__mesures span { display: block; font-size: .85em; color: var(--encre-doux); }
.web__mesures b { font-family: var(--serif); font-size: 1.9em; font-weight: 500; line-height: 1.1; }
.web__mesures .mauvais { border-color: var(--rouge); }
.web__mesures .mauvais b { color: var(--rouge); }
.web__mesures .bon { border-color: var(--sauge-fonce); }
.web__mesures .bon b { color: var(--sauge-fonce); }

/* 03 — Agents IA. */
.ag { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1.5em; padding: 1.8em; align-items: center; }
.ag--avant { background: radial-gradient(circle at 25% 20%, #4a4037, #221d19 70%); color: #eee; }
.ag__horloge b { display: block; font-family: var(--mono); font-size: 4.2em; font-weight: 400; color: #ff6a4d; letter-spacing: .04em; line-height: 1; text-shadow: 0 0 .4em #ff6a4d66; }
.ag__horloge span { font-size: .95em; color: #b9aea3; }
.ag__boite { background: #f6f4f0; color: #222; border-radius: .6em; overflow: hidden; grid-row: span 2; box-shadow: 0 1em 2em rgb(0 0 0 / .4); }
.ag__boite-titre { padding: .7em 1em; background: #e7e2da; font-weight: 600; font-size: .95em; display: flex; justify-content: space-between; }
.ag__boite-titre i { font-style: normal; color: #fff; background: var(--rouge); border-radius: 999px; padding: 0 .6em; font-size: .85em; }
.ag__mail { padding: .65em 1em; border-top: 1px solid #e3ddd3; font-size: .88em; }
.ag__mail b { display: block; font-weight: 500; }
.ag__mail.non-lu b { font-weight: 700; }
.ag__mail span { color: #888; }
.ag__postit { position: absolute; background: #ffe873; color: #3d3200; padding: .8em 1em; width: 10.5em; font-family: "Segoe Print", "Bradley Hand", cursive; font-size: .95em; box-shadow: .2em .4em .8em rgb(0 0 0 / .35); }
.ag__postit--1 { left: 3.5em; top: 57%; rotate: -5deg; }
.ag__postit--2 { left: 16em; top: 70%; rotate: 4deg; background: #ffb4a8; }
.ag__bilan { position: absolute; left: 1.8em; bottom: 1.2em; font-family: var(--mono); font-size: .8em; color: #ff9a85; }
.ag--apres { background: radial-gradient(circle at 80% 10%, #3b4150, #151820 70%); color: #e8e4dc; grid-template-columns: 1.25fr 1fr; }
.ag__nuit-titre { font-family: var(--serif); font-size: 1.35em; margin-bottom: .9em; color: #fff; }
.ag__fil { list-style: none; margin: 0; padding: 0 0 0 1.1em; border-left: .12em solid #a9c08f55; display: grid; gap: .85em; }
.ag__fil li { position: relative; font-size: .92em; }
.ag__fil li::before { content: "✓"; position: absolute; left: -1.75em; top: .05em; width: 1.25em; height: 1.25em; border-radius: 50%; background: #a9c08f; color: #151820; font-size: .85em; display: grid; place-items: center; font-weight: 700; }
.ag__fil time { font-family: var(--mono); color: var(--chene-400); margin-right: .6em; }
.ag__fil span { display: block; color: #b9b4aa; }
.ag__valider { background: var(--papier); color: var(--encre); border-radius: .9em; padding: 1.2em; box-shadow: 0 1em 2em rgb(0 0 0 / .4); }
.ag__valider small { font-family: var(--mono); font-size: .78em; color: var(--cuivre); text-transform: uppercase; letter-spacing: .06em; }
.ag__valider p { font-family: var(--serif); font-style: italic; margin: .6em 0 1em; }
.ag__valider div { display: flex; gap: .5em; }
.ag__valider div span { padding: .45em 1em; border-radius: 999px; border: 1px solid #d8cbb7; font-weight: 600; font-size: .88em; }
.ag__valider .plein { background: var(--sauge-fonce); border-color: var(--sauge-fonce); color: #fff; }
.ag__valider em { display: block; margin-top: 1em; font-size: .82em; color: var(--encre-doux); }

/* 04 — Matériel. */
.doc { display: grid; place-items: center; padding: 1.5em; }
.doc--avant { background: #cfc8bd; }
.doc--apres { background: linear-gradient(150deg, #efe6d7, #dccbb0); }
.doc__feuille { position: relative; width: min(32em, 94%); background: #fff; padding: 1.6em 1.8em; box-shadow: 0 1.2em 2.4em -1em rgb(0 0 0 / .45); font-size: .95em; }
.doc--avant .doc__feuille { rotate: -1.5deg; font-family: "Times New Roman", Times, serif; }
.doc--apres .doc__feuille { rotate: .8deg; background: var(--papier); border-top: .35em solid var(--chene-500); }
.doc__entete b { display: block; font-size: 1.12em; letter-spacing: .02em; }
.doc--apres .doc__entete b { font-family: var(--serif); font-weight: 600; font-size: 1.3em; }
.doc__entete small { color: #777; font-size: .85em; }
.doc__lignes { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .92em; }
.doc__lignes td { padding: .42em 0; border-bottom: 1px dotted #bbb; }
.doc__lignes td:last-child { text-align: right; padding-left: 1em; white-space: nowrap; }
.doc__lignes .total td { font-weight: 700; border-bottom: 0; padding-top: .7em; font-size: 1.1em; }
.doc--avant .total td:last-child { color: var(--rouge); }
.doc--apres .total td:last-child { color: var(--sauge-fonce); font-family: var(--serif); font-size: 1.3em; }
.doc__petit { font-size: .62em; color: #888; line-height: 1.35; margin: 0; }
.doc__tampon { position: absolute; right: 1.2em; top: 38%; rotate: -14deg; border: .18em solid var(--rouge); color: var(--rouge); padding: .25em .7em; font: 700 1.1em/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.doc__plus { list-style: none; margin: 0; padding: 0; display: grid; gap: .3em; font-size: .9em; }
.doc__plus li::before { content: "✓  "; color: var(--sauge-fonce); font-weight: 700; }

/* 05 — Réseau. */
.rx { display: flex; flex-direction: column; padding: 1em 1.4em 1.2em; }
.rx--avant { background: #e2dbcf; }
.rx--apres { background: #eef0e6; }
.rx__plan { flex: 1; min-height: 0; width: 100%; }
.rx__plan text { font: 500 15px var(--sans); text-anchor: middle; fill: #2c241e; }
.rx__plan .rx__sous { font-size: 12px; fill: #e8f0dc; }
.rx__fils path { fill: none; stroke: #7b6a5a; stroke-width: 2.5; stroke-linecap: round; }
.rx--avant .rx__fils path:nth-child(odd) { stroke-dasharray: 7 6; }
.rx__fils--propres path { stroke: var(--sauge-fonce); stroke-width: 3; }
.rx__noeud rect { fill: #fff; stroke: #9b8b7a; stroke-width: 1.5; }
.rx__noeud--ko rect { stroke: var(--rouge); stroke-dasharray: 5 4; }
.rx__noeud--ko text { fill: var(--rouge); }
.rx__note rect { fill: #ffe873; rotate: 3deg; transform-origin: center; transform-box: fill-box; }
.rx__note text { font: 14px "Segoe Print", "Bradley Hand", cursive; fill: #3d3200; }
.rx__noeud--cle rect { fill: var(--noyer-800); stroke: none; }
.rx__noeud--cle text { fill: var(--lin); }
.rx__noeud--serveur rect { fill: var(--sauge-fonce); stroke: none; }
.rx__noeud--serveur text { fill: #fff; }
.rx__noeud--invite rect { stroke-dasharray: 5 4; stroke: var(--sauge); }
.rx__etat { list-style: none; margin: .4em 0 0; padding: 0; display: grid; gap: .25em; font-size: .92em; }
.rx--avant .rx__etat { color: #7a2b1f; }
.rx--apres .rx__etat { color: var(--sauge-fonce); font-weight: 500; }

/* ---- 8. Pages --------------------------------------------------------------------------- */

.page-tete { padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); background: var(--lin); position: relative; overflow: hidden; }
.page-tete::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgb(143 95 51 / .07) 1px, transparent 1px),
        linear-gradient(90deg, rgb(143 95 51 / .07) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(100deg, transparent 35%, #000 100%);
}
.page-tete > .conteneur { position: relative; z-index: 1; }
.page-tete__grille { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-tete__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.page-tete--centre { text-align: center; }
.page-tete--centre .titre-page, .page-tete--centre .chapo { margin-inline: auto; }
.page-tete--centre .surtitre::before { display: none; }
@media (max-width: 960px) { .page-tete__grille { grid-template-columns: 1fr; } }

/* Offre d'une prestation. */
.offre { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.offre__element { background: var(--lin); padding: 1.8rem 1.6rem; border-radius: var(--rayon); border-top: 3px solid var(--chene-500); }
.offre__element h3 { font-size: 1.3rem; }
.offre__element p { color: var(--encre-doux); margin: 0; font-size: .98rem; }

.arguments { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2.5rem; }
.argument__num { display: block; font-family: var(--mono); font-size: .85rem; color: var(--chene-400); margin-bottom: 1rem; padding-bottom: .8rem; border-bottom: 1px solid rgb(236 213 180 / .2); }
.argument h3 { font-size: 1.45rem; color: var(--papier); }
.argument p { color: color-mix(in srgb, var(--lin) 75%, transparent); }
.arguments--clair .argument__num { color: var(--chene-600); border-color: color-mix(in srgb, var(--chene-500) 30%, transparent); }
.arguments--clair .argument h3 { color: var(--encre); }
.arguments--clair .argument p { color: var(--encre-doux); }

/* Tarifs et diagnostic. */
.groupe-tarifs { margin-top: 3rem; }
.groupe-tarifs__titre { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: 1.5rem; padding-bottom: .8rem; border-bottom: 2px solid var(--noyer-800); margin-bottom: 0; }
.groupe-tarifs__titre .ico { color: var(--chene-600); }
.groupe-tarifs__titre .lien-fleche { margin-left: auto; }
.sur-devis { margin-top: 3rem; padding: 1.6rem; background: var(--lin); border-radius: var(--rayon); }
.sur-devis h3 { font-size: 1.25rem; }
.sur-devis ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.sur-devis li { background: var(--papier); padding: .4rem .85rem; border-radius: 999px; font-size: .92rem; }

.diag { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.diag__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.diag__resultat { grid-column: 1 / -1; margin-top: .5rem; }
.diag__form .champ { align-content: end; }
.diag__barres[hidden] { display: none; }
.diag__barres { display: grid; gap: .8rem; padding: 1.4rem; border-radius: var(--rayon); background: rgb(236 213 180 / .06); border: 1px solid rgb(236 213 180 / .14); }
.diag__barre { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 1rem; align-items: center; font-size: .92rem; }
.diag__piste { height: 14px; border-radius: 999px; background: rgb(236 213 180 / .1); overflow: hidden; }
.diag__piste i { display: block; height: 100%; width: 0; border-radius: inherit; background: #d98a6a; transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.diag__barre--arpent .diag__piste i { background: #a9c08f; }
.diag__barre b { font-family: var(--mono); font-size: .95rem; min-width: 6.5rem; text-align: right; }
.diag__verdict { margin: .6rem 0 0; font-family: var(--serif); font-size: 1.35rem; color: var(--papier); }
.diag__verdict em { color: var(--chene-400); }
.diag__note { font-size: .82rem; color: color-mix(in srgb, var(--lin) 60%, transparent); margin-top: 1rem; }
@media (max-width: 900px) { .diag { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
    .diag__form { grid-template-columns: 1fr; }
    .diag__barre { grid-template-columns: 1fr auto; }
    .diag__piste { grid-column: 1 / -1; grid-row: 2; }
}

/* Champs de formulaire. */
.champ { display: grid; gap: .4rem; align-content: start; }
.champ label { font-weight: 600; font-size: .92rem; }
.champ label small { font-weight: 400; color: var(--encre-doux); margin-left: .35em; white-space: nowrap; }
.champ input, .champ textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--encre);
    padding: .85rem 1rem; border-radius: 10px; border: 1px solid #d6c7b2; background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.champ textarea { resize: vertical; min-height: 9rem; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--cuivre); box-shadow: 0 0 0 3px rgb(169 80 31 / .2); }
.champ .input-validation-error { border-color: var(--rouge); }
.champ__erreur { color: var(--rouge); font-size: .88rem; }
.champ--sombre label { color: var(--lin); font-weight: 500; }
.champ--sombre label small { color: var(--chene-400); }
.champ--sombre input { background: rgb(255 255 255 / .06); border-color: rgb(236 213 180 / .25); color: var(--papier); }
.champ--piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.formulaire { display: grid; gap: 1.25rem; }
.formulaire__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.formulaire__note { font-size: .88rem; color: var(--encre-doux); margin: 0; }
.formulaire__erreurs ul { margin: 0; padding: 1rem 1rem 1rem 2.2rem; background: #fbe9e6; color: var(--rouge); border-radius: 10px; }
.formulaire__erreurs.validation-summary-valid { display: none; }
.formulaire .bouton { justify-self: start; }
@media (max-width: 640px) { .formulaire__ligne { grid-template-columns: 1fr; } }

.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__infos { background: var(--noyer-900); color: var(--lin); border-radius: var(--rayon); padding: 2rem; position: sticky; top: calc(var(--entete) + 1.5rem); }
.contact__liste { display: grid; gap: 1rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem !important; border-bottom: 1px solid rgb(236 213 180 / .15); }
.contact__liste li { display: flex; gap: .7rem; align-items: flex-start; }
.contact__liste .ico { color: var(--chene-400); margin-top: .2em; }
.contact__liste a { color: var(--papier); }
.contact__etapes { counter-reset: etape; display: grid; gap: .9rem; }
.contact__etapes li { counter-increment: etape; display: flex; gap: .8rem; font-size: .95rem; color: color-mix(in srgb, var(--lin) 80%, transparent); }
.contact__etapes li::before { content: counter(etape); font-family: var(--mono); color: var(--chene-400); }
.contact__etapes b { color: var(--papier); font-weight: 600; }
@media (max-width: 900px) {
    .contact { grid-template-columns: 1fr; }
    .contact__infos { position: static; }
}

/* Étude de cas. */
.cas { display: grid; gap: 3rem; }
.cas__titre { font-size: 1.4rem; }
.cas__colonnes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cas__bloc { padding: 1.6rem; background: var(--lin); border-radius: var(--rayon); }
.cas__bloc ul:not(.liste-coches) { display: grid; gap: .5rem; }
.cas__bloc ul:not(.liste-coches) li { padding-left: 1.1rem; position: relative; }
.cas__bloc ul:not(.liste-coches) li::before { content: ""; position: absolute; left: 0; top: .7em; width: .45rem; height: 1px; background: var(--chene-600); }
.cas__bloc--avant { background: #efe5dc; }
.cas__bloc--avant .cas__titre { color: var(--cuivre-fonce); }
.cas__bloc--apres { background: #e6ebdc; }
.cas__bloc--apres .cas__titre { color: var(--sauge-fonce); }
.cas__compare { max-width: 900px; }
@media (max-width: 900px) { .cas__colonnes { grid-template-columns: 1fr; } }

/* À propos. */
.apropos { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.apropos__texte p { font-size: 1.1rem; }
.apropos__texte em { font-style: normal; font-weight: 600; }
.apropos__nom { background: var(--noyer-900); color: var(--lin); padding: 2rem; border-radius: var(--rayon); }
.apropos__def { font-family: var(--serif); font-size: 1.25rem; line-height: 1.5; color: var(--papier); }
.apropos__def i { color: var(--chene-400); font-size: .9em; }
.competences { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.competences__groupe h3 { font-size: 1.25rem; }
@media (max-width: 900px) { .apropos { grid-template-columns: 1fr; } }

/* Zone d'intervention. */
.secteurs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.secteur { padding: 1.8rem; background: var(--lin); border-radius: var(--rayon); }
.secteur__nom { font-size: 1.6rem; }
.secteur p { color: var(--encre-doux); }
.communes { display: flex; flex-wrap: wrap; gap: .4rem; }
.communes li { background: var(--papier); padding: .3rem .75rem; border-radius: 999px; font-size: .9rem; }

/* ---- 9. Pied de page -------------------------------------------------------------------- */

.pied { background: var(--noyer-950); color: color-mix(in srgb, var(--lin) 75%, transparent); padding-block: 4rem 2rem; font-size: .95rem; }
.pied .logo { color: var(--papier); }
.pied__haut { display: grid; grid-template-columns: 1.1fr 1.6fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgb(236 213 180 / .12); }
.pied__accroche { font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--chene-200); margin: 1rem 0 .6rem; }
.pied__lieu { font-size: .9rem; }
.pied__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.pied__titre { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--chene-400); margin-bottom: 1rem; }
.pied__nav ul { display: grid; gap: .45rem; }
.pied__nav a { text-decoration: none; }
.pied__nav a:hover { color: var(--papier); }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.5rem; font-size: .85rem; }
.pied__bas p { margin: 0; }
@media (max-width: 900px) {
    .pied__haut { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .pied__nav { grid-template-columns: 1fr 1fr; }
}

/* ---- 10. Animations --------------------------------------------------------------------- */
/* Les éléments animés ne sont masqués que si GSAP est chargé (classe posée par site.js) :
   sans JavaScript, tout reste visible. */
.anime [data-apparait], .anime [data-apparait-liste] { visibility: hidden; }
.anime [data-titre-hero] { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
