/* ==========================================================================
   DOCASO — V4
   Thème clair, propre et rassurant (charte fournie) — reprend la structure
   exacte de la V3, en remplaçant le thème sombre par une palette gris craie /
   blanc / ardoise avec accents ambrés, bleu artisan et vert réassurance.
   CSS moderne : variables, grid/flexbox, clamp() pour la typo fluide.
   Mobile-first : breakpoints 768 / 1200. Aucune police externe.
   ========================================================================== */

:root {
  /* Couleurs — charte V4 */
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-muted-2: #334155;
  --accent: #f59e0b;
  --accent-strong: #d97706;
  --accent-soft: rgba(245, 158, 11, 0.14);
  /* Ambre plus foncé, réservé au TEXTE/icônes sur fond clair : #f59e0b en
     couleur de texte sur blanc tombe sous le seuil de contraste WCAG AA
     (≈2.4:1) ; #b45309 remonte à ≈4.6:1 tout en restant dans la même teinte. */
  --accent-text: #b45309;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --trust-blue: #0369a1;
  --trust-green: #059669;

  --color-bg: var(--bg);
  --color-text: var(--text);
  --color-text-muted: var(--text-muted);
  --color-focus: var(--accent-strong);

  /* Typo fluide — respecte le tableau mobile/desktop du brief */
  --fs-kicker: clamp(0.6875rem, 0.66rem + 0.15vw, 0.8125rem);
  --fs-body: clamp(0.875rem, 0.85rem + 0.15vw, 1rem);
  --fs-lede: clamp(0.9375rem, 0.9rem + 0.2vw, 1.25rem);
  --fs-h2: clamp(1.5rem, 1.2rem + 1.6vw, 2.75rem);
  --fs-h1: clamp(2rem, 1.5rem + 3vw, 3.75rem);
  --fs-badge: clamp(0.75rem, 0.73rem + 0.1vw, 0.8125rem);

  --space-2xs: 0.4rem;
  --space-xs: 0.75rem;
  --space-sm: 1.25rem;
  --space-md: 2rem;
  --space-lg: 3.5rem;
  --space-xl: 6rem;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;

  --shadow-card: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-lift: 0 12px 32px rgba(15, 23, 42, 0.08);

  --container-max: 1280px;

  --font-sans:
    -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui,
    sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  color-scheme: dark;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-muted-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 3.6rem;
}

@media (min-width: 1200px) {
  body {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

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

h1, h2, h3, p, figure {
  margin: 0;
  color: var(--text);
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  z-index: 200;
  background: var(--accent);
  color: #1a1200;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: var(--space-xs);
}

.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;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-sm);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-md);
  }
}

.section {
  padding-block: var(--space-xl);
}

.section--tight {
  padding-block: var(--space-lg);
}

.section--surface {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: var(--fs-kicker);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
  font-weight: 700;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: var(--space-lg);
}

.section-heading h2 {
  margin-top: var(--space-xs);
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-heading p {
  margin-top: var(--space-sm);
  font-size: var(--fs-lede);
  color: var(--text-muted);
  line-height: 1.55;
  font-weight: 400;
}

/* -------------------------------------------------------------------------
   Boutons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--fs-body);
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  text-align: center;
  line-height: 1.25;
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--accent);
  color: #1a1200;
  box-shadow: 0 8px 20px -8px rgba(217, 119, 6, 0.35);
}

.btn--primary:hover {
  background: var(--accent-strong);
}

.btn--outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
}

.btn--block {
  width: 100%;
}

.btn--lg {
  padding: 1.1em 2em;
  font-size: var(--fs-lede);
}

.btn--sm {
  padding: 0.7em 1.2em;
  font-size: var(--fs-badge);
}

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  height: 4.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.brand__name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.brand__name .dot {
  color: var(--accent-text);
}

.brand__baseline {
  margin-top: 0.35em;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.main-nav {
  display: none;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.main-nav__list a {
  text-decoration: none;
  font-size: var(--fs-badge);
  font-weight: 600;
  color: var(--text-muted-2);
  padding-block: 0.3em;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.main-nav__list a:hover,
.main-nav__list a:focus-visible {
  color: var(--text);
  border-color: var(--accent-text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.header-call {
  display: none;
  align-items: center;
  gap: 0.5em;
  padding: 0.7em 1.1em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-badge);
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-call svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

.header-call:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: transparent;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__bar::before {
  position: absolute;
  top: -6px;
}

.nav-toggle__bar::after {
  position: absolute;
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before {
  transform: translateY(6px) rotate(45deg);
  background: var(--text);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--text);
}

.mobile-nav {
  position: fixed;
  inset: 4.5rem 0 0 0;
  background: var(--bg);
  z-index: 90;
  padding: var(--space-md) var(--space-sm) var(--space-xl);
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.mobile-nav[data-open="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.mobile-nav__list a {
  display: block;
  padding: var(--space-sm) var(--space-xs);
  font-size: var(--fs-lede);
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.mobile-nav__actions {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

@media (min-width: 768px) {
  .main-nav {
    display: block;
  }
  .header-call {
    display: inline-flex;
  }
  .nav-toggle,
  .mobile-nav {
    display: none;
  }
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding-block: var(--space-lg) var(--space-xl);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -25% -10% auto auto;
  width: 60vw;
  height: 60vw;
  max-width: 760px;
  max-height: 760px;
  background: radial-gradient(closest-side, rgba(245, 158, 11, 0.14), transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

/* Sans ce reset, le min-width par défaut ("auto") d'un enfant de grille se
   base sur la taille intrinsèque du contenu — ici les attributs
   width/height de l'image — et peut forcer toute la piste (donc aussi le
   texte, qui partage la même colonne implicite en mobile) à dépasser la
   largeur du viewport. */
.hero .container > *,
.copro-grid > *,
.pole-card {
  min-width: 0;
}

.hero h1 {
  margin-top: var(--space-sm);
  font-size: var(--fs-h1);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero h1 .accent {
  color: var(--accent-text);
}

.hero p.lede {
  margin-top: var(--space-sm);
  font-size: var(--fs-lede);
  color: var(--text-muted-2);
  max-width: 38rem;
  line-height: 1.55;
  font-weight: 400;
}

.hero__ctas {
  margin-top: var(--space-md);
}

.hero__reassurance {
  margin-top: var(--space-xs);
  font-size: var(--fs-badge);
  color: var(--text-muted);
  font-style: normal;
}

.trust-line {
  margin-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.trust-line__item {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-badge);
  font-weight: 600;
  color: var(--text-muted-2);
}

.trust-line__item svg {
  width: 1.1em;
  height: 1.1em;
  color: var(--accent-text);
  flex-shrink: 0;
}

/* Variété des couleurs de réassurance : vert pour la note, bleu pour la
   garantie, ambre pour l'engagement de délai (lié au CTA). */
.trust-line__item:nth-child(1) svg {
  color: var(--trust-green);
}

.trust-line__item:nth-child(2) svg {
  color: var(--trust-blue);
}

.hero__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
}

.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1200px) {
  .hero .container {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* -------------------------------------------------------------------------
   Bandeau certifications
   ------------------------------------------------------------------------- */
.cert-bar {
  padding-block: var(--space-md);
}

.cert-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm) var(--space-md);
  align-items: center;
  text-align: center;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
}

.cert-item__icon {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
}

.cert-item__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.cert-item span {
  font-size: var(--fs-badge);
  font-weight: 600;
  color: var(--text-muted-2);
  line-height: 1.35;
}

.cert-item .placeholder-flag {
  margin-top: 0.1em;
}

@media (min-width: 768px) {
  .cert-bar__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* -------------------------------------------------------------------------
   Le Constat — problème / piliers
   ------------------------------------------------------------------------- */
.pain-point {
  font-size: var(--fs-lede);
  color: var(--text-muted-2);
  max-width: 48rem;
  line-height: 1.6;
  margin-top: var(--space-sm);
}

.pillars {
  margin-top: var(--space-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.pillar-card__num {
  font-family: var(--font-mono);
  font-size: var(--fs-badge);
  color: var(--accent-text);
  font-weight: 700;
}

.pillar-card h3 {
  margin-top: var(--space-xs);
  font-size: var(--fs-lede);
  font-weight: 700;
}

.pillar-card p {
  margin-top: 0.5em;
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.55;
}

@media (min-width: 768px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -------------------------------------------------------------------------
   Deux pôles de spécialité
   ------------------------------------------------------------------------- */
.poles {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.pole-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
}

.pole-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pole-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.pole-card h3 {
  margin-top: var(--space-sm);
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 20ch;
}

.pole-card__tagline {
  margin-top: 0.5em;
  color: var(--accent-text);
  font-weight: 600;
  font-size: var(--fs-lede);
}

.pole-card ul {
  margin-top: var(--space-sm);
  display: grid;
  gap: 0.6em;
  flex: 1;
}

.pole-card li {
  display: flex;
  gap: 0.6em;
  align-items: flex-start;
  color: var(--text-muted-2);
  font-size: var(--fs-body);
}

.pole-card li svg {
  flex-shrink: 0;
  width: 1.1em;
  height: 1.1em;
  color: var(--accent-text);
  margin-top: 0.2em;
}

.pole-card .btn {
  margin-top: var(--space-md);
  align-self: flex-start;
}

@media (min-width: 1024px) {
  .poles {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -------------------------------------------------------------------------
   Focus copropriété
   ------------------------------------------------------------------------- */
.copro-grid {
  display: grid;
  gap: var(--space-lg);
}

.copro-args {
  margin-top: var(--space-md);
  display: grid;
  gap: var(--space-sm);
}

.copro-args li {
  display: flex;
  gap: 0.7em;
  align-items: flex-start;
  color: var(--text-muted-2);
  font-size: var(--fs-lede);
}

.copro-args svg {
  flex-shrink: 0;
  width: 1.3rem;
  height: 1.3rem;
  color: var(--accent-text);
  margin-top: 0.15em;
}

.copro-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}

.copro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .copro-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* -------------------------------------------------------------------------
   Méthode en 4 étapes
   ------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  counter-reset: step;
}

.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  padding-top: calc(var(--space-md) + 0.5rem);
}

.step-card__num {
  position: absolute;
  top: -1rem;
  left: var(--space-md);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1200;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--fs-lede);
}

.step-card h3 {
  font-size: var(--fs-lede);
  font-weight: 700;
}

.step-card p {
  margin-top: 0.5em;
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.55;
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* -------------------------------------------------------------------------
   Galerie réalisations
   ------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-sm) var(--space-xs) var(--space-xs);
  background: linear-gradient(0deg, rgba(11, 15, 23, 0.94) 15%, transparent 100%);
  color: var(--text);
}

.gallery-card__overlay .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  padding: 0.3em 0.6em;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  margin-bottom: 0.4em;
}

.gallery-card__overlay h3 {
  font-size: var(--fs-body);
  font-weight: 700;
}

.gallery-card__overlay p {
  font-size: var(--fs-badge);
  color: var(--text-muted);
  margin-top: 0.2em;
}

.gallery-card__link {
  position: absolute;
  inset: 0;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
}

.lightbox figcaption {
  color: var(--text);
  text-align: center;
  margin-top: var(--space-xs);
  font-size: var(--fs-body);
}

.lightbox__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  border: none;
  font-size: 1.25rem;
}

/* -------------------------------------------------------------------------
   Avis clients
   ------------------------------------------------------------------------- */
.review-score {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.review-score strong {
  font-size: var(--fs-h2);
  font-weight: 800;
}

.review-score .stars {
  color: var(--accent-text);
  letter-spacing: 0.1em;
}

.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.testimonial-card__stars {
  color: var(--accent-text);
  letter-spacing: 0.15em;
  font-size: var(--fs-body);
}

.testimonial-card p.quote {
  margin-top: var(--space-xs);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text-muted-2);
}

.testimonial-card__author {
  margin-top: var(--space-sm);
  display: flex;
  flex-direction: column;
  font-size: var(--fs-badge);
}

.testimonial-card__author strong {
  color: var(--text);
}

.testimonial-card__author span {
  color: var(--text-muted);
}

.placeholder-flag {
  display: inline-block;
  margin-top: var(--space-xs);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--accent-text);
  background: var(--accent-soft);
  padding: 0.25em 0.6em;
  border-radius: 999px;
}

@media (min-width: 768px) {
  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -------------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------------- */
.faq-list {
  max-width: 52rem;
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-sm);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: var(--fs-lede);
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary .chevron {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  color: var(--accent-text);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary .chevron {
  transform: rotate(180deg);
}

.faq-list p {
  margin-top: var(--space-xs);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 44rem;
}

/* -------------------------------------------------------------------------
   Formulaire multi-étapes
   ------------------------------------------------------------------------- */
.estimate-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-lift);
  max-width: 42rem;
  margin-inline: auto;
}

.form-progress {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  margin-bottom: var(--space-md);
}

.form-progress__step {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--border-strong);
  transition: background-color 0.2s ease;
}

.form-progress__step[data-active="true"] {
  background: var(--accent);
}

.form-step {
  display: none;
}

.form-step[data-current="true"] {
  display: block;
}

.form-step h3 {
  font-size: var(--fs-h2);
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: 700;
}

.form-step > p.step-hint {
  margin-top: 0.4em;
  color: var(--text-muted);
  font-size: var(--fs-body);
}

.option-grid {
  margin-top: var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs);
}

.option-card {
  cursor: pointer;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  text-align: center;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card span {
  display: block;
  font-size: var(--fs-badge);
  font-weight: 700;
  color: var(--text-muted-2);
}

.option-card:has(input:checked) {
  border-color: var(--accent-text);
  background: var(--accent-soft);
}

.option-card:has(input:checked) span {
  color: var(--accent-text);
}

.form-grid {
  margin-top: var(--space-md);
  display: grid;
  gap: var(--space-sm);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  position: relative;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: var(--fs-kicker);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.form-field label .req {
  color: var(--accent-text);
}

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  padding: 0.85em 1em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent-text);
}

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

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  font-size: var(--fs-badge);
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

.form-nav {
  margin-top: var(--space-md);
  display: flex;
  gap: var(--space-xs);
}

.form-nav .btn {
  flex: 1;
}

.form-note {
  margin-top: var(--space-sm);
  font-size: var(--fs-kicker);
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
}

.form-error {
  display: none;
  align-items: center;
  gap: 0.6em;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  background: var(--accent-soft);
  color: var(--accent-text);
}

.form-error[data-visible="true"] {
  display: flex;
}

.form-success {
  text-align: center;
}

.form-success__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.form-success__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--surface-soft);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  padding-block: var(--space-lg) var(--space-md);
}

.footer-grid {
  display: grid;
  gap: var(--space-lg);
}

.footer-brand .brand__name {
  color: var(--text);
}

.footer-brand p {
  margin-top: var(--space-xs);
  max-width: 26rem;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: var(--fs-kicker);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-text);
  margin-bottom: var(--space-xs);
}

.footer-col ul {
  display: grid;
  gap: 0.5em;
  font-size: var(--fs-body);
}

.footer-col a {
  text-decoration: none;
  color: var(--text-muted-2);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-zones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  font-size: var(--fs-kicker);
}

.footer-legal {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  display: grid;
  gap: var(--space-sm);
  font-size: var(--fs-kicker);
  line-height: 1.6;
}

.footer-legal details summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
  padding-block: 0.4em;
}

.footer-legal details p {
  margin-top: 0.5em;
  color: var(--text-muted);
}

.footer-bottom {
  margin-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-xs);
  font-size: var(--fs-kicker);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.3fr repeat(3, 0.9fr);
  }
  .footer-legal {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -------------------------------------------------------------------------
   Sticky bar mobile
   ------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95em 1em;
  font-weight: 700;
  font-size: var(--fs-body);
  text-decoration: none;
}

.sticky-cta svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.sticky-cta__call {
  color: var(--text);
  background: transparent;
  border-right: 1px solid var(--border);
}

.sticky-cta__devis {
  color: #1a1200;
  background: var(--accent);
}

@media (min-width: 1200px) {
  .sticky-cta {
    display: none;
  }
}

/* -------------------------------------------------------------------------
   Animations d'apparition
   ------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.text-center {
  text-align: center;
}
