/* ===========================================
   SERRURIER SERVICE - Design System
   Bleu marine professionnel & rassurant
=========================================== */

:root {
  /* Palette */
  --navy-950: #0a1628;
  --navy-900: #0f1f3a;
  --navy-800: #152a4e;
  --navy-700: #1e3a6f;
  --navy-600: #2a4d8f;
  --navy-500: #3b66b3;
  --navy-100: #e8eef8;
  --navy-50: #f4f7fc;

  --accent: #4da3ff;      /* bleu clair lumineux - accent */
  --accent-dark: #2b7fd9;

  --danger: #1e56c8;      /* bleu vif - remplace rouge urgence */
  --danger-dark: #1643a3;

  --success: #1f8a4c;

  --white: #ffffff;
  --off-white: #fafbfc;
  --gray-50: #f6f7f9;
  --gray-100: #eceff3;
  --gray-200: #dde1e8;
  --gray-300: #c3c9d4;
  --gray-500: #7a8293;
  --gray-700: #434a58;
  --gray-900: #1a1f2a;

  /* Type */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', -apple-system, sans-serif;

  /* Spacing */
  --container: 1240px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 31, 58, 0.06), 0 1px 3px rgba(15, 31, 58, 0.08);
  --shadow: 0 4px 12px rgba(15, 31, 58, 0.08), 0 2px 4px rgba(15, 31, 58, 0.06);
  --shadow-lg: 0 20px 40px -10px rgba(15, 31, 58, 0.15), 0 8px 16px -4px rgba(15, 31, 58, 0.08);
  --shadow-xl: 0 32px 64px -16px rgba(15, 31, 58, 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================================
   Typography
=========================================== */

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

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--navy-700);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--accent);
}

.eyebrow--centered::after {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--accent);
}

/* ===========================================
   Urgence Banner
=========================================== */

.urgence-banner {
  background: linear-gradient(90deg, var(--navy-900), var(--danger), var(--navy-900));
  color: var(--white);
  padding: 10px 0;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.urgence-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}

.urgence-banner strong { font-weight: 700; }

.urgence-pulse {
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
  display: inline-block;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
  50% { opacity: 0.7; transform: scale(1.3); box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}

.urgence-banner a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===========================================
   Navigation
=========================================== */

.nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.96);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--navy-950);
  letter-spacing: -0.01em;
}

.nav__brand-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.nav__brand-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 6px rgba(30, 86, 200, 0.18));
}

.nav__brand:hover .nav__brand-icon {
  transform: translateY(-1px) scale(1.04);
}

.nav__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__brand-sub { font-family: var(--font-sans); font-size: 11px; color: var(--gray-500); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; margin-top: 2px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s;
  position: relative;
}

.nav__links a:hover { color: var(--navy-900); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-900);
  font-weight: 700;
  font-size: 15px;
}

.nav__phone-icon {
  width: 36px; height: 36px;
  background: var(--navy-50);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-700);
}

.nav__burger { display: none; }

/* ===========================================
   Buttons
=========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--danger);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(30, 86, 200, 0.32);
}
.btn--primary:hover {
  background: var(--danger-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(30, 86, 200, 0.42);
}

.btn--navy {
  background: var(--navy-900);
  color: var(--white);
}
.btn--navy:hover { background: var(--navy-800); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--navy-200, #cbd5e8);
}
.btn--ghost:hover { border-color: var(--navy-900); background: var(--navy-50); }

.btn--on-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn--on-dark:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--white {
  background: var(--white);
  color: var(--navy-900);
}
.btn--white:hover { background: var(--gray-50); transform: translateY(-2px); }

.btn--lg { padding: 18px 30px; font-size: 16px; }

/* ===========================================
   Hero
=========================================== */

.hero {
  position: relative;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
  padding: 80px 0 100px;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.82) 35%, rgba(10,22,40,0.50) 70%, rgba(10,22,40,0.25) 100%),
    radial-gradient(ellipse at 85% 30%, rgba(77, 163, 255, 0.28), transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(59, 102, 179, 0.2), transparent 55%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero__badge-dot {
  width: 8px; height: 8px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.hero__lead {
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.6;
}

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

.hero__trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

.hero__trust-item svg { color: var(--accent); flex-shrink: 0; }

/* Hero visual */

.hero__visual {
  position: relative;
  height: 520px;
}

.hero__card {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  padding: 20px;
}

.hero__card--main {
  top: 40px;
  left: 0;
  right: 40px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  padding: 28px;
}

.hero__card--timer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  border: none;
  margin-bottom: 20px;
  border-radius: var(--radius);
}

.hero__card--timer .timer {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero__card--timer small {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.hero__card--timer p {
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
}

.hero__meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero__meta {
  padding: 16px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero__meta-value { font-family: var(--font-display); font-size: 28px; color: var(--white); margin-bottom: 4px; }
.hero__meta-label { font-size: 12px; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.08em; }

.hero__card--rating {
  bottom: 20px;
  left: 40px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero__stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
}

.hero__rating-big {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--white);
  line-height: 1;
}
.hero__rating-sub { font-size: 12px; color: rgba(255,255,255,0.7); }

/* ===========================================
   Trust logos
=========================================== */

.trust-bar {
  background: var(--gray-50);
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-100);
}

.trust-bar > .container { max-width: 100%; padding: 0; }

.trust-bar__title {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 28px;
  padding: 0 24px;
}

.trust-bar__marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.trust-bar__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.trust-bar__marquee:hover .trust-bar__track { animation-play-state: paused; }

.trust-bar__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  height: 64px;
}

.trust-bar__logo img {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}

.trust-bar__logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

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

@media (prefers-reduced-motion: reduce) {
  .trust-bar__track { animation: none; }
}

/* ===========================================
   Section base
=========================================== */

section { scroll-margin-top: 100px; }

.section {
  padding: 120px 0;
}

.section--tight { padding: 80px 0; }
.section--dark { background: var(--navy-950); color: var(--white); }
.section--gray { background: var(--gray-50); }

.section__head {
  max-width: 680px;
  margin-bottom: 64px;
}

.section__head--center {
  margin: 0 auto 64px;
  text-align: center;
}

.section__head--center .eyebrow { justify-content: center; }
.section__head--center .eyebrow::before,
.section__head--center .eyebrow::after {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--accent);
}

.section h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-top: 16px;
  text-wrap: balance;
}

.section--dark h2 { color: var(--white); }

.section__intro {
  font-size: 18px;
  color: var(--gray-700);
  margin-top: 20px;
  line-height: 1.6;
  text-wrap: pretty;
}

.section--dark .section__intro { color: rgba(255,255,255,0.7); }

/* ===========================================
   Services Grid
=========================================== */

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

.service-card {
  position: relative;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--accent);
  transition: height 0.4s ease;
}

.service-card:hover {
  border-color: var(--navy-900);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::after { height: 100%; }

.service-card__icon {
  width: 56px; height: 56px;
  background: var(--navy-50);
  color: var(--navy-700);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s;
}

.service-card:hover .service-card__icon {
  background: var(--navy-900);
  color: var(--accent);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card__features {
  list-style: none;
  margin-bottom: 24px;
}

.service-card__features li {
  font-size: 14px;
  color: var(--gray-700);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-card__features li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy-900);
  transition: gap 0.2s;
}
.service-card:hover .service-card__cta { gap: 12px; }

/* ===========================================
   How it works
=========================================== */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--navy-300, #b1c2e0));
  opacity: 0.35;
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 16px;
}

.process-step__num {
  width: 72px; height: 72px;
  background: var(--white);
  border: 2px solid var(--accent);
  color: var(--navy-900);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(15, 31, 58, 0.12);
}

.section--dark .process-step__num {
  background: var(--navy-900);
  color: var(--accent);
}

.process-step h4 {
  font-size: 20px;
  margin-bottom: 10px;
}
.section--dark .process-step h4 { color: var(--white); }

.process-step p {
  font-size: 14.5px;
  color: var(--gray-700);
  line-height: 1.55;
}
.section--dark .process-step p { color: rgba(255,255,255,0.65); }

/* ===========================================
   Stats
=========================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding: 80px 0;
}

.stat {
  text-align: center;
  padding: 0 16px;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.section--dark .stat__value { color: var(--white); }
.stat__value sup { font-size: 0.5em; color: var(--accent); margin-left: 4px; }

.stat__label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  font-weight: 600;
}
.section--dark .stat__label { color: rgba(255,255,255,0.6); }

/* ===========================================
   About split
=========================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split__image {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  isolation: isolate;
}

.split__image-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.split__image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,22,40,0.15) 0%, rgba(10,22,40,0.55) 55%, rgba(10,22,40,0.88) 100%),
    radial-gradient(circle at 30% 20%, rgba(77, 163, 255, 0.18), transparent 55%);
  pointer-events: none;
}

.split__image-content {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  color: var(--white);
  z-index: 2;
}

.split__quote {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: 24px;
  text-wrap: pretty;
}
.split__quote::before {
  content: '"';
  font-size: 80px;
  line-height: 0;
  color: var(--accent);
  display: block;
  margin-bottom: 30px;
}

.split__author { display: flex; align-items: center; gap: 12px; }
.split__author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--navy-950);
  font-weight: 600;
  font-size: 18px;
}
.split__author-name { font-weight: 600; font-size: 15px; }
.split__author-role { font-size: 13px; color: rgba(255,255,255,0.7); }

.split__content h2 { margin-bottom: 24px; }

.split__features {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.split__feature {
  display: flex;
  gap: 18px;
  padding: 20px;
  background: var(--navy-50);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.split__feature-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: var(--navy-900);
  color: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

.split__feature h4 { font-size: 17px; margin-bottom: 6px; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }
.split__feature p { font-size: 14.5px; color: var(--gray-700); line-height: 1.5; }

/* ===========================================
   Testimonials
=========================================== */

.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.google-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.google-badge__logo {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.google-badge__score { font-family: var(--font-display); font-size: 26px; color: var(--navy-900); line-height: 1; }
.google-badge__stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; margin: 2px 0; }
.google-badge__count { font-size: 12px; color: var(--gray-500); }

.reviews-marquee {
  margin: 0 calc(50% - 50vw);
  overflow: hidden;
  position: relative;
  padding: 12px 0;
  mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.reviews {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: reviews-scroll 64s linear infinite;
}

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

@keyframes reviews-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}

@media (prefers-reduced-motion: reduce) {
  .reviews { animation: none; }
}

.review {
  flex-shrink: 0;
  width: 360px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.review__text {
  flex: 1;
}

.review:hover {
  border-color: var(--gray-300);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.review__stars {
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-size: 15px;
}

.review__text {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--gray-700);
  margin-bottom: 24px;
  text-wrap: pretty;
}

.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

.review__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: var(--font-display);
}

.review__name { font-weight: 600; font-size: 15px; }
.review__meta { font-size: 12.5px; color: var(--gray-500); display: flex; align-items: center; gap: 6px; }
.review__meta svg { flex-shrink: 0; }

/* ===========================================
   Zones / Map
=========================================== */

.zones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.zone-card {
  position: relative;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

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

.zone-card.is-featured {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--white);
  border: 1px solid rgba(77,163,255,0.2);
  box-shadow: 0 20px 40px -16px rgba(10,22,40,0.4);
}

.zone-card.is-featured::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(77,163,255,0.22), transparent 70%);
  pointer-events: none;
}

.zone-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.zone-card__code {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--navy-900);
}

.zone-card.is-featured .zone-card__code {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.zone-card__pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--success);
}

.zone-card.is-featured .zone-card__pulse { color: var(--accent); }

.zone-card__pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse-green 2s infinite;
}

.zone-card__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy-950);
  margin: 0;
}

.zone-card.is-featured .zone-card__name { color: var(--white); }

.zone-card__cities {
  font-size: 14.5px;
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
}

.zone-card.is-featured .zone-card__cities { color: rgba(255,255,255,0.72); }

.zone-card__cities strong {
  display: block;
  color: var(--gray-700);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.zone-card.is-featured .zone-card__cities strong { color: rgba(255,255,255,0.55); }

.zone-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

.zone-card.is-featured .zone-card__footer {
  border-color: rgba(255,255,255,0.12);
}

.zone-card__time {
  font-size: 13px;
  color: var(--gray-700);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.zone-card.is-featured .zone-card__time { color: rgba(255,255,255,0.85); }

.zone-card__time svg { color: var(--navy-700); }
.zone-card.is-featured .zone-card__time svg { color: var(--accent); }

.zone-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-900);
  transition: gap 0.2s, color 0.2s;
}

.zone-card.is-featured .zone-card__cta { color: var(--accent); }

.zone-card__cta:hover { gap: 10px; color: var(--accent-dark); }
.zone-card.is-featured .zone-card__cta:hover { color: var(--white); }

/* ===========================================
   Pricing / Transparence
=========================================== */

.pricing-intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
  align-items: end;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.price {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-align: left;
  transition: all 0.3s;
}

.price.is-featured {
  background: var(--navy-950);
  color: var(--white);
  border-color: var(--navy-950);
  position: relative;
  transform: scale(1.02);
}

.price.is-featured::before {
  content: 'POPULAIRE';
  position: absolute;
  top: -12px; right: 20px;
  padding: 5px 12px;
  background: var(--accent);
  color: var(--navy-950);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 100px;
}

.price__label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 8px;
}
.price.is-featured .price__label { color: rgba(255,255,255,0.6); }

.price__name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy-950);
  margin-bottom: 20px;
}
.price.is-featured .price__name { color: var(--white); }

.price__value {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--navy-950);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}
.price.is-featured .price__value { color: var(--accent); }
.price__value span { font-size: 14px; font-family: var(--font-sans); color: var(--gray-500); font-weight: 400; margin-left: 4px; }
.price.is-featured .price__value span { color: rgba(255,255,255,0.6); }

.price__desc {
  font-size: 13.5px;
  color: var(--gray-500);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 20px;
}
.price.is-featured .price__desc { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.1); }

.price__features { list-style: none; }
.price__features li {
  font-size: 14px;
  padding: 6px 0;
  color: var(--gray-700);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.price.is-featured .price__features li { color: rgba(255,255,255,0.85); }

.price__features li::before {
  content: '';
  width: 16px; height: 16px;
  background: var(--navy-50);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231e3a6f'%3E%3Cpath d='M6.173 11.414 3.52 8.76l.707-.707 1.946 1.947 4.6-4.6.707.707z'/%3E%3C/svg%3E");
  background-size: contain;
}

.pricing-note {
  padding: 20px 24px;
  background: var(--navy-50);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  margin-top: 32px;
  font-size: 14px;
  color: var(--navy-900);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

/* ===========================================
   FAQ
=========================================== */

.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item__question {
  width: 100%;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--navy-950);
  text-align: left;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq-item__question:hover { color: var(--navy-700); }

.faq-item__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}

.faq-item.is-open .faq-item__icon {
  background: var(--navy-900);
  color: var(--accent);
  border-color: var(--navy-900);
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item__answer-inner {
  padding-bottom: 24px;
  color: var(--gray-700);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 90%;
}

.faq-item.is-open .faq-item__answer { max-height: 500px; }

/* ===========================================
   Contact / CTA
=========================================== */

.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: stretch;
}

.contact__info {
  padding: 48px;
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.contact__info::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(77, 163, 255, 0.2), transparent 70%);
  pointer-events: none;
}

.contact__info h2 {
  color: var(--white);
  font-size: 36px;
  margin-bottom: 16px;
}

.contact__info > p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  font-size: 16px;
}

.contact__channels {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
  position: relative;
}

.contact__channel {
  display: flex;
  gap: 18px;
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.contact__channel:hover {
  background: rgba(255,255,255,0.08);
  transform: translateX(4px);
}

.contact__channel-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(77, 163, 255, 0.18);
  color: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

.contact__channel-label { font-size: 13px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-bottom: 2px; }
.contact__channel-value { font-size: 17px; font-weight: 600; color: var(--white); }

.contact__hours {
  padding: 20px;
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: var(--radius);
  display: flex;
  gap: 16px;
  align-items: center;
  position: relative;
}

.contact__hours-pulse {
  width: 12px; height: 12px;
  background: #25d366;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
  flex-shrink: 0;
}

.contact__hours-text { font-size: 14px; }
.contact__hours-text strong { color: var(--white); display: block; margin-bottom: 2px; font-size: 16px; }
.contact__hours-text span { color: rgba(255,255,255,0.7); }

/* Form */

.contact__form {
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact__form h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.contact__form > p {
  color: var(--gray-500);
  margin-bottom: 32px;
  font-size: 15px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group label .required { color: var(--danger); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(30, 58, 111, 0.1);
}

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

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: var(--danger);
}

.form-error-msg {
  display: none;
  font-size: 12.5px;
  color: var(--danger);
  margin-top: 6px;
}
.form-group.has-error .form-error-msg { display: block; }

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

.form-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--gray-700);
  margin-bottom: 24px;
  cursor: pointer;
}
.form-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy-900); }
.form-consent a { text-decoration: underline; color: var(--navy-700); }

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

.form-success {
  display: none;
  padding: 24px;
  background: #e8f5ec;
  border: 1px solid var(--success);
  border-radius: var(--radius);
  color: var(--success);
  text-align: center;
}
.form-success.is-visible { display: block; }
.form-success strong { display: block; font-size: 17px; margin-bottom: 6px; }

.form-error {
  display: none;
  padding: 16px 20px;
  margin-top: 16px;
  background: #fdecec;
  border: 1px solid #d94040;
  border-radius: var(--radius);
  color: #a12626;
  font-size: 14.5px;
  line-height: 1.5;
}
.form-error.is-visible { display: block; }

/* ===========================================
   Final CTA
=========================================== */

.final-cta {
  padding: 100px 0;
  background: var(--navy-950);
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.9;
  filter: saturate(0.9) brightness(1.15);
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,22,40,0.55) 0%, rgba(10,22,40,0.75) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(77, 163, 255, 0.22), transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(30, 86, 200, 0.28), transparent 55%);
  pointer-events: none;
}

.final-cta__content { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; padding: 0 24px; }

.final-cta h2 {
  color: var(--white);
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 20px;
}

.final-cta p {
  font-size: 19px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
}

.final-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 24px 40px;
  background: var(--white);
  color: var(--navy-950);
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 20px 60px rgba(77, 163, 255, 0.3);
  transition: all 0.2s;
}

.final-cta__phone:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 30px 80px rgba(77, 163, 255, 0.4);
}

.final-cta__phone-icon {
  width: 56px; height: 56px;
  background: var(--danger);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.final-cta__phone-sub {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.final-cta__or {
  margin-top: 32px;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}
.final-cta__or a { color: var(--accent); text-decoration: underline; }

/* ===========================================
   Footer
=========================================== */

.footer {
  background: #050b15;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}

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

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.footer__desc {
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 360px;
}

.footer__contact-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.footer h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 20px;
}

.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { font-size: 14.5px; transition: color 0.2s; }
.footer a:hover { color: var(--accent); }

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer__legal-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* ===========================================
   Sticky mobile CTA
=========================================== */

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 90;
  background: var(--navy-950);
  border-radius: 100px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  padding: 6px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mobile-cta__info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  color: var(--white);
  flex: 1;
}

.mobile-cta__info-icon {
  width: 36px; height: 36px;
  background: var(--success);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.mobile-cta__info-icon::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-green 1.8s infinite;
  z-index: -1;
}

.mobile-cta__info-text { display: flex; flex-direction: column; }
.mobile-cta__info-text strong { font-size: 13px; }
.mobile-cta__info-text span { font-size: 11px; color: rgba(255,255,255,0.6); }

.mobile-cta__btn {
  padding: 14px 22px;
  background: var(--danger);
  color: var(--white);
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ===========================================
   Responsive
=========================================== */

@media (max-width: 960px) {
  .section { padding: 80px 0; }

  .nav__links { display: none; }
  .nav__phone { display: none; }

  .hero { padding: 48px 0 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 42px; }

  /* Hero visual: stack cards naturally on mobile (no more overlap) */
  .hero__visual {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .hero__card {
    position: static;
    inset: auto;
  }
  .hero__card--main { padding: 24px; }
  .hero__card--rating { padding: 20px; }

  .services { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .process::before { display: none; }

  .stats { grid-template-columns: 1fr 1fr; gap: 40px 16px; }

  .split, .contact, .pricing-intro { grid-template-columns: 1fr; gap: 48px; }
  .zones-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Split image: portrait plus généreux pour laisser la photo respirer */
  .split__image {
    aspect-ratio: auto;
    min-height: 520px;
  }

  .pricing { grid-template-columns: 1fr 1fr; }
  .price.is-featured { transform: none; }

  .review { width: 320px; padding: 24px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .final-cta__phone { font-size: 26px; padding: 20px 28px; flex-wrap: wrap; justify-content: center; }

  .mobile-cta { display: flex; }
  .footer { padding-bottom: 100px; }

  .contact__form, .contact__info { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .pricing { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .zones-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .trust-bar__logo { padding: 0 28px; height: 52px; }
  .trust-bar__logo img { max-height: 36px; max-width: 104px; }
  .reviews-head { flex-direction: column; align-items: flex-start; }
}

/* ===========================================
   Legal pages
=========================================== */

.legal {
  padding: 80px 0 120px;
  background: var(--white);
}

.legal__container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal__breadcrumb {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 24px;
}
.legal__breadcrumb a:hover { color: var(--navy-700); }

.legal h1 {
  font-size: clamp(36px, 5vw, 54px);
  margin-bottom: 16px;
}

.legal__updated {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
}

.legal__toc {
  padding: 24px;
  background: var(--navy-50);
  border-radius: var(--radius);
  margin-bottom: 48px;
  border-left: 3px solid var(--accent);
}
.legal__toc h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-sans); color: var(--navy-700); margin-bottom: 16px; }
.legal__toc ol { padding-left: 20px; }
.legal__toc li { padding: 4px 0; font-size: 14.5px; }
.legal__toc a { color: var(--navy-700); }
.legal__toc a:hover { color: var(--navy-950); text-decoration: underline; }

.legal h2 {
  font-size: 28px;
  margin-top: 56px;
  margin-bottom: 20px;
  scroll-margin-top: 100px;
}

.legal h3 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0;
}

.legal p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.legal ul, .legal ol {
  margin: 16px 0 24px 24px;
}
.legal li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.legal strong { color: var(--navy-950); }

.legal__box {
  padding: 24px;
  background: var(--gray-50);
  border-radius: var(--radius);
  margin: 24px 0;
  font-size: 15px;
}
.legal__box p:last-child { margin-bottom: 0; }

.legal__table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14.5px;
}
.legal__table th, .legal__table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}
.legal__table th { background: var(--navy-50); font-weight: 600; color: var(--navy-900); }

/* ===========================================
   Scroll reveal (fade-up subtile, pattern unique)
   - guard .js-reveal : élément visible si JS échoue
   - stagger géré par --reveal-delay (JS)
   - respecte prefers-reduced-motion
=========================================== */

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 500ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.js-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===========================================
   Page header (contact, etc.)
=========================================== */

.page-header {
  background:
    radial-gradient(circle at 20% 20%, rgba(77,163,255,0.12), transparent 55%),
    radial-gradient(circle at 85% 75%, rgba(59,102,179,0.18), transparent 55%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
  pointer-events: none;
}

.page-header__inner {
  position: relative;
  max-width: 820px;
  text-align: center;
}

.page-header__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.page-header__breadcrumb a { color: var(--accent); }
.page-header__breadcrumb a:hover { text-decoration: underline; }
.page-header__breadcrumb span[aria-hidden] { color: rgba(255,255,255,0.35); }

.page-header h1 {
  color: var(--white);
  font-size: clamp(36px, 5.2vw, 62px);
  margin: 16px 0 20px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.page-header__lead {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===========================================
   404 Error page
=========================================== */

.error-page {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 120px;
  background:
    radial-gradient(circle at 20% 30%, rgba(77,163,255,0.10), transparent 55%),
    radial-gradient(circle at 85% 70%, rgba(59,102,179,0.14), transparent 55%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.error-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}

.error-page__inner {
  position: relative;
  text-align: center;
  max-width: 720px;
}

.error-page__code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(140px, 22vw, 260px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, rgba(77,163,255,0.95) 0%, rgba(77,163,255,0.15) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 16px;
  user-select: none;
}

.error-page h1 {
  color: var(--white);
  font-size: clamp(30px, 4.2vw, 46px);
  margin: 24px 0 20px;
  text-wrap: balance;
}

.error-page__lead {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.error-page__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.error-page__actions .btn--ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.error-page__actions .btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.45);
}

.error-page__links {
  display: flex;
  gap: 8px 24px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 14px;
}

.error-page__links-label {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  width: 100%;
  margin-bottom: 4px;
}

.error-page__links a {
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  transition: color 0.2s;
}
.error-page__links a:hover { color: var(--accent); }

@media (max-width: 560px) {
  .error-page__actions { flex-direction: column; align-items: stretch; }
  .error-page__actions .btn { width: 100%; justify-content: center; }
}
