/* ==========================================================================
   JUU SA — feuille de style
   Direction artistique : neutre et minérale, éditoriale, suisse romande.
   ========================================================================== */

:root {
  /* Type */
  --font-display: 'Boska', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Switzer', 'Inter', system-ui, sans-serif;

  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.15vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.35rem + 2.2vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1.4rem + 3.6vw, 4.75rem);

  /* Espace */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem;  --space-6: 1.5rem;
  --space-8: 2rem;     --space-10: 2.5rem;  --space-12: 3rem;
  --space-16: 4rem;    --space-20: 5rem;    --space-24: 6rem;
  --space-32: 8rem;

  --wrap: 76rem;
  --radius-sm: 2px;
  --radius-md: 3px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Clair — blanc cassé, pierre, sable, anthracite */
:root,
[data-theme='light'] {
  --bg: #f5f3ee;
  --surface: #faf8f4;
  --surface-offset: #eceae3;
  --surface-deep: #e2ded4;
  --ink: #1d1f1c;
  --ink-soft: #45483f;
  --ink-muted: #6f7168;
  --ink-faint: #a3a49b;
  --line: rgba(29, 31, 28, 0.14);
  --line-soft: rgba(29, 31, 28, 0.08);
  --accent: #3b4a40;
  --accent-hover: #2b382f;
  --accent-quiet: #6d7c70;
  --on-accent: #f6f4ef;
  --shadow: 0 1px 2px rgba(50, 45, 35, 0.05), 0 18px 40px -28px rgba(50, 45, 35, 0.28);
  --img-filter: saturate(0.86) contrast(1.01);
}

/* Sombre — anthracite profond, texte pierre */
[data-theme='dark'] {
  --bg: #151614;
  --surface: #1b1c1a;
  --surface-offset: #222320;
  --surface-deep: #2a2b27;
  --ink: #eae7df;
  --ink-soft: #c8c5bb;
  --ink-muted: #93958b;
  --ink-faint: #6a6c63;
  --line: rgba(234, 231, 223, 0.16);
  --line-soft: rgba(234, 231, 223, 0.09);
  --accent: #9db0a1;
  --accent-hover: #b6c6b9;
  --accent-quiet: #8b9c8f;
  --on-accent: #14180f;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 20px 44px -30px rgba(0, 0, 0, 0.8);
  --img-filter: saturate(0.72) brightness(0.86) contrast(1.03);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}

h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -0.015em; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bg);
  padding: var(--space-3) var(--space-4); z-index: 200;
  font-size: var(--text-sm);
}
.skip:focus { left: var(--space-4); top: var(--space-4); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

/* ---------- Micro-typographie partagée ---------- */
.eyebrow, .section-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  font-weight: 500;
  margin: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.22;
  max-width: 32ch;
}

.statement {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.14;
  letter-spacing: -0.022em;
  max-width: 26ch;
}
.statement-sm { font-size: var(--text-xl); max-width: 24ch; line-height: 1.2; }

.prose { color: var(--ink-soft); }
.prose p + p { margin-top: var(--space-5); }
.prose { max-width: 62ch; }
.prose.narrow { max-width: 54ch; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-solid { background: var(--accent); color: var(--on-accent); }
.btn-solid:hover { background: var(--accent-hover); }
.btn-line { border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost {
  padding-inline: 0; min-height: auto;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding-bottom: 2px;
}
.btn-ghost:hover { border-bottom-color: var(--accent); color: var(--accent); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--line-soft);
}
.site-header.is-hidden { transform: translateY(-102%); }

.header-inner {
  display: flex; align-items: center; gap: var(--space-8);
  padding-block: var(--space-5);
}
.site-header.is-scrolled .header-inner { padding-block: var(--space-4); }

/* Le hero est sombre : l'en-tête est clair par-dessus */
.site-header:not(.is-scrolled) { color: #f3f1ea; }
.site-header:not(.is-scrolled) .nav a { color: rgba(243, 241, 234, 0.82); }
.site-header:not(.is-scrolled) .nav a:hover { color: #fff; }
.site-header:not(.is-scrolled) .btn-ghost { border-bottom-color: rgba(243, 241, 234, 0.4); }
.site-header:not(.is-scrolled) .btn-ghost:hover { color: #fff; border-bottom-color: #fff; }
.site-header:not(.is-scrolled) .burger span { background: #f3f1ea; }

.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; margin-right: auto; }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  letter-spacing: 0.2em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
.footer-word { font-size: 1.375rem; color: var(--ink); }
.brand-sa {
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  margin-left: 0.45em;
  vertical-align: 0.28em;
  opacity: 0.62;
}

.nav { display: flex; gap: var(--space-6); }
.nav a {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  text-decoration: none;
  padding-block: var(--space-1);
  transition: color 0.25s var(--ease);
}
.nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: var(--space-5); }

.theme-toggle {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0;
  color: inherit; cursor: pointer;
  opacity: 0.7; transition: opacity 0.25s var(--ease);
}
.theme-toggle:hover { opacity: 1; }
.theme-toggle svg { width: 19px; height: 19px; }
[data-theme='light'] .ico-moon { display: none; }
[data-theme='dark'] .ico-sun { display: none; }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px; align-items: center;
}
.burger span {
  display: block; width: 20px; height: 1px; background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.burger[aria-expanded='true'] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: var(--space-2) clamp(1.25rem, 5vw, 4rem) var(--space-8);
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.nav-mobile a {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  text-decoration: none;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}
.nav-mobile.is-open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(94vh, 56rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-block: var(--space-32) var(--space-8);
  overflow: hidden;
  isolation: isolate;
  background: #14150f;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.78) contrast(1.02); }
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(12, 14, 11, 0.9) 0%, rgba(12, 14, 11, 0.6) 42%, rgba(12, 14, 11, 0.24) 74%, rgba(12, 14, 11, 0.42) 100%);
}
.hero-inner { color: #f4f2ec; padding-bottom: var(--space-16); }
.hero-inner .eyebrow { color: rgba(244, 242, 236, 0.72); }
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-top: var(--space-6);
  max-width: 22ch;
}
.hero-title em { font-style: italic; color: rgba(244, 242, 236, 0.9); }
.hero-lede {
  margin-top: var(--space-6);
  max-width: 46ch;
  font-size: var(--text-lg);
  line-height: 1.55;
  color: rgba(244, 242, 236, 0.86);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }
.hero-actions .btn-line { border-color: rgba(244, 242, 236, 0.36); color: #f4f2ec; }
.hero-actions .btn-line:hover { border-color: #f4f2ec; background: rgba(244, 242, 236, 0.08); }

.hero-foot { border-top: 1px solid rgba(244, 242, 236, 0.18); padding-top: var(--space-6); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); margin: 0; }
.facts dt {
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(244, 242, 236, 0.55);
}
.facts dd { margin: var(--space-2) 0 0; color: rgba(244, 242, 236, 0.92); font-size: var(--text-sm); }

/* ---------- Rythme des sections (volontairement inégal) ---------- */
.section { padding-block: clamp(var(--space-20), 11vw, var(--space-32)); }
.section-manifeste { padding-block: clamp(var(--space-24), 13vw, 11rem); }
.section-prestations { background: var(--surface); border-block: 1px solid var(--line-soft); }
.section-methode { padding-block: clamp(var(--space-20), 10vw, var(--space-24)); }
.section-durabilite { background: var(--surface-offset); border-block: 1px solid var(--line-soft); }
.section-contact { padding-bottom: clamp(var(--space-24), 12vw, 10rem); }

/* ---------- Manifeste ---------- */
.grid-editorial {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: clamp(var(--space-8), 5vw, var(--space-20));
  align-items: start;
}
.manifeste-body { max-width: 46rem; }
.manifeste-body .prose { margin-top: var(--space-10); }
.pull {
  margin: var(--space-16) 0 0;
  padding-left: var(--space-8);
  border-left: 1px solid var(--accent);
  max-width: 40rem;
}
.pull blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.42;
  color: var(--ink);
}
.pull figcaption {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
}

/* ---------- Prestations ---------- */
.section-head { max-width: 46rem; }
.section-head .section-title { margin-top: var(--space-5); }
.section-head .prose { margin-top: var(--space-6); }

.services {
  list-style: none;
  margin: clamp(var(--space-12), 7vw, var(--space-20)) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.service {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: var(--space-6);
  padding-block: clamp(var(--space-8), 4vw, var(--space-10));
  border-bottom: 1px solid var(--line-soft);
  transition: background-color 0.4s var(--ease);
}
.service:hover { background: color-mix(in srgb, var(--surface-deep) 40%, transparent); }
.service-num {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent);
  padding-top: 0.7em;
}
.service-body { display: grid; gap: var(--space-3); max-width: 58ch; }
.service h3 { font-size: var(--text-lg); font-family: var(--font-display); line-height: 1.3; }
.service p { color: var(--ink-soft); font-size: var(--text-base); }

/* ---------- Bande image ---------- */
.band { height: clamp(16rem, 34vw, 30rem); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }

/* ---------- Méthode ---------- */
.methode-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(var(--space-10), 7vw, var(--space-24));
  align-items: start;
}
.methode-aside .section-title { margin-top: var(--space-5); }
.methode-aside .prose { margin-top: var(--space-5); max-width: 34ch; }
.methode-media { margin: var(--space-12) 0 0; }
.methode-media img { filter: var(--img-filter); border-radius: var(--radius-md); }

.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: var(--space-5);
  padding-block: var(--space-8);
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  color: var(--accent);
  padding-top: 0.55em;
  font-weight: 500;
}
.step-body { min-width: 0; }
.steps h3 { font-family: var(--font-display); font-size: var(--text-lg); }
.steps p { margin-top: var(--space-3); color: var(--ink-soft); font-size: var(--text-sm); max-width: 46ch; }

/* ---------- Projets ---------- */
.typologies {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(var(--space-6), 3vw, var(--space-12)) clamp(var(--space-6), 3vw, var(--space-10));
  margin-top: clamp(var(--space-12), 7vw, var(--space-20));
}
.typo { margin: 0; }
.typo img { filter: var(--img-filter); border-radius: var(--radius-md); width: 100%; object-fit: cover; }
.typo figcaption { margin-top: var(--space-5); max-width: 44ch; }
.typo-kicker {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}
.typo figcaption p { color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.6; }

.t-mixte { grid-column: 1 / span 7; }
.t-mixte img { aspect-ratio: 16 / 10; }
.t-transfo { grid-column: 9 / span 4; align-self: end; }
.t-transfo img { aspect-ratio: 4 / 5; }
.t-terrain { grid-column: 1 / span 6; }
.t-terrain img { aspect-ratio: 16 / 9; }
.t-text {
  grid-column: 8 / span 5;
  align-self: center;
  padding-top: var(--space-4);
}
.typo-list { list-style: none; margin: 0; padding: 0; }
.typo-list li { padding-block: var(--space-6); border-top: 1px solid var(--line); }
.typo-list li:last-of-type { border-bottom: 1px solid var(--line); }
.typo-list span { display: block; font-family: var(--font-display); font-size: var(--text-lg); }
.typo-list p { margin-top: var(--space-2); color: var(--ink-soft); font-size: var(--text-sm); }
.typo-note {
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--ink-muted);
  max-width: 42ch;
  line-height: 1.65;
}

/* ---------- Durabilité ---------- */
.durabilite-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(var(--space-10), 7vw, var(--space-24));
  align-items: start;
}
.durabilite-grid .statement { margin-top: var(--space-6); }
.checks { list-style: none; margin: var(--space-10) 0 0; padding: 0; }
.checks li {
  position: relative;
  padding: var(--space-4) 0 var(--space-4) var(--space-8);
  border-top: 1px solid var(--line);
  font-size: var(--text-sm);
  color: var(--ink);
}
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before {
  content: '';
  position: absolute; left: 0; top: calc(var(--space-4) + 0.62em);
  width: 14px; height: 1px; background: var(--accent);
}

/* ---------- Équipe ---------- */
.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(var(--space-12), 7vw, var(--space-20));
  border-top: 1px solid var(--line);
  padding-top: var(--space-10);
  align-items: start;
}
.person { max-width: 34ch; }
.team-lead { max-width: none; }
.team-lead-bio {
  margin-top: var(--space-6);
  max-width: 58rem;
  column-count: 2;
  column-gap: clamp(1.75rem, 4vw, 3rem);
}
.team-lead-bio p {
  margin: 0 0 1.1em;
  font-size: var(--text-sm);
  line-height: 1.7;
  break-inside: avoid;
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-lead-bio { column-count: 1; }
}
.person-rule {
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--accent);
  margin-bottom: var(--space-6);
}
.person h3 { font-family: var(--font-display); font-size: var(--text-lg); }
.person-role {
  margin-top: var(--space-2) !important;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}
.person p:last-child { margin-top: var(--space-4); color: var(--ink-soft); font-size: var(--text-sm); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(var(--space-10), 7vw, var(--space-24));
  align-items: start;
}
.contact-intro .statement { margin-top: var(--space-6); }
.contact-intro .prose { margin-top: var(--space-6); max-width: 38ch; }
.coords { margin-top: var(--space-12); font-style: normal; }
.coords p { padding-block: var(--space-4); border-top: 1px solid var(--line); font-size: var(--text-sm); line-height: 1.6; }
.coords p:last-child { border-bottom: 1px solid var(--line); }
.coords-label {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin-bottom: var(--space-2);
}
.coords a { text-decoration: none; border-bottom: 1px solid var(--line); }
.coords a:hover { border-bottom-color: var(--accent); color: var(--accent); }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  box-shadow: var(--shadow);
}
.field { display: grid; gap: var(--space-2); }
.field-full, .form-foot, .form-ok { grid-column: 1 / -1; }
.field label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}
.opt { text-transform: none; letter-spacing: 0.02em; color: var(--ink-faint); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: var(--text-sm);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: var(--space-3) 0;
  min-height: 44px;
  transition: border-color 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 7rem; line-height: 1.6; }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: var(--ink-muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.field select { appearance: none; cursor: pointer; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); margin-top: var(--space-2); }
.form-note { font-size: var(--text-xs); color: var(--ink-muted); max-width: 34ch; line-height: 1.6; }
.form-ok {
  font-size: var(--text-sm);
  color: var(--accent);
  border-top: 1px solid var(--line);
  padding-top: var(--space-5);
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--surface-offset);
  border-top: 1px solid var(--line-soft);
  padding-block: var(--space-16) var(--space-10);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-10) var(--space-16);
  align-items: start;
}
.footer-brand { display: grid; gap: var(--space-5); }
.footer-brand p { font-size: var(--text-sm); color: var(--ink-muted); line-height: 1.7; }
.footer-nav { display: grid; gap: var(--space-3); justify-items: start; }
.footer-nav a { font-size: var(--text-sm); text-decoration: none; color: var(--ink-muted); }
.footer-nav a:hover { color: var(--ink); }
.footer-legal {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line-soft);
  padding-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--ink-faint);
  line-height: 1.8;
}

/* ---------- Apparition ---------- */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
}

/* ---------- Adaptations ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; }
  .grid-editorial { grid-template-columns: 1fr; gap: var(--space-8); }
  .methode-grid, .durabilite-grid, .contact-grid { grid-template-columns: 1fr; }
  .methode-media { margin-top: var(--space-8); }
  .t-mixte { grid-column: 1 / -1; }
  .t-transfo { grid-column: 1 / span 7; }
  .t-transfo img { aspect-ratio: 4 / 3; }
  .t-terrain { grid-column: 1 / -1; }
  .t-text { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hero { min-height: 92vh; padding-block: var(--space-24) var(--space-6); }
  .hero-inner { padding-bottom: var(--space-10); }
  .facts { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero-foot { padding-top: var(--space-5); }
  .hero-actions .btn { flex: 1 1 100%; }
  .service { grid-template-columns: 1fr; gap: var(--space-3); }
  .service-num { padding-top: 0; }
  .steps li { grid-template-columns: 1fr; gap: var(--space-3); }
  .step-num { padding-top: 0; }
  .t-transfo { grid-column: 1 / -1; }
  .pull { padding-left: var(--space-5); margin-top: var(--space-10); }
  .form { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
