/* ============================================================
   ALTURA DIGITAL — Design System
   Style: Dark Luxury + Glassmorphism subtil
   Spacing: 8px grid
   Typography: Inter
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── DESIGN TOKENS ── */
:root {
  /* Colors */
  --color-bg:          #06101e;
  --color-surface:     #0d1f38;
  --color-surface-2:   #111e33;
  --color-surface-3:   #162440;
  --color-border:      rgba(255, 255, 255, 0.07);
  --color-border-hover:rgba(59, 130, 246, 0.5);

  --color-primary:     #3b82f6;
  --color-primary-dim: #2563eb;
  --color-primary-glow:rgba(59, 130, 246, 0.25);
  --color-accent:      #60a5fa;

  --color-text-1:  #f0f6ff;        /* headings */
  --color-text-2:  #94a3b8;        /* body */
  --color-text-3:  #4e6585;        /* muted */
  --color-white:   #ffffff;

  --color-success: #22c55e;
  --color-danger:  #ef4444;
  --color-warning: #f59e0b;

  /* Spacing (8px grid) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Radius */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-full:9999px;

  /* Typography scale */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */
  --text-6xl:  3.75rem;    /* 60px */

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,.3);
  --shadow-md:  0 4px 20px rgba(0,0,0,.4);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.5);
  --shadow-xl:  0 24px 80px rgba(0,0,0,.6);
  --shadow-glow:0 0 40px rgba(59,130,246,.18);

  /* Transitions */
  --t-fast:   150ms ease-out;
  --t-base:   220ms ease-out;
  --t-slow:   350ms ease-out;

  /* Nav height */
  --nav-h: 72px;
  --promo-h: 44px;
}

/* ── BASE ── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--color-bg);
  color: var(--color-text-2);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-surface-3); border-radius: var(--r-full); }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-text-1);
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: var(--text-xl); font-weight: 700; }
h4 { font-size: var(--text-lg); font-weight: 700; }

p  { font-size: var(--text-base); line-height: 1.7; }

/* ── LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

section { padding: var(--sp-24) 0; }

/* ── SECTION LABELS ── */
.label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--sp-4);
}

.label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--r-full);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  border-radius: var(--r-sm);
  font-size: var(--text-base);
  font-weight: 700;
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-fast);
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 24px rgba(59,130,246,.35);
}
.btn-primary:hover {
  background: var(--color-primary-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(59,130,246,.5);
}

.btn-ghost {
  background: rgba(255,255,255,.04);
  color: var(--color-text-1);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--color-white);
  color: #0d1f38;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(255,255,255,.2);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,.35);
}
.btn-outline-white:hover {
  border-color: rgba(255,255,255,.8);
  transform: translateY(-2px);
}

/* ── GLASSMORPHISM CARD ── */
.glass {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ── GRADIENT TEXT ── */
.text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   PROMO BAR
   ============================================================ */
.promo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  height: var(--promo-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #1d4ed8 0%, #3b82f6 50%, #1d4ed8 100%);
  background-size: 200% 100%;
  animation: promo-shimmer 4s linear infinite;
  padding: 0 var(--sp-10);
}

@keyframes promo-shimmer {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.promo-bar__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex: 1;
  justify-content: center;
}

.promo-bar__badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(255,255,255,.2);
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--r-full);
  white-space: nowrap;
}

.promo-bar__text {
  font-size: var(--text-sm);
  color: #fff;
  white-space: nowrap;
}

.promo-bar__text strong { font-weight: 700; }

.promo-bar__spots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: #fde68a;
}

.promo-bar__spots::before {
  content: '⚡';
  font-size: 12px;
}

.promo-bar__cta {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #1d4ed8;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--r-full);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--t-fast);
}

.promo-bar__cta:hover { opacity: .88; }

.promo-bar__close {
  position: absolute;
  right: var(--sp-4);
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  padding: var(--sp-2);
  border-radius: var(--r-sm);
  transition: color var(--t-fast);
}

.promo-bar__close:hover { color: #fff; }

/* Décale nav + hero quand la promo-bar est visible */
body:not(.promo-hidden) .nav {
  top: var(--promo-h);
}

body:not(.promo-hidden) #hero {
  padding-top: calc(var(--nav-h) + var(--promo-h));
}

body.promo-hidden .promo-bar { display: none; }

@media (max-width: 640px) {
  .promo-bar__badge { display: none; }
  .promo-bar__text { font-size: 11px; white-space: normal; text-align: center; }
  .promo-bar__cta { display: none; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--sp-6);
  background: rgba(6, 16, 30, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--t-slow);
}

.nav.scrolled {
  box-shadow: 0 4px 40px rgba(0,0,0,.6);
}

.nav__inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 40px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-2);
  transition: color var(--t-fast);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--r-full);
  transform: scaleX(0);
  transition: transform var(--t-base);
}

.nav__links a:hover { color: var(--color-text-1); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  padding: 10px 22px;
  font-size: var(--text-sm);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-text-1);
  border-radius: var(--r-full);
  transition: transform var(--t-base), opacity var(--t-fast);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-6);
    padding: var(--sp-6);
    background: rgba(6, 16, 30, 0.97);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(20px);
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: var(--text-base); }
  .nav__burger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* Background radial gradient */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 60% 40%, rgba(59,130,246,.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(99,102,241,.06) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.25);
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-5);
}

.hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

.hero__title { margin-bottom: var(--sp-5); }

.hero__sub {
  font-size: var(--text-lg);
  color: var(--color-text-2);
  max-width: 500px;
  margin-bottom: var(--sp-8);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-12);
}

.hero__stats {
  display: flex;
  gap: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--color-border);
}

.hero__stat-num {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text-1);
  letter-spacing: -0.03em;
  display: block;
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-3);
  margin-top: 2px;
}

.hero__logo-img {
  width: 90px;
  height: auto;
  margin-bottom: var(--sp-6);
  filter: drop-shadow(0 4px 24px rgba(59,130,246,.3));
}

/* ── Hero Visual ── */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Wrapper carte + badges ── */
.hero__card-wrap {
  position: relative;
  width: 100%;
  padding: 36px 28px;   /* espace réservé aux badges qui débordent */
}

.hero__card-wrap .float-badge {
  position: absolute;
  z-index: 10;
}

.float-badge--tl {
  top: 0;
  left: 0;
}

.float-badge--br {
  bottom: 0;
  right: 0;
}

/* ── Dashboard Card ── */
.dash-card {
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  width: 100%;
}

.dash-card__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
}

.dash-card__dots {
  display: flex;
  gap: 6px;
}

.dash-card__dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dash-card__dots .dot-r { background: #ff5f57; }
.dash-card__dots .dot-y { background: #febc2e; }
.dash-card__dots .dot-g { background: #28c840; }

.dash-card__badge {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  background: rgba(34,197,94,.12);
  color: #4ade80;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-full);
}

.dash-card__metric {
  margin-bottom: var(--sp-5);
}

.dash-card__metric-label {
  font-size: var(--text-xs);
  color: var(--color-text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-1);
}

.dash-card__metric-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-text-1);
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.dash-card__metric-before {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-3);
  letter-spacing: 0;
}

.dash-card__chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 88px;
  margin-bottom: var(--sp-5);
}

.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: rgba(59,130,246,.18);
  transition: background var(--t-base);
}
.chart-bar.active { background: var(--color-primary); }
.chart-bar:hover  { background: rgba(59,130,246,.5); }

.dash-card__divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--sp-4) 0;
}

.dash-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  margin-bottom: var(--sp-3);
}
.dash-card__row:last-child { margin-bottom: 0; }

.dash-card__row-label { color: var(--color-text-3); }
.dash-card__row-value {
  color: var(--color-text-1);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.pill {
  background: rgba(59,130,246,.12);
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
}

.pill-green {
  background: rgba(34,197,94,.12);
  color: #4ade80;
}

/* Floating badges */
.float-badge {
  position: absolute;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  box-shadow: var(--shadow-xl);
  white-space: nowrap;
}

.float-badge--tl {
  top: -18px;
  left: -18px;
}

.float-badge--br {
  bottom: -18px;
  right: -18px;
}

.float-badge__icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: rgba(59,130,246,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-badge__title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-1);
}

.float-badge__sub {
  font-size: var(--text-xs);
  color: var(--color-text-3);
  margin-top: 1px;
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
#problem {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  margin-top: var(--sp-12);
}

.problem__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.problem-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-5);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}

.problem-item:hover {
  background: rgba(255,255,255,.025);
  border-color: var(--color-border);
}

.problem-item__icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.15);
}

.problem-item__icon svg {
  width: 20px; height: 20px;
  stroke: #f87171;
}

.problem-item h3 {
  font-size: var(--text-base);
  margin-bottom: 4px;
  color: var(--color-text-1);
}

.problem-item p {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  line-height: 1.6;
}

/* Metrics compare layout */
.metrics-compare {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: var(--sp-4);
  align-items: center;
}

.metrics-compare__arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.metrics-compare__arrow svg {
  width: 48px;
  height: 48px;
}

/* Metrics panel */
.metrics-panel {
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  position: relative;
}

.metrics-panel--before {
  border: 1px solid rgba(239,68,68,.25);
}

.metrics-panel--after {
  border: 1px solid rgba(34,197,94,.25);
}

.metrics-panel__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-3);
}

.metrics-panel__badge--before {
  background: rgba(239,68,68,.15);
  color: #f87171;
}

.metrics-panel__badge--after {
  background: rgba(34,197,94,.15);
  color: #4ade80;
}

.metrics-panel__title {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-5);
}

.metric-bar { margin-bottom: var(--sp-4); }
.metric-bar:last-of-type { margin-bottom: 0; }

.metric-bar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-2);
  font-size: var(--text-sm);
}

.metric-bar__label { color: var(--color-text-2); font-weight: 500; }
.metric-bar__value { color: var(--color-text-3); font-weight: 700; }

.metric-bar__value--bad  { color: #f87171; }
.metric-bar__value--good { color: #4ade80; }

.metric-bar__track {
  height: 6px;
  background: rgba(255,255,255,.06);
  border-radius: var(--r-full);
  overflow: hidden;
}

.metric-bar__fill {
  height: 100%;
  border-radius: var(--r-full);
  transition: width 1s ease-out;
}

.fill-bad  { background: linear-gradient(90deg, #f87171, #ef4444); }
.fill-med  { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.fill-good { background: linear-gradient(90deg, #4ade80, #22c55e); }

.metrics-note {
  margin-top: var(--sp-5);
  font-size: var(--text-xs);
  color: var(--color-text-3);
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 640px) {
  .metrics-compare {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .metrics-compare__arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
}

/* ============================================================
   SOLUTION SECTION
   ============================================================ */
#solution { background: var(--color-bg); }

.solution__header {
  max-width: 620px;
  margin-bottom: var(--sp-12);
}

.solution__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.step-card {
  padding: var(--sp-8);
  border-radius: var(--r-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,.5), transparent);
  opacity: 0;
  transition: opacity var(--t-slow);
}

.step-card:hover {
  border-color: rgba(59,130,246,.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.step-card:hover::before { opacity: 1; }

.step-card__num {
  font-size: 5rem;
  font-weight: 900;
  color: rgba(59,130,246,.06);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: var(--sp-3);
  user-select: none;
}

.step-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
}

.step-card__icon svg {
  width: 22px; height: 22px;
  stroke: var(--color-primary);
  stroke-width: 1.75;
}

.step-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--sp-3);
}

.step-card p {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  line-height: 1.7;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
#services {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.services__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-12);
}

.services__header .section-sub {
  margin-top: var(--sp-4);
  color: var(--color-text-3);
  font-size: var(--text-lg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.service-card {
  padding: var(--sp-8);
  border-radius: var(--r-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  display: flex;
  flex-direction: column;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
}

.service-card--featured {
  border-color: rgba(59,130,246,.4);
  background: linear-gradient(160deg, rgba(59,130,246,.07) 0%, var(--color-surface-2) 60%);
}

.service-card--featured::after {
  content: 'Populaire';
  position: absolute;
  top: 20px; right: -30px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
}

.service-card:hover {
  border-color: rgba(59,130,246,.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}

.service-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
}

.service-card__icon svg {
  width: 26px; height: 26px;
  stroke: var(--color-primary);
  stroke-width: 1.75;
}

.service-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--sp-3);
}

.service-card > p {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
  flex: 1;
}

.service-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.service-card__feature {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--color-text-2);
}

.service-card__feature svg {
  width: 16px; height: 16px;
  stroke: var(--color-success);
  flex-shrink: 0;
}

.service-card__link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-top: auto;
  transition: gap var(--t-fast);
}

.service-card__link svg {
  width: 16px; height: 16px;
  stroke: currentColor;
  transition: transform var(--t-fast);
}

.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

.services__cta {
  text-align: center;
  margin-top: var(--sp-12);
}

/* ============================================================
   PROOF / TESTIMONIALS
   ============================================================ */
#proof { background: var(--color-bg); }

.proof__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--sp-12);
}

/* Guarantee cards */
.guarantees {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-10);
}

.guarantee-card {
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: border-color var(--t-base), transform var(--t-base);
}

.guarantee-card:hover {
  border-color: rgba(59,130,246,.3);
  transform: translateY(-3px);
}

.guarantee-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guarantee-card__icon svg {
  width: 22px; height: 22px;
  stroke: var(--color-primary);
}

.guarantee-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text-1);
}

.guarantee-card p {
  font-size: var(--text-sm);
  color: var(--color-text-2);
  line-height: 1.7;
}

/* Premiers clients banner */
.first-clients-banner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-6) var(--sp-8);
  border-radius: var(--r-lg);
  border: 1px solid rgba(251,191,36,.2);
  background: rgba(251,191,36,.04);
  margin-top: var(--sp-4);
}

.first-clients-banner__icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(251,191,36,.12);
  border-radius: var(--r-md);
}

.first-clients-banner__icon svg {
  width: 24px; height: 24px;
  stroke: #fbbf24;
  fill: rgba(251,191,36,.2);
}

.first-clients-banner__text {
  flex: 1;
  font-size: var(--text-sm);
  color: var(--color-text-2);
  line-height: 1.7;
}

.first-clients-banner__text strong {
  display: block;
  color: #fbbf24;
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--sp-1);
}

@media (max-width: 1024px) {
  .guarantees { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .guarantees { grid-template-columns: 1fr; }
  .first-clients-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* Logos strip */
.logos-strip {
  padding-top: var(--sp-10);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.logos-strip__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--sp-6);
}

.logos-strip__row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.logo-tag {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 8px 18px;
  border-radius: var(--r-full);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-3);
  background: var(--color-surface-2);
  transition: border-color var(--t-fast), color var(--t-fast);
}

.logo-tag:hover {
  border-color: rgba(59,130,246,.3);
  color: var(--color-text-2);
}

/* ============================================================
   TARIFS
   ============================================================ */
#tarifs { background: var(--color-bg); }

.tarifs__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--sp-16);
}

.tarifs__group {
  margin-bottom: var(--sp-16);
}

.tarifs__group-title {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-3);
  margin-bottom: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.tarifs__group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* Cards sites web */
.tarifs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  align-items: start;
}

.tarif-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  position: relative;
  transition: border-color var(--t-base), transform var(--t-base);
}

.tarif-card:hover {
  border-color: rgba(59,130,246,.25);
  transform: translateY(-3px);
}

.tarif-card--popular {
  border-color: rgba(59,130,246,.4);
  background: var(--color-surface);
  box-shadow: 0 0 40px rgba(59,130,246,.1);
  transform: translateY(-6px);
}

.tarif-card--popular:hover { transform: translateY(-9px); }

.tarif-card__badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(59,130,246,.15);
  color: var(--color-primary);
  padding: 4px 12px;
  border-radius: var(--r-full);
  width: fit-content;
}

.tarif-card__name {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-text-1);
}

.tarif-card__price {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--color-text-1);
  letter-spacing: -0.04em;
  line-height: 1;
}

.tarif-card__price span {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-3);
}

.tarif-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  line-height: 1.6;
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--color-border);
}

.tarif-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}

.tarif-card__features li {
  font-size: var(--text-sm);
  color: var(--color-text-2);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.tarif-card__features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.tarif-card__cta {
  width: 100%;
  justify-content: center;
  margin-top: var(--sp-2);
}

/* Services récurrents */
.tarifs__recurrent {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.tarif-recurrent {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  transition: border-color var(--t-base);
}

.tarif-recurrent:hover { border-color: rgba(59,130,246,.2); }

.tarif-recurrent--highlight {
  border-color: rgba(59,130,246,.3);
  background: linear-gradient(135deg, rgba(59,130,246,.06), rgba(99,102,241,.04));
}

.tarif-recurrent__icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tarif-recurrent__icon svg {
  width: 20px; height: 20px;
  stroke: var(--color-primary);
}

.tarif-recurrent--highlight .tarif-recurrent__icon {
  background: rgba(59,130,246,.2);
}

.tarif-recurrent__body { flex: 1; }

.tarif-recurrent__name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text-1);
  margin-bottom: 2px;
}

.tarif-recurrent__desc {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  margin-bottom: var(--sp-2);
}

.tarif-recurrent__quote {
  font-size: var(--text-xs);
  color: var(--color-text-3);
  font-style: italic;
  line-height: 1.6;
  padding-left: var(--sp-3);
  border-left: 2px solid rgba(59,130,246,.3);
  margin-top: var(--sp-2);
}

.tarif-tag {
  display: inline-flex;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(59,130,246,.12);
  color: var(--color-primary);
  padding: 2px 8px;
  border-radius: var(--r-full);
  vertical-align: middle;
  margin-left: var(--sp-2);
}

.tarif-tag--green {
  background: rgba(34,197,94,.12);
  color: #4ade80;
}

.tarif-recurrent__price {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text-1);
  white-space: nowrap;
  text-align: right;
}

.tarif-recurrent__price span {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-3);
}

.tarifs__note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-3);
  margin-top: var(--sp-8);
}

@media (max-width: 900px) {
  .tarifs__grid { grid-template-columns: 1fr; }
  .tarif-card--popular { transform: none; }
  .tarif-recurrent { flex-wrap: wrap; }
  .tarif-recurrent__price { width: 100%; text-align: left; }
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
#portfolio { padding: var(--sp-20) 0; }

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  margin-top: var(--sp-12);
}

.portfolio-card {
  border-radius: var(--r-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

.portfolio-card__image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-surface-2);
}

.portfolio-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-card__tag {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
}

.portfolio-card__body {
  padding: var(--sp-6);
}

.portfolio-card__body h3 {
  font-size: var(--text-lg);
  color: var(--color-text-1);
  margin-bottom: var(--sp-2);
}

.portfolio-card__body p {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}

.portfolio-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.portfolio-card__stack span {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.2);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
}

.portfolio-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--t-fast);
}

.portfolio-card__link:hover { gap: var(--sp-3); }

@media (max-width: 700px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

.portfolio__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  border-radius: var(--r-xl);
  padding: var(--sp-12) var(--sp-12);
  border: 1px solid rgba(59,130,246,.2);
  position: relative;
  overflow: hidden;
}

.portfolio__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(59,130,246,.07) 0%, transparent 65%);
  pointer-events: none;
}

.portfolio__text { position: relative; z-index: 1; }

.portfolio__text h2 { margin: var(--sp-4) 0 var(--sp-5); }

.portfolio__text p {
  color: var(--color-text-2);
  font-size: var(--text-base);
  line-height: 1.75;
  margin-bottom: var(--sp-8);
}

.portfolio__cta { align-self: flex-start; }

/* Faux écran navigateur */
.portfolio__visual {
  position: relative;
  z-index: 1;
}

.portfolio__screen {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: var(--color-surface);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}

.portfolio__screen-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background: var(--color-surface-2);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.portfolio__screen-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}

.portfolio__screen-bar span:nth-child(1) { background: #f87171; }
.portfolio__screen-bar span:nth-child(2) { background: #fbbf24; }
.portfolio__screen-bar span:nth-child(3) { background: #4ade80; }

.portfolio__screen-url {
  flex: 1;
  background: rgba(255,255,255,.06);
  border-radius: var(--r-full);
  font-size: 10px;
  color: var(--color-text-3);
  padding: 4px 10px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
}

.portfolio__screen-body {
  padding: var(--sp-5);
}

.portfolio__screen-line--title {
  height: 16px;
  width: 60%;
  background: linear-gradient(90deg, rgba(59,130,246,.4), rgba(59,130,246,.1));
  border-radius: var(--r-full);
  margin-bottom: var(--sp-5);
}

.portfolio__screen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.portfolio__screen-card {
  height: 72px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  position: relative;
  overflow: hidden;
}

.portfolio__screen-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,.08), transparent);
}

/* Badge "en ligne" */
.portfolio__badge-live {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-size: var(--text-xs);
  color: #4ade80;
  font-weight: 600;
}

.portfolio__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.85); }
}

@media (max-width: 900px) {
  .portfolio__inner {
    grid-template-columns: 1fr;
    padding: var(--sp-8);
    gap: var(--sp-8);
  }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
#cta-banner {
  position: relative;
  padding: var(--sp-20) 0;
  overflow: hidden;
}

#cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 100%);
}

#cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-banner__inner h2 { color: var(--color-white); }

.cta-banner__inner p {
  color: rgba(255,255,255,.75);
  font-size: var(--text-lg);
  margin-top: var(--sp-4);
  line-height: 1.7;
}

.cta-banner__actions {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--sp-8);
}

/* ============================================================
   CONTACT
   ============================================================ */

/* Form steps */
.form-step-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-primary);
  margin: var(--sp-6) 0 var(--sp-3);
}

.form-step-label:first-of-type { margin-top: 0; }

/* Chips */
.form-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}

.form-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--r-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  color: var(--color-text-2);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}

.form-chip:hover {
  border-color: rgba(59,130,246,.4);
  color: var(--color-text-1);
}

.form-chip.active {
  border-color: var(--color-primary);
  background: rgba(59,130,246,.12);
  color: var(--color-primary);
  font-weight: 600;
}

/* Optional label */
.form-optional {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-3);
  margin-left: var(--sp-2);
  text-transform: lowercase;
  letter-spacing: 0;
}
#contact {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--sp-16);
  align-items: start;
  margin-top: var(--sp-12);
}

.contact__info-title {
  font-size: var(--text-xl);
  color: var(--color-text-1);
  margin-bottom: var(--sp-4);
}

.contact__info-desc {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  margin-bottom: var(--sp-8);
  line-height: 1.7;
}

.contact__items {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  transition: border-color var(--t-fast);
}

.contact-item:hover { border-color: rgba(59,130,246,.3); }

.contact-item__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon svg {
  width: 20px; height: 20px;
  stroke: var(--color-primary);
}

.contact-item__label {
  font-size: var(--text-xs);
  color: var(--color-text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.contact-item__value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-1);
}

.contact__guarantee {
  padding: var(--sp-5);
  border-radius: var(--r-md);
  background: rgba(59,130,246,.06);
  border: 1px solid rgba(59,130,246,.15);
  border-left: 3px solid var(--color-primary);
}

.contact__guarantee-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-1);
  margin-bottom: var(--sp-1);
}

.contact__guarantee p {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  line-height: 1.6;
}

/* ── FORM ── */
.contact-form {
  padding: var(--sp-8);
  border-radius: var(--r-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-group {
  margin-bottom: var(--sp-5);
}

.form-group label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-2);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,.03);
  color: var(--color-text-1);
  font-family: inherit;
  font-size: var(--text-sm);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-3); }

.form-group select { color: var(--color-text-2); cursor: pointer; }
.form-group select option { background: #0d1f38; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
  background: rgba(59,130,246,.04);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--r-sm);
  font-size: var(--text-base);
  font-weight: 700;
  margin-top: var(--sp-2);
  transition: background var(--t-fast), transform var(--t-base), box-shadow var(--t-base);
  box-shadow: 0 4px 24px rgba(59,130,246,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
}

.btn-submit:hover {
  background: var(--color-primary-dim);
  transform: translateY(-1px);
  box-shadow: 0 8px 36px rgba(59,130,246,.45);
}

.btn-submit svg {
  width: 18px; height: 18px;
  stroke: currentColor;
  transition: transform var(--t-fast);
}

.btn-submit:hover svg { transform: translateX(3px); }

.form-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--color-text-3);
  margin-top: var(--sp-3);
}

.form-disclaimer svg {
  width: 14px; height: 14px;
  stroke: var(--color-text-3);
  flex-shrink: 0;
}

.form-success {
  display: none;
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--r-sm);
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.2);
  color: #4ade80;
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: var(--sp-10) 0;
  text-align: center;
}

.footer__logo img {
  height: 48px;
  width: auto;
  margin: 0 auto var(--sp-3);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  margin-bottom: var(--sp-2);
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-3);
  opacity: .6;
  margin-top: var(--sp-6);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  justify-content: center;
  margin-top: var(--sp-5);
}

.footer__sep { color: var(--color-text-3); }

.footer__legal-btn {
  font-size: var(--text-xs);
  color: var(--color-text-3);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  transition: color var(--t-fast);
}

.footer__legal-btn:hover { color: var(--color-text-2); }

.footer__legal-content {
  margin-top: var(--sp-6);
  padding: var(--sp-6) var(--sp-8);
  border-radius: var(--r-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  text-align: left;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.footer__legal-content h4 {
  font-size: var(--text-base);
  color: var(--color-text-1);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--color-border);
}

.footer__legal-content p {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  line-height: 1.75;
  margin-bottom: var(--sp-4);
}

.footer__legal-content p:last-child { margin-bottom: 0; }

.footer__legal-content strong {
  color: var(--color-text-2);
  display: block;
  margin-bottom: var(--sp-1);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner    { gap: var(--sp-10); }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .service-card--featured::after { display: none; }
}

@media (max-width: 900px) {
  .hero__inner     { grid-template-columns: 1fr; }
  .hero__visual    { display: none; }
  .problem__grid   { grid-template-columns: 1fr; gap: var(--sp-10); }
  .solution__steps { grid-template-columns: 1fr; }
  .testimonials    { grid-template-columns: 1fr; }
  .contact__grid   { grid-template-columns: 1fr; gap: var(--sp-10); }
}

@media (max-width: 768px) {
  section { padding: var(--sp-16) 0; }
  .services__grid { grid-template-columns: 1fr; }
  .hero__stats    { gap: var(--sp-6); }
  .hero__logo-img { width: 72px; }
  .form-row       { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--sp-4); }
  .cta-banner__actions { flex-direction: column; align-items: stretch; }
  .cta-banner__actions .btn { justify-content: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
