/* ==========================================================================
   MCMV Mécanique — Feuille de style principale
   Palette : bleu #003B70 · bleu foncé #002A50 · jaune #FFD100 · gris #F3F5F7
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Jetons de design
   -------------------------------------------------------------------------- */
:root {
  --blue: #003b70;
  --blue-dark: #002a50;
  --blue-darker: #001d38;
  --blue-tint: #e8eff6;
  --yellow: #ffd100;
  --yellow-dark: #e6bd00;
  --yellow-soft: #fff8d6;
  --white: #ffffff;
  --gray: #f3f5f7;
  --gray-200: #e3e8ed;
  --gray-400: #b9c2cb;
  --gray-600: #5d6975;
  --ink: #222222;
  --ink-soft: #4a545e;

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --step--1: clamp(0.83rem, 0.8rem + 0.14vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1: clamp(1.19rem, 1.12rem + 0.34vw, 1.4rem);
  --step-2: clamp(1.42rem, 1.3rem + 0.6vw, 1.8rem);
  --step-3: clamp(1.7rem, 1.48rem + 1vw, 2.32rem);
  --step-4: clamp(2.03rem, 1.68rem + 1.6vw, 3rem);
  --step-5: clamp(2.35rem, 1.83rem + 2.4vw, 3.8rem);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(0, 42, 80, 0.06), 0 2px 6px rgba(0, 42, 80, 0.06);
  --shadow: 0 4px 12px rgba(0, 42, 80, 0.09), 0 12px 28px rgba(0, 42, 80, 0.08);
  --shadow-lg: 0 10px 24px rgba(0, 42, 80, 0.12), 0 24px 56px rgba(0, 42, 80, 0.12);

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(3.25rem, 7vw, 6rem);

  /* Suit la hauteur du logo (+ marges intérieures) : sert au décalage des
     ancres et à la position des colonnes collantes. */
  --header-h: clamp(80px, calc(7.9vw + 22px), 99px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Réinitialisation
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--blue-dark);
  font-weight: 800;
  text-wrap: balance;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

/* Filet de sécurité : une icône sans règle de taille reste discrète. */
svg { width: 20px; height: 20px; flex: none; }

/* <picture> ne doit pas rompre la chaîne de hauteur entre le conteneur et
   l'image (object-fit sur une image en hauteur 100 %). */
.hero__media picture,
.service-card__media picture,
.split__media picture,
.service-detail__media picture,
.gallery picture { display: block; width: 100%; height: 100%; }

/* Doit l'emporter sur les règles d'affichage des composants (.btn, .mobile-nav…) */
[hidden] { display: none !important; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

button { font: inherit; color: inherit; }

hr { border: 0; border-top: 1px solid var(--gray-200); margin: 2rem 0; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 3px;
}
.on-dark :focus-visible,
.site-footer :focus-visible,
.topbar :focus-visible,
.hero :focus-visible { outline-color: var(--yellow); }

::selection { background: var(--yellow); color: var(--blue-dark); }

/* --------------------------------------------------------------------------
   3. Utilitaires de structure
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}
.container--narrow { --container: 820px; }

.section { padding-block: var(--section-y); }
.section--gray { background: var(--gray); }
.section--blue { background: var(--blue); color: #eaf1f8; }
.section--tight { padding-block: clamp(2.25rem, 4.5vw, 3.5rem); }

.section--blue h2,
.section--blue h3 { color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 999;
  background: var(--yellow);
  color: var(--blue-dark);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

.section-head { max-width: 62ch; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: var(--step-1); margin-bottom: 0; }
.section--blue .section-head p { color: #c6d8ea; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}
.section--blue .eyebrow,
.hero .eyebrow { color: var(--yellow); }
.section-head--center .eyebrow::before { display: none; }

.lede { font-size: var(--step-1); color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   4. Boutons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--yellow);
  --btn-fg: var(--blue-dark);
  --btn-border: var(--yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  min-height: 50px;
  border: 2px solid var(--btn-border);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 800;
  font-size: var(--step-0);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.btn:hover {
  --btn-bg: var(--yellow-dark);
  --btn-border: var(--yellow-dark);
  color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--blue { --btn-bg: var(--blue); --btn-fg: var(--white); --btn-border: var(--blue); }
.btn--blue:hover { --btn-bg: var(--blue-dark); --btn-border: var(--blue-dark); color: var(--white); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--blue); --btn-border: var(--blue); }
.btn--outline:hover { --btn-bg: var(--blue); --btn-border: var(--blue); color: var(--white); }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-border: rgba(255, 255, 255, 0.55); }
.btn--ghost-light:hover { --btn-bg: var(--white); --btn-border: var(--white); color: var(--blue-dark); }

.btn--lg { padding: 1.05rem 2rem; min-height: 58px; font-size: var(--step-1); }
.btn--sm { padding: 0.55rem 1.05rem; min-height: 42px; font-size: var(--step--1); }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.btn-row--center { justify-content: center; }

/* Sur téléphone, les boutons occupent toute la largeur : cible tactile plus
   généreuse et aucun risque de débordement avec les libellés longs. */
@media (max-width: 560px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--blue);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Barre supérieure + en-tête
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--blue-dark);
  color: #c6d8ea;
  font-size: var(--step--1);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  padding-block: 0.35rem;
}
.topbar__info { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 0.45rem; color: #c6d8ea; text-decoration: none; }
.topbar__item:hover { color: var(--yellow); }
.topbar__item svg { width: 16px; height: 16px; color: var(--yellow); flex: none; }
@media (max-width: 860px) { .topbar { display: none; } }

.lang-switch { display: inline-flex; align-items: center; gap: 0.15rem; font-weight: 700; }
.lang-switch__item {
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
}
.lang-switch__item[aria-current="true"] { background: var(--yellow); color: var(--blue-dark); }
.lang-switch__item:not([aria-current="true"]):hover { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.lang-switch__sep { opacity: 0.4; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 2px 12px rgba(0, 42, 80, 0.12); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
  padding-block: 0.6rem;
}

.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { width: auto; height: clamp(58px, 7.9vw, 77px); }

.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.4vw, 1.15rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  position: relative;
  display: block;
  padding: 0.55rem 0.3rem;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--blue-dark);
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0.3rem;
  right: 0.3rem;
  bottom: 0.15rem;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.7rem; flex: none; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: var(--blue-dark);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone svg { width: 20px; height: 20px; color: var(--blue); }
.header-phone:hover { color: var(--blue); }

/* 7 onglets + téléphone + bouton : l'en-tête complet exige environ 1280 px. */
@media (max-width: 1279px) {
  .primary-nav, .header-phone { display: none; }
  .header-actions .btn--header { display: none; }
}

/* Bouton hamburger */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.9rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 800;
  color: var(--blue-dark);
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 20px; height: 14px; flex: none; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: var(--blue);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5.75px; }
.nav-toggle__bars span:nth-child(3) { top: 11.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5.75px) rotate(-45deg); }
@media (max-width: 1279px) { .nav-toggle { display: inline-flex; } }

/* Menu mobile */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--white);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.mobile-nav.is-open { visibility: visible; opacity: 1; }
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--gutter);
  border-bottom: 1px solid var(--gray-200);
  min-height: var(--header-h);
}
.mobile-nav__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}
.mobile-nav__close svg { width: 22px; height: 22px; color: var(--blue-dark); }
.mobile-nav__body { overflow-y: auto; padding: 1.25rem var(--gutter) 2.5rem; }
.mobile-nav__body ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.mobile-nav__body li { margin: 0; border-bottom: 1px solid var(--gray-200); }
.mobile-nav__body a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.25rem;
  font-size: var(--step-1);
  font-weight: 800;
  color: var(--blue-dark);
  text-decoration: none;
}
.mobile-nav__body a svg { width: 20px; height: 20px; color: var(--gray-400); }
.mobile-nav__body a[aria-current="page"] { color: var(--blue); }
.mobile-nav__body a[aria-current="page"]::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }
.mobile-nav__ctas { display: grid; gap: 0.7rem; margin-bottom: 1.75rem; }
.mobile-nav__lang { display: flex; align-items: center; gap: 0.5rem; color: var(--ink-soft); }
.mobile-nav__lang .lang-switch__item { border: 2px solid var(--gray-200); }
.mobile-nav__lang .lang-switch__item[aria-current="true"] { border-color: var(--yellow); }

body.nav-open { overflow: hidden; }

/* Bande promotionnelle */
.promo-bar {
  background: var(--yellow);
  color: var(--blue-dark);
  font-weight: 700;
  text-align: center;
  padding: 0.6rem var(--gutter);
}
.promo-bar a { color: var(--blue-dark); }

/* --------------------------------------------------------------------------
   6. Héros
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--blue-dark);
  color: var(--white);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Accueil : photo calée sur le haut pour garder le toit du garage et
   l'enseigne en entier ; le recadrage se fait dans le stationnement. */
.hero--home .hero__media img { object-position: center top; }
/* Voile bleu du héros de la page d'accueil : opacités allégées de 30 % pour
   laisser davantage voir la photo du garage. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(0, 29, 56, 0.66) 0%, rgba(0, 42, 80, 0.62) 38%, rgba(0, 59, 112, 0.43) 68%, rgba(0, 59, 112, 0.29) 100%);
}

/* Sur téléphone, la photo est recadrée serré et le texte se retrouve devant la
   brique claire du bâtiment. Le voile y est légèrement plus soutenu pour rester
   au-dessus du seuil de contraste WCAG AA (mesuré : 4,8:1). */
@media (max-width: 780px) {
  .hero::after {
    background:
      linear-gradient(178deg, rgba(0, 29, 56, 0.68) 0%, rgba(0, 33, 63, 0.76) 30%, rgba(0, 42, 80, 0.76) 72%, rgba(0, 59, 112, 0.6) 100%);
  }
}

/* Le voile étant plus clair, un léger halo garantit la lisibilité du texte
   quelle que soit la photo placée derrière. */
.hero__media ~ .container .hero__inner h1,
.hero__media ~ .container .hero__inner .hero__subtitle {
  text-shadow: 0 1px 14px rgba(0, 24, 46, 0.55);
}
.hero__inner {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 7.5rem);
  max-width: 44rem;
}
.hero h1 { color: var(--white); margin-bottom: 0.6em; }
.hero__subtitle {
  font-size: var(--step-1);
  color: #d7e5f2;
  margin-bottom: 2rem;
  max-width: 38rem;
}
.hero .btn-row { margin-bottom: 2rem; }

/* Héros de la page d'accueil : bloc centré horizontalement dans la colonne et
   texte centré. Le voile dégradé reste orienté à gauche, mais son opacité
   minimale (0,29) suffit au contraste sur toute la largeur. */
.hero--home .hero__inner {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}
.hero--home .hero__subtitle { max-width: 42rem; margin-inline: auto; }
.hero--home .btn-row { justify-content: center; }

.hero--page .hero__inner { padding-block: clamp(2.75rem, 6vw, 5rem); max-width: 52rem; }
.hero--page h1 { font-size: var(--step-4); }
.hero--plain { background: var(--blue); }
.hero--plain::after {
  background:
    radial-gradient(120% 140% at 88% 8%, rgba(255, 209, 0, 0.16) 0%, rgba(255, 209, 0, 0) 55%),
    linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
}

/* Insigne Google */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  color: var(--white);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.rating-badge:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.rating-badge > svg { width: 18px; height: 18px; opacity: 0.75; }
.rating-badge__score { font-size: var(--step-2); font-weight: 800; line-height: 1; color: var(--yellow); }
.rating-badge__text { font-size: var(--step--1); line-height: 1.35; }
.rating-badge__text strong { display: block; font-size: var(--step-0); }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; color: var(--yellow); }

/* --------------------------------------------------------------------------
   7. Barre de confiance
   -------------------------------------------------------------------------- */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--gray-200); }
.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding-block: clamp(2rem, 4vw, 3rem);
}
.trust-item { display: flex; gap: 0.95rem; align-items: flex-start; }
.trust-item__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--radius);
  background: var(--blue-tint);
  color: var(--blue);
}
.trust-item__icon svg { width: 26px; height: 26px; }
.trust-item h3 { font-size: var(--step-0); margin-bottom: 0.25em; }
.trust-item p { font-size: var(--step--1); color: var(--ink-soft); margin: 0; }

/* --------------------------------------------------------------------------
   8. Cartes de services
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.75rem);
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gray-400); }
.service-card__media { position: relative; aspect-ratio: 3 / 2; background: var(--gray); overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.4rem 1.5rem; }
.service-card__body h3 { font-size: var(--step-1); margin-bottom: 0.45em; }
.service-card__body p { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 1.1rem; }
.service-card__body .link-arrow { margin-top: auto; }

.service-card__icon {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--blue-dark);
  box-shadow: var(--shadow-sm);
}
.service-card__icon svg { width: 24px; height: 24px; }

/* Emplacement réservé aux photos originales à venir */
.photo-placeholder {
  display: grid;
  place-items: center;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  padding: 1.25rem;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, var(--gray) 0 10px, #eaeef2 10px 20px);
  color: var(--gray-600);
}
.photo-placeholder svg { width: 34px; height: 34px; color: var(--blue); opacity: 0.55; }
.photo-placeholder span { font-size: var(--step--1); font-weight: 700; }

/* --------------------------------------------------------------------------
   9. Sections en deux colonnes
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
}
.split__media { position: relative; isolation: isolate; }
.split__media img,
.split__media .photo-placeholder {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split__media::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 46%;
  height: 46%;
  border: 4px solid var(--yellow);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 780px) { .split--reverse .split__media { order: 0; } }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002A50' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--blue .check-list li { color: #d7e5f2; }

/* --------------------------------------------------------------------------
   10. Grille « pourquoi nous choisir »
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.1rem, 2.5vw, 1.9rem);
}
.feature {
  padding: 1.6rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.feature__icon { color: var(--blue); margin-bottom: 0.9rem; }
.feature__icon svg { width: 30px; height: 30px; }
.feature h3 { font-size: var(--step-1); margin-bottom: 0.4em; }
.feature p { font-size: var(--step--1); color: var(--ink-soft); margin: 0; }

.section--blue .feature {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  border-left-color: var(--yellow);
}
.section--blue .feature p { color: #c6d8ea; }
.section--blue .feature__icon { color: var(--yellow); }

/* --------------------------------------------------------------------------
   11. Avis
   -------------------------------------------------------------------------- */
.reviews-summary {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 760px) { .reviews-summary { grid-template-columns: 1fr; text-align: center; } }
.reviews-summary__score { text-align: center; }
.reviews-summary__number { font-size: clamp(3rem, 8vw, 4.4rem); font-weight: 800; line-height: 1; color: var(--blue-dark); }
.reviews-summary__number span { font-size: 0.45em; color: var(--gray-600); font-weight: 700; }
.reviews-summary__stars { justify-content: center; margin: 0.6rem 0 0.4rem; }
.reviews-summary__stars svg { width: 24px; height: 24px; }
.reviews-summary__count { font-size: var(--step--1); color: var(--ink-soft); }
.reviews-summary__aside p { color: var(--ink-soft); }
@media (max-width: 760px) { .reviews-summary__aside .btn-row { justify-content: center; } }

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.75rem);
  margin-top: 2rem;
}
.review-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}
.review-card__stars { margin-bottom: 0.9rem; }
.review-card__text { font-size: var(--step-0); color: var(--ink); margin-bottom: 1.1rem; }
.review-card__meta { margin-top: auto; font-size: var(--step--1); color: var(--gray-600); }
.review-card__meta strong { display: block; color: var(--blue-dark); font-size: var(--step-0); }
.review-card__note { display: inline-block; margin-top: 0.5rem; font-size: 0.78rem; color: var(--gray-600); font-style: italic; }

.google-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  margin-top: 1.5rem;
  background: var(--blue-tint);
  border-radius: var(--radius);
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.google-note svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }

/* --------------------------------------------------------------------------
   12. Bande d'appel à l'action
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  background: var(--blue-dark);
  color: var(--white);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 120% at 92% 12%, rgba(255, 209, 0, 0.18) 0%, rgba(255, 209, 0, 0) 58%),
    linear-gradient(180deg, var(--blue-dark) 0%, var(--blue-darker) 100%);
}
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}
.cta-band__text { max-width: 40rem; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #c6d8ea; font-size: var(--step-1); margin: 0; }
.cta-band .btn-row { flex: none; }

/* --------------------------------------------------------------------------
   13. Services en détail
   -------------------------------------------------------------------------- */
.service-detail {
  scroll-margin-top: calc(var(--header-h) + 24px);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--gray-200);
}
.service-detail:first-of-type { border-top: 0; }
.service-detail__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(1.75rem, 4.5vw, 3.5rem);
  align-items: start;
}
.service-detail__media img,
.service-detail__media .photo-placeholder {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.service-detail__title { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.service-detail__title h3 { margin: 0; font-size: var(--step-3); }
.service-detail__title-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--blue-dark);
}
.service-detail__title-icon svg { width: 28px; height: 28px; }

.detail-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.detail-cols h4 {
  font-size: var(--step-0);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 0.75em;
}
.detail-cols ul { list-style: none; padding: 0; margin: 0; }
.detail-cols li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.detail-cols li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
}

/* Sommaire ancré des services */
.service-index { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.service-index a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: var(--white);
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--blue-dark);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.service-index a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.service-index a svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   14. Formulaires
   -------------------------------------------------------------------------- */
.form-card {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.fieldset { border: 0; padding: 0; margin: 0 0 2rem; }
.fieldset:last-of-type { margin-bottom: 1.5rem; }
.fieldset > legend {
  padding: 0;
  margin-bottom: 1.1rem;
  font-size: var(--step-1);
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -0.01em;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.1rem;
}
.field--full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 700; font-size: var(--step--1); color: var(--blue-dark); }
.field label .opt { font-weight: 500; color: var(--gray-600); text-transform: none; }
.req-mark { color: #c62828; }
.field .hint { font-size: 0.82rem; color: var(--gray-600); }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="number"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
  font-size: var(--step-0);
  color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003B70' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
  padding-right: 2.6rem;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--gray-400); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 59, 112, 0.15);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #c62828; }
.field .error {
  display: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: #c62828;
}
.field .error.is-visible { display: block; }

/* Groupes de choix */
.choice-group { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice {
  position: relative;
  display: inline-flex;
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.choice span {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.15rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--ink-soft);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.choice input:checked + span { border-color: var(--blue); background: var(--blue-tint); color: var(--blue-dark); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.choice input:hover + span { border-color: var(--gray-400); }

/* Case à cocher de consentement */
.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  background: var(--gray);
  border-radius: var(--radius);
}
.consent input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--blue);
  cursor: pointer;
  flex: none;
}
.consent label { font-size: var(--step--1); font-weight: 600; color: var(--ink); cursor: pointer; }
.consent .hint { display: block; margin-top: 0.4rem; font-weight: 400; }

/* Téléversement de fichier */
.file-field input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border: 2px dashed var(--gray-400);
  border-radius: var(--radius);
  background: var(--gray);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.file-drop:hover { border-color: var(--blue); background: var(--blue-tint); }
.file-field input:focus-visible + .file-drop { outline: 3px solid var(--blue); outline-offset: 2px; }
.file-drop svg { width: 24px; height: 24px; color: var(--blue); flex: none; }
.file-drop__label { font-weight: 700; font-size: var(--step--1); color: var(--blue-dark); }
.file-drop__name { display: block; font-weight: 400; font-size: 0.82rem; color: var(--gray-600); }

/* Pot de miel antipourriel — invisible pour les humains */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Messages du formulaire */
.form-alert {
  display: none;
  gap: 0.9rem;
  padding: 1.15rem 1.3rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.form-alert.is-visible { display: flex; }
.form-alert svg { width: 24px; height: 24px; flex: none; margin-top: 2px; }
.form-alert h3 { font-size: var(--step-0); margin-bottom: 0.25em; }
.form-alert p { font-size: var(--step--1); margin: 0; }
.form-alert--success { background: #e8f5e9; border: 1px solid #a5d6a7; color: #1b5e20; }
.form-alert--success h3 { color: #1b5e20; }
.form-alert--error { background: #ffebee; border: 1px solid #ef9a9a; color: #b71c1c; }
.form-alert--error h3 { color: #b71c1c; }

.form-disclaimer {
  display: flex;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.75rem;
  background: var(--yellow-soft);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  font-size: var(--step--1);
  color: var(--ink);
}
.form-disclaimer svg { width: 22px; height: 22px; color: var(--blue-dark); flex: none; margin-top: 1px; }

.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* --------------------------------------------------------------------------
   15. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

/* La colonne latérale (téléphone, heures, adresse) suit la lecture d'un
   formulaire long. */
@media (min-width: 1000px) {
  .contact-grid > aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.info-list { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.info-list li { display: flex; gap: 1rem; margin-bottom: 1.35rem; }
.info-list__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--radius);
  background: var(--blue-tint);
  color: var(--blue);
}
.info-list__icon svg { width: 22px; height: 22px; }
.info-list__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 0.15rem;
}
.info-list a { font-weight: 700; color: var(--blue-dark); text-decoration: none; }
.info-list a:hover { color: var(--blue); text-decoration: underline; }
.info-list address { font-style: normal; font-weight: 700; color: var(--blue-dark); }

.hours-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.hours-table th,
.hours-table td { padding: 0.6rem 0; text-align: left; border-bottom: 1px solid var(--gray-200); }
.hours-table th { font-weight: 700; color: var(--blue-dark); }
.hours-table td { text-align: right; color: var(--ink-soft); }
.hours-table tr:last-child th,
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table tr[data-today] th,
.hours-table tr[data-today] td { color: var(--blue); font-weight: 800; }

.hours-pending {
  padding: 1.2rem 1.35rem;
  background: var(--blue-tint);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
}
.hours-pending strong { display: block; color: var(--blue-dark); margin-bottom: 0.3rem; }
.hours-pending p { font-size: var(--step--1); color: var(--ink-soft); margin: 0 0 0.9rem; }

.map-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  background: var(--gray);
  aspect-ratio: 16 / 10;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 600px) { .map-frame { aspect-ratio: 4 / 3; } }

/* --------------------------------------------------------------------------
   16. Étapes numérotées
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li { position: relative; padding-top: 3.5rem; margin: 0; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--blue-dark);
  font-size: var(--step-1);
  font-weight: 800;
}
/* Page Courtoisie : photo panoramique affichée dans ses proportions d'origine. */
.courtesy-media { max-width: 1200px; margin-inline: auto; }
.courtesy-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.courtesy-note { max-width: 820px; margin: clamp(1.75rem, 4vw, 2.75rem) auto 0; text-align: center; }

.steps h3 { font-size: var(--step-1); margin-bottom: 0.35em; }
.steps p { font-size: var(--step--1); color: var(--ink-soft); margin: 0; }

/* --------------------------------------------------------------------------
   17. Galerie
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem);
}
.gallery figure { margin: 0; }
/* Photo en couleur harmonisée avec le reste de la galerie (option "noirEtBlanc"). */
.gallery__item--bw img { filter: grayscale(1); }
.gallery img,
.gallery .photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   18. Fil d'Ariane
   -------------------------------------------------------------------------- */
.breadcrumb { background: var(--gray); border-bottom: 1px solid var(--gray-200); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0.7rem 0;
  font-size: var(--step--1);
}
.breadcrumb li { display: flex; align-items: center; gap: 0.5rem; margin: 0; color: var(--gray-600); }
.breadcrumb li:not(:last-child)::after { content: "›"; color: var(--gray-400); }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   19. Contenu long (pages légales)
   -------------------------------------------------------------------------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.3rem; }
.prose li { color: var(--ink-soft); }
.prose .updated {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  background: var(--gray);
  border-radius: 999px;
  font-size: var(--step--1);
  color: var(--gray-600);
  margin-bottom: 1.75rem;
}

/* --------------------------------------------------------------------------
   20. Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--blue-dark);
  color: #b9cde0;
  font-size: var(--step--1);
}
.site-footer a { color: #b9cde0; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-block: clamp(2.75rem, 6vw, 4rem);
}
@media (max-width: 980px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer h3 {
  font-size: var(--step-0);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.6rem; }

/* Le logo est bleu marine : sur le pied de page bleu foncé, il est posé sur une
   pastille blanche. box-sizing: content-box pour que la hauteur ci-dessous soit
   celle du logo lui-même, sans compter la marge blanche. */
.footer-brand img {
  box-sizing: content-box;
  height: 42px;
  width: auto;
  margin-bottom: 1.1rem;
  background: var(--white);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}
.footer-brand p { margin-bottom: 1.25rem; }
.footer-contact { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.footer-contact li { display: flex; gap: 0.65rem; align-items: flex-start; margin-bottom: 0.7rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--yellow); flex: none; margin-top: 3px; }
.footer-contact address { font-style: normal; }

.social-row { display: flex; gap: 0.6rem; }
.social-row a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: #b9cde0;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.social-row a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--blue-dark); }
.social-row svg { width: 20px; height: 20px; }

.footer-hours { list-style: none; padding: 0; margin: 0; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.footer-hours span:last-child { color: var(--white); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.83rem;
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.15rem; }
.site-footer__legal button {
  padding: 0;
  border: 0;
  background: none;
  color: #b9cde0;
  font-size: inherit;
  cursor: pointer;
  text-decoration: none;
}
.site-footer__legal button:hover { color: var(--yellow); text-decoration: underline; }
.credit a { color: var(--yellow); font-weight: 700; }

/* Fournisseurs : logos centrés, sans fond ni contour, régulièrement espacés. */
.footer-suppliers { padding-bottom: clamp(2rem, 4vw, 2.75rem); }
.footer-suppliers__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem clamp(1rem, 3vw, 2rem);
}
/* Emplacements de même format, sans contour : seul le logo est cliquable. */
.site-footer .footer-suppliers__list li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 84px;
  margin: 0;
  padding: 12px 20px;
}
.footer-suppliers__list a {
  display: block;
  line-height: 0;
  transition: transform 0.2s var(--ease);
}
.footer-suppliers__list a:hover { transform: translateY(-2px); }
.footer-suppliers__list img { display: block; }

/* Formulaire de rendez-vous hébergé par Tally : l'iframe occupe toute la carte. */
.tally-embed {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
}

/* --------------------------------------------------------------------------
   21. Barre d'action mobile
   -------------------------------------------------------------------------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  background: var(--blue-dark);
  border-top: 3px solid var(--yellow);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 16px rgba(0, 29, 56, 0.25);
}
.mobile-bar__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.6rem 0.35rem;
  min-height: 60px;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
}
.mobile-bar a + a { border-left: 1px solid rgba(255, 255, 255, 0.16); }
.mobile-bar a svg { width: 21px; height: 21px; color: var(--yellow); }
.mobile-bar a:active { background: rgba(255, 255, 255, 0.1); }
.mobile-bar a.is-primary { background: var(--yellow); color: var(--blue-dark); }
.mobile-bar a.is-primary svg { color: var(--blue-dark); }

@media (max-width: 780px) {
  .mobile-bar { display: block; }
  body { padding-bottom: 66px; }
}

/* --------------------------------------------------------------------------
   22. Bandeau de témoins
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translate(-50%, calc(100% + 2rem));
  z-index: 300;
  width: min(100% - 2rem, 760px);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  opacity: 0;
  visibility: hidden;
}
.cookie-banner.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
@media (max-width: 780px) { .cookie-banner { bottom: calc(66px + 0.75rem); } }
.cookie-banner h2 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.cookie-banner p { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 1.25rem; }
.cookie-banner .btn-row { gap: 0.65rem; }
.cookie-banner .btn { flex: 1 1 auto; }
.cookie-prefs { display: none; margin: 0 0 1.25rem; padding: 0; border: 0; }
.cookie-prefs.is-open { display: block; }
.cookie-prefs__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 0.9rem;
  padding: 0.95rem 1.05rem;
  margin-bottom: 0.7rem;
  background: var(--gray);
  border-radius: var(--radius);
}
.cookie-prefs__item input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.cookie-prefs__item label { font-weight: 700; font-size: var(--step--1); color: var(--blue-dark); }
.cookie-prefs__item p { grid-column: 2; font-size: 0.82rem; margin: 0; }
.cookie-prefs__item .always { font-size: 0.78rem; font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.06em; }

/* --------------------------------------------------------------------------
   23. Animations discrètes
   -------------------------------------------------------------------------- */
/* L'état masqué n'est appliqué que si JavaScript est actif : sans lui, tout le
   contenu reste visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   24. Impression
   -------------------------------------------------------------------------- */
@media print {
  .topbar, .site-header, .mobile-bar, .cookie-banner, .mobile-nav, .map-frame, .btn-row { display: none !important; }
  body { padding-bottom: 0; color: #000; }
  .hero, .cta-band, .section--blue { background: none !important; color: #000; }
  .hero h1, .cta-band h2 { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
