/* ============================================================
   Julien Jimenez · Expert e-réputation
   Design system : CLAIR (light), premium, puissant ·police Quicksand
   ============================================================ */

:root {
  /* Couleurs ·thème clair */
  --bg: #ffffff;
  --bg-2: #f4f6fd;
  --bg-3: #eaeefb;
  --surface: #ffffff;
  --surface-2: #f7f9ff;
  --border: rgba(18, 26, 51, 0.10);
  --border-strong: rgba(18, 26, 51, 0.16);

  --ink: #0f1730;          /* titres, texte fort */
  --text: #1d2742;         /* texte principal */
  --muted: #576389;        /* texte secondaire */
  --muted-2: #6d7896;      /* petit texte / légendes */

  --accent: #3b5bfd;       /* bleu indigo */
  --accent-2: #7c4dff;     /* violet */
  --accent-ink: #2b45d4;   /* accent lisible en texte sur blanc */
  --danger: #e5484d;
  --success: #12b76a;
  --star: #f5a623;

  --grad: linear-gradient(120deg, #3b5bfd 0%, #7c4dff 100%);
  --grad-soft: linear-gradient(135deg, #3b5bfd 0%, #7c4dff 55%, #a855f7 110%);
  --grad-text: linear-gradient(120deg, #3b5bfd 0%, #7c4dff 55%, #b14dff 110%);

  /* Typo ·une seule famille : Quicksand */
  --font-display: "Quicksand", "Segoe UI", system-ui, sans-serif;
  --font-body: "Quicksand", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Quicksand", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 8px 24px -12px rgba(20, 30, 84, 0.20);
  --shadow: 0 26px 60px -26px rgba(20, 30, 84, 0.30);
  --shadow-glow: 0 0 0 1px rgba(59, 91, 253, 0.30), 0 30px 70px -30px rgba(59, 91, 253, 0.40);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---------- Ambiance : bruit + spotlight + progress ---------- */
.noise {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.spotlight {
  position: fixed; width: 680px; height: 680px; border-radius: 50%; z-index: 0; pointer-events: none;
  left: 0; top: 0; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(59, 91, 253, 0.10) 0%, rgba(124, 77, 255, 0.05) 40%, transparent 70%);
  transition: opacity 0.4s ease; opacity: 0; will-change: transform;
}
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 200;
  background: var(--grad); box-shadow: 0 0 12px rgba(124, 77, 255, 0.5);
}

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

/* ---------- Focus clavier visible (WCAG 2.4.7) ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px;
}
.faq-item summary:focus-visible { outline-offset: -2px; }
.consent input:focus-visible { outline-offset: 2px; }

/* ---------- Typographie ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-ink); margin-bottom: 20px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px rgba(124,77,255,0.5); }

.title-accent, .hl {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto; animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

/* ---------- Boutons ---------- */
.btn {
  --btn-pad-y: 13px; --btn-pad-x: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--btn-pad-y) var(--btn-pad-x); border-radius: 100px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 0.98rem; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap; position: relative; will-change: transform;
}
.btn-lg { --btn-pad-y: 16px; --btn-pad-x: 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(59, 91, 253, 0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 46px -12px rgba(124, 77, 255, 0.6); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent-ink); }
.btn-nav { background: var(--surface); border: 1px solid var(--border-strong); color: var(--ink); padding: 9px 18px; font-size: 0.9rem; box-shadow: var(--shadow-sm); }
.btn-nav:hover { border-color: var(--accent); color: var(--accent-ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s, padding 0.3s, box-shadow 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--border); box-shadow: 0 10px 30px -20px rgba(20, 30, 84, 0.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; }
.site-header.scrolled .header-inner { padding-block: 12px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { width: 44px; height: 44px; flex-shrink: 0; filter: drop-shadow(0 8px 18px rgba(59, 91, 253, 0.30)); }
.brand-logo svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.brand-text em { font-style: normal; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; gap: 30px; }
.nav a { font-size: 0.95rem; font-weight: 600; color: var(--muted); position: relative; transition: color 0.2s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--grad); border-radius: 2px; transition: width 0.3s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: flex; flex-direction: column; gap: 6px; padding: 12px 24px 26px;
  background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 12px 4px; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-nav a.btn { color: #fff; border: 0; margin-top: 10px; justify-content: center; }

/* ---------- Sections ---------- */
.section { position: relative; z-index: 2; padding-block: clamp(70px, 9vw, 130px); }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 720px; margin-bottom: 60px; }
.section-sub { color: var(--muted); font-size: 1.12rem; margin-top: 18px; }
.section-sub strong, p strong { color: var(--ink); font-weight: 700; }

/* ---------- Reveal on scroll (masqué UNIQUEMENT si JS actif -> pas de page blanche sans JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 120px; padding-bottom: 60px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.aurora-1 { width: 640px; height: 640px; background: radial-gradient(circle, rgba(59, 91, 253, 0.30), transparent 65%); top: -200px; left: -140px; animation: float1 18s ease-in-out infinite; }
.aurora-2 { width: 560px; height: 560px; background: radial-gradient(circle, rgba(124, 77, 255, 0.26), transparent 65%); top: 6%; right: -170px; animation: float2 22s ease-in-out infinite; }
.aurora-3 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(236, 72, 153, 0.16), transparent 68%); bottom: -180px; left: 28%; animation: float1 26s ease-in-out infinite reverse; }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, 50px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-50px, 30px); } }
.grid-glow {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(18,26,51,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(18,26,51,0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
}

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero-copy { max-width: 640px; }
.hero-h1 { font-size: clamp(1.55rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.hero-h1 .hero-name { color: var(--ink); }
.hero-h1 .hero-role { color: var(--accent-ink); }
.hero-headline { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5.2vw, 3.7rem); line-height: 1.03; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 22px; }
.hero-lead { color: var(--muted); font-size: 1.18rem; margin: 0 0 32px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.hero-trust li { display: flex; align-items: center; gap: 6px; }

/* Visuel SERP */
.hero-visual { position: relative; padding-bottom: 44px; }
.serp-card {
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow);
}
.serp-top { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.serp-logo { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; font-size: 1.15rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.serp-query { flex: 1; background: var(--bg-2); border: 1px solid var(--border); border-radius: 100px; padding: 7px 14px; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.serp-search { opacity: 0.7; }
.serp-results { display: flex; flex-direction: column; gap: 12px; }
.serp-item {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border); position: relative;
  transition: opacity 0.6s, transform 0.6s, filter 0.6s;
}
.js .serp-item { opacity: 0.35; transform: translateY(6px); }
.serp-item.show { opacity: 1; transform: none; }
.serp-item.cleaned { opacity: 0.25; filter: grayscale(1) blur(1px); }
.serp-fav { width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; margin-top: 2px; }
.serp-fav.neg { background: linear-gradient(135deg, #f97066, #d92d20); }
.serp-fav.pos { background: linear-gradient(135deg, #32d583, #039855); }
.serp-lines { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.l { height: 8px; border-radius: 5px; background: rgba(18,26,51,0.10); }
.l-title { height: 11px; width: 70%; }
.l-title.neg { background: linear-gradient(90deg, #f97066, rgba(249,112,102,0.25)); }
.l-title.pos { background: linear-gradient(90deg, #12b76a, rgba(18,183,106,0.25)); }
.l-url { width: 45%; height: 6px; background: rgba(18,26,51,0.06); }
.l-text { width: 90%; }
.serp-tag { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 100px; flex-shrink: 0; }
.tag-neg { background: rgba(229,72,77,0.12); color: #c01c26; border: 1px solid rgba(229,72,77,0.28); }
.tag-pos { background: rgba(18,183,106,0.12); color: #087443; border: 1px solid rgba(18,183,106,0.28); }

.gauge-card {
  position: absolute; bottom: -34px; right: -18px; display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 18px;
  padding: 14px 20px 14px 14px; box-shadow: var(--shadow);
}
.gauge { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.gauge svg { transform: rotate(-90deg); }
.gauge-bg { fill: none; stroke: rgba(18,26,51,0.09); stroke-width: 9; }
.gauge-fg { fill: none; stroke: #12b76a; stroke: url(#gaugeGrad); stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.8s var(--ease); }
.gauge-val { position: absolute; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--ink); }
.gauge-val small { display: block; font-size: 0.6rem; color: var(--muted); font-weight: 600; }
.gauge-label { display: flex; flex-direction: column; }
.gauge-label span { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.gauge-label strong { font-family: var(--font-display); font-size: 1rem; color: var(--success); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrap { position: relative; z-index: 2; border-block: 1px solid var(--border); padding-block: 22px; background: var(--bg-2); overflow: hidden; }
.marquee { display: flex; }
.marquee-track { display: flex; align-items: center; gap: 26px; white-space: nowrap; animation: scroll-x 34s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 1.35rem; color: var(--muted); font-weight: 600; }
.marquee-track span:nth-child(even) { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

/* ============================================================
   PROBLÈME / STATS
   ============================================================ */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.stat-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.stat-num { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 700; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.stat-card p { color: var(--muted); font-size: 0.98rem; }
.stat-source { margin-top: 22px; font-size: 0.82rem; color: var(--muted-2); }

/* ============================================================
   PRESTATIONS
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), border-color 0.4s, box-shadow 0.45s;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); }
.service-card:hover::before { opacity: 1; }
.service-card.is-featured { background: linear-gradient(180deg, rgba(59,91,253,0.07), rgba(124,77,255,0.02)); border-color: rgba(59,91,253,0.28); }
.service-badge {
  position: absolute; top: 18px; right: 18px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 5px 11px; border-radius: 100px; background: var(--grad); color: #fff;
}
.service-icon { font-size: 1.7rem; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px;
  background: var(--bg-2); border: 1px solid var(--border); margin-bottom: 22px; }
.service-card h3 { margin-bottom: 12px; }
.service-card > p { color: var(--muted); font-size: 0.98rem; margin-bottom: 18px; }
.service-list { display: flex; flex-direction: column; gap: 9px; }
.service-list li { position: relative; padding-left: 24px; font-size: 0.92rem; color: var(--muted); font-weight: 600; }
.service-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ============================================================
   MÉTHODE / TIMELINE
   ============================================================ */
.timeline { position: relative; display: flex; flex-direction: column; gap: 8px; max-width: 860px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 20px; bottom: 20px; width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2)); opacity: 0.4; }
.timeline-step { display: flex; gap: 26px; align-items: flex-start; padding: 22px; border-radius: var(--radius);
  transition: background 0.4s; }
.timeline-step:hover { background: var(--bg-2); }
.step-num { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--accent-ink);
  background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-sm); position: relative; z-index: 2; }
.timeline-step:hover .step-num { background: var(--grad); color: #fff; border-color: transparent; }
.step-body h3 { margin-bottom: 8px; }
.step-body p { color: var(--muted); font-size: 1rem; }

/* ============================================================
   RÉSULTATS
   ============================================================ */
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; }
.result-metric { text-align: center; padding: 34px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.result-metric .stat-num { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result-metric p { color: var(--muted); font-size: 0.95rem; }

.beforeafter { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.ba-col { display: flex; flex-direction: column; gap: 14px; }
.ba-tag { font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.ba-before .ba-tag { color: var(--danger); }
.ba-after .ba-tag { color: var(--success); }
.ba-col ul { display: flex; flex-direction: column; gap: 12px; }
.ba-col li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.98rem; color: var(--muted); font-weight: 600; }
.ba-x, .ba-c { font-style: normal; font-weight: 700; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; }
.ba-x { background: rgba(229,72,77,0.14); color: var(--danger); }
.ba-c { background: rgba(18,183,106,0.14); color: var(--success); }
.ba-arrow { font-size: 2rem; color: var(--accent); }

/* ============================================================
   EXPERT
   ============================================================ */
.expert-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.expert-portrait { position: relative; }
.portrait-frame { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  display: grid; place-items: center; }
.portrait-frame img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.portrait-frame::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 48, 0.42)); }
.portrait-glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; filter: blur(70px);
  background: radial-gradient(circle, rgba(124,77,255,0.35), transparent 70%); animation: float1 14s ease-in-out infinite; }
.portrait-badge { position: absolute; z-index: 3; bottom: 18px; left: 18px; right: 18px; background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-sm); }
.portrait-badge strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.portrait-badge span { font-size: 0.78rem; font-weight: 600; color: var(--accent-ink); letter-spacing: 0.04em; text-transform: uppercase; }

.expert-copy > p { color: var(--muted); margin-bottom: 18px; }
.expert-values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0 32px; }
.expert-values li { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px;
  background: var(--bg-2); border: 1px solid var(--border); }
.expert-values strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.expert-values span { font-size: 0.88rem; color: var(--muted); }

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 28px;
  box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; }
.testi-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.testi-stars { color: var(--star); letter-spacing: 3px; margin-bottom: 16px; font-size: 1.05rem; }
.testi-card blockquote { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.5; margin-bottom: 18px; color: var(--ink); }
.testi-card figcaption { font-size: 0.88rem; font-weight: 600; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-inner { max-width: 860px; margin-inline: auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: border-color 0.3s, box-shadow 0.3s; }
.faq-item[open] { border-color: var(--border-strong); box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; list-style: none; padding: 22px 26px; font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-display); font-size: 1.6rem; color: var(--accent);
  transition: transform 0.3s; flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 26px 24px; color: var(--muted); }
.faq-answer p { font-size: 1rem; }

/* ============================================================
   CONTACT ·bloc d'accent (le moment fort)
   ============================================================ */
.contact { position: relative; background: var(--grad-soft); overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background: radial-gradient(circle at 15% 10%, rgba(255,255,255,0.25), transparent 45%); }
.contact-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact .eyebrow { color: rgba(255,255,255,0.9); }
.contact h2 { color: #fff; }
.contact .section-sub { color: rgba(255,255,255,0.9); }
.contact .section-sub strong { color: #fff; }
.contact-points { display: flex; flex-direction: column; gap: 12px; margin: 26px 0; }
.contact-points li { color: rgba(255,255,255,0.92); font-weight: 600; }
.contact-direct { color: rgba(255,255,255,0.85); font-size: 0.98rem; }
.contact-direct a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.contact-form-wrap { background: var(--surface); border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-lg); padding: 34px; box-shadow: 0 30px 70px -24px rgba(20, 20, 60, 0.5); }

/* Carte contact e-mail (mailto) */
.contact-card { text-align: center; }
.contact-card-icon { display: inline-flex; align-items: center; justify-content: center;
  width: 66px; height: 66px; border-radius: 50%; background: rgba(59,91,253,0.10);
  font-size: 1.9rem; margin-bottom: 18px; }
.contact-card-title { font-size: 1.4rem; color: var(--ink); margin-bottom: 12px; }
.contact-card-lead { color: var(--muted); font-size: 1rem; line-height: 1.65; margin: 0 auto 24px; max-width: 34ch; }
.contact-email { display: inline-block; margin-bottom: 24px; font-size: 1.22rem; font-weight: 800;
  color: var(--accent-ink); text-decoration: none; word-break: break-word;
  padding-bottom: 3px; border-bottom: 2px solid rgba(59,91,253,0.28);
  transition: color 0.25s, border-color 0.25s; }
.contact-email:hover { color: var(--accent); border-color: var(--accent); }
.contact-card-note { margin-top: 18px; font-size: 0.86rem; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.field label span { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border-strong);
  color: var(--ink); font-family: var(--font-body); font-weight: 500; font-size: 0.98rem; transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,91,253,0.18); }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23576389'%3E%3Cpath d='M7 10L2 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; color: var(--muted); margin-bottom: 20px; cursor: pointer; }
.consent a { color: var(--accent-ink); font-weight: 700; text-decoration: underline; }
.consent input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.hp-field { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; font-size: 0.92rem; font-weight: 600; text-align: center; min-height: 1.2em; color: var(--ink); }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { position: relative; z-index: 2; border-top: 1px solid var(--border); background: var(--bg-2); padding-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 16px; max-width: 300px; }
.footer-nav h3, .footer-contact h3 { font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted-2); margin-bottom: 16px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--muted); font-size: 0.94rem; font-weight: 600; transition: color 0.2s; }
.footer-nav a:hover { color: var(--accent-ink); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-contact a:first-of-type { color: var(--accent-ink); font-size: 0.94rem; font-weight: 700; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 26px;
  border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--muted-2); }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { color: var(--muted); font-weight: 600; transition: color 0.2s; }
.footer-legal-links a:hover { color: var(--accent-ink); text-decoration: underline; }

/* ============================================================
   PAGES LÉGALES
   ============================================================ */
.legal-page { position: relative; z-index: 2; padding-block: 120px 90px; }
.legal-page .container { max-width: 820px; }
.legal-back { display: inline-block; color: var(--accent-ink); font-weight: 700; font-size: 0.92rem; margin-bottom: 30px; }
.legal-back:hover { text-decoration: underline; }
.legal-page h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 10px; }
.legal-updated { color: var(--muted-2); font-size: 0.88rem; margin-bottom: 40px; }
.legal-page section { margin-bottom: 34px; }
.legal-page h2 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 12px; color: var(--ink); }
.legal-page p { color: var(--muted); }
.legal-page a { color: var(--accent-ink); font-weight: 600; }
.legal-page a:hover { text-decoration: underline; }
.legal-page em { color: var(--muted-2); font-style: italic; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 70px; }
  .hero-visual { max-width: 460px; }
  .gauge-card { right: 0; }
  .expert-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .services-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid, .results-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav, .btn-nav { display: none; }
  .nav-toggle { display: flex; }
  .services-grid, .testi-grid, .expert-values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .beforeafter { grid-template-columns: 1fr; text-align: left; }
  .ba-arrow { transform: rotate(90deg); justify-self: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 42px; }
}
@media (max-width: 480px) {
  .stat-grid, .results-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 20px; }
  body { font-size: 16px; }
}
