/* ============================================================
   TERRALUDIS SYSTEMS — Design System
   Premium dark aesthetic inspired layout
   ============================================================ */

:root {
  --bg: #0a0f09;
  --bg-2: #101709;
  --bg-3: #141c12;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.1);
  --stroke-2: rgba(255, 255, 255, 0.18);
  --ink: #f4f2eb;
  --ink-soft: #cfd3c6;
  --muted: #9aa091;
  --accent: #c6f16d;
  --accent-2: #8fd14f;
  --accent-dark: #1d2a14;
  --danger: #ff8a5c;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #10160a; }

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }

.container {
  width: min(1560px, calc(100% - 64px));
  margin: 0 auto;
}

/* ------------------------------------------------------------
   Grain overlay for photographic depth
------------------------------------------------------------ */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------
   Navigation
------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 15, 9, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--stroke);
}
.nav-inner {
  width: min(1800px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.nav-logo svg { flex: none; }
.logo-img {
  width: 42px;
  height: auto;
  flex: none;
  image-rendering: -webkit-optimize-contrast;
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
  text-transform: uppercase;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--ink);
}
.logo-text small {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.54em;
  color: var(--muted);
}
.footer .logo-img { width: 38px; }
.logo-horizontal {
  height: 56px;
  width: auto;
  flex: none;
  image-rendering: -webkit-optimize-contrast;
}
.footer .logo-horizontal { height: 48px; }
@media (max-width: 820px) {
  .logo-horizontal { height: 48px; }
}
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 9px 8px 9px 20px;
  border: 1px solid var(--stroke-2);
  border-radius: var(--radius-pill);
  transition: background 0.3s, border-color 0.3s;
}
.nav-cta:hover { background: var(--surface-2); border-color: rgba(255,255,255,0.35); }
.nav-cta .arrow-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #101509;
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease), background 0.3s;
}
.nav-cta:hover .arrow-circle { transform: rotate(45deg); background: var(--accent); }

/* Menu mobile : masqué hors petits écrans */
.nav-mobile { display: none; }

/* Burger */
.nav-burger {
  display: none;
  background: none;
  border: 1px solid var(--stroke-2);
  border-radius: 12px;
  width: 44px; height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------
   Buttons
------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s;
  will-change: transform;
}
.btn-light {
  background: var(--ink);
  color: #10150a;
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
  background: #ffffff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--stroke-2);
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn-accent {
  background: var(--accent);
  color: #131a09;
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(198, 241, 109, 0.25);
}

/* ------------------------------------------------------------
   Badges & chips
------------------------------------------------------------ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: rgba(12, 16, 10, 0.55);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 8px;
}
.badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse-dot 2.4s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px var(--accent); }
  50% { box-shadow: 0 0 16px var(--accent); }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
  border: 1px solid var(--stroke);
  background: var(--surface);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}
.chip svg { flex: none; }

/* ------------------------------------------------------------
   Hero
------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 0 60px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: -5%;
  z-index: -2;
  background:
    radial-gradient(60% 55% at 72% 42%, rgba(84, 128, 42, 0.5) 0%, transparent 60%),
    radial-gradient(45% 45% at 20% 80%, rgba(48, 82, 28, 0.55) 0%, transparent 65%),
    radial-gradient(35% 35% at 88% 85%, rgba(30, 55, 20, 0.6) 0%, transparent 70%),
    radial-gradient(50% 40% at 45% 12%, rgba(20, 32, 12, 0.9) 0%, transparent 70%),
    linear-gradient(160deg, #0c120a 0%, #16220e 45%, #0a0f08 100%);
  will-change: transform;
}
.hero-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}
.blob-1 { width: 520px; height: 420px; left: 55%; top: 18%; background: #4c7a26; }
.blob-2 { width: 420px; height: 380px; left: 5%; top: 55%; background: #2c4a18; animation-delay: -6s; }
.blob-3 { width: 340px; height: 300px; left: 75%; top: 62%; background: #64943a; opacity: 0.3; animation-delay: -12s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -30px) scale(1.12); }
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 12, 6, 0.85) 0%, transparent 22%, transparent 70%, rgba(8, 12, 6, 0.8) 100%),
    radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(6, 9, 5, 0.55) 100%);
}

.hero-grid {
  position: relative;
  width: min(1800px, calc(100% - 64px));
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy { max-width: 640px; }
.hero-copy .badge { margin-bottom: 28px; }
.hero-title {
  font-size: clamp(44px, 6vw, 96px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1s var(--ease) forwards;
}
.hero-title .line:nth-child(2) span { animation-delay: 0.12s; }
@keyframes rise { to { transform: translateY(0); } }

.hero-sub {
  font-size: clamp(16.5px, 1.05vw, 19px);
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 0.35s forwards;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 0.5s forwards;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero product visual (floating slab) */
.hero-visual {
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-52%);
  width: clamp(340px, 44vw, 800px);
  z-index: -1;
  pointer-events: none;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 60px 60px rgba(0, 0, 0, 0.55));
}
@keyframes float {
  0%, 100% { transform: translateY(-52%); }
  50% { transform: translateY(-55%); }
}

/* Hero bottom cards */
.hero-cards {
  position: relative;
  width: min(1800px, calc(100% - 64px));
  margin: 40px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.glass-card {
  background: rgba(14, 19, 11, 0.55);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px 26px;
  opacity: 0;
  animation: fade-up 1s var(--ease) 0.7s forwards;
}
.glass-card h3 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 14px;
  max-width: 220px;
}
.state-card { width: 300px; }
.state-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 8px;
}
.mini-product-card {
  width: 250px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation-delay: 0.85s;
  transition: transform 0.35s var(--ease), border-color 0.3s;
  pointer-events: auto;
}
.mini-product-card:hover { transform: translateY(-4px); border-color: var(--stroke-2); }
.mini-product-card .thumb {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}
.mini-product-card .meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mini-product-card .meta strong { font-size: 14px; font-weight: 600; display: block; }
.mini-product-card .meta small { color: var(--muted); font-size: 12px; }
.mini-product-card .order-btn {
  flex: none;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--ink);
  color: #11160a;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background 0.3s;
}
.mini-product-card .order-btn:hover { background: var(--accent); }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fade-up 1s var(--ease) 1.2s forwards;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 34px;
  background: linear-gradient(var(--muted), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ------------------------------------------------------------
   Page hero (interior pages)
------------------------------------------------------------ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 90px) 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.page-hero .hero-bg { inset: -10%; }
.page-hero .badge { margin-bottom: 24px; }
.page-hero h1 {
  font-size: clamp(38px, 4.6vw, 76px);
  max-width: 900px;
}
.page-hero .lead {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 620px;
}
.page-hero .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ------------------------------------------------------------
   Sections
------------------------------------------------------------ */
.section { padding: 100px 0; position: relative; }
.section.tint { background: var(--bg-2); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--accent);
}
.section-head.center .eyebrow::before { display: none; }
.section-title { font-size: clamp(30px, 3.6vw, 56px); }
.section-sub { color: var(--ink-soft); font-size: 16.5px; }

/* ------------------------------------------------------------
   Cards & grids
------------------------------------------------------------ */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--stroke-2);
  background: var(--surface-2);
}
.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-dark);
  border: 1px solid rgba(198, 241, 109, 0.25);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--accent);
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.card .card-link svg { transition: transform 0.3s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* Solution cards (bigger, with visual) */
.solution-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.solution-card .visual {
  height: 210px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--stroke);
}
.solution-card .visual svg {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.solution-card:hover .visual svg { transform: scale(1.05); }
.solution-card .body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.solution-card .body p { flex: 1; }
.solution-card .tag {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(10, 14, 8, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--stroke);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

/* Stat band */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  padding: 48px 0;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stat .num em { font-style: normal; color: var(--accent); }
.stat .label { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* Split layout (text + visual) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-visual { order: -1; }
.split-visual {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 34px;
  position: relative;
  overflow: hidden;
}
.split-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 70% 20%, rgba(198, 241, 109, 0.07), transparent 70%);
  pointer-events: none;
}
.split h2 { font-size: clamp(28px, 3.4vw, 42px); }
.split p { color: var(--ink-soft); }

/* Feature list */
.feature-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink-soft);
}
.feature-list li strong { color: var(--ink); display: block; font-weight: 600; }
.feature-list .check {
  flex: none;
  width: 24px; height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-dark);
  border: 1px solid rgba(198, 241, 109, 0.3);
  display: grid;
  place-items: center;
  color: var(--accent);
}

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  counter-increment: step;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 64px 26px 30px;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.step:hover { transform: translateY(-6px); border-color: var(--stroke-2); }
.step::before {
  content: "0" counter(step);
  position: absolute;
  top: 22px; left: 26px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(198, 241, 109, 0.3);
  background: var(--accent-dark);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.step h3 { font-size: 19px; }
.step p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* Marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  padding: 22px 0;
  background: var(--bg-2);
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 64px;
  white-space: nowrap;
}
.marquee-track span::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* FAQ accordion */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  margin-bottom: 12px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: var(--stroke-2); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 600;
  text-align: left;
  padding: 22px 24px;
  cursor: pointer;
}
.faq-q .plus {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--stroke-2);
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s;
}
.faq-item.open .plus { transform: rotate(45deg); background: var(--accent); color: #131a09; border-color: var(--accent); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-a p { padding: 0 24px 22px; margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Big CTA band */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  padding: 80px 60px;
  text-align: center;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(198, 241, 109, 0.14), transparent 60%),
    linear-gradient(160deg, #131b0c, #0c1108);
  border: 1px solid var(--stroke);
}
.cta-band h2 { font-size: clamp(30px, 4vw, 50px); max-width: 640px; margin: 0 auto 18px; }
.cta-band p { color: var(--ink-soft); max-width: 480px; margin: 0 auto 32px; }
.cta-band .btn { margin: 0 6px; }

/* ------------------------------------------------------------
   Plaquette nuancier
------------------------------------------------------------ */
.plaquette-scene {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.plaquette-scene::before {
  content: "";
  position: absolute;
  inset: 6% 10%;
  background: radial-gradient(50% 50% at 50% 45%, rgba(198, 241, 109, 0.14), transparent 70%);
  filter: blur(34px);
  pointer-events: none;
}
.plaquette-float {
  animation: plaquette-float 7s ease-in-out infinite;
}
@keyframes plaquette-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.tilt-card {
  transform: perspective(900px);
  transition: transform 0.45s var(--ease);
  will-change: transform;
}
.plaquette-img {
  width: min(400px, 100%);
  margin: 0 auto;
  /* colorimétrie légèrement rehaussée pour le fond sombre — contenu inchangé */
  filter: saturate(1.08) contrast(1.05) brightness(1.04)
          drop-shadow(0 45px 55px rgba(0, 0, 0, 0.55));
}
.plaquette-chip {
  position: absolute;
  z-index: 2;
  background: rgba(14, 19, 11, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: var(--stroke-2);
  animation: plaquette-float 7s ease-in-out infinite;
}
.plaquette-chip.c1 { top: 16%; left: 0; animation-delay: -2.4s; }
.plaquette-chip.c2 { bottom: 13%; right: 0; animation-delay: -4.8s; }
@media (max-width: 820px) {
  .plaquette-chip.c1 { top: 6%; }
  .plaquette-chip.c2 { bottom: 4%; }
}

/* ------------------------------------------------------------
   Schema figures
------------------------------------------------------------ */
.schema-fig {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 0;
}
.schema-fig figcaption {
  margin-top: 22px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

/* ------------------------------------------------------------
   Table
------------------------------------------------------------ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--stroke);
}
.data-table th {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--surface);
}
.data-table td { color: var(--ink-soft); }
.data-table td:first-child { color: var(--ink); font-weight: 600; }
.data-table tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--stroke); }
.table-wrap .data-table { border: none; }

/* ------------------------------------------------------------
   Forms
------------------------------------------------------------ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa091' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-field select option { background: #141c12; color: var(--ink); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  background: rgba(198, 241, 109, 0.04);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--muted); }

/* Range input (calculator) */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 4px;
  background: var(--stroke-2);
  outline: none;
  padding: 0;
  border: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 3px solid #131a09;
  box-shadow: 0 0 0 1px var(--accent);
}

/* Calculator */
.calc {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.calc-inputs { padding: 40px; display: grid; gap: 26px; }
.calc-result {
  background: linear-gradient(170deg, #16200e, #0d1309);
  border-left: 1px solid var(--stroke);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.calc-result .big {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}
.calc-result .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--stroke);
  padding-bottom: 10px;
}
.calc-result .row strong { color: var(--ink); }

/* ------------------------------------------------------------
   Footer
------------------------------------------------------------ */
.footer {
  border-top: 1px solid var(--stroke);
  background: #080c07;
  padding: 72px 0 32px;
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-brand p { max-width: 300px; margin-top: 16px; }
.footer h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { transition: color 0.25s; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--stroke);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-bottom a:hover { color: var(--accent); }

/* ------------------------------------------------------------
   Reveal on scroll
------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Draw-in for SVG schema arrows */
.draw path.animate-draw,
.draw line.animate-draw {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.6s var(--ease) 0.3s;
}
.draw.visible path.animate-draw,
.draw.visible line.animate-draw { stroke-dashoffset: 0; }

/* ------------------------------------------------------------
   Responsive
------------------------------------------------------------ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-visual { order: 0; }
  .stats-band { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .hero-visual { opacity: 0.5; right: -12%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc-result { border-left: none; border-top: 1px solid var(--stroke); }
}

@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(9, 13, 8, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--stroke);
    padding: 20px 24px 30px;
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 99;
  }
  .nav.menu-open + .nav-mobile, .nav-mobile.open { display: flex; }
  .nav-mobile a {
    padding: 14px 6px;
    font-size: 17px;
    border-bottom: 1px solid var(--stroke);
    color: var(--ink-soft);
  }
  .nav-mobile a.active { color: var(--accent); }
  .hero-cards { flex-direction: column; align-items: stretch; }
  .state-card, .mini-product-card { width: 100%; }
  .mini-product-card { flex-direction: row; align-items: center; }
  .mini-product-card .thumb { width: 90px; flex: none; }
  .scroll-hint { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .cta-band { padding: 56px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .calc-inputs, .calc-result { padding: 28px; }
  .schema-fig { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}
