/* Armaturia : sapin nuit, brique, blanc. Titres Archivo élargi, texte Archivo. */
@font-face{font-family:"Archivo";src:url(../fonts/Archivo-latin.woff2) format("woff2");font-weight:100 900;font-stretch:62% 125%;font-display:swap}

:root{
  --sapin:#061C10;
  --brique:#C4500E;
  --blanc:#FFFFFF;
  --sapin-doux:rgba(6,28,16,.78);
  --blanc-doux:rgba(255,255,255,.76);
  --trait:3px;
  --titre:"Archivo","Helvetica Neue",Arial,sans-serif;
  --texte:"Archivo","Helvetica Neue",Arial,sans-serif;
  --wrap:1240px;
  --sortie:cubic-bezier(.2,.7,.2,1);
  --passage:cubic-bezier(.65,0,.35,1);
  --ressort:cubic-bezier(.3,1.4,.4,1);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:80px;background:var(--sapin)}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{margin:0;font-family:var(--texte);font-size:1.0625rem;line-height:1.6;color:var(--blanc);background:var(--sapin);-webkit-font-smoothing:antialiased}
img,svg{display:block;max-width:100%}
a{color:inherit}
.wrap{width:min(var(--wrap),100% - 32px);margin-inline:auto}
@media (min-width:760px){.wrap{width:min(var(--wrap),100% - 96px)}}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.saut{position:absolute;left:-999px;top:8px;z-index:300;background:var(--blanc);color:var(--sapin);padding:10px 16px}
.saut:focus{left:12px}
:focus-visible{outline:3px solid var(--brique);outline-offset:4px}
.sapin :focus-visible,.brique :focus-visible{outline-color:var(--blanc)}

/* Ambiances */
.sapin{background:var(--sapin);color:var(--blanc)}
.blanc{background:var(--blanc);color:var(--sapin)}
.brique{background:var(--brique);color:var(--blanc)}

/* Titres */
/* Titres fins, en minuscules, largeur normale : un ton de cabinet de conseil plutôt que d'affiche (demande de Theo, 13/11). */
h1,h2,h3,.promesse,.chiffre{font-family:var(--titre);font-weight:350;font-stretch:100%;line-height:1.1;letter-spacing:-.02em;margin:0}
h2{font-size:clamp(1.8rem,3.8vw,3.2rem);max-width:20ch}
h2.grand{font-size:clamp(2.2rem,5.6vw,4.8rem)}
h3{font-size:clamp(1.6rem,3vw,2.4rem)}
.surtitre,.etiquette{font-family:var(--texte);font-weight:500;font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;margin:0 0 22px}
.sapin .surtitre{color:var(--blanc-doux)}
.blanc .surtitre,.blanc .etiquette{color:var(--brique)}
.lead{font-size:clamp(1.15rem,1.8vw,1.4rem);line-height:1.45;max-width:38ch;margin:28px 0 0}

/* Le logo : dessin du site actuel, lettres en masque, cadre du IA redessiné en brique.
   L'ancien cadre blanc est effacé de l'image (23/11) : les caches CSS qui le masquaient ne marchaient pas sur iPhone. */
.logo{position:relative;display:block;aspect-ratio:2000/412}
.logo-lettres{position:absolute;inset:0;
  background:linear-gradient(90deg,var(--blanc) 83.2%,var(--brique) 83.2%);
  -webkit-mask:url(../img/logo-armaturia.png?v=2) 0 0/100% 100% no-repeat;
  mask:url(../img/logo-armaturia.png?v=2) 0 0/100% 100% no-repeat}
.logo-fil{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.logo-fil path{fill:none;stroke:var(--brique);stroke-width:5;vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:0}
.logo-geant{margin:0;width:100%}
.logo-geant .logo-fil path{stroke-width:4}
.logo-petit{width:150px}
.logo-petit .logo-fil path{stroke-width:2}

/* En-tête */
.entete{position:sticky;top:0;z-index:100;background:var(--sapin);border-bottom:1px solid rgba(255,255,255,.1)}
.entete-ligne{display:flex;align-items:center;gap:28px;min-height:68px}
.marque{display:block;padding:8px 0;margin-right:auto}
.nav{display:flex;gap:28px}
.nav a{text-decoration:none;font-size:.9rem;color:var(--blanc-doux);padding:8px 0}
.nav a:hover{color:var(--blanc)}
/* Sur téléphone, seul « Qui je suis » reste dans l'en-tête */
@media (max-width:859px){
  .entete-ligne{gap:12px}
  .nav a:not([href^="/qui-je-suis"]){display:none}
  .nav a,.entete .bouton-petit{white-space:nowrap}
  .entete .logo-petit{width:min(150px,30vw)}
  .entete .bouton-petit{padding:9px 12px}
}

/* Boutons */
.bouton{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:14px 26px;background:var(--brique);color:var(--blanc);font-weight:500;font-size:1.02rem;text-decoration:none;border-radius:10px;transition:background-color .2s,transform .15s var(--sortie)}
.bouton:hover{background:#a8440b}
.bouton:active{transform:scale(.97)}
.bouton-petit{min-height:42px;padding:9px 18px;font-size:.92rem}
.bouton-large{width:100%;font-size:1.15rem;min-height:60px}

/* Le cadre du IA, repris sur les mots clés : un trait arrive par le haut, descend, souligne */
.cadre{position:relative;display:inline;font-style:normal;padding:0 .08em .02em .22em;margin-left:.06em;
  background:linear-gradient(var(--brique),var(--brique)) 0 0/var(--trait) 100% no-repeat,linear-gradient(var(--brique),var(--brique)) 0 100%/100% var(--trait) no-repeat;
  white-space:nowrap}
.brique .cadre{background-image:linear-gradient(var(--blanc),var(--blanc)),linear-gradient(var(--blanc),var(--blanc))}
@media (prefers-reduced-motion:no-preference){
  .js .cadre[data-vu]{background-size:var(--trait) 0,0 var(--trait);transition:background-size .5s var(--sortie) .15s}
  .js .cadre[data-vu].vu{background-size:var(--trait) 100%,100% var(--trait);transition:background-size .8s var(--sortie) .1s}
}

/* Film d'ouverture : fond mesuré sur le film (#061C10, à peine plus vert que le sapin) pour qu'aucun raccord ne se voie.
   Course de 1,3 écran pour 5 s de film. Masqué sans JavaScript et en mouvement réduit : le logo du haut de page le remplace. */
.film{display:none}
@media (prefers-reduced-motion:no-preference){
  .js .film{display:block;position:relative;top:0;transform:none;height:calc(230vh - 69px);background:#061C10}
  /* Le logo de la dernière image tient lieu de titre : le texte du haut de page remonte juste dessous (bas du logo à 10,2 % de la largeur sous le centre du film, mesuré), sans carte qui glisse par-dessus. */
  .js .film + .hero{--recouvre:max(0px,(100svh - 69px) / 2 - 10.2vw - 32px);margin-top:calc(var(--recouvre) * -1);padding-top:0;border-radius:0;box-shadow:none;background:linear-gradient(transparent var(--recouvre),#061C10 var(--recouvre))}
  .js .film + .hero .logo-geant{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .film-bas{transition:opacity .3s,visibility .3s}
  .film.fin .film-bas,.film.joue .film-bas span{opacity:0;visibility:hidden}
}
/* Fond uni du film : #061C10, mesuré sur les images de la v3. */
.film-ecran{position:sticky;top:69px;background:#061C10;height:calc(100vh - 69px);height:calc(100svh - 69px)}
.film canvas{width:100%;height:100%}
.film-bas{position:absolute;left:0;right:0;bottom:calc(var(--rayon) + 8px);margin:0 auto;display:flex;justify-content:space-between;align-items:center;font-size:.8rem;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--blanc-doux)}
.passer{color:var(--blanc);padding:12px 0;text-underline-offset:5px}

/* Accueil */
.hero{padding:clamp(48px,9vw,110px) 0 clamp(56px,8vw,96px)}
.hero .surtitre{margin-bottom:clamp(24px,4vw,44px)}
.hero-bas{display:grid;gap:32px;margin-top:clamp(36px,6vw,72px)}
.promesse{font-size:clamp(1.6rem,3.6vw,3rem);line-height:1.12;max-width:22ch}
.accroche{margin:0 0 22px;font-size:1.15rem;color:var(--blanc-doux);max-width:34ch}
@media (min-width:900px){.hero-bas{grid-template-columns:1.3fr 1fr;align-items:end;gap:64px}}
@media (prefers-reduced-motion:no-preference){
  .js .logo-geant .logo-lettres{opacity:0;transform:translateY(12px);transition:opacity .8s var(--sortie),transform .8s var(--sortie)}
  .js .logo-geant .logo-fil path{stroke-dashoffset:1;transition:stroke-dashoffset 1.6s var(--passage) .5s}
  .js .logo-geant.vu .logo-lettres{opacity:1;transform:none}
  .js .logo-geant.vu .logo-fil path{stroke-dashoffset:0}
  .js .hero .cadre.vu{transition-delay:1.6s}
}

/* Sections */
.bloc{padding:clamp(80px,12vw,150px) 0}

/* Cartes empilées : chaque section glisse sur la précédente, qui recule et s'assombrit. */
:root{--rayon:28px}
@media (max-width:759px){:root{--rayon:20px}}
main > section{position:relative}
main > section:focus{outline:none}
main > section + section{margin-top:calc(var(--rayon) * -1);border-radius:var(--rayon) var(--rayon) 0 0;box-shadow:0 -14px 36px rgba(0,0,0,.22)}
main > section::after{content:"";position:absolute;inset:0;border-radius:inherit;background:#020805;opacity:0;pointer-events:none}
@media (prefers-reduced-motion:no-preference){
  .js main > section{position:sticky;top:69px;transform-origin:50% var(--origine,50%);transform:scale(calc(1 - var(--couvert,0) * .06))}
  .js main > section::after{opacity:calc(var(--couvert,0) * .5)}
}

/* Le fil du logo court sous l'en-tête pendant la lecture. */
.entete-fil{position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--brique);transform-origin:0 50%;transform:scaleX(0)}

/* Constat : trois poteaux, armés à hauteur du chiffre */
.constat{display:grid;gap:48px}
@media (min-width:960px){.constat{grid-template-columns:1fr 1.1fr;align-items:end;column-gap:80px}}
.poteaux{margin:0}
.poteaux svg{width:100%;max-width:520px}
.poteau-coffrage{fill:none;stroke:var(--sapin);stroke-width:2}
.fer-fond{fill:var(--brique)}
.fer-nervure{stroke:#8f3a0a;stroke-width:2}
.poteau-sol{stroke:var(--sapin);stroke-width:4}
.poteau-plein{transform-box:fill-box;transform-origin:50% 100%}
.armature{fill:none;stroke:var(--sapin);stroke-width:1.5;opacity:.3}
.coulee{stroke:var(--sapin);stroke-width:3}
.poteau-coffrage{pointer-events:all}
.poteau,.chiffres p{transition:opacity .2s}
.poteaux[data-actif] .poteau,.poteaux[data-actif] .chiffres p{opacity:.25}
.poteaux[data-actif="1"] .poteau:nth-of-type(1),.poteaux[data-actif="1"] .chiffres p:nth-child(1),
.poteaux[data-actif="2"] .poteau:nth-of-type(2),.poteaux[data-actif="2"] .chiffres p:nth-child(2),
.poteaux[data-actif="3"] .poteau:nth-of-type(3),.poteaux[data-actif="3"] .chiffres p:nth-child(3){opacity:1}
/* La coulée : l'armature se dessine, puis le béton monte avec son trait de niveau, et le chiffre compte avec lui. */
@media (prefers-reduced-motion:no-preference){
  .js .poteaux .armature{stroke-dasharray:200;stroke-dashoffset:200;transition:stroke-dashoffset .9s var(--sortie)}
  .js .poteaux .poteau-plein{transform:scaleY(0);transition:transform 1.6s var(--sortie) .5s}
  .js .poteaux .coulee{transition:transform 1.6s var(--sortie) .5s}
  .js .poteaux .poteau:nth-of-type(1) .coulee{transform:translateY(116px)}
  .js .poteaux .poteau:nth-of-type(2) .coulee{transform:translateY(30px)}
  .js .poteaux .poteau:nth-of-type(3) .coulee{transform:translateY(20px)}
  .js .poteaux .poteau:nth-of-type(2) :is(.armature,.poteau-plein,.coulee){transition-delay:.65s}
  .js .poteaux .poteau:nth-of-type(3) :is(.armature,.poteau-plein,.coulee){transition-delay:.8s}
  .js .poteaux .poteau:nth-of-type(2) .armature{transition-delay:.15s}
  .js .poteaux .poteau:nth-of-type(3) .armature{transition-delay:.3s}
  .js .poteaux.vu :is(.poteau-plein,.coulee){transform:none}
  .js .poteaux.vu .armature{stroke-dashoffset:0}
}
.chiffres{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:520px;margin-top:14px}
.chiffres p{margin:0;font-size:.95rem;line-height:1.35}
.chiffre{display:block;font-size:clamp(1.8rem,3.6vw,2.6rem);line-height:1;margin-bottom:8px}
.chiffre-brique{color:var(--brique)}
.source{grid-column:1/-1;margin:0;font-size:.85rem;color:var(--sapin-doux)}

/* Milan */
.milan{display:grid;gap:48px;align-items:center}
@media (min-width:900px){.milan{grid-template-columns:minmax(260px,380px) 1fr;gap:90px}}
.portrait{margin:0;max-width:380px}
.portrait img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 25%;border-radius:10px}
.cadre-photo{position:relative;padding:0 0 14px 14px}
.cadre-photo::before{content:"";position:absolute;left:0;top:0;bottom:0;width:var(--trait);background:var(--brique)}
.cadre-photo::after{content:"";position:absolute;left:0;right:-14px;bottom:0;height:var(--trait);background:var(--brique)}
.citation{margin:0}
.citation h2{max-width:17ch}
.citation p{font-size:clamp(1.15rem,1.8vw,1.35rem);max-width:42ch;margin:24px 0 0;color:var(--blanc-doux)}
.citation footer{margin-top:32px;font-weight:500;font-size:.85rem;letter-spacing:.14em;text-transform:uppercase}

/* Principe : le niveau */
.principe h2{max-width:22ch}
.principe-bas{display:grid;gap:36px;margin-top:56px;align-items:center}
@media (min-width:900px){.principe-bas{grid-template-columns:420px 1fr;gap:80px}}
.principe .lead{margin:0}
.niveau{width:100%;max-width:420px}
.niveau-corps{fill:none;stroke:var(--blanc);stroke-width:3}
.niveau-fiole{fill:rgba(255,255,255,.18);stroke:var(--blanc);stroke-width:2}
.niveau-repere{stroke:var(--blanc);stroke-width:2}
.niveau-bulle{fill:var(--blanc)}
/* Le niveau penche avec le pointeur, puis la bulle revient au centre dès qu'on s'arrête. */
@media (prefers-reduced-motion:no-preference){
  .js .niveau{--incl:0;transform:rotate(calc(var(--incl) * 3deg));transition:transform .9s var(--ressort)}
  .js .niveau .niveau-bulle{transform:translateX(calc(var(--incl) * -38px));transition:transform 1.1s var(--ressort)}
  .js .niveau:not(.vu){--incl:-1.15}
}

/* Comment on travaille : le trait du logo part de l'audit, puis se sépare en deux issues. */
.parcours{margin-top:clamp(48px,7vw,88px);--pas:clamp(24px,3vw,40px);--fil-non:rgba(6,28,16,.28)}
.etape,.issue{position:relative;padding-left:var(--pas)}
.etape::before,.issue::before,.issues::before{content:"";position:absolute;background:var(--brique);transition:background-color .25s,opacity .25s}
.etape::before,.issue::before{left:0;top:0;bottom:0;width:var(--trait);transform-origin:50% 0}
.etape{display:grid;gap:28px;padding-bottom:clamp(40px,5vw,56px);align-items:center}
@media (min-width:860px){.etape{grid-template-columns:1fr 280px;gap:64px}}
.etape h3,.issue h3{margin:0 0 16px}
.etape .etiquette,.issue .etiquette{margin-bottom:12px}
.etape-texte p:last-child,.issue>p:not(.etiquette){margin:0;font-size:1.15rem;max-width:40ch}
/* L'embranchement : le trait horizontal relie le tronc à la seconde issue. */
.issues{position:relative;display:grid;padding-top:clamp(32px,4vw,48px)}
.issues::before{left:0;top:0;height:var(--trait);width:var(--pas);transform-origin:0 50%;background:var(--fil-non)}
.issue{padding-bottom:40px}
.issue-non::before{background:var(--fil-non)}
.issue-oui::before{top:calc(-1 * clamp(32px,4vw,48px))}
.issue-non h3,.issue-non>p{color:var(--sapin-doux)}
.devis{max-width:200px;margin-top:24px;display:block}
@media (max-width:859px){
  /* Sur une colonne, le tronc continue le long du devis et rejoint « Sinon » par un coude. */
  .issues::before{display:none}
  .issue-non{padding-left:calc(var(--pas) * 2)}
  .issue-non::before{left:var(--pas)}
  .issue-non::after{content:"";position:absolute;left:0;top:0;width:calc(var(--pas) + var(--trait));height:var(--trait);background:var(--fil-non)}
  .issue-oui{padding-bottom:48px}
}
@media (min-width:860px){
  /* « Sinon » ne s'étire pas sur la hauteur du devis : sa branche reste courte et ne ferme pas un cadre. */
  .issues{grid-template-columns:1fr 1fr;column-gap:0;align-items:start}
  .issues::before{width:50%}
  .issue-non::before{top:calc(-1 * clamp(32px,4vw,48px));height:auto}
}
.objet{width:100%;max-width:280px}
.crayon{fill:none;stroke:var(--sapin);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.crayon-fin{stroke-width:1.6;opacity:.6}
.cote{fill:none;stroke:var(--sapin);stroke-width:1.5;stroke-linecap:round;opacity:.55}
.cercle{fill:none;stroke:var(--brique);stroke-width:3;stroke-linecap:round}
.plan-main{overflow:visible}
.feuille{fill:rgba(255,255,255,.6);stroke:var(--sapin);stroke-width:2.4;stroke-linejoin:round}
.lettres{fill:none;stroke:var(--sapin);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.feuille-ligne{fill:none;stroke:var(--sapin);stroke-width:2;stroke-linecap:round;opacity:.4}
.coche{fill:none;stroke:var(--brique);stroke-width:7;stroke-linecap:round;stroke-linejoin:round}
@keyframes trace{from{stroke-dashoffset:1}}
@media (prefers-reduced-motion:no-preference){
  .js .objet[data-vu]{opacity:0;transition:opacity .8s var(--sortie)}
  .js .objet.vu{opacity:1}
}
/* Au survol, chaque objet rejoue son geste. */
@media (prefers-reduced-motion:no-preference) and (hover:hover){
  .logo-geant:hover .logo-fil path{animation:trace 1.4s var(--passage)}
  .chemin .logo-geant:hover .logo-fil path{animation:none}
}

/* Le mètre : un curseur de formulaire habillé en règle de chantier, du plus petit besoin au plus gros. */
.metre{margin-top:clamp(56px,8vw,96px);padding-top:clamp(40px,5vw,56px);border-top:1px solid rgba(6,28,16,.2)}
.metre-titre{font-size:clamp(1.4rem,2.4vw,2rem);max-width:30ch;margin:0 0 28px}
.metre-q{display:block;font-weight:600;margin-bottom:14px}
@property --val{syntax:'<number>';inherits:true;initial-value:0}
.metre-regle{--val:0;position:relative;border:2px solid var(--sapin);border-radius:2px;background:var(--blanc);transition:--val .25s var(--sortie)}
/* Le rond est dessiné ici pour glisser en douceur d'un palier à l'autre ; le curseur natif reste dessous, invisible, pour le clavier et le doigt. */
.metre-regle::after{content:"";position:absolute;top:50%;left:calc(15px + var(--val) * (100% - 30px));width:24px;height:24px;margin:-15px 0 0 -15px;border:3px solid var(--blanc);border-radius:50%;background:var(--brique);box-shadow:0 0 0 2px var(--brique);pointer-events:none;transition:transform .15s}
.metre-regle:hover::after{transform:scale(1.15)}
.metre-regle:has(input:focus-visible)::after{outline:2px solid var(--sapin);outline-offset:4px}
.metre-regle input{display:block;width:100%;height:60px;margin:0;-webkit-appearance:none;appearance:none;background:transparent;cursor:pointer;touch-action:pan-y}
.metre-regle input::-webkit-slider-runnable-track{height:60px;background:
  linear-gradient(rgba(196,80,14,.16),rgba(196,80,14,.16)) 0 0/calc(var(--val) * (100% - 30px) + 15px) 100% no-repeat,
  repeating-linear-gradient(90deg,var(--sapin) 0 1.5px,transparent 1.5px 2%) 0 0/100% 28% no-repeat,
  repeating-linear-gradient(90deg,var(--sapin) 0 2px,transparent 2px 10%) 0 0/100% 52% no-repeat}
.metre-regle input::-moz-range-track{height:60px;background:
  linear-gradient(rgba(196,80,14,.16),rgba(196,80,14,.16)) 0 0/calc(var(--val) * (100% - 30px) + 15px) 100% no-repeat,
  repeating-linear-gradient(90deg,var(--sapin) 0 1.5px,transparent 1.5px 2%) 0 0/100% 28% no-repeat,
  repeating-linear-gradient(90deg,var(--sapin) 0 2px,transparent 2px 10%) 0 0/100% 52% no-repeat}
.metre-regle input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:30px;height:30px;margin-top:15px;border:3px solid var(--blanc);border-radius:50%;background:var(--brique);opacity:0}
.metre-regle input::-moz-range-thumb{width:24px;height:24px;border:3px solid var(--blanc);border-radius:50%;opacity:0}
.metre-paliers{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;font-size:.95rem;color:var(--sapin-doux)}
.metre-paliers li{cursor:pointer;transition:color .15s}
.metre-paliers li:nth-child(2){text-align:center}
.metre-paliers li:nth-child(3){text-align:right}
.metre-paliers li.actif{color:var(--brique);font-weight:600}
.metre-texte{display:block;margin-top:28px;font-size:1.15rem;max-width:48ch;min-height:3.4em}
.plus{margin:24px 0 0;font-size:1.05rem;max-width:52ch;color:var(--sapin-doux)}

/* Rendez-vous */
.contact-grille{display:grid;gap:48px}
@media (min-width:960px){.contact-grille{grid-template-columns:1.2fr 1fr;align-items:start;gap:80px}}
.contact .lead:empty{display:none}
.ticket{border:2px solid var(--blanc);padding:28px 24px;display:grid;gap:18px}
.ticket-infos{margin:0;display:grid;gap:0}
.ticket-infos div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px dashed rgba(255,255,255,.35)}
.ticket-infos dt{color:var(--blanc-doux)}
.ticket-infos dd{margin:0;font-weight:600;text-align:right}
.sous-bouton{margin:-8px 0 0;text-align:center;font-size:.85rem;color:var(--blanc-doux)}
.ou{margin:6px 0 0;color:var(--blanc-doux);font-size:.95rem}
.adresse{font-size:clamp(1.15rem,2.4vw,1.5rem);font-weight:600;word-break:break-word;text-underline-offset:5px;text-decoration-color:var(--brique);text-decoration-thickness:2px}
.copier{justify-self:start;font:inherit;font-size:.9rem;min-height:44px;padding:8px 18px;background:transparent;color:var(--blanc);border:1px solid rgba(255,255,255,.5);border-radius:10px;cursor:pointer}
.copier:hover{background:var(--blanc);color:var(--sapin)}
.retour{margin:0;min-height:1.4em;font-size:.9rem}

/* Pied */
.pied{padding:56px 0 0;border-top:1px solid rgba(255,255,255,.12);font-size:.92rem;color:var(--blanc-doux);overflow:hidden}
.pied p{margin:0}
.pied a{color:var(--blanc)}
.pied-haut{display:grid;gap:36px;padding-bottom:56px}
.pied-nav{display:grid;gap:28px}
.pied-titre{margin-bottom:12px!important;font-size:.78rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.pied ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.pied-in{display:inline-flex;align-items:center;min-height:44px;min-width:44px}
.pied-haut-lien{justify-self:start;display:inline-flex;align-items:center;min-height:44px;padding:8px 18px;border:1px solid rgba(255,255,255,.5);border-radius:10px;text-decoration:none}
.pied-haut-lien:hover{background:var(--blanc);color:var(--sapin)}
@media (min-width:760px){
  .pied-haut{grid-template-columns:1.1fr 2fr auto;align-items:start}
  .pied-nav{grid-template-columns:repeat(3,1fr)}
}
/* Le mot géant : un trait brique, puis ARMATURIA en points, coupé par le bas de la page. */
.pied-mot{position:relative;border-top:var(--trait) solid var(--brique);padding-top:28px;line-height:0}
.pied-mot canvas{display:block;width:100%}
.pied-mot-texte{display:block;font-weight:800;font-size:11.4vw;line-height:.9;color:var(--brique);white-space:nowrap}
.pied-mot.pret .pied-mot-texte{display:none}

/* Bandeau de consentement : même poids pour Accepter et Refuser. */
.pied-cookies{background:none;border:0;padding:0;font:inherit;color:var(--blanc);text-decoration:underline;cursor:pointer;min-height:44px;display:inline-flex;align-items:center}
.cookies{position:fixed;left:16px;right:16px;bottom:16px;z-index:250;display:grid;gap:14px;max-width:560px;padding:18px 20px;background:var(--sapin);color:var(--blanc);border:1px solid rgba(255,255,255,.35);border-radius:14px;box-shadow:0 10px 40px rgba(0,0,0,.35);font-size:.95rem}
.cookies[hidden]{display:none}
.cookies p{margin:0}
.cookies-actes{display:flex;gap:12px}
.cookies-actes .bouton{flex:1}
@media (min-width:760px){.cookies{left:24px;right:auto;bottom:24px}}

/* Pages de texte */
.page-texte{padding:clamp(56px,9vw,110px) 0}
.page-texte h1{font-size:clamp(2rem,5vw,3.6rem);margin-bottom:40px}
.page-texte h2{font-size:clamp(1.25rem,2.4vw,1.6rem);margin:44px 0 12px;max-width:none}
.page-texte p{max-width:68ch;margin:0 0 14px}
.page-texte a{color:var(--brique)}
/* Mouvement réduit : le mètre saute au palier, c'est l'équivalent sans glissement (le palier actif change de couleur). */
@media (prefers-reduced-motion:reduce){.metre-regle{transition:none}}
/* Contraste renforcé : les filets discrets passent à un blanc net. */
@media (prefers-contrast:more){
  .entete{border-bottom-color:rgba(255,255,255,.7)}
  .pied{border-top-color:rgba(255,255,255,.7)}
  .estim-avert,.estim-lignes li{border-top-color:rgba(255,255,255,.75)}
  .metre{border-top-color:var(--sapin)}
}
/* Pointeur souris : un anneau brique, plein sur ce qui se clique. Liseré blanc pour rester visible sur le sapin. */
@media (pointer:fine){
html{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='%23fff' stroke-width='5'/%3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='%23C4500E' stroke-width='2.5'/%3E%3C/svg%3E") 12 12,auto}
a,button,label,summary,[role=button],input[type=range],.metre-paliers li{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='16' cy='16' r='11' fill='%23C4500E' stroke='%23fff' stroke-width='2.5'/%3E%3C/svg%3E") 16 16,pointer}
input[type=text],input[type=email],textarea{cursor:text}
}
/* Ordre de prix : questions à gauche, bon d'estimation à droite. */
.estim{display:grid;grid-template-columns:1.4fr 1fr;gap:clamp(32px,5vw,72px);align-items:start}
.estim-form{margin-top:40px}
.estim-form fieldset{border:0;margin:0 0 30px;padding:0}
.estim-form legend{font-weight:600;margin-bottom:12px;padding:0}
.puces{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.estim-pas{margin:0 0 14px;font-size:.9rem;letter-spacing:.08em;text-transform:uppercase;color:var(--brique)}
.estim-form legend{font-size:1.25rem}
.estim-retour{background:none;border:0;padding:0;font:inherit;color:var(--sapin);text-decoration:underline;cursor:pointer}
.puces label{position:relative}
.puces input{position:absolute;opacity:0;inset:0;margin:0}
.puces span{display:block;padding:10px 16px;border:2px solid var(--sapin);border-radius:10px;transition:background-color .15s,color .15s}
.puces label:hover span{background:rgba(6,28,16,.07)}
.puces input:checked+span{background:var(--sapin);color:var(--blanc)}
.puces input:focus-visible+span{outline:2px solid var(--brique);outline-offset:3px}
.estim-bon{position:sticky;top:110px;background:var(--sapin);color:var(--blanc);padding:clamp(24px,3vw,36px);border-radius:2px}
.estim-titre{margin:0;font-size:.9rem;letter-spacing:.08em;text-transform:uppercase;opacity:.8}
.estim-total{display:block;margin:14px 0 6px;font-size:clamp(1.7rem,3.2vw,2.6rem);line-height:1.1;font-weight:500;min-height:2.2em}
.estim-ht{margin:0 0 22px;font-size:.92rem;opacity:.8}
.estim-avert{margin:0 0 26px;padding-top:18px;border-top:1px solid rgba(255,255,255,.25);font-size:.95rem;line-height:1.5}
@media (max-width:860px){.estim{grid-template-columns:1fr}.estim-bon{position:static}}

/* Qui je suis : le trait part du cadre IA et fait un coude vers chaque photo (js/parcours.js). */
.chemin{position:relative;padding:clamp(110px,14vw,170px) 0 clamp(80px,10vw,140px);overflow:hidden}
.chemin-fil{position:absolute;top:0;left:0;pointer-events:none;overflow:visible}
.chemin-fil path{fill:none;stroke:var(--brique);stroke-width:4;stroke-linecap:butt;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1}
.chemin-haut,.jalons,.chemin-fin{position:relative}
.jalons{list-style:none;padding:0;margin:clamp(110px,14vw,180px) auto 0;display:grid;gap:clamp(110px,14vw,180px)}
.jalon img{width:min(100%,540px);height:auto;object-fit:cover;aspect-ratio:3/4}
.jalon:nth-child(odd) img{margin-right:auto}
.jalon:nth-child(even) img{margin-left:auto}
.jalon:first-child img,.jalon:last-child img{aspect-ratio:auto;width:min(100%,580px)}
.jalon{display:flex;align-items:center;gap:clamp(32px,5vw,72px)}
.jalon:nth-child(even){flex-direction:row-reverse}
.jalon img{flex:none;margin:0!important;border-radius:10px}
.jalons{counter-reset:jalon}
.jalon{counter-increment:jalon}
.jalon-texte{flex:1;min-width:0}
/* Grand chiffre en brique (grande forme, jamais du petit texte sur le sapin), puis titre, phrase d'ouverture, suite en retrait. */
.jalon-texte::before{content:"0" counter(jalon) / "";display:block;font-weight:350;font-size:clamp(2.4rem,4.2vw,3.8rem);line-height:1;letter-spacing:-.02em;color:var(--brique);margin-bottom:.28em}
.jalon-texte h2{font-size:clamp(1.5rem,2.3vw,2.2rem);line-height:1.1;margin:0 0 .6em}
.jalon-texte p{margin:0;font-size:clamp(.95rem,1.05vw,1rem);line-height:1.65;color:var(--blanc-doux)}
.jalon-texte p:first-of-type{font-size:clamp(1.1rem,1.4vw,1.3rem);line-height:1.4;color:var(--blanc)}
.jalon-texte p + p{margin-top:1.4em;padding-top:1.4em;position:relative}
.jalon-texte p + p::before{content:"";position:absolute;top:0;left:0;width:48px;height:3px;background:var(--brique)}
/* Ordinateur, dernière section : texte et photo alignés par le haut, sinon le texte (plus haut que la photo) monte contre la courbe du trait. */
@media (min-width:760px){.jalon:last-child{align-items:flex-start}}
.chemin-fin{margin-top:clamp(80px,10vw,120px);display:flex;justify-content:center}
.chemin-fin .bouton{width:min(100%,560px)}
@media (max-width:759px){
  .jalons{gap:72px;margin-top:96px}
  .jalon,.jalon:nth-child(even){flex-direction:column;align-items:stretch;gap:24px}
  .jalon img,.jalon:first-child img,.jalon:last-child img{width:calc(100% - 28px);margin-left:28px!important}
  .jalon-texte{margin-left:28px}
}
.logo-geant.repart .logo-fil path{animation:trace .6s var(--passage)}
/* Passage vers Qui je suis : l'accueil glisse à gauche, le trait continue à droite. */
.fil-sortie{position:absolute;width:100vw;height:4px;background:var(--brique);transform:scaleX(0);transform-origin:left;z-index:5;pointer-events:none}
.balaye,.arrive{overflow-x:hidden}
.balaye body>*:not(.entete):not(.fil-sortie):not(.saut){transform:translateX(-100vw);transition:transform .5s var(--passage)}
.balaye .fil-sortie{transform:scaleX(1);transition:transform .5s var(--passage)}
/* Arrivée : la page entre par la droite, le trait du logo déjà tiré. */
.arrive body>*:not(.entete):not(.saut){animation:entre .5s var(--passage) both}
@keyframes entre{from{transform:translateX(100vw)}to{transform:none}}
.estim-note{margin:24px 0 0;font-size:.9rem;opacity:.75}
.estim-actions [hidden]{display:none}
.estim-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;margin-top:8px}
.estim-erreur{margin:0 0 14px;color:var(--brique);font-weight:600;min-height:1.5em}
.estim-lignes{list-style:none;margin:0 0 22px;padding:0}
.estim-lignes li{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-top:1px solid rgba(255,255,255,.25)}
.estim-lignes li span:last-child{text-align:right;white-space:nowrap}
.estim-lignes li span.texte{white-space:normal;max-width:60%}
