/* ═══════════════════════════════════════════════════
   KABAUN — Website Design System
   Tokens via BrandGuidelines/brand.css (source de vérité)
   ═══════════════════════════════════════════════════ */

@import url('../website-export/BrandGuidelines/brand.css');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; }

/* ── Website overrides ── */
:root {
  --container: 1200px;
  --nav-h: 68px;

  /* Texture SVG noise (inline data-uri) */
  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='512' height='512' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");

  /* Topo grid SVG */
  --topo: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5c14 0 25 11 25 25S44 55 30 55 5 44 5 30 16 5 30 5z' fill='none' stroke='%239ad0c9' stroke-width='.5' opacity='.08'/%3E%3Cpath d='M30 15c8.3 0 15 6.7 15 15s-6.7 15-15 15-15-6.7-15-15 6.7-15 15-15z' fill='none' stroke='%239ad0c9' stroke-width='.3' opacity='.06'/%3E%3C/svg%3E");
}

/* ── Base ── */
body {
  font-family: var(--font-body);
  font-size: var(--t-base);
  color: var(--gray-900);
  line-height: 1.65;
  background: var(--teal-700);
  -webkit-font-smoothing: antialiased;
}

/* ── Site frame (Marketing Hub pattern) ── */
.site-body {
  background: var(--slate-50);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  min-height: 100vh;
}

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ═══════════════════════════════
   TEXTURE LAYERS
   ═══════════════════════════════ */

/* Grain overlay — apply to any section */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--noise);
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

/* Topo grid overlay */
.topo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--topo);
  background-size: 60px 60px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

/* Ensure content sits above textures */
.grain > *, .topo > * { position: relative; z-index: 2; }

/* ═══════════════════════════════
   ANIMATIONS — Scroll Reveal
   ═══════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.from-left {
  transform: translateX(-48px);
}
.reveal.from-right {
  transform: translateX(48px);
}
.reveal.from-scale {
  transform: scale(0.92);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Stagger children */
.stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }
.stagger > .reveal:nth-child(6) { transition-delay: 0.4s; }

/* ═══════════════════════════════
   KEYFRAME ANIMATIONS
   ═══════════════════════════════ */
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes dash-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════
   NAVIGATION
   ═══════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(7, 31, 28, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(154, 208, 201, 0.08);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--teal-200);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo svg { flex-shrink: 0; }
/* .nav-logo span rule removed for brand consistency */
.nav-links { display: flex; gap: 2px; flex: 1; }
.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(154, 208, 201, 0.5);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--teal-200); background: rgba(154, 208, 201, 0.07); }
.nav-link.active { color: var(--teal-200); }
.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-login {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.15s;
}
.nav-login:hover { color: rgba(255, 255, 255, 0.75); }

/* ═══════════════════════════════
   BUTTONS
   ═══════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Amber CTA */
.btn-amber {
  background: var(--amber);
  color: var(--teal-700);
  padding: 12px 24px;
  font-size: 14px;
}
.btn-amber:hover {
  background: #e8b730;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(240, 192, 64, 0.35);
}
.btn-amber-lg { padding: 15px 32px; font-size: 15px; }

/* Shimmer effect on amber buttons */
.btn-amber::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: none;
}
.btn-amber:hover::after {
  animation: shimmer 0.6s ease-out;
}

/* Ghost button */
.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  padding: 12px 22px;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

/* Outline on light bg */
.btn-outline {
  background: transparent;
  color: var(--gray-700);
  padding: 12px 22px;
  font-size: 14px;
  border: 1.5px solid var(--gray-200);
}
.btn-outline:hover {
  border-color: var(--teal-400);
  color: var(--teal-600);
  background: var(--teal-50);
  transform: translateY(-1px);
}

/* Teal solid */
.btn-teal {
  background: var(--teal-200);
  color: var(--teal-700);
  padding: 12px 24px;
  font-size: 14px;
}
.btn-teal:hover {
  background: var(--teal-300);
  transform: translateY(-1px);
}

/* ═══════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow-teal { color: var(--teal-400); }
.eyebrow-light { color: rgba(154, 208, 201, 0.5); }
.eyebrow-amber { color: var(--amber-d); }
.eyebrow-white { color: rgba(255,255,255,0.45); }

/* Pill badge eyebrow */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.eyebrow-pill-dark {
  background: rgba(154, 208, 201, 0.08);
  border: 1px solid rgba(154, 208, 201, 0.15);
  color: rgba(154, 208, 201, 0.7);
}
.eyebrow-pill-light {
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  color: var(--teal-500);
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
h4, .h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

/* Gradient text */
.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--teal-200) 50%, var(--amber) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease infinite;
}

.lead { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.7; }
.lead-muted { color: var(--gray-500); }
.lead-light { color: rgba(154, 208, 201, 0.6); }

/* ═══════════════════════════════
   APP WINDOW (iframe mockups)
   ═══════════════════════════════ */
.app-window {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 24px 80px rgba(0, 0, 0, 0.4),
    0 4px 16px rgba(0, 0, 0, 0.2);
  background: #0d1117;
  position: relative;
}
.app-window--glow::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(154, 208, 201, 0.15) 0%, transparent 70%);
  animation: glow-pulse 4s ease-in-out infinite;
  z-index: 0;
  border-radius: inherit;
}
.win-bar {
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: 38px;
  background: #161b22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 8px;
  position: relative;
  z-index: 1;
}
.win-dots { display: flex; gap: 6px; }
.win-dots span {
  width: 11px; height: 11px; border-radius: 50%;
}
.win-dots span:nth-child(1) { background: #ff5f57; }
.win-dots span:nth-child(2) { background: #febc2e; }
.win-dots span:nth-child(3) { background: #28c840; }
.win-url {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  font-family: var(--font-body);
}
.win-frame {
  overflow: hidden;
  position: relative;
  background: #f8fafc;
  width: 100%;
  z-index: 1;
}
.win-frame iframe {
  position: absolute;
  top: 0; left: 0;
  border: none;
  display: block;
  pointer-events: none;
  width: 1440px;
  height: 900px;
  transform-origin: 0 0;
}

/* ═══════════════════════════════
   CARDS — Glassmorphism
   ═══════════════════════════════ */
.glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 36px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}
.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(154, 208, 201, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Light cards */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 36px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

/* Card with gradient border */
.card-gradient-border {
  position: relative;
  border: none;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 36px);
}
.card-gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  padding: 1.5px;
  background: linear-gradient(135deg, var(--teal-200), var(--amber), var(--teal-400));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ═══════════════════════════════
   MARQUEE (Trust bar)
   ═══════════════════════════════ */
.marquee-wrap {
  overflow: hidden;
  position: relative;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--white) 0%, transparent 100%);
}
.marquee-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--white) 0%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 56px);
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

/* ═══════════════════════════════
   SECTION BACKGROUNDS
   ═══════════════════════════════ */
.bg-dark {
  background: var(--teal-700);
  color: var(--text);
  position: relative;
}
.bg-darker {
  background: var(--black);
  color: var(--text);
  position: relative;
}
.bg-light { background: var(--slate-50); }
.bg-white { background: var(--white); }
.bg-teal-gradient {
  background: linear-gradient(160deg, var(--teal-700) 0%, #0d3832 40%, #091a18 100%);
  position: relative;
}

/* Mesh gradient for hero/CTA */
.bg-mesh {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(154, 208, 201, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(240, 192, 64, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(106, 184, 175, 0.05) 0%, transparent 45%),
    var(--teal-700);
  position: relative;
}

/* ═══════════════════════════════
   SECTION SPACING
   ═══════════════════════════════ */
.section { padding: clamp(80px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.section-sm { padding: clamp(48px, 6vw, 72px) 0; position: relative; }
.section-lg { padding: clamp(100px, 11vw, 150px) 0; position: relative; overflow: hidden; }

/* ═══════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════ */
.section-header { text-align: center; margin-bottom: clamp(48px, 6vw, 72px); }
.section-header h2 { font-size: clamp(32px, 3.2vw, 48px); margin-bottom: 14px; }
.section-header p {
  font-size: clamp(15px, 1.1vw, 17px);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-header--dark h2 { color: #fff; }
.section-header--dark p { color: rgba(154, 208, 201, 0.5); }
.section-header--light h2 { color: var(--gray-900); }
.section-header--light p { color: var(--gray-500); }

/* ═══════════════════════════════
   FEATURE ROWS (alternating)
   ═══════════════════════════════ */
.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding: clamp(72px, 8vw, 104px) 0;
}
.feat-row.rev .feat-text { order: 2; }
.feat-row.rev .feat-visual { order: 1; }
.feat-text h3 {
  font-size: clamp(26px, 2.5vw, 36px);
  margin-bottom: 14px;
  color: var(--gray-900);
}
.feat-text p {
  font-size: clamp(14px, 1vw, 16px);
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 24px;
}
.feat-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.feat-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
}
.check-ic {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--teal-400);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ═══════════════════════════════
   NUMBERS / STATS
   ═══════════════════════════════ */
.stat-val {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-val em {
  font-style: normal;
  color: var(--amber);
  font-size: 0.6em;
  vertical-align: super;
  margin-left: 2px;
}

/* ═══════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════ */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 600;
  color: var(--gray-900);
  background: transparent;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-q:hover { color: var(--teal-600); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
  font-size: 14px;
  color: var(--gray-500);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--teal-50);
  color: var(--teal-500);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 20px;
}
.faq-a p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.75;
}

/* ═══════════════════════════════
   PRICING TOGGLE
   ═══════════════════════════════ */
.billing-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}
.billing-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
}
.billing-label.active { color: var(--gray-900); font-weight: 600; }
.toggle-switch {
  width: 48px; height: 26px;
  background: var(--gray-200);
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-switch.on { background: var(--teal-400); }
.toggle-knob {
  width: 22px; height: 22px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.toggle-switch.on .toggle-knob { transform: translateX(22px); }
.billing-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--amber-l);
  color: var(--amber-d);
}

/* ═══════════════════════════════
   PRICING CARDS
   ═══════════════════════════════ */
.price-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.price-card.featured {
  border-color: var(--teal-400);
  box-shadow: 0 0 0 1px var(--teal-400), 0 8px 32px rgba(154, 208, 201, 0.15);
  position: relative;
}
.price-card.featured::before {
  content: '';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  background: var(--teal-400);
  color: var(--white);
}

/* ═══════════════════════════════
   SITE SWITCHER
   ═══════════════════════════════ */
.site-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0 20px;
  height: 36px;
}
.sw-link {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: #64748b;
  padding: 3px 10px;
  border-radius: 5px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.sw-link:hover { color: var(--teal-500); background: rgba(154, 208, 201, 0.1); }
.sw-link.active { color: var(--teal-500); background: rgba(154, 208, 201, 0.12); font-weight: 600; }
.sw-sep { width: 1px; height: 14px; background: #e2e8f0; margin: 0 4px; flex-shrink: 0; }

/* ═══════════════════════════════
   FOOTER
   ═══════════════════════════════ */
.footer { background: var(--teal-700); padding: clamp(56px, 7vw, 88px) 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 56px);
  border-bottom: 1px solid rgba(154, 208, 201, 0.1);
  margin-bottom: 28px;
}
.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--teal-200);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.footer-brand .footer-logo span { color: var(--amber); }
.footer-brand .footer-logo svg { flex-shrink: 0; }
.footer-desc {
  font-size: 13.5px;
  color: rgba(154, 208, 201, 0.75);
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h5,
.footer-col-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px 0;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13.5px; color: rgba(154, 208, 201, 0.75); transition: color 0.15s; }
.footer-col a:hover { color: var(--teal-200); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal { font-size: 12.5px; color: rgba(154, 208, 201, 0.65); }
.footer-legal a { color: rgba(154, 208, 201, 0.75); }
.footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
}
.footer-lang-link { font-size: 12.5px; letter-spacing: 0.06em; }
.footer-lang-link.is-active { color: rgba(154, 208, 201, 0.95); font-weight: 600; }

/* ═══════════════════════════════
   RESPONSIVE
   ═══════════════════════════════ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .feat-row { grid-template-columns: 1fr; }
  .feat-row.rev .feat-text,
  .feat-row.rev .feat-visual { order: unset; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .site-switcher { overflow-x: auto; }
}

/* ── Typography utilities ── */
.t-xs   { font-size: var(--t-xs); }
.t-sm   { font-size: var(--t-sm); }
.t-base { font-size: var(--t-base); }
.t-md   { font-size: var(--t-md); }
.t-lg   { font-size: var(--t-lg); }
.t-xl   { font-size: var(--t-xl); }
.t-2xl  { font-size: var(--t-2xl); }
.t-3xl  { font-size: var(--t-3xl); }

.font-display { font-family: var(--font-display); }
.font-body    { font-family: var(--font-body); }

/* ═══════════════════════════════════════════
   LEGAL — CGU · Confidentialité · Cookies · Mentions
   ═══════════════════════════════════════════ */

.legal-hero {
  background: var(--gray-100);
  padding: calc(var(--nav-h) + 40px + clamp(48px, 7vw, 80px)) 0 clamp(40px, 6vw, 64px);
}

.legal-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 20px;
}

.legal-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--gray-900);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.legal-date {
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 500;
}

.legal-content {
  background: var(--white);
  padding: clamp(56px, 7vw, 96px) 0;
}

.legal-body { max-width: 760px; }

.legal-intro {
  font-size: clamp(15px, 1.1vw, 16px);
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-200);
}

.legal-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-100);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.legal-section p {
  font-size: clamp(14px, 1vw, 15px);
  color: var(--gray-600);
  line-height: 1.85;
}

.legal-section p + p { margin-top: 10px; }

.legal-section a {
  color: var(--teal-500);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.legal-section a:hover { color: var(--teal-600); }

.legal-section ul {
  margin-top: 10px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-section li {
  font-size: clamp(14px, 1vw, 15px);
  color: var(--gray-600);
  line-height: 1.75;
}

/* Tableau cookies */
.legal-table-wrap {
  overflow-x: auto;
  margin-top: 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--gray-200);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.legal-table th {
  background: var(--gray-50);
  color: var(--gray-700);
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}

.legal-table td {
  padding: 12px 16px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
  line-height: 1.6;
}

.legal-table tr:last-child td { border-bottom: none; }

.legal-table code {
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--gray-800);
}

@media (max-width: 640px) {
  .legal-body { max-width: 100%; }
}
