:root {
  --fond: #f3f6f8;
  --surface: #ffffff;
  --surface-douce: #f7f9fa;
  --encre: #14272b;
  --encre-douce: #4e5e65;
  --ligne: #e3e8ec;
  --ligne-forte: #c5ced4;
  --sarcelle: #087f6b;
  --sarcelle-fonce: #06604f;
  --sarcelle-nuit: #0c3a33;
  --sarcelle-pale: #e2f3ef;
  --orange: #cf4a0c;
  --orange-fonce: #ad3d09;
  --orange-pale: #fdeee5;
  --ambre: #b57a06;
  --ambre-pale: #fdf3da;
  --ambre-texte: #6c4e07;
  --bleu: #5b7a99;
  --bleu-pale: #e8eef5;
  --bleu-texte: #2c4a68;
  --rouge-pale: #fbe6e0;
  --rouge-texte: #93300f;
  --ombre-1: 0 1px 2px rgb(20 39 43 / .05), 0 4px 12px rgb(20 39 43 / .05);
  --ombre-2: 0 2px 4px rgb(20 39 43 / .04), 0 18px 40px -8px rgb(20 39 43 / .14);
  --ombre-3: 0 4px 8px rgb(20 39 43 / .06), 0 32px 64px -12px rgb(20 39 43 / .24);
  --texte: "DM Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --titre: "Poppins", "Segoe UI", system-ui, Arial, sans-serif;
  --rayon: 12px;
  --rayon-petit: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 400 1rem/1.65 var(--texte); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--titre); line-height: 1.15; margin: 0 0 .6rem; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.14; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); letter-spacing: -.015em; }
h3 { font-size: 1.1rem; letter-spacing: -.012em; }
p { margin: 0 0 1rem; }
a { color: var(--sarcelle); }
small { display: block; color: var(--encre-douce); font-size: .875rem; line-height: 1.4; font-weight: 400; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pastille-ico { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--sarcelle-pale); color: var(--sarcelle); }
.pastille-ico.orange { background: var(--orange-pale); color: var(--orange); }

.conteneur { width: min(1180px, 100% - 32px); margin-inline: auto; }
.conteneur-etroit { width: min(780px, 100% - 32px); margin-inline: auto; }
.evitement { position: absolute; left: -999px; }
.evitement:focus { left: 16px; top: 12px; background: var(--surface); padding: .5rem 1rem; z-index: 20; }
.bandeau-preparation { margin: 0; padding: .35rem 1rem; background: var(--sarcelle-nuit); color: #fff; font-size: .825rem; text-align: center; }

.entete { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ligne); }
.entete-ligne { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; min-height: 68px; flex-wrap: wrap; padding-block: .5rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--titre); font-weight: 700; font-size: 1.25rem; letter-spacing: -.025em; color: var(--encre); text-decoration: none; margin: 0; }
.logo-marque { width: 30px; height: 30px; }
.logo-clair { color: #fff; }
.nav { display: flex; align-items: center; gap: .4rem 1.5rem; flex-wrap: wrap; }
.nav a:not(.bouton) { color: var(--encre); text-decoration: none; font-size: .925rem; font-weight: 500; transition: color .15s; }
.nav a:not(.bouton):hover { color: var(--encre); }
.menu-mobile { display: none; position: relative; }
.menu-mobile summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--rayon-petit); box-shadow: inset 0 0 0 1px var(--ligne-forte); cursor: pointer; list-style: none; }
.menu-mobile summary::-webkit-details-marker { display: none; }
.menu-mobile nav { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 20; display: grid; width: 240px; padding: .5rem; background: var(--surface); border-radius: var(--rayon); box-shadow: var(--ombre-3); }
.menu-mobile nav a { padding: .65rem .75rem; color: var(--encre); text-decoration: none; font-weight: 500; border-radius: var(--rayon-petit); }
.menu-mobile nav a:hover { background: var(--fond); }
.entete-actions { display: none; align-items: center; gap: .5rem; }

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .6rem 1.4rem;
  border: 0; border-radius: var(--rayon-petit); background: var(--orange); color: #fff; font: 600 .925rem var(--titre);
  text-decoration: none; cursor: pointer; box-shadow: 0 6px 14px -6px rgb(207 74 12 / .6); transition: background .15s, transform .15s, box-shadow .15s;
}
.bouton:hover { background: var(--orange-fonce); transform: translateY(-1px); }
.bouton:disabled { opacity: .55; cursor: wait; transform: none; }
.bouton-petit { min-height: 40px; padding: .4rem 1rem; font-size: .9rem; }
.bouton-second { background: var(--surface); color: var(--encre); box-shadow: inset 0 0 0 1px var(--ligne-forte); }
.bouton-second:hover { background: var(--surface-douce); }
.bouton-sarcelle { background: var(--sarcelle); box-shadow: 0 6px 14px -6px rgb(8 127 107 / .6); }
.bouton-sarcelle:hover { background: var(--sarcelle-fonce); }
.bouton-danger { background: var(--surface); color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.bouton-danger:hover { background: var(--orange-pale); }
.lien-bouton { background: none; border: 0; padding: 0; color: var(--orange); font: inherit; text-decoration: underline; cursor: pointer; }
.lien-fleche { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--orange); text-decoration: none; }
.lien-fleche:hover { text-decoration: underline; }
.lien-fleche .ico { width: 16px; height: 16px; }

.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section-blanche { background: var(--surface); }
.section-sans-haut { padding-top: 0; }
.titre-section { max-width: 640px; margin-bottom: 2.25rem; }
.sur-titre { font-family: var(--titre); font-size: .875rem; font-weight: 700; color: var(--sarcelle); margin-bottom: .55rem; }
.intro { max-width: 60ch; font-size: 1.1rem; color: var(--encre-douce); }
.titre-section .intro { margin-bottom: 0; }
.discret { color: var(--encre-douce); font-size: .95rem; margin: 0; }
.entete-page { padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem; }
.espace-haut { margin-top: 1.5rem; }

/* Accueil */
.heros { position: relative; overflow: hidden; color: #fff; padding-block: clamp(2.75rem, 5.5vw, 5rem) clamp(6.5rem, 10vw, 9rem); background: linear-gradient(100deg, rgb(6 36 32 / .9) 0%, rgb(8 44 39 / .68) 45%, rgb(8 60 52 / .12) 100%), var(--sarcelle-nuit) url("https://images.unsplash.com/photo-1657129208507-7005dfc5b36a?auto=format&fit=crop&w=1600&h=880&q=60") center 28% / cover no-repeat; }
.signature { display: block; margin-bottom: .75rem; font-family: var(--titre); font-weight: 600; font-size: .95rem; line-height: 1.4; letter-spacing: 0; color: #ffb48a; }
.entete-devis { padding-top: 2rem; }
.entete-devis h1 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.entete-devis .intro { margin-bottom: 0; }
.parcours { padding-top: 1.25rem !important; }
.numero-masque { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; margin-bottom: 1.5rem; padding: .7rem 1.15rem .7rem .7rem; border-radius: 14px; background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); backdrop-filter: blur(10px); }
.numero-cadenas { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--orange); color: #fff; }
.numero { font-family: var(--titre); font-size: 1.35rem; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.numero i { font-style: normal; filter: blur(5px); user-select: none; }
.numero-texte { font-size: .85rem; line-height: 1.3; color: #d7e9e5; }
.numero-texte strong { display: block; color: #fff; font-weight: 600; }
.heros-grille { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.heros h1 { color: #fff; }
.heros h1 em { display: block; font-style: normal; color: #ffb48a; }
.heros .intro { color: #cfe5e0; margin-bottom: 1.5rem; }
.promesses { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .95rem; color: #e3f1ee; }
.promesses li { display: inline-flex; align-items: center; gap: .45rem; }
.promesses .ico { width: 18px; height: 18px; color: #7fd9c6; stroke-width: 2.4; }

.depart { background: var(--surface); color: var(--encre); border-radius: 16px; padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--ombre-3); }
.depart h2 { font-size: 1.35rem; margin-bottom: 1rem; letter-spacing: -.02em; }
.depart .champ { margin-bottom: 1rem; }
.depart legend, .depart label.etiquette-champ { font-size: .9rem; }
.depart .bouton { width: 100%; min-height: 52px; font-size: 1.025rem; }
.depart-note { margin: .7rem 0 0; font-size: .85rem; color: var(--encre-douce); text-align: center; }
.options.options-quatre { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.options-quatre span { flex-direction: column; justify-content: center; gap: .3rem; height: 100%; min-height: 70px; padding: .5rem .25rem; font-size: .875rem; text-align: center; line-height: 1.2; }
.options-quatre .ico { color: var(--sarcelle); }

.bandeau-atouts { position: relative; z-index: 2; margin-top: clamp(-4.5rem, -5vw, -3rem); }
.atouts { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-radius: 16px; box-shadow: var(--ombre-2); }
.atouts > div { display: flex; gap: .8rem; align-items: flex-start; padding: 1.35rem 1.25rem; }
.atouts > div + div { border-left: 1px solid var(--ligne); }
.atouts strong { display: block; font-family: var(--titre); font-weight: 700; line-height: 1.25; margin-bottom: .15rem; }
.atouts p { margin: 0; font-size: .875rem; line-height: 1.4; color: var(--encre-douce); }

.comment-grille { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.etapes { list-style: none; counter-reset: e; padding: 0; margin: 0; display: grid; }
.etapes li { position: relative; counter-increment: e; padding: 0 0 1.75rem 3.5rem; }
.etapes li:last-child { padding-bottom: 0; }
.etapes li::before { content: counter(e); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--sarcelle); color: #fff; font-weight: 600; }
.etapes li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: var(--ligne-forte); }
.etapes h3 { font-size: 1.15rem; margin: .35rem 0 .3rem; }
.etapes p { margin: 0; color: var(--encre-douce); }

.scene { position: relative; min-height: 590px; }
.scene-etiquette { position: absolute; top: -.4rem; right: 0; z-index: 4; background: var(--surface); color: var(--encre-douce); font-size: .8rem; font-weight: 500; padding: .15rem .65rem; border-radius: 99px; box-shadow: var(--ombre-1); }
.scene-dossier { position: absolute; top: 1rem; left: 8%; width: 80%; transform: rotate(-1.4deg); box-shadow: var(--ombre-3); }
.ligne-diag { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.scene-devis { position: absolute; right: 0; top: 21.5rem; width: 49%; z-index: 2; transform: rotate(1.4deg); box-shadow: var(--ombre-3); padding: 1.1rem 1.15rem; }
.scene-prive {
  position: absolute; left: 0; top: 21rem; z-index: 3; width: 49%; padding: 1.25rem; transform: rotate(-1deg);
  background: var(--sarcelle); color: #fff; border-radius: var(--rayon); box-shadow: var(--ombre-3);
}
.scene-prive h2 { font-size: 1.15rem; margin-bottom: .25rem; letter-spacing: -.015em; }
.scene-prive p { font-size: .9rem; color: #d7efe9; margin-bottom: 0; }
.scene-prive .pastille-ico { background: rgb(255 255 255 / .16); color: #fff; margin-bottom: .6rem; }
.ligne-devis { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .55rem 0; border-top: 1px solid var(--ligne); font-size: .9rem; color: var(--encre-douce); }
.ligne-devis strong { color: var(--encre); font-family: var(--titre); font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.maison-grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.maison-dessin { background: linear-gradient(180deg, #eaf5f9, #f6f9f6 70%); border-radius: 16px; padding: .75rem; }
.maison-dessin svg { display: block; width: 100%; height: auto; }
.maison-dessin .trait { fill: none; stroke: var(--encre); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.maison-dessin .fin { fill: none; stroke: var(--encre); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.maison-dessin .mur { fill: #fff; }
.maison-dessin .toit { fill: #dfe9e6; }
.maison-dessin .sol { fill: #d9cdb8; }
.maison-dessin .cave { fill: #eee7da; }
.maison-dessin .vitre { fill: #cfe8f3; }
.maison-dessin .sarcelle { fill: var(--sarcelle-pale); }
.maison-dessin .peinture { fill: #fbe7c8; }
.maison-dessin .pin circle { fill: var(--orange); stroke: #fff; stroke-width: 2.5; transition: fill .15s; }
.maison-dessin .pin text { fill: #fff; font: 600 14px var(--texte); text-anchor: middle; }
.maison-dessin .pin:hover circle, .maison-dessin .pin:focus circle { fill: var(--sarcelle); }
.liste-maison { list-style: none; counter-reset: m; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem 1rem; }
.liste-maison li { counter-increment: m; }
.liste-maison a { display: flex; align-items: center; gap: .55rem; padding: .4rem 0; color: var(--encre); text-decoration: none; font-weight: 500; font-size: .95rem; }
.liste-maison a::before { content: counter(m); display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: #fff; font-size: .8rem; font-weight: 600; }
.liste-maison a:hover { color: var(--sarcelle); }

.dates-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.date-carte { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border-radius: var(--rayon); padding: 1.15rem; box-shadow: var(--ombre-1); }
.date-bloc { flex: none; width: 66px; text-align: center; padding-right: .9rem; border-right: 1px solid var(--ligne); color: var(--orange); font-size: .8rem; font-weight: 500; line-height: 1.2; }
.date-bloc strong { display: block; font-family: var(--titre); font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.date-carte h3 { font-size: 1rem; margin-bottom: .25rem; }
.date-carte p { margin: 0; font-size: .9rem; line-height: 1.45; color: var(--encre-douce); }

.bandeau-validite { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--sarcelle-pale); border-radius: var(--rayon); padding: 1rem 1.25rem; margin-top: 1.5rem; }
.bandeau-validite > div { flex: 1 1 280px; }
.bandeau-validite strong { display: block; font-weight: 600; }
.bandeau-validite span:not(.pastille-ico) { font-size: .925rem; color: var(--sarcelle-fonce); }
.bandeau-validite .pastille-ico { background: var(--surface); }

.lien-carte { display: block; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.lien-carte:hover { transform: translateY(-2px); box-shadow: var(--ombre-2); }
.lien-carte:hover h3 { color: var(--sarcelle); }
.fil { font-size: .9rem; color: var(--encre-douce); margin-bottom: 1rem; }
.fil a { color: inherit; }
.fiche-grille { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.5rem; align-items: start; }
.fiche-grille .carte + .carte { margin-top: 1rem; }
.fiche-cote { position: sticky; top: 88px; }
.fiche-cote .bouton { width: 100%; }
.resultat-validite { margin-top: 1.25rem; }
.resultat-validite strong { display: block; font-size: 1.15rem; font-weight: 600; margin-bottom: .2rem; }
.validite-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }

.carte { background: var(--surface); border-radius: var(--rayon); padding: 1.4rem; box-shadow: var(--ombre-1); }
.carte-tete { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.carte-tete h2, .carte-tete h3 { margin: 0; font-size: 1.05rem; letter-spacing: -.012em; }
.carte-titre { font-size: 1.1rem; margin-bottom: .1rem; letter-spacing: -.012em; }
.carte-prix { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: .9rem -1.4rem -1.4rem; padding: .95rem 1.4rem; background: var(--surface-douce); border-radius: 0 0 var(--rayon) var(--rayon); font-size: .9rem; color: var(--encre-douce); }
.carte-prix strong { font-family: var(--titre); font-size: 1.15rem; font-weight: 700; color: var(--encre); white-space: nowrap; font-variant-numeric: tabular-nums; }

.diag-liste { list-style: none; padding: 0; margin: 0; }
.diag-liste li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; padding: .65rem 0; border-top: 1px solid var(--ligne); font-size: .95rem; }
.diag-liste li:first-child { border-top: 0; padding-top: 0; }
.diag-liste strong { font-weight: 500; }
.puce { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--ligne-forte) center / 14px no-repeat; }
.puce-obligatoire { background-color: var(--sarcelle); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.500 4.500 4.500L19 7.500'/%3E%3C/svg%3E"); }
.puce-a_verifier { background-color: var(--ambre); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v8M12 19h.01'/%3E%3C/svg%3E"); }
.puce-selon_zone { background-color: var(--bleu); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 22s8-7 8-12.500a8 8 0 0 0-16 0C4 15 12 22 12 22Z'/%3E%3C/svg%3E"); }

.bandeau-prive { background: var(--sarcelle-nuit); color: #fff; }
.bandeau-prive-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.bandeau-prive .sur-titre { color: #7fd9c6; }
.bandeau-prive .intro { color: #c5dcd7; }
.comparaison { display: grid; gap: .6rem; }
.comparaison > div { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .85rem 1.1rem; border-radius: var(--rayon-petit); background: rgb(255 255 255 / .07); font-size: .95rem; }
.comparaison em { font-style: normal; font-weight: 600; white-space: nowrap; padding: .1rem .6rem; border-radius: 99px; font-size: .825rem; }
.comparaison .oui { background: #7fd9c6; color: var(--sarcelle-nuit); }
.comparaison .non { background: rgb(255 255 255 / .14); color: #e5f0ed; }

.grille-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.grille-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.grille-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 1rem; }
h2 + .grille-4 { margin-top: 1.25rem; }
.bloc { background: var(--surface); border-radius: var(--rayon); padding: 1.25rem 1.3rem; box-shadow: var(--ombre-1); }
.bloc p:last-child { margin-bottom: 0; }
.bloc-tete { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .6rem; }
.bloc-tete h3 { margin: .1rem 0 0; }
.prix-grand { font-family: var(--titre); font-size: 1.55rem; font-weight: 700; letter-spacing: -.03em; margin-bottom: .35rem; font-variant-numeric: tabular-nums; color: var(--sarcelle); }
.faq { background: var(--surface); border-radius: var(--rayon); box-shadow: var(--ombre-1); }
.faq details { border-top: 1px solid var(--ligne); }
.faq details:first-child { border-top: 0; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 1.3rem; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--encre-douce); transition: transform .15s; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq p { margin: 0; padding: 0 1.3rem 1.15rem; color: var(--encre-douce); }
.bandeau-pro { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; background: var(--surface); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--rayon); box-shadow: var(--ombre-2); }
.bandeau-pro > div { max-width: 60ch; }
.bandeau-pro .intro { margin: 0; }
.table-defile { overflow-x: auto; background: var(--surface); border-radius: var(--rayon); box-shadow: var(--ombre-1); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: .8rem 1.2rem; text-align: left; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.table tr:last-child > * { border-bottom: 0; }
.table thead th { font-size: .825rem; color: var(--encre-douce); font-weight: 500; white-space: nowrap; background: var(--surface-douce); }
.table tbody th { font-weight: 500; }
.table td { font-variant-numeric: tabular-nums; color: var(--encre-douce); }
.note { background: var(--ambre-pale); color: var(--ambre-texte); border-radius: var(--rayon-petit); padding: .8rem 1.05rem; font-size: .925rem; margin: 1rem 0; }
.note-info { background: var(--bleu-pale); color: var(--bleu-texte); }
.note-ok { background: var(--sarcelle-pale); color: var(--sarcelle-fonce); }
.note-erreur { background: var(--rouge-pale); color: var(--rouge-texte); }
.note p:last-child { margin-bottom: 0; }

/* Parcours de devis */
.parcours { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1.5rem; align-items: start; padding-block: 2rem 4rem; }
.formulaire-carte { background: var(--surface); border-radius: var(--rayon); box-shadow: var(--ombre-2); padding: clamp(1.25rem, 3vw, 2.25rem); }
.apercu { position: sticky; top: 88px; }
.apercu > h2 { font-size: 1.05rem; }
.apercu .carte-tete { margin-bottom: .9rem; }
.puces-diag { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.puces-diag .etiquette { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; padding: .2rem .65rem .2rem .35rem; }
.puces-diag .puce { width: 16px; height: 16px; background-size: 10px; }
.puces-diag + .legende { padding-top: .75rem; margin-bottom: 1.25rem; }
.legende { display: flex; flex-wrap: wrap; gap: .25rem .9rem; font-size: .8rem; color: var(--encre-douce); padding-top: 1.75rem; }
.legende span { display: inline-flex; align-items: center; gap: .35rem; }
.legende .puce { width: 12px; height: 12px; background-image: none; }
.progression { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; }
.progression li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: .35rem; font-size: .825rem; color: var(--encre-douce); text-align: center; min-width: 0; }
.progression li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--ligne); }
.progression li:first-child::before { display: none; }
.progression li.fait::before, .progression li.actif::before { background: var(--sarcelle); }
.progression .rond { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--ligne-forte); font-weight: 600; }
.progression .rond .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.progression li.fait .rond { background: var(--sarcelle); box-shadow: none; color: #fff; }
.progression li.actif { color: var(--encre); font-weight: 500; }
.progression li.actif .rond { background: var(--surface); box-shadow: inset 0 0 0 2px var(--sarcelle); color: var(--sarcelle); }
.etape { border: 0; padding: 0; margin: 0; min-width: 0; }
.etape > legend { font-family: var(--titre); font-size: clamp(1.4rem, 2.6vw, 1.75rem); font-weight: 700; letter-spacing: -.025em; padding: 0; margin-bottom: 1.25rem; }
.champ { margin-bottom: 1.25rem; border: 0; padding: 0; min-width: 0; }
.champ > label, .champ > legend { display: block; font-weight: 500; font-size: .95rem; margin-bottom: .4rem; padding: 0; }
.aide { font-size: .85rem; color: var(--encre-douce); margin: -.15rem 0 .5rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=password], textarea, select {
  width: 100%; min-height: 48px; padding: .6rem .85rem; background: var(--surface); color: var(--encre);
  border: 1px solid var(--ligne-forte); border-radius: var(--rayon-petit); font: inherit; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--sarcelle); box-shadow: 0 0 0 3px var(--sarcelle-pale); }
.options { display: flex; flex-wrap: wrap; gap: .5rem; }
.options label { position: relative; cursor: pointer; }
.options input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.options span {
  display: flex; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem .95rem; background: var(--surface);
  border: 1px solid var(--ligne-forte); border-radius: var(--rayon-petit); font-size: .95rem; transition: border-color .15s, background .15s;
}
.options input:hover + span { border-color: var(--sarcelle); }
.options input:checked + span { background: var(--sarcelle-pale); border-color: var(--sarcelle); box-shadow: inset 0 0 0 1px var(--sarcelle); color: var(--sarcelle-fonce); font-weight: 500; }
.options input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.options-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.options-cartes span { flex-direction: column; align-items: flex-start; height: 100%; min-height: 84px; padding: .8rem .9rem; gap: .45rem; line-height: 1.25; }
.options-cartes .ico { color: var(--sarcelle); width: 22px; height: 22px; }
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.case { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; align-items: start; font-size: .925rem; margin-bottom: 1rem; cursor: pointer; font-weight: 400 !important; }
.case input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--sarcelle); }
.erreur { color: #a73413; font-size: .85rem; font-weight: 500; margin: .35rem 0 0; }
.invalide input:not([type=radio]):not([type=checkbox]), .invalide select, .invalide .options span { border-color: #a73413; }
.actions { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--ligne); flex-wrap: wrap; }
.actions #suivant, .actions #envoyer { margin-left: auto; }
.piege { position: absolute; left: -9999px; height: 1px; overflow: hidden; }

/* Espaces client, pro, admin */
.espace { padding-block: 2.5rem 4rem; }
.espace h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.etiquette { display: inline-block; font-size: .78rem; font-weight: 500; padding: .12rem .6rem; border-radius: 99px; background: var(--fond); color: var(--encre-douce); white-space: nowrap; }
.etiquette-ok { background: var(--sarcelle); color: #fff; }
.etiquette-attente { background: var(--ambre-pale); color: var(--ambre-texte); }
.etiquette-non { background: var(--rouge-pale); color: var(--rouge-texte); }
.dossier-resume { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 1.25rem 0 1.75rem; }
.dossier-resume > div { background: var(--surface); border-radius: var(--rayon); box-shadow: var(--ombre-1); padding: 1rem 1.15rem; font-size: .925rem; }
.dossier-resume strong { display: block; font-family: var(--titre); font-weight: 700; font-size: 1.05rem; letter-spacing: -.012em; margin-top: .1rem; }
.dossier-resume small { font-size: .8rem; }
.devis-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1rem; margin-top: 1rem; }
.devis-carte { background: var(--surface); border-radius: var(--rayon); box-shadow: var(--ombre-2); padding: 1.35rem; display: flex; flex-direction: column; gap: .5rem; transition: transform .15s; }
.devis-carte.retenu { box-shadow: 0 0 0 2px var(--sarcelle), var(--ombre-2); }
.devis-prix { display: flex; align-items: baseline; gap: .35rem; font-family: var(--titre); font-size: 2.1rem; font-weight: 700; letter-spacing: -.035em; margin: 0; font-variant-numeric: tabular-nums; }
.devis-carte .bouton { margin-top: auto; }
.devis-carte p { margin: 0; }
.fiche { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: 0; font-size: .925rem; }
.fiche dt { color: var(--encre-douce); }
.fiche dd { margin: 0; overflow-wrap: anywhere; }
.pile { display: grid; gap: 1rem; margin-top: 1rem; }
.entete-carte { display: flex; justify-content: space-between; gap: 1rem; align-items: start; flex-wrap: wrap; margin-bottom: .75rem; }
.onglets { display: flex; gap: .25rem; border-bottom: 1px solid var(--ligne); margin: 1.5rem 0 1rem; overflow-x: auto; }
.onglets button { background: none; border: 0; border-bottom: 2px solid transparent; padding: .6rem 1rem; font: 500 .95rem var(--texte); color: var(--encre-douce); cursor: pointer; white-space: nowrap; }
.onglets button[aria-selected=true] { color: var(--sarcelle); border-color: var(--sarcelle); }
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; margin-top: 1rem; font-size: .9rem; color: var(--encre-douce); }
.chiffres strong { display: block; font-family: var(--titre); font-size: 2rem; font-weight: 700; letter-spacing: -.03em; color: var(--encre); line-height: 1.2; }
.message-corps { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .9rem; margin: .5rem 0 .75rem; color: var(--encre-douce); }
.boutons-ligne { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-top: .85rem; }
.formulaire-connexion { max-width: 400px; margin-inline: auto; background: var(--surface); padding: 2rem; border-radius: var(--rayon); box-shadow: var(--ombre-2); }
.formulaire-connexion h1 { font-size: 1.6rem; }
.formulaire-connexion .bouton { width: 100%; }
.pro-grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.pro-grille ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .85rem; }
.pro-grille li { display: flex; gap: .7rem; color: var(--encre-douce); font-size: .95rem; }
.pro-grille li .ico { color: var(--sarcelle); stroke-width: 2.2; margin-top: .15rem; }
.prose h2 { margin-top: 2.5rem; font-size: 1.5rem; }
.prose .a-completer { background: var(--ambre-pale); padding: 0 .3rem; border-radius: 3px; }

.pied { background: var(--sarcelle-nuit); color: #c5dcd7; padding-block: 3rem; font-size: .925rem; }
.pied a { color: #fff; display: block; padding: .2rem 0; text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied p:last-child { margin-bottom: 0; max-width: 42ch; }
.pied .logo { margin-bottom: .75rem; }
.pied-grille { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.pied-titre { color: #fff; font-weight: 600; margin-bottom: .4rem; }

@media (max-width: 1120px) {
  .atouts { grid-template-columns: repeat(2, 1fr); }
  .atouts > div:nth-child(3) { border-left: 0; }
  .atouts > div:nth-child(n+3) { border-top: 1px solid var(--ligne); }
  .nav { display: none; }
  .entete-actions, .menu-mobile { display: flex; }
  .menu-mobile { display: block; }
}
@media (max-width: 960px) {
  .heros-grille, .parcours, .bandeau-prive-grille, .pro-grille, .comment-grille, .maison-grille, .fiche-grille, .validite-grille { grid-template-columns: minmax(0, 1fr); }
  .apercu, .fiche-cote { position: static; }
  .scene { max-width: 560px; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .pied-grille > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .heros h1 { font-size: 1.85rem; }
  .heros { background: linear-gradient(180deg, rgb(6 36 32 / .8), rgb(8 44 39 / .72)), var(--sarcelle-nuit) url("https://images.unsplash.com/photo-1657129208507-7005dfc5b36a?auto=format&fit=crop&w=800&h=1200&q=65") center / cover no-repeat; }
  .entete { position: relative; z-index: 10; }
  .entete-actions .bouton { display: none; }
  .scene { min-height: 0; display: grid; gap: 1rem; }
  .scene-etiquette { position: static; justify-self: start; }
  .scene-dossier, .scene-devis, .scene-prive { position: static; width: auto; transform: none; box-shadow: var(--ombre-2); }
  .atouts { grid-template-columns: 1fr; }
  .atouts > div + div { border-left: 0; border-top: 1px solid var(--ligne); }
  .deux-colonnes, .dossier-resume { grid-template-columns: 1fr; }
  .progression li { font-size: .75rem; }
  .actions .bouton { flex: 1; }
  .options-cartes { grid-template-columns: repeat(2, 1fr); }
  .options-quatre span { min-height: 64px; font-size: .8rem; }
  .liste-maison { grid-template-columns: 1fr 1fr; }
  .pied-grille { grid-template-columns: 1fr; }
}
/* Outils et nouvelles fonctions */
.outils { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.outil { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; background: var(--surface); border-radius: var(--rayon); box-shadow: var(--ombre-1); color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.outil:hover { transform: translateY(-3px); box-shadow: var(--ombre-2); }
.outil h3 { margin: .5rem 0 0; }
.outil p { margin: 0; color: var(--encre-douce); font-size: .95rem; }
.outil .lien-fleche { margin-top: auto; padding-top: .5rem; }

.adresse-champ { position: relative; }
.suggestions { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 15; list-style: none; margin: 0; padding: .35rem; background: var(--surface); border-radius: var(--rayon-petit); box-shadow: var(--ombre-3); }
.suggestions li { padding: .55rem .7rem; border-radius: 6px; cursor: pointer; font-size: .95rem; }
.suggestions li:hover, .suggestions li[aria-selected=true] { background: var(--sarcelle-pale); }
.resultats-adresse { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; align-items: start; }
.lignes-risques { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.lignes-risques li { padding: .2rem .7rem; border-radius: 99px; background: var(--ambre-pale); color: var(--ambre-texte); font-size: .875rem; font-weight: 500; }
.ligne-dpe { display: flex; align-items: center; gap: .8rem; padding: .65rem 0; border-top: 1px solid var(--ligne); font-size: .925rem; }
.ligne-dpe:first-of-type { border-top: 0; }
.classe-dpe { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 8px; color: #fff; font: 700 1rem var(--titre); background: var(--encre-douce); }
.classe-A { background: #15803d; } .classe-B { background: #3f9142; } .classe-C { background: #7a9a1f; color: #fff; }
.classe-D { background: #b98a08; } .classe-E { background: #c8690f; } .classe-F { background: #cf4a0c; } .classe-G { background: #b3261e; }
.apercu-public { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--ligne); }
.apercu-public h3 { font-size: .925rem; margin-bottom: .5rem; }

.etoiles { color: #b57a06; letter-spacing: .05em; }
.note-devis { display: flex; align-items: center; gap: .4rem; font-size: .875rem; color: var(--encre-douce); }
.couverture { display: flex; gap: .45rem; align-items: flex-start; padding: .55rem .7rem; border-radius: var(--rayon-petit); font-size: .875rem; line-height: 1.4; }
.couverture .ico { width: 16px; height: 16px; margin-top: .15rem; stroke-width: 2.4; }
.couverture-ok { background: var(--sarcelle-pale); color: var(--sarcelle-fonce); }
.couverture-manque { background: var(--ambre-pale); color: var(--ambre-texte); }
.details-devis { display: grid; gap: .25rem; font-size: .925rem; }
.details-devis div { display: flex; justify-content: space-between; gap: .75rem; }
.details-devis dt { color: var(--encre-douce); }
.details-devis dd { margin: 0; font-weight: 500; text-align: right; }
.bandeau-actions { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; }

.fil-messages summary { cursor: pointer; font-weight: 500; font-size: .925rem; color: var(--sarcelle); }
.bulles { display: grid; gap: .4rem; margin: .65rem 0; }
.bulle { max-width: 88%; padding: .5rem .75rem; border-radius: 10px; background: var(--fond); font-size: .9rem; overflow-wrap: anywhere; }
.bulle.moi { justify-self: end; background: var(--sarcelle-pale); }
.bulle small { font-size: .75rem; }
.saisie-message { display: flex; gap: .5rem; }
.saisie-message input { min-height: 40px; }

.frise { list-style: none; display: flex; margin: 1rem 0 1.5rem; padding: 0; }
.frise li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: .3rem; font-size: .825rem; color: var(--encre-douce); text-align: center; }
.frise li::before { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 2px; background: var(--ligne-forte); }
.frise li:first-child::before { display: none; }
.frise .rond { position: relative; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--ligne-forte); }
.frise .ico { width: 14px; height: 14px; stroke-width: 3; }
.frise li.fait { color: var(--encre); font-weight: 500; }
.frise li.fait::before { background: var(--sarcelle); }
.frise li.fait .rond { background: var(--sarcelle); box-shadow: none; color: #fff; }
.choix-note { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .15rem; }
.choix-note input { position: absolute; opacity: 0; }
.choix-note label { font-size: 1.9rem; line-height: 1; color: var(--ligne-forte); cursor: pointer; }
.choix-note input:checked ~ label, .choix-note label:hover, .choix-note label:hover ~ label { color: #b57a06; }
.choix-note input:focus-visible + label { outline: 3px solid var(--orange); border-radius: 4px; }
.recherche-admin { max-width: 340px; }

@media (max-width: 960px) {
  .outils, .resultats-adresse { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  .entete, .pied, .bandeau-preparation, .bouton, .lien-bouton, .fil-messages, .evitement, #impression { display: none !important; }
  body { background: #fff; }
  .devis-carte, .carte, .dossier-resume > div { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
h2.espace-haut { margin-top: 2.5rem; }
