/* =========================================================
   TEC'BIO v3 — Design System
   Charte : Bleu #1D66AD · Vert #72B759 · Calibri/système
   ========================================================= */

/* ─── 1. CUSTOM PROPERTIES ─────────────────────────────── */
:root {
  /* Colors — oklch format for modern color science */
  --blue:       oklch(50% 0.16 250);
  --blue-dark:  oklch(28% 0.12 250);
  --blue-light: oklch(95% 0.05 250);
  --blue-mid:   oklch(56% 0.16 250);
  --green:      oklch(70% 0.18 140);
  --green-dark: oklch(55% 0.15 140);
  --green-light:oklch(95% 0.04 140);
  --dark:       oklch(18% 0.01 250);
  --dark-2:     oklch(22% 0.01 250);
  --text:       oklch(32% 0.02 250);
  --text-muted: oklch(54% 0.012 250);
  --border:     oklch(90% 0.005 250);
  --bg:         oklch(99% 0.002 250);
  --surface:    oklch(100% 0 0);
  --white:      #ffffff;

  --font: Calibri, 'Segoe UI', Arial, sans-serif;
  --font-mono: 'Courier New', monospace;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px oklch(30% 0.1 250 / 0.12);
  --shadow:    0 4px 8px oklch(30% 0.1 250 / 0.16);
  --shadow-lg: 0 12px 24px oklch(30% 0.1 250 / 0.20);
  --shadow-xl: 0 24px 64px oklch(30% 0.1 250 / 0.24);

  --transition: .22s cubic-bezier(.4,0,.2,1);
  --transition-slow: .4s cubic-bezier(.4,0,.2,1);

  --container: 1200px;
  --container-sm: 860px;

  --header-h: 72px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:      oklch(18% 0.01 250);
    --surface: oklch(22% 0.01 250);
    --text:    oklch(90% 0.01 250);
    --text-muted: oklch(70% 0.01 250);
    --border:  oklch(30% 0.01 250);
    --blue:    oklch(72% 0.14 245);
    --green:   oklch(78% 0.16 145);
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

/* ─── 3. TYPOGRAPHY ─────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.375rem); }
h4 { font-size: 1.05rem; }

p { color: var(--text-muted); line-height: 1.75; }

.lead {
  font-size: 1.125rem;
  color: var(--text);
  line-height: 1.7;
}

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

.container--sm {
  max-width: var(--container-sm);
}

.section {
  padding: 96px 0;
}

.section--sm {
  padding: 64px 0;
}

.section--blue {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white);
}

.section--light {
  background: var(--bg);
}

.section--accent {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  color: var(--white);
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section__tag--green {
  color: var(--green-dark);
  background: var(--green-light);
}

.section__tag--white {
  color: var(--white);
  background: rgba(255,255,255,.15);
}

.section__title {
  margin-bottom: 16px;
}

.section__sub {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ─── 5.1 HEADER ─────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 44px;
  width: auto;
}

.logo__text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -.04em;
}

.logo__text span {
  color: var(--green);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--blue);
  background: var(--blue-light);
}

.nav__arrow {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav__item:hover .nav__arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.dropdown__link svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex-shrink: 0;
}

.dropdown__link:hover {
  background: var(--blue-light);
  color: var(--blue);
}

/* Header CTA */
.header__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}

.header__phone svg { width: 16px; height: 16px; }
.header__phone:hover { color: var(--blue); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}

.mobile-nav__link:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.mobile-nav__sep {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.mobile-nav__sub {
  padding: 4px 16px 4px 32px;
  font-size: .875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.mobile-nav__sub:hover {
  background: var(--blue-light);
  color: var(--blue);
}

/* ─── 5.2 BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: .9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(29,102,173,.3);
}
.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(29,102,173,.4);
}

.btn--green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(114,183,89,.3);
}
.btn--green:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.btn--outline {
  border: 2px solid var(--border);
  color: var(--text);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.btn--outline-white {
  border: 2px solid rgba(255,255,255,.4);
  color: var(--white);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
}

.btn--lg { padding: 14px 30px; font-size: 1rem; }
.btn--sm { padding: 8px 16px; font-size: .8rem; }

/* ─── 5.3 HERO ────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: linear-gradient(150deg, var(--dark) 0%, #0f2d56 60%, #112444 100%);
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 60%, rgba(29,102,173,.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 30%, rgba(114,183,89,.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(114,183,89,.15);
  border: 1px solid rgba(114,183,89,.3);
  color: #a8d896;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}

.hero__title em {
  font-style: normal;
  color: #72c7e8;
  display: block;
}

.hero__desc {
  color: rgba(255,255,255,.72);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.hero__stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.04em;
  line-height: 1;
}

.hero__stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
  line-height: 1.3;
}

/* Hero right panel */
.hero__panel {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero__panel-block {
  padding: 24px 0;
}

.hero__panel-block:first-child { padding-top: 0; }
.hero__panel-block:last-child { padding-bottom: 0; }

.hero__panel-divider {
  height: 1px;
  background: rgba(255,255,255,.1);
}

.hero__panel-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 12px;
}

.hero__panel-cert {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero__panel-cert-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
}

.hero__panel-cert-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}

.hero__panel-cert-org {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
}

.hero__panel-phone {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
  margin-bottom: 12px;
}

.hero__panel-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-top: 6px;
}

.hero__panel-meta svg { flex-shrink: 0; }

.hero__panel-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.hero__panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

.hero__panel-email {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}

.hero__panel-email:hover { color: var(--white); }

/* Hero wave */
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
}

/* ─── 5.4 MARQUEE ─────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee__logo {
  height: 28px;
  width: auto;
  filter: grayscale(1) opacity(.6);
  transition: filter var(--transition);
}

.marquee__item:hover .marquee__logo {
  filter: grayscale(0) opacity(1);
}

/* ─── 5.5 CARDS ───────────────────────────────────────────── */
/* Solution cards (3 colonnes) */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
  transform-origin: left;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.solution-card:hover::before {
  transform: scaleX(1);
}

.solution-card--green::before { background: var(--green); }
.solution-card--dark::before  { background: var(--dark); }

.solution-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.solution-card__icon svg { width: 26px; height: 26px; color: var(--blue); }
.solution-card--green .solution-card__icon { background: var(--green-light); }
.solution-card--green .solution-card__icon svg { color: var(--green-dark); }

.solution-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.solution-card p { font-size: .92rem; flex: 1; margin-bottom: 24px; }

.solution-card__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.solution-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--blue);
  transition: gap var(--transition);
}

.solution-card__link svg { width: 16px; height: 16px; }
.solution-card__link:hover { gap: 10px; }
.solution-card--green .solution-card__link { color: var(--green-dark); }

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green-light);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}

.feature-list li::before {
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='8' fill='%2372B759' fill-opacity='.15'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%2372B759' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ─── 5.6 PROBLEM / SOLUTION — tableau comparatif ──────── */
.ps-table {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* En-têtes colonnes */
.ps-thead {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.ps-thead__cell {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ps-thead__cell svg { width: 16px; height: 16px; flex-shrink: 0; }
.ps-thead__cell--before { color: #92400e; }
.ps-thead__cell--after  { color: var(--blue); }

.ps-thead__sep {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

/* Lignes */
.ps-row {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  border-bottom: 1px solid var(--bg);
  transition: background var(--transition);
}

.ps-row:last-of-type { border-bottom: none; }
.ps-row:hover { background: #fafbfc; }

/* Cellules */
.ps-cell {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 28px;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--text);
}

/* Icône X */
.ps-x {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background: #fef3c7 url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.5 5.5l7 7M12.5 5.5l-7 7' stroke='%2392400e' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Icône check */
.ps-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background: #edf7e9 url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 9l3 3 6-6' stroke='%235a9445' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Flèche centrale */
.ps-arrow-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 0;
}

.ps-arrow-cell svg { width: 20px; height: 20px; opacity: .45; }

/* Colonne "before" : légèrement teintée au hover */
.ps-cell--before { color: var(--text-muted); }
.ps-cell--after  { color: var(--text); font-weight: 500; }

/* CTA en bas */
.ps-footer {
  padding: 28px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

/* Responsive */
@media (max-width: 720px) {
  .ps-thead { grid-template-columns: 1fr 1fr; }
  .ps-thead__sep { display: none; }
  .ps-row { grid-template-columns: 1fr 1fr; }
  .ps-arrow-cell { display: none; }
  .ps-cell { padding: 14px 16px; font-size: .85rem; }
  .ps-thead__cell { padding: 12px 16px; }
}

@media (max-width: 480px) {
  .ps-thead { grid-template-columns: 1fr; }
  .ps-row { grid-template-columns: 1fr; }
  .ps-thead__cell--after { border-top: 1px solid var(--border); }
  .ps-cell--after { border-top: 1px solid var(--bg); }
}

/* ─── 5.7 STATS ───────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.stat-box {
  background: rgba(255,255,255,.05);
  padding: 48px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background var(--transition);
}

.stat-box:last-child { border-right: none; }
.stat-box:hover { background: rgba(255,255,255,.08); }

.stat-box__value {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.05em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-box__value em {
  font-style: normal;
  font-size: .6em;
  color: var(--green);
}

.stat-box__label {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}

/* ─── 5.8 WHY GRID ────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon svg { width: 22px; height: 22px; color: var(--blue); }
.why-icon--green { background: var(--green-light); }
.why-icon--green svg { color: var(--green-dark); }

.why-item h4 { margin-bottom: 6px; font-size: 1rem; }

/* Why visual */
.why-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.why-card--blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  border-color: transparent;
  color: var(--white);
}

.why-card--blue h3 { color: var(--white); }
.why-card--blue p { color: rgba(255,255,255,.7); }

.why-card__title { font-size: 1.25rem; margin-bottom: 8px; }
.why-card__sub { font-size: .85rem; margin-bottom: 20px; }

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cert-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: rgba(255,255,255,.8);
}

.cert-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}

.why-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mini-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 12px;
}

.mini-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.mini-card__label { font-size: .78rem; color: var(--text-muted); margin-bottom: 2px; }
.mini-card__value { font-size: .9rem; font-weight: 700; color: var(--dark); }

/* ─── 5.9 PROCESS TIMELINE ───────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.process-card--accent {
  background: var(--blue);
  border-color: transparent;
}

.process-card--accent h3,
.process-card--accent p,
.process-card--accent .process-card__tag { color: rgba(255,255,255,.85); }
.process-card--accent .process-num { color: rgba(255,255,255,.25); }

.process-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -.04em;
}

.process-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.process-card p { font-size: .85rem; line-height: 1.6; }

.process-card__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 16px;
}

.process-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.process-divider::before,
.process-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─── 5.10 CLIENTS GRID ──────────────────────────────────── */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.client-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.client-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.client-card img {
  /* Forcer l'image à occuper toute la carte — object-fit:contain gère le ratio */
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  /* brightness(0) = tous les logos en noir silhouette, visibles quelle que soit leur couleur */
  filter: brightness(0) opacity(.55);
  transition: filter var(--transition);
}

.client-card:hover img {
  filter: brightness(1) opacity(1);
}

.client-name {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: .02em;
}

/* ─── 5.11 CONTACT ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon svg { width: 20px; height: 20px; color: var(--blue); }
.contact-item__label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 2px; }
.contact-item__value { font-size: .95rem; font-weight: 600; color: var(--dark); }
.contact-item__value a:hover { color: var(--blue); }

/* Form */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-card h3 { margin-bottom: 6px; }
.form-card .lead { font-size: .9rem; margin-bottom: 28px; }

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(29,102,173,.1);
}

.form-group textarea { height: 120px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  font-size: .76rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.form-note a { color: var(--blue); text-decoration: underline; }

/* ─── 5.12 FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 72px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer__brand p {
  color: rgba(255,255,255,.55);
  font-size: .875rem;
  line-height: 1.7;
  margin-top: 20px;
  margin-bottom: 20px;
}

.footer__address {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
}

.footer__address a { color: rgba(255,255,255,.6); }
.footer__address a:hover { color: var(--white); }

.footer__col h4 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
  color: var(--white);
}

.footer__links { display: flex; flex-direction: column; gap: 10px; }

.footer__link {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}

.footer__link:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

.footer__legal { display: flex; gap: 24px; }

/* ─── 5.13 FAQ (ACCORDION) ────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

details.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

details.faq-item[open] {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,102,173,.07);
}

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  -webkit-user-select: none;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary::after {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-light) url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%231D66AD' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
  flex-shrink: 0;
  transition: transform var(--transition);
}

details.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 24px 24px;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── 5.14 PAGE HERO ──────────────────────────────────────── */
.page-hero {
  background: linear-gradient(150deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: calc(var(--header-h) + 64px) 0 72px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 80% 50%, rgba(29,102,173,.2) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}

.page-hero__breadcrumb a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.page-hero__breadcrumb a:hover { color: var(--white); }
.page-hero__breadcrumb svg { width: 14px; height: 14px; }

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 32px;
}

.page-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-hero__tag {
  padding: 5px 14px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.15);
}

/* ─── 5.15 SOLUTION PAGE SECTIONS ────────────────────────── */
.content-section {
  padding: 96px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}

.content-body h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
}

.content-body h2:first-child { margin-top: 0; }

.content-body p,
.content-body li { font-size: .95rem; color: var(--text-muted); line-height: 1.75; }

.content-body ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}

.content-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0;
}

.content-body ul li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='9' fill='%2372B759' fill-opacity='.15'/%3E%3Cpath d='M5.5 9l2.5 2.5 4.5-5' stroke='%2372B759' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.content-body strong { color: var(--dark); font-weight: 700; }

/* Sidebar */
.sidebar-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.sidebar-card h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 16px; }

.sidebar-links { display: flex; flex-direction: column; gap: 4px; }

.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}

.sidebar-link:hover { background: var(--blue-light); color: var(--blue); }
.sidebar-link.active { background: var(--blue); color: var(--white); font-weight: 700; }
.sidebar-link svg { width: 14px; height: 14px; }

.sidebar-cta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.sidebar-cta p { font-size: .82rem; margin-bottom: 12px; line-height: 1.5; }

/* Performance boxes */
.perf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 40px 0;
}

.perf-box {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.perf-box__value {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -.04em;
  margin-bottom: 4px;
}

.perf-box__label {
  font-size: .78rem;
  color: var(--blue-dark);
  font-weight: 600;
  line-height: 1.3;
}

/* Industry cards */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.industry-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}

.industry-item:hover { border-color: var(--blue); }

.industry-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.industry-item__icon svg { width: 22px; height: 22px; color: var(--blue); }
.industry-item h4 { font-size: .95rem; margin-bottom: 4px; }
.industry-item p { font-size: .82rem; }

/* ─── 5.16 CTA BANNER ─────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(255,255,255,.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.75); font-size: 1rem; }
.cta-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ─── 5.17 ABOUT PAGE ─────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue);
}

.timeline-year {
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}

.timeline-item h4 { font-size: 1rem; margin-bottom: 6px; }
.timeline-item p { font-size: .875rem; }

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.value-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-card__icon svg { width: 28px; height: 28px; color: var(--blue); }
.value-card h3 { font-size: 1.1rem; margin-bottom: 10px; }

/* ─── 6. 404 PAGE ─────────────────────────────────────────── */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  padding-top: var(--header-h);
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  color: var(--border);
  letter-spacing: -.06em;
  line-height: 1;
  margin-bottom: 16px;
}

/* ─── 7. UTILITIES ────────────────────────────────────────── */
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-green { color: var(--green-dark); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }

.mt-8  { margin-top:  8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }

.mb-8  { margin-bottom:  8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── 8. ANIMATIONS ───────────────────────────────────────── */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: .1s; }
.animate-delay-2 { transition-delay: .2s; }
.animate-delay-3 { transition-delay: .3s; }
.animate-delay-4 { transition-delay: .4s; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 520px;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  z-index: 200;
  transform: translateY(120%);
  transition: transform var(--transition-slow);
}

.cookie-banner.visible { transform: translateY(0); }
.cookie-banner h4 { color: var(--white); margin-bottom: 8px; font-size: 1rem; }
.cookie-banner p { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 16px; }

.cookie-banner__actions {
  display: flex;
  gap: 10px;
}

.cookie-accept {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 700;
  background: var(--green);
  color: var(--white);
  transition: background var(--transition);
}

.cookie-accept:hover { background: var(--green-dark); }

.cookie-decline {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 700;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  transition: background var(--transition);
}

.cookie-decline:hover { background: rgba(255,255,255,.15); }

/* ─── 9. MEDIA QUERIES ────────────────────────────────────── */
@media (max-width: 1100px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .hero__grid       { grid-template-columns: 1fr; gap: 48px; }
  .hero__panel      { display: none; }
  .solutions-grid   { grid-template-columns: 1fr; }
  .why-grid         { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid     { grid-template-columns: 1fr; gap: 40px; }
  .content-grid     { grid-template-columns: 1fr; }
  .sidebar-card     { position: static; }
  .clients-grid     { grid-template-columns: repeat(3, 1fr); }
  .values-grid      { grid-template-columns: 1fr 1fr; }
  .cta-banner       { flex-direction: column; text-align: center; padding: 48px 32px; }
  .cta-banner__actions { justify-content: center; }
  .why-mini         { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section--sm { padding: 40px 0; }

  .nav,
  .header__phone { display: none; }
  .hamburger { display: flex; }

  .hero__grid { padding: 56px 0 64px; }
  .hero__stats { flex-direction: column; gap: 24px; }

  .process-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .perf-grid    { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
  .values-grid  { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.9rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .perf-grid    { grid-template-columns: 1fr; }
  .stats-grid   { grid-template-columns: 1fr; }
  .problem-block,
  .solution-block { padding: 40px 28px; }
}

/* ─── Print ───────────────────────────────────────────────── */
@media print {
  .header, .cookie-banner, .marquee { display: none; }
  .hero { padding-top: 0; min-height: auto; background: none; }
  .hero__title, .hero__desc { color: var(--dark); }
}

/* ─── 10. OKLCH FALLBACKS (Safari < 15.4 / Chrome < 111) ──── */
@supports not (color: oklch(0 0 0)) {
  :root {
    --blue:        #1D66AD;
    --blue-dark:   #1a3a6b;
    --blue-light:  #e8f1fb;
    --blue-mid:    #2579c5;
    --green:       #72B759;
    --green-dark:  #4e8a3c;
    --green-light: #edf7e9;
    --dark:        #0d1f3c;
    --dark-2:      #152a4a;
    --text:        #2d3a4f;
    --text-muted:  #5a6a82;
    --border:      #dce5ef;
    --bg:          #f7f9fc;
    --surface:     #ffffff;
  }
}

/* ─── 11. PREFERS-REDUCED-MOTION (WCAG 2.1 AA) ───────────── */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .marquee__track {
    animation-play-state: paused;
  }
  .hero__badge::before,
  .hero__panel-dot {
    animation: none !important;
  }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ─── 12. TESTIMONIALS ────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 4rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: .95rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: .92rem;
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  flex: 1;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 700;
  font-size: .9rem;
  color: var(--dark);
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: .78rem;
  color: var(--text-muted);
}

.testimonial-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 3px 10px;
  border-radius: 100px;
}

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

/* ─── 13. HERO URGENCY LINE ───────────────────────────────── */
.hero__urgency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-top: 12px;
}

.hero__urgency::before {
  content: '📅';
}

/* ─── 14. LEAFLET MAP OVERRIDE ────────────────────────────── */
.leaflet-container {
  border-radius: var(--radius);
  font-family: var(--font) !important;
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 220px;
  margin-top: 32px;
}
