/* =========================================================
   WebActor. Feuille de style principale
   Sommaire :
   1. Variables & reset
   2. Typographie
   3. Layout & utilitaires
   4. Header & navigation
   5. Boutons
   6. Hero
   7. Sections génériques / cartes
   8. Bandeau chiffres
   9. Timeline "Comment ça marche"
   10. FAQ accordéon
   11. Formulaire de contact
   12. Pages légales
   13. Footer
   14. Animations & scroll reveal
   15. Responsive
   ========================================================= */

/* ---------- 1. Variables & reset ---------- */
:root {
  --indigo-600: #4f46e5;
  --indigo-500: #6366f1;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --pink-500: #ec4899;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;

  --ink-950: #0b0e1f;
  --ink-900: #12162c;
  --ink-800: #1b2140;
  --ink-700: #2a2f52;

  --slate-900: #0f172a;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;

  --white: #ffffff;

  --grad-brand: linear-gradient(120deg, var(--indigo-500) 0%, var(--violet-500) 55%, var(--pink-500) 100%);
  --grad-brand-soft: linear-gradient(120deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.12) 55%, rgba(236, 72, 153, 0.12) 100%);
  --grad-dark: radial-gradient(ellipse 80% 60% at 30% 0%, #241e52 0%, var(--ink-950) 55%), linear-gradient(180deg, var(--ink-950), var(--ink-900));

  --font-heading: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 24px -8px rgba(76, 29, 149, 0.18), 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 60px -16px rgba(76, 29, 149, 0.28), 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 20px 60px -12px rgba(99, 102, 241, 0.45);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.45s;
  --dur-slow: 0.8s;

  --container-w: 1180px;
  --header-h: 80px;
}

* ,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
  color: var(--ink-950);
}

p {
  margin: 0 0 1em;
}

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

::selection {
  background: var(--violet-500);
  color: var(--white);
}

/* ---------- 2. Typographie ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px 7px 12px;
  border-radius: var(--radius-full);
  background: var(--grad-brand-soft);
  color: var(--violet-600);
  border: 1px solid rgba(139, 92, 246, 0.25);
}
.eyebrow--light {
  background: rgba(255, 255, 255, 0.08);
  color: #d9d5ff;
  border-color: rgba(255, 255, 255, 0.16);
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

.section-head {
  max-width: 640px;
  margin: 0 0 3rem;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.6rem);
  margin-top: 0.5em;
}
.section-head p {
  color: var(--slate-600);
  font-size: 1.08rem;
}

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

/* ---------- 3. Layout & utilitaires ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

section {
  position: relative;
}

.section-pad {
  padding-block: clamp(4rem, 3rem + 4vw, 7rem);
}

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

/* ---------- 4. Header & navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
}
/* Le fond flouté (frosted glass) vit sur un calque séparé, derrière le contenu du header.
   Important : le transform/backdrop-filter reste ICI, jamais directement sur .site-header,
   car .main-nav (le menu plein écran mobile) est en position:fixed À L'INTÉRIEUR du header.
   Un transform/filter sur .site-header changerait son conteneur de référence et casserait
   le menu mobile (il se calerait sur la hauteur du bandeau au lieu du viewport). */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  transition: background-color var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header.is-scrolled::before {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 12px 30px -18px rgba(15, 23, 42, 0.25);
}
.site-header.is-scrolled .brand-mark-bg { opacity: 1; }
.site-header.is-scrolled .brand { color: var(--ink-950); }
.site-header.is-scrolled .nav-links a { color: var(--ink-900); }
.site-header.is-scrolled .nav-links a[aria-current="page"] { color: var(--violet-600); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  transition: color var(--dur-med) var(--ease-out);
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  box-shadow: 0 6px 16px -4px rgba(99, 102, 241, 0.55);
  color: var(--white);
}
.brand-mark svg { width: 20px; height: 20px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  position: relative;
  font-weight: 600;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.92);
  padding: 6px 0;
  transition: color var(--dur-med) var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transition: width var(--dur-fast) var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}
.nav-links a[aria-current="page"] {
  color: #ddd6fe;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: var(--white);
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 110;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink-950);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out), top var(--dur-fast) var(--ease-out);
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 5. Boutons ---------- */
.btn {
  --btn-pad-y: 0.85rem;
  --btn-pad-x: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.96rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad-brand);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink-950);
  border-color: var(--slate-200);
}
.btn-secondary:hover {
  border-color: var(--violet-500);
  color: var(--violet-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }
.btn-lg { --btn-pad-y: 1rem; --btn-pad-x: 2rem; font-size: 1.02rem; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 4.5rem);
  padding-bottom: 6rem;
  background: var(--grad-dark);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 22px 22px;
  z-index: 0;
  pointer-events: none;
}
.hero .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.hero .blob-a {
  width: 480px; height: 480px;
  background: radial-gradient(circle at 30% 30%, #8b5cf6, transparent 70%);
  top: -140px; left: -120px;
  animation: float-a 16s ease-in-out infinite;
}
.hero .blob-b {
  width: 420px; height: 420px;
  background: radial-gradient(circle at 60% 40%, #ec4899, transparent 70%);
  bottom: -160px; right: -100px;
  animation: float-b 18s ease-in-out infinite;
}
.hero .blob-c {
  width: 320px; height: 320px;
  background: radial-gradient(circle at 50% 50%, #6366f1, transparent 70%);
  top: 30%; right: 18%;
  animation: float-c 14s ease-in-out infinite;
}
@keyframes float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 50px) scale(1.08); }
}
@keyframes float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -30px) scale(1.1); }
}
@keyframes float-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(0.92); }
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 1.6rem + 3vw, 3.4rem);
  margin-top: 0.5em;
}
.hero-copy .lede {
  font-size: 1.15rem;
  color: #cbd2ff;
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.hero-trust {
  margin-top: 2.2rem;
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #b9c0f0;
}
.hero-trust svg { width: 18px; height: 18px; color: var(--amber-400); flex-shrink: 0; }

.reveal-up {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-up var(--dur-slow) var(--ease-out) forwards;
}
@keyframes reveal-up {
  to { opacity: 1; transform: translateY(0); }
}
.d-1 { animation-delay: 0.05s; }
.d-2 { animation-delay: 0.18s; }
.d-3 { animation-delay: 0.32s; }
.d-4 { animation-delay: 0.46s; }

/* Illustration hero : mockup navigateur animé */
.hero-art {
  position: relative;
}
.browser-mock {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(6px);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
  animation: mock-drift 9s ease-in-out infinite;
}
@keyframes mock-drift {
  0%, 100% { transform: perspective(1000px) rotateY(-6deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1000px) rotateY(-3deg) rotateX(0deg) translateY(-10px); }
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.browser-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.browser-bar .url-pill {
  margin-left: 10px;
  flex: 1;
  height: 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
}
.browser-body {
  padding: 26px;
  display: grid;
  gap: 14px;
}
.skeleton {
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.14), rgba(255,255,255,0.06));
  background-size: 200% 100%;
  animation: shimmer 2.6s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.sk-title { height: 22px; width: 60%; }
.sk-line { height: 12px; width: 100%; }
.sk-line.w-80 { width: 80%; }
.sk-line.w-40 { width: 40%; }
.sk-block-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 6px; }
.sk-block { height: 64px; border-radius: 12px; }
.sk-cta { height: 38px; width: 42%; border-radius: var(--radius-full); margin-top: 6px; background: var(--grad-brand); opacity: 0.85; animation: none; }

.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink-950);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-lg);
  animation: chip-float 6s ease-in-out infinite;
}
.floating-chip svg { width: 18px; height: 18px; }
.chip-1 { top: -18px; right: 10%; color: var(--violet-600); animation-delay: 0.3s; }
.chip-2 { bottom: 6%; left: -30px; color: #16a34a; animation-delay: 1.4s; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- 7. Sections génériques / cartes ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: 3.5rem;
  background: var(--grad-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(139,92,246,0.45), transparent 70%);
  filter: blur(60px);
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 1.6rem + 2vw, 2.9rem); margin-top: 0.5em; }
.page-hero p { color: #c7cdf5; max-width: 58ch; font-size: 1.08rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
  position: relative;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad-brand-soft);
  color: var(--violet-600);
  margin-bottom: 1.3rem;
  transition: transform var(--dur-med) var(--ease-spring), background var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card:hover .feature-icon {
  background: var(--grad-brand);
  color: var(--white);
  transform: rotate(-6deg) scale(1.08);
}
.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5em;
}
.feature-card p {
  color: var(--slate-600);
  font-size: 0.98rem;
  margin-bottom: 0;
}

/* Cartes services (avec prix) */
.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card.is-highlight {
  background: var(--grad-dark);
  color: var(--white);
  border-color: transparent;
}
.service-card.is-highlight h3 { color: var(--white); }
.service-card.is-highlight p,
.service-card.is-highlight .service-price-sub { color: #c7cdf5; }
.service-card.is-highlight .service-icon { background: rgba(255,255,255,0.12); color: var(--white); }
.service-card.is-highlight .pricing-option strong { color: var(--white); }
.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad-brand-soft);
  color: var(--violet-600);
  flex-shrink: 0;
}
.service-icon svg { width: 26px; height: 26px; }
.service-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background: var(--amber-400);
  color: #422006;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.3em; }
.service-card p { color: var(--slate-600); font-size: 0.96rem; margin-bottom: 0; flex-grow: 1; }
.service-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-top: 1rem;
  margin-top: auto;
  border-top: 1px dashed var(--slate-200);
}
.service-card.is-highlight .service-price { border-top-color: rgba(255,255,255,0.2); }
.service-price strong { font-family: var(--font-heading); font-size: 1.3rem; }
.service-price-sub { font-size: 0.85rem; color: var(--slate-500); }

/* ---------- 7b. Offre & tarifs (pricing) ---------- */
.pricing-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.pricing-main .service-price { margin-top: 0.4rem; }
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0.4rem 0 1.4rem;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}
.pricing-features svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--amber-400);
}
.service-card:not(.is-highlight) .pricing-features li { color: var(--slate-600); }
.service-card:not(.is-highlight) .pricing-features svg { color: var(--violet-500); }

.pricing-option {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-md);
  border: 1.5px dashed rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}
.pricing-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--white);
}
.pricing-option-icon svg { width: 20px; height: 20px; }
.pricing-option-text { flex: 1; min-width: 200px; }
.pricing-option strong { display: block; font-family: var(--font-heading); font-size: 0.95rem; margin-bottom: 0.25em; }
.pricing-option p { margin: 0; font-size: 0.85rem; color: #c7cdf5; }
.pricing-option-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  white-space: nowrap;
  margin-left: auto;
}

@media (max-width: 760px) {
  .pricing-layout { grid-template-columns: 1fr; }
  .pricing-option-price { margin-left: 0; }
}

/* ---------- 8. Bandeau chiffres ---------- */
.stats-band {
  background: var(--ink-950);
  color: var(--white);
  padding-block: 3.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item .stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.1rem, 1.6rem + 2vw, 3rem);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-item .stat-label {
  color: #a8afe0;
  font-size: 0.92rem;
  margin-top: 0.4em;
}

/* ---------- 9. Timeline "Comment ça marche" ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--slate-200) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.timeline-step {
  position: relative;
  z-index: 1;
  background: var(--white);
}
.timeline-num {
  counter-increment: step;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-md);
}
.timeline-num::before { content: counter(step); }
.timeline-step h3 { font-size: 1.08rem; margin-bottom: 0.4em; }
.timeline-step p { color: var(--slate-600); font-size: 0.94rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--grad-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 2rem + 2vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(139,92,246,0.5), transparent 55%),
              radial-gradient(circle at 80% 80%, rgba(236,72,153,0.4), transparent 55%);
  z-index: -1;
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem); }
.cta-banner p { color: #cbd2ff; max-width: 50ch; margin-inline: auto; }
.cta-banner .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- 10. FAQ accordéon ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 780px;
  margin-inline: auto;
}
.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.faq-item[open] { border-color: var(--violet-500); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-950);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--grad-brand-soft);
  color: var(--violet-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform var(--dur-med) var(--ease-spring), background var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out);
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--grad-brand);
  color: var(--white);
}
.faq-icon svg { width: 16px; height: 16px; }
.faq-answer {
  padding: 0 1.4rem 1.3rem;
  color: var(--slate-600);
  font-size: 0.97rem;
}
.faq-answer p { margin: 0; }
.faq-answer p + p { margin-top: 0.7em; }

@media (prefers-reduced-motion: no-preference) {
  .faq-answer-inner {
    animation: faq-in 0.3s var(--ease-out);
  }
}
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 11. Formulaire de contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 2.5rem;
  align-items: flex-start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}
.form-grid .field.full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 0.5rem; position: relative; }
.field label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-900);
}
.field .req { color: var(--pink-500); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--slate-200);
  background: var(--slate-50);
  color: var(--ink-950);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate-400); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--violet-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}
.field small.hint { color: var(--slate-500); font-size: 0.8rem; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--pink-500);
  animation: shake 0.35s var(--ease-out);
}
.field-error {
  color: #e11d48;
  font-size: 0.8rem;
  display: none;
  align-items: center;
  gap: 6px;
}
.field.has-error .field-error { display: flex; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--slate-600);
}
.consent-field input {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--violet-500);
  flex-shrink: 0;
}
.consent-field a { color: var(--violet-600); text-decoration: underline; }

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.btn-loading .btn-label { opacity: 0; }
.btn-loading .btn-spinner { display: inline-flex !important; }
.btn-spinner {
  display: none;
  position: absolute;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
#submitBtn { position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  display: none;
  align-items: flex-start;
  gap: 10px;
  margin-top: 1rem;
}
.form-status.is-visible { display: flex; animation: reveal-up 0.4s var(--ease-out); }
.form-status.is-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-status.is-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.form-status svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-info-card {
  background: var(--grad-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-info-card h3 { color: var(--white); font-size: 1.15rem; }
.contact-info-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.4rem; }
.contact-info-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-info-list .ci-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-info-list .ci-icon svg { width: 18px; height: 18px; }
.contact-info-list .ci-label { font-size: 0.78rem; color: #a8afe0; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-info-list .ci-value { font-weight: 600; font-size: 0.96rem; }
.contact-info-list a.ci-value { display: inline-block; transition: color var(--dur-fast) var(--ease-out); }
.contact-info-list a.ci-value:hover { color: var(--amber-400); }

.contact-note {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  font-size: 0.9rem;
  color: var(--slate-600);
}
.contact-note strong { color: var(--ink-950); }

/* ---------- 12. Pages légales ---------- */
.legal-page {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 5rem;
}
.legal-content {
  max-width: 780px;
  margin-inline: auto;
}
.legal-content h1 { font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.4rem); }
.legal-content .updated {
  color: var(--slate-500);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}
.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 2.4rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--slate-200);
}
.legal-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 1.5rem; }
.legal-content p, .legal-content li { color: var(--slate-600); font-size: 0.98rem; }
.legal-content ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.legal-content li { margin-bottom: 0.4em; }
.legal-content a { color: var(--violet-600); text-decoration: underline; text-underline-offset: 2px; }
.legal-content strong { color: var(--ink-950); }

.fill-me {
  background: linear-gradient(transparent 60%, rgba(251, 191, 36, 0.45) 60%);
  font-weight: 700;
  color: var(--ink-950) !important;
  padding: 0 2px;
}

/* Variante pour un placeholder affiché sur fond sombre (ex: encart contact) :
   pas de surlignage jaune (illisible sur fond sombre), texte blanc + soulignement pointillé ambre. */
.fill-me--dark {
  background: none;
  color: var(--white) !important;
  border-bottom: 2px dashed var(--amber-400);
  padding: 0 1px 1px;
}

.legal-callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #78350f;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  margin-bottom: 2.5rem;
}
.legal-callout svg { width: 22px; height: 22px; flex-shrink: 0; color: #d97706; }
.legal-callout strong { color: #78350f; }

/* ---------- 13. Footer ---------- */
.site-footer {
  background: var(--ink-950);
  color: #b6bce6;
  padding-top: 4.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand { color: var(--white); }
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.92rem;
  max-width: 32ch;
  color: #9aa1d6;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-size: 0.92rem; transition: color var(--dur-fast) var(--ease-out); }
.footer-col a:hover { color: var(--white); }
.footer-social { display: flex; gap: 10px; margin-top: 1rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.footer-social a:hover { background: var(--grad-brand); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }

.footer-bottom {
  padding-block: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #7b82b8;
}
.footer-bottom a:hover { color: var(--white); }

/* ---------- 14. Animations & scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > * {
  transition-delay: calc(var(--stagger-i, 0) * 90ms);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), visibility var(--dur-fast);
  z-index: 90;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top:hover { transform: translateY(-4px); }

@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;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 480px; margin-inline: auto; width: 100%; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .timeline::before { display: none; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .nav-links, .nav-cta .btn-secondary { display: none; }
  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform var(--dur-med) var(--ease-out);
    z-index: 105;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
  }
  .main-nav .nav-links a { font-size: 1.4rem; padding: 0.9rem 0; color: var(--ink-900); }
  .main-nav .nav-links a[aria-current="page"] { color: var(--violet-600); }
  /* Le padding vertical est plus généreux sur mobile (grande zone de tap) : on remonte la
     barre de soulignement pour qu'elle colle au texte, comme sur la navbar desktop. */
  .main-nav .nav-links a::after { bottom: 8px; }
  .main-nav .nav-cta { display: flex; flex-direction: column; margin-top: 2rem; width: 100%; }
  .main-nav .nav-cta .btn { display: flex; }

  .form-grid { grid-template-columns: 1fr; }
  .form-grid .field { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Mockup du hero : plus compact sur mobile pour laisser le titre remonter,
     et repositionnement des bulles flottantes pour qu'elles ne débordent plus de l'écran. */
  .hero { padding-top: calc(var(--header-h) + 2.5rem); }
  .hero-art { max-width: 280px; margin-top: 0.5rem; }
  .browser-bar { padding: 10px 14px; }
  .browser-body { padding: 16px; gap: 10px; }
  .sk-title { height: 16px; }
  .sk-line { height: 9px; }
  .sk-block-row { gap: 8px; }
  .sk-block { height: 38px; border-radius: 9px; }
  .sk-cta { height: 30px; }
  .floating-chip { padding: 7px 12px; font-size: 0.72rem; gap: 6px; }
  .floating-chip svg { width: 14px; height: 14px; }
  .chip-1 { top: -10px; right: 2%; }
  .chip-2 { bottom: 6%; left: 4px; }
}

@media (max-width: 560px) {
  .timeline { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}
