@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-var-Dr-cltI.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400-78NWkmx.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500-QJNNIVc.woff2") format("woff2");
}

:root {
  /* Palette 2026 : fond froid clair + encre violet quasi-noir + rampe chaude
     jaune → terracotta → orange brûlé pour les accents. */
  --paper: #F3F6F9;
  --paper-alt: #F3F1E4;
  --paper-deep: #F2ECCE;
  --ink: #251C31;
  --ink-soft: #585263;
  --ink-faint: #6B6675;
  --gold: #EFC623;
  --gold-mid: #DC7956;
  --gold-deep: #E16E1E;
  --gold-text: #A95524;
  --gold-line: #F1E099;
  --line: #DEE0E5;
  --max: 1440px;
  --narrow: 880px;
  --gradient-yellow: linear-gradient(135deg, #F8E7A8 0%, #EFC623 45%, #DC7956 100%);
  --gradient-yellow-soft: linear-gradient(180deg, rgba(239, 198, 35, 0.20), rgba(239, 198, 35, 0));
  --gradient-text: linear-gradient(120deg, #A95524 0%, #E16E1E 50%, #A95524 100%);
  --shadow-gold: 0 20px 45px -20px rgba(225, 110, 30, 0.35);
  --shadow-soft: 0 12px 30px -18px rgba(37, 28, 49, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-size: 17px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 96px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: "Space Grotesk", sans-serif; font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }

.mono, .stat-num, .service-tag, .timeline-date, .kicker, .quote-role {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}
.wrap.narrow { max-width: var(--narrow); }

.text-gradient {
  background: var(--gradient-text);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine {
  to { background-position: 220% center; }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(243, 246, 249, 0.85);
  backdrop-filter: saturate(160%) blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.wordmark-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--gold-line);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); border-bottom-color: var(--gold-deep); }
.nav-cta {
  color: var(--ink) !important;
  background: var(--paper-deep);
  border: 1px solid var(--gold-line);
  padding: 7px 16px !important;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--gradient-yellow); color: var(--ink) !important; border-color: transparent; border-bottom-color: transparent !important; transform: translateY(-1px); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
  z-index: 40;
}
.menu-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 27, 23, 0.35);
  backdrop-filter: blur(2px);
  z-index: 25;
}
.nav-overlay[hidden] { display: none; }

/* Dropdown (Expertise mega-menu) */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0 0 2px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink-soft);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-drop-toggle:hover { color: var(--ink); border-bottom-color: var(--gold-deep); }
.nav-drop-link { padding-right: 2px; }
.nav-drop-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 4px 0 6px;
  margin-left: 2px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s ease;
}
.nav-drop-caret:hover { color: var(--ink); }
.nav-caret { transition: transform 0.25s var(--ease); }
.nav-item.is-open .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: fixed;
  top: 97px;
  left: 50%;
  transform: translate(-50%, 8px);
  width: min(1440px, calc(100vw - 56px));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 30px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  z-index: 30;
}
.nav-item.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
@media (min-width: 781px) {
  .nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
}
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 40px;
}
.nav-dropdown-grid-single { grid-template-columns: 1fr; gap: 0; min-width: 200px; }
.nav-dropdown-col { display: flex; flex-direction: column; gap: 0; padding: 0 16px; }
.nav-dropdown-col + .nav-dropdown-col { border-left: 1px solid var(--line); }
.nav-dropdown-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 10px;
}
.nav-dropdown-title svg { flex-shrink: 0; }
.nav-dropdown-group { display: flex; flex-direction: column; }
.nav-dropdown-group + .nav-dropdown-group { margin-top: 6px; }
.nav-dropdown-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  margin: 0 0 2px;
}
.nav-dropdown-col span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding: 6px 0;
  cursor: default;
}
.nav-dropdown-col a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.nav-dropdown-col a:hover { color: var(--ink); padding-left: 4px; }
.nav-dropdown-col .city-featured {
  color: var(--gold-text);
  font-weight: 600;
}
.nav-dropdown-col .city-current {
  color: var(--ink-faint);
  cursor: default;
}

/* Hero */
.hero {
  padding: 96px 0 0;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 640px;
  z-index: -1;
  pointer-events: none;
}
.hero-glow::before,
.hero-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 16s ease-in-out infinite alternate;
}
.hero-glow::before {
  width: 480px;
  height: 480px;
  top: -120px;
  right: 6%;
  background: radial-gradient(circle at 30% 30%, #F8E7A8, #EFC623 55%, rgba(239, 198, 35, 0));
}
.hero-glow::after {
  width: 380px;
  height: 380px;
  top: 120px;
  left: 2%;
  background: radial-gradient(circle at 60% 40%, #F6C9AB, #DC7956 60%, rgba(220, 121, 86, 0));
  animation-delay: -6s;
  animation-duration: 20s;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-24px, 30px) scale(1.08); }
}

.brand-watermark {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.brand-icon { position: absolute; opacity: 0.05; }
.brand-icon.brand-google { width: 300px; height: 300px; top: -70px; right: -60px; }
.brand-icon.brand-youtube { width: 190px; height: 190px; bottom: -40px; left: -30px; }
.brand-icon.brand-bing { width: 160px; height: 160px; bottom: 6%; right: 22%; }
.audit-tool .brand-icon.brand-google { width: 220px; height: 220px; top: auto; bottom: -50px; right: -40px; }
@media (max-width: 860px) {
  .brand-icon.brand-youtube, .brand-icon.brand-bing { display: none; }
}

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  display: block;
  color: var(--gold-text);
  will-change: transform;
}
.hero-shape svg { display: block; }

.shape-ring-1 { top: 8%; left: 4%; opacity: 0.4; animation: shape-spin 34s linear infinite; }
.shape-ring-2 { top: 6%; right: 24%; opacity: 0.3; animation: shape-spin 26s linear infinite reverse; }
.shape-ring-3 { bottom: 16%; left: 13%; opacity: 0.35; }
.shape-dot-1 { top: 22%; right: 35%; opacity: 0.45; }
.shape-dot-2 { bottom: 30%; left: 7%; opacity: 0.4; color: var(--ink); }

.shape-line-1, .shape-line-2, .shape-line-3 {
  left: -20vw;
  width: 140vw;
  height: 2px;
  background: currentColor;
  transform-origin: center;
}
.shape-line-1 { top: 16%; opacity: 0.3; rotate: -4deg; }
.shape-line-2 { top: 46%; opacity: 0.3; rotate: 3deg; color: var(--ink); }
.shape-line-3 { bottom: 18%; opacity: 0.3; rotate: -2deg; }
.shape-diamond {
  bottom: 10%;
  left: 23%;
  width: 20px;
  height: 20px;
  border: 2.5px solid var(--gold-text);
  rotate: 45deg;
  opacity: 0.4;
  animation: shape-pulse 6s ease-in-out infinite;
}
.shape-cross { top: 60%; left: 2%; opacity: 0.35; color: var(--ink); }
.shape-triangle {
  bottom: 6%;
  right: 2%;
  opacity: 0.3;
  animation: shape-spin 46s linear infinite reverse;
}
@keyframes shape-spin {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}
@keyframes shape-pulse {
  0%, 100% { scale: 1; }
  50% { scale: 1.2; }
}
@media (max-width: 860px) {
  .shape-cross, .shape-dot-1, .shape-dot-2, .shape-line-2, .shape-line-3 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-shape { animation: none !important; }
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-text { max-width: 800px; }

.hero-portrait {
  flex-shrink: 0;
  width: 340px;
  height: 340px;
  position: relative;
  animation: rise 0.8s var(--ease) 0.2s both;
}
.hero-portrait::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: var(--gradient-yellow);
  filter: blur(2px);
  z-index: -1;
  animation: drift 10s ease-in-out infinite alternate;
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--paper);
  box-shadow: var(--shadow-gold);
}

.serp-mock {
  position: absolute;
  top: 20px;
  right: 570px;
  width: 190px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 17px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  perspective: 600px;
  z-index: 2;
  pointer-events: none;
}
.serp-google-logo {
  position: absolute;
  top: -15px;
  left: -15px;
  background: var(--paper);
  border-radius: 50%;
  padding: 6px;
  box-shadow: var(--shadow-soft);
  z-index: 3;
}
.serp-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  animation: serp-enter 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i) * 1.5s + 0.3s);
}
.serp-rank {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--gradient-yellow);
  color: var(--ink);
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.serp-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 1px;
}
.serp-line {
  display: block;
  height: 3px;
  border-radius: 2px;
  width: 100%;
}
.serp-title { height: 4px; width: 92%; background: #3b78e7; }
.serp-url { width: 52%; background: #1e8e3e; }
.serp-text { background: var(--ink); opacity: 0.4; }
.serp-text.serp-w2 { width: 84%; }
.serp-text.serp-w3 { width: 58%; }
@keyframes serp-enter {
  from {
    opacity: 0;
    transform: translate3d(46px, -18px, -70px) rotateY(-30deg) rotateX(8deg) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0deg) rotateX(0deg) scale(1);
  }
}
@media (max-width: 860px) {
  .serp-mock { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .serp-row { animation: none; opacity: 1; transform: none; }
}

.floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  animation: float-badge 4.5s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}
.floating-badge:hover {
  transform: translateY(-8px) scale(1.08);
  box-shadow: var(--shadow-gold);
  animation-play-state: paused;
  z-index: 3;
}
.floating-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-yellow);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}
.badge-rating { top: 2%; right: -28%; }
.badge-experience { bottom: 14%; left: -34%; }
.badge-response { bottom: -22%; right: -16%; }
.badge-local { top: 46%; left: -40%; }
.badge-geo { top: -24%; left: 36%; }
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.keyword-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.keyword-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
  animation: float-badge 4.5s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
}
.keyword-badge:hover {
  transform: translateY(-7px) scale(1.06);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold-line);
  animation-play-state: paused;
  z-index: 3;
}
.keyword-badge-icon {
  flex-shrink: 0;
  color: var(--gold-text);
}
@media (max-width: 640px) {
  .keyword-badges { justify-content: center; }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--gold-text);
  background: var(--paper-deep);
  border: 1px solid var(--gold-line);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  animation: rise 0.7s var(--ease) both;
}
.kicker-logo { border-radius: 50%; flex-shrink: 0; }
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  letter-spacing: -0.01em;
  animation: rise 0.7s var(--ease) 0.08s both;
}
.hero-lead {
  font-size: 1.12rem;
  max-width: 62ch;
  color: var(--ink-soft);
  animation: rise 0.7s var(--ease) 0.16s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 56px;
  animation: rise 0.7s var(--ease) 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn[hidden] { display: none; }
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--gradient-yellow); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); transform: translateY(-2px); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 28px 4px 32px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat-num { display: block; font-size: 2.2rem; font-weight: 600; }
.stat-label { margin: 4px 0 0; font-size: 0.88rem; color: var(--ink-soft); }

/* Sections */
.section { padding: 84px 0; position: relative; }
.section.alt { background: var(--paper-alt); }
.section h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 0.8em; }
.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--gold-text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Approche: 3/4 - 1/4 layout */
.approche-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 16px 56px;
  align-items: start;
}
.approche-main, .approche-side { min-width: 0; }
.approche-side .france-map-block { margin-top: 0; }
@media (max-width: 900px) {
  .approche-grid { grid-template-columns: 1fr; }
}

/* Auto-advancing bullet slider */
.bullet-slider { margin-top: 28px; }
.bullet-slider-track { display: grid; }
.bullet-slide {
  grid-area: 1 / 1;
  position: relative;
  margin: 0;
  padding-left: 30px;
  color: var(--ink-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0.5s;
}
.bullet-slide::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 12px;
  background: var(--gradient-yellow);
  border-radius: 50%;
}
.bullet-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0s;
}
.bullet-slider-dots { display: flex; gap: 8px; margin-top: 20px; }
.bullet-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: var(--line);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.bullet-dot.is-active { width: 22px; background: var(--gold-deep); }
@media (prefers-reduced-motion: reduce) {
  .bullet-slide { position: static; opacity: 1; visibility: visible; transform: none; margin-bottom: 12px; }
  .bullet-slider-track { display: block; }
}

.france-map-block { margin-top: 48px; }
.france-map-block > p:not(.section-kicker) { color: var(--ink-soft); margin: 6px 0 0; }
.france-map-wrap { max-width: 300px; margin: 28px auto 0; }
.france-map { width: 100%; height: auto; overflow: visible; }
.france-outline { fill: var(--paper-deep); stroke: var(--gold-line); stroke-width: 2; }
.map-pin { cursor: pointer; }
.map-pin .pin-dot { fill: var(--gold-text); transition: fill 0.2s ease; }
.map-pin .pin-pulse {
  fill: var(--gold-text);
  opacity: 0.35;
  transform-origin: center;
  transform-box: fill-box;
  animation: pin-ping 2.6s ease-out infinite;
}
.map-pin:nth-of-type(2) .pin-pulse { animation-delay: 0.4s; }
.map-pin:nth-of-type(3) .pin-pulse { animation-delay: 0.8s; }
.map-pin:nth-of-type(4) .pin-pulse { animation-delay: 1.2s; }
.map-pin:nth-of-type(5) .pin-pulse { animation-delay: 1.6s; }
.map-pin:nth-of-type(6) .pin-pulse { animation-delay: 2s; }
.map-pin .pin-label {
  font-family: inherit;
  font-size: 9px;
  fill: var(--ink-soft);
  text-anchor: middle;
  transition: fill 0.2s ease;
}
.map-pin:hover .pin-dot,
.map-pin:focus-visible .pin-dot { fill: var(--gold-deep); r: 6.5; }
.map-pin:hover .pin-label,
.map-pin:focus-visible .pin-label { fill: var(--ink); font-weight: 600; }
.map-pin.pin-featured .pin-dot,
.map-pin.pin-featured .pin-pulse { fill: var(--gold-deep); }
.map-pin.pin-featured .pin-label { fill: var(--gold-text); font-weight: 600; }
@keyframes pin-ping {
  0% { transform: scale(1); opacity: 0.35; }
  70% { transform: scale(2.6); opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pin-pulse { animation: none; }
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
  background: var(--paper);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-item[open] { background: var(--paper-deep); border-color: var(--gold-line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.3rem;
  line-height: 1;
  font-weight: 400;
  color: var(--gold-text);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--ink-soft); margin: 0 0 20px; font-size: 0.96rem; }

/* Fit / not-fit qualification cards */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 26px;
}
.fit-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
}
.fit-card.is-negative { border-color: var(--line); }
.fit-card h3 { margin: 0 0 16px; font-size: 1.1rem; }
.fit-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fit-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: 0.95rem; }
.fit-list svg { flex-shrink: 0; margin-top: 3px; }
.fit-card.is-negative svg { color: var(--gold-mid); }
.fit-card.is-positive svg { color: var(--gold-deep); }
@media (max-width: 720px) {
  .fit-grid { grid-template-columns: 1fr; }
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.service {
  position: relative;
  padding: 30px 26px 32px;
  background: var(--paper);
  transition: background 0.3s ease, transform 0.3s ease;
}
.service:hover {
  background: var(--paper-deep);
  transform: translateY(-3px);
}
.service-link {
  color: inherit;
  text-decoration: none;
}
.service-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.service:has(.service-link) { cursor: pointer; }
.service:has(.service-link):hover h3 { color: var(--gold-deep); }
.service-tag {
  display: inline-block;
  font-size: 0.76rem;
  color: var(--gold-text);
  background: var(--paper-deep);
  padding: 3px 10px;
  border-radius: 999px;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.service h3 { font-size: 1.08rem; margin-bottom: 0.4em; }
.service p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

/* Testimonials */
.testimonial-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.testimonial-source {
  color: var(--ink-soft);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.testimonial-source:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold-line);
}
.stars {
  display: flex;
  gap: 3px;
  color: var(--gold-mid);
}
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.quote-text {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
}
.quote-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.quote-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-yellow);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.quote-name { font-weight: 600; font-size: 0.95rem; }
.quote-role { display: block; color: var(--ink-faint); font-size: 0.82rem; margin-top: 1px; }

/* Timeline */
.timeline-wrap { position: relative; margin: 30px 0 0; }
.timeline-track {
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--gold-line);
  overflow: hidden;
}
.timeline-progress {
  position: absolute;
  inset: 0;
  background: var(--gradient-yellow);
  transform: scaleY(0);
  transform-origin: top;
  will-change: transform;
}
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 0 0 34px 26px;
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--gradient-yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--paper);
}
.timeline-date { font-size: 0.85rem; color: var(--ink-soft); padding-top: 1px; }
.timeline-body h3 { font-size: 1.05rem; margin-bottom: 0.35em; }
.timeline-body p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }
.formation { margin-top: 8px; color: var(--ink-soft); font-size: 0.95rem; }

/* Client logo marquee */
.logo-marquee {
  margin-top: 34px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-track {
  display: flex;
  width: max-content;
  gap: 64px;
  animation: scroll-left 26s linear infinite;
}
.logo-track img {
  height: 28px;
  width: auto;
  flex-shrink: 0;
  filter: grayscale(1) opacity(0.6);
  transition: filter 0.25s ease;
}
.logo-track img:hover { filter: grayscale(0) opacity(1); }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.inline-logo { vertical-align: -3px; margin: 0 2px; }

/* Audit tool */
.audit-tool { background: var(--paper-alt); position: relative; overflow: hidden; }
.audit-form {
  margin-top: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.audit-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.audit-form-row input {
  flex: 1 1 200px;
  min-width: 0;
  font: inherit;
  font-size: 0.98rem;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
}
.audit-form-row input:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.audit-form-row .btn { flex: 0 0 auto; cursor: pointer; }
.audit-form-note { margin: 12px 4px 0; font-size: 0.82rem; color: var(--ink-faint); }
.audit-error {
  margin: 12px 4px 0;
  color: #B4232C;
  font-size: 0.9rem;
}
.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;
}

.audit-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
.audit-spinner[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.audit-results {
  margin-top: 34px;
  animation: rise 0.6s var(--ease) both;
}
.audit-scores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.score-ring {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 10px;
  text-align: center;
}
.score-ring-circle { position: relative; width: 84px; height: 84px; margin: 0 auto 10px; }
.score-ring-circle svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 6; }
.score-ring .score-track { stroke: var(--line); }
.score-ring .score-value {
  stroke: var(--gold-deep);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s var(--ease);
}
.score-ring.is-good .score-value { stroke: #3B8F5C; }
.score-ring.is-mid .score-value { stroke: var(--gold-deep); }
.score-ring.is-bad .score-value { stroke: #C4482F; }
.score-ring-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 1.1rem;
}
.score-ring-label { display: block; font-size: 0.82rem; color: var(--ink-soft); }

.audit-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.audit-metric {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.audit-metric strong { color: var(--ink); font-family: "IBM Plex Mono", monospace; }

.audit-opportunities { display: grid; gap: 12px; margin-bottom: 8px; }
.audit-opportunity {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-deep);
  border-radius: 10px;
  padding: 14px 18px;
}
.audit-opportunity h4 { margin: 0 0 4px; font-size: 0.98rem; }
.audit-opportunity p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); }

/* Contact */
.contact { position: relative; overflow: hidden; }
.contact-avatar {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 0 20px;
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 2px var(--gold-line);
}
.contact-glow {
  position: absolute;
  inset: auto -10% -30% -10%;
  height: 420px;
  background: radial-gradient(circle, rgba(246, 194, 68, 0.28), rgba(246, 194, 68, 0) 65%);
  z-index: -1;
  pointer-events: none;
}
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 22px 0 8px;
  font-size: 1.02rem;
}
.contact-item { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color 0.2s ease, color 0.2s ease; }
.contact-item:hover { border-bottom-color: var(--gold-deep); color: var(--gold-deep); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0 40px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: var(--ink-soft); }
.footer-inner a { text-decoration: none; border-bottom: 1px solid var(--line); }
.footer-cities {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-faint);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}
.footer-cities p { margin: 0; }
.footer-cities a { color: var(--ink-faint); text-decoration: none; }
.footer-platforms {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
.footer-platforms li { display: flex; opacity: 0.6; transition: opacity 0.2s ease; }
.footer-platforms li:hover { opacity: 1; }
.footer-cities a:hover { color: var(--gold-deep); }

.footer-links {
  margin-top: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.footer-links-title {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.footer-links-col p.footer-links-heading {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.footer-links-col { display: flex; flex-direction: column; }
.footer-links-col a {
  font-size: 0.82rem;
  color: var(--ink-faint);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.footer-links-col a:hover { color: var(--gold-deep); }
@media (max-width: 720px) {
  .footer-links-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* City landing pages */
/* Pas de visuel à droite sur ces pages (contrairement à .hero-inner de l'accueil) :
   le bloc de texte est donc centré plutôt que calé à gauche dans l'espace vide. */
.city-hero { padding: 96px 0 60px; text-align: center; }
.city-hero > .wrap { max-width: 800px; margin: 0 auto; }
.city-hero h1,
.city-hero .hero-lead { margin-left: auto; margin-right: auto; }
.city-hero .hero-actions,
.city-hero .trust-badges,
.city-hero .keyword-badges { justify-content: center; }

.hero-card-image {
  margin: 40px auto 0;
  max-width: 920px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.hero-card-image img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .city-hero > .wrap { max-width: none; }
}
.city-hero .brand-icon.brand-google { width: 320px; height: 320px; top: 30px; right: 80px; opacity: 0.07; }
.city-hero .brand-icon.brand-youtube { width: 190px; height: 190px; top: 300px; right: 320px; bottom: auto; left: auto; opacity: 0.06; }
.city-hero .brand-icon.brand-bing { width: 160px; height: 160px; top: 300px; right: 100px; bottom: auto; opacity: 0.06; }
@media (max-width: 1100px) {
  .city-hero .brand-icon.brand-youtube, .city-hero .brand-icon.brand-bing { display: none; }
}
@media (max-width: 900px) {
  .city-hero .brand-watermark { display: none; }
}
.breadcrumb { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 22px; }
.breadcrumb a { color: var(--ink-faint); text-decoration: none; border-bottom: 1px solid var(--line); }
.breadcrumb a:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.breadcrumb span[aria-hidden] { margin: 0 6px; }

.trust-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0 0 40px;
  padding: 0;
}
.trust-badges li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--gradient-yellow-soft);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 8px 15px;
  white-space: nowrap;
  animation: float-badge 4.5s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.4s);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: default;
}
.trust-badges li:nth-child(1) { --i: 0; }
.trust-badges li:nth-child(2) { --i: 1; }
.trust-badges li:nth-child(3) { --i: 2; }
.trust-badges li:nth-child(4) { --i: 3; }
.trust-badges li:hover {
  transform: translateY(-6px) scale(1.06);
  box-shadow: var(--shadow-gold);
  background: var(--gradient-yellow);
  animation-play-state: paused;
  z-index: 2;
}
.trust-badges svg { color: var(--gold-text); flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) {
  .trust-badges li { animation: none; }
}

.service-grid.two-col, .testimonial-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.service-grid.four-col { grid-template-columns: repeat(4, 1fr); }
.prestation-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-yellow);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.tips-note { margin-top: 26px; font-size: 0.92rem; color: var(--ink-soft); }
.tips-note a { color: var(--gold-text); }

.related-cities-section { padding-bottom: 90px; }
.related-cities { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.related-city {
  display: inline-block;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.related-city:hover { border-color: var(--gold-deep); color: var(--gold-deep); transform: translateY(-2px); }

@media (max-width: 860px) {
  .service-grid.two-col, .testimonial-grid.two-col { grid-template-columns: 1fr; }
  .service-grid.four-col { grid-template-columns: repeat(2, 1fr); }
}

/* Responsive */
@media (max-width: 860px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .menu-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: 0;
    right: -340px;
    height: 100%;
    width: min(320px, 86vw);
    max-width: 100vw;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 88px 26px 32px;
    box-shadow: -20px 0 50px -20px rgba(28, 27, 23, 0.25);
    transition: right 0.35s var(--ease);
    z-index: 30;
    overflow-y: auto;
  }
  /* right/left (not transform) on purpose: a transformed ancestor becomes the
     containing block for position:fixed descendants, which would break the
     .nav-dropdown slide-over below. */
  .site-nav.is-open { right: 0; }

  .site-nav > a,
  .nav-drop-toggle {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.02rem;
    width: 100%;
    justify-content: space-between;
  }
  .nav-cta {
    margin-top: 14px;
    text-align: center;
    justify-content: center;
    border-bottom: 1px solid transparent !important;
  }

  .nav-dropdown {
    position: fixed;
    top: 0;
    left: auto;
    right: 0;
    height: 100%;
    width: min(320px, 86vw);
    max-width: 100vw;
    min-width: 0;
    background: var(--paper);
    border: none;
    box-shadow: none;
    padding: 88px 26px 32px;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 5;
  }
  .nav-item.is-open .nav-dropdown { transform: translateX(0); }
  .nav-dropdown-back {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 18px;
    padding: 0 0 14px;
    border: none;
    border-bottom: 1px solid var(--line);
    background: none;
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink-soft);
    cursor: pointer;
  }
  .nav-dropdown-back:hover { color: var(--ink); }
  .nav-dropdown-grid { grid-template-columns: 1fr; gap: 18px; padding: 0; }
  .nav-dropdown-col { padding: 0; }
  .nav-dropdown-col + .nav-dropdown-col { border-left: none; border-top: 1px solid var(--line); padding-top: 14px; }
}

@media (min-width: 781px) {
  .nav-overlay { display: none !important; }
  .nav-dropdown-back { display: none; }

  .nav-dropdown-narrow {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    transform: translate(0, 8px);
    width: max-content;
    min-width: 0;
    padding: 14px 18px;
  }
  .nav-item.is-open .nav-dropdown-narrow { transform: translate(0, 0); }
  .nav-item:hover .nav-dropdown-narrow { transform: translate(0, 0); }
}

@media (max-width: 860px) {
  .hero-inner { flex-direction: column-reverse; text-align: center; }
  .hero-text { max-width: 100%; }
  .hero-portrait { width: 220px; height: 220px; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .kicker { justify-content: center; }
  .floating-badge { font-size: 0.74rem; padding: 7px 12px; }
  .badge-rating { top: 0%; right: -10%; }
  .badge-experience { bottom: 10%; left: -14%; }
  .badge-response { bottom: -14%; right: -2%; }
  .badge-local { top: 42%; left: -16%; }
  .badge-geo { top: -18%; left: 32%; }
}

@media (max-width: 640px) {
  :root { font-size: 16px; }
  .hero { padding-top: 60px; }
  .badge-experience { display: none; }
  .badge-local { display: none; }
  .badge-geo { display: none; }
  .stat-row { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid.four-col { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .section { padding: 56px 0; }
  .audit-scores { grid-template-columns: repeat(2, 1fr); }
  .audit-form-row { flex-direction: column; }
  .audit-form-row .btn { width: 100%; justify-content: center; }
}

/* Contact page form */
.contact-form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.contact-form-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.contact-form-grid .contact-field { flex: 1 1 220px; }
.contact-map {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.contact-map iframe { display: block; width: 100%; height: 320px; border: 0; }
.contact-field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.contact-field label { font-size: 0.85rem; color: var(--ink-soft); font-weight: 500; }
.contact-field input,
.contact-field textarea {
  font: inherit;
  font-size: 0.98rem;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
}
.contact-field input:focus-visible,
.contact-field textarea:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.contact-feedback { margin: 14px 0 0; font-size: 0.9rem; }
.contact-feedback.is-success { color: #2E7D46; }
.contact-feedback.is-error { color: #B4232C; }

/* Footer newsletter trigger */
.footer-newsletter-link {
  font: inherit;
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.footer-newsletter-link:hover { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }

.footer-links-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}
.footer-profile-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--gold-line); }
.footer-profile-name { margin: 4px 0 0; font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.footer-profile-role { margin: 0; font-size: 0.8rem; color: var(--ink-faint); }
.footer-profile-contacts { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.footer-profile-contacts a { font-size: 0.82rem; color: var(--ink-faint); text-decoration: none; }
.footer-profile-contacts a:hover { color: var(--gold-deep); }
.footer-contact-btn { margin-top: 6px; padding: 8px 18px; font-size: 0.82rem; }
.footer-newsletter-insert {
  margin-top: 10px;
  padding: 14px;
  width: 100%;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.footer-newsletter-insert p { margin: 0 0 10px; font-size: 0.8rem; color: var(--ink-soft); line-height: 1.35; }
.footer-newsletter-insert button {
  width: 100%;
  justify-content: center;
  padding: 8px 14px;
  font-size: 0.8rem;
}
@media (max-width: 900px) {
  .footer-links-layout { grid-template-columns: 1fr; gap: 26px; }
  .footer-profile-col { align-items: flex-start; }
}

/* Newsletter modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 27, 23, 0.45);
  backdrop-filter: blur(3px);
  z-index: 50;
}
.modal-overlay[hidden] { display: none; }
.newsletter-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(420px, calc(100vw - 40px));
  background: var(--paper);
  border-radius: 20px;
  padding: 32px 30px;
  box-shadow: var(--shadow-gold);
  z-index: 51;
  /* L'animation "rise" remplace transform à chaque frame (elle ne s'ajoute pas
     à la valeur statique translate(-50%,-50%)) : le centrage doit donc être
     réécrit dans ses propres keyframes plutôt que déclaré en dehors. */
  animation: newsletter-modal-rise 0.3s var(--ease) both;
}
.newsletter-modal[hidden] { display: none; }
@keyframes newsletter-modal-rise {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 14px)); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
.newsletter-modal h3 { margin: 4px 0 10px; font-size: 1.3rem; }
.newsletter-modal > p { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 20px; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-soft);
}
.modal-close:hover { color: var(--ink); border-color: var(--gold-line); }
#newsletter-form { display: flex; flex-direction: column; gap: 14px; }
#newsletter-form input[type="email"] {
  font: inherit;
  font-size: 0.98rem;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
}
#newsletter-form input[type="email"]:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.newsletter-consent input { margin-top: 3px; flex-shrink: 0; }
.newsletter-feedback { margin: 0; font-size: 0.88rem; }
.newsletter-feedback.is-success { color: #2E7D46; }
.newsletter-feedback.is-error { color: #B4232C; }
@media (max-width: 480px) {
  .contact-form-card { padding: 20px; }
}

/* SEO self-diagnostic quiz — step-by-step with badges */
.quiz-wrap {
  margin-top: 30px;
  padding: 34px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.quiz-progress { height: 4px; background: var(--line); border-radius: 999px; overflow: hidden; }
.quiz-progress-bar {
  height: 100%;
  width: 12.5%;
  background: var(--gradient-yellow);
  border-radius: 999px;
  transition: width 0.35s var(--ease);
}
.quiz-step-count {
  margin: 12px 0 24px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: rise 0.35s var(--ease) both; }
.quiz-step .quiz-question-text { margin: 0 0 20px; font-size: 1.1rem; font-weight: 600; }
.quiz-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.quiz-badge {
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.quiz-badge:hover { border-color: var(--gold-line); color: var(--ink); transform: translateY(-1px); }
.quiz-badge.is-selected { background: var(--gradient-yellow); border-color: transparent; color: var(--ink); font-weight: 600; }
.quiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 30px; }
.quiz-nav .btn { cursor: pointer; }
.quiz-nav .btn:disabled { opacity: 0.4; cursor: not-allowed; }

#quiz-email-form.quiz-step { display: block; }
.quiz-email-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 16px; }
.quiz-email-row input {
  flex: 1 1 240px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font: inherit;
  color: var(--ink);
}
.quiz-email-row .btn { cursor: pointer; }
.quiz-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: var(--ink-soft); cursor: pointer; }
.quiz-consent input { margin-top: 3px; accent-color: var(--gold-deep); cursor: pointer; }

.quiz-result {
  margin-top: 30px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--gold-line);
  border-radius: 18px;
  text-align: center;
  animation: rise 0.5s var(--ease) both;
}
.quiz-score {
  font-family: "IBM Plex Mono", monospace;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-text);
  margin: 0 0 8px;
}
.quiz-result #quiz-message { color: var(--ink-soft); margin: 0 0 20px; }
.quiz-result .hero-actions { justify-content: center; }
@media (max-width: 640px) {
  .quiz-wrap { padding: 24px 20px; }
  .quiz-nav { flex-direction: column-reverse; align-items: stretch; }
}
