/* ISO Sud Façades — feuille de style du site isosudfacades.fr */

/* ---------- Polices (hébergées sur le site, aucun appel externe) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-ext-standard-normal.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;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-standard-normal.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: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  src: url(/fonts/instrument-sans-latin-ext-standard-normal.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;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  src: url(/fonts/instrument-sans-latin-standard-normal.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-display: swap;
  font-weight: 400;
  src: url(/fonts/ibm-plex-mono-latin-ext-400-normal.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;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/ibm-plex-mono-latin-400-normal.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-display: swap;
  font-weight: 500;
  src: url(/fonts/ibm-plex-mono-latin-ext-500-normal.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;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/ibm-plex-mono-latin-500-normal.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;
}

/* ---------- Couleurs et réglages ---------- */
:root {
  --cream: #F2EEE6;
  --stone: #E7E0D4;
  --white: #FFFFFF;
  --ink: #1E1D1C;
  --text: #3B3936;
  --text-2: #4A4744;
  --muted: #5B5854;
  --muted-2: #6A6661;
  --red: #B42D2A;
  --red-hover: #8F221F;
  --red-tint: #F6E3E0;
  --red-on-dark: #E0483E;
  --red-on-dark-text: #EE6B5F;
  --dark: #262524;
  --darker: #1E1D1C;
  --brick-dark: #3A3836;
  --on-dark: #F2EEE6;
  --on-dark-2: #CFC8BC;
  --on-dark-3: #DCD5C9;
  --on-dark-muted: #B9B2A6;
  --on-dark-faint: #A9A196;
  --line: rgba(30, 29, 28, 0.14);
  --line-2: rgba(30, 29, 28, 0.18);
  --line-dark: rgba(242, 238, 230, 0.2);
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --gutter: clamp(20px, 4vw, 40px);
  --maxw: 1280px;
  --header-h: 91px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: var(--red); }
a:hover { color: var(--red-hover); }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.on-dark :focus-visible, .on-red :focus-visible { outline-color: var(--on-dark); }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 200;
  background: var(--ink);
  color: var(--on-dark);
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--on-dark); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.nowrap { white-space: nowrap; }

/* ---------- Typographie ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: '';
  flex-shrink: 0;
  width: 28px;
  height: 2px;
  background: currentColor;
}
.on-dark .eyebrow { color: var(--red-on-dark-text); }

.display-1, .display-2, .display-3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 88%;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display-1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1; }
.display-2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; }
.display-3 { font-size: clamp(32px, 3.8vw, 56px); line-height: 1.02; }
.accent { color: var(--red); }
.lead {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--text);
  max-width: 34em;
  text-wrap: pretty;
}
.body-text { font-size: 18px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.mono { font-family: var(--font-mono); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 28px;
  border: 1.5px solid transparent;
  border-radius: 0;
  background: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn svg { flex-shrink: 0; }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-hover); color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn--sm { min-height: 48px; padding: 0 22px; font-size: 15.5px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--red);
  text-decoration: none;
}
.text-link:hover { color: var(--red-hover); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Bandeau du haut ---------- */
.topbar {
  background: var(--darker);
  color: var(--on-dark-3);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0 24px;
}
.topbar__claim { display: flex; align-items: center; gap: 8px; }
.topbar__claim::before { content: ''; width: 8px; height: 8px; background: var(--red-on-dark); }
.topbar__links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.topbar__links a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--on-dark);
  text-decoration: none;
}
.topbar__links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.topbar__links svg, .footer-col a svg { flex-shrink: 0; color: var(--on-dark-muted); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 54px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 36px; font-weight: 600; font-size: 15.5px; }
.main-nav a { color: var(--ink); text-decoration: none; padding-block: 12px; }
.main-nav a:hover { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
}
.icon-btn--red { background: var(--red); border-color: var(--red); color: var(--white); }
.icon-btn--red:hover { background: var(--red-hover); color: var(--white); }
.menu-btn { display: none; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
.call-btn { display: none; }

.menu-panel {
  background: var(--dark);
  color: var(--on-dark);
  border-top: 1px solid var(--line-dark);
}
.menu-panel ul { list-style: none; padding: 8px 0 20px; }
.menu-panel li + li { border-top: 1px solid var(--line-dark); }
.menu-panel a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 56px;
  color: var(--on-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
}
.menu-panel .btn { width: 100%; margin-top: 12px; }

/* ---------- Héros ---------- */
.hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px 64px;
  padding-block: clamp(48px, 6vw, 72px) clamp(72px, 8vw, 104px);
}
.hero__text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 8px 0 0;
  list-style: none;
  font-size: 14.5px;
  color: var(--text-2);
}
.trust-list li { display: flex; align-items: center; gap: 10px; }
.trust-list svg { color: var(--red); flex-shrink: 0; }
.hero__media {
  position: relative;
  flex: 1 1 400px;
  min-width: 0;
  max-width: 520px;
  padding: 0 0 44px 44px;
}
.slideshow__viewport { position: relative; aspect-ratio: 4 / 5; }
.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}
.slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity 0.9s ease, visibility 0s; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slideshow__controls {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.slideshow__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
}
.slideshow__toggle:hover { background: var(--ink); color: var(--cream); }
.slideshow__toggle .icon-play, .slideshow__toggle.is-paused .icon-pause { display: none; }
.slideshow__toggle.is-paused .icon-play { display: block; }
.slideshow__dots { display: flex; }
.slideshow__dots button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
}
.slideshow__dots button::before {
  content: '';
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--ink);
  transition: background-color 0.2s ease;
}
.slideshow__dots button:hover::before { background: var(--stone); }
.slideshow__dots button[aria-current="true"]::before { background: var(--red); border-color: var(--red); }
@media (prefers-reduced-motion: reduce) {
  .slide, .slide.is-active { transition: none; }
}
.hero__tag {
  position: absolute;
  right: -12px;
  bottom: 32px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--on-dark);
}
.hero__tag span:first-child {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.hero__tag span:last-child { font-family: var(--font-display); font-weight: 700; font-size: 16px; }

/* Motif damier (carte de visite) */
.checker {
  display: grid;
  grid-template-columns: repeat(3, var(--cell, 40px));
  grid-auto-rows: var(--cell, 40px);
}
.checker span { background: var(--a, var(--red)); }
.checker span:nth-child(3), .checker span:nth-child(5), .checker span:nth-child(7),
.checker span:nth-child(9), .checker span:nth-child(10), .checker span:nth-child(11) { background: var(--b, var(--brick-dark)); }
.hero__media .checker { position: absolute; left: 0; bottom: 0; }

/* ---------- Partenaires (défilement) ---------- */
.partners {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.partners__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 48px;
  padding-block: 40px;
}
.partners__head { flex: 0 1 320px; display: flex; flex-direction: column; gap: 12px; }
.partners__head p { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.3; }
.marquee {
  flex: 1 1 560px;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: isoMarquee 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; padding: 0; margin: 0; }
.marquee li {
  flex: 0 0 auto;
  width: 280px;
  height: 104px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(30, 29, 28, 0.1);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--muted);
  text-align: center;
}
.marquee li img { max-height: 56px; width: auto; max-width: 100%; filter: grayscale(1); opacity: 0.85; }
@keyframes isoMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 112px); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--stone { background: var(--stone); }
.section--red { background: var(--red); color: var(--white); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 80px;
}
.section-head__title { flex: 1 1 520px; display: flex; flex-direction: column; gap: 20px; }
.section-head > p { flex: 1 1 380px; }

/* Parcours */
.parcours { display: flex; flex-direction: column; gap: 64px; }
.parcours__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 80px; }
.parcours__number { flex: 0 1 340px; display: flex; flex-direction: column; gap: 12px; }
.big-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(120px, 15vw, 220px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--red-on-dark);
}
.parcours__caption {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  max-width: 18em;
}
.parcours__text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.parcours__text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 92%;
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.parcours__text p { font-size: 18px; line-height: 1.6; color: var(--on-dark-2); max-width: 40em; text-wrap: pretty; }

/* Particuliers */
.pivot { display: flex; flex-direction: column; gap: 56px; }
.pivot__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px 80px; }
.pivot__head h2 { flex: 1 1 560px; }
.pivot__head p { flex: 1 1 380px; }
.verbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  border-top: 2px solid var(--ink);
  list-style: none;
  padding: 0;
}
.verbs li { display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 8px 0; }
.verbs span { font-family: var(--font-mono); font-size: 13px; color: var(--red); }
.verbs strong { font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -0.02em; }

/* Métiers */
.metiers { display: flex; flex-direction: column; gap: 48px; }
.metiers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
}
.metier {
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px;
  background: var(--cream);
  border: 1px solid rgba(30, 29, 28, 0.12);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.metier:hover { color: var(--ink); border-color: var(--red); }
.metier__top { display: flex; justify-content: space-between; align-items: flex-start; }
.metier__top svg { color: var(--red); }
.metier__num { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.metier__body { flex-grow: 1; display: flex; flex-direction: column; gap: 12px; }
.metier h3 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.metier p { font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
.metier__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--red); }
.metier__chevron { display: none; }

/* Réalisations */
.realisations { display: flex; flex-direction: column; gap: 48px; }
.realisations > .section-head__title { flex: none; }
.realisations__title { max-width: 16em; }
.realisations__layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 24px;
}
.realisations__feature {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
  padding-bottom: 36px;
  border-bottom: 2px solid var(--ink);
}
.realisations__feature h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.realisations__feature p { font-size: 16.5px; line-height: 1.6; color: var(--text); }
.gallery { display: contents; }
.shot { display: flex; flex-direction: column; gap: 14px; }
.shot__img { position: relative; }
.shot__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.shot__tag {
  position: absolute;
  left: 0;
  top: 0;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.shot__tag--red { background: var(--red); color: var(--white); }
.shot figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--text-2); }
.shot figcaption strong { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); }
.scroll-hint { display: none; }

/* Engagement (bande rouge) */
.statement { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px 80px; }
.statement ul { flex: 1 1 640px; list-style: none; padding: 0; }
.statement li {
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 88%;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.statement li + li { border-top: 1px solid rgba(255, 255, 255, 0.35); }
.statement .checker { --cell: 56px; --a: var(--cream); --b: var(--dark); }

/* Contact / demande de devis */
.contact { display: flex; flex-wrap: wrap; align-items: stretch; gap: 56px 80px; }
.contact__main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.steps { list-style: none; padding: 0; border-top: 1px solid var(--line-2); }
.steps li { display: flex; align-items: baseline; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.steps__num { flex-shrink: 0; width: 32px; font-family: var(--font-mono); font-size: 14px; color: var(--red); }
.steps strong { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.steps span:not(.steps__num) { display: block; font-size: 15.5px; color: var(--text-2); }

.contact-card {
  flex: 1 1 400px;
  max-width: 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: clamp(28px, 4vw, 40px);
  background: var(--dark);
  color: var(--on-dark);
}
.contact-card__title { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.01em; }
.contact-card__block { display: flex; flex-direction: column; gap: 6px; padding-bottom: 24px; border-bottom: 1px solid var(--line-dark); }
.contact-card__block:last-of-type { border-bottom: 0; padding-bottom: 0; }
.label-dark {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.phone-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding-top: 6px;
  color: var(--on-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 26px);
  text-decoration: none;
}
.phone-link:hover { color: var(--white); text-decoration: underline; text-underline-offset: 5px; }
.contact-icon { display: inline-flex; flex-shrink: 0; width: 26px; color: var(--on-dark-muted); }
.mail-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  color: var(--on-dark);
  font-size: 19px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  word-break: break-word;
}
.mail-link:hover { color: var(--white); }
.insurance {
  margin-top: auto;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: rgba(242, 238, 230, 0.07);
  font-size: 14.5px;
  color: var(--on-dark-3);
}
.insurance svg { flex-shrink: 0; margin-top: 2px; color: var(--red-on-dark); }
.insurance strong { display: block; color: var(--on-dark); font-weight: 600; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--darker); color: var(--on-dark-2); }
.site-footer__inner { display: flex; flex-direction: column; gap: 56px; padding-block: 72px 32px; }
.footer-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px 64px; }
.footer-brand { flex: 1 1 300px; display: flex; flex-direction: column; gap: 24px; }
.footer-brand img { height: 72px; width: auto; align-self: flex-start; }
.footer-brand p { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.25; color: var(--on-dark); max-width: 15em; }
.footer-col { flex: 0 1 220px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.footer-col h2 {
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; }
.footer-col a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; color: var(--on-dark-2); text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-col p { padding-block: 6px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(242, 238, 230, 0.16);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--on-dark-faint);
}

/* ---------- Barre d'action mobile ---------- */
.mobile-bar { display: none; }

/* =========================================================
   Page « Demande de devis »
   ========================================================= */
.devis-main { background: var(--stone); }
.devis-intro { display: flex; flex-direction: column; gap: 20px; padding-block: clamp(40px, 5vw, 64px) 32px; }
.devis-intro p { max-width: 40em; }
.devis-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px 40px;
  padding-bottom: clamp(56px, 7vw, 96px);
}
.devis-form-col { flex: 1 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.devis-aside { flex: 0 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }

/* Étapes */
.stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  padding: 0;
}
.stepper li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--cream);
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.2;
}
.stepper__mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid currentColor;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
}
.stepper__mark svg { display: none; }
.stepper li[data-state="current"] { color: var(--red); border-bottom-color: var(--red); }
.stepper li[data-state="current"] .stepper__mark { background: var(--red); border-color: var(--red); color: var(--white); }
.stepper li[data-state="done"] { color: var(--ink); }
.stepper li[data-state="done"] .stepper__mark { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.stepper li[data-state="done"] .stepper__mark span { display: none; }
.stepper li[data-state="done"] .stepper__mark svg { display: block; }

.panel { background: var(--cream); border: 1px solid var(--line); padding: clamp(22px, 4vw, 40px); }
.step { display: flex; flex-direction: column; gap: 28px; }
.step__head { display: flex; flex-direction: column; gap: 8px; }
.step__kicker { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.step__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 92%;
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.step__title:focus { outline: none; }
.step__hint { font-size: 15.5px; color: var(--text-2); }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field-label, .field legend {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17.5px;
  line-height: 1.3;
  color: var(--ink);
}
.field legend { margin-bottom: 10px; }
.req { color: var(--red); margin-left: 2px; }
.opt-label { font-family: var(--font-body); font-weight: 400; color: var(--muted-2); font-size: 15px; margin-left: 4px; }
.hint { display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.hint svg { flex-shrink: 0; margin-top: 2px; color: var(--muted-2); }
.field-error { display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--red); }
.field-error svg { flex-shrink: 0; margin-top: 2px; }
.field-row { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 16px; }

.input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid var(--muted-2);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
}
.input:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.input[aria-invalid="true"] { border-color: var(--red); background: #FFF8F7; }
textarea.input { min-height: 120px; resize: vertical; }
.input-suffix { display: flex; max-width: 280px; }
.input-suffix .input { flex: 1 1 auto; min-width: 0; }
.input-suffix__unit {
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1.5px solid var(--muted-2);
  border-left: 0;
  background: var(--stone);
  font-weight: 600;
}

/* Choix (cases à cocher et boutons radio en tuiles) */
.choices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  gap: 12px;
}
.choices--compact { grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); }
.choices--two { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 0 0 1px transparent;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.3;
  transition: border-color 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease;
}
.choice:hover { border-color: var(--ink); }
.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice__mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--muted-2);
  background: var(--white);
  color: var(--white);
}
.choice__mark svg { opacity: 0; }
.choice__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.choice__body small { font-weight: 400; font-size: 14px; color: var(--text-2); }
.choice__icon { flex-shrink: 0; color: var(--red); }
.choice--tile { flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 132px; padding: 18px; }
.choice--tile .choice__mark { position: absolute; top: 14px; right: 14px; }
.choice:has(input:checked) { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); background: var(--red-tint); }
.choice:has(input:checked) .choice__mark { background: var(--red); border-color: var(--red); }
.choice:has(input:checked) .choice__mark svg { opacity: 1; }
.choice:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.choices[aria-invalid="true"] .choice { border-color: var(--red); }

/* Photos */
.dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 190px;
  padding: 32px 20px;
  border: 2px dashed var(--muted-2);
  background: var(--white);
  text-align: center;
  cursor: pointer;
}
.dropzone:hover, .dropzone.is-dragover { border-color: var(--red); background: var(--red-tint); }
.dropzone:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone svg { color: var(--red); }
.dropzone strong { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.dropzone span { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.dropzone.is-full { cursor: not-allowed; opacity: 0.7; }
.photo-status { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 14.5px; color: var(--text-2); }
.photo-status__count { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
}
.thumb { position: relative; display: flex; flex-direction: column; gap: 6px; }
.thumb img, .thumb__pending { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--stone); }
.thumb__pending { display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.thumb__name { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thumb__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(30, 29, 28, 0.82);
  color: var(--white);
}
.thumb__remove:hover { background: var(--red); }

.consent { display: flex; align-items: flex-start; gap: 14px; min-height: 44px; padding: 10px 0; cursor: pointer; font-size: 15.5px; line-height: 1.5; }
.consent input { flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--red); cursor: pointer; }
.req-note { font-size: 14px; color: var(--muted-2); }

#error-summary { margin-bottom: 24px; }
.error-summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 2px solid var(--red);
  background: var(--red-tint);
  color: var(--ink);
  font-weight: 600;
}
.error-summary svg { flex-shrink: 0; margin-top: 2px; color: var(--red); }
.step__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.step__actions .btn--primary { margin-left: auto; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Confirmation */
.success { display: flex; flex-direction: column; gap: 24px; }
.success__badge { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; background: var(--red); color: var(--white); }
.success h2:focus { outline: none; }
.recap { border: 1px solid var(--line-2); background: var(--white); }
.recap h3 { padding: 16px 20px; border-bottom: 1px solid var(--line-2); font-family: var(--font-mono); font-weight: 400; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.recap dl { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); }
.recap dt, .recap dd { padding: 12px 20px; border-top: 1px solid var(--line); }
.recap dt:first-of-type, .recap dd:first-of-type { border-top: 0; }
.recap dt { font-size: 14.5px; color: var(--muted); }
.recap dd { font-weight: 600; }

/* Encart latéral */
.aside-card { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3vw, 36px); background: var(--dark); color: var(--on-dark); }
.aside-card h2 { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.01em; }
.reassure { list-style: none; padding: 20px 0 0; border-top: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 16px; }
.reassure li { display: flex; gap: 12px; font-size: 15px; color: var(--on-dark-3); }
.reassure svg { flex-shrink: 0; margin-top: 2px; color: var(--red-on-dark); }
.aside-photo { display: flex; flex-direction: column; gap: 8px; }
.aside-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.aside-photo figcaption { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-2); }

.noscript-box { padding: 20px; border: 2px solid var(--red); background: var(--cream); font-weight: 600; }

/* =========================================================
   Pages de texte (mentions légales, confidentialité, 404, merci)
   ========================================================= */
.page-head { padding-block: clamp(48px, 6vw, 80px) 24px; display: flex; flex-direction: column; gap: 20px; }
.prose { max-width: 760px; padding-bottom: clamp(64px, 8vw, 112px); }
.prose h2 { margin: 40px 0 12px; font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.01em; }
.prose h3 { margin: 24px 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.prose p, .prose ul { margin: 0 0 14px; color: var(--text); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose .todo { background: #FFF2C6; padding: 0 4px; }

/* =========================================================
   Adaptations tablette et mobile
   ========================================================= */
@media (max-width: 1100px) {
  .main-nav { gap: 24px; }
}

@media (max-width: 960px) {
  :root { --header-h: 77px; }
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .brand img { height: 44px; }
  .site-header__inner { padding-block: 14px; }
  .realisations__layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .realisations__feature { grid-column: 1 / -1; grid-row: 1; padding-bottom: 28px; }
  .devis-aside { position: static; flex-basis: 100%; }
}

@media (max-width: 640px) {
  :root { --header-h: 65px; }
  body { font-size: 16.5px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  body.no-mobile-bar { padding-bottom: 0; }
  .topbar__claim { display: none; }
  .topbar__links { gap: 0 18px; font-size: 12px; }
  .topbar__links a:last-child { display: none; }
  .site-header__inner { padding-block: 10px; gap: 12px; }
  .brand img { height: 40px; }
  .header-cta { display: none; }
  .call-btn { display: inline-flex; }
  .icon-btn { width: 44px; height: 44px; }

  .hero__inner { gap: 36px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__media { flex-basis: 100%; max-width: none; padding: 0 0 52px 28px; }
  .hero__media .checker { --cell: 24px; }
  .hero__tag { right: 0; bottom: 20px; }

  .partners__inner { padding: 32px 0; gap: 20px; }
  .partners__head { padding-inline: var(--gutter); flex-basis: 100%; }
  .partners__head p { font-size: 18px; }
  .marquee { flex-basis: 100%; }
  .marquee__track { animation-duration: 28s; }
  .marquee li { width: 210px; height: 84px; padding: 0 22px; font-size: 17px; }

  .parcours { gap: 40px; }
  .verbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .verbs strong { font-size: 28px; }

  .metiers__grid { grid-template-columns: 1fr; gap: 10px; }
  .metier {
    min-height: 76px;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 16px;
  }
  .metier__top { flex-shrink: 0; }
  .metier__top svg { width: 28px; height: 28px; }
  .metier__num, .metier__cta { display: none; }
  .metier__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .metier h3 { margin: 0; font-size: 19px; }
  .metier p { font-size: 14.5px; line-height: 1.45; }
  .metier__chevron { display: block; flex-shrink: 0; color: var(--red); }

  .realisations__layout { display: block; }
  .realisations__feature { margin-bottom: 28px; }
  .realisations__feature h3 { font-size: 28px; }
  .gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-right: calc(-1 * var(--gutter));
    padding-right: var(--gutter);
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .gallery .shot { flex: 0 0 78%; scroll-snap-align: start; }
  .scroll-hint { display: block; margin-top: 12px; font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }

  .statement .checker { display: none; }
  .contact-card { max-width: none; }
  .footer-brand img { height: 52px; }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--darker);
  }
  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 64px;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
  }
  .mobile-bar a:first-child { background: var(--dark); }
  .mobile-bar a:last-child { background: var(--red); }

  .choice--tile { flex-direction: row; align-items: center; justify-content: flex-start; min-height: 64px; padding: 14px 16px; }
  .choice--tile .choice__mark { position: static; margin-left: auto; }
  .choices--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stepper li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px; font-size: 13.5px; }
  .field-row { grid-template-columns: 1fr; }
  .step__actions .btn { flex: 1 1 auto; }
  .recap dl { grid-template-columns: 1fr; }
  .recap dt { padding-bottom: 0; }
  .recap dd { border-top: 0; padding-top: 2px; }
  .recap dt:first-of-type { border-top: 0; }
}
