/* ------------------------------------------------------------------
   E.D. Maconnerie - Eric Delin, artisan macon a Estissac (Aube)
   Direction artistique « Beton & Brique » : fond beton froid, encre
   graphite, un seul accent chaud emprunte a la brique des facades
   d'Eric Delin. La couleur chaude de la page vient de la brique et
   des photographies de chantier, jamais d'un aplat decoratif.
   Geometrie : rayon unique 14 px (20 px sur les coques exterieures),
   aucun element en pilule. Les seances horizontales en accent
   rappellent les assises de brique des murs de cloture.
   Theme unique verrouille (clair), socle graphite pour le contact.
   Aucune ressource tierce : polices, images et icones auto-hebergees.
   ------------------------------------------------------------------ */

/* --- Polices ------------------------------------------------------- */
/* Schibsted Grotesk (SIL Open Font License 1.1) - titres et texte */
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/schibsted-latin.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: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/schibsted-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}
/* IBM Plex Mono (SIL Open Font License 1.1) - chiffres et reperes */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/plexmono-latin.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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/plexmono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, 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 {
  color-scheme: light;

  --paper: #dfe2e4;
  --paper-2: #e8eaec;
  --surface: #f7f8f9;
  --surface-2: #eef0f1;

  --ink: #16181a;
  --ink-2: #2c3134;
  --muted: #59616a;
  --muted-2: #737c85;

  --brick: #96382a;
  --brick-2: #7c2c20;
  --brick-wash: rgba(150, 56, 42, 0.075);
  --brick-line: rgba(150, 56, 42, 0.3);

  --base: #191c1e;
  --base-2: #212528;
  --base-line: rgba(232, 238, 242, 0.12);
  --base-text: #dfe4e7;
  --base-muted: #949ea6;

  --line: rgba(22, 24, 26, 0.13);
  --line-2: rgba(22, 24, 26, 0.22);

  /* Rayons : coques 20, surfaces 14, petits blocs 9. Aucune pilule. */
  --r: 14px;
  --r-shell: 20px;
  --r-sm: 9px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);

  --pad-y: clamp(4.5rem, 8.5vw, 8rem);
  --gut: clamp(1.15rem, 4vw, 3rem);
  --max: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gut);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 3px;
  border-radius: 4px;
}

.ico {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex: none;
}

/* --- Typographie --------------------------------------------------- */
h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.05;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.2rem, 3.95vw, 3.15rem);
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  max-width: 24ch;
}

h3 {
  font-size: 1.12rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

p {
  margin: 0;
}

.lede {
  font-size: clamp(1.02rem, 1.28vw, 1.16rem);
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.6;
}

.body {
  color: var(--muted);
  max-width: 58ch;
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-feature-settings: "tnum" 1;
}

/* Assise : le petit trait de brique qui ouvre les blocs de titre. */
.assise {
  display: block;
  width: 46px;
  height: 3px;
  background: var(--brick);
  border-radius: 2px;
  margin-bottom: 1.35rem;
}

/* --- Bandeau d'apercu ---------------------------------------------- */
.preview-bar {
  background: var(--base);
  color: var(--base-text);
  font-size: 0.8rem;
  line-height: 1.35;
  border-bottom: 1px solid var(--base-line);
}

.preview-bar .wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 40px;
  padding-block: 0.42rem;
}

.preview-bar .mark {
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--brick);
  border-radius: 1px;
}

.preview-bar strong {
  font-weight: 700;
  color: #fff;
}

.preview-bar .short {
  display: none;
}

.preview-bar a {
  margin-left: auto;
  color: var(--base-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 238, 242, 0.35);
  padding-bottom: 1px;
  white-space: nowrap;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}

.preview-bar a:hover {
  color: #fff;
  border-color: #fff;
}

/* --- Navigation ----------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(223, 226, 228, 0.82);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.5s var(--ease), background 0.5s var(--ease);
}

.nav.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(223, 226, 228, 0.93);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 68px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
  line-height: 1.1;
  margin-right: auto;
}

.brand b {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.brand span {
  font-size: 0.685rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-2);
  position: relative;
  padding-block: 4px;
  transition: color 0.4s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brick);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* --- Boutons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.78rem 0.78rem 0.78rem 1.15rem;
  border-radius: var(--r);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.45s var(--ease), color 0.45s var(--ease),
    border-color 0.45s var(--ease), transform 0.3s var(--ease-soft),
    box-shadow 0.45s var(--ease);
}

.btn .cap {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--r-sm);
  font-size: 15px;
  transition: transform 0.5s var(--ease-soft), background 0.45s var(--ease);
}

.btn:active {
  transform: scale(0.985);
}

.btn-brick {
  background: var(--brick);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 10px 26px -14px rgba(124, 44, 32, 0.85);
}

.btn-brick .cap {
  background: rgba(255, 255, 255, 0.16);
}

.btn-brick:hover {
  background: var(--brick-2);
}

.btn-brick:hover .cap {
  transform: translate(2px, -1px) scale(1.05);
}

.btn-line {
  border-color: var(--line-2);
  color: var(--ink);
  background: transparent;
}

.btn-line .cap {
  background: rgba(22, 24, 26, 0.07);
}

.btn-line:hover {
  border-color: var(--ink);
  background: rgba(22, 24, 26, 0.045);
}

.btn-line:hover .cap {
  transform: translate(2px, -1px) scale(1.05);
}

.btn-onbase {
  background: var(--surface);
  color: var(--ink);
}

.btn-onbase .cap {
  background: rgba(22, 24, 26, 0.08);
}

.btn-onbase:hover {
  background: #fff;
}

.btn-onbase:hover .cap {
  transform: translate(2px, -1px) scale(1.05);
}

.btn-sm {
  padding: 0.5rem 0.5rem 0.5rem 0.9rem;
  font-size: 0.875rem;
}

.btn-sm .cap {
  width: 26px;
  height: 26px;
  font-size: 13px;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
  position: relative;
  padding: 0;
}

.burger span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.5s var(--ease-soft), opacity 0.3s linear;
}

.burger span:nth-child(1) {
  top: 16px;
}

.burger span:nth-child(2) {
  top: 23px;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Panneau mobile */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 39;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  padding: 5rem 1.6rem 3rem;
  background: rgba(223, 226, 228, 0.97);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.sheet.is-open {
  opacity: 1;
  visibility: visible;
}

.sheet > a:not(.btn) {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.sheet.is-open > a:not(.btn) {
  opacity: 1;
  transform: none;
}

.sheet.is-open > a:nth-child(1) {
  transition-delay: 0.06s;
}
.sheet.is-open > a:nth-child(2) {
  transition-delay: 0.11s;
}
.sheet.is-open > a:nth-child(3) {
  transition-delay: 0.16s;
}
.sheet.is-open > a:nth-child(4) {
  transition-delay: 0.21s;
}

.sheet .btn {
  margin-top: 1.5rem;
  justify-content: space-between;
}

/* --- Apparitions ---------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* --- Sections ------------------------------------------------------- */
section {
  position: relative;
}

.pad {
  padding-block: var(--pad-y);
}

.head {
  max-width: 62ch;
  margin-bottom: clamp(2.5rem, 4.5vw, 3.75rem);
}

.head p {
  margin-top: 1.05rem;
  color: var(--muted);
  max-width: 54ch;
}

/* --- Heros ---------------------------------------------------------- */
.hero {
  padding-top: clamp(2.75rem, 5vw, 4.25rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.32fr 0.68fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

/* Le titre est cale sur la largeur de la colonne, pas sur une mesure en ch :
   deux lignes maximum a 1280 px, verifie par capture sans scroll. */
.hero h1 {
  max-width: none;
}

.hero .lede {
  margin-top: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.1rem;
}

.hero-media {
  padding: 8px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-shell);
  box-shadow: 0 30px 60px -34px rgba(22, 30, 38, 0.5);
}

.hero-media > div {
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface-2);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* --- Bande de reperes ------------------------------------------------ */
.facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  padding: 1.7rem 1.5rem 1.7rem 0;
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
}

.fact:first-child {
  border-left: 0;
  padding-left: 0;
}

.fact b {
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  letter-spacing: -0.055em;
  color: var(--ink);
  line-height: 1.1;
}

.fact span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.845rem;
  line-height: 1.4;
  color: var(--muted);
  max-width: 22ch;
}

/* --- Prestations ------------------------------------------------------ */
.prest-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  position: relative;
  transition: box-shadow 0.6s var(--ease), transform 0.6s var(--ease-soft),
    border-color 0.6s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: var(--brick);
  border-radius: var(--r) var(--r) 0 0;
  transform: scaleX(0.14);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

.card:hover {
  box-shadow: 0 26px 50px -34px rgba(22, 30, 38, 0.45);
  border-color: var(--line-2);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-lead {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
}

.card-side {
  grid-column: span 6;
}

.card .kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--brick);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.9rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  font-size: 0.855rem;
  line-height: 1.3;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.42rem 0.7rem;
}

.card-lead .media {
  margin-top: auto;
  padding-top: 1.6rem;
}

.card-lead .media img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--r-sm);
}

.card-lead figcaption,
.grid-cap {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--muted-2);
}

.prest-note {
  grid-column: span 12;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  padding-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* --- Realisations : appareillage a joints decales --------------------- */
.bond {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.tile {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

/* Hauteur fixee par assise : les deux tuiles d'une meme rangee finissent a la
   meme ligne, et la hauteur change d'une rangee a l'autre. */
.bond > :nth-child(1),
.bond > :nth-child(2) {
  height: clamp(215px, 26vw, 340px);
}

.bond > :nth-child(3),
.bond > :nth-child(4) {
  height: clamp(185px, 21.5vw, 282px);
}

.bond > :nth-child(5),
.bond > :nth-child(6) {
  height: clamp(200px, 23.5vw, 308px);
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.tile:hover img {
  transform: scale(1.035);
}

.tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 1.1rem 0.95rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  background: linear-gradient(
    to top,
    rgba(12, 14, 16, 0.82),
    rgba(12, 14, 16, 0.45) 45%,
    rgba(12, 14, 16, 0)
  );
}

.t-7 {
  grid-column: span 7;
}
.t-5 {
  grid-column: span 5;
}
.t-6 {
  grid-column: span 6;
}

/* --- Chantier avant / apres ------------------------------------------- */
.chantier {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.chantier-notes {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: start;
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pair figure {
  margin: 0;
}

.pair img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--line);
}

.pair-label {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.pair figure:last-child .pair-label {
  color: var(--brick);
}

.pair figcaption {
  margin-top: 0.7rem;
  font-size: 0.845rem;
  line-height: 1.5;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.steps li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.75rem;
  font-size: 0.925rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.steps .ico {
  color: var(--brick);
  font-size: 17px;
  margin-top: 3px;
}

.recipe {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.3rem 1.4rem;
}

.recipe h3 {
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.recipe dl {
  margin: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.855rem;
}

.recipe .row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.recipe dt {
  color: var(--muted);
  flex: 1;
  min-width: 0;
}

.recipe dd {
  margin: 0;
  color: var(--ink);
  white-space: nowrap;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 0.815rem;
}

.recipe > p {
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted-2);
}

/* --- Bande matiere ----------------------------------------------------- */
.matiere {
  position: relative;
  overflow: hidden;
}

.matiere img {
  width: 100%;
  height: clamp(150px, 22vw, 250px);
  object-fit: cover;
  display: block;
}

/* --- Avis --------------------------------------------------------------- */
.avis-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.score {
  text-align: right;
}

.score b {
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brick);
}

.score span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.avis-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.avis {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.4rem, 2.2vw, 1.85rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.avis .stars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brick);
  font-size: 0.78rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.avis .stars .ico {
  font-size: 14px;
}

.avis blockquote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.avis-lead blockquote {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
}

.avis footer {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.83rem;
  color: var(--muted);
}

.avis footer b {
  display: block;
  color: var(--ink-2);
  font-weight: 600;
}

/* --- Garanties ----------------------------------------------------------- */
.garanties-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.gar-tiles {
  display: grid;
  gap: 1rem;
}

.gar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: baseline;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.35rem 1.5rem;
}

.gar .dur {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--brick);
  min-width: 6.5ch;
}

.gar h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.gar p {
  font-size: 0.885rem;
  line-height: 1.5;
  color: var(--muted);
}

.attest {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.4rem, 2.2vw, 1.85rem);
}

.attest h3 {
  margin-bottom: 1.1rem;
}

.attest ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.attest li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.attest .ico {
  color: var(--brick);
  font-size: 16px;
  margin-top: 3px;
}

.attest > p {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted-2);
}

/* --- Contact : socle graphite -------------------------------------------- */
.contact {
  background: var(--base);
  color: var(--base-text);
}

.contact h2 {
  color: #fff;
}

.contact .assise {
  background: var(--brick);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact p.body {
  color: var(--base-muted);
}

.coords {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.coords li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.85rem;
  align-items: start;
}

.coords .ico {
  font-size: 19px;
  color: var(--brick);
  margin-top: 4px;
}

.coords .lbl {
  display: block;
  font-size: 0.73rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--base-muted);
  margin-bottom: 0.2rem;
}

.coords a,
.coords .val {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 238, 242, 0.28);
  transition: border-color 0.4s var(--ease);
}

.coords .val {
  border-bottom: 0;
  font-weight: 500;
  font-size: 1rem;
}

.coords a:hover {
  border-color: #fff;
}

.contact-cta {
  margin-top: 2.1rem;
}

.zone-note {
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--base-line);
  font-size: 0.855rem;
  line-height: 1.55;
  color: var(--base-muted);
  max-width: 48ch;
}

/* Formulaire desactive, marque comme option */
.form-shell {
  background: var(--base-2);
  border: 1px solid var(--base-line);
  border-radius: var(--r-shell);
  padding: 8px;
}

.form-core {
  border: 1px solid var(--base-line);
  border-radius: var(--r);
  padding: clamp(1.35rem, 2.2vw, 1.75rem);
}

.form-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.form-head h3 {
  color: #fff;
  font-size: 1.02rem;
}

.tag {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brick);
  border: 1px solid var(--brick-line);
  border-radius: 5px;
  padding: 0.2rem 0.45rem;
  margin-left: auto;
  white-space: nowrap;
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.95rem;
}

.field label {
  font-size: 0.82rem;
  color: var(--base-muted);
}

.field input,
.field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--base-text);
  background: rgba(12, 14, 16, 0.55);
  border: 1px solid var(--base-line);
  border-radius: var(--r-sm);
  padding: 0.7rem 0.85rem;
  width: 100%;
  resize: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8c959d;
}

.field input:disabled,
.field textarea:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.form-core .btn[disabled] {
  width: 100%;
  justify-content: space-between;
  background: rgba(232, 238, 242, 0.09);
  color: var(--base-muted);
  cursor: not-allowed;
  border-color: var(--base-line);
}

.form-core .btn[disabled] .cap {
  background: rgba(232, 238, 242, 0.09);
}

.form-note {
  margin-top: 0.95rem;
  font-size: 0.79rem;
  line-height: 1.5;
  color: var(--base-muted);
}

/* --- Pied de page ---------------------------------------------------------- */
.foot {
  background: var(--base);
  color: var(--base-muted);
  border-top: 1px solid var(--base-line);
  font-size: 0.855rem;
}

.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: flex-start;
  justify-content: space-between;
  padding-block: 2.4rem 2.6rem;
}

.foot-legal {
  line-height: 1.6;
  max-width: 52ch;
}

.foot-legal b {
  color: var(--base-text);
  font-weight: 600;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
}

.foot-links a {
  color: var(--base-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 238, 242, 0.28);
  padding-bottom: 1px;
  transition: border-color 0.4s var(--ease);
}

.foot-links a:hover {
  border-color: #fff;
  color: #fff;
}

/* --- Pages annexes ---------------------------------------------------------- */
.doc {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.doc .back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.4s var(--ease);
}

.doc .back:hover {
  color: var(--brick);
}

.doc h1 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  max-width: 22ch;
}

.doc-body {
  max-width: 70ch;
  margin-top: 2.5rem;
  display: grid;
  gap: 2.1rem;
}

.doc-body h2 {
  font-size: 1.18rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.7rem;
  max-width: none;
}

.doc-body p,
.doc-body li {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.68;
}

.doc-body ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
}

.doc-body a {
  color: var(--brick);
  text-decoration: none;
  border-bottom: 1px solid var(--brick-line);
}

.doc-body a:hover {
  border-color: var(--brick);
}

/* --- Avant / apres du site --------------------------------------------------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.15rem, 2.5vw, 2rem);
  margin-top: 2.75rem;
}

.shot {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-shell);
  padding: 8px;
  overflow: hidden;
}

.shot-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.7rem 0.85rem;
}

.shot-head .mono {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.shot-head .now {
  color: var(--brick);
}

.shot-head .url {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--muted-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shot img {
  width: 100%;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #fff;
}

.gains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
}

.gain {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem 1.6rem;
}

.gain .n {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--brick);
  display: block;
  margin-bottom: 0.85rem;
}

.gain h3 {
  margin-bottom: 0.6rem;
}

.gain p {
  font-size: 0.895rem;
  line-height: 1.55;
  color: var(--muted);
}

/* --- Adaptations ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .avis-grid {
    grid-template-columns: 1fr 1fr;
  }
  .avis-lead {
    grid-column: span 2;
  }
  .garanties-grid,
  .chantier-notes,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .attest,
  .recipe {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-desktop-cta {
    display: none;
  }
  .burger {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .hero h1,
  .display {
    max-width: 18ch;
  }
  .hero-media {
    max-width: 460px;
  }
  .hero-media img {
    aspect-ratio: 4 / 3;
  }
  .facts .wrap {
    grid-template-columns: 1fr 1fr;
  }
  .fact {
    padding: 1.35rem 1.1rem;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .fact:nth-child(1),
  .fact:nth-child(2) {
    border-top: 0;
  }
  .fact:nth-child(odd) {
    padding-left: 0;
  }
  .fact:nth-child(even) {
    border-left: 1px solid var(--line);
  }
  .card-lead,
  .card-side,
  .t-7,
  .t-5,
  .t-6 {
    grid-column: span 12;
  }
  .bond > * {
    height: clamp(200px, 54vw, 300px) !important;
  }
  .prest-grid,
  .bond {
    gap: 1rem;
  }
}

@media (max-width: 720px) {
  .preview-bar .full {
    display: none;
  }
  .preview-bar .short {
    display: block;
  }
  .preview-bar {
    font-size: 0.755rem;
  }
  .preview-bar .wrap {
    min-height: 34px;
    gap: 0.5rem;
    padding-block: 0.3rem;
  }
  .avis-grid {
    grid-template-columns: 1fr;
  }
  .avis-lead {
    grid-column: span 1;
  }
  .avis-top {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
  }
  .score {
    text-align: left;
  }
  .compare,
  .gains {
    grid-template-columns: 1fr;
  }
  .foot .wrap {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .pair {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .gar {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .recipe .row {
    flex-direction: column;
    gap: 0.1rem;
  }
  .recipe dd {
    white-space: normal;
  }
}
