/* ============================================================
   AchatLeads — Design System
   Identité : clair & premium · bleu de marque #1560d4 + noir
   Ambiance : Linear / Stripe — clean, confiance, B2B premium
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Couleurs de marque — BLEU premium (noms historiques conservés) */
  --emerald-900: #0a2540;
  --emerald-800: #0f3f86;
  --emerald-700: #1560d4;   /* accent principal */
  --emerald-600: #2575e6;
  --emerald-500: #3b95ff;
  --emerald-400: #74b6ff;
  --emerald-100: #d6e6ff;
  --emerald-50:  #eef5ff;
  /* Dégradé de marque */
  --grad-brand: linear-gradient(120deg, #1560d4 0%, #2575e6 45%, #3b95ff 100%);
  --grad-text:  linear-gradient(100deg, #1560d4, #2575e6 55%, #3b95ff);

  /* Neutres */
  --ink-900: #0a0a0a;       /* texte fort / noir */
  --ink-800: #16181d;
  --ink-700: #2a2d35;
  --ink-600: #4a4f5a;
  --ink-500: #6b7280;
  --ink-400: #9aa1ad;
  --line:    #e8e7e1;       /* bordures */
  --line-strong: #d9d8d0;
  --paper:   #ffffff;
  --ivory:   #faf9f5;       /* fond sections */
  --ivory-2: #f4f3ec;

  /* Sémantique */
  --hot:   #e8553a;
  --warm:  #e0a13a;
  --cold:  #6b7280;

  /* Typo */
  --font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --tracking-tight: -0.02em;
  --tracking-tighter: -0.035em;

  /* Échelle fluide (compacte — titres resserrés) */
  --step--1: clamp(0.8rem, 0.78rem + 0.12vw, 0.86rem);
  --step-0:  clamp(0.94rem, 0.91rem + 0.16vw, 1.02rem);
  --step-1:  clamp(1.04rem, 1rem + 0.26vw, 1.17rem);
  --step-2:  clamp(1.22rem, 1.12rem + 0.5vw, 1.55rem);
  --step-3:  clamp(1.55rem, 1.35rem + 1vw, 2.2rem);
  --step-4:  clamp(1.95rem, 1.65rem + 1.6vw, 3rem);
  --step-5:  clamp(2.4rem, 1.9rem + 2.7vw, 4rem);

  /* Espacements & rayons */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --container: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2rem);

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(10,10,10,.04), 0 1px 3px rgba(10,10,10,.06);
  --shadow:    0 4px 12px rgba(10,10,10,.06), 0 12px 28px rgba(10,10,10,.06);
  --shadow-lg: 0 8px 24px rgba(10,10,10,.08), 0 24px 60px rgba(10,10,10,.10);
  --shadow-emerald: 0 12px 34px rgba(21,96,212,.32);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--emerald-700); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { line-height: 1.08; letter-spacing: var(--tracking-tight); color: var(--ink-900); font-weight: 700; }
h1 { font-size: var(--step-4); letter-spacing: var(--tracking-tighter); }
h2 { font-size: var(--step-3); letter-spacing: var(--tracking-tighter); }
h3 { font-size: var(--step-1); }

/* ---------- 3. LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-tight { max-width: 880px; }
.section { padding-block: clamp(2.6rem, 5.5vw, 5rem); }
.section--ivory { background: var(--ivory); }
.section--ink { background: var(--ink-900); color: #e9e9e6; }
.section--ink h2, .section--ink h3 { color: #fff; }
.grid { display: grid; gap: clamp(.9rem, 2vw, 1.4rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--step--1); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--emerald-700);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--emerald-700); display: inline-block; }
.section--ink .eyebrow { color: var(--emerald-400); }
.section--ink .eyebrow::before { background: var(--emerald-400); }

.lede { font-size: var(--step-1); color: var(--ink-600); max-width: 56ch; line-height: 1.5; }
.section--ink .lede { color: #b9bcc2; }
.text-muted { color: var(--ink-500); }
.center { text-align: center; }
.center .lede, .center .eyebrow, .lede.center, .eyebrow.center { margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }
.section-head { max-width: 760px; margin-bottom: clamp(1.5rem, 3vw, 2.4rem); }
.section-head.center { margin-inline: auto; }

/* ---------- 4. BOUTONS ---------- */
.btn {
  --bg: var(--emerald-700); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: var(--step-0); letter-spacing: -.01em;
  white-space: nowrap;
  background: var(--bg); color: var(--fg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  will-change: transform;
}
.btn:hover { filter: brightness(.95); }
.btn:active { filter: brightness(.9); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--lg { padding: 1.05rem 1.8rem; font-size: var(--step-1); }
.btn--ghost { --bg: transparent; --fg: var(--ink-900); border: 1.5px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink-900); background: var(--paper); filter: none; }
.btn--dark { --bg: var(--ink-900); --fg: #fff; }
.btn--white { --bg: #fff; --fg: var(--ink-900); }
.btn--white:hover { background: #eef1f6; filter: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.center .btn-row { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--emerald-700);
}
.link-arrow .arrow { transition: transform .25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- 5. HEADER / NAV ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.1rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.25rem; letter-spacing: -.03em; color: var(--ink-900); flex: none; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand b { color: inherit; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-word { font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; color: #16243a; line-height: 1; }
@media (max-width: 480px) { .brand-word { font-size: 1.18rem; } .brand-mark { width: 27px; height: 27px; } }
/* Logos officiels (fichiers images fournis) */
.brand-logo { height: 34px; width: auto; display: block; }
.brand-logo-footer { height: 94px; width: auto; display: block; }
.footer-brand-top { display: block; width: fit-content; margin-top: 0.7rem; }
@media (max-width: 760px) { .brand-logo { height: 30px; } }
.nav-links { display: flex; align-items: center; gap: .15rem; }
.nav-links a {
  padding: .5rem .62rem; border-radius: var(--radius-sm); font-weight: 500; font-size: .94rem; color: var(--ink-700);
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--ivory-2); color: var(--ink-900); }
.nav-links a.active { color: var(--emerald-700); }
.nav-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: .55rem; }
/* Boutons du header : compacts & élégants (la base .btn est trop grosse pour une navbar) */
.site-header .btn {
  padding: .56rem 1.1rem; font-size: var(--step--1); font-weight: 600;
  border-radius: 9px; letter-spacing: -.005em;
}
.site-header .btn--ghost { border-width: 1px; }
.site-header .btn:hover { transform: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); align-items: center; justify-content: center; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink-900); position: relative; transition: .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink-900); transition: .25s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: .15rem;
    background: var(--paper); padding: 1rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s var(--ease);
  }
  body.menu-open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .8rem .9rem; font-size: 1.05rem; }
  /* Barre mobile épurée : logo + burger uniquement. CTA en bas du menu. */
  .nav-actions { display: none; }
  .nav-cta {
    display: block; margin-top: .7rem; text-align: center; background: var(--emerald-700); color: #fff;
    font-weight: 600; border-radius: var(--radius-sm);
  }
  .nav-cta:hover { background: var(--emerald-800); color: #fff; }
}

/* ---------- 6. HERO ---------- */
.hero { position: relative; padding-block: clamp(2.4rem, 5.5vw, 4.4rem) clamp(2rem, 4vw, 3.2rem); overflow: hidden; }
/* Fond image de marque (clair & aérien) + voile blanc à gauche pour le texte */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(95deg, #ffffff 0%, rgba(255,255,255,.94) 30%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 70%),
    url("../img/hero-bg.svg") center right / cover no-repeat,
    #ffffff;
}
/* on retire les orbes + grille animés (remplacés par l'image) */
.hero .hero__bg { display: none; }

/* ---- Image diagonale du hero : biais + duotone bleu + reflet ---- */
.hero__photo {
  position: absolute; top: -8%; right: -5%; bottom: -8%; width: 58%;
  z-index: 0; pointer-events: none; overflow: hidden;
  clip-path: polygon(3% 0, 100% 0, 100% 100%, 30% 100%);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(1.06) contrast(1.03); }
/* (voile bleu retiré — photo en couleurs naturelles) */
/* Fondus haut/bas vers le blanc + accroche lumineuse */
.hero__photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(55% 45% at 34% 8%, rgba(255,255,255,.30), transparent 60%),
    linear-gradient(to bottom, rgba(255,255,255,.85) 0%, transparent 13%, transparent 85%, rgba(255,255,255,.9) 100%),
    linear-gradient(100deg, rgba(255,255,255,.55) 0%, transparent 22%);
}
/* Reflet qui balaie */
.hero__photo-shine {
  position: absolute; top: -20%; left: -35%; width: 38%; height: 150%; z-index: 2;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.42), transparent);
  transform: skewX(-13deg); filter: blur(4px); pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__photo-shine { animation: heroShine 7s var(--ease) infinite; }
  @keyframes heroShine { 0%{ left:-40%; opacity:0 } 16%{ opacity:1 } 46%,100%{ left:125%; opacity:0 } }
}
.hero-grid { position: relative; z-index: 1; }
@media (max-width: 980px) { .hero__photo { display: none; } }
/* Les 2 CTA du hero sur une seule ligne (dès qu'il y a la place) */
@media (min-width: 600px) {
  .hero .btn-row { flex-wrap: nowrap; }
  .hero .btn-row .btn { font-size: 1rem; padding: .92rem 1.35rem; }
}
@media (max-width: 980px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.55) 46%, rgba(255,255,255,.88) 100%),
      url("../img/hero-bg.svg") center / cover no-repeat,
      #ffffff;
  }
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 1rem; }
.hero h1 .accent { color: var(--emerald-700); }
.hero .lede { margin-bottom: 1.4rem; }
.pill {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.4rem;
  font-size: var(--step--1); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--emerald-700);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald-500); box-shadow: 0 0 0 0 rgba(37,117,230,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(37,117,230,.5)} 70%{box-shadow:0 0 0 8px rgba(37,117,230,0)} 100%{box-shadow:0 0 0 0 rgba(37,117,230,0)} }
.rating { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.6rem; font-size: var(--step--1); color: var(--ink-600); }
.stars { color: #e0a13a; letter-spacing: 1px; }

/* ---------- 7. LIVE LEADS WIDGET ---------- */
.leadcard {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;

}
.leadcard__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); background: var(--ivory); }
.leadcard__brand { display: flex; align-items: center; gap: .5rem; font-weight: 700; letter-spacing: -.02em; }
.leadcard__stat { display: flex; gap: 1.1rem; font-size: var(--step--1); color: var(--ink-500); }
.leadcard__stat b { color: var(--ink-900); font-variant-numeric: tabular-nums; }
.leadlist { padding: .5rem; }
.leadrow {
  display: grid; grid-template-columns: 34px 1fr auto; gap: .8rem; align-items: center;
  padding: .7rem .6rem; border-radius: var(--radius); transition: background .2s;
}
.leadrow:hover { background: var(--ivory); }
.leadrow + .leadrow { border-top: 1px solid var(--line); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem; color: #fff; background: var(--emerald-700); }
.leadrow__name { font-weight: 600; font-size: .95rem; letter-spacing: -.01em; }
.leadrow__meta { font-size: .8rem; color: var(--ink-500); display: flex; gap: .5rem; flex-wrap: wrap; }
.tag { font-size: .72rem; font-weight: 600; padding: .15rem .5rem; border-radius: 100px; }
.tag--src { background: var(--ivory-2); color: var(--ink-600); }
.score { font-size: .78rem; font-weight: 700; padding: .25rem .55rem; border-radius: 100px; white-space: nowrap; }
.score--hot { background: #fdebe7; color: var(--hot); }
.score--warm { background: #fcf3e0; color: #b9791f; }
.score--rdv { background: var(--emerald-50); color: var(--emerald-700); }
.score--new { background: #eef0f3; color: var(--ink-600); }
.leadcard__foot { padding: .85rem 1.2rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: var(--step--1); }

/* ---------- 8. LOGOS / STATS ---------- */
.logos { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: center; opacity: .7; }
.logos span { font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; color: var(--ink-500); filter: grayscale(1); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 1.5rem 1rem; text-align: center; border-radius: var(--radius); }
.stat__num { font-size: var(--step-3); font-weight: 800; letter-spacing: -.04em; color: var(--ink-900); line-height: 1; }
.section--ink .stat__num { color: #fff; }
.stat__num .u { color: var(--emerald-700); }
.section--ink .stat__num .u { color: var(--emerald-400); }
.stat__label { margin-top: .5rem; font-size: var(--step--1); color: var(--ink-500); }
.section--ink .stat__label { color: #9aa1ad; }

/* ---------- 9. CARDS ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--emerald-50); color: var(--emerald-700);
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-600); }

/* Problème (constat) */
.problem { border-left: 3px solid var(--hot); }
.problem .card__icon { background: #fdebe7; color: var(--hot); }

/* Étapes du système */
.steps { display: grid; gap: 1.25rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start;
  padding: clamp(1.2rem, 2.4vw, 1.8rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.step__num {
  font-size: 1.1rem; font-weight: 800; color: var(--emerald-700); width: 52px; height: 52px;
  border-radius: 14px; background: var(--emerald-50); display: grid; place-items: center; letter-spacing: -.02em;
}
.step h3 { font-size: var(--step-2); margin-bottom: .15rem; }
.step .sub { color: var(--emerald-700); font-weight: 600; margin-bottom: .75rem; }
.step ul { display: grid; gap: .5rem; margin-top: 1rem; }
.step li { display: flex; gap: .6rem; color: var(--ink-600); font-size: .96rem; }
.step li::before { content: "✓"; color: var(--emerald-700); font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.chip { font-size: .8rem; font-weight: 600; padding: .3rem .7rem; border-radius: 100px; background: var(--ivory-2); color: var(--ink-700); border: 1px solid var(--line); }

/* Garanties / features */
.feature { display: flex; gap: .9rem; align-items: flex-start; }
.feature__check { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--emerald-700); color: #fff; display: grid; place-items: center; font-size: .8rem; margin-top: .15rem; }
.feature h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.feature p { color: var(--ink-600); font-size: .94rem; }

/* ---------- 10. ÉTUDES DE CAS ---------- */
.case {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case__top { padding: 1.6rem 1.6rem 1.2rem; }
.case__client { font-size: var(--step--1); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-400); }
.case__head { font-size: var(--step-2); margin: .4rem 0 .6rem; letter-spacing: -.03em; }
.case__top p { color: var(--ink-600); font-size: .95rem; }
.case__kpis { display: flex; flex-wrap: wrap; gap: 1.2rem; padding: 1.2rem 1.6rem; margin-top: auto; border-top: 1px solid var(--line); background: var(--ivory); }
.kpi__num { font-size: var(--step-1); font-weight: 800; color: var(--emerald-700); letter-spacing: -.03em; }
.kpi__label { font-size: .76rem; color: var(--ink-500); }

/* ---------- 11. SECTEURS ---------- */
.sector {
  display: flex; flex-direction: column; gap: .5rem; padding: 1.4rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: .25s var(--ease);
}
.sector:hover { border-color: var(--emerald-700); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.sector__icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--emerald-50); border: 1px solid var(--emerald-100); color: var(--emerald-700);
}
.sector__icon svg { width: 21px; height: 21px; }
.sector h3 { font-size: 1.08rem; }
.sector p { color: var(--ink-600); font-size: .9rem; flex: 1; }
.sector__price { font-size: .85rem; font-weight: 700; color: var(--emerald-700); margin-top: .4rem; }

/* ---------- 12. FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; text-align: left; font-weight: 600; font-size: var(--step-1); color: var(--ink-900); letter-spacing: -.02em; }
.faq__icon { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: .25s; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--ink-700); border-radius: 2px; transition: .25s; }
.faq__icon::before { width: 12px; height: 2px; } .faq__icon::after { width: 2px; height: 12px; }
.faq__item[open] .faq__icon { background: var(--emerald-700); border-color: var(--emerald-700); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__a { padding: 0 0 1.4rem; color: var(--ink-600); max-width: 68ch; }
details.faq__item summary { list-style: none; cursor: pointer; }
details.faq__item summary::-webkit-details-marker { display: none; }

/* ---------- 13. SIMULATEUR CPL ---------- */
.estimator { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.estimator label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .5rem; }
.estimator select, .estimator input[type="range"] { width: 100%; }
.estimator select { padding: .8rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); font: inherit; background: var(--paper); color: var(--ink-900); }
.estimator .field + .field { margin-top: 1.4rem; }
.estimator__out { margin-top: 1.8rem; padding: 1.4rem; background: var(--emerald-50); border: 1px solid var(--emerald-100); border-radius: var(--radius); display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem; }
.estimator__out .big { font-size: var(--step-3); font-weight: 800; color: var(--emerald-800); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 6px; border-radius: 100px; background: var(--ivory-2); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--emerald-700); cursor: pointer; box-shadow: var(--shadow-sm); border: 3px solid #fff; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--emerald-700); cursor: pointer; border: 3px solid #fff; }
.range-val { font-weight: 700; color: var(--emerald-700); }

/* ---------- 14. CTA / MANIFESTE ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--step-4); max-width: 18ch; margin-inline: auto; }
.manifesto { font-size: var(--step-3); line-height: 1.18; letter-spacing: -.03em; max-width: 22ch; }
.manifesto-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width: 820px) { .manifesto-grid { grid-template-columns: 1fr; } }
.signature { display: flex; align-items: center; gap: .9rem; margin-top: 2rem; }
.signature .ph { width: 52px; height: 52px; border-radius: 50%; background: var(--emerald-700); color: #fff; display: grid; place-items: center; font-weight: 700; }
.signature b { display: block; color: #fff; }
.signature span { font-size: .9rem; color: #9aa1ad; }

/* ---------- 15. BLOG ---------- */
.post { display: flex; flex-direction: column; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: .3s var(--ease); }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post__cover { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--emerald-700), var(--emerald-900)); position: relative; }
.post__cover span { position: absolute; bottom: 1rem; left: 1rem; color: rgba(255,255,255,.92); font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; max-width: 80%; }
.post__body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post__meta { font-size: .8rem; color: var(--ink-400); margin-bottom: .5rem; }
.post h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.post p { color: var(--ink-600); font-size: .92rem; flex: 1; }

/* ---------- 16. FOOTER (clair & épuré) ---------- */
.site-footer { background: var(--ivory); color: var(--ink-600); border-top: 1px solid var(--line); padding-block: clamp(2.6rem, 4.5vw, 3.8rem) 1.6rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(1.6rem, 3vw, 2.5rem); padding-bottom: 2.6rem; }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer .brand { color: var(--ink-900); }
.footer-tagline { font-size: var(--step-2); font-weight: 700; letter-spacing: -.03em; color: var(--ink-900); line-height: 1.1; max-width: 14ch; }
.brand-signature { margin-top: 1rem; font-size: .82rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-400); }
.brand-signature span { color: var(--emerald-700); }
.footer-google { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .92rem; color: var(--ink-600); }
.footer-google svg { width: 20px; height: 20px; flex: none; }
.footer-google b { color: var(--ink-900); }
.footer-google .stars { color: #e0a13a; letter-spacing: .5px; }
.footer-col h4 { color: var(--ink-900); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; font-weight: 600; }
.footer-col a { display: block; padding: .32rem 0; color: var(--ink-500); font-size: .92rem; transition: color .15s; }
.footer-col a:hover { color: var(--emerald-700); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.7rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-400); }
.footer-bottom a { color: var(--ink-500); }
.footer-bottom a:hover { color: var(--ink-900); }
.footer-bottom .heart { color: var(--hot); }

/* ---------- 17. WHATSAPP FLOTTANT ---------- */
.wa-float {
  position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 90;
  display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.2rem;
  background: #25d366; color: #fff; font-weight: 600; border-radius: 100px; box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.05); }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: .9rem; } }

/* ---------- 18. PAGE HEADER (pages internes) ---------- */
.page-hero { padding-block: clamp(2.2rem, 4.5vw, 3.6rem) clamp(1.6rem, 3vw, 2.4rem); background: var(--ivory); border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: .85rem; color: var(--ink-500); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--emerald-700); }
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; margin-bottom: .8rem; }
.prose h3 { margin-top: 1.8rem; margin-bottom: .5rem; }
.prose p, .prose li { color: var(--ink-700); margin-bottom: 1rem; }
.prose ul { padding-left: 1.2rem; list-style: disc; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--emerald-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 19. REVEAL ANIMATIONS ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

/* ---------- 20. UTILITAIRES ---------- */
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2.5rem}
.mb-0{margin-bottom:0}.maxw-sm{max-width:520px}
.divider { height: 1px; background: var(--line); border: 0; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

/* ============================================================
   21. VISUEL+ — dégradés, halos animés, verre, glow, spotlight
   ============================================================ */

/* Texte en dégradé de marque */
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Boutons primaires : bleu de marque plein, sobre, sans glow */
.btn:where(:not(.btn--ghost):not(.btn--dark):not(.btn--white)) {
  background: var(--emerald-700);
}
.btn:where(:not(.btn--ghost):not(.btn--dark):not(.btn--white)):hover {
  background: var(--emerald-800);
  filter: none;
}

/* Halos lumineux flottants (orbes) */
.orb { position: absolute; border-radius: 50%; filter: blur(64px); pointer-events: none; will-change: transform; }
.orb-a { width: 440px; height: 440px; background: radial-gradient(circle, rgba(59,149,255,.55), transparent 70%); }
.orb-b { width: 380px; height: 380px; background: radial-gradient(circle, rgba(116,182,255,.5), transparent 70%); }
.orb-c { width: 320px; height: 320px; background: radial-gradient(circle, rgba(21,96,212,.45), transparent 70%); }
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(26px,-30px) scale(1.08); }
  66%     { transform: translate(-22px,18px) scale(.94); }
}
@media (prefers-reduced-motion: no-preference) {
  .orb { animation: float 20s var(--ease) infinite; }
  .orb-b { animation-delay: -7s; } .orb-c { animation-delay: -13s; }
}

/* Hero : fond enrichi (orbes + grille masquée) */
.hero { position: relative; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__bg .orb-a { top: -140px; right: -60px; }
.hero__bg .orb-b { top: 140px; left: -140px; opacity: .8; }
.hero__bg .orb-c { bottom: -120px; right: 28%; opacity: .6; }
.bg-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(21,96,212,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,96,212,.07) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 60% 0%, #000 25%, transparent 72%);
          mask-image: radial-gradient(ellipse 75% 60% at 60% 0%, #000 25%, transparent 72%);
}

/* Page-hero internes : halo décoratif (sans HTML) */
.page-hero { position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,149,255,.18), transparent 65%);
  top: -200px; right: -90px; pointer-events: none;
}

/* Verre + bordure lumineuse sur les blocs clés */
.leadcard, .estimator {
  background: rgba(255,255,255);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

/* Spotlight au survol des cartes / étapes / cas / secteurs */
.card, .step, .case, .sector { position: relative; isolation: isolate; }
.card::after, .step::after, .case::after, .sector::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease);
  background: linear-gradient(140deg, rgba(37,117,230,.55), rgba(59,149,255,.05) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover::after, .step:hover::after, .case:hover::after, .sector:hover::after { opacity: 1; }

/* Numéros d'étape : pastille en dégradé */
.step__num { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 20px rgba(21,96,212,.28); }

/* Icônes de cartes : dégradé doux */
.card__icon { background: linear-gradient(140deg, var(--emerald-50), #fff); border: 1px solid var(--emerald-100); }
.problem .card__icon { background: #fdebe7; border-color: #f7cfc7; }

/* Pastilles de garantie : glow */
.feature__check { background: var(--grad-brand); box-shadow: 0 6px 16px rgba(21,96,212,.3); }

/* Sections sombres : aurora animée + grain de lumière */
.section--ink { position: relative; overflow: hidden; }
.section--ink::before {
  content: ""; position: absolute; width: 680px; height: 680px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(59,149,255,.28), transparent 62%);
  top: -240px; right: -120px; pointer-events: none;
}
.section--ink::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(21,96,212,.3), transparent 65%);
  bottom: -200px; left: -100px; pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .section--ink::before { animation: float 22s var(--ease) infinite; }
  .section--ink::after  { animation: float 26s var(--ease) infinite reverse; }
}
.section--ink > .container { position: relative; z-index: 1; }

/* Bandeau CTA final : halo lumineux */
#contact { position: relative; overflow: hidden; }
#contact::before {
  content: ""; position: absolute; left: 50%; top: 20%; width: 720px; height: 360px;
  transform: translateX(-50%); pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse, rgba(59,149,255,.16), transparent 70%);
}

/* Avatars du widget en dégradé */
.avatar { background: var(--grad-brand); }

/* Couvertures d'articles : dégradé bleu + motif */
.post__cover { background: var(--grad-brand); }
.post__cover::after {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.4) 0, transparent 12%),
                    radial-gradient(circle at 75% 70%, rgba(255,255,255,.3) 0, transparent 14%);
}

/* Pastille hero : plus de fond "bulle" — libellé épuré */
.pill { background: none; border: 0; padding: 0; }

/* ============================================================
   22. BENTO — section "tout est inclus" (sombre, premium)
   ============================================================ */
.section--bento { background: #0c0e13; color: #cfd2d9; position: relative; overflow: hidden; }
.section--bento h2, .section--bento h3 { color: #fff; }
.section--bento .lede { color: #9ca1ac; }
.section--bento .eyebrow { color: var(--emerald-400); }
.section--bento .eyebrow::before { background: var(--emerald-400); }
.section--bento::before {
  content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(59,149,255,.20), transparent 62%);
  top: -260px; right: -120px; pointer-events: none;
}
.section--bento > .container { position: relative; z-index: 1; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.9rem, 1.6vw, 1.2rem); }
.bento-card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2.4vw, 1.9rem); position: relative; overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.bento-card:hover { border-color: rgba(59,149,255,.4); transform: translateY(-3px); }
.bento-card .kicker { color: var(--emerald-400); font-size: var(--step--1); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.bento-card h3 { font-size: var(--step-1); margin: .5rem 0 .55rem; letter-spacing: -.02em; }
.bento-card p { color: #aeb2bb; font-size: .92rem; }
.b-crm { grid-column: span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; }
.b-pilot { grid-column: span 2; display: flex; flex-direction: column; }
.b-studio { grid-column: span 2; }
.b-video { grid-column: span 2; }
.b-team { grid-column: span 2; }
@media (max-width: 920px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-crm { grid-column: span 2; }
  .b-pilot, .b-studio, .b-video, .b-team { grid-column: span 1; }
}
@media (max-width: 700px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card { grid-column: span 1 !important; }
  .b-crm { grid-template-columns: 1fr; }
}

/* CRM mini-widget */
.minilist { display: grid; gap: .5rem; }
.minirow { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; }
.minirow .nm { flex: 1; color: #e9eaee; font-weight: 500; font-size: .9rem; }
.mini-av { width: 30px; height: 30px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .72rem; flex: none; }
.sc { font-size: .74rem; font-weight: 700; padding: .22rem .55rem; border-radius: 100px; white-space: nowrap; }
.sc-hot { background: rgba(232,85,58,.18); color: #ff8a6f; }
.sc-rdv { background: rgba(20,179,119,.18); color: #46d39a; }
.sc-rel { background: rgba(59,149,255,.18); color: #7fb6ff; }

/* Pilotage mini-graphe */
.minichart { display: flex; align-items: flex-end; gap: .45rem; height: 96px; margin-top: auto; padding-top: 1rem; }
.minichart i { flex: 1; border-radius: 5px 5px 2px 2px; background: var(--grad-brand); display: block; box-shadow: 0 6px 14px rgba(21,96,212,.3); }

/* Studio créatif : créas */
.platrow--dark { margin-top: .9rem; }
.platrow--dark .platbadge { background: rgba(255,255,255,.95); border-color: transparent; }
.creatives { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }
.crea { aspect-ratio: 4/5; border-radius: 12px; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.crea-1 { background: linear-gradient(160deg, #234a86, #0a1a33); }
.crea-2 { background: linear-gradient(160deg, #3b95ff, #1560d4); }
.crea-3 { background: linear-gradient(160deg, #243349, #10243f); }
.crea-4 { background: linear-gradient(160deg, #0f2a5c, #081a3a); }
.crea::before { content: ""; position: absolute; top: 11px; left: 11px; width: 20px; height: 20px; border-radius: 6px; background: rgba(255,255,255,.92); }
.crea::after { content: ""; position: absolute; left: 11px; bottom: 11px; width: 50%; height: 7px; border-radius: 4px; background: rgba(255,255,255,.85); box-shadow: 0 -12px 0 rgba(255,255,255,.35); }

/* Vidéo : vignettes */
.videos { display: flex; gap: .6rem; margin-top: 1rem; }
.vthumb { flex: 1; aspect-ratio: 9/16; border-radius: 12px; position: relative; overflow: hidden; background: linear-gradient(160deg, #1a2740, #0a1322); border: 1px solid rgba(255,255,255,.1); display: grid; place-items: center; }
.vthumb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 38%, rgba(59,149,255,.28), transparent 60%); }
.play { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; position: relative; z-index: 1; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.play::after { content: ""; border-left: 13px solid var(--ink-900); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }

/* Équipe : avatars empilés */
.team-avatars { display: flex; margin-top: 1.2rem; }
.team-avatars .ava { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #0c0e13; margin-left: -12px; background: var(--grad-brand); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .82rem; }
.team-avatars .ava:first-child { margin-left: 0; }
.b-team .link-arrow { color: #7fb6ff; margin-top: 1.2rem; }

/* Logos de plateformes (badges) */
.platrow { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.1rem; }
.platbadge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .85rem; border: 1px solid var(--line); border-radius: 100px;
  background: #fff; font-weight: 600; font-size: .85rem; color: var(--ink-800);
  box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s;
}
.platbadge:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.platbadge svg { width: 18px; height: 18px; flex: none; }

/* Icônes SVG des cartes */
.card__icon svg, .feature__check svg { width: 22px; height: 22px; }
.feature__check svg { width: 15px; height: 15px; stroke: #fff; }

/* Graphique de résultats animé */
.chartcard {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow); height: 100%;
}
.chartcard h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.chart {
  display: flex; align-items: flex-end; gap: clamp(.4rem, 1.5vw, .9rem);
  height: 190px; margin-top: 1.4rem; padding-top: 1rem; border-bottom: 1px solid var(--line);
}
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .5rem; height: 100%; justify-content: flex-end; }
.chart .bar {
  width: 100%; border-radius: 7px 7px 2px 2px; background: var(--grad-brand);
  transform: scaleY(0); transform-origin: bottom; box-shadow: 0 6px 16px rgba(21,96,212,.25);
}
.chart .col:last-child .bar { background: linear-gradient(180deg, #2575e6, #1560d4); }
[data-reveal].in .chart .bar { animation: grow .9s var(--ease) forwards; }
.chart .col:nth-child(1) .bar { animation-delay: .05s; }
.chart .col:nth-child(2) .bar { animation-delay: .15s; }
.chart .col:nth-child(3) .bar { animation-delay: .25s; }
.chart .col:nth-child(4) .bar { animation-delay: .35s; }
.chart .col:nth-child(5) .bar { animation-delay: .45s; }
.chart .col:nth-child(6) .bar { animation-delay: .55s; }
@keyframes grow { to { transform: scaleY(1); } }
.chart .lbl { font-size: .72rem; color: var(--ink-400); font-weight: 600; }
.chartlegend { display: flex; justify-content: space-between; align-items: baseline; margin-top: .9rem; }
.chartlegend .big { font-size: var(--step-2); font-weight: 800; letter-spacing: -.03em; }
.chartlegend .up { color: var(--emerald-700); font-weight: 700; font-size: .9rem; }

/* ============================================================
   23. PREMIUM POLISH — micro-détails de finition
   ============================================================ */
::selection { background: var(--emerald-100); color: var(--emerald-900); }
h1, h2, h3 { text-wrap: balance; }
.lede, .faq__a { text-wrap: pretty; }

/* Bande logos : wordmarks élégants, révélés au survol */
.logos { gap: 1.2rem 3rem; opacity: 1; }
.logos span {
  font-weight: 700; font-size: 1.06rem; letter-spacing: .02em; color: var(--ink-400);
  filter: none; transition: color .25s var(--ease);
}
.logos span:hover { color: var(--ink-900); }

/* Témoignages */
.quote {
  display: flex; flex-direction: column; height: 100%; margin: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem 1.6rem; position: relative; isolation: isolate;
}
.quote::before {
  content: "\201C"; position: absolute; top: .4rem; left: 1.2rem; z-index: -1;
  font-size: 5.2rem; line-height: 1; font-weight: 800; color: var(--emerald-100);
  font-family: Georgia, serif;
}
.quote blockquote { margin: 0 0 1.4rem; flex: 1; }
.quote blockquote p { font-size: 1.04rem; line-height: 1.55; color: var(--ink-800); font-weight: 500; letter-spacing: -.01em; }
.quote figcaption { display: flex; align-items: center; gap: .8rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.quote__ava {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--grad-brand); color: #fff; font-weight: 700; display: grid; place-items: center;
}
.quote figcaption b { display: block; font-size: .95rem; color: var(--ink-900); letter-spacing: -.01em; }
.quote figcaption em { font-style: normal; font-size: .82rem; color: var(--ink-500); }

/* Chiffres toujours tabulaires (stats, KPI, estimateur) */
.stat__num, .kpi__num, .estimator__out .big, .leadcard__stat b { font-variant-numeric: tabular-nums; }

/* ============================================================
   24. EMPLACEMENTS VISUELS — composant .media-slot
   Remplacez simplement les fichiers dans assets/img/visuels/
   ============================================================ */
.media-slot {
  position: relative; overflow: hidden; margin: 0;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: var(--ivory); box-shadow: var(--shadow);
}
.media-slot img { width: 100%; height: 100%; object-fit: cover; }
.media-slot--43  { aspect-ratio: 4/3; }
.media-slot--169 { aspect-ratio: 16/9; }
.media-slot--45  { aspect-ratio: 4/5; }
/* Légende optionnelle en surimpression */
.media-slot figcaption {
  position: absolute; left: .9rem; bottom: .9rem; z-index: 2;
  font-size: .78rem; font-weight: 600; color: #fff;
  background: rgba(10,10,10,.55); backdrop-filter: blur(6px);
  padding: .35rem .75rem; border-radius: 100px;
}
/* Variante sections sombres */
.section--ink .media-slot, .section--bento .media-slot { border-color: rgba(255,255,255,.12); box-shadow: none; }

/* Couvertures des études de cas */
.case__cover { aspect-ratio: 16/9; overflow: hidden; border-bottom: 1px solid var(--line); }
.case__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.case:hover .case__cover img { transform: scale(1.045); }

/* ---- Footer : bloc contact/CTA (remplace la 3e colonne de liens) ---- */
.footer-cta { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.footer-cta h4 { color: var(--ink-900); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .2rem; font-weight: 600; }
.footer-cta p { color: var(--ink-600); font-size: .92rem; line-height: 1.5; max-width: 30ch; }
.footer-cta .btn { padding: .7rem 1.2rem; font-size: .92rem; }
.footer-mail { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 600; color: var(--ink-700); }
.footer-mail svg { width: 18px; height: 18px; color: var(--emerald-700); flex: none; }
.footer-mail:hover { color: var(--emerald-700); }

/* ============================================================
   25. PRISE DE RENDEZ-VOUS — module formulaire + calendrier
   ============================================================ */
.booking { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }

.booking__intro { position: sticky; top: 96px; }
@media (max-width: 900px) { .booking__intro { position: static; } }
.booking__points { display: grid; gap: .7rem; margin-top: 1.4rem; }
.booking__points li { display: flex; align-items: flex-start; gap: .7rem; color: var(--ink-700); font-size: .96rem; }
.bk-check { flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--emerald-50); color: var(--emerald-700); display: grid; place-items: center; }
.bk-check svg { width: 14px; height: 14px; }
.booking__trust { margin-top: 1.6rem; font-size: .9rem; color: var(--ink-600); }
.booking__trust .stars { color: #e0a13a; letter-spacing: .5px; }
.booking__trust b { color: var(--ink-900); }

/* Carte formulaire */
.booking__panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 2.4vw, 1.7rem); box-shadow: var(--shadow); max-width: 560px;
}
.booking__form { display: grid; gap: .72rem; }
.bf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .72rem; }
@media (max-width: 460px) { .bf-grid { grid-template-columns: 1fr; } }

.booking__form .field { display: grid; gap: .3rem; }
.booking__form label { font-weight: 600; font-size: .85rem; color: var(--ink-800); }
.booking__form input,
.booking__form select,
.booking__form textarea {
  width: 100%; padding: .55rem .78rem; font-size: .92rem; color: var(--ink-900);
  background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .18s, box-shadow .18s;
}
.booking__form textarea { resize: vertical; min-height: 62px; font-family: inherit; }
.booking__form input::placeholder, .booking__form textarea::placeholder { color: var(--ink-400); }
.booking__form input:focus,
.booking__form select:focus,
.booking__form textarea:focus {
  outline: none; border-color: var(--emerald-700); box-shadow: 0 0 0 3px rgba(21,96,212,.14);
}
.booking__form .field.invalid input,
.booking__form .field.invalid select { border-color: var(--hot); box-shadow: 0 0 0 3px rgba(232,85,58,.14); }

/* Mini-calendrier de jours ouvrés */
.dayscroll { overflow-x: auto; margin: 0 -.2rem; padding: .2rem; scrollbar-width: thin; }
.daygrid { display: flex; gap: .55rem; min-width: max-content; }
.day {
  flex: none; width: 58px; padding: .48rem .2rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong); background: var(--paper); cursor: pointer; text-align: center;
  transition: border-color .18s, background .18s, transform .12s;
}
.day:hover { border-color: var(--emerald-400); }
.day .dow { display: block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-500); }
.day .dnum { display: block; font-size: 1.16rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink-900); line-height: 1.15; }
.day .dmon { display: block; font-size: .72rem; color: var(--ink-500); }
.day[aria-checked="true"] { border-color: var(--emerald-700); background: var(--emerald-50); }
.day[aria-checked="true"] .dnum { color: var(--emerald-800); }
.field.invalid .daygrid .day { border-color: var(--hot); }

/* Créneaux horaires */
.slotgrid { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.slot {
  text-align: left; padding: .55rem .72rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong); background: var(--paper); cursor: pointer;
  transition: border-color .18s, background .18s;
}
.slot:hover { border-color: var(--emerald-400); }
.slot b { display: block; font-size: .92rem; color: var(--ink-900); font-weight: 700; }
.slot span { display: block; font-size: .8rem; color: var(--ink-500); }
.slot[aria-checked="true"] { border-color: var(--emerald-700); background: var(--emerald-50); }
.field.invalid .slotgrid .slot { border-color: var(--hot); }

.bf-error { color: var(--hot); font-size: .88rem; font-weight: 600; }
.bf-legal { color: var(--ink-500); font-size: .78rem; line-height: 1.5; }

/* Écran de confirmation */
.booking__success { text-align: center; padding: clamp(1.5rem, 4vw, 2.6rem) 1rem; }
.bk-success-ic {
  width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--emerald-50); color: var(--emerald-700); display: grid; place-items: center;
}
.bk-success-ic svg { width: 30px; height: 30px; }
.booking__success h3 { font-size: var(--step-2); margin-bottom: .5rem; }
.booking__success p { color: var(--ink-600); max-width: 42ch; margin: 0 auto .8rem; }
.booking__success #rdv-recap { color: var(--ink-900); font-weight: 600; font-size: 1.05rem; }

/* Force le masquage malgré display:grid (l'attribut hidden doit gagner) */
.booking__form[hidden], .booking__success[hidden], .bf-error[hidden] { display: none !important; }

/* ============================================================
   26. CHAT CONCIERGE — widget flottant (remplace WhatsApp)
   ============================================================ */
.chat { position: fixed; right: clamp(1rem, 3vw, 1.6rem); bottom: clamp(1rem, 3vw, 1.6rem); z-index: 300; }

/* Bouton flottant */
.chat__launcher {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--emerald-700); color: #fff; box-shadow: 0 10px 26px rgba(21,96,212,.42);
  margin-left: auto; transition: transform .2s var(--ease), background .2s;
}
.chat__launcher:hover { transform: scale(1.06); background: var(--emerald-800); }
.chat__ic { width: 26px; height: 26px; }
.chat__ic--close { display: none; }
.chat.is-open .chat__ic--open { display: none; }
.chat.is-open .chat__ic--close { display: block; }

/* Panneau */
.chat__panel {
  position: absolute; right: 0; bottom: 72px; width: 360px; max-width: calc(100vw - 2rem);
  height: min(72vh, 540px); display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 24px 60px rgba(10,10,10,.22);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98);
  transform-origin: bottom right; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.chat.is-open .chat__panel { opacity: 1; visibility: visible; transform: none; }
.chat__panel[hidden] { display: none; }   /* fallback sans JS */

/* En-tête */
.chat__head {
  display: flex; align-items: center; gap: .7rem; padding: .95rem 1rem;
  background: linear-gradient(135deg, #1560d4, #2575e6); color: #fff;
}
.chat__team { display: flex; flex: none; }
.chat__av {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-size: .72rem; font-weight: 700; color: #fff; background: #0d3f9e;
  border: 2px solid #1e63d0; margin-left: -10px;
}
.chat__team .chat__av:first-child { margin-left: 0; }
.chat__idbox { flex: 1; line-height: 1.25; }
.chat__idbox b { font-size: .95rem; letter-spacing: -.01em; }
.chat__status { display: flex; align-items: center; gap: .4rem; font-size: .76rem; color: rgba(255,255,255,.85); }
.chat__status i { width: 7px; height: 7px; border-radius: 50%; background: #37e39b; box-shadow: 0 0 0 2px rgba(55,227,155,.3); }
.chat__min { color: #fff; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; opacity: .85; }
.chat__min:hover { opacity: 1; background: rgba(255,255,255,.14); }
.chat__min svg { width: 20px; height: 20px; }

/* Corps / messages */
.chat__body { flex: 1; overflow-y: auto; padding: 1rem .9rem; background: #f5f8fc; display: flex; flex-direction: column; gap: .7rem; }
.chat__row { display: flex; align-items: flex-end; gap: .5rem; max-width: 100%; }
.chat__row--out { justify-content: flex-end; }
.chat__msg-av { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-size: .66rem; font-weight: 700; }
.chat__bubble {
  max-width: 80%; padding: .6rem .8rem; border-radius: 14px; font-size: .92rem; line-height: 1.45;
  background: #fff; color: var(--ink-800); border: 1px solid var(--line); border-bottom-left-radius: 5px;
}
.chat__bubble--out { background: var(--emerald-700); color: #fff; border: 0; border-radius: 14px; border-bottom-right-radius: 5px; }
.chat__cta {
  display: inline-flex; align-items: center; gap: .3rem; margin-top: .55rem;
  background: var(--emerald-700); color: #fff; font-weight: 600; font-size: .85rem;
  padding: .5rem .85rem; border-radius: 8px;
}
.chat__cta:hover { background: var(--emerald-800); }

/* Réponses rapides */
.chat__quick { display: flex; flex-direction: column; gap: .45rem; margin-left: 36px; }
.chat__quick button {
  text-align: left; padding: .55rem .8rem; border-radius: 10px; font-size: .88rem; font-weight: 600;
  color: var(--emerald-700); background: #fff; border: 1.5px solid var(--emerald-100); transition: .15s;
}
.chat__quick button:hover { border-color: var(--emerald-700); background: var(--emerald-50); }

/* Indicateur "en train d'écrire" */
.chat__dots { display: inline-flex; gap: 4px; padding: .15rem 0; }
.chat__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-400); animation: chatDot 1.1s infinite ease-in-out; }
.chat__dots i:nth-child(2) { animation-delay: .18s; } .chat__dots i:nth-child(3) { animation-delay: .36s; }
@keyframes chatDot { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Champ de saisie */
.chat__form { display: flex; align-items: center; gap: .5rem; padding: .6rem .7rem; border-top: 1px solid var(--line); background: #fff; }
.chat__form input { flex: 1; border: 0; background: transparent; font: inherit; font-size: .92rem; color: var(--ink-900); padding: .5rem .4rem; }
.chat__form input:focus { outline: none; }
.chat__form button[type="submit"] { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--emerald-700); color: #fff; display: grid; place-items: center; }
.chat__form button[type="submit"]:hover { background: var(--emerald-800); }
.chat__form button svg { width: 18px; height: 18px; }

@media (max-width: 420px) {
  .chat__panel { height: min(76vh, 520px); }
}
