/* ====================================================
   ADM CONSTRUCTION — Design System
   Typographie : Fraunces (titres, empattements) + Inter (corps)
   Palette     : Bleu profond + noir — stratégie Committed
   Couleurs    : OKLCH perceptuellement uniforme
   ==================================================== */

/* ===== TOKENS ===== */
:root {
  /* --- Palette OKLCH ---
     Bleu profond  : oklch(0.28 0.125 258)
     Bleu moyen    : oklch(0.44 0.14  255)
     Bleu clair    : oklch(0.64 0.12  248)
     Encre (quasi-noir bleuté) : oklch(0.11 0.018 258)
  */
  --blue-deep:   oklch(0.28 0.125 258);
  --blue-mid:    oklch(0.44 0.14  255);
  --blue-light:  oklch(0.64 0.12  248);
  --ink:         oklch(0.11 0.018 258);
  --ink-muted:   oklch(0.40 0.018 258);
  --surface:     oklch(0.96 0.007 258);
  --surface-alt: oklch(0.92 0.010 258);
  --off-white:   oklch(0.98 0.003 258);
  --border:      oklch(0.88 0.010 258);

  /* --- Accent chaud (cuivre / sable) ---
     Réchauffe le thème bleu-noir sans le trahir.
     Cuivre = accent ; le bleu reste la couleur structurelle.
     copper       : sur fonds SOMBRES (6.9:1 vs encre) — AA
     copper-deep  : sur fonds CLAIRS  (5.0:1 vs surface) — AA
  */
  --copper:        oklch(0.68 0.10  60);
  --copper-deep:   oklch(0.50 0.115 50);
  --copper-bright: oklch(0.76 0.105 64);
  --sand:          oklch(0.90 0.025 70);
  --sand-surface:  oklch(0.945 0.014 75);

  /* Tokens sémantiques */
  --color-primary:   var(--blue-deep);
  --color-accent:    var(--blue-light);
  --color-warm:      var(--copper);
  --color-bg:        var(--off-white);
  --color-text:      var(--ink);
  --color-text-muted: var(--ink-muted);

  /* Typographie */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, 'Segoe UI', Arial, sans-serif;

  /* Echelle fluide — ratio 1.35 */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.2rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  clamp(2rem,   4.5vw, 3rem);
  --text-4xl:  clamp(2.5rem, 6vw,   4rem);
  --text-hero: clamp(2.8rem, 9vw,   6rem);

  /* Espacement (base 4pt) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Courbes d'accélération */
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  /* Z-index sémantique */
  --z-sticky: 100;
  --z-header: 200;
  --z-modal:  300;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--ink);
  /* Garde-fou définitif anti-scroll horizontal. `clip` (et non `hidden`) :
     n'établit pas de conteneur de défilement, donc préserve le header sticky
     et stoppe aussi un éventuel élément en position:fixed injecté (widget). */
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background-color: transparent;
  line-height: 1.65;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ===== TYPOGRAPHIE ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-wrap: balance;
  overflow-wrap: break-word;
  color: var(--ink);
}

h1 {
  font-size: var(--text-hero);
  letter-spacing: -0.02em;
  line-height: 0.95;
}

h2 { font-size: var(--text-4xl); line-height: 1.0; }
h3 { font-size: var(--text-3xl); line-height: 1.05; }
h4 { font-size: var(--text-xl);  font-weight: 700; }

p {
  font-size: var(--text-base);
  line-height: 1.7;
  max-width: 65ch;
  text-wrap: pretty;
}

strong { font-weight: 600; }

/* ===== CONTENEUR ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--sp-8);
}

@media (max-width: 640px) {
  .container { padding-inline: var(--sp-6); }
}

/* Garde-fou anti-débordement : par défaut une cellule de grille/flex prend la
   largeur de son contenu indéformable (min-width:auto) et peut dépasser l'écran.
   On autorise ces cellules à se rétrécir pour rester dans le cadre. */
.hero-content,
.two-col > *,
.diff-grid > *,
.metiers-grid > *,
.footer-grid > * { min-width: 0; }

/* ===== ICÔNE TÉLÉPHONE SVG (réutilisable) ===== */
.icon-phone {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: middle;
}

/* ===== BOUTONS ===== */
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-8);
  background-color: var(--blue-deep);
  color: var(--off-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition:
    background-color 180ms var(--ease-out-quart),
    transform 140ms var(--ease-out-quart),
    box-shadow 220ms var(--ease-out-quart);
  white-space: nowrap;
  max-width: 100%;
}

.btn-call:hover {
  background-color: var(--blue-mid);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px oklch(0.28 0.125 258 / 0.30);
}
.btn-call:active { transform: translateY(0) scale(0.98); box-shadow: none; }

.btn-call svg { width: 20px; height: 20px; }

/* Sur petit écran, le bouton d'appel prend toute la largeur et réduit sa taille
   pour ne jamais déborder (sinon il pousse la grille du hero hors-cadre). */
@media (max-width: 560px) {
  .btn-call {
    width: 100%;
    justify-content: center;
    padding-inline: var(--sp-5);
    font-size: var(--text-base);
    letter-spacing: 0.03em;
  }
  .hero-cta-group { width: 100%; align-items: stretch; }
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background-color: var(--ink);
  border-bottom: 2px solid var(--blue-deep);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  height: 72px;
}

.site-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.55rem;
  color: var(--off-white);
  letter-spacing: 0.06em;
  line-height: 1;
}

.logo-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.68rem;
  color: oklch(0.62 0.04 248);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  color: oklch(0.72 0.02 258);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  transition: color 140ms;
  padding-block: var(--sp-2);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--off-white);
}

.header-tel {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--off-white);
  background-color: var(--blue-deep);
  padding: var(--sp-3) var(--sp-5);
  transition: background-color 180ms;
  white-space: nowrap;
}

.header-tel:hover { background-color: var(--blue-mid); }
.header-tel svg   { width: 18px; height: 18px; flex-shrink: 0; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-3);
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--off-white);
  border-radius: 1px;
  transition: transform 240ms var(--ease-out-quart), opacity 180ms;
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: var(--sp-6);
    gap: var(--sp-5);
    border-bottom: 2px solid var(--blue-deep);
  }

  .site-nav.open { display: flex; }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: var(--sp-4) 0;
    font-size: 1rem;
    border-bottom: 1px solid oklch(0.20 0.015 258);
  }

  .header-tel { justify-content: center; font-size: 1.05rem; }
}

/* ===== STICKY CALL (mobile) ===== */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background-color: var(--blue-deep);
}

.sticky-call a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-6);
  color: var(--off-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: 100%;
  transition: background-color 150ms;
}

.sticky-call a:hover { background-color: var(--blue-mid); }
.sticky-call svg { width: 22px; height: 22px; flex-shrink: 0; }

@media (max-width: 768px) {
  .sticky-call { display: block; }
  body          { padding-bottom: 64px; }
}

/* ===== FOND DÉFILANT ===== */
#bg-reel {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1200ms ease;
  will-change: opacity;
}

.bg-slide.active { opacity: 1; }

.bg-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: oklch(0.11 0.018 258 / 0.62);
}

/* Accueil — la 1ʳᵉ photo (la vraie réalisation ADM) n'est plus assombrie du
   tout : aucun voile, ni sur les côtés ni ailleurs. La lisibilité du texte
   blanc est assurée par une ombre portée appliquée au texte lui-même. */
.bg-reel--home .bg-slide:first-child::after {
  background: none;
}

.hero .hero-label,
.hero h1,
.hero .hero-text,
.hero .hero-note {
  text-shadow:
    0 1px 2px  oklch(0.11 0.018 258 / 0.55),
    0 2px 14px oklch(0.11 0.018 258 / 0.65);
}

@media (prefers-reduced-motion: reduce) {
  .bg-slide { transition: none; }
  /* Pas de translation au survol pour les utilisateurs sensibles au mouvement */
  .btn-call:hover,
  .metier-card:hover { transform: none; }
}

/* ===== HERO ===== */
/* Étape 5 /colorize + Étape 6 /layout : hero asymétrique, overlay duotone */
.hero {
  position: relative;
  min-height: calc(100dvh - 72px);
  display: grid;
  grid-template-columns: 1fr;
  background-color: transparent;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-20) var(--sp-10) var(--sp-20)
           max(var(--sp-8), calc((100vw - 1280px) / 2 + var(--sp-8)));
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: var(--sp-5);
}

/* Petit filet cuivre — détail éditorial, marque l'identité */
.hero-label::before {
  content: '';
  width: var(--sp-8);
  height: 2px;
  background-color: var(--copper);
  flex-shrink: 0;
}

.hero h1 { color: var(--off-white); margin-bottom: var(--sp-6); }

.hero-text {
  font-size: 1.05rem;
  color: oklch(0.76 0.018 258);
  margin-bottom: var(--sp-8);
  max-width: 46ch;
}

.hero-cta-group { display: flex; flex-direction: column; gap: var(--sp-3); align-items: flex-start; }

.hero-note {
  font-size: var(--text-sm);
  color: oklch(0.58 0.015 258);
  letter-spacing: 0.03em;
}

/* Image hero avec overlay duotone bleu/noir */
.hero-visual {
  position: relative;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: calc(100% + 300px);
  margin-top: -150px;
  object-fit: cover;
  filter: grayscale(55%) brightness(0.55);
  will-change: transform;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    150deg,
    oklch(0.28 0.125 258 / 0.65) 0%,
    oklch(0.11 0.018 258 / 0.50) 100%
  );
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    height: 260px;
    order: -1;
  }

  .hero-content {
    padding: var(--sp-10) var(--sp-6) var(--sp-8);
  }
}

/* ===== BANDEAU DISPO ===== */
.dispo-band {
  background-color: var(--blue-deep);
  padding: var(--sp-4) 0;
}

.dispo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.dispo-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: oklch(0.90 0.02 248);
  letter-spacing: 0.04em;
}

.dispo-item svg { width: 17px; height: 17px; color: var(--copper); flex-shrink: 0; }

/* ===== SECTIONS ===== */
.section       { padding-block: var(--sp-20); background-color: var(--color-bg); }
.section--dark { background-color: transparent; }
.section--tint { background-color: var(--sand-surface); }

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--off-white); }

.section--dark p { color: oklch(0.74 0.018 258); }

.section-header { margin-bottom: var(--sp-12); }
.section-header h2 { margin-bottom: var(--sp-4); }
.section-header p  { color: var(--color-text-muted); font-size: 1.05rem; }

/* Séparateur CTA dans section */
.inline-cta {
  margin-top: var(--sp-10);
  padding-top: var(--sp-8);
  border-top: 1px solid oklch(0.26 0.020 258);
}

/* ===== GRILLE MÉTIERS ===== */
.metiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.metier-card {
  padding: var(--sp-8);
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  transition:
    border-color 200ms var(--ease-out-quart),
    transform   220ms var(--ease-out-quart),
    box-shadow  220ms var(--ease-out-quart);
}

.metier-card:hover {
  border-color: var(--copper-deep);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px oklch(0.28 0.125 258 / 0.12);
}

.metier-icon {
  width: 48px;
  height: 48px;
  background-color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-6);
}

.metier-icon svg { width: 24px; height: 24px; color: var(--off-white); }

.metier-card h3 { font-size: var(--text-xl); margin-bottom: var(--sp-3); }

.metier-card p { font-size: 0.93rem; color: var(--color-text-muted); max-width: none; }

.metier-link {
  display: inline-block;
  margin-top: var(--sp-4);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--copper-deep);
  border-bottom: 1px solid var(--copper-deep);
  padding-bottom: 1px;
  transition: color 180ms, border-color 180ms;
}

.metier-link:hover { color: var(--ink); border-color: var(--copper-deep); }

@media (max-width: 768px) {
  .metiers-grid { grid-template-columns: 1fr; }
}

/* ===== DIFFÉRENCIATION — 2 colonnes ===== */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.diff-visual { position: relative; }

.diff-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: grayscale(30%) brightness(0.80);
}

.diff-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    oklch(0.28 0.125 258 / 0.50) 0%,
    transparent 55%
  );
}

.diff-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.stat-item {
  padding: var(--sp-5);
  background-color: oklch(0.18 0.020 258);
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-3xl);
  color: var(--copper);
  line-height: 1;
  display: block;
}

.stat-lbl {
  font-size: var(--text-sm);
  color: oklch(0.60 0.018 258);
  margin-top: var(--sp-1);
  max-width: 18ch;
}

/* Section "patron" en une seule colonne (sans photo ni encart) */
.diff-solo { max-width: 760px; }

@media (max-width: 768px) {
  .diff-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
}

/* ===== DÉCENNALE BANNER ===== */
.decennale {
  background-color: var(--blue-deep);
  padding: var(--sp-8) 0;
}

.decennale-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.decennale-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border: 2px solid var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
}

.decennale-icon svg { width: 30px; height: 30px; color: var(--off-white); }

.decennale-content h3 { color: var(--off-white); font-size: var(--text-xl); margin-bottom: var(--sp-2); }
.decennale-content p  { color: oklch(0.82 0.04 248); max-width: none; }

/* ===== AVIS GOOGLE ===== */
.google-header {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin-bottom: var(--sp-10);
}

.google-score {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.5rem;
  color: var(--ink);
  line-height: 1;
}

.google-meta { display: flex; flex-direction: column; gap: var(--sp-2); }

.stars-row { display: flex; gap: 3px; }
.stars-row svg { width: 18px; height: 18px; color: var(--copper); }

.google-count { font-size: var(--text-xs); color: var(--color-text-muted); }

.avis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--sp-5);
}

/* Widget d'avis externe (Trustindex) : on le force à rester dans sa colonne,
   son contenu injecté ne doit jamais élargir la page. */
.trustindex-widget {
  max-width: 100%;
  overflow: hidden;
}
.trustindex-widget * { max-width: 100%; }

.avis-card {
  background-color: var(--off-white);
  border: 1px solid var(--border);
  padding: var(--sp-6);
}

.avis-stars { display: flex; gap: 2px; margin-bottom: var(--sp-4); }
.avis-stars svg { width: 17px; height: 17px; color: var(--copper); }

.avis-text {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: var(--sp-5);
  max-width: none;
}

.avis-author { display: flex; align-items: center; gap: var(--sp-3); }

.avis-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--off-white);
  flex-shrink: 0;
}

.avis-name { font-weight: 600; font-size: 0.88rem; }
.avis-date { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: 2px; }

.avis-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}
.avis-see-all {
  font-weight: 600;
  color: var(--copper-deep);
  letter-spacing: 0.02em;
}
.avis-see-all:hover { text-decoration: underline; }

/* ===== CTA SECTION FINALE ===== */
.cta-section {
  background-color: transparent;
  padding-block: var(--sp-20);
  text-align: center;
}

.cta-section h2 {
  color: var(--off-white);
  margin-bottom: var(--sp-4);
}

.cta-section > .container > p {
  color: oklch(0.66 0.018 258);
  margin: 0 auto var(--sp-10);
  max-width: 46ch;
}

.cta-tel-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  color: var(--off-white);
  letter-spacing: 0.02em;
  line-height: 1;
  transition: color 180ms;
}

.cta-tel-big:hover { color: var(--copper-bright); }
.cta-tel-big svg   { width: 1em; height: 1em; color: var(--copper); }

.cta-note {
  margin-top: var(--sp-4);
  font-size: var(--text-xs);
  color: oklch(0.64 0.018 258);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* ===== FORMULAIRE RAPPEL ===== */
.form-callback {
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  padding: var(--sp-8);
  max-width: 460px;
}

.form-callback h3  { font-size: var(--text-2xl); margin-bottom: var(--sp-2); }
.form-note-small   { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--sp-8); }

.form-fields { display: flex; flex-direction: column; gap: var(--sp-5); margin-bottom: var(--sp-6); }

.form-field { display: flex; flex-direction: column; gap: var(--sp-2); }

.form-field label {
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.form-field input,
.form-field textarea {
  padding: var(--sp-4);
  border: 1px solid var(--border);
  background-color: var(--off-white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--ink);
  outline: none;
  transition: border-color 140ms, box-shadow 140ms;
}

.form-field textarea { resize: vertical; min-height: 5.5rem; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: oklch(0.60 0.010 258); }

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue-deep);
  box-shadow: 0 0 0 3px oklch(0.28 0.125 258 / 0.14);
}

.form-optional { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--color-text-muted); }

.form-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-1);
  padding: var(--sp-4);
  background-color: var(--blue-deep);
  color: var(--off-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: background-color 180ms, transform 120ms;
}

.form-submit svg   { flex-shrink: 0; }
.form-submit:hover  { background-color: var(--blue-mid); }
.form-submit:active { transform: scale(0.98); }

/* ===== GALERIE AVANT/APRÈS ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--sp-4);
}

.gallery-item { position: relative; overflow: hidden; }

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 300ms var(--ease-out-quart), transform 400ms var(--ease-out-quart);
}

.gallery-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.gallery-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, oklch(0.11 0.018 258 / 0.88));
  padding: var(--sp-8) var(--sp-4) var(--sp-4);
  color: var(--off-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.aa-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); margin-bottom: var(--sp-6); }

.aa-item { position: relative; }

.aa-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.aa-tag {
  position: absolute;
  top: var(--sp-2); left: var(--sp-2);
  background-color: var(--blue-deep);
  color: var(--off-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: var(--sp-1) var(--sp-3);
}

/* ===== PAGE HERO (pages internes) ===== */
.page-hero {
  position: relative;
  background-color: transparent;
  padding: var(--sp-20) 0 var(--sp-16);
  border-bottom: 2px solid var(--blue-deep);
}

.page-hero h1 { color: var(--off-white); margin-bottom: var(--sp-4); }

.page-hero p { font-size: 1.05rem; color: oklch(0.70 0.018 258); max-width: 52ch; }

/* ===== LAYOUT 2-COL générique ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

.two-col--reverse { }

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ===== LISTE AVANTAGES ===== */
.feature-list { display: flex; flex-direction: column; gap: var(--sp-5); margin-top: var(--sp-6); }

.feature-item { display: flex; gap: var(--sp-4); align-items: flex-start; }

.feature-bullet {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background-color: var(--blue-deep);
  margin-top: 0.5rem;
}

.feature-item p { max-width: none; font-size: 0.97rem; }

/* ===== FOOTER ===== */
.site-footer {
  background-color: oklch(0.07 0.012 258);
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-8);
  border-top: 2px solid var(--blue-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}

.footer-brand .brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--off-white);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: var(--sp-4);
}

.footer-brand p {
  font-size: 0.9rem;
  color: oklch(0.55 0.015 258);
  max-width: 34ch;
}

.footer-tel {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--off-white);
  margin-top: var(--sp-5);
  transition: color 150ms;
}

.footer-tel:hover { color: var(--blue-light); }
.footer-tel svg   { width: 20px; height: 20px; flex-shrink: 0; }

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  color: oklch(0.50 0.014 258);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }

.footer-col a {
  font-size: 0.9rem;
  color: oklch(0.66 0.018 258);
  transition: color 140ms;
}

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

/* Note "rayon 100 km" sous la liste des zones — discrète, accent cuivre */
.footer-zone-note {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid oklch(0.18 0.014 258);
  font-size: 0.82rem;
  line-height: 1.55;
  color: oklch(0.62 0.018 258);
  max-width: 30ch;
}
.footer-zone-note strong { color: var(--copper); }

.footer-bottom {
  padding-top: var(--sp-6);
  border-top: 1px solid oklch(0.18 0.014 258);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.footer-bottom p { font-size: 0.78rem; color: oklch(0.40 0.010 258); max-width: none; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-bottom { flex-direction: column; }
}

/* ===== ANIMATIONS (Étape 8 /animate) ===== */
/* Visibles par défaut — les transitions ajoutent du mouvement sans bloquer */
.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity  560ms var(--ease-out-expo),
      transform 560ms var(--ease-out-expo);
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-d1 { transition-delay:  80ms; }
  .reveal-d2 { transition-delay: 160ms; }
  .reveal-d3 { transition-delay: 240ms; }

  /* Hover sur galerie */
  .gallery-item img {
    transition:
      filter    280ms var(--ease-out-quart),
      transform 380ms var(--ease-out-quart);
  }

  /* Feedback pression bouton (Emil design-eng) */
  .btn-call:active  { transform: scale(0.97); }
  .form-submit:active { transform: scale(0.97); }
}

/* Toujours actif — transitions explicites sur les éléments sans déjà une */
.avis-card {
  transition: border-color 160ms var(--ease-out-quart);
}

.cta-tel-big {
  transition: color 180ms var(--ease-out-quart);
}

/* ===== UTILITAIRES ===== */
.mt-4  { margin-top: var(--sp-4);  }
.mt-6  { margin-top: var(--sp-6);  }
.mt-8  { margin-top: var(--sp-8);  }
.mt-10 { margin-top: var(--sp-10); }
.text-white  { color: var(--off-white); }
.text-muted  { color: var(--color-text-muted); }
.text-center { text-align: center; }

/* ===== FOCUS VISIBLE (accessibilité) ===== */
:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 9999;
  background-color: var(--blue-deep);
  color: var(--off-white);
  padding: var(--sp-3) var(--sp-6);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
}

.skip-link:focus { top: var(--sp-4); }

/* Touch target pour liens discrets */
@media (hover: none) and (pointer: coarse) {
  .metier-link,
  .footer-col a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Image lazy loading — éviter CLS */
img[loading="lazy"] { aspect-ratio: attr(width) / attr(height); }

/* ===== PETITS ÉCRANS (≤ 480px) ===== */
/* Le plancher des grandes polices fluides (calé pour le desktop) reste trop haut
   sur un téléphone étroit : un titre forcé sur une ligne par <br> peut dépasser
   le cadre. On abaisse le plancher ici — l'échelle contrastée est préservée. */
@media (max-width: 480px) {
  :root {
    --text-hero: clamp(2.4rem, 11vw, 6rem);
    --text-4xl:  clamp(1.9rem,  8vw, 4rem);
    --text-3xl:  clamp(1.75rem, 7vw, 3rem);
  }

  /* Header : éviter que logo + burger ne se chevauchent / débordent. */
  .logo-name { font-size: 1.3rem; }
  .burger    { padding-inline: var(--sp-2); }
}

/* print */
@media print {
  .site-header,
  .sticky-call,
  .btn-call,
  .cta-section { display: none !important; }
}

/* ===== RESPONSIVE UTILITAIRES ===== */
@media (max-width: 900px) {
  .hide-mobile { display: none; }
}
