/* =========================================================
   SoleaWeb · Agence Web & SEO Local · Bruxelles
   Habillage LIGHT PREMIUM
   Fond blanc · glassmorphism clair · accents bleu -> violet
   (contenu inchangé, habillage et expérience uniquement)
   ========================================================= */

:root {
  /* Fonds */
  --bg:            #FBFCFE;
  --bg-2:          #F3F6FC;
  --bg-3:          #ECF1FA;

  /* Verre (glassmorphism clair) */
  --glass:         rgba(255, 255, 255, 0.72);
  --glass-2:       rgba(255, 255, 255, 0.9);
  --hairline:      rgba(22, 33, 66, 0.12);
  --hairline-soft: rgba(22, 33, 66, 0.07);

  /* Texte */
  --text:          #0F1730;
  --text-muted:    #45506B;
  --text-dim:      #6B7591;

  /* Accents */
  --accent:        #5B7FFF;
  --accent-2:      #7A5FFF;
  --accent-soft:   rgba(91, 127, 255, 0.12);
  --accent-tint:   rgba(122, 95, 255, 0.12);
  --grad:          linear-gradient(135deg, #5B7FFF 0%, #7A5FFF 100%);
  --grad-soft:     linear-gradient(135deg, rgba(91,127,255,0.12), rgba(122,95,255,0.12));

  /* Rayons */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;

  /* Espacements */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 44px);
  --section-y: clamp(84px, 12vw, 150px);

  /* Motion (courbes premium) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);

  /* Ombres premium douces, teintées (jamais du noir pur) */
  --shadow-card: 0 1px 2px rgba(40,60,120,0.05), 0 26px 56px rgba(40,60,120,0.10);
  --shadow-pop:  0 16px 40px rgba(40,60,120,0.14);
  --glow-accent: 0 18px 44px rgba(91, 127, 255, 0.28);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Halo d'ambiance global, fixe, derrière le contenu */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(45% 35% at 82% 0%, rgba(122,95,255,0.08), transparent 70%),
    radial-gradient(42% 35% at 0% 62%, rgba(91,127,255,0.07), transparent 70%);
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #fff;
  padding: 10px 16px; border-radius: var(--r-sm); z-index: 200; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Typo ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--text);
}
h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text);
  padding: 8px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(91,127,255,0.6);
}

.section { padding-block: var(--section-y); position: relative; }
.section-head { max-width: 680px; margin-bottom: clamp(44px, 6vw, 70px); }
.section-head h2 { margin-bottom: 18px; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Boutons ---------- */
.btn {
  --pad-y: 15px; --pad-x: 24px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.18s var(--ease-out),
              box-shadow 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out),
              background-color 0.3s var(--ease-out);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-sm { --pad-y: 11px; --pad-x: 18px; font-size: 0.88rem; }
.btn-lg { --pad-y: 17px; --pad-x: 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow-accent);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s var(--ease-out);
}
.btn-primary:hover { box-shadow: 0 22px 54px rgba(91,127,255,0.4); }
.btn-primary:hover::after { left: 130%; }

.btn-ghost {
  background: var(--glass);
  border-color: var(--hairline);
  color: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--glass-2); border-color: rgba(91,127,255,0.6); color: #3a55d8; }

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.22);
  transition: transform 0.25s var(--ease-out);
}
.btn:hover .btn-icon { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px var(--gutter);
  display: flex;
  justify-content: center;
}
.nav-shell {
  width: 100%;
  max-width: var(--container);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 12px 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline-soft);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  transition: background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.site-header.scrolled .nav-shell {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-pop);
  border-color: var(--hairline);
}

.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
.brand-mark {
  display: inline-flex;
  color: #fff;
  background: var(--grad);
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(91,127,255,0.35);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.02em; }

.nav-links { display: flex; gap: 4px; margin-inline: auto; }
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.nav-links a:hover { color: var(--text); background: var(--accent-soft); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s var(--ease-out);
}
.nav-phone:hover { color: var(--text); }
.nav-phone svg { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--glass);
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-soft), opacity 0.2s var(--ease-out);
}
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  padding: 80px var(--gutter) 48px;
  background: rgba(251, 252, 254, 0.95);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 10px 0;
  color: var(--text);
  opacity: 0;
  transform: translateY(16px);
}
body.menu-open .mobile-menu nav a { animation: menuIn 0.5s var(--ease-out) forwards; }
.mobile-menu nav a:nth-child(1) { animation-delay: 0.06s; }
.mobile-menu nav a:nth-child(2) { animation-delay: 0.11s; }
.mobile-menu nav a:nth-child(3) { animation-delay: 0.16s; }
.mobile-menu nav a:nth-child(4) { animation-delay: 0.21s; }
.mobile-menu nav a:nth-child(5) { animation-delay: 0.26s; }
@keyframes menuIn { to { opacity: 1; transform: translateY(0); } }
.mobile-menu-cta { display: flex; flex-direction: column; gap: 12px; }

/* ---------- HERO (plein écran cinématique, clair) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: clamp(130px, 18vw, 180px);
  padding-bottom: clamp(60px, 9vw, 110px);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media-img {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  opacity: 0.78;
  transform: scale(1.05);
  animation: heroZoom 24s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.16); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(251,252,254,0.55) 0%, rgba(251,252,254,0.82) 55%, var(--bg) 100%),
    radial-gradient(70% 60% at 50% 25%, rgba(251,252,254,0.2), rgba(251,252,254,0.7));
}
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  will-change: transform;
}
.hero-blob-1 {
  width: 480px; height: 480px;
  top: -120px; right: -100px;
  background: radial-gradient(circle, rgba(122,95,255,0.40), transparent 70%);
  animation: blobFloat 18s ease-in-out infinite;
}
.hero-blob-2 {
  width: 420px; height: 420px;
  bottom: -140px; left: -120px;
  background: radial-gradient(circle, rgba(91,127,255,0.38), transparent 70%);
  animation: blobFloat 22s ease-in-out infinite reverse;
}
@keyframes blobFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(40px, 30px, 0) scale(1.12); }
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(22,33,66,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(22,33,66,0.04) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 80%);
          mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 80%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 5vw, 70px);
  align-items: center;
  width: 100%;
}
.hero-copy h1 { margin-bottom: 24px; max-width: 16ch; line-height: 1.1; }
/* padding/margin compensés : le masque ne rogne plus les descendantes (g, p, j) */
.hero-copy h1 .word {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding-bottom: 0.16em; margin-bottom: -0.16em;
}
.hero-copy h1 .word > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: wordUp 0.8s var(--ease-soft) forwards;
}
@keyframes wordUp { to { transform: translateY(0); opacity: 1; } }

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  color: var(--text-muted);
  max-width: 48ch;
  margin-bottom: 34px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.5s forwards;
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.65s forwards;
}
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 22px;
  color: var(--text-dim);
  font-size: 0.88rem; font-weight: 500;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.8s forwards;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--accent); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.hero-visual {
  position: relative;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.6s forwards;
}
.hero-visual > img {
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card), var(--glow-accent);
  aspect-ratio: 9 / 6.4;
  object-fit: cover;
}
.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-pop);
  padding: 14px 18px;
}
.hero-card-stat { left: -18px; bottom: 36px; display: flex; align-items: center; gap: 12px; }
.hero-card-stat strong {
  font-family: var(--font-display); font-size: 1.6rem; display: block; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-card-stat small { color: var(--text-muted); font-size: 0.8rem; }
.stat-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft), 0 0 12px rgba(91,127,255,0.6);
}
.hero-card-rank { right: -14px; top: 28px; }
.hero-card-rank small { color: var(--text-muted); font-size: 0.74rem; display: block; }
.hero-card-rank strong { font-family: var(--font-display); font-size: 0.96rem; color: var(--text); }

/* ---------- Carte de verre générique ---------- */
.pain, .service-card, .stat, .step, .nap, .faq-item, .lead-form {
  background: var(--glass);
  border: 1px solid var(--hairline-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}

/* ---------- Bande statistiques (sous le hero) ---------- */
.stats-band {
  padding-block: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  background: var(--bg-2);
}
.stats-band .stats-row { margin-bottom: 0; }
.stats-intro {
  text-align: center; margin: 0 0 28px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--text);
}

/* ---------- Problème ---------- */
.problem { background: var(--bg-2); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain {
  padding: 32px 28px;
  border-radius: var(--r-lg);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.pain:hover { transform: translateY(-6px); border-color: rgba(91,127,255,0.4); box-shadow: var(--shadow-card), 0 0 40px rgba(91,127,255,0.10); }
.pain-num {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pain h3 { margin: 14px 0 10px; }
.pain p { color: var(--text-muted); font-size: 0.96rem; }

/* ---------- Solution ---------- */
.solution-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.solution-visual img {
  width: 100%; border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3.1; object-fit: cover;
}
.solution-copy .lead { color: var(--text-muted); font-size: 1.1rem; margin: 16px 0 28px; max-width: 50ch; }
.solution-list { display: grid; gap: 18px; margin-bottom: 34px; }
.solution-list li { display: flex; gap: 14px; align-items: flex-start; }
.solution-list strong { color: var(--text); }
.solution-list div { color: var(--text-muted); }
.check {
  flex: none; width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  background: var(--grad);
  color: #fff;
  margin-top: 2px;
  box-shadow: 0 6px 14px rgba(91,127,255,0.3);
}

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative;
  padding: 36px 30px;
  border-radius: var(--r-lg);
  /* pas d'overflow:hidden : le badge doit pouvoir dépasser en haut */
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit; /* glow contenu dans les coins arrondis sans overflow:hidden */
  background: radial-gradient(420px circle at 50% -15%, rgba(91,127,255,0.12), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(91,127,255,0.4); box-shadow: var(--shadow-card), 0 0 50px rgba(91,127,255,0.12); }
.service-card:hover::before { opacity: 1; }
.service-card-feature { background: var(--grad-soft); border-color: rgba(122,95,255,0.35); }
.service-badge {
  position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--grad); color: #fff;
  font-size: 0.72rem; font-weight: 700;
  padding: 7px 16px; border-radius: var(--r-pill);
  box-shadow: 0 8px 18px rgba(91,127,255,0.35);
  z-index: 2;
}
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  border-radius: var(--r-md);
  background: var(--grad-soft);
  border: 1px solid var(--hairline);
  color: #3a55d8;
  margin-bottom: 22px;
  position: relative; z-index: 1;
}
.service-card h3, .service-card > p, .service-card ul { position: relative; z-index: 1; }
.service-card h3 { margin-bottom: 10px; }
.service-card > p { color: var(--text-muted); margin-bottom: 18px; font-size: 0.97rem; }
.service-card ul { display: grid; gap: 10px; }
.service-card ul li { position: relative; padding-left: 26px; color: var(--text-muted); font-size: 0.92rem; }
.service-card ul li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 13px; height: 9px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.services-cta { margin-top: 48px; text-align: center; }

/* ---------- Tarifs ---------- */
.pricing { background: var(--bg-2); }
.pricing-grid { align-items: stretch; }
.pricing-card { display: flex; flex-direction: column; padding-top: 38px; }
.pricing-tier { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--text); }
.pricing-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 12px 0 6px; }
.pricing-price strong {
  font-family: var(--font-display); font-size: 2.2rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pricing-from { font-size: 0.82rem; color: var(--text-dim); }
.pricing-unit { font-size: 0.82rem; color: var(--text-dim); font-weight: 600; }
.pricing-for { color: var(--text-muted); font-size: 0.92rem; font-style: italic; margin-bottom: 20px; position: relative; z-index: 1; }
.pricing-card ul { display: grid; gap: 10px; margin-bottom: 20px; position: relative; z-index: 1; }
.pricing-card ul li { position: relative; padding-left: 26px; color: var(--text-muted); font-size: 0.92rem; }
.pricing-card ul li strong { color: var(--text); }
.pricing-card ul li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 13px; height: 9px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.pricing-delay { font-weight: 600; color: var(--text); font-size: 0.92rem; margin-bottom: 22px; position: relative; z-index: 1; }
.btn-block { width: 100%; justify-content: center; margin-top: auto; position: relative; z-index: 1; }
.pricing-note { text-align: center; color: var(--text-dim); font-size: 0.88rem; max-width: 760px; margin: 30px auto 0; }

.pricing-recurring { margin-top: 60px; }
.pricing-recurring h3 { text-align: center; margin-bottom: 26px; font-size: clamp(1.2rem, 2.4vw, 1.4rem); }
.pricing-table-wrap {
  overflow-x: auto; border-radius: var(--r-lg);
  border: 1px solid var(--hairline-soft); background: var(--glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}
.pricing-table { width: 100%; border-collapse: collapse; min-width: 580px; }
.pricing-table th, .pricing-table td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--hairline-soft); font-size: 0.92rem; }
.pricing-table thead th { font-family: var(--font-display); color: var(--text); font-size: 1rem; }
.pricing-table thead th:first-child { text-align: left; }
.pricing-table tbody th { text-align: left; color: var(--text-muted); font-weight: 600; }
.pricing-table .price-row th, .pricing-table .price-row td { font-weight: 700; color: var(--text); background: var(--grad-soft); }
.pricing-table tr:last-child th, .pricing-table tr:last-child td { border-bottom: none; }
.pricing-recurring-note { text-align: center; color: var(--text-dim); font-size: 0.86rem; margin-top: 16px; }

/* ---------- Réalisations ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.work-card {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--glass); border: 1px solid var(--hairline-soft);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card), 0 0 50px rgba(91,127,255,0.12); }
.work-thumb { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--hairline-soft); }
.work-thumb img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: top center;
  transition: transform 0.6s var(--ease-out);
}
.work-card:hover .work-thumb img { transform: scale(1.04); }
.work-body { padding: 24px 26px 28px; }
.work-tag {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  color: #3a55d8; background: var(--grad-soft);
  padding: 5px 12px; border-radius: var(--r-pill); margin-bottom: 12px;
}
.work-body h3 { margin-bottom: 8px; }
.work-body p { color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- Bande d'objectifs ---------- */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 60px; }
.stat { text-align: center; padding: 36px 24px; border-radius: var(--r-lg); }
.stat strong {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.4rem);
  display: block; line-height: 1; margin-bottom: 12px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 36px 30px; border-radius: var(--r-lg); transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out); }
.step:hover { transform: translateY(-6px); border-color: rgba(91,127,255,0.4); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--r-pill);
  background: var(--grad); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(91,127,255,0.35);
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 0.96rem; }

/* ---------- Zones / SEO local ---------- */
.local { background: var(--bg-2); }
.local-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.local-copy p { color: var(--text-muted); margin: 16px 0 26px; max-width: 52ch; }
.zones { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.zones li {
  padding: 10px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--glass);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.zones li:hover { border-color: rgba(91,127,255,0.5); color: var(--text); }
.nap { padding: 24px 26px; border-radius: var(--r-md); line-height: 1.9; }
.nap p { margin: 0; color: var(--text-muted); }
.nap a:hover { color: var(--accent); }
.local-visual img {
  width: 100%; border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3.2; object-fit: cover;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; display: grid; gap: 14px; }
.faq-item { border-radius: var(--r-md); overflow: hidden; transition: border-color 0.3s var(--ease-out); }
.faq-item[open] { border-color: rgba(91,127,255,0.45); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 26px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform 0.3s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-answer { padding: 0 26px 24px; color: var(--text-muted); }

/* ---------- CTA final + formulaire ---------- */
.final-cta { position: relative; overflow: hidden; }
.final-cta::before {
  content: ""; position: absolute; inset: -15%; z-index: -1; pointer-events: none; will-change: transform;
  background:
    radial-gradient(42% 55% at 18% 50%, rgba(91,127,255,0.18), transparent 68%),
    radial-gradient(40% 50% at 88% 30%, rgba(122,95,255,0.18), transparent 68%);
  animation: blobFloat 26s ease-in-out infinite;
}
.final-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(40px, 5vw, 70px); align-items: center; }
.final-copy h2 { margin-bottom: 18px; max-width: 16ch; }
.final-copy > p { color: var(--text-muted); font-size: 1.1rem; max-width: 46ch; margin-bottom: 26px; }
.final-points { display: grid; gap: 12px; margin-bottom: 30px; }
.final-points li { display: flex; align-items: center; gap: 10px; color: var(--text-muted); }
.final-points svg { color: var(--accent); flex: none; }
.final-call { display: inline-flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 0.98rem; }
.final-call svg { color: var(--accent); }
.final-call strong { color: var(--text); }
.final-call:hover strong { color: var(--accent); }

.lead-form { padding: clamp(28px, 4vw, 40px); border-radius: var(--r-lg); }
.lead-form h3 { margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.field .opt { color: var(--text-dim); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline);
  background: #fff;
  color: var(--text);
  font-family: inherit; font-size: 0.98rem;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field select {
  -webkit-appearance: none; appearance: none;
  cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2345506B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 92px; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #e5484d; }
.field select.just-set {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: offre-pulse 1.2s var(--ease-out);
}
@keyframes offre-pulse {
  0% { box-shadow: 0 0 0 0 rgba(91,127,255,0.45); }
  100% { box-shadow: 0 0 0 8px rgba(91,127,255,0); }
}
.field-error { display: block; color: #c8373b; font-size: 0.8rem; margin-top: 6px; min-height: 1em; }
.form-note { color: var(--text-dim); font-size: 0.84rem; margin-top: 14px; text-align: center; }
.form-success {
  margin-top: 16px; padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--grad-soft); border: 1px solid rgba(91,127,255,0.4);
  color: #3a55d8; font-size: 0.92rem; font-weight: 600; text-align: center;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--hairline-soft); padding-top: clamp(52px, 7vw, 76px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 38px; padding-bottom: 46px; }
.footer-brand p { color: var(--text-dim); font-size: 0.92rem; margin-top: 16px; max-width: 38ch; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-dim); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.93rem; padding: 5px 0; transition: color 0.2s var(--ease-out); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--hairline-soft); padding-block: 24px; }
.footer-bottom p { color: var(--text-dim); font-size: 0.84rem; }

/* ---------- Sticky mobile call ---------- */
.sticky-call {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95;
  display: none; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; border-radius: var(--r-pill);
  background: var(--grad); color: #fff; font-weight: 700;
  box-shadow: 0 14px 30px rgba(91,127,255,0.4);
}
.sticky-call:active { transform: scale(0.98); }

/* ---------- Reveal au scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); filter: blur(6px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), filter 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .mobile-menu nav a { animation: none; opacity: 1; transform: none; }
  .btn:active, .sticky-call:active { transform: none; }
  .hero-media-img, .hero-blob, .final-cta::before { animation: none; }
  .hero-copy h1 .word > span,
  .hero-sub, .hero-cta, .hero-trust, .hero-visual { animation: none; opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 20ch; }
  .hero-visual { max-width: 520px; }
  .solution-grid, .local-grid, .final-grid { grid-template-columns: 1fr; }
  .solution-visual, .local-visual { order: -1; }
  .problem-grid, .services-grid, .stats-row, .testimonials, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav-shell { padding: 8px 8px 8px 18px; }
}

@media (max-width: 640px) {
  :root { --section-y: clamp(64px, 15vw, 92px); }
  .problem-grid, .services-grid, .stats-row, .testimonials, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 128px; }
  .hero-card-stat { left: 8px; }
  .hero-card-rank { right: 8px; }
  .sticky-call { display: flex; }
  body { padding-bottom: 78px; }
  .hero-cta .btn { flex: 1 1 auto; }
}

/* ---------- Bandeau cookies (RGPD) ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2000;
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 18px 22px; border-radius: var(--r-md);
  background: var(--glass-2); border: 1px solid var(--hairline);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-pop);
  animation: cookie-in 0.5s var(--ease-out) both;
}
.cookie-banner[hidden] { display: none; }
.cookie-text { flex: 1 1 320px; color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; margin: 0; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}
