/* 3D Ille-et-Vilaine : direction « Tranches ».
   L'impression 3D vue par le trancheur : une pièce coupée en tranches, colorées selon le trait (paroi, remplissage, support).
   Mise en page : une colonne de texte à gauche, la visionneuse sombre collée à droite ; chaque section s'ouvre par trois traits.

   Couleurs    encre #14171B · papier #F5F4F0 · paroi (orange) #FF6B2C · remplissage (jaune) #F4C542 · support (vert) #2FBFA5
   Polices     titrage Hubot Sans · texte courant Geist · chiffres et légendes Azeret Mono */

@font-face { font-family: "Hubot Sans"; src: url("/assets/fonts/hubot-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Azeret Mono"; src: url("/assets/fonts/azeret-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --encre: #14171B;
  --encre-2: #1C2026;
  --encre-3: #2A3038;
  --papier: #F5F4F0;
  --blanc: #FFFFFF;
  --regle: #DAD7CE;
  --gris: #565C65;
  --gris-clair: #A7ADB6;
  --paroi: #FF6B2C;
  --paroi-fonce: #B93E0B;
  --rempli: #F4C542;
  --support: #2FBFA5;
  --support-fonce: #0C6F62;
  --titre: "Hubot Sans", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --texte: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Azeret Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --marge: clamp(18px, 4.4vw, 64px);
  --large: 1320px;
  --m-accent: #FF6B2C;
  --m-fil-1: #2FBFA5;
}

*, *::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: 17px; line-height: 1.62; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--paroi); outline-offset: 3px; }
.sombre :focus-visible, .pied :focus-visible, .viseur :focus-visible { outline-color: var(--rempli); }
::selection { background: var(--rempli); color: var(--encre); }

h1, h2, h3 { font-family: var(--titre); font-weight: 650; letter-spacing: -0.022em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 700; letter-spacing: -0.032em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.9rem); }
h3 { font-size: 1.22rem; line-height: 1.22; letter-spacing: -0.012em; }
p { text-wrap: pretty; }
strong { font-weight: 600; }

.cadre { width: 100%; max-width: var(--large); margin-inline: auto; padding-inline: var(--marge); }
.saut { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--encre); color: var(--blanc); padding: 12px 16px; }
.saut:focus { top: 12px; }
.lien { text-decoration: underline; text-decoration-color: var(--paroi); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lien:hover { text-decoration-color: var(--encre); }
.sombre .lien:hover, .pied .lien:hover { text-decoration-color: var(--blanc); }

/* Étiquette de section : trois traits, un par type de trait du trancheur */
.etiq { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gris); margin-bottom: 20px; }
.etiq::before { content: ""; flex: none; width: 30px; height: 11px; background: linear-gradient(var(--paroi) 0 3px, transparent 3px 4px, var(--rempli) 4px 7px, transparent 7px 8px, var(--support) 8px 11px); }
.sombre .etiq { color: var(--gris-clair); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 24px; background: var(--paroi); color: var(--encre); font-family: var(--titre); font-weight: 650; font-size: 1.02rem; letter-spacing: -0.005em; text-decoration: none; border: 2px solid var(--paroi); border-radius: 2px; cursor: pointer; transition: background-color .18s, border-color .18s, color .18s; }
.btn:hover { background: var(--encre); border-color: var(--encre); color: var(--blanc); }
.sombre .btn:hover { background: var(--blanc); border-color: var(--blanc); color: var(--encre); }
.btn--ligne { background: transparent; border-color: var(--encre); font-family: var(--texte); font-weight: 600; }
.btn--ligne:hover { background: var(--encre); color: var(--blanc); }
.sombre .btn--ligne { border-color: var(--gris-clair); color: var(--blanc); }
.btn--petit { min-height: 44px; padding: 8px 16px; font-size: 0.94rem; }
.btn svg { flex: none; }

/* En-tête */
.tete { position: sticky; top: 0; z-index: 50; background: rgba(245, 244, 240, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--regle); }
.tete__ligne { 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: 700; font-size: 1.12rem; letter-spacing: -0.02em; white-space: nowrap; min-height: 44px; }
.logo svg { flex: none; }
.logo b { font-weight: 700; color: var(--paroi-fonce); }
.nav { margin-left: auto; display: none; gap: 26px; font-size: 0.95rem; font-weight: 500; }
.nav a { text-decoration: none; padding: 12px 0; border-bottom: 2px solid transparent; transition: border-color .18s; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--paroi); }
.tete__tel { display: none; font-family: var(--mono); font-size: 0.86rem; font-weight: 500; text-decoration: none; white-space: nowrap; padding: 12px 0; }
.tete__tel:hover { color: var(--paroi-fonce); }
.tete .btn { display: none; }
.menu { margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 1px solid var(--encre); border-radius: 2px; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary i { width: 16px; height: 10px; background: linear-gradient(var(--encre) 0 2px, transparent 2px 4px, var(--encre) 4px 6px, transparent 6px 8px, var(--encre) 8px 10px); }
.menu__liste { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 36px)); background: var(--encre); color: var(--blanc); padding: 10px 20px 16px; border-radius: 2px; box-shadow: 0 18px 40px rgba(20, 23, 27, 0.28); }
.menu__liste a { display: flex; align-items: center; min-height: 48px; text-decoration: none; border-bottom: 1px solid var(--encre-3); font-weight: 500; }
.menu__liste a:last-child { border-bottom: 0; color: var(--paroi); font-family: var(--mono); font-size: 0.9rem; }
@media (min-width: 1000px) {
  .nav { display: flex; }
  .tete__tel { display: inline-block; }
  .tete .btn { display: inline-flex; }
  .menu { display: none; }
}

/* Barre d'action du mobile : appel et devis toujours à portée */
.barre { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: 1fr 1.25fr; background: var(--encre); border-top: 1px solid var(--encre-3); padding-bottom: env(safe-area-inset-bottom); }
.barre a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; text-decoration: none; font-family: var(--titre); font-weight: 650; font-size: 0.98rem; color: var(--blanc); }
.barre a + a { background: var(--paroi); color: var(--encre); }
@media (min-width: 1000px) { .barre { display: none; } }
@media (max-width: 999px) { body { padding-bottom: 54px; } }

/* Ouverture : le texte à gauche, la visionneuse collée à droite */
.ouverture { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: clamp(28px, 5vw, 64px); }
.ouverture__texte { padding-bottom: 32px; }
.ouverture__texte h1 { margin-bottom: 22px; }
.ouverture__texte h1 em { font-style: normal; color: var(--paroi-fonce); }
.chapo { font-size: clamp(1.08rem, 1.5vw, 1.24rem); line-height: 1.55; max-width: 34em; color: #2B3038; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.reperes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 34px; border-top: 1px solid var(--encre); }
.reperes li { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--regle); }
.reperes b { display: block; font-family: var(--mono); font-weight: 500; font-size: 1.02rem; letter-spacing: -0.01em; }
.reperes span { display: block; font-size: 0.86rem; color: var(--gris); line-height: 1.35; margin-top: 2px; }
.ouverture__viseur { position: sticky; top: 68px; z-index: 5; margin-inline: calc(var(--marge) * -1); align-self: start; }
.ouverture__lecture { padding: 34px 0 10px; }
.ouverture__lecture > h2 { margin-bottom: 14px; }
.ouverture__lecture > p { max-width: 36em; color: #2B3038; }
@media (min-width: 1000px) {
  .ouverture { grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr); column-gap: clamp(36px, 5vw, 84px); }
  .ouverture__texte { grid-column: 1; grid-row: 1; padding-bottom: 72px; min-height: calc(100vh - 150px); display: flex; flex-direction: column; justify-content: center; }
  .ouverture__viseur { grid-column: 2; grid-row: 1 / span 2; top: 92px; margin: 0 0 64px; }
  .ouverture__lecture { grid-column: 1; grid-row: 2; padding: 20px 0 84px; }
  .ouverture--ville .ouverture__texte { min-height: 0; padding-bottom: 64px; justify-content: flex-start; }
  .ouverture--ville .ouverture__viseur { grid-row: 1; margin-bottom: 56px; position: static; }
}
@media (max-width: 999px) { .ouverture--ville .ouverture__viseur { position: static; margin-bottom: 8px; } }

/* La visionneuse du trancheur */
.viseur { background: var(--encre); color: var(--blanc); border-radius: 2px; overflow: hidden; }
.viseur__barre { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--encre-3); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gris-clair); }
.viseur__barre b { font-weight: 500; color: var(--blanc); font-variant-numeric: tabular-nums; }
.viseur__barre span:last-child { white-space: nowrap; }
.viseur__scene { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 46px; align-items: stretch; }
.viseur__piece { width: 100%; height: auto; padding: 4px 0 0 6px; max-height: 37vh; }
.viseur__regle { position: relative; border-left: 1px solid var(--encre-3); background: repeating-linear-gradient(to bottom, transparent 0 7px, var(--encre-3) 7px 8px); background-position: center; background-size: 12px 100%; background-repeat: no-repeat; }
.viseur__poignee { position: absolute; left: 7px; right: 7px; height: 12px; margin-bottom: -6px; background: var(--blanc); border-radius: 1px; pointer-events: none; }
.viseur__regle input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ns-resize; writing-mode: vertical-lr; direction: rtl; touch-action: none; }
.viseur__regle:focus-within { outline: 3px solid var(--rempli); outline-offset: -3px; }
.viseur__legende { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--encre-3); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }
.viseur__legende li { flex: 1 1 auto; display: flex; }
.viseur__legende li + li { border-left: 1px solid var(--encre-3); }
.viseur__legende span, .viseur__legende button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 6px 8px; background: none; border: 0; color: var(--blanc); letter-spacing: inherit; text-transform: inherit; }
.viseur__legende button { cursor: pointer; transition: color .18s, background-color .18s; }
.viseur__legende button:hover { background: var(--encre-2); }
.viseur__legende button[aria-pressed="false"] { color: #7C838D; }
.viseur__legende button[aria-pressed="false"] i { background: #4A515A; }
.viseur__legende i { flex: none; width: 16px; height: 3px; background: var(--paroi); }
.viseur__legende [data-type="r"] i { background: var(--rempli); }
.viseur__legende [data-type="s"] i { background: var(--support); }
@media (min-width: 1000px) {
  .viseur__piece { max-height: none; padding: 14px 6px 6px 14px; }
  .viseur__scene { grid-template-columns: minmax(0, 1fr) 54px; }
  .viseur__barre { padding: 14px 20px; font-size: 0.76rem; }
  .viseur__legende { font-size: 0.76rem; }
  .viseur__legende span, .viseur__legende button { min-height: 50px; }
  .viseur__poignee { left: 10px; right: 10px; }
}
.tr-grille { fill: none; stroke: #262B32; stroke-width: 1; }
.tr-p { fill: #1C2026; stroke: var(--paroi); stroke-width: 1.5; stroke-linejoin: round; transition: stroke .3s; }
.tr-s { fill: #171C20; stroke: var(--support); stroke-width: 1.1; stroke-opacity: 0.78; stroke-linejoin: round; transition: stroke-opacity .3s; }
.tr-haut { display: none; }
.tr-ici .tr-p { fill: #242A31; stroke: #FFC3A1; }
.tr-ici .tr-s { stroke-opacity: 1; }
.tr-pi { fill: none; stroke: #FF9A66; stroke-width: 1.3; transition: stroke-opacity .3s; }
.tr-re { fill: none; stroke: var(--rempli); stroke-width: 1.25; transition: stroke-opacity .3s; }
.tr-su { fill: none; stroke: var(--support); stroke-width: 1.15; transition: stroke-opacity .3s; }
.viseur.sans-p .tr-p { stroke: #343A43; } .viseur.sans-p .tr-pi { stroke-opacity: 0; }
.viseur.sans-r .tr-re { stroke-opacity: 0; }
.viseur.sans-s .tr-s { stroke-opacity: 0; fill: none; } .viseur.sans-s .tr-su { stroke-opacity: 0; }
.viseur[data-accent="p"] .tr-re, .viseur[data-accent="p"] .tr-su { stroke-opacity: 0.22; } .viseur[data-accent="p"] .tr-s { stroke-opacity: 0.2; }
.viseur[data-accent="r"] .tr-p { stroke: #8C4322; } .viseur[data-accent="r"] .tr-pi { stroke-opacity: 0.3; } .viseur[data-accent="r"] .tr-s, .viseur[data-accent="r"] .tr-su { stroke-opacity: 0.2; } .viseur[data-accent="r"] .tr-re { stroke-width: 1.9; }
.viseur[data-accent="s"] .tr-p { stroke: #8C4322; } .viseur[data-accent="s"] .tr-pi, .viseur[data-accent="s"] .tr-re { stroke-opacity: 0.22; } .viseur[data-accent="s"] .tr-s { stroke-opacity: 1; stroke-width: 1.4; }

/* Les blocs de lecture : un par type de trait */
.traits { margin-top: 30px; border-top: 1px solid var(--encre); }
.trait { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 4px 16px; padding: 26px 0 28px; border-bottom: 1px solid var(--regle); }
.trait::before { content: ""; grid-row: 1 / span 2; width: 6px; border-radius: 1px; background: var(--paroi); margin-top: 5px; }
.trait--r::before { background: var(--rempli); }
.trait--s::before { background: var(--support); }
.trait--d::before { background: var(--encre); }
.trait h3 { font-size: 1.4rem; }
.trait p { grid-column: 2; color: #2B3038; max-width: 34em; }
.trait p + p { margin-top: 10px; }
.trait .mono { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris); margin-bottom: 6px; font-weight: 500; }
@media (min-width: 1000px) { .trait { padding: 38px 0 42px; min-height: 36vh; align-content: center; } }

/* Sections */
.sec { padding-block: clamp(56px, 8vw, 116px); }
.sec--serre { padding-block: clamp(44px, 6vw, 80px); }
.sec--blanc { background: var(--blanc); }
.sombre { background: var(--encre); color: var(--blanc); }
.sec__tete { max-width: 46rem; margin-bottom: clamp(30px, 4vw, 54px); }
.sec__tete p { margin-top: 16px; font-size: 1.08rem; color: #2B3038; max-width: 38em; }
.sombre .sec__tete p, .sombre .prose p { color: #D5D9DF; }
.prose p + p { margin-top: 14px; }
.prose p { max-width: 40em; }
.prose h3 { margin: 28px 0 8px; }
.prose ul { margin: 14px 0; display: grid; gap: 8px; max-width: 40em; }
.prose ul li { padding-left: 22px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 12px; height: 3px; background: var(--paroi); }
.prose ul li:nth-child(3n+2)::before { background: var(--rempli); }
.prose ul li:nth-child(3n)::before { background: var(--support); }

.deux { display: grid; gap: clamp(28px, 4vw, 72px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) {
  .deux { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .deux--inverse > :first-child { order: 2; }
  .deux--egal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deux--etroit { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .colle { position: sticky; top: 100px; }
}

/* Photos : cadre net, légende en chasse fixe */
.photo { position: relative; background: var(--encre); border-radius: 2px; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--haute { aspect-ratio: 4 / 5; }
.photo--large { aspect-ratio: 3 / 2; }
.photo--carre { aspect-ratio: 1; }
.legende { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.02em; color: var(--gris); margin-top: 10px; line-height: 1.45; }
.sombre .legende { color: var(--gris-clair); }
.mosaique { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mosaique figure:nth-child(1) { grid-column: 1 / -1; }
@media (min-width: 900px) { .mosaique { gap: 16px; } }

/* Prestations : un index à lignes */
.index { border-top: 1px solid var(--encre); }
.index li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 28px; padding: 18px 0; border-bottom: 1px solid var(--regle); }
.index h3 { font-size: 1.16rem; }
.index p { color: #353B44; font-size: 0.98rem; }
@media (min-width: 640px) { .index li { grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); align-items: baseline; } }

/* Fiche technique */
.fiche { width: 100%; border-collapse: collapse; border-top: 1px solid currentColor; font-size: 0.98rem; }
.fiche th, .fiche td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--regle); }
.sombre .fiche th, .sombre .fiche td { border-bottom-color: var(--encre-3); }
.fiche th { font-family: var(--mono); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; width: 34%; color: var(--gris); padding-top: 17px; }
.sombre .fiche th { color: var(--gris-clair); }
.fiche td b { font-weight: 600; }
.fiche caption { text-align: left; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris); padding-bottom: 12px; }
.sombre .fiche caption { color: var(--gris-clair); }
@media (max-width: 520px) { .fiche th, .fiche td { display: block; width: 100%; } .fiche th { border-bottom: 0; padding-bottom: 0; } .fiche td { padding-top: 4px; } }

/* Déroulé : quatre tranches posées l'une sur l'autre */
.etapes { display: grid; grid-template-columns: minmax(0, 1fr); counter-reset: etape; border-top: 1px solid var(--encre-3); }
.etapes li { counter-increment: etape; padding: 24px 0 26px; border-bottom: 1px solid var(--encre-3); display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 12px; }
.etapes li::before { content: counter(etape, decimal-leading-zero); grid-row: 1 / span 2; font-family: var(--mono); font-size: 0.86rem; color: var(--paroi); padding-top: 4px; }
.etapes li:nth-child(2)::before { color: var(--rempli); }
.etapes li:nth-child(3)::before { color: var(--support); }
.etapes li:nth-child(4)::before { color: var(--blanc); }
.etapes p { color: #D5D9DF; font-size: 0.98rem; grid-column: 2; }
.clair .etapes, .clair .etapes li { border-color: var(--regle); }
.clair .etapes { border-top-color: var(--encre); }
.clair .etapes p { color: #353B44; }
.clair .etapes li::before { color: var(--paroi-fonce) !important; }
@media (min-width: 900px) {
  .etapes--ligne { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; border-top: 0; }
  .etapes--ligne li { grid-template-columns: minmax(0, 1fr); border-bottom: 0; border-top: 3px solid var(--paroi); padding-top: 18px; }
  .etapes--ligne li:nth-child(2) { border-top-color: var(--rempli); }
  .etapes--ligne li:nth-child(3) { border-top-color: var(--support); }
  .etapes--ligne li:nth-child(4) { border-top-color: var(--blanc); }
  .etapes--ligne li::before { grid-row: auto; margin-bottom: 10px; }
  .etapes--ligne p { grid-column: 1; }
}

/* Villes */
.villes { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--encre); }
.villes a { display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 2px 14px; align-items: center; padding: 20px 4px 20px 0; border-bottom: 1px solid var(--regle); text-decoration: none; min-height: 44px; transition: padding-left .2s, background-color .2s; }
.villes a strong { font-family: var(--titre); font-weight: 650; font-size: 1.26rem; letter-spacing: -0.015em; line-height: 1.2; }
.villes a span { grid-column: 1; color: var(--gris); font-size: 0.94rem; line-height: 1.4; }
.villes a svg { grid-column: 2; grid-row: 1 / span 2; color: var(--paroi-fonce); transition: transform .2s; }
.villes a:hover { padding-left: 12px; background: var(--blanc); }
.villes a:hover svg { transform: translateX(4px); }
@media (min-width: 760px) { .villes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; } }
.voisines { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.voisines a { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 16px; border: 1px solid var(--encre); border-radius: 2px; text-decoration: none; font-weight: 500; font-size: 0.96rem; transition: background-color .18s, color .18s; }
.voisines a:hover { background: var(--encre); color: var(--blanc); }

/* Avis : de trois à six, longueurs inégales */
.avis__liste { columns: 1; column-gap: 20px; }
.avis__un { break-inside: avoid; background: var(--blanc); border-top: 3px solid var(--paroi); padding: 24px 24px 22px; margin: 0 0 20px; border-radius: 0 0 2px 2px; }
.avis__un:nth-child(3n+2) { border-top-color: var(--rempli); }
.avis__un:nth-child(3n) { border-top-color: var(--support); }
.avis__un blockquote p { font-size: 1.04rem; line-height: 1.55; }
.avis__un figcaption { margin-top: 16px; display: flex; flex-direction: column; gap: 1px; }
.avis__un figcaption strong { font-family: var(--titre); font-weight: 650; }
.avis__un figcaption span { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gris); }
@media (min-width: 700px) { .avis__liste { columns: 2; } }
@media (min-width: 1080px) { .avis__liste { columns: 3; } }

/* Questions */
.faq { border-top: 1px solid var(--encre); }
.faq details { border-bottom: 1px solid var(--regle); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 16px; align-items: center; padding: 20px 0; min-height: 44px; font-family: var(--titre); font-weight: 600; font-size: 1.14rem; letter-spacing: -0.012em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 18px; height: 18px; background: linear-gradient(var(--encre), var(--encre)) center / 100% 2px no-repeat, linear-gradient(var(--encre), var(--encre)) center / 2px 100% no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--paroi-fonce); }
.faq details p { padding: 0 38px 22px 0; max-width: 44em; color: #2B3038; }
.sombre .faq { border-top-color: var(--gris-clair); }
.sombre .faq details { border-bottom-color: var(--encre-3); }
.sombre .faq summary::after { background: linear-gradient(var(--blanc), var(--blanc)) center / 100% 2px no-repeat, linear-gradient(var(--blanc), var(--blanc)) center / 2px 100% no-repeat; }
.sombre .faq summary:hover { color: var(--rempli); }
.sombre .faq details p { color: #D5D9DF; }

/* Devis */
.devis { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.devis__texte p { color: #D5D9DF; margin-top: 16px; max-width: 30em; }
.devis__tel { display: inline-block; margin-top: 26px; font-family: var(--mono); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.02em; text-decoration: none; color: var(--blanc); border-bottom: 3px solid var(--paroi); padding: 6px 0; }
.devis__tel:hover { color: var(--paroi); }
.devis__horaires { display: block; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gris-clair); margin-top: 12px; }
.devis__points { margin-top: 28px; border-top: 1px solid var(--encre-3); }
.devis__points li { padding: 12px 0; border-bottom: 1px solid var(--encre-3); color: #D5D9DF; font-size: 0.96rem; display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: baseline; }
.devis__points li::before { content: ""; width: 12px; height: 3px; background: var(--paroi); transform: translateY(-4px); }
.devis__points li:nth-child(2)::before { background: var(--rempli); }
.devis__points li:nth-child(3)::before { background: var(--support); }
.formulaire { background: var(--papier); color: var(--encre); padding: clamp(22px, 3.4vw, 40px); border-radius: 2px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.formulaire label { display: block; font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 7px; }
.formulaire label small { font-size: inherit; color: var(--gris); text-transform: none; letter-spacing: 0; }
.formulaire input[type="text"], .formulaire input[type="email"], .formulaire input[type="tel"], .formulaire select, .formulaire textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: var(--blanc); border: 1px solid #8E949C; border-radius: 2px; font-size: 1rem; }
.formulaire textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.formulaire input:focus-visible, .formulaire select:focus-visible, .formulaire textarea:focus-visible { outline: 3px solid var(--paroi); outline-offset: 1px; border-color: var(--encre); }
.formulaire input[type="file"] { width: 100%; padding: 14px; background: var(--blanc); border: 1px dashed #8E949C; border-radius: 2px; font-size: 0.92rem; min-height: 54px; }
.formulaire input[type="file"]::file-selector-button { font: inherit; font-weight: 600; margin-right: 12px; padding: 7px 12px; background: var(--encre); color: var(--blanc); border: 0; border-radius: 2px; cursor: pointer; }
.formulaire .aide { font-size: 0.86rem; color: var(--gris); margin-top: 7px; line-height: 1.4; }
.formulaire .btn { width: 100%; }
.formulaire .rgpd { font-size: 0.86rem; color: var(--gris); line-height: 1.45; }
.piege { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.alerte { background: #FFE9DF; border-left: 4px solid var(--paroi-fonce); padding: 14px 16px; font-weight: 500; color: #5E1E03; border-radius: 0 2px 2px 0; }
@media (min-width: 640px) { .formulaire { grid-template-columns: repeat(2, minmax(0, 1fr)); } .formulaire .plein { grid-column: 1 / -1; } }
@media (min-width: 960px) { .devis { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }

/* Bandeau d'appel au devis */
.appel { display: grid; gap: 22px; align-items: center; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--encre); border-bottom: 1px solid var(--encre); padding: 30px 0; }
.appel p { font-family: var(--titre); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: -0.02em; line-height: 1.2; max-width: 24em; }
@media (min-width: 800px) { .appel { grid-template-columns: minmax(0, 1fr) auto; } }

/* Fil d'Ariane */
.fil { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gris); margin-bottom: 22px; }
.fil a { text-decoration: none; padding: 12px 0; margin: -12px 0; }
.fil a:hover { color: var(--paroi-fonce); }
.fil li + li::before { content: "/"; margin-right: 8px; color: var(--gris-clair); }

/* Citation de demande type */
.demande { background: var(--blanc); border-left: 4px solid var(--rempli); padding: 24px 26px; border-radius: 0 2px 2px 0; }
.demande .mono { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris); display: block; margin-bottom: 10px; }
.demande p + p { margin-top: 10px; }
.sombre .demande { background: var(--encre-2); }
.sombre .demande .mono { color: var(--gris-clair); }

/* Liste de cas */
.cas { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--encre); }
.cas li { padding: 22px 0 24px; border-bottom: 1px solid var(--regle); }
.cas h3 { margin-bottom: 8px; }
.cas p { color: #2B3038; }
@media (min-width: 800px) { .cas--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; } .cas--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; } }
.sombre .cas { border-top-color: var(--gris-clair); }
.sombre .cas li { border-bottom-color: var(--encre-3); }
.sombre .cas p { color: #D5D9DF; }

/* Pied de page */
.pied { background: var(--encre); color: #D5D9DF; padding: 56px 0 34px; font-size: 0.95rem; border-top: 1px solid var(--encre-3); }
.pied__grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }
.pied h2 { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gris-clair); margin-bottom: 12px; }
.pied .logo { color: var(--blanc); margin-bottom: 12px; }
.pied .logo b { color: var(--paroi); }
.pied ul { display: grid; gap: 0; }
.pied li a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.pied li a:hover { color: var(--paroi); }
.pied p { max-width: 30em; }
.pied__bas { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--encre-3); display: flex; flex-wrap: wrap; gap: 8px 26px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.03em; color: var(--gris-clair); }
.pied__bas a { color: inherit; padding: 10px 0; margin: -10px 0; }
@media (min-width: 860px) { .pied__grille { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 44px; } }

/* Pages simples : mentions, merci, 404 */
.simple { padding-block: clamp(48px, 8vw, 110px); }
.simple .colonne { max-width: 44rem; }
.simple h1 { margin-bottom: 26px; font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.simple h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.simple p + p { margin-top: 12px; }
.pile { width: min(360px, 100%); margin-bottom: 30px; }

/* Kit d'animation du bureau */
.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; } }
