/* ═══════════════════════════════════════════════════════════════════════════
   CGR EXPERTISE — main.css  v3.0
   "Cabinet Blanc" — Blanc · Rouge · Gris doux
   Variables → Reset → Base → Nav → Hero → Sections → Footer → Responsive
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────
   DESIGN TOKENS
   ───────────────────────────────────────────────────────────────────────── */
:root {
  /* Rouge CGR — couleur signature unique */
  --red:        #B3321B;
  --red-dark:   #922818;
  --red-light:  #C94030;
  --red-pale:   #FBF0EE;
  --red-border: rgba(179, 50, 27, .16);
  --red-glow:   rgba(179, 50, 27, .18);

  /* Neutres — toute la palette hors rouge */
  --ink:        #111827;   /* titres */
  --body:       #374151;   /* texte courant */
  --mid:        #6B7280;   /* sous-titres, labels */
  --muted:      #9CA3AF;   /* placeholders, meta */
  --hairline:   #E5E7EB;   /* bordures fines */
  --hairline2:  #F3F4F6;   /* séparateurs internes */

  /* Fonds */
  --white:      #FFFFFF;
  --off-white:  #FAFAFA;
  --bg-soft:    #F7F8FA;   /* sections alternées */
  --bg-mid:     #F0F2F6;   /* fond badge/tag */

  /* Pied de page — seul élément sombre */
  --footer-bg:  #1A1D23;
  --footer-txt: rgba(255,255,255,.45);

  /* Espacements compactés — rythme 4dp (refonte Apple-sobre) */
  --sp-xs:  6px;
  --sp-sm:  12px;
  --sp-md:  20px;
  --sp-lg:  32px;
  --sp-xl:  52px;
  --sp-2xl: 76px;
  --sp-3xl: 104px;

  /* Conteneurs — plus étroits pour écrans 13-15" */
  --wrap:    1180px;
  --wrap-sm: 780px;

  /* Nav — thin bar style Apple */
  --nav-h: 54px;

  /* Rayons */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   22px;
  --r-pill: 100px;

  /* Transitions */
  --ease:     cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --t1: .16s;
  --t2: .26s;
  --t3: .42s;

  /* Ombres */
  --shadow-xs:  0 1px 3px rgba(0,0,0,.05);
  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 6px 22px rgba(0,0,0,.08);
  --shadow-lg:  0 14px 44px rgba(0,0,0,.10);
  --shadow-red: 0 6px 22px var(--red-glow);
}


/* ─────────────────────────────────────────────────────────────────────────
   RESET
   ───────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
img, picture { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
a       { color: inherit; text-decoration: none; }
ul      { list-style: none; }
address { font-style: normal; }
button  { cursor: pointer; background: none; border: none; }


/* ─────────────────────────────────────────────────────────────────────────
   UTILITAIRES
   ───────────────────────────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--sp-lg);
}
.wrap--sm { max-width: var(--wrap-sm); }

/* Étiquette de section */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--sp-sm);
}
.tag::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--red);
  border-radius: 1px;
  flex-shrink: 0;
}

/* Titres — échelle resserrée, letter-spacing négatif style Apple */
.h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: var(--sp-sm);
}
.h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.008em;
  color: var(--ink);
}
.h1 em, .h2 em, .h3 em { font-style: italic; color: var(--red); }

.lead {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--mid);
}


/* ─────────────────────────────────────────────────────────────────────────
   BOUTONS
   ───────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
  padding: 10px 22px;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: var(--r-pill);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.005em;
  transition:
    background   var(--t1) var(--ease),
    color        var(--t1) var(--ease),
    border-color var(--t1) var(--ease),
    transform    var(--t2) var(--ease),
    box-shadow   var(--t2) var(--ease);
}
.btn:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.btn--red {
  background: var(--red);
  color: var(--white);
}
.btn--red:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--red-glow);
}

.btn--outline {
  color: var(--ink);
  border: 1px solid var(--hairline);
  background: transparent;
}
.btn--outline:hover {
  color: var(--ink);
  border-color: rgba(17, 24, 39, 0.25);
  background: var(--bg-soft);
}
.btn--outline svg { transition: transform var(--t1) var(--ease); }
.btn--outline:hover svg { transform: translateX(3px); }

.btn--lg { padding: 12px 26px; font-size: 13.5px; }
.btn--sm { padding: 7px 14px;  font-size: 11.5px; }


/* ─────────────────────────────────────────────────────────────────────────
   LISTE AVEC COCHES
   ───────────────────────────────────────────────────────────────────────── */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-block: var(--sp-md) var(--sp-lg);
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 300;
  color: var(--body);
  line-height: 1.6;
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B3321B' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 11px no-repeat,
    var(--red-pale);
}


/* ─────────────────────────────────────────────────────────────────────────
   NAVIGATION — thin bar "Apple Store" (backdrop-blur, zéro hover gris)
   ───────────────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
  transition: background var(--t2) var(--ease), border-color var(--t2) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(17, 24, 39, 0.08);
}

.nav {
  max-width: var(--wrap);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--sp-md);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

/* Logo — compact */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  margin-inline-end: var(--sp-md);
}
.nav__logo-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.nav__logo-text { display: flex; flex-direction: column; gap: 1px; }
.nav__logo-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.nav__logo-sub {
  font-size: 9.5px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  line-height: 1;
}

/* Liens — thin, sans fond */
.nav__links {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-inline-start: auto;
  margin-inline-end: var(--sp-sm);
}
.nav__link {
  position: relative;
  display: inline-block;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--body);
  padding: 6px 11px;
  white-space: nowrap;
  background: transparent;           /* jamais de fond gris */
  border: none;
  transition: color var(--t1) var(--ease);
}
.nav__link:hover {
  color: var(--ink);
  background: transparent;
}
.nav__link.is-active {
  color: var(--ink);
  font-weight: 500;
  background: transparent;
}

/* Lien actif : point rouge subtil sous l'item (zéro dépassement) */
.nav__link.is-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 50%;
}

/* CTA — pill rouge compacte */
.nav__cta {
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--white);
  background: var(--red);
  padding: 7px 16px;
  border-radius: var(--r-pill);
  letter-spacing: -0.005em;
  transition:
    background var(--t1) var(--ease),
    transform  var(--t1) var(--ease);
}
.nav__cta:hover {
  background: var(--red-dark);
  transform: translateY(-0.5px);
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  transition: background var(--t1) var(--ease);
}
.nav__burger:hover { background: var(--bg-soft); }
.nav__burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform var(--t2) var(--ease),
    opacity   var(--t2) var(--ease),
    width     var(--t2) var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer mobile */
.nav__drawer {
  display: none;
  flex-direction: column;
  position: fixed;
  inset-block-start: var(--nav-h);
  inset-inline: 0;
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
  padding: var(--sp-xs) var(--sp-sm) var(--sp-md);
  box-shadow: 0 16px 40px rgba(0,0,0,.09);
  gap: 3px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    transform  var(--t2) var(--ease),
    opacity    var(--t2) var(--ease),
    visibility 0s linear var(--t2);
}
.nav__drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition:
    transform var(--t2) var(--ease),
    opacity   var(--t2) var(--ease);
}
.nav__drawer-link {
  font-size: 15px;
  font-weight: 400;
  color: var(--body);
  padding: 12px 14px;
  border-radius: var(--r-sm);
  transition:
    background var(--t1) var(--ease),
    color      var(--t1) var(--ease);
}
.nav__drawer-link:hover { background: var(--bg-soft); }
.nav__drawer-link.is-active {
  background: var(--red-pale);
  color: var(--red);
  font-weight: 500;
}
.nav__drawer-cta {
  margin-top: var(--sp-xs);
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  background: var(--red);
  padding: 13px;
  border-radius: var(--r-md);
  transition: background var(--t1) var(--ease);
}
.nav__drawer-cta:hover { background: var(--red-dark); }


/* ─────────────────────────────────────────────────────────────────────────
   HERO — blanc, éditorial, trait rouge
   ───────────────────────────────────────────────────────────────────────── */
main { padding-block-start: var(--nav-h); }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Ligne rouge verticale décorative */
.hero::before {
  content: '';
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 1px;
  background: var(--hairline);
  pointer-events: none;
  z-index: 0;
}

/* Côté gauche — plus compact */
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-xl) var(--sp-lg) var(--sp-xl) var(--sp-lg);
  max-width: 580px;
  position: relative;
  z-index: 1;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--red-pale);
  border: 1px solid var(--red-border);
  color: var(--red);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-md);
  width: fit-content;
}
.hero__pill::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 50%;
}

.hero__title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: var(--sp-sm);
}
.hero__title em { font-style: italic; color: var(--red); }

/* Trait rouge sous le titre */
.hero__title-line {
  display: block;
  width: 36px; height: 2px;
  background: var(--red);
  border-radius: 2px;
  margin-block: var(--sp-xs) var(--sp-md);
}

.hero__sub {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--mid);
  max-width: 420px;
  margin-bottom: var(--sp-md);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  margin-bottom: var(--sp-lg);
}

/* Stats — plus resserrées */
.hero__stats {
  display: flex;
  gap: var(--sp-lg);
  padding-block-start: var(--sp-md);
  border-top: 1px solid var(--hairline);
}
.hero__stat-num {
  display: block;
  font-family: 'Lora', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.01em;
}
.hero__stat-num sup { font-size: 13px; color: var(--red); vertical-align: super; }
.hero__stat-label {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: .3px;
  text-transform: uppercase;
}

/* Côté droit */
.hero__visual {
  background: var(--bg-soft);
  border-left: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}
.hero__visual-inner {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-lg) var(--sp-lg) var(--sp-lg);
  gap: var(--sp-md);
  position: relative;
  z-index: 1;
}

/* Motif géométrique léger */
.hero__shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hero__shape--1 {
  width: 320px; height: 320px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  top: -100px; right: -100px;
}
.hero__shape--2 {
  width: 180px; height: 180px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  top: 30%; left: -50px;
}
.hero__shape--3 {
  width: 80px; height: 80px;
  background: var(--red-pale);
  border-radius: 50%;
  bottom: 200px; right: 64px;
}

/* Mini-cards blanches — Apple-style, sans ombre, hairline fine */
.hero__mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative; z-index: 1;
}
.hero__mini-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 16px;
  transition:
    border-color var(--t2) var(--ease),
    transform    var(--t2) var(--ease);
}
.hero__mini-card:hover {
  border-color: rgba(17, 24, 39, 0.15);
  transform: translateY(-1px);
}
.hero__mini-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--red-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  margin-bottom: 10px;
}
.hero__mini-icon svg { width: 15px; height: 15px; }
.hero__mini-card h3 {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.hero__mini-card p {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.4;
}

/* Citation — plus sobre */
.hero__quote {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--red);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 20px;
  position: relative; z-index: 1;
}
.hero__quote p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 13px;
  line-height: 1.6;
  color: var(--body);
}
.hero__quote cite {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-style: normal;
  margin-top: 8px;
  letter-spacing: .3px;
  text-transform: uppercase;
}


/* ─────────────────────────────────────────────────────────────────────────
   SECTION ABOUT
   ───────────────────────────────────────────────────────────────────────── */
.section-about { padding-block: var(--sp-xl); }
.section-about .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__img-wrap { position: relative; }
.about__img {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-mid);
}
.about__img img { width: 100%; height: 100%; object-fit: cover; }

/* Badge rouge flottant */
.about__badge {
  position: absolute;
  bottom: -18px; right: -18px;
  background: var(--red);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--r-lg);
  text-align: center;
  box-shadow: var(--shadow-red);
}
.about__badge-num {
  display: block;
  font-family: 'Lora', serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
}
.about__badge-num sup { font-size: 14px; }
.about__badge-label { display: block; font-size: 9.5px; opacity: .9; margin-top: 3px; letter-spacing: .4px; text-transform: uppercase; }
.about__content { padding-block-start: var(--sp-xs); }


/* ─────────────────────────────────────────────────────────────────────────
   SECTION SERVICES — fond très doux
   ───────────────────────────────────────────────────────────────────────── */
.section-services {
  padding-block: var(--sp-xl);
  background: var(--bg-soft);
}
.section-services__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--sp-md);
  margin-bottom: var(--sp-lg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.services-grid--3 { grid-template-columns: repeat(3, 1fr); }

.service-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--sp-md);
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--t2) var(--ease),
    box-shadow   var(--t2) var(--ease),
    transform    var(--t2) var(--ease-out);
}

/* Barre rouge gauche au hover */
.service-card::before {
  content: '';
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 3px;
  background: var(--red);
  border-radius: 0 2px 2px 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t2) var(--ease);
}
.service-card:hover {
  border-color: var(--red-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-card:hover::before { transform: scaleY(1); }

.service-card__icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--red-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  margin-bottom: var(--sp-sm);
  transition:
    background var(--t2) var(--ease),
    box-shadow var(--t2) var(--ease);
}
.service-card__icon svg { width: 18px; height: 18px; }
.service-card:hover .service-card__icon {
  background: var(--red);
  box-shadow: 0 3px 10px var(--red-glow);
}
.service-card:hover .service-card__icon svg { stroke: var(--white); }

.service-card__title { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.01em; }
.service-card__desc  { font-size: 12.5px; font-weight: 300; color: var(--mid); line-height: 1.6; margin-bottom: var(--sp-sm); }
.service-card__link  {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600; color: var(--red);
  letter-spacing: .3px;
  transition: gap var(--t1) var(--ease);
}
.service-card__link:hover { gap: 10px; }
.service-card__link svg { width: 10px; height: 10px; }


/* ─────────────────────────────────────────────────────────────────────────
   SECTION CHIFFRES — blanc, nombres rouges larges
   ───────────────────────────────────────────────────────────────────────── */
.section-numbers {
  padding-block: var(--sp-lg);
  background: var(--white);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.number-block {
  padding: var(--sp-md) var(--sp-sm);
  text-align: center;
  border-right: 1px solid var(--hairline);
}
.number-block:last-child { border-right: none; }

.number-block__num {
  display: block;
  font-family: 'Lora', serif;
  font-size: 38px;
  font-weight: 500;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.number-block__num span { font-size: 22px; }
.number-block__label {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* Barre rouge apparaissant au scroll */
.number-block::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--red);
  border-radius: 2px;
  margin: 0 auto var(--sp-sm);
  transform: scaleX(0);
  transition: transform .5s var(--ease-out);
}
.number-block.is-visible::before { transform: scaleX(1); }


/* ─────────────────────────────────────────────────────────────────────────
   SECTION ÉQUIPE
   ───────────────────────────────────────────────────────────────────────── */
.section-team { padding-block: var(--sp-2xl); }
.section-team__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
}
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.team-card {
  border-radius: var(--r-xl);
  border: 1px solid var(--hairline);
  overflow: hidden;
  background: var(--white);
  transition:
    box-shadow var(--t2) var(--ease),
    transform  var(--t2) var(--ease-out);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.team-card__photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-mid);
  position: relative;
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--team-photo-position, 50% 20%);
  transform: scale(var(--team-photo-zoom, 1.06));
  transform-origin: var(--team-photo-origin, 50% 20%);
  transition:
    transform .5s var(--ease),
    object-position .3s var(--ease);
}
.team-card:hover .team-card__photo img { transform: scale(var(--team-photo-zoom-hover, 1.1)); }
.team-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,.25) 0%, transparent 50%);
}
.team-card__body  { padding: 20px 22px 24px; }
.team-card__name  { font-size: 15.5px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.team-card__role  { font-size: 11px; font-weight: 600; color: var(--red); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 14px; }
.team-card__sep   { width: 24px; height: 1.5px; background: var(--hairline); margin-bottom: 14px; }
.team-card__bio   { font-size: 13px; font-weight: 300; color: var(--mid); line-height: 1.7; }


/* ─────────────────────────────────────────────────────────────────────────
   SECTION VALEURS
   ───────────────────────────────────────────────────────────────────────── */
.section-values { padding-block: var(--sp-2xl); background: var(--bg-soft); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: var(--sp-xl);
}
.value-item {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--sp-lg) var(--sp-md);
  transition:
    box-shadow var(--t2) var(--ease),
    transform  var(--t2) var(--ease-out);
}
.value-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.value-item__icon { width: 44px; height: 44px; background: var(--red-pale); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: var(--red); margin-bottom: var(--sp-sm); }
.value-item h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.value-item p  { font-size: 13.5px; font-weight: 300; color: var(--mid); line-height: 1.7; }


/* ─────────────────────────────────────────────────────────────────────────
   SECTION APPROCHE
   ───────────────────────────────────────────────────────────────────────── */
.section-approach { padding-block: var(--sp-2xl); }
.approach-steps {
  counter-reset: approach-step;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
  position: relative;
}
.approach-steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(10% + 16px);
  right: calc(10% + 16px);
  height: 1px;
  background: var(--hairline);
  z-index: 0;
}
.approach-step {
  counter-increment: approach-step;
  text-align: center;
}
.approach-step__dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, #7f2418 100%);
  border: 1px solid rgba(255,255,255,.72);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--white);
  letter-spacing: .04em;
  margin: 0 auto var(--sp-md);
  position: relative; z-index: 1;
  box-shadow: 0 10px 28px rgba(167, 59, 43, .18);
  transition:
    background    var(--t2) var(--ease),
    border-color  var(--t2) var(--ease),
    color         var(--t2) var(--ease),
    box-shadow    var(--t2) var(--ease),
    transform     var(--t2) var(--ease-out);
}
.approach-step__dot::before {
  content: counter(approach-step, decimal-leading-zero);
}
.approach-step__dot::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.28);
  pointer-events: none;
}
.approach-step:hover .approach-step__dot {
  background: linear-gradient(135deg, #7f2418 0%, var(--red) 100%);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(167, 59, 43, .26);
  transform: translateY(-2px);
}
.approach-step__title { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.approach-step__desc  { font-size: 12.5px; font-weight: 300; color: var(--muted); line-height: 1.65; }


/* ─────────────────────────────────────────────────────────────────────────
   SECTION CTA — fond rouge pur
   ───────────────────────────────────────────────────────────────────────── */
.section-cta {
  padding-block: var(--sp-2xl);
  background: var(--red);
  position: relative;
  overflow: hidden;
}

/* Motif sobre en filigrane */
.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Cercle décoratif */
.section-cta::after {
  content: '';
  position: absolute;
  right: -120px; top: 50%;
  transform: translateY(-50%);
  width: 440px; height: 440px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  pointer-events: none;
}

.section-cta .wrap {
  text-align: center;
  max-width: 680px;
  position: relative; z-index: 1;
}
.section-cta .h2 {
  color: var(--white);
  margin-bottom: var(--sp-sm);
}
.section-cta .h2 em { color: rgba(255,255,255,.72); font-style: italic; }
.section-cta .lead {
  color: rgba(255,255,255,.65);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: var(--sp-lg);
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}
/* Bouton blanc dans le CTA rouge */
.section-cta .btn--red {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 4px 18px rgba(0,0,0,.15);
}
.section-cta .btn--red:hover {
  background: rgba(255,255,255,.92);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
}
/* Bouton outline blanc dans CTA rouge */
.section-cta .btn--outline {
  color: rgba(255,255,255,.88);
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.06);
}
.section-cta .btn--outline:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.12);
}


/* ─────────────────────────────────────────────────────────────────────────
   PAGE HERO — pages internes (fond gris très doux)
   ───────────────────────────────────────────────────────────────────────── */
.page-hero {
  padding: var(--sp-lg) 0 var(--sp-xl);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--hairline);
}
.page-hero .tag  { margin-bottom: var(--sp-sm); }
.page-hero .h1   { margin-bottom: var(--sp-sm); }
.page-hero .lead { max-width: 640px; }


/* ─────────────────────────────────────────────────────────────────────────
   SECTION CONTACT
   ───────────────────────────────────────────────────────────────────────── */
.section-contact { padding-block: var(--sp-2xl); }
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 80px;
  align-items: start;
}
.contact-intro .h2   { margin-block: var(--sp-xs) var(--sp-sm); }
.contact-intro .lead { margin-bottom: var(--sp-xl); }

.contact-items { display: flex; flex-direction: column; gap: var(--sp-md); }
.contact-item  {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding: 0 0 var(--sp-md);
  border-bottom: 1px solid var(--hairline);
}
.contact-item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-item__icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--red-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 900;
  box-shadow: none;
}
.contact-item--email .contact-item__icon { background: #F3E8FF; color: #7C3AED; }
.contact-item--phone .contact-item__icon { background: #ECFDF5; color: #0F766E; }
.contact-item--hours .contact-item__icon { background: #FFF7ED; color: #B45309; }
.contact-item__label {
  display: block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.contact-item__value { font-size: 14.5px; font-weight: 400; color: var(--body); line-height: 1.6; }
.contact-item__value a { transition: color var(--t1); }
.contact-item__value a:hover { color: var(--red); }

/* Formulaire */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: 44px 48px;
  box-shadow: var(--shadow-md);
}
.contact-form-card__title { font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.contact-form-card__sub   { font-size: 13.5px; font-weight: 300; color: var(--muted); margin-bottom: var(--sp-lg); }

#candidature-spontanee .contact-wrap {
  max-width: 980px;
  grid-template-columns: minmax(260px, .85fr) minmax(420px, 1fr);
  gap: 48px;
}
#candidature-spontanee .contact-intro .lead {
  margin-bottom: 0;
}
#candidature-spontanee .contact-form-card {
  padding: 30px 34px;
  box-shadow: var(--shadow-sm);
}
#candidature-spontanee .field {
  margin-bottom: 14px;
}
#candidature-spontanee .field input,
#candidature-spontanee .field select,
#candidature-spontanee .field textarea {
  padding: 10px 12px;
}
#candidature-spontanee .field textarea {
  height: 96px;
}

.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: var(--sp-sm); }
.field label { font-size: 12px; font-weight: 500; color: var(--body); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--hairline);
  border-radius: var(--r-md);
  font-size: 14px; font-weight: 300;
  color: var(--ink);
  background: var(--white);
  outline: none;
  appearance: none;
  transition:
    border-color var(--t1) var(--ease),
    box-shadow   var(--t1) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,39,45,.08);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field textarea { height: 115px; resize: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-sm); }

.form-submit {
  width: 100%;
  margin-top: var(--sp-xs);
  padding: 14px;
  font-size: 14.5px; font-weight: 500;
  color: var(--white);
  background: var(--red);
  border: none;
  border-radius: var(--r-md);
  transition:
    background var(--t1) var(--ease),
    transform  var(--t1) var(--ease),
    box-shadow var(--t1) var(--ease);
}
.form-submit:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: var(--shadow-red); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.form-feedback { padding: 13px 16px; border-radius: var(--r-md); font-size: 13.5px; margin-bottom: var(--sp-sm); }
.form-feedback--ok  { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.form-feedback--err { background: var(--red-pale); color: var(--red); border: 1px solid var(--red-border); }

.submission-popup {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  gap: 4px;
  max-width: 340px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .16);
}

.submission-popup strong { font-size: 15px; }
.submission-popup span { font-size: 13px; line-height: 1.45; }


/* ─────────────────────────────────────────────────────────────────────────
   SECTION DÉTAIL SERVICE
   ───────────────────────────────────────────────────────────────────────── */
.section-service-detail { padding-block: var(--sp-2xl); }
.service-detail-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.service-detail-img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5/6; }
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-cta { display: flex; gap: var(--sp-sm); flex-wrap: wrap; margin-top: var(--sp-lg); }

/* Sous-titre h3 dans le contenu service */
.service-detail-subtitle {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-block: var(--sp-lg) var(--sp-sm);
}

.section-other-services { padding-block: var(--sp-2xl); background: var(--bg-soft); }
.section-other-services .h2 { margin-block: var(--sp-xs) var(--sp-lg); }


/* ─────────────────────────────────────────────────────────────────────────
   PAGES LÉGALES (mentions-légales, politique-cookies)
   ───────────────────────────────────────────────────────────────────────── */
.section-legal { padding-block: var(--sp-2xl); }
.section-legal h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-block: var(--sp-lg) var(--sp-sm);
  padding-block-start: var(--sp-lg);
  border-top: 1px solid var(--hairline);
}
.section-legal h2:first-of-type { border-top: none; padding-block-start: 0; margin-block-start: 0; }
.section-legal p { margin-block-end: var(--sp-sm); font-size: 15px; font-weight: 300; line-height: 1.8; color: var(--body); }
.section-legal ul { margin-block: var(--sp-sm); padding-inline-start: var(--sp-md); display: flex; flex-direction: column; gap: 8px; }
.section-legal ul li { font-size: 14.5px; font-weight: 300; color: var(--body); line-height: 1.7; list-style: disc; }
.section-legal a { color: var(--red); }
.section-legal a:hover { text-decoration: underline; }
.section-legal table { width: 100%; border-collapse: collapse; margin-block: var(--sp-md); font-size: 14px; }
.section-legal table th { background: var(--bg-soft); font-weight: 600; color: var(--ink); padding: 10px 14px; text-align: left; border: 1px solid var(--hairline); }
.section-legal table td { padding: 10px 14px; border: 1px solid var(--hairline); font-weight: 300; color: var(--body); vertical-align: top; }


/* ─────────────────────────────────────────────────────────────────────────
   FOOTER — anthracite (seul élément sombre, standard)
   ───────────────────────────────────────────────────────────────────────── */
.site-footer { background: var(--footer-bg); color: var(--footer-txt); }
.footer-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: var(--sp-xl) var(--sp-lg) 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-xl);
  padding-block-end: var(--sp-xl);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .logo-mark {
  width: 38px; height: 38px;
  background: var(--red);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 700; color: var(--white);
}
.footer-brand-name { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.88); letter-spacing: .5px; }
.footer-brand p    { font-size: 13px; font-weight: 300; line-height: 1.85; color: rgba(255,255,255,.32); max-width: 280px; }
.footer-brand address { font-size: 12.5px; line-height: 1.8; color: rgba(255,255,255,.28); }
.footer-brand address a { color: inherit; transition: color var(--t1); }
.footer-brand address a:hover { color: rgba(255,255,255,.75); }

.footer-heading {
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.24); margin-bottom: var(--sp-sm);
}
.footer-col ul  { display: flex; flex-direction: column; gap: 10px; }
.footer-col a   { font-size: 13.5px; font-weight: 300; color: rgba(255,255,255,.45); transition: color var(--t1); }
.footer-col a:hover { color: rgba(255,255,255,.88); }
.footer-hours { font-size: 12px; color: rgba(255,255,255,.24); margin-top: var(--sp-sm); line-height: 1.8; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--sp-sm); flex-wrap: wrap;
  padding-block: var(--sp-md);
  font-size: 12px; color: rgba(255,255,255,.22);
}
.footer-bottom nav { display: flex; align-items: center; gap: var(--sp-sm); }
.footer-bottom a   { color: rgba(255,255,255,.22); transition: color var(--t1); }
.footer-bottom a:hover { color: rgba(255,255,255,.6); }
.footer-bottom span { opacity: .4; }
.footer-cookie-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.22);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: color var(--t1);
}
.footer-cookie-btn:hover { color: rgba(255,255,255,.6); }


/* ─────────────────────────────────────────────────────────────────────────
   ANIMATIONS
   ───────────────────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__content > * {
  opacity: 0;
  animation: fadeUp .6s var(--ease-out) forwards;
}
.hero__content > *:nth-child(1) { animation-delay: .05s; }
.hero__content > *:nth-child(2) { animation-delay: .14s; }
.hero__content > *:nth-child(3) { animation-delay: .23s; }
.hero__content > *:nth-child(4) { animation-delay: .33s; }
.hero__content > *:nth-child(5) { animation-delay: .44s; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity   .55s var(--ease-out),
    transform .55s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — 4 breakpoints propres
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── ≤ 1200px : Large ─────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  :root {
    --sp-2xl: 80px;
    --sp-3xl: 100px;
  }

  .wrap,
  .nav,
  .footer-inner { padding-inline: var(--sp-md); }

  .hero__content { padding-inline-end: var(--sp-md); }

  /* Nav : cacher sous-titre logo pour gagner de la place */
  .nav__logo-sub { display: none; }
  .nav__logo { margin-inline-end: var(--sp-xs); }

  /* Approche : 5 col → 3 */
  .approach-steps { grid-template-columns: repeat(3, 1fr); }
  .approach-steps::before { display: none; }
}

/* ── ≤ 1000px : Nav burger (8 liens courts → burger dès qu'on n'a plus la place) */
@media (max-width: 1000px) {
  .nav__links  { display: none; }
  .nav__cta    { display: none; }
  .nav__burger { display: flex; }
  .nav__drawer { display: flex; }
}

/* ── ≤ 1024px : Tablette ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --sp-2xl: 72px;
    --sp-xl:  48px;
  }

  /* ─ Hero ─ */
  .hero                  { grid-template-columns: 1fr; min-height: auto; }
  .hero__content         { padding: var(--sp-xl) var(--sp-md); max-width: 100%; }
  .hero::before          { display: none; }    /* supprime la ligne verticale centrale */

  /* Visual mobile : on masque les formes décoratives + mini-cards, on garde uniquement les avis */
  .hero__visual          { display: block; padding: 0 var(--sp-md) var(--sp-xl); }
  .hero__shape           { display: none; }
  .hero__visual-inner    { padding: 0; background: transparent; box-shadow: none; }
  .hero__visual-inner::after { display: none; }
  .hero__mini-grid       { display: none; }
  .hero__quote           { display: none; }
  .hero__reviews         { margin-top: 0; }

  /* ─ About ─ */
  .section-about .wrap   { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .about__img-wrap       { max-width: 520px; }
  .about__badge          { bottom: -14px; right: -12px; }

  /* ─ Services ─ */
  .services-grid--3      { grid-template-columns: repeat(2, 1fr); }
  .section-services__header,
  .section-team__header  { flex-direction: column; align-items: flex-start; }

  /* ─ Chiffres : 4 → 2×2 ─ */
  .numbers-grid          { grid-template-columns: repeat(2, 1fr); }
  .number-block:nth-child(2)            { border-right: none; }
  .number-block:nth-child(1),
  .number-block:nth-child(2)            { border-bottom: 1px solid var(--hairline); }

  /* ─ Équipe & valeurs : 4 → 2 ─ */
  .team-grid             { grid-template-columns: repeat(2, 1fr); }
  .values-grid           { grid-template-columns: repeat(2, 1fr); }

  /* ─ Approche : reste 3 col ─ */

  /* ─ Service détail : 2 col → 1 col, image en premier ─ */
  .service-detail-wrap   { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .service-detail-img    { max-width: 500px; order: -1; }

  /* ─ Contact : 2 col → 1 col ─ */
  .contact-wrap          { grid-template-columns: 1fr; gap: var(--sp-xl); }
  #candidature-spontanee .contact-wrap {
    max-width: 680px;
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  /* ─ Footer : 4 col → 2×2 ─ */
  .footer-top            { grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
}

/* ── ≤ 768px : Mobile ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --sp-xl:  40px;
    --sp-2xl: 56px;
    --nav-h:  64px;
  }

  /* ─ Nav mobile ─ */
  .nav         { padding-inline: var(--sp-sm); }

  /* ─ Hero ─ */
  .hero__content  { padding: var(--sp-xl) var(--sp-sm); }
  .hero__actions  { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; width: 100%; }
  .hero__stats    { gap: var(--sp-lg); }
  .hero__stat-num { font-size: 28px; }

  /* ─ About ─ */
  .section-about .wrap { gap: var(--sp-lg); }
  .about__img-wrap     { max-width: 100%; }
  .about__badge        { padding: 14px 18px; }
  .about__badge-num    { font-size: 30px; }

  /* ─ Services : 2 col → 1 col ─ */
  .services-grid,
  .services-grid--3    { grid-template-columns: 1fr; }

  /* ─ Chiffres : reste 2 col ─ */
  .numbers-grid        { grid-template-columns: 1fr 1fr; }
  .number-block__num   { font-size: 40px; }

  /* ─ Équipe : reste 2 col ─ */
  .team-grid           { grid-template-columns: repeat(2, 1fr); gap: var(--sp-sm); }

  /* ─ Valeurs : reste 2 col ─ */
  .values-grid         { grid-template-columns: 1fr 1fr; gap: var(--sp-sm); }

  /* ─ Approche : 3 → 2 col ─ */
  .approach-steps      { grid-template-columns: repeat(2, 1fr); }

  /* ─ Service détail ─ */
  .service-detail-img  { max-width: 100%; }
  .service-detail-cta  { flex-direction: column; }
  .service-detail-cta .btn { justify-content: center; }

  /* ─ Contact ─ */
  .contact-form-card   { padding: var(--sp-md); }
  #candidature-spontanee .contact-form-card { padding: 24px; }
  .field-row           { grid-template-columns: 1fr; }
  .contact-items       { gap: var(--sp-sm); }

  /* ─ CTA ─ */
  .cta-actions         { flex-direction: column; align-items: center; }
  .cta-actions .btn    { width: 100%; max-width: 360px; justify-content: center; }

  /* ─ Footer : 2×2 → 1 col ─ */
  .footer-top          { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .footer-bottom       { flex-direction: column; text-align: center; gap: var(--sp-xs); }
  .footer-bottom nav   { justify-content: center; }
}

/* ── ≤ 480px : Petit mobile ───────────────────────────────────────────── */
@media (max-width: 480px) {
  :root {
    --sp-xl:  28px;
    --sp-2xl: 48px;
  }

  .wrap        { padding-inline: var(--sp-sm); }
  .nav         { padding-inline: var(--sp-xs); }
  .nav__logo-sub { display: none; }

  /* ─ Hero ─ */
  .hero__title  { font-size: 34px; }
  .hero__sub    { font-size: 14.5px; }
  .hero__stats  { flex-direction: column; gap: var(--sp-sm); }
  .hero__stat-num { font-size: 30px; }

  /* ─ About badge ─ */
  .about__badge { bottom: var(--sp-sm); right: var(--sp-sm); padding: 12px 16px; }
  .about__badge-num { font-size: 26px; }

  /* ─ Services : déjà 1 col ─ */

  /* ─ Chiffres : 2 col → 1 col ─ */
  .numbers-grid { grid-template-columns: 1fr; }
  .number-block {
    border-right: none;
    border-bottom: 1px solid var(--hairline);
  }
  .number-block:last-child { border-bottom: none; }
  /* reset du nth-child tablette */
  .number-block:nth-child(1),
  .number-block:nth-child(2) { border-bottom: 1px solid var(--hairline); }

  /* ─ Équipe : 2 col → 1 col ─ */
  .team-grid   {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-inline: auto;
  }

  /* ─ Valeurs : 2 col → 1 col ─ */
  .values-grid { grid-template-columns: 1fr; }

  /* ─ Approche : 2 col → 1 col ─ */
  .approach-steps { grid-template-columns: 1fr; }

  /* ─ Contact form ─ */
  .contact-form-card { padding: var(--sp-sm); }

  /* ─ Légal ─ */
  .section-legal h2 { font-size: 18px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   COOKIE BANNER RGPD
   ═══════════════════════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--footer-bg);
  color: rgba(255,255,255,.8);
  border-top: 1px solid rgba(255,255,255,.08);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 240px;
}
.cookie-banner__text strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 4px;
}
.cookie-banner__text p {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.cookie-btn--accept {
  background: var(--red);
  color: #fff;
}
.cookie-btn--accept:hover { background: var(--red-dark); }

.cookie-btn--outline {
  background: transparent;
  color: rgba(255,255,255,.7);
  border-color: rgba(255,255,255,.2);
}
.cookie-btn--outline:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.cookie-banner__link {
  font-size: 12px;
  color: rgba(255,255,255,.35);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--ease);
  align-self: center;
}
.cookie-banner__link:hover { color: rgba(255,255,255,.7); }

@media (max-width: 600px) {
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RECRUTEMENT
   ═══════════════════════════════════════════════════════════════════════════ */
.section-recrutement { padding: var(--sp-xl) 0; }
.section-why-join    { background: var(--bg-soft); padding: var(--sp-xl) 0; }

.offres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.offre-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  transition: box-shadow var(--ease), transform var(--ease);
}
.offre-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.badge-offre {
  display: inline-block;
  background: var(--red-pale);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.offre-card__titre {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.offre-card__lieu {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--mid);
}

.offre-card__body p { font-size: 14px; color: var(--body); line-height: 1.65; }

.offre-detail summary {
  cursor: pointer;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
  list-style: none;
}
.offre-detail summary::-webkit-details-marker { display: none; }
.offre-detail[open] summary { margin-bottom: 8px; }
.offre-detail__body {
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.7;
  white-space: pre-wrap;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: 14px;
}

.offre-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.offre-date { font-size: 12px; color: var(--muted); }

.recrutement-empty {
  text-align: center;
  max-width: 520px;
  margin: 40px auto 0;
  padding: 40px;
  background: var(--bg-soft);
  border-radius: var(--r-xl);
}
.recrutement-empty p { color: var(--body); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════════════════
   OFFRES D'EMPLOI — HOMEPAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.section-offers {
  padding: var(--sp-2xl) 0;
  background: var(--bg-soft);
}

.section-offers__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
  flex-wrap: wrap;
}
.section-offers__header .btn {
  flex-shrink: 0;
  align-self: flex-end;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.offer-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease), transform var(--ease);
}
.offer-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.offer-card__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offer-card__badge-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.offer-card__badge {
  display: inline-block;
  background: #F0FDF4;
  color: #16A34A;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.offer-card__type {
  display: inline-block;
  background: var(--red-pale);
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.offer-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}

.offer-card__desc {
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.65;
  flex: 1;
}

.offer-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  margin-top: auto;
  transition: gap var(--ease);
}
.offer-card__link:hover { gap: 8px; }
.offer-card__link svg { flex-shrink: 0; }

.offers-footer {
  text-align: center;
  margin-top: var(--sp-xl);
}

@media (max-width: 768px) {
  .section-offers__header { flex-direction: column; }
  .section-offers__header .btn { align-self: flex-start; }
  .offers-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE — raffinements additionnels
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Drawer mobile : padding & typographie */
  .nav__drawer {
    padding: 16px 20px 24px;
    gap: 2px;
  }
  .nav__drawer-link {
    padding: 14px 12px;
    font-size: 15px;
    border-bottom: 1px solid var(--hairline);
  }
  .nav__drawer-link:last-of-type { border-bottom: none; }
  .nav__drawer-cta {
    margin-top: 16px;
    padding: 14px;
    justify-content: center;
  }

  /* Cards & padding globaux */
  .wrap { padding-inline: var(--sp-sm); }
  .tag  { font-size: 10px; }

  /* Boutons mobiles : full width dans les CTA */
  .btn--lg { padding: 14px 22px; font-size: 14px; }

  /* Hero mini-cards (si présent) */
  .hero__mini-grid { grid-template-columns: 1fr; gap: 10px; }

  /* Cartes offres : padding réduit */
  .offre-card, .offer-card { padding: 18px; }

  /* Images service détail */
  .service-detail-img img { width: 100%; height: auto; }

  /* Forms : inputs confort tactile */
  input, select, textarea { font-size: 16px !important; } /* évite le zoom iOS */
}

@media (max-width: 480px) {
  /* Logo nav : ultra compact */
  .nav__logo-name { font-size: 13px; }
  .nav__logo-img  { width: 32px; height: 32px; }

  /* Hero : typo adaptée */
  .h1 { font-size: clamp(24px, 7.5vw, 32px); }
  .h2 { font-size: clamp(20px, 6.5vw, 26px); }
  .lead { font-size: 14px; }

  /* Number blocks compact */
  .number-block__num { font-size: 32px; }
  .number-block      { padding: var(--sp-md) var(--sp-sm); }

  /* Valeurs / approche */
  .value-item { padding: var(--sp-sm); }
  .approach-step__dot { width: 38px; height: 38px; font-size: 11px; }

  /* Footer : bottom nav petite */
  .footer-bottom { font-size: 11px; }
  .footer-bottom nav { gap: var(--sp-xs); flex-wrap: wrap; justify-content: center; }

  /* Cookie banner */
  .cookie-banner__inner { padding: 12px 16px; }
  .cookie-btn { padding: 10px 14px; font-size: 12.5px; }

  /* Team card compacts */
  .team-card__body { padding: 14px; }
  .team-card__name { font-size: 15px; }
  .team-card__role { font-size: 12.5px; }
}

/* Très petits écrans (iPhone SE etc) */
@media (max-width: 360px) {
  :root { --sp-sm: 10px; --sp-md: 14px; }
  .nav__logo-text { display: none; }
  .h1 { font-size: 22px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO — AVIS CLIENTS (carrousel)
   ═══════════════════════════════════════════════════════════════════════════ */
.hero__reviews {
  margin-top: var(--sp-md);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 18px 20px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
  position: relative;
  overflow: hidden;
}

.hero__reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}
.hero__reviews-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mid);
}
.hero__reviews-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  background: var(--red-pale);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.hero__reviews-track {
  position: relative;
  min-height: 130px;
}

.hero-review {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
  pointer-events: none;
}
.hero-review.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
}

.hero-review__stars {
  display: inline-flex;
  gap: 2px;
}

.hero-review__text {
  font-family: 'Lora', serif;
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

.hero-review__author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}
.hero-review__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.hero-review__name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.hero-review__role {
  display: block;
  font-size: 11.5px;
  color: var(--mid);
  margin-top: 1px;
}

.hero__reviews-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.hero__reviews-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: var(--hairline);
  cursor: pointer;
  padding: 0;
  transition: background var(--ease), transform var(--ease);
}
.hero__reviews-dot:hover { background: var(--mid); }
.hero__reviews-dot.is-active {
  background: var(--red);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .hero__reviews { padding: 14px 16px 12px; }
  .hero-review__text { font-size: 13.5px; }
}

/* ─── Hero reviews : flèches navigation ─────────────────────────────────── */
.hero__reviews-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
}
.hero__reviews-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  flex-shrink: 0;
  padding: 0;
  box-shadow: 0 2px 8px rgba(179, 50, 27, .25);
}
.hero__reviews-arrow:hover {
  background: var(--red-dark);
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(179, 50, 27, .4);
}
.hero__reviews-arrow:active { transform: scale(.96); }
.hero__reviews-arrow svg { display: block; width: 16px; height: 16px; stroke-width: 2.5; }

.hero__reviews-dots {
  margin-top: 0;
  flex: 1;
  justify-content: center;
}
.hero__reviews-dot {
  width: 7px;
  height: 7px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE — refonte complète des modules
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── ≤ 768px ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Hero stats : 3 colonnes compactes */
  .hero__stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    flex-direction: row !important;
    gap: var(--sp-sm) !important;
    padding-top: var(--sp-md);
    border-top: 1px solid var(--hairline);
    margin-top: var(--sp-md);
  }
  .hero__stats > div {
    text-align: center;
    padding: 0 4px;
  }
  .hero__stat-num {
    font-size: 22px !important;
    display: block;
  }
  .hero__stat-label {
    font-size: 10.5px;
    line-height: 1.3;
    color: var(--mid);
    display: block;
    margin-top: 2px;
  }

  /* Number blocks (section chiffres clés) */
  .numbers-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px;
  }
  .number-block {
    padding: var(--sp-sm) 4px !important;
    border-right: 1px solid var(--hairline);
    border-bottom: none !important;
    text-align: center;
  }
  .number-block:last-child { border-right: none; }
  .number-block:nth-child(1),
  .number-block:nth-child(2),
  .number-block:nth-child(3) { border-bottom: none !important; }
  .number-block__num {
    font-size: 24px !important;
    font-weight: 700;
  }
  .number-block__label,
  .number-block__title {
    font-size: 10.5px !important;
    line-height: 1.3;
  }
  .number-block__desc {
    display: none;
  }
}

/* ── ≤ 480px ──────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero__stats { padding-top: var(--sp-sm); margin-top: var(--sp-sm); gap: 6px !important; }
  .hero__stat-num { font-size: 19px !important; }
  .hero__stat-label { font-size: 9.5px; letter-spacing: 0; }

  .numbers-grid { gap: 2px; }
  .number-block { padding: 10px 2px !important; }
  .number-block__num { font-size: 20px !important; }
  .number-block__label, .number-block__title { font-size: 9.5px !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RECRUTEMENT — mobile
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .offres-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
    margin-top: 24px;
  }
  .offre-card {
    padding: 18px !important;
    gap: 12px;
    border-radius: var(--r-md);
  }
  .offre-card__titre { font-size: 16px !important; }
  .offre-card__lieu  { font-size: 12.5px; }
  .offre-card__body p { font-size: 13.5px; }
  .badge-offre { font-size: 10px; padding: 2px 8px; }

  .offre-detail summary { font-size: 12.5px; }
  .offre-detail__body  { font-size: 12.5px; padding: 12px; }
  .offre-card__foot    {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .offre-card__foot .btn { width: 100%; justify-content: center; }
  .offre-date { text-align: center; }

  .recrutement-empty { padding: 24px 16px; margin: 24px auto 0; }
  .section-recrutement { padding: var(--sp-lg) 0; }
  .section-why-join    { padding: var(--sp-lg) 0; }
}

@media (max-width: 480px) {
  .offre-card { padding: 14px !important; }
  .offre-card__titre { font-size: 15px !important; }
  .recrutement-empty { padding: 18px 12px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   ACCESSIBILITÉ (Palier 3)
═════════════════════════════════════════════════════════════════════════════ */

/* Focus visible (clavier uniquement) — outline rouge cohérent avec la marque */
:focus-visible {
  outline: 2px solid #C8102E;
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #C8102E;
  outline-offset: 2px;
}

/* Skip link — accessible au clavier */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #C8102E;
  color: #fff;
  padding: 8px 14px;
  text-decoration: none;
  z-index: 10000;
  border-radius: 0 0 4px 0;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* Réduction des animations pour les utilisateurs sensibles */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-review { transition: opacity 0.2s linear !important; transform: none !important; }
}

/* sr-only (texte visible uniquement aux lecteurs d'écran) */
.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;
}

/* ── Candidature : input file + liste fichiers ──────────────────────────── */
.field-hint { font-size: 12px; color: #6B7280; font-weight: 400; }
.files-list { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.files-list__item { display: flex; justify-content: space-between; align-items: center;
  background: #F9FAFB; border: 1px solid #E5E7EB; border-radius: 8px;
  padding: 8px 12px; font-size: 13px; }
.files-list__size { color: #6B7280; font-size: 12px; }
.files-list__err  { color: #C8102E; font-size: 12px; font-weight: 600; }
input[type="file"] { padding: 8px 0; font-size: 13px; }

/* ── Back-to-top ─────────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed; right: 20px; bottom: 20px;
  width: 44px; height: 44px;
  background: #C8102E; color: #fff;
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(200,16,46,0.35);
  cursor: pointer; opacity: 0; transform: translateY(10px);
  transition: opacity .25s, transform .25s, background .2s;
  z-index: 900;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: #A50E27; transform: translateY(-2px); }
@media (max-width: 768px) {
  .back-to-top { right: 14px; bottom: 14px; width: 40px; height: 40px; }
}

/* ── Page d'erreur (404 / 500) ──────────────────────────────────────────── */
.error-page { padding: 100px 0 80px; min-height: 70vh; display: flex; align-items: center; }
.error-page__inner { text-align: center; max-width: 720px; margin: 0 auto; }
.error-page__code {
    font-family: 'Lora', serif; font-size: clamp(120px, 18vw, 220px);
    font-weight: 500; line-height: 1; color: #C8102E; margin-bottom: 0;
    letter-spacing: -.04em;
}
.error-page__title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; color: #0B1220; }
.error-page__lead  { font-size: 17px; color: #6B7280; margin-bottom: 32px; line-height: 1.55; }
.error-page__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.error-page__suggest { padding-top: 28px; border-top: 1px solid #E5E7EB; }
.error-page__suggest p { color: #6B7280; font-size: 14px; margin-bottom: 12px; }
.error-page__suggest ul { list-style: none; padding: 0; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.error-page__suggest a { color: #0B1220; text-decoration: none; font-weight: 500; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.error-page__suggest a:hover { border-bottom-color: #C8102E; color: #C8102E; }

/* ── Carte contact ──────────────────────────────────────────────────────── */
.contact-map { padding-top: 40px; padding-bottom: 0; background: #F9FAFB; }
.contact-map__head { text-align: center; padding: 48px 20px 32px; }
.contact-map__head .lead { color: #6B7280; margin-bottom: 18px; }
.contact-map__head .btn { display: inline-flex; align-items: center; gap: 8px; }
.contact-map__frame {
    position: relative; overflow: hidden;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.contact-map__frame iframe { filter: grayscale(0.15) contrast(1.05); }
@media (max-width: 768px) {
    .contact-map__head { padding: 32px 16px 24px; }
    .contact-map__frame iframe { height: 320px; }
}

/* Images inserees depuis le CMS */
.content-image {
    max-width: 960px;
    margin: 42px auto;
    padding: 0 20px;
}
.content-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .12);
}
.content-image figcaption {
    margin-top: 10px;
    color: #6B7280;
    font-size: 13px;
    text-align: center;
}

/* Avis rendus dynamiquement depuis le CMS */
.section-reviews {
    padding: 84px 0;
    background: #F9FAFB;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 34px;
}
.review-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 14px 40px rgba(15,23,42,.08);
}
.review-card__stars {
    color: #F59E0B;
    letter-spacing: 2px;
    margin-bottom: 14px;
}
.review-card p {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 18px;
}
.review-card__author strong,
.review-card__author span {
    display: block;
}
.review-card__author span {
    color: #6B7280;
    font-size: 13px;
    margin-top: 3px;
}

/* Blocs CMS Laravel */
.cms-hero,
.cms-section {
    padding: 84px 0;
}
.cms-hero {
    background: linear-gradient(135deg, #fff 0%, #F9FAFB 100%);
    padding-top: 130px;
}
.cms-hero__inner,
.cms-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
.cms-hero__content,
.cms-text {
    max-width: 820px;
}
.cms-hero__image img,
.cms-split__image img,
.cms-card img {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}
.cms-hero__image img,
.cms-split__image img {
    aspect-ratio: 4 / 3;
    box-shadow: 0 20px 60px rgba(15,23,42,.13);
}
.cms-split.is-reversed .cms-split__image {
    order: 2;
}
.cms-richtext {
    color: #4B5563;
    line-height: 1.75;
    font-size: 16px;
}
.cms-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 32px;
}
.cms-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 12px 36px rgba(15,23,42,.07);
}
.cms-card img {
    aspect-ratio: 16 / 10;
    margin-bottom: 16px;
}
.cms-card h3 {
    margin-bottom: 8px;
}
.cms-card p {
    color: #6B7280;
    line-height: 1.6;
}
@media (max-width: 900px) {
    .cms-hero__inner,
    .cms-split {
        grid-template-columns: 1fr;
    }
    .cms-split.is-reversed .cms-split__image {
        order: 0;
    }
}

.maintenance-public {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
    background:
        radial-gradient(circle at 15% 20%, rgba(179,50,27,.08), transparent 28%),
        linear-gradient(135deg, #FFFFFF 0%, #F7F8FA 100%);
}

.maintenance-public__card {
    width: min(620px, 100%);
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: clamp(32px, 6vw, 58px);
    text-align: center;
    background: rgba(255,255,255,.92);
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(15,23,42,.12);
}

.maintenance-public__card h1 {
    color: #111827;
    font-family: Georgia, Cambria, "Times New Roman", serif;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1;
    letter-spacing: 0;
}

.maintenance-public__card p {
    max-width: 500px;
    color: #6B7280;
    font-size: 17px;
    line-height: 1.7;
}

.maintenance-public__contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.maintenance-public__contact a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #E5E7EB;
    border-radius: 999px;
    color: #111827;
    background: #fff;
    font-weight: 800;
}
