/* ==========================================================================
   Novary Studio — feuille de styles
   Couleurs, typographies et mises en page reprises de la maquette Claude Design.
   ========================================================================== */

:root {
  --bg: #09090b;
  --bg-band: #0c0c0f;
  --bg-footer: #0b0b0e;
  --bg-card: #111114;
  --bg-input: #0a0a0d;
  --text: #f4f4f5;
  --white: #fafafa;
  --zinc-200: #e4e4e7;
  --zinc-300: #d4d4d8;
  --muted: #a1a1aa;
  --muted-2: #8b8b94;
  --dim: #74747d;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.08);
  --ink: #06070b;

  --font-body: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", Geist, ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(20px, 5vw, 40px);
  --section-space: clamp(88px, 11vw, 136px);
  --header-h: 68px;

  /* Bleu d'accent (valeurs de secours pour les navigateurs anciens) */
  --accent: #53a6ff;
  --accent-hover: #7dbbff;
  --accent-ink: #a7cfff;
  --accent-link: #92c3ff;
  --danger: #ff8f7e;
  --accent-08: rgba(83, 166, 255, 0.08);
  --accent-10: rgba(83, 166, 255, 0.10);
  --accent-12: rgba(83, 166, 255, 0.12);
  --accent-14: rgba(83, 166, 255, 0.14);
  --accent-16: rgba(83, 166, 255, 0.16);
  --accent-18: rgba(83, 166, 255, 0.18);
  --accent-22: rgba(83, 166, 255, 0.22);
  --accent-24: rgba(83, 166, 255, 0.24);
  --accent-30: rgba(83, 166, 255, 0.30);
  --accent-45: rgba(83, 166, 255, 0.45);
  --accent-55: rgba(83, 166, 255, 0.55);
  --accent-60: rgba(83, 166, 255, 0.60);
  --accent-65: rgba(83, 166, 255, 0.65);
  --accent-80: rgba(83, 166, 255, 0.80);
  --accent-00: rgba(83, 166, 255, 0);
}

@supports (color: oklch(0.5 0.1 255)) {
  :root {
    --accent: oklch(0.72 0.17 255);
    --accent-hover: oklch(0.79 0.14 255);
    --accent-ink: oklch(0.84 0.09 255);
    --accent-link: oklch(0.82 0.11 255);
    --danger: oklch(0.78 0.14 30);
    --accent-08: oklch(0.72 0.17 255 / 0.08);
    --accent-10: oklch(0.72 0.17 255 / 0.10);
    --accent-12: oklch(0.72 0.17 255 / 0.12);
    --accent-14: oklch(0.72 0.17 255 / 0.14);
    --accent-16: oklch(0.72 0.17 255 / 0.16);
    --accent-18: oklch(0.72 0.17 255 / 0.18);
    --accent-22: oklch(0.72 0.17 255 / 0.22);
    --accent-24: oklch(0.72 0.17 255 / 0.24);
    --accent-30: oklch(0.72 0.17 255 / 0.30);
    --accent-45: oklch(0.72 0.17 255 / 0.45);
    --accent-55: oklch(0.72 0.17 255 / 0.55);
    --accent-60: oklch(0.72 0.17 255 / 0.60);
    --accent-65: oklch(0.72 0.17 255 / 0.65);
    --accent-80: oklch(0.72 0.17 255 / 0.80);
    --accent-00: oklch(0.72 0.17 255 / 0);
  }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--white); text-decoration: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }

::selection { background: var(--accent); color: var(--ink); }
::placeholder { color: #6b6b74; opacity: 1; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

[hidden] { display: none !important; }

.page {
  min-height: 100vh;
  overflow-x: clip;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--bg);
  font-weight: 600;
  font-size: 14px;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

@keyframes nv-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(7deg); }
}

@keyframes nv-pulse {
  0% { box-shadow: 0 0 0 0 var(--accent-65); }
  100% { box-shadow: 0 0 0 7px var(--accent-00); }
}

/* ---------- Icônes ---------- */

.ico-star { width: 12px; height: 12px; flex: none; }
.ico-check { width: 20px; height: 20px; flex: none; }
.ico-check--accent { --check-bg: var(--accent-18); --check-fg: var(--accent-ink); }
.ico-check--soft { --check-bg: var(--accent-16); --check-fg: var(--accent-ink); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--ink); }

.btn-glow { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-lift:hover { transform: translateY(-1px); }

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); color: var(--white); }

.btn-dark { background: var(--bg); color: var(--white); font-weight: 600; }
.btn-dark:hover { background: #27272a; color: var(--white); }

.btn-lg {
  min-height: 52px;
  padding: 12px 22px 12px 24px;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.btn-ghost.btn-lg { padding: 12px 22px; }

.btn-md { min-height: 46px; padding: 10px 20px; font-size: 15px; }

.btn-sm {
  height: 40px;
  padding: 0 16px 0 18px;
  gap: 8px;
  font-size: 14px;
  white-space: nowrap;
}
.btn-sm svg { width: 14px; height: 14px; }

.btn-sm-ghost { min-height: 44px; padding: 10px 18px; font-size: 15px; }

.btn-block { width: 100%; }

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 11, 0.74);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand:hover { color: var(--white); }
.brand-mark { width: 22px; height: 22px; flex: none; }
.brand-sub { font-weight: 400; color: var(--muted); }

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}
.header-nav a { color: var(--muted); transition: color .15s; }
.header-nav a:hover { color: var(--white); }

@media (max-width: 939.98px) {
  .header-nav { display: none; }
}

@media (max-width: 380px) {
  .header-inner { gap: 12px; }
  .brand { font-size: 17px; gap: 8px; }
  .site-header .btn-sm { padding: 0 13px 0 15px; font-size: 13.5px; gap: 6px; }
}

/* Très petits écrans : l'en-tête garde le logo et le bouton sur une ligne */
@media (max-width: 359.98px) {
  .site-header .brand-sub { display: none; }
  .site-header .btn-sm { padding: 0 14px; }
  .site-header .btn-sm svg { display: none; }
}

/* ---------- Accueil (hero) ---------- */

/* L'accueil occupe tout l'écran sous l'en-tête, contenu centré verticalement */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
}
.hero > .hero-inner { width: 100%; }

.hero-inner {
  position: relative;
  padding-top: clamp(56px, 9vw, 112px);
  padding-bottom: clamp(56px, 8vw, 96px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hero-copy { flex: 1.7 1 520px; min-width: 0; }

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
  color: var(--white);
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 540px;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted-2);
}

/* Le même seuil décide de la mise en page et du centrage :
   grand écran = texte à gauche et illustration à droite, toujours côte à côte ;
   écran réduit = illustration sous le texte, texte et boutons centrés. */
@media (min-width: 960px) {
  .hero-inner { flex-wrap: nowrap; }
}
@media (max-width: 959.98px) {
  .hero-copy { flex-basis: 100%; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
}

.hero-art {
  flex: 1 1 320px;
  min-width: 0;
  position: relative;
  height: clamp(260px, 38vw, 460px);
}

.hero-glow {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-14), transparent);
  filter: blur(8px);
}

/* --mx / --my (entre -1 et 1) suivent la souris (main.js) ; --depth règle l'amplitude
   de chaque élément pour un effet de profondeur. */
.hero-art { --mx: 0; --my: 0; }

.chrome {
  position: absolute;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.7));
  animation: nv-float var(--dur, 8s) ease-in-out var(--delay, 0s) infinite;
  translate: calc(var(--mx) * var(--depth, 0) * 1px) calc(var(--my) * var(--depth, 0) * 1px);
}

.hero-glow { translate: calc(var(--mx) * -10px) calc(var(--my) * -10px); }
.chrome svg { width: 100%; height: 100%; overflow: visible; }

.chrome-main {
  inset: 0;
  margin: auto;
  width: clamp(170px, 25vw, 300px);
  height: clamp(170px, 25vw, 300px);
  --dur: 12s;
  --delay: 0s;
  --depth: 14;
  rotate: calc(var(--mx) * 6deg);
}
/* Les deux étoiles autour de l'astérisque */
.chrome-a {
  top: 2%;
  left: 4%;
  width: clamp(64px, 9vw, 120px);
  height: clamp(64px, 9vw, 120px);
  --dur: 8s;
  --delay: -2s;
  --depth: 26;
}
.chrome-b {
  bottom: 4%;
  right: 6%;
  width: clamp(38px, 5vw, 66px);
  height: clamp(38px, 5vw, 66px);
  --dur: 6.5s;
  --delay: -4s;
  --depth: 34;
}
/* ---------- Sections : titres communs ---------- */

.section {
  scroll-margin-top: var(--header-h);
  padding-top: var(--section-space);
}

.section--band {
  margin-top: var(--section-space);
  padding-bottom: var(--section-space);
  background: var(--bg-band);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--contact { padding-bottom: var(--section-space); }

/* Petit intitulé au-dessus des titres de section */
.eyebrow {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-link);
}

/* La première section suit directement l'accueil : séparation discrète */
.section--first { border-top: 1px solid var(--line); }

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--white);
  text-wrap: balance;
}
.section-title--wide { max-width: 820px; }


.section-lead {
  margin: 20px 0 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}

.intro-cta { margin-top: 32px; display: flex; }

/* Mise en page à deux colonnes (Méthode, FAQ, Contact) */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
  align-items: flex-start;
}
.split--faq { gap: 40px 64px; }
.split-intro { flex: 1 1 320px; min-width: 0; }
.split-intro--faq { flex-basis: 300px; }

@media (min-width: 920px) {
  .split-intro--sticky { position: sticky; top: 108px; }
}

/* ---------- Bénéfices ---------- */

.benefits {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
@media (min-width: 760px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.benefit {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 26px;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #131317, #0d0d10);
}
.benefit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.benefit-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--accent-24);
  background: var(--accent-10);
  color: var(--accent-ink);
}
.benefit-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-num {
  font: 500 15px/1 var(--font-display);
  font-variant-numeric: tabular-nums;
  color: var(--dim);
}
.benefit-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
}
.benefit-text {
  margin: 10px 0 0;
  max-width: 520px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.benefit-tags {
  list-style: none;
  margin: auto 0 0;
  padding: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.benefit-tags li {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  color: var(--zinc-300);
}

/* Encadré « Avec qui nous travaillons » sous les cartes */
.sectors {
  margin-top: 16px;
  padding: 32px;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: #111114;
  display: grid;
  gap: 28px 48px;
}
.sectors-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
}
.sectors-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sectors-list li {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}
.sectors-side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.sectors-text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--zinc-300); text-wrap: pretty; }

@media (min-width: 900px) {
  .sectors { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; padding: 36px 40px; }
  .sectors-side { padding-left: 48px; border-left: 1px solid var(--line-2); }
}

/* ---------- Méthode ---------- */

.steps {
  flex: 1.3 1 440px;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line-2);
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 28px;
  padding: 30px 0;
  border-top: 1px solid var(--line-2);
}

.step-num {
  grid-row: span 2;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 5.4vw, 64px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  min-width: 1.15em;
  color: var(--dim);
}

.step-title {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
}

.badge-accent {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--accent-14);
  color: var(--accent-ink);
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.step-text {
  margin: 0;
  max-width: 520px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- Réalisations ---------- */

.work-grid {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: stretch;
}

.work-card {
  flex: 2 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #131317, #0d0d10);
  overflow: hidden;
}

.work-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-card);
}
.work-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 14px; }

.work-meta { margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted-2); }

.work-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
}

.work-text {
  margin: 0;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.tags {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags li {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  color: var(--zinc-300);
}

.work-link { margin-top: 10px; display: flex; }
.work-link .btn svg { width: 14px; height: 14px; }

.work-cta {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 280px;
  padding: 28px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: #0d0d10;
  color: var(--white);
  transition: border-color .15s;
}
.work-cta:hover { border-color: var(--accent-60); color: var(--white); }
.work-cta-mark { width: 44px; height: 44px; }
.work-cta-body { display: flex; flex-direction: column; }
.work-cta-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.work-cta-text { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.work-cta-link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent-link);
}
.work-cta-link svg { width: 16px; height: 16px; flex: none; }

/* ---------- Preuves ---------- */

.scores { margin-top: 40px; }
.scores-note { margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted-2); }
.scores-note a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.scores-note a svg { width: 13px; height: 13px; flex: none; }

/* Scores Google (Preuves) */
.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 20px 22px;
  border-radius: 18px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--white);
}
.stat-of {
  margin-left: 4px;
  font-size: 0.42em;
  letter-spacing: -0.01em;
  color: var(--muted-2);
}
.stat-label { margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--white); }
.stat-sub { font-size: 14px; line-height: 1.45; color: var(--muted); }

.proof-cols { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.proof-card {
  flex: 1 1 360px;
  min-width: 0;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #131317, #0d0d10);
}
.proof-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
}
.proof-tools,
.proof-checks {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.proof-tools li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--muted);
}
.proof-tools strong { font-size: 15px; font-weight: 600; color: var(--white); }
.proof-checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.45;
  color: var(--zinc-300);
}

/* Avis client (bloc prêt dans index.html, à activer avec un avis réel) */
.quote {
  margin: 16px 0 0;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
}
.quote blockquote { margin: 0; }
.quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--white);
}
.quote figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); }
.quote figcaption strong { font-weight: 600; color: var(--white); }

/* Bouton d'appel en fin de section */
.section-cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}
.section-cta-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted-2); }

/* ---------- FAQ ---------- */

.faq-list {
  flex: 1.6 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0);
  transition: background .2s ease;
}
.faq-item.is-open { background: rgba(255, 255, 255, 0.035); }

.faq-h { margin: 0; font-size: inherit; font-weight: inherit; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  background: none;
  border: 0;
  border-radius: 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: rotate(0deg);
  transition: transform .25s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--white);
  transform: translate(-50%, -50%);
}
.faq-icon::after { width: 1.5px; height: 12px; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }

.faq-a {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .3s ease;
}
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p {
  margin: 0;
  padding: 0 22px 22px;
  max-width: 620px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}
.faq-a a { color: var(--accent-link); text-decoration: underline; text-underline-offset: 2px; }
.faq-a a:hover { color: var(--white); }

/* Avec JavaScript, seules les réponses ouvertes sont visibles */
.js .faq-item:not(.is-open) .faq-a { grid-template-rows: 0fr; }
.js .faq-item:not(.is-open) .faq-a > div { visibility: hidden; transition: visibility 0s .3s; }

/* ---------- Contact ---------- */

.contact-checks {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  color: var(--zinc-200);
}

.contact-alt { margin: 40px 0 0; font-size: 14.5px; color: var(--muted-2); }

.contact-mail {
  display: inline-block;
  margin-top: 6px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
  overflow-wrap: anywhere;
  transition: border-color .15s;
}
.contact-mail:hover { color: var(--white); border-bottom-color: var(--accent); }

.contact-card {
  min-width: 0;
  position: relative;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: var(--bg-card);
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.8);
}

/* Présentation au-dessus du calendrier : titre à gauche, rappels et e-mail à droite */
.contact-intro { display: grid; gap: 32px 64px; }
.contact-aside .contact-checks { margin-top: 0; }
.contact-aside .contact-alt { margin-top: 28px; }
@media (min-width: 900px) {
  .contact-intro { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; }
}

/* Calendrier de réservation Cal.com (chargé par main.js), sur toute la largeur */
.contact-card--cal {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 10px;
}
.cal-frame { width: 100%; min-width: 0; }
.cal-frame iframe { display: block; border-radius: 18px; }

.cal-loading {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 24px;
  text-align: center;
}
.cal-loading svg { width: 40px; height: 40px; animation: nv-spin 2.4s linear infinite; }
.cal-loading p { margin: 0; max-width: 360px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.contact-card.is-ready .cal-loading { display: none; }

.cal-fallback {
  margin: 12px 14px 8px;
  font-size: 13.5px;
  line-height: 1.55;
  text-align: center;
  color: var(--muted-2);
}
.cal-fallback a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.cal-fallback a:hover { color: var(--white); }

@keyframes nv-spin { to { transform: rotate(360deg); } }

/* ---------- Pied de page ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-footer);
  overflow: hidden;
}

.footer-inner { padding-top: 64px; }

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
}

.footer-about { flex: 1 1 300px; max-width: 380px; }
.footer-about p { margin: 18px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.footer-cta { margin-top: 24px; display: flex; }

.btn-footer { height: 44px; padding: 0 18px 0 20px; gap: 8px; font-size: 15px; }
.btn-footer svg { width: 14px; height: 14px; }

.footer-nav {
  flex: 1 1 420px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 40px 64px;
}

.footer-heading { margin: 0; font-size: 14px; font-weight: 600; line-height: 1; color: var(--white); }

.footer-nav ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
}
.footer-nav a { color: var(--muted); transition: color .15s; }
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  margin-top: 56px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 13px;
  color: var(--muted-2);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-legal a { color: var(--muted-2); transition: color .15s; }
.footer-legal a:hover { color: var(--white); }


/* ---------- Pages secondaires (mentions légales, confidentialité, 404) ---------- */

.subpage {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: var(--section-space);
}
.subpage-narrow { max-width: 760px; }
.subpage .section-title { font-size: clamp(34px, 4.4vw, 52px); }

.prose { margin-top: 40px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.prose h2 {
  margin: 44px 0 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
}
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--zinc-200); font-weight: 500; }
.prose a { color: var(--accent-link); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--white); }
.prose .updated {
  margin-top: 40px;
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.subpage-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.todo {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--accent-14);
  color: var(--accent-ink);
}

.footer-bottom--solo { margin-top: 0; border-top: 0; }
.footer-legal a[aria-current="page"] { color: var(--white); }

/* ---------- Tablette et téléphone ---------- */

@media (max-width: 959.98px) {

  /* Pied de page : présentation puis plan du site, tout aligné à gauche */
  .footer-top { flex-direction: column; gap: 44px; }
  .footer-about { flex: none; max-width: 520px; }
  .footer-nav { flex: none; justify-content: flex-start; gap: 32px 64px; }
}

@media (max-width: 599.98px) {
  /* Pied de page : « Services » et « Studio » côte à côte, « Contact » en dessous */
  .footer-inner { padding-top: 52px; }
  .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer-nav > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { margin-top: 44px; flex-direction: column; gap: 10px; }
  .footer-legal { gap: 8px 24px; }


  /* Méthode : numéros plus proches du texte */
  .step { gap: 8px 18px; }

  /* Secteurs : étiquettes plus compactes */
  .sectors-list { gap: 8px; }
  .sectors-list li { padding: 7px 12px; font-size: 14px; }

  /* Preuves : les 4 scores Google en 2 × 2 */
  .scores .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .scores .stat { padding: 16px 14px 18px; }
  .scores .stat-num { font-size: 36px; }
  .scores .stat-sub { font-size: 13px; }
}

@media (max-width: 479.98px) {
  /* Marges intérieures adaptées aux petits écrans */
  .work-body { padding: 22px 22px 26px; }
  .work-cta { padding: 24px 22px; min-height: 240px; }
  .benefit, .sectors, .proof-card, .quote { padding: 22px; }
  .stat { padding: 18px 18px 20px; }
  .contact-card--cal { padding: 6px; }
  .faq-q { padding: 18px; gap: 16px; }
  .faq-a p { padding: 0 18px 18px; }

}

@media (max-width: 419.98px) {
  .work-link-domain { display: none; }

}

@media (max-width: 359.98px) {
  .btn-lg svg, .btn-footer svg { display: none; }
}

/* ---------- Animations et survols ---------- */

@keyframes nv-reveal {
  from { opacity: 0; translate: 0 18px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes nv-fade-in {
  from { opacity: 0; scale: 0.94; }
  to { opacity: 1; scale: 1; }
}

/* Accueil : apparition en cascade à l'ouverture */
.hero-copy > * { animation: nv-reveal .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .28s; }
.hero-copy > :nth-child(5) { animation-delay: .34s; }
.hero-art { animation: nv-fade-in 1.1s cubic-bezier(.2, .7, .2, 1) .15s both; }


/* Blocs qui apparaissent au défilement (classes posées par main.js) */
.reveal { opacity: 0; }
.reveal.is-visible { animation: nv-reveal .7s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0s) both; }

/* Flèches des boutons et liens */
.btn svg,
.work-cta-link svg { transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.btn:hover svg,
.work-cta:hover .work-cta-link svg { transform: translateX(3px); }
.work-link .btn:hover svg { transform: translate(2px, -2px); }
.btn:active { transform: scale(0.98); }


/* Logo : l'étoile tourne d'un quart de tour */
.brand-mark,
.work-cta-mark { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.brand:hover .brand-mark { transform: rotate(90deg); }
.work-cta:hover .work-cta-mark { transform: rotate(90deg) scale(1.06); }

/* Menu : soulignement qui se déploie */
.header-nav a { position: relative; }
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.header-nav a:hover::after { transform: scaleX(1); transform-origin: left; }


/* FAQ */
.faq-item { transition: background .2s ease, border-color .2s ease; }
.faq-item:hover { border-color: rgba(255, 255, 255, 0.14); }
.faq-icon { transition: transform .25s ease, border-color .2s ease, background .2s ease; }
.faq-q:hover .faq-icon { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.05); }


.benefit,
.proof-card,
.stat,
.work-card {
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .3s ease, box-shadow .4s ease;
}
.benefit-icon { transition: background .3s ease, border-color .3s ease, transform .4s cubic-bezier(.2, .7, .2, 1); }
.work-media img { transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.step-num { transition: transform .4s cubic-bezier(.2, .7, .2, 1), filter .4s ease; }

@media (hover: hover) {
  .benefit:hover,
  .work-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  }
  .proof-card:hover,
  .stat:hover { border-color: rgba(255, 255, 255, 0.16); }

  .benefit:hover .benefit-icon { background: var(--accent-16); border-color: var(--accent-45); transform: rotate(-6deg); }
  .work-card:hover .work-media img { transform: scale(1.03); }

  .step:hover .step-num { transform: translateX(4px); filter: brightness(1.35); }
}

/* ---------- Réduction des animations ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; }
}
