/* ═══════════════════════════════════════════════════════════════
   KARMAN AGENCY — styles.css
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  /* Dark palette */
  --bg:          #08080f;
  --bg-card:     #0f0f1a;
  --border:      rgba(255,255,255,0.07);
  --border-hover:rgba(255,255,255,0.16);

  /* Light palette (white sections) */
  --light-bg:    #ffffff;
  --light-bg-2:  #f4f4f9;
  --light-text:  #0d0d1a;
  --light-sub:   #5a5a7a;
  --light-border:rgba(0,0,0,0.08);

  --white:       #ffffff;
  --gray-1:      #e4e4f0;
  --gray-2:      #9898b8;
  --gray-3:      #4a4a6a;

  --purple:      #6c63ff;
  --blue:        #00c6ff;
  --accent-glow: rgba(108,99,255,.35);

  --gradient:         linear-gradient(135deg, #6c63ff 0%, #00c6ff 100%);
  --gradient-subtle:  linear-gradient(135deg, rgba(108,99,255,.15) 0%, rgba(0,198,255,.08) 100%);
  --gradient-light:   linear-gradient(135deg, rgba(108,99,255,.08) 0%, rgba(0,198,255,.04) 100%);

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 4px 32px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.05) inset;
  --shadow-light: 0 4px 32px rgba(108,99,255,.1), 0 1px 3px rgba(0,0,0,.06);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--gray-1);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1200px, 100% - 2 * 24px);
  margin-inline: auto;
}

/* ── GRADIENT TEXT ─────────────────────────────────────────────── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--accent-glow), 0 8px 24px rgba(0,0,0,.3);
}

.btn-ghost {
  color: var(--gray-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--white);
  background: rgba(255,255,255,.04);
}

.btn-ghost-dark {
  color: var(--light-sub);
  border: 1px solid var(--light-border);
}
.btn-ghost-dark:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: rgba(108,99,255,.06);
}

.btn-outline {
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
}
.btn-outline:hover {
  border-color: var(--purple);
  background: rgba(108,99,255,.08);
}

.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ── SECTION LABELS ────────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(108,99,255,.4);
  background: rgba(108,99,255,.1);
  color: var(--blue);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Tag on light backgrounds */
.light-section .section-tag {
  background: rgba(108,99,255,.08);
  color: var(--purple);
  border-color: rgba(108,99,255,.25);
}

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

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
}
.light-section .section-title { color: var(--light-text); }

.section-sub {
  color: var(--gray-2);
  font-size: 1.05rem;
  max-width: 560px;
  margin-inline: auto;
}
.light-section .section-sub { color: var(--light-sub); }

/* ── PAGE HERO — animation d'entrée au chargement ─────────────── */
.page-hero .section-tag,
.page-hero .page-hero-title,
.page-hero .page-hero-sub {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(0.4,0,0.2,1), transform .7s cubic-bezier(0.4,0,0.2,1);
}
.page-hero.loaded .section-tag   { opacity: 1; transform: translateY(0); transition-delay: .05s; }
.page-hero.loaded .page-hero-title { opacity: 1; transform: translateY(0); transition-delay: .22s; }
.page-hero.loaded .page-hero-sub  { opacity: 1; transform: translateY(0); transition-delay: .42s; }

/* ── REVEAL ANIMATION (sections hors hero) ────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(0.4,0,0.2,1), transform .65s cubic-bezier(0.4,0,0.2,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ── HERO ANIMATIONS — visibles par défaut, GSAP anime l'entrée ─ */
.hero-anim {
  /* Toujours visible : si GSAP échoue, le contenu reste lisible */
  opacity: 1;
  transform: translateY(0);
}
/* Classe ajoutée par JS avant le lancement GSAP */
.hero-anim.gsap-ready {
  opacity: 0;
  transform: translateY(24px);
}


/* ═══════════════════════════════════════════════════════════════
   NAVBAR  — Pill glassmorphism centré
   ═══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: auto;
  max-width: calc(100vw - 40px);
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 10px 14px 10px 28px;
  background: rgba(8,8,20,.58);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.navbar.scrolled .nav-pill {
  background: rgba(8,8,20,.82);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 12px 40px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
}

.logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-right: 36px;
}
.logo-k  { color: var(--white); }
.logo-text { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  padding: 6px 14px;
  border-radius: 100px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-links a.active { color: var(--white); background: rgba(255,255,255,.1); }

.nav-contact-btn {
  margin-left: 36px;
  padding: 8px 22px !important;
  font-size: .82rem !important;
  border-radius: 100px !important;
  flex-shrink: 0;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px 10px;
  margin-left: 4px;
  background: rgba(255,255,255,.08);
  border-radius: 100px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}


/* ═══════════════════════════════════════════════════════════════
   HERO — Scène Ligne de Kármán
   Concept : espace en haut / Terre en bas / la ligne = Karman
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding-bottom élevé = le contenu flex remonte visuellement,
     laissant la scène Kármán respirer en bas */
  padding: 80px 0 220px;
  overflow: hidden;
  background: #04040d;
}

/* Fondu bas — masque la jonction espace/terre */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, #04040d 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* ── Calque de fond ──────────────────────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ── Champ d'étoiles ───────────────────────────────────────────── */
.hero-stars {
  position: absolute;
  inset: 0 0 20% 0;
  will-change: opacity;
  transform: translateZ(0);
  /* Au-dessus de la Terre et de l'atmosphère */
  z-index: 1;
  background-image:
    /* Étoiles brillantes */
    radial-gradient(2px 2px at  47px  38px, rgba(255,255,255,1),   transparent),
    radial-gradient(2px 2px at 290px  95px, rgba(255,255,255,.95), transparent),
    radial-gradient(2px 2px at 450px 130px, rgba(255,255,255,1),   transparent),
    radial-gradient(2px 2px at 240px  50px, rgba(255,255,255,.9),  transparent),
    radial-gradient(2px 2px at  15px 220px, rgba(255,255,255,.95), transparent),
    radial-gradient(2px 2px at 480px 260px, rgba(255,255,255,1),   transparent),
    /* Étoiles moyennes */
    radial-gradient(1.5px 1.5px at 153px  12px, rgba(255,255,255,.85), transparent),
    radial-gradient(1.5px 1.5px at 380px  45px, rgba(255,255,255,.8),  transparent),
    radial-gradient(1.5px 1.5px at 130px 350px, rgba(255,255,255,.8),  transparent),
    radial-gradient(1.5px 1.5px at  70px 180px, rgba(255,255,255,.75), transparent),
    radial-gradient(1.5px 1.5px at 350px 300px, rgba(255,255,255,.8),  transparent),
    radial-gradient(1.5px 1.5px at 200px 160px, rgba(255,255,255,.7),  transparent),
    /* Étoiles petites / bleutées */
    radial-gradient(1px 1px at 320px 280px, rgba(200,230,255,.7), transparent),
    radial-gradient(1px 1px at 420px 200px, rgba(200,230,255,.6), transparent),
    radial-gradient(1px 1px at  60px  90px, rgba(200,230,255,.65),transparent),
    radial-gradient(1px 1px at 280px 160px, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 100px 310px, rgba(200,230,255,.5), transparent),
    radial-gradient(1px 1px at 460px  80px, rgba(255,255,255,.65),transparent);
  background-size: 500px 400px;
  animation: starTwinkle 7s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
  0%   { opacity: .7; }
  100% { opacity: 1; }
}

/* ── Courbure terrestre ────────────────────────────────────────── */
.hero-earth {
  position: absolute;
  bottom: -52vw;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  width: 220vw;
  height: 110vw;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 4%,
    #0d1b3e 0%,
    #081228 45%,
    #04080f 100%
  );
  border-top: 1px solid rgba(70,130,230,.22);
  box-shadow:
    0 -6px 48px rgba(40,100,220,.18) inset,
    0 -1px 90px rgba(80,160,255,.08) inset;
  /* Masque : seule la surface courbe est visible, le reste est transparent
     → les étoiles restent visibles au-dessus de la Terre */
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0%,
    transparent 42%,
    black 60%,
    black 100%
  );
  mask-image: linear-gradient(to bottom,
    transparent 0%,
    transparent 42%,
    black 60%,
    black 100%
  );
}

/* ── Couche atmosphérique (halo bleu-violet — de la ligne Kármán jusqu'aux logos) */
.hero-atmosphere {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 14%;
  background: linear-gradient(
    to top,
    rgba(40,100,220,.22) 0%,
    rgba(70,130,255,.14) 40%,
    rgba(80,140,255,.06) 75%,
    transparent 100%
  );
  opacity: .9;
  transform: translateZ(0);
  z-index: 2;
}

/* ── LA ligne de Kármán — arc SVG ─────────────────────────────── */
.hero-karman-line {
  position: absolute;
  bottom: 10%;
  left: 0; right: 0;
  /* Hauteur = espace vertical pour accueillir l'arc (52px bas → 18px centre) */
  height: 60px;
}

.karman-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  /* overflow visible pour que le glow ne soit pas coupé */
  overflow: visible;
}

/* Label "Ligne de Kármán" sur la ligne */
.karman-label {
  position: absolute;
  top: 7px;
  right: clamp(16px, 5%, 80px);
  font-family: var(--font-head);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(120,190,255,.45);
  white-space: nowrap;
  user-select: none;
}

/* ── Contenu hero — centré ─────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  /* gap uniforme entre tous les enfants */
  gap: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(108,99,255,.4);
  background: rgba(108,99,255,.1);
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .06em;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%     { opacity:.4; transform:scale(.75); }
}

.hero-badge {
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-head);
  /* Taille maîtrisée : 2 lignes nettes sur tous les écrans desktop */
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  font-weight: 900;
  /* line-height très serré : supprime l'espace excessif entre les 2 lignes */
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -.03em;
  margin-bottom: 22px;
  text-shadow: 0 2px 40px rgba(0,0,0,.6);
}

.hero-sub {
  font-size: .95rem;
  color: var(--gray-2);
  /* Largeur calibrée pour exactement 2 lignes avec le nouveau texte */
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 14px;
}

.hero-trust {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 500;
  color: rgba(255,255,255,.28);
  letter-spacing: .07em;
}

/* ── Scroll indicator ──────────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 4%; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(100,170,255,.65), transparent);
  margin-inline: auto;
  border-radius: 2px;
  animation: scrollDown 2.4s ease-in-out infinite;
}
@keyframes scrollDown {
  0%  { transform: scaleY(0); transform-origin: top;    opacity:1; }
  50% { transform: scaleY(1); transform-origin: top;    opacity:1; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100%{ transform: scaleY(0); transform-origin: bottom; opacity:0; }
}


/* ═══════════════════════════════════════════════════════════════
   STATS BAR  (CTB — entre logos et services)
   ═══════════════════════════════════════════════════════════════ */
.stats-bar {
  background: #04040d;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 40px 0;
}
.stats-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 40px;
  text-align: center;
}
.stat-item strong {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.stat-item span {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════
   LOGO CAROUSEL  (dark)
   ═══════════════════════════════════════════════════════════════ */
.logos-section {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.logos-track-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.logos-track {
  display: flex;
  animation: logoScroll 30s linear infinite;
  width: max-content;
}
@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-item {
  padding: 0 48px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-3);
  letter-spacing: .04em;
  white-space: nowrap;
  border-right: 1px solid var(--border);
}


/* ═══════════════════════════════════════════════════════════════
   SERVICES  (dark)
   ═══════════════════════════════════════════════════════════════ */
.services { padding: 120px 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  perspective: 1200px;
}

/* ── Garanties (CTB) ───────────────────────────────────────────── */
.services-guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding: 28px 40px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
}
.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  white-space: nowrap;
}
.guarantee-item svg {
  width: 18px; height: 18px;
  color: var(--purple);
  flex-shrink: 0;
}

/* ── CTA services ──────────────────────────────────────────────── */
.services-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 40px;
  padding: 36px 48px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(108,99,255,.12), rgba(0,198,255,.06));
  border: 1px solid rgba(108,99,255,.2);
  flex-wrap: wrap;
}
.services-cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.services-cta-text p {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.services-cta-text span {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.services-cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  transform-style: preserve-3d;
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-subtle);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
  pointer-events: none;
}
.service-card:hover {
  border-color: rgba(108,99,255,.4);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(108,99,255,.15);
}
.service-card:hover::before { opacity: 1; }

/* 5e card : pleine largeur, layout horizontal */
.service-card:nth-child(5) {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, rgba(108,99,255,.08) 0%, rgba(0,198,255,.04) 100%);
  border-color: rgba(108,99,255,.2);
}
.service-card:nth-child(5) .service-content { flex: 1; }
.service-card:nth-child(5) .service-tags { margin-top: 0; }

.service-icon {
  width: 52px; height: 52px;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--blue);
  position: relative; z-index: 1;
  flex-shrink: 0;
}
.service-icon svg { width: 100%; height: 100%; }

.service-content { position: relative; z-index: 1; }
.service-content h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.service-content p {
  font-size: .9rem;
  color: var(--gray-2);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tags li {
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: .72rem;
  font-weight: 600;
  color: var(--gray-2);
  font-family: var(--font-head);
  letter-spacing: .04em;
}

.service-arrow {
  position: absolute;
  top: 24px; right: 24px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--gray-2);
  z-index: 1;
  transition: var(--transition);
  flex-shrink: 0;
}
.service-card:hover .service-arrow {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
  transform: translate(2px,-2px);
}
.service-arrow svg { width: 16px; height: 16px; }


/* ═══════════════════════════════════════════════════════════════
   PILLARS — ATTIRER / CONVERTIR / FIDÉLISER  (dark)
   ═══════════════════════════════════════════════════════════════ */
.pillars { padding: 80px 0 120px; }

.pillars-header { margin-bottom: 96px; }

.pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.pillar-reverse { direction: rtl; }
.pillar-reverse > * { direction: ltr; }

.pillar-number {
  position: absolute;
  top: 60px; left: 0;
  font-family: var(--font-head);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255,255,255,.03);
  line-height: 1;
  user-select: none;
}

.pillar-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(108,99,255,.4);
  background: rgba(108,99,255,.1);
  color: var(--blue);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pillar-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.pillar-content p {
  color: var(--gray-2);
  line-height: 1.75;
  margin-bottom: 32px;
  font-size: 1rem;
}

/* ── Mockup card ────────────────────────────────────────────── */
.pillar-card-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 22px;
  box-shadow: var(--shadow-card);
}

/* En-tête de la carte */
.mockup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.mockup-title {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-2);
}
.mockup-kpi {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  padding: 4px 10px;
  border-radius: 100px;
}
.kpi-green {
  background: rgba(74,222,128,.12);
  color: #4ade80;
  border: 1px solid rgba(74,222,128,.25);
}
.kpi-blue {
  background: rgba(0,198,255,.1);
  color: var(--blue);
  border: 1px solid rgba(0,198,255,.25);
}
.kpi-purple {
  background: rgba(108,99,255,.14);
  color: #a09bff;
  border: 1px solid rgba(108,99,255,.3);
}

/* ── Bar chart ──────────────────────────────────────────────── */
.mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 160px;
}
.bar {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: rgba(255,255,255,.1);
  height: 0;                       /* GSAP animera depuis 0 */
  transform-origin: bottom;
}
.bar-peak {
  background: var(--gradient);
  box-shadow: 0 0 24px rgba(108,99,255,.45), 0 0 8px rgba(0,198,255,.3);
}
.chart-months {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
.chart-months span {
  flex: 1;
  text-align: center;
  font-size: .64rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--gray-3);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Funnel ─────────────────────────────────────────────────── */
.mockup-funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.funnel-step {
  width: 0%;                        /* GSAP animera vers data-pct% */
  min-width: 80px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.05);
  border-left: 2px solid rgba(108,99,255,.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  opacity: 0;                       /* GSAP animera vers 1 */
  overflow: hidden;
  white-space: nowrap;
}
.funnel-step:first-child {
  background: rgba(108,99,255,.08);
  border-left-color: var(--purple);
}
.funnel-label { color: var(--gray-2); font-family: var(--font-head); font-size: .78rem; font-weight: 600; }
.funnel-pct   { color: var(--white);  font-family: var(--font-head); font-size: .78rem; font-weight: 800; }

/* ── Retention circle ───────────────────────────────────────── */
.mockup-retention {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 8px 0 4px;
}
.retention-circle {
  position: relative;
  width: 160px; height: 160px;
  filter: drop-shadow(0 0 18px rgba(108,99,255,.3));
}
.retention-circle svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.retention-value {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.retention-pct-val {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.retention-pct-sign {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 1px;
}
.retention-value small {
  font-size: .65rem;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-3);
}
.retention-metrics {
  display: flex;
  gap: 24px;
}
.ret-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.ret-metric b {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}
.ret-metric span {
  font-size: .68rem;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-3);
}


/* ═══════════════════════════════════════════════════════════════
   PROCESS  ← WHITE SECTION
   ═══════════════════════════════════════════════════════════════ */
.process {
  padding: 120px 0;
  background: var(--light-bg);
  position: relative;
}


.process .section-tag {
  background: rgba(108,99,255,.08);
  color: var(--purple);
  border-color: rgba(108,99,255,.25);
}
.process .section-title { color: var(--light-text); }
.process .section-sub { color: var(--light-sub); }

/* ── Process grid: 2×2 cards ───────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}

.process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px 36px 32px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.process-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition);
}
.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(108,99,255,.12);
  border-color: rgba(108,99,255,.18);
}
.process-card:hover::before { opacity: 1; }

/* Numéro + icône en haut de carte */
.process-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 4px;
}

.process-card-num {
  font-family: var(--font-head);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.02em;
  opacity: .22;
  user-select: none;
}

.process-card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(108,99,255,.12), rgba(0,198,255,.1));
  border: 1px solid rgba(108,99,255,.2);
  color: var(--purple);
  flex-shrink: 0;
}
.process-card-icon svg { width: 22px; height: 22px; }

/* Texte */
.process-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--light-text);
  margin: 0;
}
.process-card p {
  font-size: .9rem;
  color: var(--light-sub);
  line-height: 1.75;
  flex: 1;
  margin: 0;
}

/* Footer carte */
.process-card-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,.06);
  margin-top: auto;
  flex-wrap: wrap;
}
.step-duration {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  color: var(--purple);
  background: rgba(108,99,255,.09);
  border: 1px solid rgba(108,99,255,.22);
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.process-outcome {
  font-size: .82rem;
  font-weight: 600;
  color: var(--light-sub);
  white-space: nowrap;
}


/* ── CTA process ───────────────────────────────────────────────── */
.process-cta {
  margin-top: 48px;
  text-align: center;
}
.process-cta-inner {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding: 32px 48px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(108,99,255,.07), rgba(0,198,255,.04));
  border: 1px solid rgba(108,99,255,.18);
  flex-wrap: wrap;
  justify-content: center;
}
.process-cta-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.process-cta-text strong {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--light-text);
}
.process-cta-text span {
  font-size: .85rem;
  color: var(--light-sub);
}
.process-cta-sub {
  margin-top: 16px;
  font-size: .78rem;
  color: var(--light-sub);
  letter-spacing: .03em;
}


/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS  (dark)
   ═══════════════════════════════════════════════════════════════ */
.testimonials {
  padding: 120px 0;
  overflow: hidden;
  background: var(--bg);
}

/* ── Grille 4 cartes statiques ─────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.testi-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  text-align: center;
}

.testi-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--transition), transform var(--transition);
}
.testi-card:hover {
  border-color: rgba(108,99,255,.35);
  transform: translateY(-4px);
}
.testi-stars { color: #f5c518; font-size: 1rem; letter-spacing: 2px; }
.testi-quote {
  font-size: .92rem;
  color: var(--gray-1);
  line-height: 1.75;
  flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.testi-author strong {
  display: block;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
}
.testi-author span { font-size: .75rem; color: var(--gray-2); }


.testi-cta-sub {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .03em;
}


/* ═══════════════════════════════════════════════════════════════
   FAQ  ← LIGHT GRAY SECTION
   ═══════════════════════════════════════════════════════════════ */
.faq {
  padding: 120px 0;
  background: var(--light-bg-2);
  position: relative;
}
.faq::before { content: none; }

.faq .section-tag {
  background: rgba(108,99,255,.08);
  color: var(--purple);
  border-color: rgba(108,99,255,.25);
}
.faq .section-title { color: var(--light-text); }

.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item:hover {
  border-color: rgba(108,99,255,.3);
  box-shadow: 0 4px 20px rgba(108,99,255,.08);
}
.faq-item.open {
  border-color: rgba(108,99,255,.4);
  box-shadow: 0 4px 24px rgba(108,99,255,.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  text-align: left;
  color: var(--light-text);
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--purple); }

.faq-icon {
  width: 20px; height: 20px;
  color: var(--light-sub);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--purple); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 0 24px 24px;
  color: var(--light-sub);
  font-size: .9rem;
  line-height: 1.75;
  border-top: 1px solid var(--light-border);
  padding-top: 16px;
}


/* ── CTA FAQ ───────────────────────────────────────────────────── */
.faq-cta {
  margin-top: 48px;
}
.faq-cta-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 36px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(108,99,255,.15);
  box-shadow: 0 4px 20px rgba(108,99,255,.08);
  flex-wrap: wrap;
}
.faq-cta-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(108,99,255,.12), rgba(0,198,255,.08));
  border: 1px solid rgba(108,99,255,.2);
  color: var(--purple);
  flex-shrink: 0;
}
.faq-cta-icon svg { width: 22px; height: 22px; }
.faq-cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 200px;
}
.faq-cta-text strong {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--light-text);
}
.faq-cta-text span {
  font-size: .83rem;
  color: var(--light-sub);
}
.faq-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════
   CTA SECTION  (dark)
   ═══════════════════════════════════════════════════════════════ */
.cta-section { padding: 80px 0 120px; background: var(--bg); }

.cta-box {
  position: relative;
  padding: 80px 64px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(108,99,255,.3);
  background: linear-gradient(135deg, rgba(108,99,255,.12) 0%, rgba(0,198,255,.06) 100%);
  overflow: hidden;
  text-align: center;
}
.cta-orb-1, .cta-orb-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.cta-orb-1 {
  width: 400px; height: 400px;
  background: rgba(108,99,255,.2);
  top: -150px; left: -100px;
}
.cta-orb-2 {
  width: 300px; height: 300px;
  background: rgba(0,198,255,.15);
  bottom: -100px; right: -80px;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-content p {
  color: var(--gray-2);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════════════════════
   CONTACT SECTION  (dark)
   ═══════════════════════════════════════════════════════════════ */
.contact-section {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
}
.contact-section::before { content: none; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

/* Colonne gauche */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-info .section-tag { align-self: flex-start; }
.contact-info h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin: 0;
}
.contact-info > p {
  font-size: .95rem;
  color: var(--gray-2);
  line-height: 1.75;
  margin: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition);
}
.contact-detail-item:hover {
  border-color: rgba(108,99,255,.4);
  transform: translateX(4px);
}
.contact-detail-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(108,99,255,.15), rgba(0,198,255,.1));
  border: 1px solid rgba(108,99,255,.2);
  color: var(--purple);
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; }
.contact-detail-text { display: flex; flex-direction: column; gap: 2px; }
.contact-detail-text span { font-size: .72rem; color: var(--gray-2); text-transform: uppercase; letter-spacing: .06em; }
.contact-detail-text strong { font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--white); }

.contact-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--gray-1);
  font-weight: 500;
}
.contact-trust-item svg { width: 14px; height: 14px; color: #00c6ff; flex-shrink: 0; }

/* Formulaire */
.contact-form-wrap {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 40px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 18px;
}
.form-group label {
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 600;
  color: var(--gray-1);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding-top: 2px;
}
.req { color: var(--purple); }
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: .9rem;
  color: var(--white);
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
  box-sizing: border-box;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.25); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(108,99,255,.6);
  background: rgba(108,99,255,.05);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* Captcha */
.form-captcha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: rgba(255,255,255,.03);
}
.captcha-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--gray-1);
  cursor: pointer;
  user-select: none;
}
.captcha-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--purple); cursor: pointer; }
.captcha-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.captcha-badge svg { width: 32px; height: 32px; }
.captcha-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.captcha-badge-text span { font-size: .7rem; font-weight: 700; color: rgba(255,255,255,.6); }
.captcha-badge-text small { font-size: .6rem; color: rgba(255,255,255,.3); }

/* Bouton envoi */
.contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.contact-submit svg { width: 18px; height: 18px; transition: transform .2s; }
.contact-submit:hover svg { transform: translateX(4px); }

.form-mention {
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  text-align: center;
  line-height: 1.5;
  margin: 0;
}
.form-mention a { color: rgba(255,255,255,.5); text-decoration: underline; }

/* ── Formulaire multi-étapes ──────────────────────────────────── */
.form-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 40px;
}
.form-stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.step-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.14);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  color: var(--gray-2);
  transition: background .3s, border-color .3s, box-shadow .3s, color .3s;
  flex-shrink: 0;
}
.form-stepper-step.active .step-circle {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 18px rgba(108,99,255,.45);
}
.form-stepper-step.done .step-circle {
  background: rgba(108,99,255,.15);
  border-color: var(--purple);
  color: var(--purple);
}
.step-label {
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-3);
  transition: color .3s;
  white-space: nowrap;
}
.form-stepper-step.active .step-label { color: var(--white); }
.form-stepper-step.done  .step-label { color: var(--purple); }
.form-stepper-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: 18px 10px 0;
  transition: background .4s;
  min-width: 28px;
}
.form-stepper-line.done { background: var(--purple); }

/* Panels */
.form-panel-hidden { display: none !important; }
.form-panel-hint {
  font-size: .875rem;
  color: var(--gray-2);
  margin-bottom: 18px;
}

/* Grille de choix de services */
.form-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}
.service-choice-item {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 600;
  color: var(--gray-2);
  text-align: center;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
  user-select: none;
}
.service-choice-item input { display: none; }
.service-choice-item:hover {
  border-color: rgba(108,99,255,.45);
  color: var(--white);
  background: rgba(108,99,255,.07);
}
.service-choice-item.selected {
  background: rgba(108,99,255,.22);
  border-color: var(--purple);
  color: var(--white);
  box-shadow: 0 0 0 1px rgba(108,99,255,.4), 0 4px 12px rgba(108,99,255,.2);
}

/* Navigation entre étapes */
.form-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 6px;
  padding-top: 6px;
}
.form-nav .btn-ghost {
  background: transparent;
  color: var(--gray-2);
  border: 1px solid rgba(255,255,255,.1);
}
.form-nav .btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,.2); }
.form-nav .btn-ghost svg { width: 16px; height: 16px; }

/* Récapitulatif étape 3 */
.form-recap {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.form-recap-item {
  display: flex;
  gap: 14px;
  font-size: .875rem;
  align-items: flex-start;
}
.form-recap-key {
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gray-3);
  min-width: 74px;
  padding-top: 2px;
  flex-shrink: 0;
}
.form-recap-val { color: var(--gray-1); line-height: 1.55; word-break: break-word; }

/* État succès */
.form-success {
  text-align: center;
  padding: 52px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.form-success-icon { width: 72px; height: 72px; }
.form-success-icon svg { width: 100%; height: 100%; }
.form-success h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}
.form-success p { color: var(--gray-2); font-size: .95rem; line-height: 1.6; max-width: 300px; }

/* Erreurs de validation */
.form-group input.error,
.form-group textarea.error { border-color: rgba(255,80,80,.6) !important; }
.form-error-msg {
  display: block;
  font-size: .75rem;
  color: #ff6b6b;
  margin-top: 5px;
}

/* Bouton en attente */
.contact-submit.loading { opacity: .65; pointer-events: none; }
.contact-submit.loading svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }


/* ═══════════════════════════════════════════════════════════════
   FOOTER  (unified grid)
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg);
  border-top: 1px solid rgba(108,99,255,.15);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(108,99,255,.06) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 100% 100%, rgba(0,198,255,.04) 0%, transparent 65%);
  pointer-events: none;
}

/* ── Grille principale ────────────────────────────────────────── */
.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 64px;
  padding: 80px 0 64px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
}

/* ── Colonne brand ────────────────────────────────────────────── */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 14px;
  color: var(--white);
}
.footer-brand-name .logo-k  { color: var(--white); }
.footer-brand-name .logo-text { color: var(--white); }
.footer-brand-tagline {
  font-size: .92rem;
  color: var(--gray-2);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 260px;
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-2);
  font-size: .875rem;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-contact-link:hover { color: var(--white); }
.footer-contact-link svg { width: 14px; height: 14px; opacity: .5; flex-shrink: 0; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-2);
  text-decoration: none;
  transition: var(--transition);
  flex-shrink: 0;
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover {
  border-color: var(--purple);
  color: var(--white);
  background: rgba(108,99,255,.1);
}

/* ── Colonnes navigation ──────────────────────────────────────── */
.footer-col h4 {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a {
  font-size: .875rem;
  color: var(--gray-2);
  transition: color var(--transition);
  text-decoration: none;
}
.footer-col a:hover { color: var(--white); }

/* ── Bottom bar ───────────────────────────────────────────────── */
.footer-bottom { padding: 24px 0; position: relative; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: var(--gray-3); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: .8rem;
  color: var(--gray-3);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--gray-2); }


/* ═══════════════════════════════════════════════════════════════
   PAGES LÉGALES + 404
   ═══════════════════════════════════════════════════════════════ */
.legal-section { padding: 72px 0 100px; }
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-updated {
  display: inline-block;
  font-size: .78rem;
  color: var(--gray-3);
  margin-bottom: 48px;
  font-style: italic;
}
.legal-content h2 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin: 52px 0 14px;
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.legal-content h2:first-of-type { border-top: none; margin-top: 0; }
.legal-content h3 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--gray-1);
  margin: 28px 0 8px;
}
.legal-content p {
  font-size: .88rem;
  color: var(--gray-2);
  line-height: 1.85;
  margin-bottom: 12px;
}
.legal-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}
.legal-content ul li {
  font-size: .88rem;
  color: var(--gray-2);
  line-height: 1.8;
  margin-bottom: 5px;
}
.legal-content a { color: var(--purple); text-decoration: underline; }
.legal-content a:hover { color: var(--blue); }
.legal-placeholder {
  display: inline-block;
  background: rgba(108,99,255,.15);
  border: 1px dashed rgba(108,99,255,.4);
  border-radius: 4px;
  padding: 1px 8px;
  font-size: .8rem;
  color: var(--purple);
  font-style: italic;
}

/* 404 */
.notfound-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  text-align: center;
}
.notfound-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.notfound-code {
  font-family: var(--font-head);
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 900;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.04em;
}
.notfound-title {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
}
.notfound-sub {
  font-size: .95rem;
  color: var(--gray-2);
  max-width: 400px;
  line-height: 1.7;
}
.notfound-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .service-card:nth-child(5) { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
  .pillar { gap: 48px; }
  .process-grid { gap: 18px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-contact-btn { display: none; }
  .burger { display: flex; }

  /* ── MENU MOBILE PLEIN ÉCRAN ────────────────────────────────── */
  .nav-links.open {
    /* Layout : colonne centrée verticalement */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    /* Plein écran fixe */
    position: fixed;
    inset: 0;
    background: #08080f;
    z-index: 200;
    overflow: hidden;
    animation: navMenuIn .2s ease-out forwards;
  }

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

  /* Bouton ✕ — coin supérieur droit */
  .nav-links.open .nav-close {
    display: flex;
    position: absolute;
    top: 18px;
    right: 18px;
  }

  /* Liens nav — full reset + nouveau style */
  .nav-links.open a:not(.btn) {
    /* Reset des styles desktop */
    padding: 0;
    border-radius: 0;
    background: none !important;
    /* Nouveau style */
    display: block;
    width: 100%;
    text-align: center;
    font-family: var(--font-head);
    font-size: clamp(2rem, 9vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
    color: rgba(255,255,255,.45);
    padding: 18px 40px;
    transition: color .18s;
    position: relative;
  }
  .nav-links.open a:not(.btn)::after { content: none !important; }
  .nav-links.open a:not(.btn):hover { color: var(--white); }
  .nav-links.open a:not(.btn).active { color: var(--white); }

  /* Séparateur entre liens */
  .nav-links.open a:not(.btn) + a:not(.btn) {
    border-top: 1px solid rgba(255,255,255,.05);
  }

  /* Bouton Contact — juste en dessous des liens */
  .nav-links.open .nav-menu-contact {
    display: inline-flex;
    margin-top: 36px;
    padding: 16px 40px;
    font-size: .95rem;
    font-weight: 700;
    border-radius: 100px;
    box-shadow: 0 0 32px rgba(108,99,255,.4);
    background: var(--gradient) !important;
    color: var(--white) !important;
  }
  .nav-links.open .nav-menu-contact::after { content: none !important; }
  .nav-links.open .nav-menu-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 40px rgba(108,99,255,.55);
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
  }
  .stat { padding: 0 16px; }
  .stat-divider { display: none; }

  .services-grid { grid-template-columns: 1fr; perspective: none; }
  .service-card:nth-child(5) { flex-direction: column; gap: 20px; grid-column: 1; }

  .pillar, .pillar-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }
  .pillar-number { display: none; }
  .pillars-header { margin-bottom: 64px; }
  .mockup-chart { height: 120px; }
  .retention-circle { width: 130px; height: 130px; }
  .retention-pct-val { font-size: 2rem; }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .process-card { padding: 32px 24px 28px; }
  .process-card-num { font-size: 3rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-box { padding: 48px 24px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
  .footer-inner { padding: 56px 0 48px; }

  /* CTA / CTB responsive */
  .services-guarantees { padding: 20px 16px; gap: 16px; }
  .guarantee-item { white-space: normal; }
  .services-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .services-cta-actions { width: 100%; }
  .process-cta-inner { flex-direction: column; padding: 28px 24px; gap: 24px; }
  .process-cta-text { text-align: center; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrap { padding: 32px 24px; }
  .faq-cta-inner { flex-direction: column; padding: 24px 20px; }
  .stat-item { padding: 16px 20px; }
  .stat-sep { width: 100%; height: 1px; }
}

@media (max-width: 480px) {
  .hero-actions, .cta-actions { flex-direction: column; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 16px; }
  .faq-cta-actions { flex-direction: column; width: 100%; }
  .faq-cta-actions .btn { text-align: center; justify-content: center; }
}

/* ── Respect du mode économie d'énergie / accessibilité ───────── */
/* Active aussi automatiquement quand macOS est en basse conso     */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  /* Les éléments hero restent visibles sans animation */
  .hero-anim.gsap-ready {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   PAGES INTÉRIEURES
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero de page ──────────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--bg);
  text-align: center;
  overflow: hidden;
}
.page-hero-compact { padding-bottom: 60px; }

.page-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.page-hero-orb-1 {
  width: 420px; height: 420px;
  background: var(--purple);
  opacity: .1;
  top: -120px; left: -80px;
  animation: orbFloat 8s ease-in-out infinite alternate;
}
.page-hero-orb-2 {
  width: 320px; height: 320px;
  background: #00c6ff;
  opacity: .08;
  top: -80px; right: -40px;
  animation: orbFloat 10s ease-in-out infinite alternate-reverse;
}
@keyframes orbFloat {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(-30px) scale(1.05); }
}

.page-hero .section-tag { display: inline-block; margin-bottom: 20px; }
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.07;
  color: var(--white);
  margin: 0 0 22px;
  letter-spacing: -.02em;
}
.page-hero-sub {
  font-size: 1rem;
  color: var(--gray-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Image placeholder ─────────────────────────────────────────── */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 20px;
  min-height: 300px;
  transition: border-color var(--transition), background var(--transition);
}
.img-placeholder-dark {
  background: rgba(255,255,255,.03);
  border: 2px dashed rgba(255,255,255,.1);
  color: rgba(255,255,255,.25);
}
.img-placeholder-dark:hover {
  border-color: rgba(108,99,255,.3);
  background: rgba(108,99,255,.04);
}
.img-placeholder-tall { min-height: 420px; }
.img-placeholder-square { aspect-ratio: 1; min-height: unset; }
.img-placeholder svg { width: 52px; height: 52px; opacity: .5; }
.img-placeholder span {
  font-size: .75rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .6;
}

/* ── Page section générique ────────────────────────────────────── */
.page-section { padding: 100px 0; }
.page-section.dark { background: var(--bg); }
.page-section.light { background: var(--light-bg); }

/* ── Services détail ───────────────────────────────────────────── */
.service-detail {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}
.service-detail-alt {
  background: var(--light-bg);
}

/* Textes sur section blanche */
.service-detail-alt .service-detail-content h2 { color: var(--light-text); }
.service-detail-alt .service-detail-content p { color: var(--light-sub); }
.service-detail-alt .service-features li { color: #3a3a5c; }
.service-detail-alt .service-features li::before { background: var(--gradient); }
.service-detail-alt .service-tag-pill {
  background: rgba(108,99,255,.07);
  border-color: rgba(108,99,255,.18);
  color: var(--purple);
}
.service-detail-alt .service-detail-badge {
  background: rgba(108,99,255,.08);
  border-color: rgba(108,99,255,.2);
  color: var(--purple);
}
.service-detail-alt .img-placeholder {
  background: rgba(0,0,0,.03);
  border-color: rgba(108,99,255,.15);
  color: rgba(0,0,0,.2);
}
.service-detail-alt .img-placeholder:hover {
  border-color: rgba(108,99,255,.35);
  background: rgba(108,99,255,.05);
}
.service-detail-alt .btn-primary { /* inherit — looks fine */ }
.service-detail-alt .section-tag {
  background: rgba(108,99,255,.08);
  color: var(--purple);
  border-color: rgba(108,99,255,.22);
}

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-detail-inner-reverse {
  direction: rtl;
}
.service-detail-inner-reverse > * { direction: ltr; }

.service-detail-tag { display: inline-block; margin-bottom: 16px; }
.service-detail-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin: 0 0 18px;
  letter-spacing: -.02em;
}
.service-detail-content p {
  font-size: .95rem;
  color: var(--gray-2);
  line-height: 1.78;
  margin: 0 0 24px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .87rem;
  color: var(--gray-1);
  line-height: 1.5;
}
.service-features li::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
  margin-top: 6px;
}

.service-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.service-tag-pill {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: .03em;
}

/* ── Prix de service ───────────────────────────────────────────── */
.service-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(108,99,255,.08);
  border: 1px solid rgba(108,99,255,.22);
  border-radius: 100px;
  margin-bottom: 28px;
}
.service-price-label {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-2);
  letter-spacing: .04em;
}
.service-price-amount {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.service-detail-alt .service-price {
  background: rgba(108,99,255,.07);
  border-color: rgba(108,99,255,.18);
}

.service-detail-visual { position: relative; }
.service-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 16px;
  background: rgba(108,99,255,.1);
  border: 1px solid rgba(108,99,255,.2);
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
}

/* ── Réalisations ──────────────────────────────────────────────── */
.realisations-section {
  padding: 100px 0;
  background: var(--light-bg);
  border-top: 1px solid rgba(108,99,255,.1);
}
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.realisation-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(108,99,255,.12);
  background: #ffffff;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.realisation-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108,99,255,.35);
  box-shadow: 0 12px 40px rgba(108,99,255,.15);
}
.realisation-preview {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.realisation-preview-1 { background: linear-gradient(135deg, rgba(108,99,255,.2), rgba(0,198,255,.1)); }
.realisation-preview-2 { background: linear-gradient(135deg, rgba(255,100,80,.15), rgba(255,180,80,.1)); }
.realisation-preview-3 { background: linear-gradient(135deg, rgba(50,200,100,.12), rgba(0,198,255,.1)); }
.realisation-preview-4 { background: linear-gradient(135deg, rgba(200,100,255,.15), rgba(108,99,255,.1)); }
.realisation-preview-5 { background: linear-gradient(135deg, rgba(0,198,255,.15), rgba(50,100,255,.1)); }
.realisation-preview-6 { background: linear-gradient(135deg, rgba(255,150,50,.12), rgba(255,80,120,.1)); }

.realisation-wip-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-head);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(108,99,255,.7);
  background: rgba(108,99,255,.08);
  border: 1px solid rgba(108,99,255,.2);
  padding: 4px 10px;
  border-radius: 100px;
}
.realisation-type-icon {
  color: rgba(108,99,255,.2);
}
.realisation-type-icon svg { width: 48px; height: 48px; }
.realisation-info { padding: 20px; }
.realisation-type {
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--purple);
  margin-bottom: 8px;
}
.realisation-info h4 {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  color: var(--light-text);
  margin: 0 0 6px;
}
.realisation-info span { font-size: .76rem; color: var(--light-sub); }
.realisations-cta {
  text-align: center;
  margin-top: 40px;
  font-size: .92rem;
  color: var(--light-sub);
}
.realisations-cta a { color: var(--purple); text-decoration: underline; }

/* ── Page CTA section ──────────────────────────────────────────── */
.page-cta-section { padding: 80px 0 120px; background: var(--bg); }
.page-cta-box {
  position: relative;
  overflow: hidden;
  padding: 80px 64px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(108,99,255,.12), rgba(0,198,255,.06));
  border: 1px solid rgba(108,99,255,.2);
  text-align: center;
}
.page-cta-orb-1, .page-cta-orb-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.page-cta-orb-1 {
  width: 400px; height: 400px;
  background: rgba(108,99,255,.2);
  top: -100px; left: -100px;
}
.page-cta-orb-2 {
  width: 300px; height: 300px;
  background: rgba(0,198,255,.15);
  bottom: -80px; right: -60px;
}
.page-cta-content { position: relative; z-index: 1; }
.page-cta-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin: 16px 0 12px;
  letter-spacing: -.02em;
}
.page-cta-content p {
  font-size: .95rem;
  color: var(--gray-2);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ── About (agence) ────────────────────────────────────────────── */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin: 16px 0 20px;
  letter-spacing: -.02em;
}
.about-content p {
  font-size: .95rem;
  color: var(--gray-2);
  line-height: 1.78;
  margin: 0 0 16px;
}
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.about-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .87rem;
  color: var(--gray-1);
  font-weight: 500;
}
.about-highlight svg { width: 16px; height: 16px; color: #00c6ff; flex-shrink: 0; }

/* ── Valeurs ───────────────────────────────────────────────────── */
.values-section { padding: 100px 0; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.value-card {
  padding: 40px 32px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,.07);
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(108,99,255,.12);
  border-color: rgba(108,99,255,.2);
}
.value-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(108,99,255,.1), rgba(0,198,255,.08));
  border: 1px solid rgba(108,99,255,.18);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: var(--purple);
  transition: transform var(--transition);
}
.value-card:hover .value-icon { transform: scale(1.1) rotate(-3deg); }
.value-icon svg { width: 28px; height: 28px; }
.value-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--light-text);
  margin: 0 0 12px;
}
.value-card p { font-size: .87rem; color: var(--light-sub); line-height: 1.72; margin: 0; }

/* ── Équipe ────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.team-card { text-align: center; }
.team-photo { margin-bottom: 16px; border-radius: 16px; overflow: hidden; }
.team-name {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 4px;
}
.team-role { font-size: .78rem; color: var(--gray-2); }

/* ── Différenciateurs ──────────────────────────────────────────── */
.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.differentiator {
  padding: 36px 32px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,.07);
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: transform var(--transition), box-shadow var(--transition);
}
.differentiator:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(108,99,255,.1);
}
.diff-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .18;
  line-height: 1;
  margin-bottom: 16px;
}
.differentiator h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--light-text);
  margin: 0 0 10px;
}
.differentiator p { font-size: .87rem; color: var(--light-sub); line-height: 1.7; margin: 0; }

/* ── FAQ page layout ───────────────────────────────────────────── */
.faq-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 16px;
}
.faq-col-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* ── Contact page ──────────────────────────────────────────────── */
.contact-section-page { padding-top: 80px; }
.contact-team-photo {
  margin-top: 32px;
  border-radius: 16px;
  overflow: hidden;
}
.contact-team-photo .img-placeholder { min-height: 180px; border-radius: 14px; }

/* ── Responsive pages ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .service-detail-inner,
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .service-detail-inner-reverse { direction: ltr; }
  .realisations-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .faq-columns { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 768px) {
  .page-hero { padding: 140px 0 72px; }
  .page-hero-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .realisations-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .differentiators-grid { grid-template-columns: 1fr; }
  .page-cta-box { padding: 48px 24px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .service-detail { padding: 64px 0; }
}

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

/* ── Kármán divider — séparateur arc léger ──────────────────── */
.karman-divider {
  width: 100%;
  overflow: hidden;
  height: 60px;
  pointer-events: none;
  display: block;
  background: transparent;
  position: relative;
  z-index: 1;
}
/* Variante de transition : blanc → sombre (ex. process → testimonials) */
.karman-divider--fade {
  background: linear-gradient(to bottom, var(--light-bg) 0%, var(--bg) 100%);
  height: 80px;
}
.karman-cut {
  display: block;
  width: 100%;
  height: 80px;
  background: var(--bg);
  overflow: hidden;
  line-height: 0;
}
.karman-cut--d2l {
  background: var(--light-bg);  /* coupure sombre → blanc */
}
.karman-cut svg {
  display: block;
  width: 100%;
  height: 100%;
}
.karman-divider-svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* Pulsation douce — opacity seulement (GPU, 0 repaint) */
.karman-arc {
  animation: karmanPulse 6s ease-in-out infinite;
  will-change: opacity;
}
@keyframes karmanPulse {
  0%, 100% { opacity: .45; }
  50%       { opacity: .85; }
}

/* ══════════════════════════════════════════════════════════════
   BANNIÈRE CONSENTEMENT COOKIES
   ══════════════════════════════════════════════════════════════ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(10, 10, 20, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(108, 99, 255, 0.2);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
}
#cookie-banner.visible {
  transform: translateY(0);
}
#cookie-banner.hiding {
  transform: translateY(110%);
  transition: transform 0.3s ease-in;
}
.cookie-banner-text {
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  flex: 1;
}
.cookie-banner-text a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-text a:hover {
  color: var(--white);
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn-accept {
  padding: 7px 18px;
  border-radius: 20px;
  border: none;
  background: var(--gradient);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
  white-space: nowrap;
}
.cookie-btn-accept:hover { opacity: .85; }
.cookie-btn-refuse {
  padding: 7px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.cookie-btn-refuse:hover {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 14px;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* ═══════════════════════════════════════════════════════════════
   LIGHT SECTION — SERVICES HOMEPAGE
   ═══════════════════════════════════════════════════════════════ */

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

/* Section header on light bg */
.services.light-section .section-title { color: var(--light-text); }
.services.light-section .section-sub { color: var(--light-sub); }

/* Service cards redesign — gradient style */
.services.light-section .service-card {
  background: #fff;
  border-color: rgba(108,99,255,.18);
  box-shadow: 0 2px 24px rgba(108,99,255,.08), 0 1px 4px rgba(0,0,0,.05);
}
.services.light-section .service-card::before {
  background: linear-gradient(135deg, rgba(108,99,255,.06) 0%, rgba(0,198,255,.03) 100%);
  opacity: 1;
}
.services.light-section .service-card:hover {
  border-color: rgba(108,99,255,.45);
  box-shadow: 0 16px 48px rgba(108,99,255,.16), 0 0 0 1px rgba(108,99,255,.22);
}
.services.light-section .service-card .service-icon {
  background: rgba(108,99,255,.07);
  border-color: rgba(108,99,255,.14);
  color: var(--purple);
}
.services.light-section .service-card .service-content h3 { color: var(--light-text); }
.services.light-section .service-card .service-content p { color: var(--light-sub); }
.services.light-section .service-card .service-tags li {
  background: rgba(108,99,255,.06);
  border-color: rgba(108,99,255,.14);
  color: var(--purple);
}
.services.light-section .service-card .service-arrow {
  border-color: rgba(108,99,255,.2);
  background: rgba(108,99,255,.04);
  color: var(--purple);
}
.services.light-section .service-card:hover .service-arrow {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
}
.services.light-section .service-card:nth-child(5) {
  background: linear-gradient(135deg, rgba(108,99,255,.08) 0%, rgba(0,198,255,.04) 100%);
  border-color: rgba(108,99,255,.22);
}

/* CTA services on light bg */
.services.light-section .services-cta {
  background: linear-gradient(135deg, rgba(108,99,255,.08), rgba(0,198,255,.04));
  border-color: rgba(108,99,255,.2);
}
.services.light-section .services-cta-text p { color: var(--light-text); }
.services.light-section .services-cta-text span { color: var(--light-sub); }

/* ── Service price — repositionné sous le CTA ─────────────────── */
.service-price-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 16px;
  background: transparent;
  border: none;
  margin-top: 4px;
  margin-bottom: 0;
  padding-left: 0;
  opacity: .65;
}
.service-price-inline .service-price-label {
  font-size: .72rem;
  color: var(--gray-2);
}
.service-detail-alt .service-price-inline .service-price-label { color: var(--light-sub); }

/* ═══════════════════════════════════════════════════════════════
   PAGE HERO — LIGNE DE KÁRMÁN
   ═══════════════════════════════════════════════════════════════ */

.page-hero-karman-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  pointer-events: none;
  animation: heroKarmanFade 2s ease-out forwards;
  opacity: 0;
  animation-delay: .5s;
}
.page-hero-karman-line svg {
  width: 100%;
  height: 60px;
  display: block;
}
@keyframes heroKarmanFade {
  from { opacity: 0; transform: scaleX(.6); }
  to   { opacity: 1; transform: scaleX(1); }
}

/* ═══════════════════════════════════════════════════════════════
   ÉTOILES HERO — ANIMATION ENRICHIE
   ═══════════════════════════════════════════════════════════════ */

@keyframes starTwinkle {
  0%   { opacity: .65; transform: scale(1) translateY(0); }
  30%  { opacity: .9;  transform: scale(1.008) translateY(-1px); }
  60%  { opacity: .75; transform: scale(.996) translateY(1px); }
  100% { opacity: 1;   transform: scale(1.005) translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE NAVBAR — CLOSE BUTTON + CONTACT CTA
   ═══════════════════════════════════════════════════════════════ */

.nav-close {
  display: none; /* visible only inside .nav-links.open via media query */
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  transition: color .2s, background .2s, border-color .2s;
  z-index: 201;
  flex-shrink: 0;
}
.nav-close:hover {
  color: var(--white);
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.25);
}
.nav-close svg { width: 17px; height: 17px; }

.nav-menu-contact { display: none; }

@media (max-width: 768px) {
  /* Mobile hero — espace sous la navbar */
  .hero { padding-top: 80px; }
  .hero-content { padding-top: 20px; }

  /* Mobile icon card — icône alignée à gauche */
  .service-card .service-icon { align-self: flex-start; }

  /* "Pas sûr de quel service" CTA — bouton pleine largeur */
  .services-cta-actions .btn { width: 100%; justify-content: center; }

  /* FAQ — espacement titre deuxième colonne */
  .faq-col:nth-child(2) .faq-col-title { margin-top: 40px; }

  /* Agence H1/H2 — taille réduite sur mobile */
  .page-hero .page-hero-title { hyphens: auto; }
  .about-content h2 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
}
