/* =========================================================
   DEL Thermographie — design system
   ========================================================= */

:root {
  --radius: 0px;

  --paper: oklch(0.972 0.006 85);
  --paper-dim: oklch(0.945 0.005 85);
  --ink: oklch(0.185 0.004 60);
  --ink-soft: oklch(0.245 0.004 60);
  --rule: oklch(0.87 0.004 80);
  --rule-dark: oklch(0.32 0.004 60);
  --muted-foreground: oklch(0.52 0.004 70);

  --thermal-cold: oklch(0.42 0.19 265);
  --thermal-violet: oklch(0.48 0.24 305);
  --thermal-red: oklch(0.58 0.23 25);
  --thermal-orange: oklch(0.72 0.19 55);
  --thermal-yellow: oklch(0.87 0.17 95);

  --gradient-thermal: linear-gradient(
    90deg,
    var(--thermal-cold),
    var(--thermal-violet),
    var(--thermal-red),
    var(--thermal-orange),
    var(--thermal-yellow)
  );

  /* Rouge DEL officiel — seule couleur d'accent autorisée hors du
     dégradé thermique littéral (légende du schéma maison). */
  --del-red: #c9370c;
  --del-red-hover: color-mix(in oklab, var(--del-red) 85%, black);

  --font-display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans, var(--font-display));
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, dt { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
::selection { background: var(--del-red); color: var(--paper); }
:focus-visible { outline: 2px solid var(--del-red); outline-offset: 2px; }

.wrap { max-width: 1600px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .wrap { padding: 0 2.5rem; } }

/* ---------- typography utilities ---------- */
.label-tech {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}
.display-xl {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.92;
  font-size: clamp(2.75rem, 8.2vw, 8.5rem);
  text-wrap: balance;
}
.display-lg {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 0.95;
  font-size: clamp(2.25rem, 5.6vw, 5.25rem);
  text-wrap: balance;
}
.display-md {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  text-wrap: balance;
}
.thermal-text {
  color: var(--del-red);
}
.thermal-rule { background-image: var(--gradient-thermal); }
.muted { color: var(--muted-foreground); }

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Header
   ========================================================= */
#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease;
}
#site-header.compact {
  border-bottom-color: var(--rule);
  background: color-mix(in oklab, var(--paper) 85%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 6.75rem;
  transition: height 0.5s ease;
}
#site-header.compact .header-row { height: 4.6rem; }

.brand { display: flex; align-items: center; gap: 0.5rem; line-height: 1; }
.brand-logo { display: block; height: 6.25rem; width: auto; transition: height 0.5s ease; }
#site-header.compact .brand-logo { height: 4rem; }
.brand strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.main-nav { display: none; align-items: center; gap: 2.25rem; }
@media (min-width: 1024px) { .main-nav { display: flex; } }
.main-nav a { position: relative; color: var(--ink-soft); transition: color 0.2s; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  height: 1px;
  width: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.main-nav a:hover::after { transform: scaleX(1); }

.nav-item { position: relative; }
.nav-trigger { display: inline-flex; align-items: center; gap: 0.375rem; }
.nav-caret { font-size: 0.55rem; opacity: 0.55; transition: transform 0.25s ease; }
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.625rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  z-index: 5;
}
.nav-dropdown-panel {
  display: flex;
  flex-direction: column;
  min-width: 14rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 0.375rem;
}
.nav-dropdown a {
  padding: 0.625rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover { background: var(--paper-dim); color: var(--ink); }
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown, .nav-item.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease;
}
.nav-item.is-open .nav-caret { transform: rotate(180deg); }

.btn-outline {
  display: none;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--ink);
  padding: 0.75rem 1rem;
  transition: background 0.3s, color 0.3s;
}
@media (min-width: 640px) { .btn-outline { display: inline-flex; } }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.arrow { display: inline-block; transition: transform 0.3s; }
.btn-outline:hover .arrow, .link-arrow:hover .arrow { transform: translateX(0.375rem); }

/* ---------- mobile menu ---------- */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle-bar { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform 0.3s ease, opacity 0.3s ease; }
body.nav-open .menu-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .menu-toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

body.nav-open { overflow: hidden; }
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
  padding: 7rem 1.5rem 2.5rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity 0.3s ease, transform 0.3s ease; }
@media (min-width: 1024px) { .mobile-nav { display: none; } }

.mobile-nav-links { display: flex; flex-direction: column; }
.mobile-nav-links > a, .mobile-nav-group > summary {
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.mobile-nav-links > a.current { color: var(--muted-foreground); }
.mobile-nav-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}
.mobile-nav-group > summary::-webkit-details-marker { display: none; }
.mobile-nav-caret { font-size: 0.75rem; color: var(--muted-foreground); transition: transform 0.25s ease; }
.mobile-nav-group[open] > summary .mobile-nav-caret { transform: rotate(180deg); }
.mobile-nav-sublist { display: flex; flex-direction: column; padding: 0 0 0.5rem; }
.mobile-nav-sublist a {
  padding: 0.75rem 0 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.mobile-nav-cta { margin-top: 2.5rem; align-self: flex-start; }

.header-rule {
  height: 1px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.7s ease;
}
#site-header.compact .header-rule { transform: scaleX(1); }

/* =========================================================
   Hero
   ========================================================= */
#hero { position: relative; border-bottom: 1px solid var(--rule); padding-top: 8rem; padding-bottom: 0; }
@media (min-width: 768px) { #hero { padding-top: 10rem; } }

.gridlines {
  pointer-events: none;
  position: absolute;
  inset: 0;
  margin: 0 auto;
  max-width: 1600px;
  display: none;
  grid-template-columns: repeat(12, 1fr);
  padding: 0 2.5rem;
}
@media (min-width: 768px) { .gridlines { display: grid; } }
.gridlines i {
  font-style: normal;
  border-left: 1px solid color-mix(in oklab, var(--rule) 60%, transparent);
}
.gridlines i:last-child { border-right: 1px solid color-mix(in oklab, var(--rule) 60%, transparent); }

.hero-inner { position: relative; }

.eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1.25rem;
}
.eyebrow-row .country { display: none; }
@media (min-width: 768px) { .eyebrow-row .country { display: block; } }
.eyebrow { display: inline-block; transition: all 0.7s ease; transform: translateY(0.75rem); opacity: 0; }
.on .eyebrow { transform: translateY(0); opacity: 1; }

.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem 2.5rem; padding-top: 3.5rem; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: repeat(12, 1fr); padding-top: 5rem; } }
.hero-h1-col { grid-column: 1 / -1; }
@media (min-width: 1024px) { .hero-h1-col { grid-column: span 8; } }

.line-mask { display: block; overflow: hidden; }
.line-inner { display: block; transform: translateY(100%); transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
.on .line-inner { transform: translateY(0); }
.line-inner.d1 { transition-delay: 120ms; }
.line-inner.d2 { transition-delay: 240ms; }

.hero-h1-sub {
  display: block;
  margin-top: 1.5rem;
  color: var(--muted-foreground);
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 420ms;
}
.on .hero-h1-sub { opacity: 1; transform: translateY(0); }

.hero-side-col { grid-column: 1 / -1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2rem; }
@media (min-width: 1024px) { .hero-side-col { grid-column: span 4; padding-bottom: 0.75rem; } }

.hero-copy {
  max-width: 28rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  transition: all 1s ease;
  transform: translateY(1rem);
  opacity: 0;
  transition-delay: 420ms;
}
@media (min-width: 768px) { .hero-copy { font-size: 1.125rem; } }
.on .hero-copy { transform: translateY(0); opacity: 1; }

.link-arrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: border-color 0.3s ease;
}
a.link-arrow:hover { border-bottom-color: var(--del-red); }
.hero-link { transition: all 1s ease; transform: translateY(1rem); opacity: 0; transition-delay: 540ms; }
.on .hero-link { transform: translateY(0); opacity: 1; }

.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--del-red);
  color: var(--paper);
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover { background: var(--del-red-hover); transform: translateY(-2px); box-shadow: 0 12px 24px -14px color-mix(in oklab, var(--del-red) 60%, transparent); }
.btn-primary:active { transform: translateY(0) scale(0.97); transition-duration: 0.12s; }
.btn-primary .arrow { transition: transform 0.3s; }
.btn-primary:hover .arrow { transform: translateX(0.375rem); }
.hero-ctas .btn-outline { padding: 0.875rem 1.5rem; }

.hero-foot {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--rule);
  padding: 1.25rem 0;
}
@media (min-width: 768px) {
  .hero-foot { margin-top: 6rem; flex-direction: row; align-items: center; justify-content: space-between; }
}
.hero-foot .services { color: var(--ink-soft); }
.hero-foot .services .dot { color: var(--del-red); }
.hero-foot .scroll-hint { display: flex; align-items: center; gap: 0.75rem; }
.scroll-track { display: inline-block; height: 2rem; width: 1px; background: var(--rule); }
.scroll-dot { display: block; height: 0.75rem; width: 1px; background: var(--ink); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* =========================================================
   FilmSection
   ========================================================= */
#film { background: var(--ink); padding: 2.5rem 0; }
@media (min-width: 768px) { #film { padding: 4rem 0; } }
.film-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; color: color-mix(in oklab, var(--paper) 45%, transparent); }
@media (min-width: 768px) { .film-head { margin-bottom: 2.5rem; } }
.film-frame { position: relative; overflow: hidden; background: #000; transform: scale(0.965); transition: transform 120ms linear; }
.film-video-wrap { width: 100%; height: clamp(260px, 66vw, 380px); }
@media (min-width: 768px) { .film-video-wrap { height: clamp(420px, 34vw, 500px); } }
.film-video-wrap video { height: 100%; width: 100%; object-fit: cover; object-position: center center; opacity: 0; transition: opacity 1s ease; }
.film-video-wrap video.ready { opacity: 1; }
.corner-mark { position: absolute; height: 1.5rem; width: 1.5rem; border-color: color-mix(in oklab, var(--paper) 40%, transparent); pointer-events: none; }
.corner-mark.tl { top: 1.25rem; left: 1.25rem; border-top: 1px solid; border-left: 1px solid; }
.corner-mark.tr { top: 1.25rem; right: 1.25rem; border-top: 1px solid; border-right: 1px solid; }
.corner-mark.bl { bottom: 1.25rem; left: 1.25rem; border-bottom: 1px solid; border-left: 1px solid; }
.corner-mark.br { bottom: 1.25rem; right: 1.25rem; border-bottom: 1px solid; border-right: 1px solid; }
.film-caption {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  bottom: 2.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.1vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--paper);
  mix-blend-mode: difference;
}
.film-foot { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; color: color-mix(in oklab, var(--paper) 45%, transparent); }
.film-foot .rule { height: 1px; width: 100%; max-width: 280px; opacity: 0.7; }

/* =========================================================
   Approach
   ========================================================= */
#approche { border-bottom: 1px solid var(--rule); background: var(--paper); padding: 7rem 0; }
@media (min-width: 768px) { #approche { padding: 10rem 0; } }
.approach-grid { display: grid; grid-template-columns: 1fr; gap: 3.5rem 2.5rem; }
@media (min-width: 1024px) { .approach-grid { grid-template-columns: repeat(12, 1fr); } }
.approach-col1 { grid-column: 1 / -1; }
@media (min-width: 1024px) { .approach-col1 { grid-column: span 3; } }
.approach-rule { margin-top: 1.25rem; height: 1px; width: 4rem; background: var(--ink); }
.approach-col2 { grid-column: 1 / -1; }
@media (min-width: 1024px) { .approach-col2 { grid-column: span 9; } }
.approach-h2 { max-width: 16ch; }
.approach-body { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 2rem 2.5rem; }
@media (min-width: 768px) { .approach-body { grid-template-columns: repeat(12, 1fr); } }
.approach-p1 { grid-column: 1 / -1; }
@media (min-width: 768px) { .approach-p1 { grid-column: 4 / span 5; } }
.approach-p2 { grid-column: 1 / -1; }
@media (min-width: 768px) { .approach-p2 { grid-column: span 4; } }
.approach-body p { font-size: 1.0625rem; line-height: 1.65; color: var(--ink-soft); }
.approach-p2 .link-arrow { margin-top: 2rem; border-color: var(--ink); font-weight: 500; }

/* =========================================================
   Expert — prolongation éditoriale de "Notre approche"
   ========================================================= */
#expert { border-bottom: 1px solid var(--rule); background: var(--paper); padding: 5.5rem 0; }
@media (min-width: 768px) { #expert { padding: 7rem 0; } }
.expert-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .expert-grid { grid-template-columns: repeat(12, 1fr); gap: 3rem; align-items: center; } }
.expert-photo { margin: 0; grid-column: 1 / -1; }
@media (min-width: 1024px) { .expert-photo { grid-column: 1 / span 5; } }
.expert-body { grid-column: 1 / -1; }
@media (min-width: 1024px) { .expert-body { grid-column: 7 / span 6; } }
.expert-name { margin-top: 1rem; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.028em; line-height: 1.08; font-size: clamp(1.875rem, 3.6vw, 2.875rem); }
.expert-role { margin-top: 0.875rem; color: var(--muted-foreground); }
.expert-rule { width: 4rem; height: 2px; margin: 2rem 0; }

/* photos terrain : léger dézoom à l'apparition, cadrage éditorial */
.expert-photo-frame { position: relative; overflow: hidden; background: var(--paper-dim); }
.expert-photo .expert-photo-frame { aspect-ratio: 4 / 5; }
.team-photo .expert-photo-frame { aspect-ratio: 4 / 5; }
.expert-photo-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-in .expert-photo-frame img { transform: none; }
.expert-photo figcaption, .team-photo figcaption { margin-top: 1rem; display: flex; align-items: center; gap: 0.625rem; }
.photo-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--del-red); flex: none; }

.expert-team { margin-top: 4.5rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .expert-team { margin-top: 6rem; } }
@media (min-width: 1024px) { .expert-team { grid-template-columns: repeat(12, 1fr); gap: 3rem; align-items: center; } }
.team-photos { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
@media (min-width: 768px) { .team-photos { gap: 2rem; } }
@media (min-width: 1024px) { .team-photos { grid-column: 5 / span 8; } }
.team-photo { margin: 0; }
/* décalage vertical du second cliché pour un rythme éditorial */
@media (min-width: 768px) { .team-photo--offset { margin-top: 4rem; } }
.team-card { grid-column: 1 / -1; order: 2; }
@media (min-width: 1024px) { .team-card { grid-column: 1 / span 4; order: 0; } }
.team-avatars { margin-top: 1.5rem; display: flex; }
.team-avatars picture { flex: none; }
.team-avatars img { max-width: none; width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; border: 3px solid var(--paper); }
.team-avatars picture + picture img { margin-left: -0.875rem; }
.team-text { margin-top: 1.5rem; max-width: 24rem; font-size: 1rem; line-height: 1.65; color: var(--ink-soft); }
.expert-col2 p { max-width: 38rem; font-size: 1.0625rem; line-height: 1.7; color: var(--ink-soft); }
.expert-col2 p + p { margin-top: 1.125rem; }
.expert-col2 strong { color: var(--ink); font-weight: 600; }
.expert-col2 .link-arrow { margin-top: 1.75rem; border-color: var(--ink); font-weight: 500; }
.expert-col2 .expert-traits { margin-top: 1.5rem; color: var(--muted-foreground); }
.expert-col2 .expert-traits .dot { color: var(--del-red); }

/* =========================================================
   Circles
   ========================================================= */
#circles { overflow: hidden; border-bottom: 1px solid var(--rule); background: var(--paper-dim); padding: 6rem 0; }
@media (min-width: 768px) { #circles { padding: 8rem 0; } }
.circles-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 3.5rem; }
.circles-head p:last-child { max-width: 26rem; font-size: 1rem; line-height: 1.6; color: var(--ink-soft); }
.circles-row { display: flex; flex-wrap: nowrap; align-items: center; overflow-x: auto; padding: 0 1.5rem 1rem; }
@media (min-width: 768px) { .circles-row { justify-content: center; overflow: visible; padding: 0 2.5rem; } }
.circles-row::-webkit-scrollbar { display: none; }
.node { position: relative; aspect-ratio: 1; width: 58vw; flex-shrink: 0; overflow: hidden; border-radius: 9999px; }
@media (min-width: 768px) { .node { width: 21vw; } }
.node + .node { margin-left: -9vw; }
@media (min-width: 768px) { .node + .node { margin-left: -3vw; } }
.node img { height: 100%; width: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
.node.icon-tile img { object-fit: contain; padding: 16%; box-sizing: border-box; background: var(--paper); }
.node:not(.icon-tile):hover { z-index: 5; }
.node:not(.icon-tile):hover img { transform: scale(1.08); }
.node .photo-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 2.5rem 1.25rem 2rem;
  text-align: center;
  color: var(--paper);
  background: linear-gradient(to top, rgba(10, 8, 6, 0.75), transparent);
  transition: background 0.4s ease;
}
.node:hover .photo-caption { background: linear-gradient(to top, rgba(10, 8, 6, 0.88), transparent); }
.node .photo-caption .label-tech { opacity: 0.85; }
.node .photo-caption .title { font-family: var(--font-display); font-size: clamp(1rem, 1.6vw, 1.6rem); font-weight: 500; letter-spacing: -0.03em; }

/* =========================================================
   Expertises
   ========================================================= */
#expertises { border-bottom: 1px solid var(--rule); background: var(--paper); padding: 6rem 0; }
@media (min-width: 768px) { #expertises { padding: 9rem 0; } }
.expertises-head { display: grid; grid-template-columns: 1fr; align-items: end; gap: 2rem; }
@media (min-width: 1024px) { .expertises-head { grid-template-columns: repeat(12, 1fr); } }
.expertises-head-title { grid-column: 1 / -1; }
@media (min-width: 1024px) { .expertises-head-title { grid-column: span 8; } }
.expertises-head-title p { margin-bottom: 2rem; }
.expertises-head-sub { grid-column: 1 / -1; font-size: 1rem; line-height: 1.6; color: var(--ink-soft); }
@media (min-width: 1024px) { .expertises-head-sub { grid-column: span 4; padding-bottom: 0.75rem; } }

.expertises-list {
  margin-top: 5rem;
  position: relative;
  --card-h: clamp(560px, 78vh, 640px);
}
@media (min-width: 768px) { .expertises-list { --card-h: clamp(380px, 48vh, 480px); } }

.expertise-item { position: relative; list-style: none; height: calc(var(--card-h) + 46vh); }
.expertise-item:last-child { height: var(--card-h); }

.expertise-row {
  position: sticky;
  top: 6rem;
  z-index: calc(var(--i, 0) + 1);
  height: var(--card-h);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1.75rem;
  overflow: hidden;
  transition: background-color 0.5s ease;
}
@media (min-width: 768px) {
  .expertise-row { flex-direction: row; align-items: center; gap: 2rem; padding: 2.5rem; }
  /* Tire chaque carte suivante dans la zone tampon de la précédente : elle
     commence à glisser par-dessus pendant que l'autre est encore figée,
     au lieu d'un simple relais bord à bord. */
  .expertise-item:not(:first-child) { margin-top: calc(var(--card-h) * -0.6); }
}
.expertise-row:hover { background: var(--paper-dim); }
.expertise-n { flex-shrink: 0; color: var(--muted-foreground); transition: color 0.3s ease; }
.expertise-row:hover .expertise-n, .expertise-row.is-active .expertise-n { color: var(--del-red); }
.expertise-thumb { position: relative; flex: 0 0 42%; width: 100%; overflow: hidden; }
@media (min-width: 768px) { .expertise-thumb { flex: 0 0 26%; width: auto; height: 100%; } }
.expertise-thumb img { height: 100%; width: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.expertise-row:hover .expertise-thumb img { transform: scale(1.02); }
.expertise-row.is-active .expertise-thumb img { transform: scale(1.015); }
.expertise-name { flex-shrink: 0; }
@media (min-width: 768px) { .expertise-name { flex: 0 0 20%; } }
.expertise-name .problem { color: var(--del-red); }
.expertise-name h3 { margin-top: 0.75rem; font-family: var(--font-display); font-size: clamp(1.35rem, 2.1vw, 1.9rem); font-weight: 500; letter-spacing: -0.03em; }
.expertise-text { flex: 1; min-height: 0; overflow: auto; font-size: 1rem; line-height: 1.6; color: var(--ink-soft); }
.expertise-cta { flex-shrink: 0; display: flex; align-items: center; gap: 0.625rem; align-self: flex-end; }
@media (min-width: 768px) { .expertise-cta { align-self: center; margin-left: auto; } }
.expertise-cta-label { color: var(--muted-foreground); transition: color 0.3s ease; }
.expertise-row:hover .expertise-cta-label, .expertise-row.is-active .expertise-cta-label { color: var(--del-red); }
.expertise-arrow { flex-shrink: 0; display: flex; font-size: 1.25rem; transition: transform 0.5s ease, color 0.3s ease; }

/* Mobile : progression verticale naturelle, sans sticky ni scroll-jacking.
   Le stacked scroll reste réservé au desktop (>=768px). */
@media (max-width: 767px) {
  .expertise-item { height: auto; margin-bottom: 1.25rem; }
  .expertise-item:last-child { margin-bottom: 0; }
  .expertise-row { position: static; height: auto; }
  .expertise-thumb { flex-basis: auto; aspect-ratio: 4 / 3; }
  .expertise-text { overflow: visible; }
}
.expertise-row:hover .expertise-arrow { transform: translateX(0.5rem); }
.expertise-row:hover .expertise-arrow, .expertise-row.is-active .expertise-arrow { color: var(--del-red); }

/* =========================================================
   HouseSection
   ========================================================= */
#house { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding: 7rem 0; }
@media (min-width: 768px) { #house { padding: 10rem 0; } }
.house-head { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .house-head { grid-template-columns: repeat(12, 1fr); } }
.house-head-title { grid-column: 1 / -1; }
@media (min-width: 1024px) { .house-head-title { grid-column: span 7; } }
.house-head-title p.label-tech { color: color-mix(in oklab, var(--paper) 40%, transparent); }
.house-head-title h2 { margin-top: 2rem; max-width: 14ch; color: var(--paper); }
.house-head-sub { grid-column: 1 / -1; display: flex; align-items: flex-end; }
@media (min-width: 1024px) { .house-head-sub { grid-column: 9 / span 4; } }
.house-head-sub p { font-size: 1.125rem; line-height: 1.65; color: color-mix(in oklab, var(--paper) 65%, transparent); }

.house-svg-wrap { position: relative; margin-top: 4rem; }
@media (min-width: 768px) { .house-svg-wrap { margin-top: 6rem; } }
.house-svg-wrap svg { width: 100%; height: auto; }

.house-foot { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; border-top: 1px solid color-mix(in oklab, var(--paper) 15%, transparent); padding-top: 1.5rem; }
.house-foot .label-tech { color: color-mix(in oklab, var(--paper) 40%, transparent); }
.house-foot-labels { display: flex; flex-direction: column; gap: 0.5rem; }
.house-foot .label-tech.house-zone-count { color: var(--del-red); opacity: 0; transition: opacity 0.4s ease; }
.house-scale { display: flex; align-items: center; gap: 0.75rem; }
.house-scale .thermal-rule { height: 0.25rem; width: 9rem; }

/* =========================================================
   Process
   ========================================================= */
#process { border-bottom: 1px solid var(--rule); background: var(--paper); padding: 6rem 0; }
@media (min-width: 768px) { #process { padding: 9rem 0; } }
#process h2 { margin-top: 2rem; max-width: 12ch; }
.process-grid { margin-top: 5rem; display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(12, 1fr); } }
.process-rail { display: none; }
@media (min-width: 1024px) { .process-rail { display: block; grid-column: span 4; } }
.process-rail-sticky { position: sticky; top: 8rem; }
.process-words { display: flex; flex-direction: column; gap: 0.75rem; }
.process-words span {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: color-mix(in oklab, var(--ink) 15%, transparent);
  transform: translateX(-0.25rem);
  transition: all 0.7s ease;
}
.process-words span.active { color: var(--ink); transform: translateX(0); }
.process-rail-track { margin-top: 2rem; height: 1px; width: 100%; background: var(--rule); }
.process-rail-fill { height: 1px; width: 100%; transform-origin: left; transform: scaleX(0.25); transition: transform 0.7s ease; }

.process-steps { grid-column: 1 / -1; }
@media (min-width: 1024px) { .process-steps { grid-column: 6 / span 7; } }
.process-step { border-top: 1px solid var(--rule); padding: 3.5rem 0; opacity: 0.45; transition: opacity 0.7s ease; }
@media (min-width: 768px) { .process-step { padding: 5rem 0; } }
.process-step.active { opacity: 1; }
.process-step-head { display: flex; align-items: baseline; gap: 1.5rem; }
.process-step-head h3 { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 500; letter-spacing: -0.035em; }
@media (min-width: 1024px) { .process-step-head h3 { display: none; } }
.process-step p { margin-top: 1.5rem; max-width: 36rem; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-soft); }

/* =========================================================
   ProjectTypes
   ========================================================= */
#project-types { border-bottom: 1px solid var(--rule); background: var(--paper-dim); padding: 6rem 0; }
@media (min-width: 768px) { #project-types { padding: 9rem 0; } }
.pt-head { display: grid; grid-template-columns: 1fr; align-items: end; gap: 2rem; }
@media (min-width: 1024px) { .pt-head { grid-template-columns: repeat(12, 1fr); } }
.pt-head-inner { grid-column: 1 / -1; }
@media (min-width: 1024px) { .pt-head-inner { grid-column: span 7; } }
.pt-head-inner h2 { margin-top: 2rem; max-width: 14ch; }

.pt-body { margin-top: 4rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .pt-body { grid-template-columns: repeat(12, 1fr); gap: 3.5rem; } }
.pt-tabs { grid-column: 1 / -1; }
@media (min-width: 1024px) { .pt-tabs { grid-column: span 5; } }
.pt-tabs ul { border-top: 1px solid var(--rule); }
.pt-tab {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0;
  text-align: left;
}
.pt-tab .num { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-foreground); transition: color 0.3s; }
.pt-tab.active .num { color: var(--del-red); }
.pt-tab .lbl { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.4rem); font-weight: 500; letter-spacing: -0.035em; color: color-mix(in oklab, var(--ink) 35%, transparent); transition: color 0.3s; margin-left: 1.25rem; }
.pt-tab.active .lbl { color: var(--ink); }
.pt-tab .arrow { font-size: 1.125rem; opacity: 0; transform: translateX(-0.5rem); transition: all 0.3s; }
.pt-tab.active .arrow { opacity: 1; transform: translateX(0); }

.pt-visual { grid-column: 1 / -1; }
@media (min-width: 1024px) { .pt-visual { grid-column: span 7; } }
.pt-frame { position: relative; aspect-ratio: 4 / 3; width: 100%; overflow: hidden; background: var(--ink); }
@media (min-width: 768px) { .pt-frame { aspect-ratio: 16 / 10; } }
.pt-frame img {
  position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.05);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1), transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}
.pt-frame img.active { opacity: 1; transform: scale(1); }
.pt-visual p { margin-top: 1.5rem; max-width: 36rem; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-soft); }

/* =========================================================
   PEB (shared grid — reused by service pages)
   ========================================================= */
.peb-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .peb-grid { grid-template-columns: repeat(12, 1fr); gap: 2.5rem; align-items: start; } }
.peb-title { grid-column: 1 / -1; }
@media (min-width: 1024px) { .peb-title { grid-column: span 4; } }
.peb-body { grid-column: 1 / -1; }
@media (min-width: 1024px) { .peb-body { grid-column: 6 / span 6; } }
.peb-body p { font-size: 1.0625rem; line-height: 1.65; color: var(--ink-soft); }
.peb-body .link-arrow { margin-top: 1.75rem; border-color: var(--ink); font-weight: 500; }

/* =========================================================
   Cases (méthode)
   ========================================================= */
#cas { border-bottom: 1px solid var(--rule); background: var(--paper); padding: 6rem 0; }
@media (min-width: 768px) { #cas { padding: 8rem 0; } }
.cases-head { margin-bottom: 4rem; display: grid; grid-template-columns: 1fr; align-items: end; gap: 2rem; }
@media (min-width: 1024px) { .cases-head { grid-template-columns: repeat(12, 1fr); } }
.cases-head-inner { grid-column: 1 / -1; }
@media (min-width: 1024px) { .cases-head-inner { grid-column: span 7; } }
.cases-head-inner h2 { margin-top: 2rem; max-width: 12ch; }
.cases-head-sub { grid-column: 1 / -1; font-size: 1rem; line-height: 1.6; color: var(--ink-soft); }
@media (min-width: 1024px) { .cases-head-sub { grid-column: 9 / span 4; } }

.method-list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--rule); }
@media (min-width: 768px) { .method-list { grid-template-columns: repeat(4, 1fr); } }
.method-item { border-bottom: 1px solid var(--rule); padding: 2rem 0; }
@media (min-width: 768px) {
  .method-item { border-right: 1px solid var(--rule); padding: 0 2rem 0 0; }
  .method-item:last-child { border-right: none; }
  .method-item:not(:first-child) { padding-left: 2rem; }
}
.method-n { color: var(--muted-foreground); }
.method-item h3 { margin-top: 1rem; font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -0.03em; }
.method-item p { margin-top: 0.875rem; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-soft); }

/* =========================================================
   FAQ
   ========================================================= */
#faq { border-bottom: 1px solid var(--rule); background: var(--paper-dim); padding: 6rem 0; }
@media (min-width: 768px) { #faq { padding: 8rem 0; } }
.faq-head { max-width: 38rem; }
.faq-head h2 { margin-top: 1rem; }
.faq-list { margin-top: 3.5rem; border-top: 1px solid var(--rule); max-width: 48rem; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-q { font-family: var(--font-display); font-size: clamp(1.0625rem, 1.6vw, 1.25rem); font-weight: 500; letter-spacing: -0.015em; }
.faq-caret { flex-shrink: 0; font-family: var(--font-mono); color: var(--del-red); font-size: 1.25rem; line-height: 1; transition: transform 0.3s ease; }
.faq-item[open] .faq-caret { transform: rotate(45deg); }
.faq-a { padding: 0 0 1.75rem; max-width: 42rem; }
.faq-a p { font-size: 1rem; line-height: 1.65; color: var(--ink-soft); }

/* =========================================================
   Preuves (certifications, normes & références)
   ========================================================= */
#preuves { border-bottom: 1px solid var(--rule); background: var(--paper); padding: 5rem 0; }
@media (min-width: 768px) { #preuves { padding: 7rem 0; } }
.preuves-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .preuves-grid { grid-template-columns: repeat(12, 1fr); gap: 2.5rem; align-items: start; } }
.preuves-head { grid-column: 1 / -1; }
@media (min-width: 1024px) { .preuves-head { grid-column: span 3; } }
.preuves-head h2 { margin-top: 1rem; }
.preuves-tiles { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 768px) { .preuves-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .preuves-tiles { grid-column: span 9; grid-template-columns: repeat(3, 1fr); } }
.preuves-tile { background: var(--paper); padding: 1.25rem 1.5rem; }
.preuves-tile-name { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.01em; }
.preuves-tile p:last-child { margin-top: 0.375rem; font-size: 0.8125rem; line-height: 1.5; color: var(--ink-soft); }

.preuves-quote { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--rule); }
.preuves-quote-body { margin: 0; max-width: 44rem; padding-left: 1.5rem; border-left: 2px solid var(--del-red); }
.preuves-quote-body p { font-family: var(--font-display); font-size: clamp(1.1875rem, 2vw, 1.625rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.45; color: var(--ink); }
.preuves-quote-meta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.875rem; }
.preuves-quote-stars { color: var(--del-red); font-size: 0.875rem; letter-spacing: 0.1em; }
.preuves-quote-meta cite { font-style: normal; font-family: var(--font-display); font-size: 0.9375rem; font-weight: 500; }
.trust-head { margin-top: 3rem; text-align: center; }

.trust-marquee {
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.trust-track {
  display: flex;
  width: max-content;
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  animation: trust-scroll 50s linear infinite;
}
.trust-marquee:hover .trust-track { animation-play-state: paused; }
.trust-chip {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: 92px;
  width: 168px;
  background: var(--paper);
  padding: 1.25rem 1.5rem;
}
.trust-chip img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }

@keyframes trust-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .trust-track { animation: none; }
  .trust-marquee { overflow-x: auto; }
}

/* =========================================================
   FinalCta
   ========================================================= */
#contact { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding: 8rem 0; }
@media (min-width: 768px) { #contact { padding: 12rem 0; } }
.cta-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.14;
  filter: blur(40px);
  background-image: radial-gradient(45% 60% at 22% 40%, var(--del-red), transparent 70%);
}
.cta-inner { position: relative; }
.cta-inner .label-tech { color: color-mix(in oklab, var(--paper) 40%, transparent); }
.cta-inner h2 { margin-top: 2.5rem; max-width: 15ch; color: var(--paper); }
.cta-row { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .cta-row { grid-template-columns: repeat(12, 1fr); align-items: center; } }
.cta-row p { max-width: 32rem; font-size: 1.125rem; line-height: 1.65; color: color-mix(in oklab, var(--paper) 65%, transparent); }
@media (min-width: 1024px) { .cta-row .cta-lead { grid-column: span 5; } }
.cta-person { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.cta-person picture { flex: none; }
.cta-person img { max-width: none; width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px color-mix(in oklab, var(--paper) 25%, transparent); }
.cta-person div { display: flex; flex-direction: column; gap: 0.5rem; }
.cta-person strong { font-weight: 500; color: var(--paper); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
@media (min-width: 1024px) { .cta-actions { grid-column: 7 / span 6; justify-content: flex-end; } }
.cta-row .cta-coords { grid-column: 1 / -1; margin-top: 0.5rem; max-width: none; font-size: 0.6875rem; }
.btn-solid {
  display: inline-flex; align-items: center; gap: 1rem;
  background: var(--del-red); color: var(--paper);
  padding: 1rem 1.75rem; font-size: 0.875rem; font-weight: 500;
  transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-solid:hover { background: var(--del-red-hover); transform: translateY(-2px); box-shadow: 0 14px 28px -14px color-mix(in oklab, var(--del-red) 55%, transparent); }
.btn-solid:active { transform: translateY(0) scale(0.97); transition-duration: 0.12s; }
.btn-solid .arrow { transition: transform 0.3s; }
.btn-solid:hover .arrow { transform: translateX(0.375rem); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 1rem;
  border: 1px solid color-mix(in oklab, var(--paper) 30%, transparent);
  color: var(--paper);
  padding: 1rem 1.75rem; font-size: 0.875rem; font-weight: 500;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-ghost:hover { border-color: var(--paper); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0) scale(0.97); transition-duration: 0.12s; }

/* =========================================================
   Footer
   ========================================================= */
footer { position: relative; overflow: hidden; border-top: 1px solid color-mix(in oklab, var(--paper) 10%, transparent); background: var(--ink); padding-top: 5rem; color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(12, 1fr); } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-brand { grid-column: span 4; } }
.footer-brand .brand-row { display: flex; align-items: center; gap: 0.5rem; }
.footer-brand .brand-row strong { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.04em; }
.footer-brand .brand-row span { color: color-mix(in oklab, var(--paper) 45%, transparent); }
.footer-brand .brand-logo { height: 6.5rem; }
.footer-brand p { margin-top: 1.5rem; max-width: 20rem; font-size: 0.875rem; line-height: 1.6; color: color-mix(in oklab, var(--paper) 50%, transparent); }
.footer-brand .thermal-rule { margin-top: 2rem; height: 1px; width: 10rem; opacity: 0.8; }
.footer-col { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-col { grid-column: span 2; } }
.footer-col p.label-tech { color: color-mix(in oklab, var(--paper) 35%, transparent); }
.footer-col ul { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col li { font-size: 0.875rem; color: color-mix(in oklab, var(--paper) 70%, transparent); }
.footer-col a { font-size: 0.875rem; color: color-mix(in oklab, var(--paper) 70%, transparent); transition: color 0.2s; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { display: flex; flex-direction: column; gap: 1rem; border-top: 1px solid color-mix(in oklab, var(--paper) 10%, transparent); padding: 1.5rem 0; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom .label-tech { color: color-mix(in oklab, var(--paper) 35%, transparent); }
.footer-bottom .legal-links { display: flex; gap: 2rem; }
.footer-bottom .legal-links a { transition: color 0.2s; }
.footer-bottom .legal-links a:hover { color: var(--paper); }
.footer-wordmark {
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  padding: 0 1.5rem 0.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: color-mix(in oklab, var(--paper) 4.5%, transparent);
  font-size: clamp(3rem, 11.2vw, 15rem);
}
@media (min-width: 768px) { .footer-wordmark { padding: 0 2.5rem 0.5rem; } }
