/* ==========================================================
   Proposition 2 · Anthracite, orange signalisation, béton
   Réglages globaux (équivalent Elementor > Kit)
   ========================================================== */
:root {
  /* Couleurs globales */
  --c-anthracite: #24272B;
  --c-anthracite-2: #33373D;
  --c-anthracite-3: #4A4F57;
  --c-orange: #FF6B0A;
  --c-orange-fonce: #E25700;
  --c-beton: #E7E7E3;
  --c-beton-2: #F4F4F1;
  --c-blanc: #FFFFFF;
  --c-texte: #1E2024;
  --c-gris: #5F636B;
  --c-gris-clair: #A3A8B0;
  --c-trait: #D4D5D1;
  --c-vert: #23A55A;
  --c-rouge: #D2352B;

  /* Typographies globales */
  --f-titre: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-texte: "Barlow", system-ui, sans-serif;
  --t-h1: clamp(2.6rem, 4.8vw, 4.9rem);
  --t-h2: clamp(2.4rem, 4.2vw, 3.9rem);
  --t-h3: 1.7rem;
  --t-texte: 1.0938rem;
  --t-petit: 0.95rem;

  --rayon: 4px;
}

body { font-family: var(--f-texte); font-size: var(--t-texte); line-height: 1.6; color: var(--c-texte); background: var(--c-blanc); }
h1, h2, h3 { font-family: var(--f-titre); font-weight: 800; line-height: .95; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 3px; }

/* Boutons globaux */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--f-texte); font-weight: 700; font-size: 1.05rem; line-height: 1.2; letter-spacing: .01em;
  text-decoration: none; border-radius: var(--rayon); padding: 16px 28px;
  border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--grand { padding: 20px 34px; font-size: 1.12rem; }
.btn--orange { background: var(--c-orange); color: var(--c-anthracite); }
.btn--orange:hover { background: var(--c-orange-fonce); }
.btn--anthracite { background: var(--c-anthracite); color: var(--c-blanc); }
.btn--anthracite:hover { background: var(--c-anthracite-2); }
.btn--blanc-trait { border-color: var(--c-blanc); color: var(--c-blanc); }
.btn--blanc-trait:hover { background: var(--c-blanc); color: var(--c-anthracite); }
.btn--lien { background: none; color: var(--c-gris); padding-left: 0; padding-right: 0; text-decoration: underline; text-underline-offset: 4px; }
.btn--lien:hover { color: var(--c-anthracite); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

.intro { max-width: 760px; margin-bottom: 52px; }
.intro h2 { font-size: var(--t-h2); }
.intro p { margin-top: 18px; color: var(--c-gris); font-size: 1.15rem; }

/* ---------- En-tête ---------- */
.p2-header { background: var(--c-anthracite); color: var(--c-blanc); position: sticky; top: 0; z-index: 50; }
.p2-header .sec { padding-top: 16px; padding-bottom: 16px; }
.barre { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-blanc); }
.logo-icone { width: 38px; height: 38px; flex: none; }
.logo-texte { font-family: var(--f-titre); font-weight: 900; font-size: 1.9rem; line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav ul { display: flex; gap: 30px; }
.nav ul a { text-decoration: none; font-weight: 600; color: #D9DBDE; }
.nav ul a:hover { color: var(--c-orange); }
.burger { display: none; background: none; border: 0; padding: 6px; color: var(--c-blanc); cursor: pointer; }
.burger svg { width: 30px; height: 30px; }

/* ---------- Héro ---------- */
.p2-hero { background: var(--c-anthracite) url("../img/livraison-enrobe-camion.jpg") center/cover; color: var(--c-blanc); position: relative; }
.p2-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,39,43,.72), rgba(36,39,43,.9)); }
.p2-hero .wrap { position: relative; min-height: 600px; display: flex; flex-direction: column; justify-content: space-between; gap: 56px; }
.hero-texte { padding-top: 48px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.p2-hero h1 { font-size: var(--t-h1); font-weight: 900; text-transform: uppercase; line-height: .95; max-width: 20ch; }
.chapo { margin-top: 30px; font-size: 1.25rem; color: #D9DBDE; max-width: 58ch; }
.actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.atouts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.22); }
.atouts li { display: flex; align-items: center; gap: 14px; padding: 26px 24px 0 0; font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.atouts li + li { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.22); }
.atouts svg { width: 38px; height: 38px; flex: none; fill: none; stroke: var(--c-orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Route (élément signature de la proposition 2) ---------- */
.route { position: relative; }
.route-bande { height: 64px; background: var(--c-anthracite) url("../img/texture-enrobe-hero.jpg") center/600px; border-radius: var(--rayon); position: relative; overflow: hidden; }
.route-ligne {
  position: absolute; left: 0; right: 0; top: 50%; height: 6px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, var(--c-blanc) 0 46px, transparent 46px 80px);
  clip-path: inset(0 100% 0 0); transition: clip-path 1.6s cubic-bezier(.5,0,.2,1);
}
.route.vu .route-ligne { clip-path: inset(0 0 0 0); }
.route-etapes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; margin-top: -60px; position: relative; }
.route-etapes li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.borne {
  width: 56px; height: 56px; display: grid; place-items: center; background: var(--c-orange); color: var(--c-anthracite);
  font-family: var(--f-titre); font-weight: 900; font-size: 2rem; border-radius: 50%; border: 4px solid var(--c-blanc);
  margin-bottom: 8px;
}
.route-etapes h3 { font-size: var(--t-h3); text-transform: uppercase; }
.route-etapes p { color: var(--c-gris); }

/* ---------- Projets (onglets) ---------- */
.p2-projets { background: var(--c-anthracite); color: var(--c-blanc); }
.p2-projets .intro p { color: #C9CCD1; }
.onglets { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: stretch; }
.onglets-liste { display: flex; flex-direction: column; gap: 6px; }
.onglets-liste button {
  text-align: left; background: var(--c-anthracite-2); color: #D9DBDE; border: 0; border-left: 4px solid transparent;
  padding: 20px 22px; font: 600 1.1rem/1.3 var(--f-texte); cursor: pointer; border-radius: var(--rayon); transition: background-color .2s, color .2s, border-color .2s;
}
.onglets-liste button:hover { color: var(--c-blanc); }
.onglets-liste button[aria-selected="true"] { background: var(--c-blanc); color: var(--c-anthracite); border-left-color: var(--c-orange); }
.onglet { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--c-anthracite-2); border-radius: var(--rayon); overflow: hidden; animation: onglet .4s ease-out; }
@keyframes onglet { from { opacity: 0; } to { opacity: 1; } }
.onglet img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.onglet-texte { padding: 44px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.onglet-texte h3 { font-size: 2.6rem; text-transform: uppercase; }
.onglet-texte p { color: #C9CCD1; }
.mesures { display: flex; gap: 40px; margin: 0; }
.mesures dt { font-size: var(--t-petit); color: var(--c-gris-clair); }
.mesures dd { margin: 0; font-family: var(--f-titre); font-weight: 900; font-size: 3.2rem; line-height: 1; color: var(--c-orange); }

/* ---------- Nuancier des enrobés ---------- */
.nuancier { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.echantillon {
  display: flex; align-items: flex-end; min-height: 300px; background-size: cover; background-position: center;
  border-radius: var(--rayon); text-decoration: none; color: var(--c-blanc); position: relative; overflow: hidden;
}
.echantillon::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20,22,25,.88)); transition: background-color .3s; }
.echantillon:hover::before { background-color: rgba(255,107,10,.18); }
.echantillon-texte { position: relative; padding: 30px; display: flex; flex-direction: column; gap: 6px; }
.echantillon-nom { font-family: var(--f-titre); font-weight: 900; font-size: 3.4rem; line-height: .9; text-transform: uppercase; }
.echantillon-texte > span:last-child { color: #E3E4E6; font-weight: 500; }

/* ---------- Zone ---------- */
.p2-zone { background: var(--c-beton); }
.zone-grille { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: stretch; }
.zone-texte { align-self: center; }
.zone-photo { margin: 0; height: 100%; }
.zone-photo img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; border-radius: var(--rayon); }
.carte { margin: 0; }
.carte svg { width: 100%; max-width: 480px; display: block; margin: 0 auto; }
.anneau { fill: none; stroke-width: 2; }
.anneau-3 { fill: var(--c-beton-2); stroke: var(--c-trait); }
.anneau-2 { fill: #FFE3CF; stroke: #FFC79F; }
.anneau-1 { fill: var(--c-orange); stroke: var(--c-orange); }
.carte .num { font-family: var(--f-titre); font-weight: 900; font-size: 34px; text-anchor: middle; fill: var(--c-anthracite); dominant-baseline: middle; }
.carte .num--centre { font-size: 40px; }
.carte .nom { font-family: var(--f-texte); font-size: 13px; font-weight: 600; text-anchor: middle; fill: var(--c-anthracite); }
.carte .anneau { transform-origin: 210px 210px; transform: scale(.6); opacity: 0; transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .5s; }
.carte .anneau-2 { transition-delay: .15s; }
.carte .anneau-3 { transition-delay: .3s; }
.carte.vu .anneau { transform: scale(1); opacity: 1; }
.carte figcaption { text-align: center; color: var(--c-gris); font-size: .85rem; margin-top: 12px; }
.zone-texte h2 { font-size: var(--t-h2); }
.zone-texte > p { margin-top: 18px; color: var(--c-gris); font-size: 1.12rem; }
.zone-liste { margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.zone-liste li { padding: 12px 0; border-bottom: 1px solid var(--c-trait); font-weight: 500; }
.zone-liste strong { display: inline-block; width: 44px; font-family: var(--f-titre); font-weight: 900; font-size: 1.5rem; color: var(--c-orange-fonce); }

/* ---------- Publics (tableau) ---------- */
.table-scroll { overflow-x: auto; }
.comparatif { width: 100%; border-collapse: collapse; min-width: 640px; }
.comparatif th, .comparatif td { padding: 20px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-trait); }
.comparatif thead th { font-family: var(--f-titre); font-weight: 900; font-size: 2.2rem; text-transform: uppercase; line-height: 1; border-bottom: 4px solid var(--c-anthracite); }
.comparatif thead th:last-child { border-bottom-color: var(--c-orange); }
.comparatif tbody th { font-weight: 700; width: 22%; color: var(--c-anthracite); }
.comparatif tbody td { color: var(--c-gris); }
.comparatif tfoot td { border-bottom: 0; padding-top: 28px; }

/* ---------- FAQ ---------- */
.p2-faq { background: var(--c-beton-2); }
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; align-items: start; }
.faq details { background: var(--c-blanc); border-radius: var(--rayon); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 56px 22px 24px; font-weight: 700; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; display: grid; place-items: center; background: var(--c-orange); color: var(--c-anthracite); font-size: 1.4rem; font-weight: 700; line-height: 1; border-radius: var(--rayon); transform: translateY(-50%); }
.faq details[open] summary::after { content: "2"; }
.faq details p { padding: 0 24px 24px; color: var(--c-gris); }

/* ---------- Appel final ---------- */
.p2-cta { background: var(--c-anthracite) url("../img/texture-enrobe-hero.jpg") center/cover; color: var(--c-blanc); position: relative; text-align: center; }
.p2-cta::before { content: ""; position: absolute; inset: 0; background: rgba(36,39,43,.82); }
.p2-cta .wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.p2-cta h2 { font-size: var(--t-h2); text-transform: uppercase; max-width: 18ch; }
.p2-cta p { color: #D9DBDE; font-size: 1.15rem; max-width: 56ch; }
.p2-cta .btn { margin-top: 10px; }

/* ---------- Préparer la livraison ---------- */
.p2-preparer { background: var(--c-beton-2); }
.preparer-grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.preparer-grille .intro { margin-bottom: 0; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.checklist li { padding: 28px 0 28px 52px; border-top: 2px solid var(--c-anthracite); position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--c-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324272B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 18px no-repeat; }
.checklist h3 { font-size: 1.7rem; text-transform: uppercase; }
.checklist p { margin-top: 8px; color: var(--c-gris); }

/* ---------- Pied de page ---------- */
.p2-footer { background: var(--c-anthracite); color: var(--c-gris-clair); font-size: var(--t-petit); border-top: 6px solid var(--c-orange); }
.pied { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.pied-marque p { margin-top: 16px; max-width: 36ch; }
.pied li + li { margin-top: 8px; }
.p2-footer a { text-decoration: none; }
.p2-footer a:hover { color: var(--c-blanc); }
.pied-bas { grid-column: 1 / -1; border-top: 1px solid var(--c-anthracite-2); margin-top: 16px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.p2-footer--court .pied-bas { border-top: 0; margin-top: 0; padding-top: 0; }

/* ==========================================================
   Page Commander mon enrobé
   ========================================================== */
.p2-sim { background: var(--c-beton); }
.sim { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 0; align-items: stretch; border-radius: var(--rayon); overflow: hidden; background: var(--c-blanc); min-height: 760px; }
.sim.termine { grid-template-columns: minmax(0, 1fr); max-width: min(var(--wrap), 860px); min-height: 0; }
.sim.termine .rail { display: none; }

/* Rail */
.rail { background: var(--c-anthracite); color: var(--c-blanc); padding: 44px 36px; display: flex; flex-direction: column; gap: 20px; }
.rail h1 { font-size: 3.4rem; text-transform: uppercase; line-height: .9; }
.rail-intro { color: #C9CCD1; font-size: var(--t-petit); }
.rail-barre { display: none; height: 6px; background: var(--c-anthracite-2); border-radius: 3px; overflow: hidden; }
.rail-barre span { display: block; height: 100%; width: calc(var(--avance, 0) * 100%); background: var(--c-orange); transition: width .4s ease; min-width: 8%; }
.rail-etapes { display: flex; flex-direction: column; margin-top: 8px; position: relative; }
.rail-etapes li { position: relative; }
.rail-etapes li + li::before { content: ""; position: absolute; left: 17px; top: -14px; height: 28px; width: 2px; background: var(--c-anthracite-3); }
.rail-etapes button {
  width: 100%; display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; align-items: center; text-align: left;
  background: none; border: 0; color: var(--c-gris-clair); padding: 14px 0; cursor: pointer; font: inherit;
}
.rail-etapes button:disabled { cursor: default; opacity: .6; }
.pastille { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--c-anthracite-3); font-weight: 700; position: relative; z-index: 1; background: var(--c-anthracite); transition: background-color .25s, border-color .25s, color .25s; }
.rail-lib { font-weight: 600; }
.rail-val { font-size: .85rem; color: var(--c-gris-clair); min-height: 0; }
.rail-val:empty, .rail-etapes button:not(.fait):not(.actif) .rail-val { display: none; }
.rail-etapes button.fait { color: #E3E4E6; }
.rail-etapes button.fait .pastille { background: var(--c-anthracite-2); border-color: var(--c-gris-clair); }
.rail-etapes button.actif { color: var(--c-blanc); }
.rail-etapes button.actif .pastille { background: var(--c-orange); border-color: var(--c-orange); color: var(--c-anthracite); }
.rail-mobile { display: none; }
.rail .demo { margin-top: auto; color: var(--c-gris-clair); }

/* Contenu */
.sim-principal { padding: 56px 64px; }
.panneau h2, .fin h2 { font-size: clamp(2.4rem, 4vw, 3.6rem); text-transform: uppercase; }
.panneau h2:focus, .fin h2:focus { outline: none; }
.panneau.actif { animation: monte .4s ease-out; }
@keyframes monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.panneau > fieldset, .panneau > div, .panneau > p, .panneau > ol, .panneau > label { margin-top: 32px; }
.sous-bloc { margin-top: 32px; }
.sous-bloc > * + * { margin-top: 28px; }
.leg { display: block; font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; }
.petit { font-size: var(--t-petit); color: var(--c-gris); margin: -6px 0 14px; }
.panneau > .petit { margin-top: 16px; }

/* Étape 1 · duo */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo-choix { position: relative; cursor: pointer; border: 2px solid var(--c-trait); border-radius: var(--rayon); padding: 36px 32px; display: flex; flex-direction: column; gap: 12px; min-height: 230px; justify-content: flex-end; transition: border-color .2s, background-color .2s; }
.duo-choix input, .entree input, .liste-choix input, .couleurs input, .nuancier-choix input, .bascule-saisie input, .date-choix input { position: absolute; opacity: 0; pointer-events: none; }
.duo-titre { font-family: var(--f-titre); font-weight: 900; font-size: 2.8rem; text-transform: uppercase; line-height: .9; }
.duo-texte { color: var(--c-gris); }
.duo-choix:hover { border-color: var(--c-anthracite); }
.duo-choix:has(input:checked) { background: var(--c-anthracite); border-color: var(--c-anthracite); color: var(--c-blanc); }
.duo-choix:has(input:checked) .duo-texte { color: #C9CCD1; }
.duo-choix:has(input:checked)::before { content: ""; position: absolute; top: 24px; right: 24px; width: 28px; height: 28px; border-radius: 50%; background: var(--c-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324272B' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/15px no-repeat; }
:is(.duo-choix, .entree, .liste-choix label, .couleurs label, .nuancier-choix label, .bascule-saisie label, .date-choix):has(input:focus-visible) { outline: 3px solid var(--c-orange); outline-offset: 3px; }

/* Étape 2 */
.entrees { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.entree { position: relative; display: flex; gap: 16px; align-items: flex-start; cursor: pointer; padding: 22px; border: 2px solid var(--c-trait); border-radius: var(--rayon); transition: border-color .2s; }
.entree svg { width: 34px; height: 34px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.entree span { color: var(--c-gris); font-size: var(--t-petit); }
.entree strong { display: block; color: var(--c-texte); font-size: 1.1rem; margin-bottom: 2px; }
.entree:hover { border-color: var(--c-anthracite); }
.entree:has(input:checked) { border-color: var(--c-orange); background: #FFF4EC; }
.entree:has(input:checked) svg { stroke: var(--c-orange-fonce); }

.liste-choix { display: flex; flex-direction: column; gap: 0; }
.liste-choix label { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px 18px 56px; border-bottom: 1px solid var(--c-trait); cursor: pointer; transition: background-color .2s; }
.liste-choix .leg { margin-bottom: 6px; }
.liste-choix label::before { content: ""; position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); border-radius: 50%; border: 2px solid var(--c-gris-clair); background: var(--c-blanc); }
.liste-choix label:has(input:checked) { background: var(--c-beton-2); }
.liste-choix label:has(input:checked)::before { border: 7px solid var(--c-orange); }
.liste-choix span { font-weight: 600; }
.liste-choix em { font-style: normal; color: var(--c-gris); font-size: var(--t-petit); text-align: right; }
.liste-choix--acces label { align-items: flex-start; flex-direction: column; gap: 2px; }

.couleurs { display: flex; gap: 12px; flex-wrap: wrap; }
.couleurs .leg { width: 100%; margin-bottom: 0; }
.couleurs label { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border: 2px solid var(--c-trait); border-radius: 40px; cursor: pointer; font-weight: 600; }
.pastille-couleur { width: 36px; height: 36px; border-radius: 50%; background-size: cover; }
.couleurs label:has(input:checked) { border-color: var(--c-orange); }

.reco { background: var(--c-anthracite); color: var(--c-blanc); border-radius: var(--rayon); padding: 24px 28px; border-left: 6px solid var(--c-orange); }
.reco-titre { font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; }
.reco p:not(.reco-titre) { color: #C9CCD1; }

.nuancier-choix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.nuancier-choix .leg { grid-column: 1 / -1; margin-bottom: 2px; }
.nuancier-choix label { position: relative; aspect-ratio: 1; background-size: cover; background-position: center; border-radius: var(--rayon); cursor: pointer; display: flex; align-items: flex-end; overflow: hidden; outline: 3px solid transparent; outline-offset: 3px; transition: outline-color .2s; }
.nuancier-choix label span { position: relative; width: 100%; padding: 12px 14px; background: linear-gradient(transparent, rgba(20,22,25,.9)); color: var(--c-blanc); font-family: var(--f-titre); font-weight: 900; font-size: 1.7rem; text-transform: uppercase; line-height: 1; }
.nuancier-choix label:has(input:checked) { outline-color: var(--c-orange); }
.nuancier-choix label:has(input:checked)::after { content: ""; position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--c-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324272B' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Étape 3 · équation */
.bascule-saisie { display: flex; gap: 24px; flex-wrap: wrap; border-bottom: 2px solid var(--c-trait); }
.bascule-saisie label { position: relative; cursor: pointer; padding: 10px 0; margin-bottom: -2px; border-bottom: 3px solid transparent; font-weight: 600; color: var(--c-gris); }
.bascule-saisie label:has(input:checked) { border-bottom-color: var(--c-orange); color: var(--c-texte); }
.equation { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.eq-champ { display: flex; flex-direction: column; gap: 8px; flex: 1 1 130px; min-width: 120px; }
.eq-champ--large { flex-basis: 260px; }
.eq-champ label { font-weight: 600; font-size: var(--t-petit); color: var(--c-gris); }
.eq-saisie { display: flex; align-items: baseline; gap: 6px; border-bottom: 3px solid var(--c-anthracite); padding-bottom: 4px; }
.eq-saisie:focus-within { border-bottom-color: var(--c-orange); }
.eq-saisie input { width: 100%; min-width: 0; border: 0; background: none; font-family: var(--f-titre); font-weight: 800; font-size: 3rem; line-height: 1; padding: 0; color: var(--c-texte); -moz-appearance: textfield; }
.eq-saisie input::-webkit-outer-spin-button, .eq-saisie input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.eq-saisie input:focus { outline: none; }
.eq-saisie span { font-weight: 700; color: var(--c-gris); }
.eq-op { font-family: var(--f-titre); font-weight: 800; font-size: 2.4rem; color: var(--c-gris-clair); padding-bottom: 10px; }
.eq-resultat { flex: 1 1 170px; background: var(--c-orange); color: var(--c-anthracite); border-radius: var(--rayon); padding: 14px 20px; display: flex; flex-direction: column; }
.eq-lib { font-weight: 700; font-size: var(--t-petit); }
.eq-resultat strong { font-family: var(--f-titre); font-weight: 900; font-size: 3.6rem; line-height: .95; }
.panneau > .eq-detail { margin-top: 16px; color: var(--c-gris); font-size: var(--t-petit); }
.conseil { display: flex; gap: 16px; background: var(--c-beton-2); border-radius: var(--rayon); padding: 22px 24px; }
.conseil svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--c-orange-fonce); stroke-width: 2; stroke-linecap: round; }
.conseil p + p { margin-top: 6px; color: var(--c-gris); }
.conseil .alerte { color: var(--c-rouge); font-weight: 600; }

/* Étape 4 */
.grille-champs { display: grid; grid-template-columns: 200px 1fr; gap: 20px; }
.panneau[data-etape="5"] .grille-champs { grid-template-columns: 1fr 1fr; }
.champ--plein { grid-column: 1 / -1; }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ label { font-weight: 600; font-size: var(--t-petit); }
.champ input, .champ textarea { width: 100%; border: 0; border-bottom: 2px solid var(--c-trait); background: var(--c-beton-2); border-radius: var(--rayon) var(--rayon) 0 0; padding: 14px 16px; font-size: 1.08rem; }
.champ input:focus, .champ textarea:focus { outline: none; border-bottom-color: var(--c-orange); background: #FFF4EC; }
.zone-etat { display: flex; align-items: center; gap: 12px; font-weight: 600; margin-top: 16px !important; }
.voyant { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.zone-etat--ok .voyant { background: var(--c-vert); box-shadow: 0 0 0 5px rgba(35,165,90,.18); }
.zone-etat--ko { color: var(--c-rouge); }
.zone-etat--ko .voyant { background: var(--c-rouge); box-shadow: 0 0 0 5px rgba(210,53,43,.18); }
.dates { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 10px; scroll-snap-type: x mandatory; }
.date-choix { position: relative; flex: 0 0 92px; scroll-snap-align: start; cursor: pointer; display: flex; flex-direction: column; align-items: center; padding: 12px 6px; border: 2px solid var(--c-trait); border-radius: var(--rayon); line-height: 1.15; transition: border-color .2s, background-color .2s, color .2s; }
.date-jour, .date-mois { font-size: .8rem; color: var(--c-gris); text-transform: capitalize; }
.date-num { font-family: var(--f-titre); font-weight: 900; font-size: 2.2rem; margin: 2px 0; }
.date-choix:hover { border-color: var(--c-anthracite); }
.date-choix:has(input:checked) { background: var(--c-anthracite); border-color: var(--c-anthracite); color: var(--c-blanc); }
.date-choix:has(input:checked) .date-jour, .date-choix:has(input:checked) .date-mois { color: var(--c-orange); }

/* Erreurs et actions */
.erreur { border-left: 4px solid var(--c-rouge); background: #FCEBEA; color: var(--c-rouge); padding: 14px 18px; font-weight: 600; border-radius: 0 var(--rayon) var(--rayon) 0; }
.erreur p + p { margin-top: 4px; }
.actions-etape { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 44px !important; }
.actions-etape .btn:only-child { margin-left: auto; }

/* Étape 6 · demande */
.devis { border: 2px solid var(--c-anthracite); border-radius: var(--rayon); }
.devis-produit { display: grid; grid-template-columns: 84px 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--c-trait); }
.devis-produit img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--rayon); }
.devis-nom { font-family: var(--f-titre); font-weight: 900; font-size: 2rem; text-transform: uppercase; line-height: 1; margin-bottom: 4px; }
.devis-infos { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--c-trait); }
.devis-infos > div { padding: 20px 24px; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.devis-infos > div + div { border-left: 1px solid var(--c-trait); }
.devis-lib { font-weight: 700; margin-bottom: 4px; }
.devis-infos .btn-modif { margin-top: 8px; align-self: flex-start; }
.btn-modif { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 600; font-size: var(--t-petit); color: var(--c-orange-fonce); text-decoration: underline; text-underline-offset: 3px; }
.devis-prix { margin: 0; padding: 12px 24px 4px; }
.devis-prix div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; }
.devis-prix div + div { border-top: 1px dashed var(--c-trait); }
.devis-prix dt span { display: block; font-size: .85rem; color: var(--c-gris); }
.devis-prix dd { margin: 0; font-weight: 700; white-space: nowrap; }
.devis-prix .devis-total { border-top: 2px solid var(--c-anthracite); margin-top: 6px; padding-top: 16px; align-items: baseline; }
.devis-total dt, .devis-total dd { font-family: var(--f-titre); font-weight: 900; font-size: 2.4rem; text-transform: uppercase; line-height: 1; }
.devis .demo { padding: 0 24px 18px; }
.demo { font-size: .8rem; color: var(--c-gris); }
.confirme { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: #FFF4EC; border-left: 6px solid var(--c-orange); cursor: pointer; font-weight: 600; border-radius: 0 var(--rayon) var(--rayon) 0; }
.confirme input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--c-orange-fonce); }
.suite { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.suite li { counter-increment: s; position: relative; padding-top: 44px; color: var(--c-gris); font-size: var(--t-petit); }
.suite li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--c-beton); color: var(--c-anthracite); font-weight: 700; }

/* Fin */
.fin { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.fin p { color: var(--c-gris); max-width: 60ch; font-size: 1.1rem; }
.fin strong { color: var(--c-texte); }
.suite--fin { grid-template-columns: repeat(4, 1fr); width: 100%; margin: 12px 0; }
.suite--fin li.fait::before { background: var(--c-vert); color: var(--c-blanc); content: ""; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); background-size: 16px; background-position: center; background-repeat: no-repeat; }
.suite--fin li.fait { color: var(--c-texte); font-weight: 600; }

/* Barre mobile */
.barre-mobile { display: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1366px) {
  .route-etapes { gap: 20px; }
  .route-etapes h3 { font-size: 1.45rem; }
  .onglets { grid-template-columns: 280px 1fr; gap: 24px; }
  .onglet { grid-template-columns: 1fr; }
  .onglet img { min-height: 0; height: 200px; }
  .onglet-texte { padding: 32px; }
  .zone-grille { gap: 48px; }
  .sim { grid-template-columns: 290px minmax(0, 1fr); }
  .rail { padding: 36px 26px; }
  .rail h1 { font-size: 2.8rem; }
  .sim-principal { padding: 44px 40px; }
  .nuancier-choix { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 24px; }
  .nav ul { gap: 20px; }
}

@media (max-width: 1024px) {
  .preparer-grille { grid-template-columns: 1fr; gap: 32px; }
  .burger { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--c-anthracite); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--sec-px) 24px; border-top: 1px solid var(--c-anthracite-2); }
  .nav.ouvert { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--c-anthracite-2); }
  .nav .btn { margin-top: 18px; }
  .p2-hero .wrap { min-height: 0; }
  .atouts { grid-template-columns: repeat(2, 1fr); }
  .atouts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .route-bande { display: none; }
  .route-etapes { grid-template-columns: 1fr; margin-top: 0; gap: 0; }
  .route-etapes li { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 28px; position: relative; align-items: start; text-align: left; }
  .route-etapes li:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 60px; bottom: 4px; width: 6px; background: repeating-linear-gradient(180deg, var(--c-anthracite) 0 14px, transparent 14px 24px); }
  .borne { grid-row: span 2; margin: 0; }
  .onglets { grid-template-columns: 1fr; }
  .onglets-liste { flex-direction: row; overflow-x: auto; }
  .onglets-liste button { flex: 0 0 auto; border-left: 0; border-bottom: 4px solid transparent; }
  .onglets-liste button[aria-selected="true"] { border-bottom-color: var(--c-orange); }
  .onglet { grid-template-columns: .8fr 1.2fr; }
  .onglet img { height: 100%; }
  .zone-grille { grid-template-columns: 1fr; }
  .zone-photo img { min-height: 0; aspect-ratio: 16 / 10; }
  .faq { grid-template-columns: 1fr; }
  .pied { grid-template-columns: 1fr 1fr; }
  .pied-marque { grid-column: 1 / -1; }
  .sim { grid-template-columns: 1fr; min-height: 0; }
  .rail { padding: 28px 24px; gap: 12px; }
  .rail h1 { font-size: 2.6rem; }
  .rail-etapes { display: none; }
  .rail-barre { display: block; }
  .rail-mobile { display: block; font-weight: 600; }
  .rail .demo { margin-top: 0; }
  .sim-principal { padding: 36px 24px 110px; }
  .barre-mobile { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; justify-content: space-between; align-items: center; padding: 12px var(--sec-px); background: var(--c-anthracite); color: var(--c-blanc); border-top: 4px solid var(--c-orange); }
  .barre-mobile strong { font-family: var(--f-titre); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--c-orange); }
  .sim.termine .sim-principal { padding-bottom: 36px; }
}

@media (max-width: 767px) {
  .checklist { grid-template-columns: 1fr; }
  .logo-texte { font-size: 1.55rem; }
  .logo-icone { width: 30px; height: 30px; }
  .p2-hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .chapo { font-size: 1.1rem; }
  .actions .btn, .p2-cta .btn { width: 100%; }
  .atouts { grid-template-columns: 1fr; }
  .atouts li, .atouts li + li { border-left: 0; padding: 16px 0 0; }
  .onglet { grid-template-columns: 1fr; }
  .onglet img { height: 160px; }
  .onglet-texte { padding: 24px 20px; }
  .onglet-texte h3 { font-size: 2rem; }
  .nuancier { grid-template-columns: 1fr; }
  .echantillon { min-height: 200px; }
  .echantillon-nom { font-size: 2.6rem; }
  .zone-liste { grid-template-columns: 1fr; }
  .comparatif thead th { font-size: 1.6rem; }
  .pied { grid-template-columns: 1fr; }
  .duo, .entrees { grid-template-columns: 1fr; }
  .duo-choix { min-height: 0; padding: 26px 22px; }
  .duo-titre { font-size: 2.2rem; }
  .liste-choix label { flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 16px 16px 52px; }
  .liste-choix em { text-align: left; }
  .equation { gap: 10px; }
  .eq-champ { flex: 1 1 40%; }
  .eq-op { display: none; }
  .eq-resultat { flex-basis: 100%; }
  .eq-saisie input { font-size: 2.4rem; }
  .grille-champs, .panneau[data-etape="5"] .grille-champs { grid-template-columns: 1fr; }
  .devis-produit { grid-template-columns: 64px 1fr; }
  .devis-produit img { width: 64px; height: 64px; }
  .devis-produit .btn-modif { grid-column: 2; justify-self: start; }
  .devis-infos { grid-template-columns: 1fr; }
  .devis-infos > div + div { border-left: 0; border-top: 1px solid var(--c-trait); }
  .devis-total dt, .devis-total dd { font-size: 1.9rem; }
  .suite, .suite--fin { grid-template-columns: 1fr; }
  .suite li { padding: 4px 0 0 46px; min-height: 32px; }
  .actions-etape .btn--orange { flex: 1; }
}

@media (max-width: 767px) {
  .rail { padding: 22px 16px; }
  .rail h1 { font-size: 2.2rem; }
  .rail-intro { display: none; }
  .sim-principal { padding: 28px 16px 100px; }
  .bascule-saisie { gap: 18px; }
  .bascule-saisie label { font-size: .95rem; }
}
