/* devisverriere.fr : feuille unique. Source : src/css/site.css (ne pas éditer la copie de site/assets). */

/* ---------- Polices (servies par le site) ---------- */
@font-face {
  font-family: "Besley";
  src: url("/assets/fonts/besley-latin.woff2?v=1") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Besley";
  src: url("/assets/fonts/besley-latin-ext.woff2?v=1") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("/assets/fonts/franklin-latin.woff2?v=1") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("/assets/fonts/franklin-latin-ext.woff2?v=1") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Jetons ---------- */
:root {
  --acier: #0e0e10;
  --encre: #2a3034;
  --gris: #566066;
  --filet: #c5cdd0;
  --bord: #7d878c;
  --tole: #eef0f1;
  --verre: #e2efeb;
  --verre-fonce: #cfe2db;
  --vitre: #f7fbfa;
  --blanc: #fff;
  --petrole: #094466;
  --petrole-clair: #9fd0e6;
  --erreur: #a4281b;
  --titre: "Besley", Georgia, "Times New Roman", serif;
  --texte: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --barre: 6px;
  --goutt: max(clamp(1.25rem, 4vw, 3rem), env(safe-area-inset-left), env(safe-area-inset-right));
  --large: 78rem;
  --sortie: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Socle ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
  accent-color: var(--petrole);
  caret-color: var(--petrole);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
/* Deux appuis rapprochés sur − ou + ne doivent pas zoomer la page (Safari iOS). */
a, button, label, summary, input { touch-action: manipulation; }
body {
  margin: 0;
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--acier);
  background: var(--blanc);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--petrole); color: var(--blanc); }
:focus-visible { outline: 3px solid var(--petrole); outline-offset: 3px; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 {
  font-family: var(--titre);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.015em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.45rem, 1.2rem + 4.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.6rem); }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.005em; }
p { margin: 0 0 1em; max-width: 50ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
address { font-style: normal; }
abbr[title] { text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
strong { font-weight: 700; }

.enveloppe { width: min(100% - 2 * var(--goutt), var(--large)); margin-inline: auto; }
.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.evitement {
  position: absolute; left: .75rem; top: -4rem; z-index: 50;
  background: var(--acier); color: var(--blanc); padding: .7rem 1rem; font-weight: 600;
}
.evitement:focus { top: .75rem; }

/* Le châssis : un cadre d'acier ; dans une grille, l'interstice fait le montant. */
.chassis { border: var(--barre) solid var(--acier); background: var(--acier); }
.cadre { border: var(--barre) solid var(--acier); background: var(--tole); }
.cadre img { width: 100%; height: 100%; object-fit: cover; }
.cadre picture { height: 100%; }

/* ---------- Boutons et liens ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .82rem 1.35rem; min-height: 3rem;
  background: var(--petrole); color: var(--blanc);
  border: 2px solid var(--petrole); border-radius: 0;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color 140ms ease-out, border-color 140ms ease-out, color 140ms ease-out, transform 90ms ease-out;
}
.bouton:hover { background: var(--acier); border-color: var(--acier); }
.bouton:active { transform: translateY(1px); }
.bouton[disabled] { opacity: .6; cursor: progress; }
.bouton--grand { font-size: 1.1rem; padding: 1.02rem 1.7rem; min-height: 3.5rem; }
.bouton--large { width: 100%; }
.bouton--acier { background: var(--acier); border-color: var(--acier); }
.bouton--acier:hover { background: var(--petrole); border-color: var(--petrole); }
.bouton--contour { background: transparent; color: var(--acier); border-color: var(--acier); }
.bouton--contour:hover { background: var(--acier); color: var(--blanc); }
.lien-bouton {
  background: none; border: 0; padding: .35rem 0; cursor: pointer;
  color: var(--petrole); font-weight: 600; text-decoration: underline; text-underline-offset: .2em;
}
.lien-bouton:hover { text-decoration-thickness: 2px; }
.lien-fleche { font-weight: 600; white-space: nowrap; }
@media (pointer: coarse) {
  .lien-bouton, .lien-fleche, .hero__tel { display: inline-block; padding-block: .7rem; }
}

/* ---------- En-tête ---------- */
.entete { border-bottom: 3px solid var(--acier); background: var(--blanc); }
.entete__rang { display: flex; align-items: center; gap: 1rem 2rem; padding-block: .85rem; flex-wrap: wrap; }
.marque {
  display: inline-flex; align-items: center; gap: .65rem; margin-right: auto;
  font-family: var(--titre); font-weight: 700; font-size: 1.28rem; letter-spacing: -.01em;
  color: var(--acier); text-decoration: none; padding-block: .3rem;
}
.marque__signe { flex: none; }
.entete__nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.7rem; list-style: none; margin: 0; padding: 0; }
.entete__nav a {
  display: block; padding: .55rem 0; font-weight: 500; font-size: .98rem; text-decoration: none;
  box-shadow: inset 0 -3px 0 transparent; transition: box-shadow 140ms ease-out;
}
.entete__nav a:hover { box-shadow: inset 0 -3px 0 var(--filet); }
.entete__nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--acier); font-weight: 600; }
.entete__tel {
  font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap;
  border: 2px solid var(--acier); padding: .5rem .85rem;
  transition: background-color 140ms ease-out, color 140ms ease-out;
}
.entete__tel:hover { background: var(--acier); color: var(--blanc); }
.entete__tel-signe { display: none; }
.entete__bascule {
  display: none; background: var(--blanc); border: 2px solid var(--acier); border-radius: 0;
  padding: .5rem .85rem; font-weight: 600; cursor: pointer; min-height: 2.75rem;
}
.entete__bascule:hover { background: var(--tole); }
.entete__bascule[aria-expanded="true"] { background: var(--acier); color: var(--blanc); }
.entete__bascule[aria-expanded="true"]:hover { background: var(--encre); }

@media (max-width: 62rem) {
  .entete__tel { order: 2; }
  .entete__nav { order: 4; flex-basis: 100%; }
  .entete__nav ul { gap: 0 1.4rem; }
}
@media (max-width: 62rem) and (scripting: enabled) {
  .entete__bascule { display: inline-flex; align-items: center; order: 3; }
  .entete__nav { display: none; }
  .entete--ouvert .entete__nav { display: block; border-top: 1px solid var(--filet); padding-top: .4rem; }
  .entete__nav ul { display: block; }
  .entete__nav a { padding: .8rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--filet); box-shadow: none; }
  .entete__nav li:last-child a { border-bottom: 0; }
}
@media (max-width: 34rem) {
  .entete__rang { gap: .6rem; }
  .marque { font-size: 1.15rem; gap: .55rem; }
  .entete__tel { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; }
  .entete__tel-signe { display: block; }
  .entete__tel-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- Plan (SVG du moteur) ---------- */
.plan__svg { width: 100%; height: 100%; overflow: visible; }
.plan__muret { fill: #d6dcde; }
.plan__sol { stroke: var(--acier); }
.plan__silhouette { fill: #b3c7c0; }
.plan__vitre { fill: var(--vitre); }
.plan__vitre--depoli { fill: #eaefec; }
.plan__depoli { fill: none; stroke: #c3d2cc; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.plan__tole { opacity: .9; }
.plan__reflet { stroke: #c9ddd6; stroke-width: 1; stroke-linecap: round; }
.plan__ouverture { fill: none; stroke: var(--petrole); stroke-dasharray: 3.2 2.2; stroke-linejoin: round; }
.plan__poignee { fill: #dfe4e6; stroke: none; }
.plan__fleche { fill: none; stroke: var(--petrole); stroke-linecap: round; stroke-linejoin: round; }
.plan__fantome { fill: none; stroke: var(--gris); stroke-dasharray: 3 3; }
.plan__cote, .plan__tic { stroke: var(--acier); }
.plan__rappel { stroke: #8b959a; }
.plan__texte { font-family: var(--texte); font-weight: 600; fill: var(--acier); stroke: none; }
.plan--clair .plan__barre, .plan--clair .plan__vantail, .plan--clair .plan__tole { stroke: var(--encre); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.plan--clair .plan__poignee { fill: var(--acier); }
.plan__ouvrage--discret { opacity: .36; }

@media (prefers-reduced-motion: no-preference) {
  .plan--anime .plan__barre { transform-box: fill-box; animation: 620ms var(--sortie) both; }
  .plan--anime .b1 { animation-name: tirer-x; transform-origin: left center; }
  .plan--anime .b2 { animation-name: tirer-y; transform-origin: center bottom; animation-delay: 140ms; }
  .plan--anime .b3 { animation-name: tirer-y; transform-origin: center bottom; animation-delay: 300ms; }
  .plan--anime .b4, .plan--anime .b5 { animation-name: tirer-x; transform-origin: left center; animation-delay: 420ms; }
  .plan--anime .plan__vitre, .plan--anime .plan__reflets { animation: paraitre 500ms ease-out 380ms both; }
  .plan--anime .plan__cotes, .plan--anime .plan__silhouette { animation: paraitre 420ms ease-out 760ms both; }
}
@keyframes tirer-x { from { transform: scaleX(0); } }
@keyframes tirer-y { from { transform: scaleY(0); } }
@keyframes paraitre { from { opacity: 0; } }

/* ---------- Curseurs ---------- */
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 1.9rem; margin: 0; background: transparent; cursor: pointer; border-radius: 0;
}
input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: var(--acier); }
input[type="range"]::-moz-range-track { height: 4px; background: var(--acier); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; margin-top: -9px; border-radius: 0;
  background: var(--petrole); border: 3px solid var(--blanc); box-shadow: 0 0 0 2px var(--acier);
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 0;
  background: var(--petrole); border: 3px solid var(--blanc); box-shadow: 0 0 0 2px var(--acier);
}
input[type="range"]:focus-visible { outline: 3px solid var(--petrole); outline-offset: 2px; }
@media (pointer: coarse) {
  input[type="range"] { height: 2.75rem; }
  input[type="range"]::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: -12px; }
  input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; }
}
.curseur { display: grid; grid-template-columns: 1fr auto; gap: 0 .75rem; align-items: baseline; }
.curseur label { font-weight: 600; font-size: .95rem; }
.curseur output { font-weight: 700; font-variant-numeric: tabular-nums; }
.curseur input { grid-column: 1 / -1; }

/* ---------- Accueil : héros ---------- */
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3rem, 7vw, 6rem); }
.hero__grille {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 { margin-bottom: 1.4rem; }
@media (max-width: 22rem) { .hero h1 { font-size: 2.1rem; } }
.hero__chapo { font-size: clamp(1.1rem, .95rem + .55vw, 1.3rem); line-height: 1.5; color: var(--encre); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.9rem; }
.hero__tel { font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

.estimateur { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--barre); }
.estimateur__plan { grid-column: 1 / -1; background: var(--verre); aspect-ratio: 16 / 9.4; padding: .6rem .6rem .2rem; }
.estimateur__reglages { background: var(--blanc); padding: 1.1rem 1.25rem 1rem; display: grid; gap: .55rem; align-content: start; }
.estimateur__prix { background: var(--blanc); padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; container-type: inline-size; }
.estimateur__libelle { margin: 0; font-size: .9rem; color: var(--gris); }
.estimateur__montant {
  margin: .15rem 0 .5rem; font-family: var(--titre); font-weight: 700;
  font-size: clamp(1.9rem, 1.2rem + 1.9vw, 2.6rem); line-height: 1.05; letter-spacing: -.02em;
  font-size: clamp(1.9rem, min(1.2rem + 1.9vw, 15cqi), 2.6rem);   /* jamais plus large que sa case */
  white-space: nowrap;   /* pas de tabular-nums : le zéro tabulaire de Besley est un autre dessin, maigre */
}
/* Deux colonnes de héros sur un écran moyen : les demi-cases sont trop étroites pour le prix et son bouton. */
@media (min-width: 62.0625rem) and (max-width: 80rem) {
  .hero h1 { font-size: clamp(3.2rem, 5.2vw, 4rem); }   /* « votre verrière, » tient sur sa ligne */
  .estimateur { grid-template-columns: minmax(0, 1fr); }
  .estimateur__plan { aspect-ratio: 16 / 7.5; }
}
.estimateur__montant abbr, .prix__ttc abbr { font-family: var(--texte); font-size: .42em; font-weight: 600; letter-spacing: 0; }
.estimateur__note { font-size: .84rem; line-height: 1.45; color: var(--gris); margin-bottom: 1rem; }
.estimateur__prix .bouton { margin-top: auto; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--serre { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3.5rem, 8vw, 6rem); }
.section--verre { background: var(--verre); }
.section--acier { background: var(--acier); color: var(--blanc); }
.section--acier ::selection { background: var(--blanc); color: var(--acier); }
.section--acier :focus-visible { outline-color: var(--blanc); }
.section h2 { margin-bottom: 1.2rem; }
.section__chapo { font-size: 1.12rem; color: var(--encre); max-width: 48ch; margin-bottom: 2.2rem; }

/* De quoi est fait le prix */
.postes { background: var(--verre); }
.postes__grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.postes__texte p { color: var(--encre); }
.postes__note { font-size: .95rem; }
.nomenclature { width: 100%; border-collapse: collapse; background: var(--blanc); border: var(--barre) solid var(--acier); font-size: .98rem; }
.nomenclature th, .nomenclature td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--acier); }
.nomenclature thead th { background: var(--acier); color: var(--blanc); font-size: .84rem; font-weight: 600; padding-block: .55rem; }
.nomenclature tbody th { font-family: var(--titre); font-weight: 600; font-size: 1.08rem; white-space: nowrap; }
.nomenclature td { color: var(--encre); }
.nomenclature td:last-child, .nomenclature thead th:last-child {
  text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--acier);
}
.nomenclature thead th:last-child { color: var(--blanc); }
.nomenclature tfoot th, .nomenclature tfoot td { border-bottom: 0; background: var(--tole); font-weight: 700; font-family: var(--texte); font-size: 1rem; }
.nomenclature tfoot td { font-size: 1.15rem; }

/* Ce que le configurateur sait chiffrer : les vitrages d'une même verrière */
.trame { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--barre); }
.trame__case {
  background: var(--blanc); color: inherit; text-decoration: none;
  display: grid; grid-template-rows: auto auto 1fr auto; align-content: start;
  padding: 1.15rem 1.2rem 1.1rem; transition: background-color 180ms ease-out;
}
.trame__case:hover { background: var(--verre); }
.trame__case:focus-visible { outline-offset: -6px; }
.trame__plan { display: block; height: 13.5rem; margin-bottom: 1rem; }
.trame__nom { display: block; font-family: var(--titre); font-weight: 600; font-size: 1.28rem; line-height: 1.2; }
.trame__texte { display: block; color: var(--gris); font-size: .95rem; line-height: 1.45; margin-top: .3rem; }
.trame__prix {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .2rem .9rem;
  border-top: 1px solid var(--acier); margin-top: 1rem; padding-top: .65rem; font-size: .88rem; color: var(--encre);
}
.trame__prix strong { font-size: 1.08rem; color: var(--acier); white-space: nowrap; font-variant-numeric: tabular-nums; }
.trame__case--fixe, .trame__case--ouv, .trame__case--cote, .trame__case--milieu {
  grid-column: span 2; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); grid-template-rows: auto 1fr auto; column-gap: 1.4rem;
}
.trame__case--fixe .trame__plan, .trame__case--ouv .trame__plan, .trame__case--cote .trame__plan, .trame__case--milieu .trame__plan { grid-row: 1 / -1; height: 15rem; margin-bottom: 0; }
.trame__case--fixe .trame__nom, .trame__case--ouv .trame__nom, .trame__case--cote .trame__nom, .trame__case--milieu .trame__nom { align-self: end; padding-top: 1.5rem; }
@media (max-width: 64rem) {
  .trame { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trame__case--fixe, .trame__case--ouv, .trame__case--cote, .trame__case--milieu { grid-column: span 2; }
}
@media (max-width: 40rem) {
  .trame { grid-template-columns: minmax(0, 1fr); }
  .trame__case, .trame__case--fixe, .trame__case--ouv, .trame__case--cote, .trame__case--milieu {
    grid-column: auto; grid-template-columns: 7.5rem minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 1rem; padding: 1rem;
  }
  .trame__plan, .trame__case--fixe .trame__plan, .trame__case--ouv .trame__plan, .trame__case--cote .trame__plan, .trame__case--milieu .trame__plan { grid-row: 1 / span 2; height: 7.5rem; margin: 0; }
  .trame__case--fixe .trame__nom, .trame__case--ouv .trame__nom, .trame__case--cote .trame__nom, .trame__case--milieu .trame__nom { align-self: auto; padding-top: 0; }
  .trame__prix { grid-column: 1 / -1; }
}
@media (max-width: 24rem) {
  .trame__case, .trame__case--fixe, .trame__case--ouv, .trame__case--cote, .trame__case--milieu { grid-template-columns: 5rem minmax(0, 1fr); column-gap: .85rem; }
  .trame__plan, .trame__case--fixe .trame__plan, .trame__case--ouv .trame__plan, .trame__case--cote .trame__plan, .trame__case--milieu .trame__plan { height: 6rem; }
  .trame__nom { font-size: 1.12rem; overflow-wrap: break-word; }
}

/* Aperçu des réalisations */
.apercu__tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 2rem; margin-bottom: 1.6rem; }
.apercu__tete h2 { margin: 0; }
.mosaique { display: grid; grid-template-columns: 5fr 4fr 3fr; grid-template-rows: 1fr 1fr; gap: var(--barre); aspect-ratio: 16 / 9.6; }
.mosaique a { display: block; overflow: hidden; background: var(--tole); min-height: 0; }
.mosaique picture { height: 100%; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .mosaique img { transition: transform 300ms var(--sortie); }
  .mosaique a:hover img { transform: scale(1.035); }
}
.mosaique__a { grid-row: 1 / 3; }
.mosaique__b { grid-column: 2 / 4; }
@media (max-width: 47.5rem) {
  .mosaique { grid-template-columns: 1fr 1fr; grid-template-rows: none; aspect-ratio: auto; }
  .mosaique__a { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 4 / 4.4; }
  .mosaique__b { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .mosaique__c, .mosaique__d { aspect-ratio: 3 / 4; }
}

/* Sur étude */
.etude__grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.etude__photo { aspect-ratio: 4 / 4.6; }
.etude__texte p { color: var(--encre); }
.etude__texte .bouton { margin-top: .8rem; }

/* Atelier, bande sombre */
.atelier-bande { background: var(--acier); color: var(--blanc); }
.atelier-bande ::selection { background: var(--blanc); color: var(--acier); }
.atelier-bande :focus-visible { outline-color: var(--blanc); }
.atelier-bande h2 { max-width: 19ch; margin-bottom: 2rem; }
.atelier-bande__grille { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.atelier-bande__texte { font-size: 1.12rem; color: #dbe1e3; }
.atelier-bande__zone { margin-top: 2.2rem; color: #c3ccd0; max-width: 50ch; }
.atelier-bande__zone a { color: var(--blanc); font-weight: 600; white-space: nowrap; }
.parcours {
  list-style: none; margin: 0; padding: 0; counter-reset: etape;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: #4a4f55; border: 2px solid #4a4f55;
}
.parcours li { counter-increment: etape; background: var(--acier); padding: 1.1rem 1.2rem 1.25rem; color: #c9d1d4; font-size: .98rem; line-height: 1.5; }
.parcours li::before {
  content: counter(etape); display: block; margin-bottom: .45rem;
  font-family: var(--titre); font-weight: 600; font-size: 1.7rem; line-height: 1; color: var(--petrole-clair);
}
.parcours strong { display: block; color: var(--blanc); font-size: 1.05rem; }
.parcours--clair { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--barre); background: var(--acier); border: var(--barre) solid var(--acier); }
.parcours--clair li { background: var(--blanc); color: var(--encre); }
.parcours--clair li::before { color: var(--petrole); }
.parcours--clair strong { color: var(--acier); }
@media (max-width: 56rem) { .parcours--clair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .parcours, .parcours--clair { grid-template-columns: minmax(0, 1fr); } }

/* Questions */
.questions__grille { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1.5rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.question { border-top: 2px solid var(--acier); }
.question:last-child { border-bottom: 2px solid var(--acier); }
.question summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.1rem 0; cursor: pointer; list-style: none;
}
.question summary::-webkit-details-marker { display: none; }
.question summary h3 { font-size: 1.18rem; }
.question summary::after {
  content: ""; flex: none; width: 1.05rem; height: 1.05rem;
  background:
    linear-gradient(var(--acier), var(--acier)) center / 100% 3px no-repeat,
    linear-gradient(var(--acier), var(--acier)) center / 3px 100% no-repeat;
  transition: transform 200ms var(--sortie);
}
.question[open] summary::after { transform: rotate(45deg); }
.question summary:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.question p { padding: 0 2.5rem 1.3rem 0; color: var(--encre); max-width: 50ch; }

/* Appel final */
.appel { background: var(--verre); border-top: var(--barre) solid var(--acier); padding-block: clamp(3rem, 6vw, 5rem); }
.appel__grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: center; }
.appel h2 { margin-bottom: .8rem; max-width: 22ch; }
.appel p { color: var(--encre); }
.appel__actions { display: grid; gap: 1rem; justify-items: start; }
.appel__tel { font-size: .95rem; margin: 0; }
.appel__tel a { font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Pied ---------- */
.pied { background: var(--acier); color: #c9d1d4; font-size: .96rem; padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.pied ::selection { background: var(--blanc); color: var(--acier); }
.pied :focus-visible { outline-color: var(--blanc); }
.pied a { color: var(--blanc); }
.pied__grille { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); }
.marque--pied { color: var(--blanc); margin-bottom: 1rem; }
.pied__maison p { max-width: 46ch; }
.pied__titre { font-family: var(--texte); font-size: .95rem; font-weight: 700; letter-spacing: 0; color: var(--blanc); margin-bottom: .8rem; }
.pied__liens { list-style: none; margin: 0; padding: 0; }
.pied__liens a { display: inline-block; padding: .28rem 0; text-decoration: none; }
.pied__liens a:hover { text-decoration: underline; }
/* Téléphones et courriel du pied : 24 px de haut au moins (WCAG 2.5.8), davantage au doigt. */
.pied__contact a { display: inline-block; padding-block: .2rem; }
@media (pointer: coarse) {
  .pied__liens a, .pied__contact a { padding-block: .62rem; }
  .marque { min-height: 2.75rem; }
}
.pied__bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 2rem;
  margin-top: clamp(2rem, 5vw, 3.5rem); padding-block: 1.1rem 1.4rem; border-top: 1px solid #3c4046; font-size: .85rem;
}
.pied__bas p { margin: 0; max-width: none; }

/* >>> signature Odratta — ne pas éditer ici, source : ~/.odratta/signature/signature.css */
a.odratta-signature{display:inline-flex;align-items:baseline;gap:.4em;font:400 .8125rem/1.2 inherit;font-family:inherit;color:inherit;text-decoration:none;text-transform:none;letter-spacing:normal;padding:.45em 0;white-space:nowrap}
a.odratta-signature svg{height:.8em;width:auto;flex:none}
a.odratta-signature:hover,a.odratta-signature:focus-visible{text-decoration:underline;text-underline-offset:.3em}
a.odratta-signature:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:3px;text-decoration:none}
/* <<< fin signature Odratta */

/* ---------- Pages intérieures ---------- */
.tete-page { padding-block: clamp(2.2rem, 5vw, 4.2rem) clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--filet); }
.tete-page h1 { font-size: clamp(2.2rem, 1.3rem + 3.2vw, 3.6rem); line-height: 1.05; }
.tete-page__grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.tete-page__chapo { font-size: clamp(1.08rem, .98rem + .4vw, 1.25rem); line-height: 1.55; color: var(--encre); margin-top: 1.2rem; max-width: 46ch; }
.tete-page__photo { aspect-ratio: 4 / 3.6; }
.tete-page--simple { border-bottom: 0; padding-bottom: 1rem; }

.liste { list-style: none; margin: 0 0 1.4rem; padding: 0; max-width: 50ch; }
.liste li { position: relative; padding: .42rem 0 .42rem 1.5rem; color: var(--encre); }
.liste li::before { content: ""; position: absolute; left: 0; top: 1.02em; width: .5rem; height: .5rem; background: var(--acier); }
.note { font-size: .93rem; color: var(--gris); border-top: 1px solid var(--filet); padding-top: .8rem; margin-top: 1.4rem; }
.note--claire { color: #c3ccd0; border-top-color: #3c4046; max-width: 50ch; }
.texte p { color: var(--encre); }

.formes__grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--barre); background: var(--acier); border: var(--barre) solid var(--acier); }
.formes__grille > div { background: var(--blanc); padding: clamp(1.25rem, 3vw, 2.2rem); display: flex; flex-direction: column; align-items: flex-start; }
.formes__grille > div:last-child { background: var(--tole); }
.formes__grille h3 { font-size: 1.4rem; margin-bottom: .8rem; }
.formes__grille .liste { flex: 1; }

.trames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--barre); background: var(--acier); border: var(--barre) solid var(--acier); }
.trames__cas { background: var(--blanc); padding: 1rem 1.1rem 1.1rem; text-decoration: none; display: grid; gap: .15rem; transition: background-color 180ms ease-out; }
.trames__cas:hover { background: var(--vitre); }
.trames__cas:focus-visible { outline-offset: -6px; }
.trames__cas .plan__svg { height: 11rem; margin-bottom: .8rem; }
.trames__nom { color: var(--encre); font-size: .95rem; }
.trames__cas strong { font-family: var(--titre); font-size: 1.45rem; font-weight: 600; }

.deux { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.deux--inverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.deux__texte p { color: var(--encre); }
.deux__photo { aspect-ratio: 4 / 4.6; }
.deux__prix { margin-top: 1.4rem; border-top: 2px solid var(--acier); }
.deux__prix a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding: .75rem 0; border-bottom: 1px solid var(--acier); text-decoration: none;
}
.deux__prix a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.deux__prix strong { font-variant-numeric: tabular-nums; white-space: nowrap; }

.finition { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem clamp(2rem, 5vw, 4.5rem); }
.finition > div { border-top: 2px solid #5a6066; padding-top: 1rem; }
.finition h3 { margin-bottom: .6rem; }
.finition p { color: #d3dadd; }
.finition__titre { margin: 2.8rem 0 1.1rem; }

.cartouche { margin: 0; border: var(--barre) solid var(--acier); background: var(--acier); display: grid; gap: 1px; }
.cartouche > div { background: var(--blanc); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem; padding: .8rem 1rem; align-items: baseline; }
.cartouche dt { color: var(--gris); font-size: .93rem; }
.cartouche dd { margin: 0; font-weight: 600; }

.gestes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem); }
.gestes p { border-top: 2px solid #5a6066; padding-top: 1rem; color: #d3dadd; }

.coordonnees { border: var(--barre) solid var(--acier); background: var(--blanc); padding: clamp(1.2rem, 3vw, 1.8rem); }
.coordonnees h3 { margin-bottom: .7rem; }
.coordonnees h2 { font-size: 1.15rem; font-family: var(--texte); font-weight: 700; letter-spacing: 0; margin: 1.5rem 0 .35rem; }
.coordonnees h2:first-child { margin-top: 0; }
.coordonnees address, .coordonnees p { margin-bottom: .7rem; }
.coordonnees a { font-weight: 600; display: inline-block; padding-block: .15rem; }
.coordonnees__tel { font-size: 1.35rem; font-family: var(--titre); line-height: 1.5; }
.contact__grille { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }

.galeries { padding-bottom: clamp(3rem, 7vw, 6rem); }
.galerie { padding-top: clamp(2rem, 5vw, 3.5rem); }
.galerie h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 1.1rem; }
.galerie__grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--barre); }
.galerie__vue { margin: 0; background: var(--blanc); display: flex; flex-direction: column; min-width: 0; }
.galerie__vue picture { position: relative; flex: 1; overflow: hidden; background: var(--tole); }
.galerie__vue img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.galerie__vue figcaption { padding: .65rem .9rem .75rem; font-size: .92rem; line-height: 1.4; color: var(--encre); border-top: var(--barre) solid var(--acier); }
.galerie__vue--3 { grid-column: span 3; }
.galerie__vue--4 { grid-column: span 4; }
.galerie__vue--6 { grid-column: span 6; }
.galerie__vue--8 { grid-column: span 8; }
.galerie__vue--p picture { aspect-ratio: 3 / 4; }
.galerie__vue--w picture { aspect-ratio: 4 / 3; }
@media (max-width: 56rem) {
  .galerie__vue--3 { grid-column: span 6; }
  .galerie__vue figcaption { font-size: .86rem; padding: .5rem .65rem .6rem; }
}
@media (max-width: 34rem) {
  .galerie__vue--3, .galerie__vue--4, .galerie__vue--6, .galerie__vue--8 { grid-column: 1 / -1; }
  .galerie__vue--e picture { aspect-ratio: 4 / 3; }
}

.texte--legal { max-width: 46rem; }
.texte--legal h2 { font-size: 1.45rem; margin: 2.6rem 0 .8rem; }
.texte--legal p, .texte--legal li { color: var(--encre); }
.perdu { padding-bottom: clamp(4rem, 12vw, 9rem); }
.perdu__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; max-width: none; }
.alerte { border: 2px solid var(--erreur); background: #fbeeec; padding: .9rem 1rem; max-width: none; margin-bottom: 1.5rem; }

/* ---------- Configurateur ---------- */
.cfg__tete { padding-block: clamp(1.6rem, 4vw, 2.6rem) clamp(1.2rem, 3vw, 1.8rem); }
.cfg__tete h1 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.9rem); line-height: 1.06; }
.cfg__tete p { color: var(--encre); margin-top: .7rem; max-width: 50ch; }
/* Projet retrouvé dans le navigateur, ou remis à zéro : le dire, et laisser revenir en arrière. */
.cfg__tete .cfg__reprise {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 .6rem; max-width: none; margin-top: .9rem; padding: .35rem .9rem;
  background: var(--verre); border-left: var(--barre) solid var(--acier); font-size: .95rem;
}
.cfg__reprise[hidden] { display: none; }
.cfg__zero { margin-left: auto; }
.cfg__corps {
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr);
  gap: clamp(1.5rem, 3.5vw, 3.2rem); align-items: start; padding-bottom: clamp(3rem, 6vw, 5rem);
}
.cfg__plan { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow: auto; scrollbar-width: thin; scrollbar-color: var(--acier) var(--tole); }
.cfg__chassis { display: grid; gap: var(--barre); }
.onglets { display: flex; flex-wrap: wrap; gap: var(--barre); background: var(--acier); }
.onglets button {
  flex: 1 1 auto; min-height: 2.75rem; padding: .5rem .85rem; border: 0; border-radius: 0; cursor: pointer;
  background: var(--encre); color: var(--blanc); font-weight: 600; font-size: .9rem; text-align: left; white-space: nowrap;
  transition: background-color 120ms ease-out, color 120ms ease-out;
}
.onglets button:hover { background: #3b4348; }
.onglets button[aria-pressed="true"] { background: var(--verre); color: var(--acier); box-shadow: 0 var(--barre) 0 var(--verre); position: relative; z-index: 1; }
.onglets button:focus-visible { outline-color: var(--blanc); outline-offset: -5px; }
.onglets button[aria-pressed="true"]:focus-visible { outline-color: var(--petrole); }
.ensemble { margin: 0; background: var(--blanc); }
.ensemble__cadre { height: 7.5rem; padding: .8rem .9rem .15rem; }
/* Châssis collant : le plan est la seule pièce élastique. Il cède de la hauteur quand la vue
   d'ensemble, des onglets sur deux rangs ou le détail du prix en demandent, pour que le prix et le
   bouton restent à l'écran. */
@media (min-width: 62.0625rem) {
  .cfg__plan { display: flex; flex-direction: column; }
  .cfg__chassis { display: flex; flex-direction: column; flex: 0 1 auto; min-height: 0; }
  .cfg__chassis > * { flex: none; }
  .cfg__chassis > .plan { flex: 0 1 auto; min-height: 0; display: flex; flex-direction: column; }
  .cfg__chassis > .plan > .plan__cadre { flex: 0 1 auto; min-height: 9.5rem; }
  .cfg__chassis > .plan > figcaption { flex: none; }
}
.ensemble figcaption { font-size: .8rem; color: var(--gris); padding: .15rem 1rem .6rem; }
/* Écran bas : la légende de la vue d'ensemble s'efface (elle reste lue), le plan récupère sa place. */
@media (min-width: 62.0625rem) and (max-height: 46rem) {
  .ensemble figcaption { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ensemble__cadre { height: 6rem; padding-bottom: .6rem; }
}
.ensemble .plan__ouvrage { cursor: pointer; }
.plan { margin: 0; background: var(--verre); }
.plan__cadre { height: clamp(13rem, 39vh, 27rem); padding: .9rem .9rem .3rem; }
/* Deux affichages du plan : coté, ou dans une cloison peinte (teintes de mur : MURS dans moteur.js) */
.plan__vues { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; padding: .7rem .9rem 0; }
/* Présent dès le HTML pour ne pas décaler le plan au chargement ; sans script il ne sert à rien. */
@media (scripting: none) { .plan__vues { display: none; } }
.plan__choix { display: inline-flex; }
.plan__vue {
  min-height: 2.25rem; padding: .3rem .85rem; border: 2px solid var(--acier); border-radius: 0; cursor: pointer;
  background: transparent; color: var(--acier); font-weight: 600; font-size: .85rem;
  transition: background-color 120ms ease-out, color 120ms ease-out;
}
.plan__vue + .plan__vue { margin-left: -2px; }
.plan__vue:hover { background: rgb(14 14 16 / .08); }
.plan__vue[aria-pressed="true"] { background: var(--acier); color: var(--blanc); }
.plan__decor { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .5rem .7rem; margin-left: auto; }
.plan__decor[hidden] { display: none; }
.plan__murs { display: inline-flex; align-items: center; gap: .4rem; }
/* La pièce dessinée derrière le verre : une liste, pour tenir sur la ligne de l'interrupteur. 16 px sur
   écran tactile, sinon Safari agrandit la page à l'ouverture de la liste. */
.plan__piece {
  appearance: none; -webkit-appearance: none; min-height: 2.25rem; max-width: 100%; padding: .3rem 1.9rem .3rem .7rem;
  font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; color: var(--encre); cursor: pointer;
  border: 2px solid var(--acier); border-radius: 0;
  background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230e0e10' stroke-width='2'/%3E%3C/svg%3E") no-repeat right .65rem center / .7rem auto;
}
@media (min-width: 62.0625rem) { .plan__piece { font-size: .82rem; } }
.plan__mur {
  width: 1.75rem; height: 1.75rem; padding: 0; border: 2px solid var(--blanc); border-radius: 0; cursor: pointer;
  box-shadow: 0 0 0 1px var(--gris);
}
.plan__mur[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--petrole); }
.plan__mur[data-mur="blanc"] { background: #efece6; }
.plan__mur[data-mur="lin"] { background: #e0d6c4; }
.plan__mur[data-mur="sauge"] { background: #c3cfbf; }
.plan__mur[data-mur="terracotta"] { background: #d2aa93; }
.plan__mur[data-mur="nuit"] { background: #34495a; }
.plan--piece { background: var(--blanc); }
.plan--piece .plan__cadre { padding: 0; margin-top: .7rem; }
.plan__svg.piece { overflow: hidden; display: block; }
.piece__fond { fill: #f6f3ec; }
.piece__fenetre { fill: #fff; }
.piece__meuble { fill: #d1c9b6; }
.piece__meuble2 { fill: #b6ab94; }
.piece__clair { fill: #fdfcf8; }
.piece__trait { fill: none; stroke: #dcd5c5; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.piece__filet { fill: none; stroke: #b5ab97; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.piece__plafond { fill: #fbfaf8; }
.piece__arete { stroke: rgb(14 14 16 / .28); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.piece__plinthe { fill: #000; fill-opacity: .07; }
.piece--sombre .piece__plinthe { fill: #fff; fill-opacity: .1; }
.piece__ombre { fill: #000; fill-opacity: .07; }
.piece__sol { fill: #d5c4a9; }
.piece__lames { fill: none; stroke: #c4b296; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.piece__lumiere { fill: #fff; fill-opacity: .3; }
.piece__repere { fill: var(--petrole); }
.piece__silhouette { fill: #77898a; }
.piece .plan__vitre { fill: #eef6f3; fill-opacity: .32; }
.piece .plan__vitre--depoli { fill: #f3f5f1; fill-opacity: .9; }
.piece .plan__depoli { display: none; }
.piece .plan__reflet { stroke: #fff; }
.piece .plan__symboles { display: none; }
.piece .plan__ouvrage--autre { cursor: pointer; }
/* La même vue, en illustration sur l'accueil */
.piece-vitrine { aspect-ratio: 3 / 2; background: var(--blanc); }
.piece-vitrine .plan__svg { width: 100%; height: 100%; }
.vitrine .deux__texte .bouton { margin-top: .8rem; }
.vitrine__note { font-size: .9rem; color: var(--gris); }
.plan figcaption { font-size: .8rem; color: var(--gris); padding: .2rem 1rem .75rem; }
.prix { background: var(--blanc); padding: 1.05rem 1.25rem 1.25rem; }
.prix__titre { margin: 0; font-size: .9rem; color: var(--gris); }
.prix__ttc {
  margin: .1rem 0 .25rem; font-family: var(--titre); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(2.1rem, 1.3rem + 2.2vw, 3rem); line-height: 1.05; white-space: nowrap;
}
.prix__ht { margin: 0 0 .6rem; font-size: .93rem; color: var(--encre); font-variant-numeric: tabular-nums; }
.prix__detail { border-top: 1px solid var(--filet); margin-bottom: 1rem; }
.prix__detail summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  cursor: pointer; font-weight: 600; font-size: .95rem; padding: .6rem 0; list-style: none;
}
.prix__detail summary:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.prix__detail summary::-webkit-details-marker { display: none; }
.prix__detail summary::after {
  content: ""; flex: none; width: .8rem; height: .8rem;
  background:
    linear-gradient(var(--acier), var(--acier)) center / 100% 2px no-repeat,
    linear-gradient(var(--acier), var(--acier)) center / 2px 100% no-repeat;
  transition: transform 200ms var(--sortie);
}
.prix__detail[open] summary::after { transform: rotate(45deg); }
.prix__detail[open] { padding-bottom: .5rem; }
.detail { width: 100%; border-collapse: collapse; font-size: .92rem; }
.detail caption { text-align: left; font-weight: 600; padding: .35rem 0; color: var(--encre); }
.detail th, .detail td { padding: .38rem 0; border-top: 1px solid var(--filet); font-weight: 400; text-align: left; vertical-align: baseline; }
.detail th small { display: block; color: var(--gris); font-size: .82rem; }
.detail td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-left: 1rem; }
.detail tfoot th, .detail tfoot td { font-weight: 700; border-top: 2px solid var(--acier); }

.cfg__reglages { display: grid; gap: 2.4rem; min-width: 0; }
.etape { border: 0; border-top: 3px solid var(--acier); margin: 0; padding: 1.15rem 0 0; min-width: 0; }
.etape legend {
  float: left; width: 100%; padding: 0; margin-bottom: 1.15rem;
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--titre); font-weight: 600; font-size: 1.5rem; letter-spacing: -.01em; line-height: 1.2;
}
.etape > :not(legend) { clear: both; }
.etape__num {
  display: inline-grid; place-items: center; flex: none; width: 2rem; height: 2rem;
  background: var(--acier); color: var(--blanc); font-family: var(--texte); font-size: 1rem; font-weight: 700;
}
.etape > .champ + .champ, .etape > .rang, .etape > .champ, .etape > .bascule, .etape > .cotes, .etape > .choix { margin-top: 1.3rem; }
.etape > legend + .champ, .etape > legend + .choix, .etape > legend + .cotes, .etape > legend + .bascule { margin-top: 0; }
.etape__sortie { clear: both; font-size: .92rem; color: var(--gris); margin: 1rem 0 0; }
.etape__intro { color: var(--encre); margin: 0 0 1rem; max-width: 52ch; }

/* Formes d'ouverture : six points de départ, dessinés dans leur mur */
.formes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.forme {
  position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; min-width: 0; text-align: left; cursor: pointer; font: inherit; color: inherit;
  background: var(--blanc); border: 2px solid var(--bord); border-radius: 0; padding: .7rem .8rem .8rem;
  transition: border-color 120ms ease-out, background-color 120ms ease-out;
}
.forme:hover { border-color: var(--acier); }
.forme[aria-pressed="true"] { border-color: var(--petrole); background: var(--verre); box-shadow: inset 0 0 0 1px var(--petrole); }
.forme[aria-pressed="true"]::after {
  content: ""; position: absolute; top: .55rem; right: .55rem; width: 1.05rem; height: 1.05rem; border: 2px solid var(--petrole);
  background: var(--petrole) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.6' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.forme__plan { display: block; height: 6.2rem; margin-bottom: .55rem; }
.forme__nom { display: block; font-family: var(--titre); font-weight: 600; font-size: 1.05rem; line-height: 1.2; }
/* Le prix d'exemple se cale en bas de la carte : il s'aligne d'une carte à l'autre, quel que soit le texte. */
.forme__prix { display: block; margin-top: auto; padding-top: .45rem; font-size: .78rem; font-weight: 700; color: var(--petrole); }
.forme__montant { white-space: nowrap; }
.forme__texte { display: block; font-size: .85rem; line-height: 1.35; color: var(--gris); margin-top: .2rem; }
.forme[aria-pressed="true"] .forme__texte { color: var(--encre); }

.choix { display: grid; gap: .6rem; }
.choix--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choix--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.carte, .option {
  position: relative; display: block; cursor: pointer;
  background: var(--blanc); border: 2px solid var(--bord); padding: .8rem 2.1rem .85rem .95rem;
  transition: border-color 120ms ease-out, background-color 120ms ease-out;
}
.carte { padding: .9rem 1rem 1rem; }
.carte input, .option input, .lame input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.carte:hover, .option:hover { border-color: var(--acier); }
.carte:has(input:checked), .option:has(input:checked) { border-color: var(--petrole); background: var(--verre); box-shadow: inset 0 0 0 1px var(--petrole); }
.carte:has(input:focus-visible), .option:has(input:focus-visible), .lame:has(input:focus-visible) { outline: 3px solid var(--petrole); outline-offset: 3px; }
.carte::after, .option::after {
  content: ""; position: absolute; top: .7rem; right: .7rem; width: 1.05rem; height: 1.05rem;
  border: 2px solid transparent;
}
.option--case::after { border-color: var(--bord); background: var(--blanc); }
.carte:has(input:checked)::after, .option:has(input:checked)::after {
  border-color: var(--petrole);
  background: var(--petrole) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.6' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.carte__plan { display: block; height: 7.5rem; margin-bottom: .7rem; }
.carte__titre, .option__titre { display: block; font-weight: 600; line-height: 1.3; }
.carte__titre { font-family: var(--titre); font-size: 1.2rem; }
.carte__texte, .option__texte { display: block; font-size: .88rem; line-height: 1.4; color: var(--gris); margin-top: .2rem; }
.carte:has(input:checked) .carte__texte, .option:has(input:checked) .option__texte { color: var(--encre); }
.option__prix { display: block; margin-top: .4rem; font-size: .88rem; font-weight: 700; color: var(--petrole); font-variant-numeric: tabular-nums; }
.option__prix:empty { display: none; }
.option__prix--ligne { display: inline; margin: 0 0 0 .3rem; }
.choix--court .option { padding-block: .7rem; }

.cotes, .rang { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1.4rem; }
.champ { min-width: 0; }
.champ > label, .champ__libelle { display: block; font-weight: 600; font-size: .98rem; margin-bottom: .4rem; }
.champ__sous { display: block; font-size: .93rem; margin-bottom: .4rem; }
.champ__valeur { font-weight: 400; color: var(--gris); margin-left: .35rem; }
.champ__option { font-weight: 400; color: var(--gris); }
.champ__saisie { display: flex; align-items: stretch; border: 2px solid var(--acier); background: var(--blanc); }
.champ__saisie:focus-within { outline: 3px solid var(--petrole); outline-offset: 2px; }
.champ__saisie input {
  flex: 1; min-width: 0; width: 100%; border: 0; border-radius: 0; background: transparent; outline: 0;
  padding: .55rem .75rem; font: inherit; font-size: 1.2rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--acier);
}
.champ__unite { display: grid; place-items: center; padding-inline: .75rem; background: var(--tole); border-left: 2px solid var(--acier); font-weight: 600; font-size: .9rem; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.champ__regle { margin-top: .3rem; }
.champ__aide { font-size: .86rem; line-height: 1.45; color: var(--gris); margin: .4rem 0 0; }
.champ__aide--alerte { color: var(--erreur); font-weight: 600; }
.champ--court { max-width: 14rem; }
.pas { display: inline-flex; border: 2px solid var(--acier); background: var(--blanc); }
.pas button {
  width: 2.75rem; height: 2.75rem; border: 0; border-radius: 0; background: var(--tole); cursor: pointer;
  font-size: 1.35rem; font-weight: 600; line-height: 1; transition: background-color 120ms ease-out;
}
.pas button:hover { background: var(--verre-fonce); }
.pas button:active { background: var(--acier); color: var(--blanc); }
.pas button[aria-disabled="true"] { color: #9aa3a7; cursor: default; background: var(--tole); }
.pas input {
  width: 3.6rem; border: 0; border-inline: 2px solid var(--acier); border-radius: 0; text-align: center; background: var(--blanc);
  font: inherit; font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--acier);
}
.pas input:focus-visible, .pas button:focus-visible { outline-offset: -3px; }
.repli { margin-top: .6rem; padding: 1rem 1.1rem 1.1rem; background: var(--tole); }
.bascule + .bascule { margin-top: .6rem !important; }
@media (prefers-reduced-motion: no-preference) {
  .repli { animation: reveler 180ms ease-out; }
}
@keyframes reveler { from { opacity: 0; transform: translateY(-4px); } }

.nuancier { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.4rem, 1fr)); gap: .45rem; list-style: none; margin: 0; padding: 0; }
.lame { position: relative; display: block; cursor: pointer; padding: 4px 4px .45rem; border: 2px solid transparent; background: var(--blanc); transition: border-color 120ms ease-out; }
.lame:hover { border-color: var(--bord); }
.lame:has(input:checked) { border-color: var(--petrole); background: var(--verre); box-shadow: inset 0 0 0 1px var(--petrole); }
.lame__couleur { display: block; height: 3.3rem; border: 1px solid rgb(14 14 16 / .3); }
.lame__code { display: block; font-weight: 700; font-size: .82rem; margin-top: .35rem; font-variant-numeric: tabular-nums; }
.lame__nom { display: block; font-size: .78rem; line-height: 1.25; color: var(--gris); }
.lame--autre .lame__couleur { background: linear-gradient(90deg, #7b1d24 0 20%, #c69a2e 20% 40%, #1f5c3d 40% 60%, #1d3f7a 60% 80%, #8a8f92 80%); }
.lame--fixe { cursor: default; border: 0; padding: 0; background: transparent; }
.lame--fixe:hover { border: 0; }
.nuancier--expose { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem .8rem; }
.nuancier--expose .lame__couleur { height: 4.6rem; border-color: rgb(255 255 255 / .35); }
.nuancier--expose .lame__nom { color: #c3ccd0; }
.ral-9005 .lame__couleur { background: #0a0a0a; }
.ral-7021 .lame__couleur { background: #23282b; }
.ral-7016 .lame__couleur { background: #383e42; }
.ral-8019 .lame__couleur { background: #3d3635; }
.ral-7039 .lame__couleur { background: #6c6960; }
.ral-9010 .lame__couleur { background: #f1ece1; }
.ral-6005 .lame__couleur { background: #0f4336; }
.ral-5011 .lame__couleur { background: #1a2b3c; }
.ral-3005 .lame__couleur { background: #59191f; }
.ral-1019 .lame__couleur { background: #9e8b71; }
.ral-8017 .lame__couleur { background: #442f29; }
.ral-6009 .lame__couleur { background: #27352a; }

.cfg__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.6rem; border-top: 3px solid var(--acier); padding-top: 1.3rem; }

/* Barre de prix, sur petit écran */
.barre-prix { display: none; }
.plan-mini { display: none; }

/* Demande de devis */
.devis { background: var(--verre); border-top: var(--barre) solid var(--acier); padding-block: clamp(3rem, 6vw, 5rem); }
.devis__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.8rem, 4vw, 4rem); align-items: start; }
.devis h2 { margin-bottom: .9rem; }
.devis__recap > p { color: var(--encre); }
.recap { margin-top: 1.5rem; border: var(--barre) solid var(--acier); background: var(--acier); display: grid; gap: 1px; }
.recap__ligne { background: var(--blanc); display: grid; grid-template-columns: 5.2rem minmax(0, 1fr) auto; gap: .2rem 1rem; padding: .8rem .9rem; align-items: start; }
.recap__plan { grid-row: 1 / span 2; width: 5.2rem; height: 5.2rem; background: var(--verre); padding: .3rem; }
.recap__nom { font-weight: 700; }
.recap__ensemble { background: var(--verre); height: 14rem; padding: .9rem .9rem .5rem; }
.recap__prix { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.recap__texte { grid-column: 2 / -1; font-size: .9rem; line-height: 1.45; color: var(--encre); margin: 0; }
.recap__bloc { background: var(--blanc); padding: .7rem .9rem; font-size: .95rem; }
.recap__bloc p { margin: 0; }
.recap__totaux { background: var(--blanc); width: 100%; border-collapse: collapse; }
.recap__totaux th, .recap__totaux td { padding: .5rem .9rem; text-align: left; font-weight: 400; border-top: 1px solid var(--filet); }
.recap__totaux tr:first-child th, .recap__totaux tr:first-child td { border-top: 0; }
.recap__totaux td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.recap__totaux tr:last-child th, .recap__totaux tr:last-child td { font-weight: 700; font-size: 1.15rem; border-top: 2px solid var(--acier); }
.recap__mention { background: var(--tole); padding: .6rem .9rem; font-size: .85rem; color: var(--encre); margin: 0; max-width: none; }
.devis__outils { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.6rem; margin-top: 1rem; }
.devis__info { font-size: .9rem; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.impression { display: none; }

.formulaire { background: var(--blanc); border: var(--barre) solid var(--acier); padding: clamp(1.2rem, 3vw, 1.9rem); display: grid; gap: 1.05rem; }
.formulaire h2 { font-size: 1.5rem; margin: 0; }
.formulaire input[type="text"], .formulaire input[type="tel"], .formulaire input[type="email"], .formulaire textarea, #ralLibre {
  display: block; width: 100%; border: 2px solid var(--acier); border-radius: 0; background: var(--blanc);
  padding: .68rem .8rem; font: inherit; font-size: 1.05rem; color: var(--acier);
}
.formulaire textarea { resize: vertical; min-height: 6.5rem; line-height: 1.5; }
.formulaire input:focus-visible, .formulaire textarea:focus-visible, #ralLibre:focus-visible { outline: 3px solid var(--petrole); outline-offset: 2px; }
.formulaire ::placeholder, #ralLibre::placeholder { color: #68737a; opacity: 1; }
.formulaire [aria-invalid="true"] { border-color: var(--erreur); background: #fdf6f5; }
.formulaire .rang { gap: 1.05rem 1.1rem; }
.rang--cp { grid-template-columns: minmax(0, 8rem) minmax(0, 1fr); }
.champ__erreur { margin: .35rem 0 0; font-size: .88rem; font-weight: 600; color: var(--erreur); }
.champ__info { margin: .35rem 0 0; font-size: .86rem; color: var(--encre); }
.champ__info:empty { display: none; }
.formulaire__mention { font-size: .85rem; line-height: 1.5; color: var(--gris); margin: 0; }
.formulaire__erreur { margin: 0; padding: .8rem .95rem; border: 2px solid var(--erreur); background: #fbeeec; color: #7c1d13; font-weight: 600; max-width: none; }
.piege { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }
.confirmation { background: var(--blanc); border: var(--barre) solid var(--acier); padding: clamp(1.4rem, 3vw, 2.2rem); }
.confirmation:focus { outline: 0; }
.confirmation__signe { color: var(--petrole); margin-bottom: 1rem; }
.confirmation h2 { font-size: 1.7rem; margin-bottom: .8rem; }
.confirmation .bouton { margin-top: .6rem; }
.confirmation strong { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: no-preference) {
  .confirmation { animation: reveler 260ms var(--sortie); }
}

/* ---------- Adaptations ---------- */
@media (max-width: 62rem) {
  .hero__grille, .postes__grille, .etude__grille, .atelier-bande__grille, .questions__grille, .appel__grille,
  .tete-page__grille, .deux, .deux--inverse, .contact__grille, .devis__grille, .cfg__corps { grid-template-columns: minmax(0, 1fr); }
  .hero__chapo { max-width: 46ch; }
  .tete-page__photo, .deux__photo, .etude__photo { aspect-ratio: 3 / 2.2; max-width: 34rem; }
  .deux--inverse .deux__photo { order: 2; }
  .pied__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied__maison { grid-column: 1 / -1; }
  .gestes { grid-template-columns: minmax(0, 1fr); }
  .nuancier--expose { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cfg__plan { position: static; max-height: none; overflow: visible; }
  .plan__cadre { height: clamp(13rem, 38vh, 22rem); }
  .plan--piece .plan__cadre { height: auto; aspect-ratio: 3 / 2; }
  .cfg { padding-bottom: 0; }
  .barre-prix {
    display: flex; align-items: center; justify-content: space-between; gap: .9rem;
    position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
    background: var(--acier); color: var(--blanc);
    padding: .5rem var(--goutt) calc(.5rem + env(safe-area-inset-bottom));
    transition: transform 220ms var(--sortie), visibility 0s;
  }
  .barre-prix--cachee { transform: translateY(110%); visibility: hidden; transition: transform 220ms var(--sortie), visibility 0s 220ms; }
  .barre-prix__prix { margin: 0; line-height: 1.15; font-size: .78rem; color: #c9d1d4; max-width: none; }
  .barre-prix__prix strong { display: block; font-family: var(--titre); font-size: 1.3rem; color: var(--blanc); white-space: nowrap; }
  .barre-prix .bouton { min-height: 2.75rem; padding: .55rem 1rem; background: var(--blanc); color: var(--acier); border-color: var(--blanc); white-space: nowrap; }
  .barre-prix :focus-visible { outline-color: var(--blanc); }
  @media (prefers-reduced-motion: reduce) { .barre-prix, .barre-prix--cachee { transition: none; } }
  @media (max-width: 22.5rem) {
    .barre-prix { gap: .5rem; padding-inline: .75rem; }
    .barre-prix .bouton { padding-inline: .7rem; font-size: .94rem; }
    .barre-prix__prix strong { font-size: 1.15rem; }
  }
  .cfg ~ .pied { padding-bottom: 4.5rem; }
}
/* Téléphone et tablette : une fois le plan sorti de l'écran, une réduction reste en haut pendant les
   réglages, pour voir la verrière changer. Pas sur un écran trop bas (téléphone couché). */
@media (max-width: 62rem) and (min-height: 30rem) {
  .plan-mini {
    display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: stretch;
    position: fixed; z-index: 30; left: 0; right: 0; top: 0; height: 6.75rem;
    background: var(--blanc); border-bottom: 3px solid var(--acier); cursor: pointer;
    transform: translateY(-110%); visibility: hidden;
    transition: transform 220ms var(--sortie), visibility 0s 220ms;
  }
  .plan-mini--visible { transform: none; visibility: visible; transition: transform 220ms var(--sortie), visibility 0s; }
  .plan-mini__dessin { min-width: 0; min-height: 0; background: var(--verre); padding: .5rem .7rem .25rem; }
  .plan-mini--piece .plan-mini__dessin { padding: 0; }
  .plan-mini__dessin .plan__svg { width: 100%; height: 100%; }
  .plan-mini__texte { margin: 0; align-self: center; max-width: none; padding: .4rem var(--goutt) .4rem .9rem; font-size: .82rem; line-height: 1.3; color: var(--gris); }
  .plan-mini__texte strong { display: block; font-size: .95rem; color: var(--acier); }
  .plan-mini__texte span { display: block; white-space: nowrap; }
  @media (prefers-reduced-motion: reduce) { .plan-mini, .plan-mini--visible { transition: none; } }
  /* Un champ atteint au clavier ou par une ancre ne se range pas sous la réduction. */
  html:has(.plan-mini--visible) { scroll-padding-top: 8rem; }
}
@media (min-width: 40.0625rem) and (max-width: 62rem) and (min-height: 30rem) {
  .plan-mini { grid-template-columns: 20rem minmax(0, 1fr); height: 7.5rem; }
  html:has(.plan-mini--visible) { scroll-padding-top: 8.75rem; }
}
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .estimateur { grid-template-columns: minmax(0, 1fr); }
  .estimateur__plan { aspect-ratio: 4 / 3; }
  .nomenclature, .nomenclature tbody, .nomenclature tfoot { display: block; }
  .nomenclature thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .nomenclature tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-bottom: 1px solid var(--acier); padding: .75rem .9rem; gap: .15rem 1rem; align-items: baseline; }
  .nomenclature tbody th, .nomenclature tbody td { border: 0; padding: 0; }
  .nomenclature tbody th { white-space: normal; }
  .nomenclature tbody td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: .93rem; }
  .nomenclature tfoot tr { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; background: var(--tole); padding: .8rem .9rem; }
  .nomenclature tfoot th, .nomenclature tfoot td { padding: 0; }
  .formes__grille, .trames, .finition { grid-template-columns: minmax(0, 1fr); }
  .nuancier--expose { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pied__grille { grid-template-columns: minmax(0, 1fr); }
  .choix--3 { grid-template-columns: minmax(0, 1fr); }
  .formes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .forme { padding: .6rem .65rem .7rem; }
  .forme__plan { height: 4.6rem; }
  .forme__nom { font-size: 1rem; overflow-wrap: break-word; }
  .forme__montant { display: block; }
  .ensemble__cadre { height: 7rem; }
  .recap__ensemble { height: 11rem; }
  .question p { padding-right: 0; }
  .cartouche > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .recap__ligne { grid-template-columns: 4.2rem minmax(0, 1fr); }
  .recap__plan { width: 4.2rem; height: 4.2rem; grid-row: 1 / span 3; }
  .recap__prix { grid-column: 2; text-align: left; }
  .recap__texte { grid-column: 2; }
  .etape legend { font-size: 1.35rem; }
}
@media (max-width: 30rem) {
  .choix--2:not(.choix--court) { grid-template-columns: minmax(0, 1fr); }
  .etape .choix--2:first-of-type { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cotes { gap: 1rem .8rem; }
  .rang { grid-template-columns: minmax(0, 1fr); }
  .rang--cp { grid-template-columns: minmax(0, 7rem) minmax(0, 1fr); }
  .carte__plan { height: 6rem; }
  .hero__actions .bouton { width: 100%; }
}

/* ---------- Impression : l'estimation tient sur une page ---------- */
@media print {
  @page { margin: 14mm; }
  body { font-size: 10.5pt; }
  .plan__vues,
  .entete, .pied, .cfg__tete p, .cfg__reglages, .formulaire, .confirmation, .barre-prix, .plan-mini, .devis__outils, .onglets, .ensemble,
  .prix .bouton, .prix__detail, .appel, .evitement, noscript, .devis__recap > p, .odratta-apercu, [data-apercu] { display: none !important; }
  .impression { display: block; font-size: 9.5pt; margin: 0 0 6mm; max-width: none; }
  .cfg__tete { padding: 0 0 4mm; }
  .cfg__tete h1 { font-size: 18pt; }
  .cfg__corps { display: block; padding: 0; width: auto; }
  .cfg__plan { position: static; max-height: none; overflow: visible; }
  .plan__cadre { height: 70mm; }
  .devis { background: none; border: 0; padding: 6mm 0 0; }
  .devis__grille { display: block; width: auto; }
  .devis h2 { font-size: 14pt; }
  .recap__ligne { break-inside: avoid; }
  .chassis, .recap { border-width: 2px; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.insecable { white-space: nowrap; }
