:root {
  --dark: #31362e;
  --dark-2: #252a20;
  --dark-3: #1a1e16;
  --light: #f2f2f2;
  --light-2: #e4e4e4;
  --accent: #C5F135;
  --accent-dark: #a8d120;
  --gray: #7a8075;
  --gray-light: #b0b5aa;
  --border: rgba(242,242,242,0.08);
  --border-dark: rgba(49,54,46,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

/* Symbole déposé ® en exposant, après « Rhiino » (marque). */
.brand-r { font-size: 0.78em; vertical-align: 0.32em; line-height: 0; margin-left: -0.02em; font-weight: inherit; }

/* ── Home : section « Actualités » (blog) ── */
#actus, #realisations-home { background: var(--light); padding: 90px 0; }
.actus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 42px; }
.actu-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-dark); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--dark); transition: transform .2s ease, box-shadow .2s ease; }
.actu-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(49,54,46,0.12); }
.actu-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--light-2); }
.actu-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.actu-cover-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--dark), var(--dark-3)); }
.actu-cover-fallback span { font-family: var(--font-head); font-weight: 700; color: #fff; opacity: .85; }
.actu-badge { position: absolute; top: 12px; left: 12px; background: rgba(26,30,22,0.82); color: var(--light); font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 100px; backdrop-filter: blur(4px); }
.actu-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.actu-body h3 { font-family: var(--font-head); font-size: 1.12rem; line-height: 1.25; letter-spacing: -0.01em; }
.actu-meta { color: var(--gray); font-size: .82rem; margin-top: auto; }
.actus-more { margin-top: 40px; text-align: center; }
/* #actus est sur fond clair : .btn-secondary (texte clair, pour fond sombre) y serait invisible. */
.actus-more .btn-secondary { color: var(--dark); border-color: rgba(20,20,20,0.18); }
.actus-more .btn-secondary:hover { border-color: rgba(20,20,20,0.42); background: rgba(20,20,20,0.03); }
@media (max-width: 900px) { .actus-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .actus-grid { grid-template-columns: 1fr; } }

a { text-decoration: none; }
p a, li a:not(.btn-nav):not(.footer-links a):not(.footer-copy a):not(.footer-logo):not(.nav-logo) {
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
}
p a:hover { color: #5a7c0e; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--light);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .3s ease, border-color .3s ease,
              box-shadow .3s ease, height .3s ease;
}

/* État scrollé : fond translucide flouté + relief */
nav.nav-scrolled {
  height: 62px;
  background: rgba(20, 24, 16, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(197, 241, 53, 0.12);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.32);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  transition: opacity .2s;
}
.nav-logo:hover { opacity: 0.82; }
.nav-logo img {
  width: 173px;
  height: auto;
  transition: width .3s ease;
}
nav.nav-scrolled .nav-logo img { width: 158px; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  position: relative;
  color: var(--gray-light);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color .2s;
}

/* Soulignement animé accent au survol */
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}

.nav-links a:hover { color: var(--light); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-demos, li:has(> .nav-demos) { display: none !important; }
/* .nav-demos {
  color: var(--accent) !important;
  display: inline-flex; align-items: center; gap: 5px;
  font-weight: 500 !important;
}
.nav-demos:hover { color: var(--accent-dark) !important; }
.nav-demos svg { flex-shrink: 0; } */

.btn-nav {
  background: var(--accent);
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 0 rgba(197, 241, 53, 0);
  transition: background .2s, transform .15s, box-shadow .25s;
}

.btn-nav:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(197, 241, 53, 0.32);
}
.btn-nav:active { transform: translateY(0); }

/* Bouton Contact (header) — style « ghost » à côté de Démarrer */
.btn-nav-contact {
  background: transparent;
  color: var(--light);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.01em;
  margin: 0 10px 0 auto;   /* auto à gauche : groupe Contact + Démarrer à droite du header */
  transition: border-color .2s, color .2s, background .2s;
}
.btn-nav-contact:hover { border-color: var(--accent); color: var(--accent); }
.nav-li-contact { display: none; } /* visible uniquement dans le menu déroulant mobile */

/* Bouton Démarrer animé : battement de cœur (2×) + écho toutes les 5 s, flèche qui pousse en boucle */
@media (prefers-reduced-motion: no-preference) {
  .btn-nav-pulse { position: relative; animation: btnBeat 5s ease-in-out infinite; }
  .btn-nav-pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(197, 241, 53, 0.55);
    animation: btnEcho 5s ease-out infinite;
    pointer-events: none;
  }
  /* on fige l'animation au survol pour laisser place au feedback de hover */
  .btn-nav-pulse:hover,
  .btn-nav-pulse:hover::after { animation-play-state: paused; }
  .btn-nav-arrow { display: inline-block; animation: arrowNudge 1.5s ease-in-out infinite; }
}
@keyframes btnBeat {
  0%, 14%, 100% { transform: scale(1); }
  3.5%  { transform: scale(1.07); }
  7%    { transform: scale(1); }
  10.5% { transform: scale(1.07); }
  14%   { transform: scale(1); }
}
@keyframes btnEcho {
  0%    { box-shadow: 0 0 0 0 rgba(197, 241, 53, 0.5); }
  7%    { box-shadow: 0 0 0 14px rgba(197, 241, 53, 0); }
  7.01% { box-shadow: 0 0 0 0 rgba(197, 241, 53, 0.5); }
  14%   { box-shadow: 0 0 0 14px rgba(197, 241, 53, 0); }
  14.01%, 100% { box-shadow: 0 0 0 14px rgba(197, 241, 53, 0); }
}
@keyframes arrowNudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(5px); }
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  margin-left: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--light);
  transition: transform .25s, opacity .2s;
}
nav.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
nav.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */
.hero-full {
  position: relative;
  background: var(--dark-3);
  padding-top: 72px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* centre verticalement texte+photo+widget */
  min-height: 100vh;
}

#hero {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: 32px 40px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 0;
  max-width: 1480px;
  margin: 0 auto;
}

.hero-text {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;   /* le texte passe au-dessus du mockup */
  padding-left: clamp(24px, 4vw, 72px);
}

/* Visuel hero — 2 calques (laptop + mobile) sur le même canvas, empilés.
   Parent : disparition au scroll. Calques : entrée séquencée. Float : par calque. */
.hero-visual {
  position: relative;
  z-index: 1;
  margin-left: -8%;     /* glisse légèrement sous le texte */
  margin-right: -5vw;   /* léger débord à droite */
  transition: opacity .6s cubic-bezier(.22,.61,.36,1),
              transform .6s cubic-bezier(.22,.61,.36,1);
}
.hero-visual.hero-visual-out { opacity: 0; transform: translateY(-28px) scale(.97); }

/* Scène : définit la taille partagée (les 2 calques se calent dessus au pixel près) */
.hero-stage {
  position: relative;
  width: 124%;
  aspect-ratio: 1400 / 974;
}

/* Calques empilés — mobile devant le laptop */
.hero-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1),
              transform .7s cubic-bezier(.22,.61,.36,1);
}
.hero-layer.laptop { z-index: 1; }
.hero-layer.phone  { z-index: 2; transition-delay: .22s; }  /* le mobile arrive juste après */
.hero-visual.hero-visual-in .hero-layer { opacity: 1; transform: none; }

/* Flottement indépendant par calque (déphasé → effet de profondeur) */
.hero-float { position: absolute; inset: 0; }
.hero-layer.laptop .hero-float { animation: floatLaptop 6.5s ease-in-out infinite; }
.hero-layer.phone  .hero-float { animation: floatPhone 5s ease-in-out infinite; }
@keyframes floatLaptop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floatPhone  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-19px); } }

.hero-layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Switch entre sites : fondu enchaîné (une image active à la fois par calque) */
.hero-shot {
  opacity: 0;
  transition: opacity .9s ease;
}
.hero-shot.is-active { opacity: 1; }

/* Sous 1024px : layout empilé — texte pleine largeur, image centrée dessous */
@media (max-width: 1024px) {
  #hero {
    grid-template-columns: 1fr;
    max-width: 860px;
  }
  /* Texte aligné à gauche, mais le bloc recentré horizontalement */
  .hero-text {
    padding-left: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  /* …mais les 3 chiffres clés restent centrés */
  .hero-stats { justify-content: center; }
  /* Visuel empilé sous le texte, centré, sans débord — calques toujours visibles */
  .hero-visual {
    width: 100%;            /* largeur explicite : sans ça le bloc se réduit à 0 */
    max-width: 560px;
    margin: 32px auto 0;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-stage { width: 100%; }
  .hero-layer { opacity: 1 !important; transform: none !important; }
}

/* Mobile : chiffres clés sur 2 lignes (les 2 premiers, puis 100% seul et centré) */
@media (max-width: 600px) {
  .hero-stats { flex-wrap: wrap; }
  .hero-stats .stat-item { align-items: center; text-align: center; }
  .hero-stats .stat-item:nth-child(3) { flex-basis: 100%; }
  .hero-finder-bar { padding: 0 20px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: rgba(197,241,53,0.1);
  border: 1px solid rgba(197,241,53,0.25);
  color: var(--accent);
  font-size: clamp(11px, 0.95vw, 14px);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55em 1.1em;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--light);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

/* Hero home : H1 un cran plus petit + marges resserrées pour tenir dans la
   zone de flottaison (jusqu'au widget « Bonjour, vous êtes ») sur écran laptop */
.hero-full h1 {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.06;
  margin-bottom: 18px;
}
.hero-full .hero-badge { margin-bottom: 20px; }
.hero-full .hero-sub { margin-bottom: 24px; }
.hero-full .hero-ctas { margin-bottom: 36px; }

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--gray-light);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 480px;
}

/* Barre centrée du widget, placée en bas du hero au-dessus de l'indicateur de scroll */
.hero-finder-bar {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding: 0 40px 28px;   /* un peu d'air sous « Bonjour, vous êtes … » */
}
.hero-finder-bar .hero-finder { margin: 0; width: 100%; max-width: 560px; }

/* Phrase interactive « Bonjour, je suis … » + autocomplétion métier/secteur */
.hero-finder {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 36px;
  max-width: 540px;
  font-family: var(--font-head);
}
.hero-finder-hello {
  font-size: 20px;
  font-weight: 500;
  color: var(--light);
}
.hero-finder-field {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 1 1 220px;
  min-width: 200px;
}
.hero-finder-input {
  flex: 1;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  padding: 4px 28px 6px 2px;
  outline: none;
  caret-color: var(--accent);
}
.hero-finder-input::placeholder { color: var(--gray); font-weight: 400; }
.hero-finder-input:focus,
.hero-finder-input:focus-visible { border-bottom-color: var(--accent-dark); outline: none; }
.hero-finder-go {
  position: absolute;
  right: 0;
  bottom: 5px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
  padding: 0 2px;
  cursor: pointer;
  transition: color .2s, transform .15s;
}
.hero-finder-go:hover { color: var(--light); transform: translateX(2px); }

.hero-finder-list {
  position: absolute;
  top: calc(100% + 12px);   /* ouvre vers le BAS */
  left: 0;
  right: 0;
  z-index: 30;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  max-height: 320px;
  overflow-y: auto;
}
.hero-finder-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-body);
}
.hero-finder-item .hf-label { font-size: 15px; font-weight: 500; color: var(--light); }
.hero-finder-item .hf-tag {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
}
.hero-finder-item.is-active,
.hero-finder-item:hover { background: var(--accent); }
.hero-finder-item.is-active .hf-label,
.hero-finder-item:hover .hf-label { color: var(--dark); }
.hero-finder-item.is-active .hf-tag,
.hero-finder-item:hover .hf-tag { color: var(--dark-2); }
.hero-finder-empty {
  padding: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-light);
}
.hero-finder-empty a { color: var(--accent); font-weight: 600; }

/* Proposition « chercher avec l'assistant » (filet de secours IA) */
.hero-finder-ai {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--light);
}
.hero-finder-ai strong { font-weight: 600; }
.hero-finder-ai:hover { background: var(--accent); color: var(--dark); }
.hf-ai-ic { color: var(--accent); font-size: 15px; line-height: 1; }
.hero-finder-ai:hover .hf-ai-ic { color: var(--dark); }

.hero-finder-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-light);
}
.hf-spin {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(197,241,53,0.25);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: hfSpin .7s linear infinite;
}
@keyframes hfSpin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
  .hero-finder-hello,
  .hero-finder-input { font-size: 18px; }
  .hero-finder-field { flex-basis: 100%; }
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--light);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(242,242,242,0.2);
  transition: border-color .2s, background .2s;
}

.btn-secondary:hover {
  border-color: rgba(242,242,242,0.5);
  background: rgba(242,242,242,0.04);
}

.hero-stats {
  display: flex;
  gap: 32px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-val {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.02em;
}

/* Badge Trustindex à la place de la 3ᵉ stat — léger remontage pour l'aligner */
.stat-item--trust { transform: translateY(-15px); }
/* Mobile : redescendre le badge de 15px (donc position neutre) */
@media (max-width: 600px) {
  .stat-item--trust { transform: translateY(0); }
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* ─── Indicateur de scroll (hero home) ─── */
.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 32px;
  height: 44px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 1;
  transition: opacity .4s ease;
}
.scroll-cue.scroll-cue-hidden {
  opacity: 0;
  pointer-events: none;
}
.scroll-cue-line {
  position: relative;
  width: 1px;
  height: 38px;
  background: rgba(242, 242, 242, 0.18);
  overflow: hidden;
}
.scroll-cue-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 45%;
  background: var(--accent);
  animation: scrollCue 1.9s cubic-bezier(.4, 0, .2, 1) infinite;
}
@keyframes scrollCue {
  0%   { transform: translateY(-110%); opacity: 0; }
  25%  { opacity: 1; }
  100% { transform: translateY(250%); opacity: 0; }
}

/* ─── SECTIONS ─── */
section { padding: 100px 40px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a7c0e;
  margin-bottom: 12px;
  display: block;
}

/* Lime sur fonds sombres uniquement */
.sector-hero .section-tag,
.legal-hero .section-tag,
#avantages .section-tag,
#pitch .section-tag,
#serenite .section-tag,
#villes .section-tag,
.options-section-alt .section-tag {
  color: var(--accent);
}

h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

h2.light { color: var(--light); }

.section-intro {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 64px;
}

.section-intro.light { color: var(--gray-light); }

/* ─── AVANTAGES ─── */
#avantages { background: var(--dark); }

.avantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.avantage-card {
  background: var(--dark-2);
  padding: 40px 36px;
  transition: background .25s;
}

.avantage-card:hover { background: #2a2f25; }

.avantage-icon {
  width: 44px; height: 44px;
  margin-bottom: 24px;
}

.avantage-icon svg {
  width: 44px; height: 44px;
  fill: none;
  stroke: var(--accent);
}

.avantage-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--light);
  margin-bottom: 10px;
  line-height: 1.3;
}

.avantage-card p {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.7;
}

/* ─── OFFRES ─── */
#offres { background: var(--light); }

.offres-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.offre-card {
  background: white;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}

.offre-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(49,54,46,0.1);
}

.offre-card.featured {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--light);
}

.offre-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-star {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.offre-logo {
  height: 56px;
  width: auto;
  margin-bottom: 4px;
  display: block;
}

.offre-tagline {
  font-size: 13px;
  margin-bottom: 28px;
}

.offre-tagline.dark { color: var(--gray); }
.offre-tagline.light-text { color: var(--gray-light); }

.offre-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.price-amount {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  letter-spacing: -0.02em;
}

.offre-card.featured .price-amount { color: var(--light); }

.price-unit {
  font-size: 16px;
  color: var(--gray);
  font-weight: 400;
}

.offre-card.featured .price-unit { color: var(--gray-light); }

.offre-pack-required {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 8px;
}

.offre-pack-required strong { font-weight: 600; }

.offre-card.featured .offre-pack-required { color: var(--gray-light); }

.offre-flex {
  font-size: 15px;
  color: #5a7c0e;
  margin-bottom: 32px;
}

.offre-flex strong {
  font-weight: 700;
}

.offre-card.featured .offre-flex { color: var(--accent); }

.offre-divider {
  height: 1px;
  background: var(--border-dark);
  margin-bottom: 28px;
}

.offre-card.featured .offre-divider { background: var(--border); }

.offre-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.offre-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--dark);
  line-height: 1.5;
}

.offre-card.featured .offre-features li { color: var(--light-2); }

.offre-features li::before {
  content: '';
  width: 18px; height: 18px;
  min-width: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='%23C5F135'/%3E%3Cpath d='M5 9l3 3 5-5' stroke='%2331362e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  margin-top: 1px;
}

.btn-offre {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}

.btn-picto {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-offre-outline {
  border: 1.5px solid var(--dark);
  color: var(--dark);
  background: transparent;
}

.btn-offre-outline:hover { background: var(--dark); color: var(--light); }

.btn-offre-filled {
  background: var(--accent);
  color: var(--dark);
  border: none;
}

.btn-offre-filled:hover { background: var(--accent-dark); }

.offres-note {
  margin-top: 24px;
  margin-left: auto;
  margin-right: auto;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
  max-width: 900px;
  padding: 16px 20px;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-dark);
  text-align: center;
}

.offres-punch {
  margin: 36px auto 0;
  text-align: center;
  font-family: var(--font-head, inherit);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}
@media (max-width: 600px) {
  .offres-punch { font-size: 22px; }
}

/* ─── SERENITE ─── */
#serenite { background: var(--dark-3); }

.serenite-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.serenite-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  position: relative;
  transition: border-color .2s;
}

.serenite-card.featured {
  border-color: rgba(197,241,53,0.4);
}

.serenite-rec {
  position: absolute;
  top: -14px; left: 28px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.serenite-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--light);
  margin-bottom: 12px;
}

.serenite-price {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 700;
  color: var(--light);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
}

.serenite-unit {
  font-size: 20px;
  font-weight: 400;
  color: var(--gray);
}

.serenite-period {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray);
}

.serenite-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 4px;
}

.serenite-card.featured .serenite-desc { color: var(--gray-light); }

.serenite-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.serenite-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.serenite-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-light);
}

.serenite-features li::before {
  content: '—';
  color: var(--accent);
  font-weight: 700;
}

.serenite-extras {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.serenite-extras li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-light);
}

.extra-picto {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: var(--accent);
}

/* ─── SECTEURS ─── */
#secteurs { background: var(--light); }

.secteurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.secteur-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
}

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

.secteur-card:hover img { transform: scale(1.06); }
a.secteur-card { display: block; text-decoration: none; cursor: pointer; }

/* Home : les secteurs en carrousel (grandes cartes à largeur fixe ; défilement auto → site.js) */
.secteurs-carousel { margin-top: 40px; }
.secteurs-carousel .secteur-card { flex-shrink: 0; width: clamp(230px, 26vw, 300px); }

.secteur-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,30,22,0.9) 0%, rgba(26,30,22,0.2) 50%, transparent 100%);
}

.secteur-label {
  position: absolute;
  bottom: 20px; left: 20px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--light);
}

.secteur-sub {
  font-size: 11px;
  color: var(--gray-light);
  margin-top: 3px;
  font-weight: 400;
}

/* ─── PITCH ─── */
#pitch { background: var(--dark); }

.pitch-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.pitch-text h2 {
  color: var(--light);
  margin-bottom: 24px;
}

.pitch-text p {
  font-size: 16px;
  color: var(--gray-light);
  line-height: 1.75;
  margin-bottom: 16px;
}

.pitch-text p strong {
  color: var(--light);
  font-weight: 500;
}

.pitch-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.pitch-logo img { width: 200px; height: auto; }
.pitch-logo img.pitch-logo-offensive { width: 200px; }

.pitch-by {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
  text-align: center;
}

.pitch-by strong { color: var(--gray-light); }

/* ─── CTA FINAL ─── */
#cta-final {
  background: var(--accent);
  padding: 80px 40px;
  text-align: center;
}

/* Section Nos villes (home) */
#villes {
  background: var(--dark-2);
  padding: 80px 0;
}
.villes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.ville-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  display: block;
  text-decoration: none;
}
.ville-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.ville-card:hover img { transform: scale(1.05); }
.ville-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,30,22,.85) 0%, rgba(26,30,22,.1) 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.ville-card-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.ville-card-arrow {
  margin-left: auto;
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
  transition: transform .2s;
}
.ville-card:hover .ville-card-arrow { transform: translateX(3px); }
@media (max-width: 1000px) {
  .villes-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .villes-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ville-card-name { font-size: 15px; }
}

#cta-final h2 {
  color: var(--dark);
  margin-bottom: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

#cta-final p {
  font-size: 17px;
  color: rgba(49,54,46,0.7);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.cta-final-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-dark {
  background: var(--dark);
  color: var(--light);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s;
}

.btn-dark:hover { background: var(--dark-2); }

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: 1.5px solid rgba(49,54,46,0.3);
  transition: border-color .2s;
}

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

/* ─── FOOTER ─── */
footer {
  background: var(--dark-3);
  padding: 48px 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-logo img { width: 150px; height: auto; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: #F2F2F2;
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-copy {
  font-size: 12px;
  color: var(--gray-light);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.footer-sep {
  color: var(--gray);
}

.footer-copy a {
  color: #F2F2F2;
  text-decoration: none;
  transition: color .2s;
}
.footer-copy a:hover { color: var(--accent); }

.footer-villes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}
.footer-villes-label {
  width: 100%;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 4px;
}
.footer-villes a {
  font-size: 12px;
  color: var(--gray-light);
  text-decoration: none;
  transition: color .2s;
}
.footer-villes a:hover { color: var(--accent); }

.footer-nap {
  font-style: normal;
  font-size: 12px;
  color: var(--gray-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.footer-nap span + span::before,
.footer-nap a::before {
  content: "·";
  margin-right: 6px;
  color: var(--gray);
}
.footer-nap a {
  color: var(--gray-light);
  text-decoration: none;
}
.footer-nap a:hover { color: var(--accent); }

.pains-cta {
  margin-top: 40px;
  text-align: center;
}

.local-context {
  max-width: 820px;
  margin: 48px auto 0;
  text-align: center;
}
.local-context h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.local-context p {
  line-height: 1.7;
  margin-bottom: 12px;
}
.local-context .local-zones {
  font-size: 0.95rem;
  opacity: 0.8;
}

.ville-sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 900px) {
  .ville-sectors-grid { grid-template-columns: repeat(2, 1fr); }
}

.ville-sector-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  overflow: hidden;
}

.vsc-img {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.vsc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  transition: transform .4s ease;
}
.ville-sector-card:hover .vsc-img img {
  transform: scale(1.04);
}
.vsc-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 45%, transparent 100%);
}
.vsc-name {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  z-index: 1;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.vsc-chips {
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 600px) {
  .ville-sectors-grid { grid-template-columns: 1fr; gap: 16px; }
  .vsc-img { height: 130px; }
}

.footer-offensive {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.footer-offensive img {
  width: 84px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1) sepia(1) saturate(0) hue-rotate(0deg);
  opacity: 0.9;
  transition: opacity .2s;
}
.footer-offensive:hover img { opacity: 1; }

/* ─── MODALE CONTACT ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 8, 0.72);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  transition: opacity .2s;
}
.modal-overlay[hidden] { display: none; }

.modal-box {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.28);
}

.modal-close {
  position: absolute;
  top: 10px; right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--gray);
  cursor: pointer;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.modal-close:hover { color: var(--dark); background: rgba(49,54,46,0.06); }

.modal-box h2 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.modal-sub {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 28px;
}

.modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}
.modal-field:not(.modal-row .modal-field) { margin-bottom: 16px; }

.modal-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
}

.modal-field input,
.modal-field select,
.modal-field textarea {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark);
  background: #fff;
  border: 1.5px solid var(--border-dark);
  border-radius: 8px;
  padding: 10px 14px;
  outline: none;
  transition: border-color .15s;
  width: 100%;
}
/* Select : flèche custom espacée du bord droit (la flèche native est collée au bord) */
.modal-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23555' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.phone-row { display: flex; gap: 8px; }
.phone-row select { width: auto; flex-shrink: 0; cursor: pointer; }
.phone-row input { flex: 1; }

.modal-field input:focus,
.modal-field select:focus,
.modal-field textarea:focus { border-color: var(--accent-dark); }
.modal-field textarea { resize: vertical; }

.modal-feedback {
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.modal-feedback.success { background: #ecfce3; color: #2d6a2d; }
.modal-feedback.error   { background: #fce3e3; color: #6a2d2d; }

.modal-city-wrap {
  position: relative;
}
.modal-city-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border: 1.5px solid var(--border-dark);
  border-radius: 8px;
  list-style: none;
  margin: 0; padding: 4px 0;
  z-index: 300;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  max-height: 220px;
  overflow-y: auto;
}
.modal-city-list[hidden] { display: none; }
.modal-city-list li {
  padding: 9px 14px;
  font-size: 14px;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  gap: 6px;
  align-items: baseline;
  transition: background .12s;
}
.modal-city-list li:hover { background: var(--light-2); }
.modal-city-dept {
  font-size: 12px;
  color: var(--gray);
}

.modal-submit {
  width: 100%;
  background: var(--accent);
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background .18s, transform .12s;
}
.modal-submit:hover { background: var(--accent-dark); transform: translateY(-1px); }
.modal-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

@media (max-width: 520px) {
  .modal-box { padding: 28px 20px; }
  .modal-row { grid-template-columns: 1fr; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  /* Mobile/tablette : pas de centrage vertical (hero plus haut que l'écran).
     Le widget passe en 1er, juste sous le menu ; marges haute/basse homogènes. */
  .hero-full { justify-content: flex-start; }
  .hero-finder-bar { order: -1; margin: 40px 0; }
  #hero { padding: 0 40px 40px; }
  .avantages-grid { grid-template-columns: repeat(2, 1fr); }
  .secteurs-grid { grid-template-columns: repeat(2, 1fr); }
  .pitch-inner { grid-template-columns: 1fr; gap: 48px; }
}


@media (max-width: 768px) {
  .container { padding: 0 16px; }
  nav { padding: 0 20px; }
  /* Sur mobile : pas de rétrécissement (le dropdown reste aligné) */
  nav.nav-scrolled {
    height: 72px;
    /* flou allégé : moins de coût GPU au scroll sur mobile */
    background: rgba(20, 24, 16, 0.92);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
  }
  nav.nav-scrolled .nav-logo img,
  .nav-logo img { width: 140px; }
  /* Menu ouvert : fond solide même en haut de page (nav transparente) */
  nav.nav-open {
    background: rgba(20, 24, 16, 0.94);
    -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
  }
  .nav-burger { display: flex; }
  .btn-nav { margin-left: auto; }
  .btn-nav-contact { display: none; }      /* le Contact passe dans le menu déroulant */
  .nav-li-contact { display: block; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    transform: none;
    flex-direction: column;
    gap: 0;
    background: var(--dark-3);
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height .28s ease, opacity .2s ease, padding .28s ease;
  }
  /* Pas de soulignement animé sur le menu déroulant mobile */
  .nav-links a::after { display: none; }
  nav.nav-open .nav-links {
    max-height: 460px;
    opacity: 1;
    pointer-events: auto;
    padding: 6px 20px 14px;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 13px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a { border-bottom: none; }
  /* Contact renvoyé en fin de menu mobile (ordre visuel, DOM inchangé) */
  .nav-li-contact { order: 99; }
  .nav-links li:last-child a { border-bottom: 1px solid var(--border); } /* n'est plus le dernier visuel */
  .nav-li-contact a { border-bottom: none; }                             /* Contact = dernier visuel */
  section { padding: 72px 20px; }
  #hero { padding: 0 20px 40px; }
  h1 { font-size: 36px; }
  .avantages-grid { grid-template-columns: 1fr; }
  .offres-grid { grid-template-columns: 1fr; }
  .serenite-grid { grid-template-columns: 1fr; }
  .secteurs-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  footer { padding: 40px 20px; }
  .footer-inner { gap: 20px; }
  .footer-links { gap: 16px; }
}

@media (max-width: 480px) {
  .nav-logo img { width: 120px; }
  .secteurs-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary { justify-content: center; text-align: center; }
  .hero-stats { gap: 16px 28px; }
}

/* ============================================================
   PAGES SECTEUR (landing SEO)
   ============================================================ */

/* Hero plein fond photo */
.sector-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 130px 40px 80px;
  overflow: hidden;
  background: var(--dark-3);
}
.sector-hero-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; overflow: hidden; }
.sector-hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sector-hero-bg .vs-slide { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; visibility: hidden; transition: opacity 1.5s ease, visibility 0s linear 1.5s; }
.sector-hero-bg .vs-slide.active { opacity: 1; visibility: visible; transition: opacity 1.5s ease, visibility 0s linear 0s; }
.sector-hero-bg .vs-slide picture { display: block; width: 100%; height: 100%; }
/* sector-finder-bar : responsive géré dans les @media (max-width: 768px) et (480px) ci-dessous */
.sector-finder-bar { padding: 0; justify-content: flex-start; margin-top: 36px; }
.sector-finder-bar .hero-finder { max-width: 560px; margin-bottom: 0; }
.hero-progress-bar {
  position: absolute; bottom: 0; left: 0; height: 3px;
  background: var(--accent); z-index: 10; width: 0;
}
.hero-progress-bar.running {
  animation: hero-progress 7s linear forwards;
}
@keyframes hero-progress { from { width: 0; } to { width: 100%; } }
.sector-hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(95deg, rgba(20,24,16,0.94) 0%, rgba(20,24,16,0.82) 38%, rgba(20,24,16,0.45) 72%, rgba(20,24,16,0.25) 100%);
}
.sector-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.sector-hero-text { max-width: 640px; }
.breadcrumb { font-size: 13px; color: var(--gray-light); margin-bottom: 22px; }
.breadcrumb a { color: var(--gray-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; opacity: 0.6; }
.sector-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--light);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.sector-hero h1 em { color: var(--accent); font-style: normal; }
.sector-hero-sub {
  font-size: 17px;
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 540px;
}
.sector-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Bandeau réassurance — intégré au hero (la photo passe dessous) */
.sector-trust-inner {
  margin: 52px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.trust-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: var(--radius); padding: 22px;
}
.trust-item strong { display: block; font-family: var(--font-head); color: var(--accent); font-size: 24px; margin-bottom: 4px; }
.trust-item span { font-size: 13px; color: var(--gray-light); line-height: 1.5; }

/* Sections de fond */
#pourquoi, #prestations, #metiers, #offres, #faq { scroll-margin-top: 72px; }
.sector-light { background: var(--light); }

/* Fond carte ville sur la section pourquoi */
.ville-map-bg {
  position: relative;
  overflow: hidden;
}
.ville-map-bg [id$="-map-bg"] {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}
.ville-map-bg > .container { position: relative; z-index: 1; }
.sector-dark { background: var(--dark); }
.sector-dark-3 { background: var(--dark-3); }

/* Problématiques */
.pains-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card {
  background: #fff; border: 1px solid var(--border-dark);
  border-radius: var(--radius); padding: 28px;
}
.pain-card .pain-icon { color: var(--accent-dark); margin-bottom: 14px; }
.pain-card h3 { font-family: var(--font-head); font-size: 18px; color: var(--dark); margin-bottom: 8px; }
.pain-card p { font-size: 15px; color: var(--gray); line-height: 1.65; }

/* Ce qui est inclus */
.included-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 36px; max-width: 920px; }
.included-item { display: flex; gap: 13px; align-items: flex-start; }
.included-item svg { flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.included-item span { font-size: 15.5px; color: var(--light-2); line-height: 1.5; }

/* Métiers */
.metiers-chips { display: flex; flex-wrap: wrap; gap: 10px; max-width: 820px; }
.metier-chip {
  background: #2a2f25; color: var(--light); border: 1px solid var(--border);
  border-radius: 999px; padding: 9px 18px; font-size: 14.5px; font-weight: 500;
}
a.metier-chip { text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; }
a.metier-chip:hover { background: var(--accent); color: var(--dark); border-color: var(--accent); transform: translateY(-1px); }

/* Rappel offres (compact) */
.sector-offers-section { text-align: center; }
.sector-offers-section .section-intro { margin-left: auto; margin-right: auto; }
.sector-offers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin: 0 auto; }
.sector-offer { border: 1px solid var(--border-dark); border-radius: var(--radius-lg); padding: 28px; background: #fff; }
.sector-offer.featured { border-color: var(--accent-dark); box-shadow: 0 0 0 1px var(--accent-dark); }
.sector-offer h3 { font-family: var(--font-head); font-size: 20px; color: var(--dark); margin-bottom: 6px; }
.sector-offer .offre-logo { height: 50px; margin: 0 auto 14px; }
.sector-offer .offre-price { justify-content: center; }
.sector-offer .so-desc { font-size: 14px; color: var(--gray); line-height: 1.6; margin: 4px 0 20px; padding-top: 16px; border-top: 1px solid var(--border-dark); }
.sector-offer .btn-offre { width: 100%; justify-content: center; }
/* Encart Pack Sérénité sous les offres */
.serenite-note {
  max-width: 720px; margin: 36px auto 0;
  background: #fff; border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg); padding: 32px 36px;
}
.serenite-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 10px;
}
.serenite-note h3 { font-family: var(--font-head); font-size: 22px; color: var(--dark); margin-bottom: 10px; }
.serenite-note p { font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 24px; }
.serenite-formules { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.serenite-formule {
  flex: 1; min-width: 150px;
  border: 1px solid var(--border-dark); border-radius: var(--radius);
  padding: 18px; position: relative;
}
.serenite-formule.featured { border-color: var(--accent-dark); box-shadow: 0 0 0 1px var(--accent-dark); }
.sf-badge {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--dark);
  font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.sf-name { display: block; font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.sf-price { display: block; font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--dark); }
.sf-price small { font-size: 12px; font-weight: 400; color: var(--gray); }

/* FAQ */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--border-dark); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; color: var(--accent-dark); position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { font-size: 15px; color: var(--gray); line-height: 1.7; padding: 0 0 24px; max-width: 680px; }

/* CTA final */
.sector-cta { background: var(--accent); padding: 76px 40px; text-align: center; }
.sector-cta h2 { color: var(--dark); margin-bottom: 12px; }
.sector-cta p { color: var(--dark-2); font-size: 17px; margin-bottom: 28px; }
.sector-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.sector-cta .btn-dark { background: var(--dark); color: var(--light); }
.sector-cta .btn-dark:hover { background: var(--dark-2); transform: translateY(-2px); }
.sector-cta .btn-ghost-dark { background: transparent; color: var(--dark); border: 1.5px solid var(--dark); }
.sector-cta .btn-ghost-dark:hover { background: rgba(0,0,0,0.06); }

/* Nos autres secteurs — carousel */
.other-sectors { background: var(--dark); padding: 80px 0; overflow: hidden; }
.other-sectors .os-head { max-width: 1200px; margin: 0 auto 36px; padding: 0 40px; }
.os-metiers { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.os-metiers .btn-secondary { display: inline-flex; margin-top: 26px; }
@media (max-width: 480px) { .os-metiers { padding: 0 20px; } }
.carousel {
  overflow-x: auto;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.dragging { cursor: grabbing; }
.carousel.dragging .mini-card { pointer-events: none; }
.carousel-track { display: flex; gap: 16px; width: max-content; }

/* Flèches de navigation du carrousel secteurs */
.carousel-wrap { position: relative; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 48px; height: 48px; border: none; border-radius: 50%;
  background: var(--dark); color: var(--light);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 6px 18px rgba(49,54,46,0.22);
  transition: background .2s ease, color .2s ease, transform .15s ease, opacity .2s ease;
}
.carousel-arrow svg { width: 22px; height: 22px; display: block; }
.carousel-arrow:hover { background: var(--accent); color: var(--dark); }
.carousel-arrow:active { transform: translateY(-50%) scale(0.94); }
.carousel-arrow:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
.carousel-arrow--prev { left: -8px; }
.carousel-arrow--next { right: -8px; }
@media (max-width: 640px) {
  .carousel-arrow { width: 40px; height: 40px; }
  .carousel-arrow svg { width: 18px; height: 18px; }
  .carousel-arrow--prev { left: 2px; }
  .carousel-arrow--next { right: 2px; }
}
.mini-card {
  position: relative; flex-shrink: 0;
  width: 190px; aspect-ratio: 3/4;
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none; display: block;
}
.mini-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mini-card:hover img { transform: scale(1.07); }
.mini-card .mini-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,24,16,0.9) 0%, rgba(20,24,16,0.15) 60%, transparent 100%); }
.mini-card .mini-label { position: absolute; bottom: 12px; left: 14px; right: 14px; z-index: 1; color: var(--light); font-family: var(--font-head); font-weight: 600; font-size: 14px; }
/* Responsive */
@media (max-width: 860px) {
  .sector-hero { min-height: 520px; }
  .sector-trust-inner { grid-template-columns: repeat(2, 1fr); }
  .pains-grid { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: 1fr; }
  .sector-offers-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  /* Photo : cadrage décalé vers la droite, et hero compact qui s'arrête sous les CTA */
  .sector-hero-bg img { object-position: 60% center; }
  .sector-hero { min-height: auto; }
  .sector-hero .sector-trust-inner { display: none; }
  .sector-hero-sub { font-size: 15px; line-height: 1.55; margin-bottom: 20px; }
  .sector-finder-bar { margin-top: 22px; }
  .sector-finder-bar .hero-finder { max-width: 100%; }
  .hero-progress-bar { height: 2px; }
}
@media (max-width: 480px) {
  .sector-hero { padding: 88px 20px 28px; min-height: auto; }
  .sector-hero h1 { font-size: 26px; margin-bottom: 12px; }
  /* Subtitle tronqué à 2 lignes sur mobile — le H1 suffit à identifier le secteur */
  .sector-hero-sub {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    margin-bottom: 14px;
  }
  .sector-hero-ctas { gap: 8px; }
  .sector-hero-ctas .btn { padding: 13px 20px; font-size: 15px; }
  .sector-finder-bar { margin-top: 14px; }
  .sector-finder-bar .hero-finder-hello { font-size: 16px; }
  .sector-finder-bar .hero-finder-input { font-size: 16px; }
  .other-sectors .os-head { padding: 0 20px; }
}

/* ============================================================
   PAGES LÉGALES (mentions légales, confidentialité, cookies)
   ============================================================ */
.legal-hero { background: var(--dark-3); padding: 120px 40px 60px; border-bottom: 1px solid var(--border); }
.legal-hero-inner { max-width: 820px; margin: 0 auto; }
.legal-hero h1 { font-family: var(--font-head); font-size: 36px; font-weight: 700; color: var(--light); letter-spacing: -0.02em; margin-bottom: 10px; }
.legal-hero p { font-size: 14px; color: var(--gray-light); }
.legal-body { max-width: 820px; margin: 0 auto; padding: 56px 40px 100px; }
.legal-body h2 { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--dark); margin: 40px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border-dark); letter-spacing: -0.01em; }
.legal-body h3 { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--dark); margin: 22px 0 6px; }
.legal-body p { font-size: 15px; color: var(--dark); line-height: 1.75; margin-bottom: 12px; }
.legal-body ul { margin: 8px 0 14px 20px; }
.legal-body ul li { font-size: 15px; line-height: 1.7; color: var(--dark); margin-bottom: 4px; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.legal-body th, .legal-body td { text-align: left; padding: 10px 14px; border: 1px solid var(--border-dark); vertical-align: top; }
.legal-body th { background: #eaeae7; font-family: var(--font-head); font-weight: 600; font-size: 13px; }
.legal-body a { color: var(--dark); text-decoration: underline; font-weight: 600; transition: color .2s; }
.legal-body a:hover { color: var(--accent-dark); }
.legal-note { background: #f0f7e0; border-left: 3px solid var(--accent-dark); padding: 12px 16px; border-radius: 4px; margin: 14px 0; font-size: 14px; line-height: 1.6; color: var(--dark); }
.legal-todo { background: #fff4e5; border-left: 3px solid #e0a020; padding: 12px 16px; border-radius: 4px; margin: 14px 0; font-size: 14px; line-height: 1.6; color: var(--dark); }
.legal-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--light); background: var(--dark); border: none; border-radius: 8px; padding: 12px 22px; cursor: pointer; transition: background .2s; text-decoration: none; }
.legal-btn:hover { background: var(--dark-2); color: var(--light); }
@media (max-width: 600px) {
  .legal-hero { padding: 100px 20px 40px; }
  .legal-body { padding: 40px 20px 80px; }
  .legal-hero h1 { font-size: 26px; }
}

/* ── Responsive mobile : listes villes, métiers & footer ────────────────── */
@media (max-width: 680px) {
  /* Accueil — cartes villes : plus de photo, nom plus lisible */
  .ville-card { aspect-ratio: 4 / 3; }
  .ville-card-overlay { padding: 12px; }
  .ville-card-name { font-size: 16px; }
}
@media (max-width: 600px) {
  /* Page ville — liste des métiers : puces plus compactes et aérées */
  .vsc-chips { padding: 12px; gap: 6px; }
  .metier-chip { padding: 6px 12px; font-size: 12.5px; }

  /* Footer — liste des villes : espacement resserré */
  .footer-villes { gap: 6px 14px; }
  .footer-villes a { font-size: 12.5px; }

  /* Footer — adresse Google empilée (supprime les « · » en début de ligne) */
  .footer-nap { flex-direction: column; gap: 3px; line-height: 1.5; }
  .footer-nap span + span::before,
  .footer-nap a::before { content: none; }
}

/* ── Accordéon mobile — section « Votre métier à {ville} » ──────────────── */
@media (max-width: 600px) {
  .ville-sectors-grid { gap: 10px; }
  /* l'image + nom devient l'en-tête repliable */
  .ville-sector-card .vsc-img { height: 68px; cursor: pointer; }
  .ville-sector-card .vsc-img::before {
    content: '';
    position: absolute; z-index: 2;
    right: 16px; top: 50%;
    width: 8px; height: 8px;
    border-right: 2px solid #fff; border-bottom: 2px solid #fff;
    transform: translateY(-65%) rotate(45deg);
    transition: transform .2s ease;
  }
  .ville-sector-card.open .vsc-img::before { transform: translateY(-35%) rotate(225deg); }
  /* puces repliées par défaut, dépliées au tap */
  .ville-sector-card .vsc-chips { display: none; }
  .ville-sector-card.open .vsc-chips { display: flex; }

  /* « Le tissu économique de {ville} » — plus d'air au-dessus sur mobile */
  .local-context { margin-top: 64px; }
  /* …et sous le bloc, avant le bouton « Voir les offres » */
  .pains-cta { margin-top: 56px; }
}

/* Footer — neutralise la coloration bleue iOS des liens (tel: + auto-détection) */
footer a { -webkit-text-fill-color: currentColor; }

/* Section "Ce que vous obtenez" — texte + photo à bords ronds (bien-être & restauration) */
.inclus-split .container { display: flex; align-items: stretch; gap: 56px; }
.inclus-split .inclus-text { flex: 1 1 50%; min-width: 0; }
.inclus-split .inclus-text .included-grid { grid-template-columns: 1fr; max-width: none; }
/* La photo épouse exactement la hauteur du texte de gauche, quelle que soit l'orientation
   (paysage ou portrait) : on sort l'image du flux (absolue dans un cadre relatif) pour que
   sa hauteur intrinsèque ne « pousse » pas la ligne flex plus haut que le contenu de gauche. */
.inclus-split .inclus-photo { flex: 1 1 50%; margin: 0; position: relative; }
.inclus-split .inclus-photo picture { position: absolute; inset: 0; display: block; }
.inclus-split .inclus-photo img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 22px;
}
@media (max-width: 900px) {
  /* mobile : on empile, photo en dessous (hauteur fixe), bords ronds conservés */
  .inclus-split .container { flex-direction: column; gap: 32px; }
  .inclus-split .inclus-photo { position: static; }
  .inclus-split .inclus-photo picture { position: static; }
  .inclus-split .inclus-photo img { height: 240px; }
}

/* Photo plein-largeur ville (local×métier) — entre spécialités et Notre origine */
.local-city-strip { height: 360px; overflow: hidden; position: relative; }
.local-city-strip picture { position: absolute; inset: 0; display: block; }
.local-city-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.local-city-strip .local-city-label {
  position: absolute; bottom: 24px; left: 32px; z-index: 1;
  background: rgba(0,0,0,.45); backdrop-filter: blur(6px);
  color: #fff; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 99px;
}
@media (max-width: 768px) {
  .local-city-strip { height: 220px; }
  .local-city-strip .local-city-label { left: 16px; bottom: 14px; }
}

/* Diapo photo ville (hub ville) — fullwidth entre "Ce que vous obtenez" et "Notre origine" */
.ville-slideshow { position: relative; height: 420px; overflow: hidden; background: var(--dark); }
.ville-slideshow .vs-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.ville-slideshow .vs-slide.active { opacity: 1; }
.ville-slideshow .vs-slide picture { display: block; width: 100%; height: 100%; }
.ville-slideshow .vs-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ville-slideshow .vs-dots {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.ville-slideshow .vs-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.45); border: none; padding: 0; cursor: pointer;
  transition: background .3s;
}
.ville-slideshow .vs-dot.active { background: #fff; }
@media (max-width: 768px) {
  .ville-slideshow { height: 240px; }
}

/* ============================================================
   ACCESSIBILITÉ — focus clavier visible (anneau on-brand)
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
/* Boutons / éléments à fond accent : anneau sombre pour rester visible */
.btn-primary:focus-visible,
.btn-nav:focus-visible,
.btn-offre-filled:focus-visible,
.modal-submit:focus-visible,
.offre-badge:focus-visible,
.serenite-rec:focus-visible,
.sector-cta .btn-dark:focus-visible,
#cta-final .btn-dark:focus-visible {
  outline-color: var(--dark);
}
/* Pas de double indicateur quand :focus-visible est supporté */
:focus:not(:focus-visible) { outline: none; }

/* ============================================================
   MOUVEMENT RÉDUIT — respecte prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  /* Zooms d'images au survol : neutralisés */
  .secteur-card:hover img,
  .ville-card:hover img,
  .mini-card:hover img,
  .ville-sector-card:hover .vsc-img img { transform: none; }
  /* Animation décorative du hero : masquée */
  #hero-canvas { display: none; }
  /* Apparitions au scroll neutralisées : tout reste visible */
  .reveal { opacity: 1 !important; transform: none !important; }
  /* Indicateur de scroll : segment statique, pas d'animation */
  .scroll-cue-line::after { animation: none; transform: none; opacity: .6; }
  /* Visuel hero : calques figés visibles, pas d'entrée/disparition ni flottement */
  .hero-visual { opacity: 1 !important; transform: none !important; transition: none; }
  .hero-layer  { opacity: 1 !important; transform: none !important; transition: none; }
  .hero-float  { animation: none; }
}

/* ============================================================
   APPARITION AU SCROLL — la classe .reveal est posée par JS
   (donc sans JS, aucun contenu n'est masqué)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1),
              transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ============================================================
   SURVOLS — micro-interactions plus marquées (rollover)
   ============================================================ */
/* Cartes avantages : lift + bordure accent + pictogramme animé */
.avantage-card {
  transition: background .25s, transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s;
  position: relative;
}
.avantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
.avantage-card .avantage-icon svg {
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
.avantage-card:hover .avantage-icon svg {
  transform: scale(1.12) rotate(-4deg);
}

/* Cartes Pack Sérénité : lift + bordure accent */
.serenite-card {
  transition: border-color .25s, transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s;
}
.serenite-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197,241,53,0.4);
  box-shadow: 0 18px 44px rgba(0,0,0,0.3);
}

/* Cartes problématiques (pages secteur) : lift + accent */
.pain-card {
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s, border-color .25s;
}
.pain-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-dark);
  box-shadow: 0 16px 36px rgba(49,54,46,0.12);
}
.pain-card .pain-icon { transition: transform .3s cubic-bezier(.22,.61,.36,1); }
.pain-card:hover .pain-icon { transform: scale(1.12) translateY(-2px); }

/* Bandeau réassurance (hero secteur) : léger relief au survol */
.trust-item {
  transition: transform .3s cubic-bezier(.22,.61,.36,1), background .25s, border-color .25s;
}
.trust-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(197,241,53,0.4);
}

/* Carte offre rappel (pages secteur) */
.sector-offer {
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s;
}
.sector-offer:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(49,54,46,0.12);
}

/* Overlay des vignettes secteurs/villes : éclaircissement au survol */
.secteur-card .secteur-overlay,
.ville-card .ville-card-overlay { transition: background .35s; }
.secteur-card:hover .secteur-overlay {
  background: linear-gradient(to top, rgba(26,30,22,0.82) 0%, rgba(26,30,22,0.12) 55%, transparent 100%);
}

/* Boutons : retour tactile au clic (press) */
.btn-primary:active,
.btn-dark:active,
.btn-nav:active,
.btn-offre:active,
.modal-submit:active,
.btn-secondary:active,
.btn-outline-dark:active { transform: translateY(1px); }

/* FAQ : la question réagit au survol */
.faq-item summary { transition: color .2s; }
.faq-item summary:hover { color: var(--accent-dark); }

/* Sous mouvement réduit : on neutralise les translations de survol */
@media (prefers-reduced-motion: reduce) {
  .avantage-card:hover,
  .serenite-card:hover,
  .pain-card:hover,
  .trust-item:hover,
  .sector-offer:hover { transform: none; }
  .avantage-card:hover .avantage-icon svg,
  .pain-card:hover .pain-icon { transform: none; }
}

/* ============================================================
   PAGE OPTIONS & SERVICES COMPLÉMENTAIRES
   ============================================================ */

/* Sections */
.options-section { padding: 80px 40px; background: var(--light); scroll-margin-top: 112px; }
.options-section-alt { scroll-margin-top: 112px; }
.options-section-alt { background: var(--dark); }
.options-section-inner { max-width: 1200px; margin: 0 auto; }
.options-section-head { max-width: 640px; margin-bottom: 48px; }
.options-section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
  margin: 10px 0 12px;
}
.options-section-head p { font-size: 16px; color: var(--gray); line-height: 1.65; }
/* Sections dark */
.options-section-alt .options-section-head h2 { color: var(--light); }
.options-section-alt .options-section-head p { color: var(--gray-light); }

/* Barre d'ancres catégories */
.options-anchors {
  background: var(--light);
  border-bottom: 1px solid var(--border-dark);
  position: sticky;
  top: 64px;
  z-index: 10;
}
.options-anchors-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.options-anchors-inner::-webkit-scrollbar { display: none; }
.options-anchors-select { display: none; }
.options-anchors-select select {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--light);
  border: none;
  border-bottom: 2px solid var(--accent);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.options-anchor {
  display: block;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.options-anchor:hover,
.options-anchor.is-active { color: var(--dark); border-bottom-color: var(--accent); }

/* Grilles — flexbox pour centrer la dernière rangée incomplète */
.options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}
.options-grid .option-card { flex: 0 0 calc((100% - 56px) / 3); min-width: 0; }
.options-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* Carte option */
.option-card {
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.option-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.10); }
.options-section-alt .option-card { border-color: rgba(255,255,255,0.08); }
.option-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--dark-2);
}
.option-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.option-card:hover .option-card-img img { transform: scale(1.04); }
.option-card-img img:not([src]) { opacity: 0; }
.option-card-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.option-card-body h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.option-card-body p { font-size: 14px; color: var(--gray); line-height: 1.65; flex: 1; margin-bottom: 14px; }
.option-price { font-size: 13px !important; font-weight: 600; color: #5a7c0e !important; margin-bottom: 6px !important; flex: 0 !important; }
.option-cta { display: inline-block; font-size: 13px; font-weight: 600; color: #5a7c0e; text-decoration: none; margin-top: auto; transition: opacity 0.15s; }
.option-cta:hover { opacity: 0.75; }

/* CTA bas de page */
.options-cta-section { background: var(--dark-3); padding: 80px 40px; text-align: center; }
.options-cta-inner { max-width: 620px; margin: 0 auto; }
.options-cta-inner h2 { font-family: var(--font-head); font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--light); letter-spacing: -0.01em; margin-bottom: 16px; }
.options-cta-inner p { font-size: 16px; color: var(--gray-light); line-height: 1.65; margin-bottom: 36px; }
.options-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Nav active state */
.nav-link-active { color: var(--accent) !important; }

/* Responsive */
@media (max-width: 960px) {
  .options-grid .option-card { flex: 0 0 calc((100% - 28px) / 2); }
  .options-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .options-anchors-inner { padding: 0 20px; }
}
@media (max-width: 640px) {
  .options-anchors { top: 56px; }
  .options-anchors-inner { display: none; }
  .options-anchors-select { display: block; }
  .options-section { padding: 56px 20px; }
  .options-section-head { margin-bottom: 32px; }
  .options-grid .option-card { flex: 0 0 100%; }
  .options-grid-2 { grid-template-columns: 1fr; gap: 20px; }
  .option-card-body { padding: 18px 18px 22px; }
  .options-cta-section { padding: 60px 20px; }
  .options-cta-btns { flex-direction: column; align-items: center; }
  .options-cta-btns .btn { width: 100%; max-width: 320px; text-align: center; }
}
