/* ZZZ Agency — mise en page façon apple.com : bandes noires et blanches, or du logo en touche */

:root {
  --gold: #cda032;
  --gold-light: #dcc07a;
  --radius: 28px;
  --max: 1180px;
  --gutter: 22px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;

  /* Ton sombre par défaut */
  --bg: #000000;
  --surface: #161617;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --line: rgba(245, 245, 247, 0.14);
  --accent-num: var(--gold);
}

/* Chaque bande redéfinit ses couleurs ; les composants suivent automatiquement */
.tone-dark {
  --bg: #000000;
  --surface: #161617;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --line: rgba(245, 245, 247, 0.14);
  --accent-num: var(--gold);
}
.tone-light {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --line: rgba(0, 0, 0, 0.1);
  --accent-num: #a87d14; /* or assombri pour rester lisible sur blanc */
}
.tone-gray {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --line: rgba(0, 0, 0, 0.1);
  --accent-num: #a87d14;
}
.tone-dark, .tone-light, .tone-gray { background: var(--bg); color: var(--text); }

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.5 var(--sans);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ---------- Typographie ---------- */

.display {
  font-size: clamp(2.75rem, 7.5vw, 5.5rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.title {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.lead {
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  line-height: 1.42;
  color: var(--text-2);
  max-width: 40rem;
  letter-spacing: -0.015em;
}
.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 0.75rem;
}
.eyebrow.center { text-align: center; }
.eyebrow-gold { color: var(--gold); }
/* Seule touche « signature » : l'italique de la Cormorant dans le titre du haut */
.muted {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-2);
}
.fineprint { font-size: 0.875rem; color: var(--text-2); margin-top: 1.25rem; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #0b0b0c;
  font-size: 1.0625rem;
  font-weight: 600;
  padding: 0.8em 1.6em;
  border: 0;
  border-radius: 980px;
  cursor: pointer;
  transition: filter 150ms ease, transform 100ms ease-out;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(0.97); }
.btn-small { font-size: 0.8125rem; padding: 0.45em 1.1em; }
.btn-large { font-size: 1.1875rem; padding: 0.85em 1.8em; }

.link { color: var(--text); font-size: 1.0625rem; font-weight: 500; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

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

/* ---------- Navigation translucide ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 22, 23, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: #f5f5f7;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 52px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo img { height: 24px; width: auto; }
.nav-links { display: flex; gap: 1.75rem; margin-left: auto; font-size: 0.8125rem; }
.nav-links a { opacity: 0.8; transition: opacity 150ms ease; }
.nav-links a:hover { opacity: 1; }
.nav-cta { font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.nav-cta:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Menu mobile : bouton ☰ qui devient ✕, panneau qui se déplie sous la barre */
.nav-toggle { display: none; }
.mobile-menu[hidden] { display: none; }

@media (max-width: 640px) {
  .nav-cta { display: none; }
  .nav-toggle {
    display: grid;
    align-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0 11px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: #f5f5f7;
    transition: transform 250ms cubic-bezier(0.25, 1, 0.5, 1), opacity 150ms ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(22, 22, 23, 0.96);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(245, 245, 247, 0.12);
    animation: menu-in 260ms cubic-bezier(0.25, 1, 0.5, 1);
  }
  .mobile-menu nav { display: grid; padding: 0.5rem var(--gutter) 1.5rem; }
  .mobile-menu nav a:not(.btn) {
    padding: 0.95rem 0;
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f5f5f7;
    border-bottom: 1px solid rgba(245, 245, 247, 0.1);
  }
  .mobile-menu nav a[aria-current="page"] { color: var(--gold); }
  .mobile-menu .btn { margin-top: 1.25rem; justify-self: start; }
  body.menu-open { overflow: hidden; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mobile-menu { animation: none; } }
/* ---------- Hero ---------- */

/* Plein écran : un fil de vignettes façon TikTok défile derrière le titre */
.hero {
  position: relative;
  min-height: calc(100svh - 52px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(4rem, 9vw, 6rem) var(--gutter);
  overflow: hidden;
  background: #000;
}
/* Scène 3D : un mur d'iPhones loin derrière ; chaque écran fait défiler un feed TikTok (script.js) */
.hero-bg {
  position: absolute;
  inset: 0;
  perspective: 1000px;
  perspective-origin: 50% 40%;
  overflow: hidden;
  opacity: 0.6;
  filter: url(#lens) blur(3px);   /* objectif + flou au repos : le titre reste lisible */
  transition: opacity 500ms ease, filter 600ms ease;
  z-index: 0;
}
.hero-stage {
  --depth: -1000px;
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  grid-template-columns: repeat(var(--cols, 8), 200px);
  gap: 56px 48px;
  transform: translate(-50%, -50%) translateZ(var(--depth)) rotateX(22deg) rotateZ(-8deg);
  transform-style: preserve-3d;
}

/* iPhone */
.phone {
  position: relative;
  width: 200px;
  height: 433px;
  padding: 6px;
  border-radius: 34px;
  background: linear-gradient(145deg, #2c2c2e, #0d0d0e 40%);
  box-shadow: 0 0 0 1px #48484a, 0 40px 80px rgba(0, 0, 0, 0.7);
  transform: translate3d(0, var(--wy, 0px), var(--wz, 0px));
}
.phone::after { /* reflet sur la vitre */
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 28px;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 38%);
  pointer-events: none;
  z-index: 5;
}
.screen { position: relative; height: 100%; border-radius: 28px; overflow: hidden; background: #000; }
.screen::before { /* Dynamic Island */
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 62px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 10px;
  background: #000;
  z-index: 4;
}
.feed { will-change: transform; transition: filter 120ms linear; }
.hero-stage.is-fast .feed { filter: blur(3px); }

/* Un post TikTok */
.post { position: relative; height: 421px; overflow: hidden; background: #111; }
.post > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 22%, transparent 55%, rgba(0, 0, 0, 0.7));
}
.tk-side { position: absolute; right: 7px; bottom: 74px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 9px; color: #fff; font: 600 8px/1 var(--sans); }
.tk-avatar { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #fff; background: #fff; object-fit: cover; }
.tk-icon { font-size: 19px; line-height: 1; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
.tk-heart { color: #fe2c55; }
.tk-disc { width: 24px; height: 24px; border-radius: 50%; background: conic-gradient(#333, #111, #333); border: 5px solid #222; }
.tk-text { position: absolute; left: 9px; right: 48px; bottom: 54px; z-index: 2; color: #fff; font: 400 9px/1.35 var(--sans); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.tk-text b { display: block; font-size: 10px; margin-bottom: 2px; }
.tk-music { display: block; margin-top: 4px; font-size: 8px; opacity: 0.9; white-space: nowrap; overflow: hidden; }
/* Éléments fixes de l'appli (ne défilent pas) */
.tk-top { position: absolute; top: 32px; left: 0; right: 0; z-index: 3; text-align: center; color: rgba(255, 255, 255, 0.7); font: 600 9px var(--sans); }
.tk-top b { color: #fff; border-bottom: 1.5px solid #fff; padding-bottom: 2px; margin-left: 10px; }
.tk-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #000;
  color: rgba(255, 255, 255, 0.75);
  font: 600 6.5px var(--sans);
}
.tk-nav i { font-style: normal; display: inline-block; width: 24px; height: 15px; border-radius: 4px; background: #fff; box-shadow: -2px 0 0 #25f4ee, 2px 0 0 #fe2c55; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 45% at 50% 48%, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.15) 80%),
    linear-gradient(180deg, #000 0%, transparent 18%, transparent 82%, #000 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: var(--max); }
.lens-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Sur téléphone, pas d'effet d'objectif (trop coûteux) : flou seul */
@media (max-width: 640px) {
  .hero-bg, .hero.intro.is-stop .hero-bg { filter: blur(3px); }
  .hero.intro .hero-bg { filter: none; }
}
.hero-inner > * { transition: opacity 600ms ease, transform 600ms cubic-bezier(0.25, 1, 0.5, 1); }
.hero .display { font-size: clamp(3rem, 8.5vw, 6.5rem); }
.gold-word {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--gold);
}
.cta-row { display: flex; gap: 1.5rem; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 2.25rem; }

/* Intro (jouée une fois) : fil rapide → arrêt net sur noir → le fil repart → « virale. » s'imprime */
.intro-pending .hero:not(.intro) .hero-inner { opacity: 0; }
.hero.intro .hero-bg { opacity: 1; filter: url(#lens); transition: none; }
.hero.intro.is-stop .hero-bg { filter: url(#lens) blur(1.5px); }
.hero.intro .hero-inner > *:not(.display),
.hero.intro .hl { opacity: 0; }
.hero.intro .hero-inner > *:not(.display) { transform: translateY(14px); }
.hero.intro.is-stop .hero-bg { opacity: 0.75; }
.hero.intro.is-stop .hl-1 { opacity: 1; }
.hero.intro.is-go .hero-bg { opacity: 0.75; }
.hero.intro.is-go .hl-1,
.hero.intro.is-go .hl-2 { opacity: 1; }
.hero.intro.is-go .gold-word { animation: stamp 480ms cubic-bezier(0.2, 1.3, 0.4, 1) 180ms both; }
@keyframes stamp {
  from { opacity: 0; transform: scale(1.7); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* Version allégée (appareil modeste ou animation qui rame) : pas d'effet d'objectif ni de flou de vitesse */
.hero.lite .hero-bg { filter: blur(3px); }
.hero.lite.intro .hero-bg { filter: none; }
.hero.lite.intro.is-stop .hero-bg { filter: blur(1.5px); }
.hero.lite .hero-stage.is-fast .feed { filter: none; }
/* Preuve sociale sous les boutons */
.proof { display: inline-flex; align-items: center; gap: 0.9rem; margin-top: 2rem; text-align: left; }
.proof-avatars { display: flex; }
.proof-avatars img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 2px solid #000;
}
.proof-avatars img + img { margin-left: -12px; }
.proof p { font-size: 0.875rem; line-height: 1.3; color: var(--text-2); }
.proof strong { color: var(--text); font-size: 1rem; }

.hero-follow { padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) clamp(4rem, 8vw, 6rem); }
.hero-follow .stats { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .hero-col { will-change: auto; }
}

/* ---------- Chiffres + clients ---------- */

.stats {
  max-width: var(--max);
  margin: clamp(3.5rem, 7vw, 5rem) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-value {
  display: block;
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--accent-num);
  line-height: 1;
}
.stat-label { display: block; margin-top: 0.5rem; color: var(--text-2); font-size: 1rem; }

/* Clients : bandeau bord à bord, logos standardisés en pastilles rondes de même taille */
.clients { margin: clamp(3.5rem, 7vw, 5rem) calc(var(--gutter) * -1) 0; }
.clients-title {
  text-align: center;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.marquee {
  overflow: hidden;
  margin-top: 1.75rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.logo-row {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 0.5rem 0;
}
.marquee.is-running .logo-row { animation: marquee 36s linear infinite; }
.marquee:hover .logo-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 1.25rem)); } }
.logo-row .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: 132px;
}
.logo-row img {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  object-fit: cover;
  background: #161617;
  box-shadow: 0 0 0 1px rgba(245, 245, 247, 0.18);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.logo-row span { font-size: 0.8125rem; font-weight: 600; color: var(--text-2); text-align: center; line-height: 1.3; }
.logo-row a.logo:hover img { transform: scale(1.06); box-shadow: 0 0 0 2px var(--gold); }
.logo-row a.logo:hover span { color: var(--text); }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee.is-running .logo-row { animation: none; }
  .logo-row { flex-wrap: wrap; justify-content: center; width: auto; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head .lead { margin: 1.25rem auto 0; }

/* Cartes approche */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.card-num { font-size: 0.9375rem; font-weight: 700; color: var(--accent-num); }
.card h3 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.card p { color: var(--text-2); }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; padding-top: 0.5rem; }
.tags li {
  font-size: 0.8125rem;
  padding: 0.3em 0.85em;
  border-radius: 980px;
  border: 1px solid color-mix(in srgb, var(--accent-num) 45%, transparent);
  color: var(--accent-num);
  font-weight: 600;
}

/* Services : une bande par canal, texte à gauche et chiffre à droite */
.service {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.service-icon { width: 48px; height: 48px; object-fit: contain; margin-bottom: 1.25rem; border-radius: 12px; }
.service-title { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 1rem; }
.service-text > p:not(.eyebrow) { color: var(--text-2); font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); max-width: 40rem; }
.checks { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.checks li {
  font-size: 0.9375rem;
  padding: 0.4em 1em;
  border-radius: 980px;
  border: 1px solid var(--line);
}
.service-metric { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 4vw, 3.5rem); }
.metric-value { display: block; font-size: clamp(3.5rem, 8vw, 6rem); font-weight: 700; letter-spacing: -0.05em; color: var(--accent-num); line-height: 1; }
.metric-label { display: block; font-size: 1.25rem; font-weight: 600; margin-top: 0.5rem; }
.service-metric p { color: var(--text-2); margin-top: 0.75rem; }
.service + .service { margin-top: 0; }

/* Méthode */
.steps { border-top: 1px solid var(--line); }
.steps > li {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.step-num { font-size: 1.0625rem; font-weight: 600; color: var(--text-2); padding-top: 0.2rem; }
.steps h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 0.5rem; }
.when { font-size: 0.875rem; font-weight: 600; color: var(--accent-num); margin-left: 0.75rem; letter-spacing: 0; white-space: nowrap; }
.steps p { color: var(--text-2); max-width: 44rem; }
.steps .tags { margin-top: 0.9rem; padding-top: 0; }

/* Résultats : une étude de cas par client (profil + statistiques côte à côte) */
.cases { display: grid; gap: 1.25rem; }
.case {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 3rem);
}
.case-client { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.case-handle { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text-2); margin-top: 0.2rem; }
.case-value { display: block; margin-top: 1.5rem; font-size: clamp(3.75rem, 9vw, 6.5rem); font-weight: 700; letter-spacing: -0.055em; line-height: 0.95; color: var(--accent-num); }
.case-label { display: block; margin-top: 0.5rem; font-size: 1.25rem; font-weight: 600; }
.case-stats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.case-stats li { font-size: 0.9375rem; padding: 0.4em 1em; border-radius: 980px; border: 1px solid var(--line); color: var(--text-2); }
.case-stats b { color: var(--text); font-variant-numeric: tabular-nums; }
.case-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.case-shots figure { margin: 0; display: grid; gap: 0.5rem; }
.case-shots img { width: 100%; border-radius: 20px; box-shadow: 0 0 0 1px var(--line), 0 20px 40px rgba(0, 0, 0, 0.45); }
.case-shots figcaption { font-size: 0.75rem; font-weight: 600; color: var(--text-2); text-align: center; }

/* Résultats : cartes « profil » façon réseau social, 3 côte à côte */
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem 1.5rem 1.75rem;
}
.profile-avatar {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: #fff;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--gold);
}
.profile-handle { margin-top: 1rem; font-size: 1.0625rem; font-weight: 700; }
.profile-name { font-size: 0.875rem; color: var(--text-2); }
.profile-counts { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1.25rem; }
.profile-counts li { display: grid; gap: 0.1rem; }
.profile-counts b { font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.profile-counts span { font-size: 0.75rem; color: var(--text-2); }
.profile-btn { margin-top: 1.25rem; font-size: 0.9375rem; padding: 0.6em 2.2em; }
.profile-bio { margin-top: 0.9rem; font-size: 0.875rem; color: var(--text-2); }
.profile-result { width: 100%; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.profile-result-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.profile .case-value { margin-top: 0.75rem; font-size: clamp(3rem, 5vw, 4rem); }
.profile .case-label { font-size: 1rem; }
.profile .case-stats { justify-content: center; margin: 1.25rem 0 0; }
.profile .case-stats li { font-size: 0.8125rem; }
.profile-kpis { display: flex; justify-content: center; gap: 2rem; margin-top: 1.25rem; }
.profile-kpis li { display: grid; gap: 0.15rem; }
.profile-kpis b { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.profile-kpis span { font-size: 0.8125rem; color: var(--text-2); }
.profile .profile-btn { margin-top: auto; }
.profile .profile-result { margin-bottom: 1.5rem; }
/* Zone d'intervention */
.cities { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; max-width: 900px; }
.cities li {
  font-size: 0.9375rem;
  padding: 0.45em 1.1em;
  border-radius: 980px;
  border: 1px solid var(--line);
}
.cities li.cities-more { border-color: var(--gold); color: var(--gold); font-weight: 600; }

/* Équipe */
.team-hero { margin: 0 auto 1rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; background: var(--surface); }
.team-hero img { width: 100%; height: 100%; object-fit: cover; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.team img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 22px; background: var(--surface); }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.5rem 2.5rem 1.5rem 0;
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--text-2);
  transition: transform 200ms ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--text-2); padding: 0 2.5rem 1.75rem 0; }

/* Contact */
.contact {
  position: relative;
  text-align: center;
  padding: clamp(4.5rem, 9vw, 7rem) var(--gutter);
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40% 55% at 50% 45%, rgba(245, 245, 247, 0.06), transparent 70%);
  pointer-events: none;
}
.contact > * { position: relative; }
.contact .lead { margin: 1.5rem auto 0; }
.contact .cta-row-alt { margin-top: 1.5rem; gap: 2rem; }

/* Pied de page */
.footer { color: var(--text-2); font-size: 0.8125rem; padding: 2.5rem var(--gutter); }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.footer-logo { height: 22px; width: auto; margin-bottom: 0.75rem; }
.footer-mail { margin-top: 0.75rem; }
.footer-mail a { color: var(--text); }
.footer-mail a:hover { text-decoration: underline; }
.footer-social { margin-top: 0.35rem; }
.footer-social a { color: var(--text); font-weight: 600; }
.footer-social a:hover { text-decoration: underline; }
.footer nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer nav a:hover { color: var(--text); }
.copyright { max-width: var(--max); margin: 1.25rem auto 0; }
.copyright a:hover { color: var(--text); text-decoration: underline; }

/* ---------- Réservation (façon prise de RDV intégrée) ---------- */

.booking { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.booking-intro { position: sticky; top: 84px; display: grid; gap: 1.25rem; }
.booking-intro .ticks { margin-top: 0.5rem; }
.booking-alt { margin-top: 1rem; font-size: 0.9375rem; color: var(--text-2); }
.booking-alt-links { display: flex; gap: 1.75rem; flex-wrap: wrap; margin-top: -0.5rem; }

.booker {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  gap: 1.75rem;
}
.booker-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.booker-step legend { display: flex; align-items: center; gap: 0.6rem; padding: 0; margin-bottom: 1rem; font-size: 1.0625rem; font-weight: 600; }
.booker-num {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--gold);
  color: #0b0b0c;
  font-size: 0.8125rem;
  font-weight: 700;
}

/* Calendrier */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.cal-month { font-weight: 600; text-transform: capitalize; }
.cal-nav {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.cal-nav:hover:not(:disabled) { background: rgba(245, 245, 247, 0.08); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.35rem; }
.cal-dow span { text-align: center; font-size: 0.75rem; font-weight: 600; color: var(--text-2); padding-bottom: 0.25rem; }
.cal-day {
  width: 100%;
  max-width: 44px;
  justify-self: center;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-2);
  font: 500 0.9375rem var(--sans);
  font-variant-numeric: tabular-nums;
  opacity: 0.35;
}
.cal-day.is-open { color: var(--text); opacity: 1; cursor: pointer; background: rgba(205, 160, 50, 0.12); }
.cal-day.is-open:hover { background: rgba(205, 160, 50, 0.25); }
.cal-day.is-selected { background: var(--gold); color: #0b0b0c; font-weight: 700; }
.cal-day:active.is-open { transform: scale(0.94); }

/* Créneaux */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 0.5rem; }
.slots-empty { grid-column: 1 / -1; font-size: 0.9375rem; color: var(--text-2); }
.slot {
  padding: 0.65em 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font: 600 0.9375rem var(--sans);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.slot:hover { border-color: var(--gold); }
.slot.is-selected { background: var(--gold); border-color: var(--gold); color: #0b0b0c; }

/* Champs */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.field input, .field textarea {
  width: 100%;
  padding: 0.75em 0.9em;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: 400 1rem var(--sans);
  resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(205, 160, 50, 0.25); }
.field input[aria-invalid="true"] { border-color: #ff6b6b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.booker-foot { display: grid; gap: 0.9rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.booker-summary { font-weight: 600; }
.booker-summary.is-set { color: var(--gold); }
.booker-foot .btn { justify-self: start; }
.booker-foot .btn:disabled { filter: grayscale(0.6) brightness(0.7); cursor: wait; }
.booker-msg:empty { display: none; }
.booker-msg { font-size: 0.9375rem; padding: 0.85rem 1rem; border-radius: 12px; background: rgba(255, 107, 107, 0.12); color: #ffb3b3; }
.booker-msg.is-ok { background: rgba(205, 160, 50, 0.14); color: var(--text); }
.booker-legal { font-size: 0.8125rem; color: var(--text-2); }
.booker-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pages Solutions et Management ---------- */

.page-hero { text-align: center; padding: clamp(4.5rem, 9vw, 7rem) var(--gutter) clamp(3.5rem, 6vw, 5rem); }
.page-hero > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.page-hero .lead { margin-top: 1.5rem; }
.page-hero .cta-row { margin-top: 2rem; }
.gold { color: var(--gold); }

.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 2rem; }
.pills li { font-size: 0.875rem; padding: 0.4em 1em; border-radius: 980px; border: 1px solid var(--line); color: var(--text-2); }

/* Liste avec coches */
.ticks { display: grid; gap: 0.7rem; }
.ticks li { position: relative; padding-left: 1.7rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.42em;
  width: 0.75rem;
  height: 0.4rem;
  border-left: 2px solid var(--accent-num);
  border-bottom: 2px solid var(--accent-num);
  transform: rotate(-45deg);
}
.ticks-2 { grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; max-width: 820px; }

/* Formules */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 940px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
}
.plan-featured { box-shadow: inset 0 0 0 2px var(--gold); }
.plan-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #0b0b0c;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35em 1em;
  border-radius: 980px;
  white-space: nowrap;
}
.plan-kind { font-size: 0.875rem; font-weight: 600; color: var(--text-2); }
.plan h3 { font-size: 2rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.plan-desc { color: var(--text-2); }
.plan-price { display: flex; align-items: baseline; gap: 0.4rem; flex-wrap: wrap; }
.plan-price small { color: var(--text-2); font-size: 0.875rem; width: 100%; }
.plan-price strong { font-size: clamp(2.75rem, 6vw, 3.75rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: var(--accent-num); }
.plan-price span { font-size: 1rem; font-weight: 600; }
.plan-unit { font-size: 0.9375rem; color: var(--text-2); margin-top: -0.5rem; }
.plan .ticks { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan-save { font-size: 0.875rem; font-weight: 600; color: var(--accent-num); }
.pricing-note { max-width: 640px; margin-top: 2rem; text-align: center; font-size: 0.9375rem; color: var(--text-2); }

/* Grille 4 piliers */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.grid-4 .card h3 { font-size: 1.5rem; }

/* ---------- Mentions légales ---------- */

.legal { max-width: 46rem; margin: 0 auto; padding: clamp(4rem, 8vw, 6rem) var(--gutter); }
.legal-updated { color: var(--text-2); font-size: 0.875rem; margin-top: 1rem; }
.legal section { margin-top: 3rem; }
.legal h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 0.75rem; }
.legal p { color: var(--text-2); }
.legal p + p { margin-top: 0.75rem; }
.legal strong { color: var(--text); }
.legal p a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal p a:hover { text-decoration-thickness: 2px; }
.legal-back { margin-top: 3.5rem; }

/* ---------- Apparition discrète au défilement ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms cubic-bezier(0.25, 1, 0.5, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity 300ms ease; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: #161617; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 560px; }
  .booking { grid-template-columns: 1fr; }
  .booking-intro { position: static; }
  .service { grid-template-columns: 1fr; }
  .service-metric { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.75rem; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .case { grid-template-columns: 1fr; }
  .profiles { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --radius: 22px; }
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .stats { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .ticks-2 { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .steps > li { grid-template-columns: 1fr; gap: 0.25rem; }
  .when { display: block; margin: 0.25rem 0 0; }
  .team-hero { aspect-ratio: 4 / 3; }
  .proof-avatars img { width: 38px; height: 38px; }
  .logo-row { gap: 1.5rem; }
  .logo-row .logo { width: 100px; }
  .logo-row img { width: 84px; height: 84px; }
  .faq summary { font-size: 1.125rem; }
}
