@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --papier: #f4f2ee;
  --pierre: #e8e4dc;
  --blanc: #ffffff;
  --encre: #15171c;
  --doux: #555962;
  --bleu: #1f3a93;
  --bleu-fonce: #172c70;
  --bleu-pale: #e7ebf6;
  --accent: #277a53;
  --accent-fonce: #1d5f40;
  --accent-clair: #6cc59a;
  --accent-pale: #e2f1e8;
  --accent-surligne: #bfe5cf;
  --rouge: #b3261e;
  --bord: #d7d2c8;
  --largeur: 1260px;
  --entete: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 16px); }
body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--encre);
  background: var(--papier);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0 0 20px; line-height: 1.08; letter-spacing: -.03em; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.4rem; letter-spacing: -.02em; }
p { margin: 0 0 18px; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 16px; }
.repere { margin: 0 0 18px; color: var(--bleu); font-size: .85rem; font-weight: 500; letter-spacing: .06em; }
.evitement { position: absolute; left: 16px; top: -100px; z-index: 50; padding: 10px 16px; background: var(--encre); color: #fff; }
.evitement:focus { top: 12px; }

/* Apparition au défilement (classe posée par js/site.js) */
.js .apparition { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .apparition.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .apparition { opacity: 1; transform: none; transition: none; }
}

/* Bandeau d'informations */
.bandeau-infos { background: var(--encre); color: #c5c8cf; font-size: .85rem; }
.bandeau-infos__ligne { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-top: 8px; padding-bottom: 8px; }
.bandeau-infos p { margin: 0; }
.bandeau-infos a { color: #fff; text-decoration: none; }
.bandeau-infos a:hover { color: var(--accent-clair); }
.sep { display: inline-block; width: 1px; height: 12px; margin: 0 14px; background: #4a4d55; vertical-align: middle; }

/* En-tête : collant, se cache en descendant et revient en remontant */
.entete { position: sticky; top: 0; z-index: 20; background: rgba(244, 242, 238, .94); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: transform .4s, border-color .4s; }
.entete.cache { transform: translateY(-100%); }
.entete.reduit { border-color: var(--bord); }
.entete__barre { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--entete); }
.logo { display: flex; align-items: center; gap: 12px; color: var(--encre); text-decoration: none; }
.logo__marque { flex: none; width: 44px; height: 44px; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.logo:hover .logo__marque { transform: translateY(-3px); }
.logo__nom { display: flex; flex-direction: column; color: var(--bleu); font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; line-height: 1; }
.logo__nom small { margin-top: 5px; font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--encre); }
.logo--clair .logo__nom { color: #fff; }
.logo--clair .logo__nom small { color: #9ea2ab; }
.menu { display: flex; align-items: center; gap: 30px; }
.menu a { color: var(--encre); font-weight: 500; text-decoration: none; transition: color .2s; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--bleu); }
.menu .menu__devis { padding: 11px 18px; background: var(--encre); color: var(--papier); transition: background .25s; }
.menu .menu__devis:hover, .menu .menu__devis[aria-current="page"] { background: var(--bleu); color: #fff; }
.menu-bouton { display: none; }

/* Boutons */
.boutons { display: flex; flex-wrap: wrap; gap: 14px; }
.bouton {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 17px 30px;
  border: 0;
  background: var(--bleu);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
}
.bouton[hidden] { display: none; }
.bouton::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--encre); transform: translateX(-101%); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.bouton:hover::before { transform: none; }
.bouton--contour { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 2px var(--encre); }
.bouton--contour:hover { color: #fff; }
.bouton--accent { background: var(--accent); color: #fff; }
.bouton--accent::before { background: var(--accent-fonce); }

/* Accueil */
.accueil { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; min-height: calc(100vh - var(--entete) - 36px); padding-top: 48px; padding-bottom: 72px; }
.accueil h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); }
.contour { color: transparent; -webkit-text-stroke: 2px var(--encre); }
.surligne { background: linear-gradient(transparent 62%, var(--accent-surligne) 62%, var(--accent-surligne) 92%, transparent 92%) no-repeat 0 0 / 0% 100%; animation: surligne 1.2s .6s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes surligne { to { background-size: 100% 100%; } }
.accueil__chapo { max-width: 560px; margin-bottom: 34px; color: var(--doux); font-size: 1.12rem; }
.garanties { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 36px 0 0; padding: 26px 0 0; list-style: none; border-top: 1px solid var(--bord); font-weight: 500; font-size: .95rem; }
.garanties li { display: flex; align-items: center; gap: 10px; }
.garanties svg, .publics svg { width: 24px; height: 24px; fill: none; stroke: var(--bleu); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.accueil__visuel { position: relative; }
.devoile { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 50%; clip-path: inset(0 0 100% 0); animation: devoile 1.4s .2s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes devoile { to { clip-path: inset(0 0 0 0); } }
.badge-rond { position: absolute; left: -64px; top: 40px; width: 150px; height: 150px; border-radius: 50%; background: var(--accent); animation: tourne 18s linear infinite; }
.badge-rond text { font-size: 15px; font-weight: 600; text-transform: uppercase; fill: #fff; }
@keyframes tourne { to { transform: rotate(360deg); } }

/* Bande défilante */
.defilant { overflow: hidden; padding: 20px 0; background: var(--bleu); color: #fff; }
.defilant__piste { display: flex; width: max-content; animation: defile 45s linear infinite; }
.defilant span { padding: 0 26px; font-size: 1.15rem; font-weight: 500; white-space: nowrap; }
.defilant span::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 52px; background: var(--accent-clair); vertical-align: middle; }
@keyframes defile { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .surligne { animation: none; background-size: 100% 100%; }
  .devoile { animation: none; clip-path: none; }
  .badge-rond, .defilant__piste { animation: none; }
}

/* Sections */
.section { padding: 120px 0; }
.section--pierre { background: var(--pierre); }
.entete-section { max-width: 860px; margin-bottom: 56px; }
.entete-section__texte { color: var(--doux); font-size: 1.1rem; }

/* Grille des métiers */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 270px; gap: 16px; }
.tuile { position: relative; overflow: hidden; color: #fff; text-decoration: none; background: var(--encre); }
.tuile--grande { grid-column: span 2; grid-row: span 2; }
.tuile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: transform 1s cubic-bezier(.2, .7, .2, 1), opacity .5s; }
.tuile:hover img { transform: scale(1.08); opacity: .6; }
.tuile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(21, 23, 28, .88)); }
.tuile__num { position: absolute; z-index: 1; top: 18px; left: 20px; padding: 2px 10px; background: var(--accent); color: #fff; font-weight: 700; font-size: .85rem; }
.tuile__corps { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; }
.tuile__corps strong { display: block; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.15; }
.tuile--grande .tuile__corps strong { font-size: 2.2rem; }
.tuile__corps span { display: block; margin-top: 6px; opacity: 0; transform: translateY(10px); font-size: .95rem; transition: opacity .4s, transform .4s; }
.tuile:hover .tuile__corps span, .tuile:focus-visible .tuile__corps span { opacity: .92; transform: none; }
.tuile--texte { display: flex; flex-direction: column; justify-content: space-between; padding: 28px 30px; background: var(--accent); color: #fff; }
.tuile--texte::after { display: none; }
.tuile--texte p { margin: 0; font-size: 1.12rem; font-weight: 500; line-height: 1.4; }
.tuile__lien { font-weight: 700; }
.tuile--texte { transition: background .35s; }
.tuile--texte:hover { background: var(--bleu); }
.tuile--texte:hover .tuile__lien { text-decoration: underline; }
.bento .tuile:nth-child(2) { transition-delay: .08s; }
.bento .tuile:nth-child(3) { transition-delay: .16s; }
.bento .tuile:nth-child(4) { transition-delay: .24s; }
.bento .tuile:nth-child(5) { transition-delay: .32s; }

/* Détail des métiers */
.section--detail { padding-top: 0; }
.detail { display: grid; grid-template-columns: 90px 1.4fr 1fr; gap: 40px; padding: 48px 0; border-top: 2px solid var(--encre); }
.detail:last-child { border-bottom: 2px solid var(--encre); }
.detail__num { color: var(--bleu); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.detail p { color: var(--doux); }
.detail ul { margin: 0; padding: 0; list-style: none; align-self: start; }
.detail li { padding: 10px 0; border-bottom: 1px solid var(--bord); font-weight: 500; }
.detail li::before { content: "\2192"; margin-right: 10px; color: var(--accent); }

/* Publics */
.publics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.public { padding: 36px 32px; background: var(--papier); border-top: 4px solid var(--bleu); transition: transform .35s, box-shadow .35s; }
.public:hover { transform: translateY(-6px); box-shadow: 10px 10px 0 var(--bleu); }
.public svg { width: 44px; height: 44px; margin-bottom: 22px; stroke-width: 1.6; }
.public p { margin: 0; color: var(--doux); }

/* Entreprise */
.section--bleu { background: var(--bleu); color: #d8def0; }
.section--bleu .repere { color: var(--accent-clair); }
.section--bleu h2 { color: #fff; }
.entreprise { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.entreprise__colonnes { display: grid; gap: 4px; margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .25); }
.entreprise__photo { margin: 0; }
.entreprise__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 14px 14px 0 var(--accent); }
.entreprise__photo figcaption { margin-top: 26px; color: #b7c0dd; font-size: .9rem; }

/* Méthode */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; }
.etapes li { position: relative; padding-top: 32px; border-top: 2px solid var(--encre); }
.etapes li::before { content: ""; position: absolute; top: -2px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 1.2s .3s cubic-bezier(.2, .7, .2, 1); }
.etapes li.visible::before { width: 100%; }
.etapes__num { display: block; margin-bottom: 16px; color: var(--bleu); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.etapes h3 { font-size: 1.25rem; }
.etapes p { margin: 0; color: var(--doux); font-size: .98rem; }
.etapes li:nth-child(2) { transition-delay: .1s; }
.etapes li:nth-child(3) { transition-delay: .2s; }
.etapes li:nth-child(4) { transition-delay: .3s; }

/* Engagements : grille qui s'adapte à toutes les largeurs */
.engagements { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.engagement { padding: 34px 30px; background: var(--papier); border: 1px solid var(--bord); transition: transform .35s, box-shadow .35s; }
.engagement:hover { transform: translateY(-6px); box-shadow: 10px 10px 0 var(--bleu); }
.engagement span { display: inline-grid; place-content: center; width: 46px; height: 46px; margin-bottom: 24px; background: var(--accent); color: #fff; font-weight: 700; }
.engagement h3 { font-size: 1.25rem; }
.engagement p { margin: 0; color: var(--doux); }

/* Suivi de chantier */
.suivi { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.suivi p { color: var(--doux); margin-bottom: 30px; }
.suivi__liste { margin: 0; padding: 0; list-style: none; counter-reset: suivi; }
.suivi__liste li { position: relative; padding: 24px 0 24px 64px; border-top: 1px solid var(--bord); color: var(--doux); counter-increment: suivi; }
.suivi__liste li:last-child { border-bottom: 1px solid var(--bord); }
.suivi__liste li::before { content: counter(suivi, decimal-leading-zero); position: absolute; left: 0; top: 24px; display: grid; place-content: center; width: 40px; height: 40px; background: var(--encre); color: var(--accent-clair); font-size: .85rem; font-weight: 700; transition: background .3s; }
.suivi__liste li:hover::before { background: var(--bleu); }
.suivi__liste strong { display: block; margin-bottom: 4px; color: var(--encre); font-size: 1.15rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq__intro { color: var(--doux); }
.faq__intro a { color: var(--bleu); font-weight: 600; }
.faq details { border-top: 2px solid var(--encre); }
.faq details:last-child { border-bottom: 2px solid var(--encre); }
.faq summary { position: relative; padding: 22px 56px 22px 0; font-size: 1.15rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: linear-gradient(var(--bleu), var(--bleu)) center / 100% 2px no-repeat, linear-gradient(var(--bleu), var(--bleu)) center / 2px 100% no-repeat; transition: transform .35s; }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { margin: 0 0 24px; color: var(--doux); }

/* Appel à l'action */
.appel { padding: 130px 0; background: var(--encre); color: #b8bcc5; }
.appel h2 { color: #fff; }
.appel .repere { color: var(--accent-clair); }
.appel__grille { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; }
.appel__grille p { max-width: 560px; margin-bottom: 30px; }
.appel__tel { display: inline-block; margin-bottom: 12px; color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; letter-spacing: -.03em; text-decoration: none; background: linear-gradient(var(--accent-clair), var(--accent-clair)) 0 100% / 0 4px no-repeat; transition: background-size .45s; }
.appel__tel:hover { background-size: 100% 4px; }
.appel__mail { display: block; margin-bottom: 10px; color: #fff; font-size: 1.15rem; }
.appel__bloc p { margin: 0; }

/* Pied de page */
.pied { padding: 80px 0 0; background: #0e0f13; color: #9ea2ab; font-size: .95rem; }
.pied__grille { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.pied__marque p { max-width: 360px; margin-top: 22px; }
.pied h2 { margin-bottom: 18px; color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.pied nav a, .pied__grille > div > a { display: block; margin-bottom: 10px; color: #c5c8cf; text-decoration: none; }
.pied a:hover { color: var(--accent-clair); }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid #262930; font-size: .85rem; }
.pied__bas p { margin: 0; }
.pied__bas a { margin-left: 20px; color: #c5c8cf; text-decoration: none; }
.pied__bas a:first-child { margin-left: 0; }

/* Pages intérieures (devis, mentions légales) */
.page-titre { padding: 72px 0 56px; border-bottom: 1px solid var(--bord); }
.page-titre h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.page-titre p { max-width: 720px; margin: 0; color: var(--doux); font-size: 1.12rem; }
.fil { display: flex; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; font-size: .9rem; color: var(--doux); }
.fil li + li::before { content: "/"; margin-right: 8px; color: var(--bord); }
.fil a { color: var(--bleu); text-decoration: none; }

.texte-legal { max-width: 820px; padding-top: 64px; padding-bottom: 120px; }
.texte-legal h2 { margin-top: 56px; font-size: 1.8rem; }
.texte-legal h3 { margin-top: 32px; font-size: 1.2rem; }
.texte-legal p, .texte-legal li { color: var(--doux); }
.texte-legal a { color: var(--bleu); }
.texte-legal .a-completer { padding: 1px 6px; background: var(--accent-pale); color: var(--encre); }
.texte-legal table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.texte-legal th, .texte-legal td { padding: 10px 8px; border-bottom: 1px solid var(--bord); text-align: left; vertical-align: top; }

/* Formulaire de devis */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.devis { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; padding-top: 56px; padding-bottom: 120px; }
.formulaire, .confirmation { padding: 48px; background: var(--blanc); border: 1px solid var(--bord); }
.progression { margin-bottom: 40px; }
.progression__barre { height: 4px; background: var(--pierre); }
.progression__barre span { display: block; width: 20%; height: 100%; background: var(--bleu); transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.progression__etapes { display: grid; grid-template-columns: repeat(5, 1fr); margin: 14px 0 0; padding: 0; list-style: none; color: var(--doux); font-size: .82rem; font-weight: 500; }
.progression__etapes li.actif { color: var(--bleu); font-weight: 700; }
.progression__etapes li.fait { color: var(--encre); }
.progression__etapes li.fait::before { content: "\2713\00a0"; color: var(--accent); }
.etape { margin: 0; padding: 0; border: 0; min-width: 0; animation: fondu .45s ease; }
@keyframes fondu { from { opacity: 0; transform: translateX(16px); } }
.etape legend { display: block; margin-bottom: 32px; padding: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.etape legend span { display: block; margin-bottom: 8px; color: var(--bleu); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.etape__intro { color: var(--doux); }
.champ { margin-bottom: 28px; }
.champ__libelle { display: block; margin: 0 0 10px; font-weight: 600; }
.champ__libelle em { color: var(--doux); font-style: normal; font-weight: 400; }
abbr[title] { color: var(--rouge); text-decoration: none; }
.champ input[type="text"], .champ input[type="email"], .champ input[type="tel"], .champ input[type="number"], .champ select, .champ textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--bord);
  border-radius: 0;
  background: var(--papier);
  color: var(--encre);
  font: inherit;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.champ select { appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--encre) 50%), linear-gradient(135deg, var(--encre) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.champ textarea { resize: vertical; min-height: 170px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--bleu); background-color: var(--blanc); box-shadow: 0 0 0 3px var(--bleu-pale); }
.champ [aria-invalid="true"] { border-color: var(--rouge); background-color: #fdf3f2; }
.champ__aide { margin: 8px 0 0; color: var(--doux); font-size: .88rem; }
.champ__erreur { margin: 8px 0 0; color: var(--rouge); font-size: .9rem; font-weight: 500; }
.champ__erreur:empty { display: none; }
.champ__unite { position: relative; }
.champ__unite span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--doux); pointer-events: none; }
.grille-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.choix-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.carte-choix, .choix-pastilles label { position: relative; cursor: pointer; }
.carte-choix input, .choix-pastilles input, .case input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.carte-choix > span { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 18px 16px; border: 1px solid var(--bord); background: var(--papier); font-weight: 500; line-height: 1.3; transition: border-color .2s, background .2s, box-shadow .2s; }
.carte-choix svg { width: 26px; height: 26px; fill: none; stroke: var(--bleu); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.carte-choix:hover > span { border-color: var(--encre); }
.carte-choix input:checked + span { border-color: var(--bleu); background: var(--bleu-pale); box-shadow: inset 0 0 0 1px var(--bleu); }
.carte-choix input:checked + span::after { content: "\2713"; position: absolute; top: 12px; right: 14px; display: grid; place-content: center; width: 22px; height: 22px; background: var(--bleu); color: #fff; font-size: .8rem; }
.carte-choix input:focus-visible + span, .choix-pastilles input:focus-visible + span, .case input:focus-visible + span::before { outline: 3px solid var(--accent); outline-offset: 2px; }
.choix-pastilles { display: flex; flex-wrap: wrap; gap: 10px; }
.choix-pastilles span { display: inline-block; padding: 11px 18px; border: 1px solid var(--bord); background: var(--papier); font-weight: 500; transition: border-color .2s, background .2s, color .2s; }
.choix-pastilles label:hover span { border-color: var(--encre); }
.choix-pastilles input:checked + span { border-color: var(--encre); background: var(--encre); color: #fff; }
.groupe-invalide .carte-choix > span, .groupe-invalide label > span { border-color: var(--rouge); }
.case { display: flex; gap: 14px; cursor: pointer; }
.case > span { position: relative; padding-left: 38px; color: var(--doux); font-size: .95rem; }
.case > span::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border: 1px solid var(--encre); background: var(--blanc); }
.case input:checked + span::before { background: var(--bleu); border-color: var(--bleu); box-shadow: inset 0 0 0 4px var(--blanc); }
.case input[aria-invalid="true"] + span::before { border-color: var(--rouge); }
.case a { color: var(--bleu); }
.champ--piege { position: absolute; left: -9999px; }
.formulaire__actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--bord); }
.formulaire__actions #suivant, .formulaire__actions #envoyer { margin-left: auto; }
.formulaire__mention { margin: 18px 0 0; color: var(--doux); font-size: .85rem; }
.recapitulatif { display: grid; grid-template-columns: 220px 1fr; margin: 0; border-top: 1px solid var(--bord); }
.recapitulatif dt, .recapitulatif dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--bord); }
.recapitulatif dt { color: var(--doux); font-size: .92rem; }
.recapitulatif dd { font-weight: 500; white-space: pre-line; }
.recapitulatif .recap-titre { display: flex; justify-content: space-between; grid-column: 1 / -1; padding-top: 24px; color: var(--bleu); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.recapitulatif .recap-titre button { padding: 0; border: 0; background: none; color: var(--encre); font: inherit; font-size: .85rem; letter-spacing: 0; text-transform: none; text-decoration: underline; cursor: pointer; }
.confirmation { text-align: center; }
.confirmation > svg { width: 72px; height: 72px; margin: 0 auto 24px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.confirmation p { max-width: 560px; margin-left: auto; margin-right: auto; color: var(--doux); }
.confirmation__secours { margin: 32px 0; padding: 28px; background: var(--papier); }
.confirmation__secours a { color: var(--bleu); }
.confirmation__copie { margin: 12px 0 0; color: var(--accent); font-weight: 600; }
.devis__aparte { position: sticky; top: calc(var(--entete) + 24px); display: grid; gap: 20px; }
.aparte__bloc { padding: 32px; background: var(--encre); color: #b8bcc5; }
.aparte__bloc h2 { color: #fff; font-size: 1.3rem; }
.aparte__bloc ol { margin: 0; padding: 0; list-style: none; counter-reset: aparte; }
.aparte__bloc li { position: relative; padding: 0 0 18px 44px; counter-increment: aparte; font-size: .92rem; }
.aparte__bloc li::before { content: counter(aparte); position: absolute; left: 0; top: 0; display: grid; place-content: center; width: 28px; height: 28px; background: var(--accent); color: #fff; font-weight: 700; font-size: .85rem; }
.aparte__bloc strong { display: block; color: #fff; }
.aparte__garanties { margin: 0; padding: 24px 28px; list-style: none; background: var(--blanc); border: 1px solid var(--bord); }
.aparte__garanties li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-weight: 500; font-size: .95rem; }
.aparte__garanties svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--bleu); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aparte__contact { padding: 24px 28px; background: var(--bleu); color: #d8def0; }
.aparte__contact p { margin: 0 0 6px; }
.aparte__contact a { display: block; color: #fff; font-size: 1.6rem; font-weight: 700; text-decoration: none; }
.aparte__contact span { font-size: .88rem; }

/* Tablette */
@media (max-width: 1080px) {
  .menu { gap: 20px; }
  .pied__grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .accueil, .faq, .appel__grille, .suivi, .entreprise { grid-template-columns: 1fr; }
  .accueil { min-height: 0; }
  .devoile { aspect-ratio: 16 / 11; }
  .badge-rond { top: auto; left: auto; right: 16px; bottom: -40px; width: 120px; height: 120px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 230px; }
  .detail { grid-template-columns: 60px 1fr; }
  .detail ul { grid-column: 2; }
  .etapes { grid-template-columns: 1fr 1fr; }
  .publics { grid-template-columns: 1fr 1fr; }
  .devis { grid-template-columns: 1fr; }
  .devis__aparte { position: static; }
  .tuile__corps span { opacity: .92; transform: none; }
}

/* Mobile */
@media (max-width: 860px) {
  .menu-bouton { display: block; position: relative; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
  .menu-bouton span, .menu-bouton span::before, .menu-bouton span::after { content: ""; position: absolute; left: 10px; width: 24px; height: 2px; background: var(--encre); transition: transform .3s; }
  .menu-bouton span { top: 21px; }
  .menu-bouton span::before { left: 0; top: -7px; }
  .menu-bouton span::after { left: 0; top: 7px; }
  .menu-bouton[aria-expanded="true"] span { background: transparent; }
  .menu-bouton[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
  .menu-bouton[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--papier); border-bottom: 1px solid var(--bord); }
  .menu.ouvert { display: flex; }
  .menu a { padding: 14px 0; border-bottom: 1px solid var(--bord); }
  .menu .menu__devis { margin-top: 14px; text-align: center; }
}
@media (max-width: 640px) {
  .bandeau-infos__ligne > p:first-child { display: none; }
  .section, .appel { padding: 80px 0; }
  .bento { grid-template-columns: 1fr; }
  .tuile--grande { grid-column: auto; grid-row: auto; }
  .detail { grid-template-columns: 1fr; gap: 16px; }
  .detail ul { grid-column: auto; }
  .etapes, .publics, .pied__grille { grid-template-columns: 1fr; }
  .badge-rond { width: 100px; height: 100px; bottom: -30px; }
  .bouton { width: 100%; text-align: center; }
  .formulaire, .confirmation { padding: 28px 20px; }
  .tuile--grande .tuile__corps strong { font-size: 1.7rem; }
  .grille-champs { grid-template-columns: 1fr; }
  .choix-cartes { grid-template-columns: 1fr 1fr; }
  .progression__etapes { grid-template-columns: 1fr; }
  .progression__etapes li:not(.actif) { display: none; }
  .recapitulatif { grid-template-columns: 1fr; }
  .recapitulatif dt { padding-bottom: 0; border-bottom: 0; }
  .formulaire__actions .bouton { width: auto; }
}
