/* 3D Maine-et-Loire — direction « Remplissage »
   L'impression 3D montrée par l'intérieur des pièces : les trames de remplissage (nid d'abeille, gyroïde,
   grille, triangles) et leur densité. Les trames font les fonds, les filets et les figures.
   Couleurs : papier, encre, un seul orange de filament (et sa version foncée pour le texte).
   Polices : Funnel Display (titres), Host Grotesk (texte), Fragment Mono (réglages, repères, légendes).
   Mise en page : colonne large à 12 pas, texte calé à gauche, figures techniques à droite, filets fins,
   angles vifs ; une section sombre « coupe de pièce » porte l'animation maîtresse. */
@font-face { font-family: "Funnel Display"; src: url("/assets/fonts/funnel-display-latin-wght-normal.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("/assets/fonts/host-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fragment Mono"; src: url("/assets/fonts/fragment-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --papier: #f4f2ed;
  --blanc: #fffefb;
  --encre: #15181c;
  --gris: #555a62;
  --trait: #d6d2c7;
  --orange: #f2591a;
  --orange-fonce: #b23c07;
  --titre: "Funnel Display", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --texte: "Host Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "Fragment Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --m-accent: #f2591a;
  --m-fil-1: #15181c;
  --marge: clamp(18px, 4.5vw, 56px);
  --large: 1240px;
  /* trames : une tuile par motif, en filet fin */
  --t-grille: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M0 0l24 24M24 0L0 24' stroke='%2315181c' stroke-opacity='.13' fill='none'/%3E%3C/svg%3E");
  --t-grille-claire: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M0 0l24 24M24 0L0 24' stroke='%23f4f2ed' stroke-opacity='.1' fill='none'/%3E%3C/svg%3E");
  --t-lignes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M-3 3l6-6M0 12L12 0M9 15l6-6' stroke='%23f2591a' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
  --t-nid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34.64' height='60' viewBox='0 0 34.64 60'%3E%3Cpath d='M17.32 0v10L0 20v20l17.32 10v10M17.32 10l17.32 10v20L17.32 50' stroke='%2315181c' stroke-opacity='.13' fill='none'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--papier); color: var(--encre); font-family: var(--texte); font-size: 1.0625rem; line-height: 1.62; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--orange-fonce); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--titre); font-weight: 600; line-height: 1.06; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 3rem); }
h3 { font-size: 1.28rem; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 650; }
.nb { white-space: nowrap; }
.page { width: 100%; max-width: calc(var(--large) + 2 * var(--marge)); margin: 0 auto; padding: 0 var(--marge); }
.passe { position: absolute; left: -999px; top: 0; background: var(--encre); color: #fff; padding: 12px 16px; z-index: 100; }
.passe:focus { left: 8px; top: 8px; }
.mono, .repere { font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; text-transform: uppercase; }
.repere { display: flex; align-items: center; gap: 10px; color: var(--gris); margin: 0 0 22px; }
.repere::before { content: ""; width: 26px; height: 12px; background: var(--t-lignes); flex: none; }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; background: var(--orange); color: var(--encre); font-family: var(--titre); font-weight: 600; font-size: 1.05rem; text-decoration: none; border: 2px solid var(--orange); cursor: pointer; }
.btn:hover { background: var(--encre); border-color: var(--encre); color: var(--blanc); }
.btn-trait { background: transparent; border-color: var(--encre); color: var(--encre); }
.btn-trait:hover { background: var(--encre); color: var(--blanc); }
.btn-petit { min-height: 44px; padding: 0 18px; font-size: .98rem; }
.sombre .btn-trait { border-color: var(--papier); color: var(--papier); }
.sombre .btn-trait:hover { background: var(--papier); color: var(--encre); }

/* en-tête */
.tete { position: sticky; top: 0; z-index: 50; background: var(--papier); border-bottom: 1px solid var(--trait); }
.tete .page { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--titre); font-weight: 650; font-size: 1.18rem; letter-spacing: -0.02em; color: var(--encre); white-space: nowrap; min-height: 44px; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo small { font-family: var(--mono); font-size: .68rem; font-weight: 400; color: var(--gris); letter-spacing: .04em; align-self: flex-start; margin: 6px 0 0 -6px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .96rem; padding: 12px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--orange); color: var(--encre); }
.tel-tete { font-family: var(--mono); font-size: .9rem; text-decoration: none; white-space: nowrap; padding: 12px 0; }
.menu-case { position: absolute; opacity: 0; pointer-events: none; }
.menu-bouton { display: none; }
@media (max-width: 1040px) {
  .tete .page { gap: 10px; min-height: 60px; }
  .tel-tete { display: none; }
  .menu-bouton { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; margin-left: auto; border: 1px solid var(--encre); font-family: var(--mono); font-size: .78rem; text-transform: uppercase; cursor: pointer; }
  .menu-bouton i { width: 16px; height: 10px; border-top: 2px solid var(--encre); border-bottom: 2px solid var(--encre); }
  .menu-case:focus-visible + .menu-bouton { outline: 3px solid var(--orange); outline-offset: 3px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--papier); border-bottom: 1px solid var(--encre); padding: 6px var(--marge) 16px; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--trait); font-size: 1.05rem; }
  .menu-case:checked ~ .nav { display: flex; }
  .logo { font-size: 1.04rem; gap: 8px; }
  .logo svg { width: 30px; height: 30px; }
  .logo small { display: none; }
}
@media (max-width: 520px) { .tete .btn-petit { display: none; } }

/* premier écran */
.ouverture { padding: clamp(28px, 5vw, 64px) 0 0; position: relative; }
.ouv-grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr); gap: clamp(28px, 5vw, 76px); align-items: end; }
.ouv-texte { padding-bottom: clamp(24px, 4vw, 56px); }
.ouverture h1 em { font-style: normal; color: var(--orange-fonce); }
.chapo { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.55; max-width: 38em; margin: 26px 0 30px; color: #2b2f35; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ouv-vue { position: relative; margin: 0; }
.ouv-vue img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ouv-tuile { position: absolute; left: -44px; bottom: 34px; width: 150px; height: 150px; background: var(--encre); padding: 14px; }
.ouv-tuile svg { width: 100%; height: 100%; }
.ouv-tuile + figcaption { position: absolute; left: -44px; bottom: 8px; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; background: var(--papier); padding: 3px 8px 3px 0; }
.faits { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--encre); border-bottom: 1px solid var(--encre); margin: 0; }
.faits div { padding: 20px 22px 22px 0; border-left: 1px solid var(--trait); padding-left: 22px; }
.faits div:first-child { border-left: 0; padding-left: 0; }
.faits dt { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; color: var(--gris); margin-bottom: 4px; }
.faits dd { margin: 0; font-family: var(--titre); font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.7rem); letter-spacing: -0.02em; line-height: 1.15; }
.fil { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 26px; font-family: var(--mono); font-size: .78rem; text-transform: uppercase; color: var(--gris); }
.fil li + li::before { content: "/"; margin-right: 8px; color: var(--orange-fonce); }
.fil a { padding: 8px 0; display: inline-block; }
@media (max-width: 860px) {
  .ouv-grille { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .ouv-texte { padding-bottom: 0; }
  .ouv-vue img { aspect-ratio: 5 / 4; }
  .ouv-tuile { left: auto; right: 12px; bottom: 12px; width: 96px; height: 96px; padding: 9px; }
  .ouv-tuile + figcaption { position: static; padding: 8px 0 0; background: none; }
  .faits { grid-template-columns: 1fr 1fr; margin-top: 26px; }
  .faits div { padding: 14px 10px 14px 14px; }
  .faits div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .faits div:nth-child(n+3) { border-top: 1px solid var(--trait); }
  .actions .btn { flex: 1 1 100%; }
}

/* sections */
.bloc { padding: clamp(60px, 9vw, 128px) 0; }
.bloc-serre { padding: clamp(44px, 6vw, 84px) 0; }
.entete { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(28px, 5vw, 76px); align-items: end; margin-bottom: clamp(30px, 4.5vw, 60px); }
.entete p { color: #2b2f35; max-width: 34em; }
.entete .repere { grid-column: 1 / -1; margin-bottom: 0; }
@media (max-width: 860px) { .entete { grid-template-columns: minmax(0, 1fr); } }
.blanc { background: var(--blanc); }
.trame { background-image: var(--t-grille); }
.sombre { background: var(--encre); color: var(--papier); }
.sombre .repere, .sombre .mono { color: #b9bcc2; }
.sombre .entete p { color: #d9dade; }
.sombre a:hover { color: var(--orange); }
.regle { width: 100%; height: 34px; color: var(--encre); }
.sombre .regle, .pied .regle { color: var(--orange); }

/* prestations */
.presta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 76px); align-items: start; }
.presta-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--encre); }
.presta-liste li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--trait); }
.presta-liste h3 { font-size: 1.2rem; }
.presta-liste p { color: #2b2f35; font-size: 1rem; }
.presta-vues { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: sticky; top: 96px; }
.presta-vues figure { margin: 0; }
.presta-vues figure:first-child { grid-column: 1 / -1; }
.presta-vues img { width: 100%; object-fit: cover; }
.presta-vues figure:first-child img { aspect-ratio: 4 / 3; }
.presta-vues figure:not(:first-child) img { aspect-ratio: 3 / 4; }
.presta-trame { background: var(--encre); aspect-ratio: 3 / 4; padding: 18px; display: flex; align-items: center; }
.presta-trame svg { width: 100%; height: auto; }
figcaption { font-family: var(--mono); font-size: .74rem; line-height: 1.45; color: var(--gris); padding-top: 8px; }
.sombre figcaption { color: #b9bcc2; }
@media (max-width: 860px) {
  .presta { grid-template-columns: minmax(0, 1fr); }
  .presta-liste li { grid-template-columns: minmax(0, 1fr); }
  .presta-vues { position: static; }
}

/* la coupe : animation maîtresse */
.coupe { display: grid; grid-template-columns: minmax(0, 6.4fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.coupe-vue { position: sticky; top: 92px; margin: 0; }
.coupe-vue svg { width: 100%; height: auto; overflow: visible; }
.coupe-vue .peau { fill: none; stroke: var(--papier); stroke-width: 2.5; }
.coupe-vue .peau-2 { stroke-width: 1.2; opacity: .55; }
.coupe-vue .fils line { stroke: var(--orange); stroke-width: 1.6; }
.coupe-vue .plein { fill: var(--orange); }
.coupe-jauge { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 1px solid #3a3e45; margin-top: 18px; padding-top: 12px; }
.coupe-jauge b { font-family: var(--titre); font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -0.03em; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.coupe-pas { list-style: none; margin: 0; padding: 0; }
.coupe-pas li { padding: 26px 0 26px 22px; border-left: 2px solid #3a3e45; min-height: 38vh; }
.coupe-pas li.actif { border-left-color: var(--orange); }
.coupe-pas .mono { color: var(--orange); display: block; margin-bottom: 8px; font-size: .86rem; }
.coupe-pas h3 { font-size: 1.5rem; margin-bottom: 10px; }
.coupe-pas p { color: #d9dade; }
@media (max-width: 860px) {
  .coupe { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .coupe-vue { top: 60px; z-index: 5; background: var(--encre); padding: 12px 0 10px; margin: 0 calc(-1 * var(--marge)); padding-left: var(--marge); padding-right: var(--marge); border-bottom: 1px solid #3a3e45; }
  .coupe-vue svg { max-height: 30vh; margin: 0 auto; }
  .coupe-jauge { margin-top: 8px; padding-top: 8px; }
  .coupe-jauge b { font-size: 1.7rem; }
  .coupe-vue .fils line { stroke-width: 2.4; }
  .coupe-vue .peau { stroke-width: 3.4; }
  .coupe-vue .peau-2 { stroke-width: 1.8; }
  .coupe-pas li { min-height: 0; padding: 22px 0 30px 18px; }
}

/* les quatre motifs */
.motifs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--encre); border-left: 1px solid var(--trait); }
.motifs article { border-right: 1px solid var(--trait); border-bottom: 1px solid var(--trait); padding: 22px; background: var(--blanc); }
.motifs svg { width: 100%; aspect-ratio: 1; background: var(--papier); margin-bottom: 18px; }
.motifs svg path { fill: none; stroke: var(--encre); stroke-width: 1.6; }
.motifs article:hover svg path { stroke: var(--orange-fonce); }
.motifs h3 { margin-bottom: 8px; }
.motifs p { font-size: .98rem; color: #2b2f35; }
@media (max-width: 980px) { .motifs { grid-template-columns: 1fr 1fr; } .motifs article { padding: 14px; } }
@media (max-width: 480px) { .motifs h3 { font-size: 1.08rem; } .motifs p { font-size: .92rem; } }

/* matières */
.bandeau-photo { margin: 0 0 clamp(26px, 4vw, 48px); }
.bandeau-photo img { width: 100%; aspect-ratio: 16 / 5; object-fit: cover; }
.tableau { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tableau caption { display: block; text-align: left; font-family: var(--mono); font-size: .76rem; text-transform: uppercase; color: var(--gris); padding-bottom: 10px; }
.tableau th, .tableau td { text-align: left; vertical-align: top; padding: 15px 18px 15px 0; border-bottom: 1px solid var(--trait); }
.tableau thead th { font-family: var(--mono); font-size: .74rem; font-weight: 400; text-transform: uppercase; color: var(--gris); border-bottom: 1px solid var(--encre); padding-bottom: 10px; }
.tableau tbody th { font-family: var(--titre); font-weight: 600; font-size: 1.14rem; line-height: 1.25; min-width: 9em; max-width: 17em; }
@media (max-width: 700px) {
  .tableau thead { position: absolute; left: -9999px; }
  .tableau, .tableau tbody, .tableau tr, .tableau th, .tableau td { display: block; }
  .tableau tr { padding: 14px 0; border-bottom: 1px solid var(--trait); }
  .tableau th, .tableau td { border: 0; padding: 2px 0; white-space: normal; }
  .tableau td[data-t]::before { content: attr(data-t) " : "; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; color: var(--gris); }
}

/* déroulé */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: e; border-top: 1px solid var(--encre); }
.etapes li { counter-increment: e; padding: 22px 24px 8px 0; border-right: 1px solid var(--trait); padding-left: 24px; }
.etapes li:first-child { padding-left: 0; }
.etapes li:last-child { border-right: 0; }
.etapes li::before { content: "0" counter(e); font-family: var(--mono); font-size: .86rem; color: var(--orange-fonce); display: block; margin-bottom: 14px; }
.etapes h3 { margin-bottom: 8px; }
.etapes p { font-size: 1rem; color: #2b2f35; }
.etapes-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .etapes, .etapes-3 { grid-template-columns: minmax(0, 1fr); }
  .etapes li, .etapes li:first-child { border-right: 0; border-bottom: 1px solid var(--trait); padding: 18px 0 20px; }
}
.duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(26px, 5vw, 76px); align-items: center; }
.duo.inverse > :first-child { order: 2; }
.duo figure { margin: 0; }
.duo img { width: 100%; object-fit: cover; max-height: 620px; }
.duo h2 { margin-bottom: 22px; }
@media (max-width: 860px) { .duo { grid-template-columns: minmax(0, 1fr); } .duo.inverse > :first-child { order: 0; } .duo img { max-height: 420px; } }

/* villes */
.villes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--encre); }
.villes li { border-bottom: 1px solid var(--trait); }
.villes a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 44px; gap: 6px 24px; align-items: center; padding: 20px 0; text-decoration: none; background-size: 0 0; }
.villes a:hover { color: var(--encre); background-image: var(--t-grille); background-size: 24px 24px; }
.villes b { font-family: var(--titre); font-weight: 600; font-size: clamp(1.3rem, 2.3vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.15; }
.villes span { color: #2b2f35; font-size: 1rem; }
.villes i { width: 44px; height: 14px; background: var(--t-lignes); justify-self: end; }
@media (max-width: 760px) { .villes a { grid-template-columns: 1fr 30px; padding: 16px 0; } .villes span { grid-column: 1; grid-row: 2; } .villes i { width: 30px; grid-row: 1 / 3; grid-column: 2; } }

/* réalisations */
.galerie { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.galerie figure { margin: 0; grid-column: span 3; }
.galerie figure.grand { grid-column: span 6; grid-row: span 2; }
.galerie img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #e6e3db; }
.galerie figure.grand img { aspect-ratio: auto; height: calc(100% - 46px); }
@media (max-width: 860px) { .galerie figure { grid-column: span 6; } .galerie figure.grand { grid-column: span 12; } .galerie figure.grand img { aspect-ratio: 1; height: auto; } }

/* avis */
.avis-liste { columns: 3 300px; column-gap: 18px; }
.avis-un { break-inside: avoid; margin: 0 0 18px; background: var(--blanc); border: 1px solid var(--trait); border-top: 3px solid var(--encre); padding: 24px 24px 20px; }
.avis-un blockquote { margin: 0 0 18px; font-size: 1.08rem; line-height: 1.55; }
.avis-un blockquote p { margin: 0; }
.avis-un figcaption { padding: 12px 0 0; border-top: 1px solid var(--trait); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: .74rem; }
.avis-un figcaption b { font-family: var(--titre); font-size: 1rem; font-weight: 600; color: var(--encre); letter-spacing: -0.01em; }

/* questions */
.faq { border-top: 1px solid var(--encre); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-family: var(--titre); font-weight: 600; font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; background: var(--t-lignes); background-size: 11px 11px; border: 1px solid var(--encre); }
.faq details[open] summary::after { background-size: 5.5px 5.5px; }
.faq details p { padding: 0 44px 22px 0; max-width: 46em; color: #2b2f35; }
.faq-duo { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(26px, 5vw, 76px); align-items: start; }
.faq-duo h2 { position: sticky; top: 100px; }
@media (max-width: 860px) { .faq-duo { grid-template-columns: minmax(0, 1fr); } .faq-duo h2 { position: static; } .faq details p { padding-right: 0; } }

/* formulaire */
.devis { display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 76px); align-items: start; }
.devis-info h2 { margin-bottom: 20px; }
.devis-info ul { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid #3a3e45; }
.devis-info li { padding: 14px 0; border-bottom: 1px solid #3a3e45; display: flex; gap: 14px; align-items: baseline; }
.devis-info li .mono { flex: 0 0 96px; }
.devis-info .gros { font-family: var(--titre); font-weight: 600; font-size: 1.5rem; text-decoration: none; letter-spacing: -0.01em; }
.formulaire { background: var(--blanc); color: var(--encre); padding: clamp(20px, 3.4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; border-top: 4px solid var(--orange); }
.formulaire .tout { grid-column: 1 / -1; }
.formulaire label { display: block; font-family: var(--mono); font-size: .76rem; text-transform: uppercase; margin-bottom: 7px; color: #2b2f35; }
.formulaire input[type=text], .formulaire input[type=email], .formulaire input[type=tel], .formulaire select, .formulaire textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--encre); background: var(--papier); border: 1px solid #8d9097; border-radius: 0; }
.formulaire textarea { min-height: 150px; resize: vertical; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--encre); }
.formulaire input[type=file] { width: 100%; font: inherit; font-size: .95rem; padding: 14px; background: var(--papier) var(--t-grille); border: 1px dashed var(--encre); min-height: 54px; }
.formulaire .aide { font-size: .88rem; color: var(--gris); margin: 6px 0 0; }
.formulaire .btn { width: 100%; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.erreur { display: none; grid-column: 1 / -1; background: #fde4d9; border-left: 4px solid var(--orange-fonce); padding: 14px 16px; color: #5c1f04; }
.erreur.visible { display: block; }
.donnees { font-size: .88rem; color: var(--gris); margin: 0; }
@media (max-width: 860px) { .devis { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .formulaire { grid-template-columns: 1fr; margin: 0 calc(-1 * var(--marge) + 8px); } }

/* pages de villes */
.prose { max-width: 44em; }
.prose h2 { margin-bottom: 24px; }
.prose h3 { margin: 28px 0 8px; }
.colonnes { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(22px, 5vw, 76px); align-items: start; }
@media (max-width: 860px) { .colonnes { grid-template-columns: minmax(0, 1fr); } }
.cas { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border-top: 1px solid var(--encre); }
.cas div { padding: 22px 26px 24px 0; border-bottom: 1px solid var(--trait); }
.cas div:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--trait); padding-right: 0; }
.cas dt { font-family: var(--titre); font-weight: 600; font-size: 1.22rem; letter-spacing: -0.01em; margin-bottom: 6px; display: flex; gap: 10px; align-items: baseline; }
.cas dt::before { content: ""; width: 12px; height: 12px; flex: none; background: var(--t-lignes); border: 1px solid var(--encre); transform: translateY(1px); }
.cas dd { margin: 0; color: #2b2f35; font-size: 1rem; }
@media (max-width: 700px) { .cas { grid-template-columns: minmax(0, 1fr); } .cas div, .cas div:nth-child(even) { padding: 18px 0; border-left: 0; } }
.voisins-bloc h2 { margin-bottom: 20px; }
.voisines { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 22px 0 0; }
.voisines a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border: 1px solid var(--encre); text-decoration: none; font-family: var(--titre); font-weight: 600; background: var(--blanc); }
.voisines a:hover { background: var(--encre); color: var(--blanc); }
.appel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; border: 1px solid var(--encre); background: var(--blanc) var(--t-grille); padding: clamp(20px, 3vw, 34px); margin-top: clamp(30px, 4vw, 52px); }
.appel p { font-family: var(--titre); font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.2; letter-spacing: -0.01em; margin: 0; max-width: 24em; }

/* pied */
.pied { background: var(--encre); color: #d9dade; font-size: .96rem; padding-bottom: 96px; }
.pied .page { padding-top: 46px; }
.pied-grille { display: grid; grid-template-columns: minmax(0, 3.6fr) minmax(0, 2.8fr) minmax(0, 4.8fr); gap: 34px clamp(26px, 5vw, 70px); padding-bottom: 36px; }
.pied h2 { font-family: var(--mono); font-weight: 400; font-size: .76rem; text-transform: uppercase; letter-spacing: .03em; color: #a9adb4; margin-bottom: 14px; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li a { display: inline-block; padding: 6px 0; }
.pied a { color: var(--papier); text-decoration-thickness: 1px; }
.pied a:hover { color: var(--orange); }
.pied .logo { color: var(--papier); margin-bottom: 14px; }
@media (min-width: 1100px) { .pied .deux { columns: 2; column-gap: 20px; } .pied .deux li { white-space: nowrap; break-inside: avoid; } }
.pied-bas { border-top: 1px solid #3a3e45; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between; font-family: var(--mono); font-size: .74rem; text-transform: uppercase; color: #a9adb4; }
.pied-bas a { padding: 8px 0; display: inline-block; }
@media (max-width: 860px) { .pied-grille { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 761px) { .pied { padding-bottom: 40px; } }

/* barre d'action sur téléphone */
.barre { display: none; }
@media (max-width: 760px) {
  .barre { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--encre); border-top: 1px solid #3a3e45; }
  .barre a { display: flex; align-items: center; justify-content: center; min-height: 54px; font-family: var(--titre); font-weight: 600; text-decoration: none; color: var(--papier); }
  .barre a + a { background: var(--orange); color: var(--encre); }
}

/* pages simples */
.simple { padding: clamp(48px, 8vw, 110px) 0; min-height: 56vh; }
.simple h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 24px; }
.simple h2 { font-size: 1.5rem; margin: 38px 0 12px; }
.simple .prose p { color: #2b2f35; }

/* kit d'animation commun */
.m [data-m-intro] { visibility: hidden; animation: m-secours 0s 1.2s forwards; }
@keyframes m-secours { to { visibility: visible; } }
.m-pret [data-m-intro] { visibility: visible; animation: none; }
.m-buse { position: absolute; left: 0; right: 0; height: 2px; top: 100%; background: var(--m-accent, #f97316); box-shadow: 0 0 14px 2px var(--m-accent, #f97316); pointer-events: none; z-index: 2; opacity: 0; }
.m-fil { position: fixed; left: 0; top: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--m-fil-1, #2563eb), var(--m-accent, #f97316)); z-index: 60; pointer-events: none; }
[data-m="aimant"] { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .m [data-m-intro] { visibility: visible; animation: none; } .m-fil, .m-buse { display: none; } }
@media print { .tete, .barre, .pied .regle { display: none; } }
