@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../chape-lettres/syne-latin-500.woff2") format("woff2");
  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: "Syne";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../chape-lettres/syne-latin-700.woff2") format("woff2");
  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: "Syne";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../chape-lettres/syne-latin-800.woff2") format("woff2");
  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: "Syne";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../chape-lettres/syne-latinext-700.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../chape-lettres/source-sans-3-latin-400.woff2") format("woff2");
  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: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../chape-lettres/source-sans-3-latinext-400.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../chape-lettres/source-sans-3-latin-600.woff2") format("woff2");
  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: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../chape-lettres/source-sans-3-latin-700.woff2") format("woff2");
  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;
}

:root {
  --ciment: #9A9A92;
  --ambre: #E0A14A;
  --blanc: #F6F5F1;
  --suie: #222220;
  --ruban: #2F6FED;
  --ambre-fonce: #c9862a;
  --papier: #eceae3;
  --ombre: rgba(34, 34, 32, 0.08);
  --max: 1180px;
  --mesure: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--suie);
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ruban); text-underline-offset: 0.18em; }
a:hover { color: var(--suie); }
:focus-visible { outline: 2px solid var(--ruban); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.saut { position: absolute; left: -999px; top: 0; background: var(--ambre); color: var(--suie); padding: 0.6rem 1rem; z-index: 40; }
.saut:focus { left: 1rem; top: 1rem; }

.mesure { font-family: var(--mesure); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.demo-note { font-size: 0.82rem; color: #4a4a46; }

.banc { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.banc--large { width: min(1320px, calc(100% - 1.4rem)); }

.marque {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--suie);
}
.marque svg { width: 40px; height: 40px; flex: none; }
.marque b { font-family: "Syne", sans-serif; font-weight: 800; letter-spacing: -0.03em; font-size: 1.15rem; }
.marque small { display: block; font-weight: 400; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #4d4d48; }

.mast {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 245, 241, 0.94);
  border-bottom: 1px solid var(--ciment);
  backdrop-filter: blur(10px);
}
.mast__rang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}
.nav a {
  color: var(--suie);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ambre); }
.nav a:hover { color: var(--ruban); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.55rem 1.05rem;
  border: 1px solid transparent;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}
.btn--ambre {
  background: var(--ambre);
  color: var(--suie);
  border-color: #c07d22;
}
.btn--ambre:hover { background: #edb25c; color: var(--suie); }
.btn--suie { background: var(--suie); color: var(--blanc); }
.btn--suie:hover { background: #000; color: var(--blanc); }
.btn--trait { background: transparent; color: var(--suie); border-color: var(--suie); }
.btn--trait:hover { border-color: var(--ruban); color: var(--ruban); }
.btn--plein { width: 100%; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ciment);
  background: var(--blanc);
  padding: 0;
}
.burger > span:not(.sr) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--suie);
}

.pied {
  background: var(--suie);
  color: #d6d5cf;
  padding: 3.2rem 0 1.4rem;
  margin-top: 0;
}
.pied a { color: #f0c27a; }
.pied a:hover { color: var(--blanc); }
.pied__grille {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
.pied h2 { font-family: "Syne", sans-serif; font-size: 0.92rem; color: var(--blanc); margin: 0 0 0.7rem; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin: 0.35rem 0; }
.pied__base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #3a3a36;
  font-size: 0.88rem;
}

.cookie {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  width: min(420px, calc(100% - 2rem));
  background: var(--blanc);
  color: var(--suie);
  border: 1px solid var(--suie);
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 40px var(--ombre);
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 0.8rem; }
.cookie__actes { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }

.page { padding: 2.4rem 0 4rem; }
h1, h2, h3, h4 {
  font-family: "Syne", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 0.7rem;
}
h1 { font-size: clamp(2.2rem, 5vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
.chapo { font-size: 1.15rem; max-width: 42rem; }
.kicker {
  font-family: var(--mesure);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ruban);
  margin: 0 0 0.45rem;
}

.atelier {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
  min-height: calc(100svh - 72px);
  background: var(--suie);
  color: var(--blanc);
}
.atelier__vue {
  position: relative;
  min-height: 320px;
}
.atelier__vue img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
}
.atelier__vue figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 0.7rem 1rem;
  background: linear-gradient(transparent, rgba(34,34,32,0.82));
  font-family: var(--mesure);
  font-size: 0.78rem;
}
.atelier__banc {
  padding: clamp(1.2rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
}
.atelier__banc h1 { color: var(--blanc); }
.atelier__banc .chapo { color: #dddcd6; }

.calc {
  background: var(--blanc);
  color: var(--suie);
  border: 1px solid #c7c6bf;
  padding: 1rem;
}
.calc__entete {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  border-bottom: 1px dashed var(--ciment);
  padding-bottom: 0.6rem;
  margin-bottom: 0.9rem;
}
.calc__entete strong { font-family: "Syne", sans-serif; }
.calc__grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.calc label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 0.3rem; }
.calc select,
.calc input[type="number"],
.calc input[type="text"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--ciment);
  background: var(--papier);
  color: var(--suie);
  font-family: var(--mesure);
  font-size: 1.25rem;
  padding: 0.4rem 0.7rem;
}
.calc input[type="range"] {
  width: 100%;
  accent-color: var(--ruban);
}
.epaisseur-affiche {
  font-family: var(--mesure);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.epaisseur-affiche span { font-size: 0.38em; color: #555; margin-left: 0.2em; }
.calc__sortie {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-top: 0.3rem;
}
.jeton {
  background: var(--suie);
  color: var(--blanc);
  padding: 0.7rem 0.75rem;
}
.jeton b {
  display: block;
  font-family: var(--mesure);
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
}
.jeton span { font-size: 0.78rem; color: #cfcfc8; }
.calc__pied { margin: 0.7rem 0 0; }

.strates { padding: 3.5rem 0; }
.strate {
  display: grid;
  grid-template-columns: 88px 1fr 180px;
  gap: 1.2rem;
  align-items: center;
  padding: 1.2rem 0;
  border-top: 1px solid var(--ciment);
}
.strate:last-child { border-bottom: 1px solid var(--ciment); }
.strate img { width: 180px; height: 110px; object-fit: cover; }
.strate__code {
  font-family: var(--mesure);
  color: var(--ruban);
  font-size: 0.92rem;
}

.coupe {
  display: grid;
  gap: 0.35rem;
  margin: 1.4rem 0;
}
.coupe i {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.8rem;
  font-family: var(--mesure);
  font-size: 0.82rem;
  font-style: normal;
}
.coupe i:nth-child(1) { background: #d8d4c8; min-height: 36px; }
.coupe i:nth-child(2) { background: var(--ambre); min-height: 52px; }
.coupe i:nth-child(3) { background: #b7b6ae; min-height: 28px; }
.coupe i:nth-child(4) { background: #6f6e67; color: var(--blanc); min-height: 42px; }

.mosaique {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.8rem;
}
.mosaique img { width: 100%; height: 100%; object-fit: cover; }
.mosaique figure { margin: 0; background: var(--papier); }
.mosaique figcaption {
  padding: 0.7rem 0.85rem;
  font-family: var(--mesure);
  font-size: 0.8rem;
}

.chiffres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.chiffre {
  border: 1px solid var(--ciment);
  padding: 1.1rem;
  background: var(--papier);
}
.chiffre b {
  font-family: var(--mesure);
  font-size: 2rem;
  display: block;
}

.faq details {
  border-top: 1px solid var(--ciment);
  padding: 0.9rem 0;
}
.faq details:last-child { border-bottom: 1px solid var(--ciment); }
.faq summary { cursor: pointer; font-family: "Syne", sans-serif; font-weight: 700; }
.faq p { margin: 0.6rem 0 0; }

form.feuille { display: grid; gap: 0.85rem; max-width: 36rem; }
form.feuille label { font-weight: 600; display: block; margin-bottom: 0.25rem; }
form.feuille input,
form.feuille select,
form.feuille textarea {
  width: 100%;
  border: 1px solid var(--ciment);
  background: #fff;
  color: var(--suie);
  min-height: 46px;
  padding: 0.5rem 0.7rem;
  font: inherit;
}
form.feuille textarea { min-height: 140px; resize: vertical; }
.form-ok { display: none; border: 1px solid var(--ambre); padding: 1rem; background: #fff7e8; }
.form-ok.ouvert { display: block; }

.table-mesure { width: 100%; border-collapse: collapse; font-family: var(--mesure); font-size: 0.92rem; }
.table-mesure th, .table-mesure td { text-align: left; padding: 0.7rem 0.55rem; border-bottom: 1px solid var(--ciment); }
.table-mesure th { font-family: "Syne", sans-serif; }

.ruban {
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--ruban) 0 8px,
    var(--blanc) 8px 16px,
    var(--suie) 16px 18px,
    var(--blanc) 18px 26px
  );
}

.legal { max-width: 46rem; }
.legal h2 { margin-top: 2rem; }

.galerie {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.galerie figure { margin: 0; }
.galerie img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.galerie figcaption { font-family: var(--mesure); font-size: 0.8rem; padding: 0.5rem 0; }

.support {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--ciment);
}
.support img { width: 160px; height: 110px; object-fit: cover; }

.bandeau-fin {
  background: var(--ambre);
  color: var(--suie);
  padding: 2.4rem 0;
}
.bandeau-fin .btn--suie { margin-top: 0.8rem; }

.intro-page { padding: 2.2rem 0 0.4rem; }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }
.deux img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.liste-mesure { list-style: none; padding: 0; margin: 1rem 0; }
.liste-mesure li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--ciment);
}
.liste-mesure b { font-family: var(--mesure); color: var(--ruban); }
.note-atelier {
  border-left: 4px solid var(--ruban);
  padding: 0.2rem 0 0.2rem 1rem;
  margin: 1.2rem 0;
}
.calc--page { margin: 1.4rem 0 2rem; }
.calc__steps { display: flex; gap: 0.4rem; margin-top: 0.45rem; }
.calc__steps button {
  min-width: 46px;
  min-height: 46px;
  border: 1px solid var(--suie);
  background: var(--papier);
  font-family: var(--mesure);
  font-size: 1.2rem;
  cursor: pointer;
}
.adresse { font-family: var(--mesure); font-size: 0.95rem; }

@media (max-width: 900px) {
  .deux, .liste-mesure li { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .burger { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: var(--blanc);
    border-bottom: 1px solid var(--ciment);
    padding: 1rem 1.2rem 1.2rem;
    flex-direction: column;
    align-items: stretch;
  }
  .nav.ouvert { display: flex; }
  .atelier { grid-template-columns: 1fr; min-height: 0; }
  .atelier__vue { min-height: 240px; max-height: 320px; }
  .calc__grille, .calc__sortie, .chiffres, .pied__grille, .mosaique, .galerie, .strate, .support {
    grid-template-columns: 1fr;
  }
  .strate img, .support img { width: 100%; height: 180px; }
  .pied__base { flex-direction: column; }
}
