/* ==========================================================================
   FRESH SERVICES — Feuille de style principale
   Sommaire :
   1.  Variables & reset
   2.  Typographie
   3.  Layout & utilitaires
   4.  Décorations (sparkle, swoosh, grain)
   5.  Header & navigation
   6.  Boutons & badges
   7.  Photos & placeholders
   8.  Hero (à bord perdu)
   9.  Cartes bento (prestations)
   10. Sections alternées (fond blanc)
   11. Listes graphiques (pourquoi)
   12. Photo-band
   13. Étapes numérotées
   14. Zone d'intervention (journey)
   15. Bandeau CTA
   16. Page Qui sommes-nous
   17. Footer
   18. Pages légales
   19. Formulaire de contact
   20. Animations & révélations
   21. Responsive
   ========================================================================== */

@import url("fonts.css");

/* ------------------------------------------------------------------
   1. Variables & reset
   ------------------------------------------------------------------ */
:root {
  /* Palette principale (teinte RVB) */
  --blue:      #0602b7;
  --blue-dark: #0400a0;
  --blue-mid:  #0501ac;
  --blue-light:#1a12d4;
  --white:     #ffffff;
  --off-white: #f4f4ff; /* fond blanc des sections claires — légère teinte bleue */

  /* Surfaces sur fond bleu */
  --surface-1: rgba(255,255,255,.07);
  --surface-2: rgba(255,255,255,.12);
  --surface-3: rgba(255,255,255,.18);
  --border-1:  rgba(255,255,255,.14);
  --border-2:  rgba(255,255,255,.28);
  --text-muted: rgba(255,255,255,.74);
  --text-soft:  rgba(255,255,255,.50);

  /* Surfaces sur fond blanc */
  --light-surface: rgba(15,0,211,.05);
  --light-border:  rgba(15,0,211,.14);
  --light-text:    rgba(15,0,211,.72);

  /* Typo */
  --font-display: "roc-grotesk","Outfit","Fredoka",system-ui,sans-serif;
  --font-text:    "Inter",system-ui,-apple-system,sans-serif;

  /* Layout */
  --radius-sm:   14px;
  --radius-md:   22px;
  --radius-lg:   32px;
  --radius-pill: 999px;
  --container:   1180px;
  --gutter:      clamp(20px,5vw,56px);
  --ease:        cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
p  { margin: 0 0 1em; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.section--light :focus-visible { outline-color: var(--blue); }

/* ------------------------------------------------------------------
   2. Typographie
   ------------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem,5.4vw,4.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem,3.4vw,2.9rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.15rem,1.7vw,1.4rem); }

p { color: var(--text-muted); }

.section--light p { color: var(--light-text); }
.section--light h1,
.section--light h2,
.section--light h3,
.section--light h4 { color: var(--blue); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.section--light .eyebrow { color: rgba(15,0,211,.45); }

.section-head {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-head.is-left { margin-left: 0; text-align: left; }

/* ------------------------------------------------------------------
   3. Layout & utilitaires
   ------------------------------------------------------------------ */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  z-index: 1;
  padding: clamp(64px,10vw,120px) 0;
}

.section--light { background: var(--off-white); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--white); color: var(--blue);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ------------------------------------------------------------------
   4. Décorations — grain + sparkles très discrets
   ------------------------------------------------------------------ */

/* Grain subtil fixe */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: .3;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.3'/></svg>");
}

/* Sparkle générique */
.sparkle         { display: inline-block; flex-shrink: 0; }
.sparkle--bg     { position: absolute; pointer-events: none; z-index: 0; }

/* Swoosh décoratif */
.swoosh-deco { display: block; margin: -4px auto 0; overflow: visible; }
.section--light .swoosh-deco path { stroke: rgba(15,0,211,.18) !important; }

/* ------------------------------------------------------------------
   5. Header & navigation
   ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4,0,160,.76);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-1);
}

/* Header blanc — page d'accueil uniquement */
.site-header--light {
  background: rgba(255,255,255,.92);
  border-bottom-color: rgba(6,2,183,.12);
}
.site-header--light .main-nav__list a { color: var(--blue); }
.site-header--light .main-nav__list a::after { background: var(--blue); }
.site-header--light .btn--primary     { background: var(--blue); color: var(--white); box-shadow: 0 8px 24px rgba(6,2,183,.25); }
.site-header--light .btn--ghost       { color: var(--blue); border-color: rgba(6,2,183,.3); }
.site-header--light .btn--ghost:hover { background: rgba(6,2,183,.06); }
.site-header--light .nav-toggle       { border-color: rgba(6,2,183,.3); }
.site-header--light .nav-toggle span,
.site-header--light .nav-toggle span::before,
.site-header--light .nav-toggle span::after { background: var(--blue); }

.site-header__inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  max-width: var(--container); margin: 0 auto;
}

.logo-link { display: flex; align-items: center; }
.logo-link img { height: 60px; width: auto; } /* logo agrandi */

.main-nav {
  position: relative;
  display: flex; align-items: center;
  gap: clamp(20px,3vw,40px);
}

.main-nav__list { display: flex; gap: clamp(18px,2.6vw,32px); }

.main-nav__list a {
  font-weight: 500; font-size: .95rem;
  position: relative; padding: 6px 0;
}

.main-nav__list a::after {
  content: ""; position: absolute;
  left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--white);
  transition: width .3s var(--ease);
}

.main-nav__list a:hover::after,
.main-nav__list a[aria-current="page"]::after { width: 100%; }

.nav-toggle {
  display: none; background: none;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-pill);
  width: 44px; height: 44px; position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute;
  left: 12px; right: 12px; height: 2px;
  background: var(--white);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle span       { top: 21px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] span            { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before    { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after     { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------
   6. Boutons & badges
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center;
  justify-content: center; gap: .5em;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  border: 1px solid transparent;
}

.btn--primary { background: var(--white); color: var(--blue); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,.26); }
.btn--ghost   { background: transparent; color: var(--white); border-color: var(--border-2); }
.btn--ghost:hover { background: var(--surface-1); transform: translateY(-2px); }
.btn--block   { width: 100%; }

/* Boutons sur fond blanc */
.section--light .btn--primary { background: var(--blue); color: var(--white); }
.section--light .btn--ghost   { color: var(--blue); border-color: var(--light-border); }
.section--light .btn--ghost:hover { background: var(--light-surface); }

.cta-group { display: flex; flex-wrap: wrap; gap: 14px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px 8px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-1); border: 1px solid var(--border-1);
  font-size: .85rem; font-weight: 600;
}

/* ------------------------------------------------------------------
   7. Photos & placeholders
   ------------------------------------------------------------------ */
.photo-placeholder {
  background: var(--surface-1);
  border: 1px dashed rgba(255,255,255,.22);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: var(--text-soft);
  text-align: center; overflow: hidden; position: relative;
}
.photo-placeholder svg { opacity: .32; }
.photo-placeholder span { opacity: .5; font-size: .8rem; }
.photo-real { border-radius: var(--radius-lg); object-fit: cover; width: 100%; height: 100%; }

/* ------------------------------------------------------------------
   8. Hero — photo à bord perdu à droite
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(72px,12vw,140px);
  padding-bottom: clamp(72px,10vw,140px);
  min-height: 88vh;
  display: flex;
  align-items: center;
}

/* Zone de texte dans le .wrap standard */
.hero__content { max-width: 54%; position: relative; z-index: 2; }

.hero__badge   { margin-bottom: 28px; }
.hero h1       { margin-bottom: 26px; }
.hero__lead    { font-size: clamp(1.05rem,1.6vw,1.28rem); max-width: 540px; margin-bottom: 36px; }

/* Photo absolue à droite — bord perdu */
.hero__photo {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: clamp(340px,44vw,620px);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden;
  z-index: 1;
}

.hero__photo.photo-placeholder {
  border-right: none;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

/* Sparkles hero — seulement 2, très discrets */
.hero__sparkle-a {
  top: 8%; right: 46%;
  width: clamp(40px,5vw,80px);
  opacity: .09;
}
.hero__sparkle-b {
  bottom: 12%; left: 1%;
  width: 28px; opacity: .07;
}

/* ------------------------------------------------------------------
   9. Cartes bento (prestations)
   ------------------------------------------------------------------ */
.bento {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}

.bento-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  /* fond bleu sur sections bleues */
  background: var(--surface-1);
  border: 1px solid var(--border-1);
}

/* Sur fond blanc : carte avec fond blanc + bordure bleue subtile */
.section--light .bento-card {
  background: var(--white);
  border-color: var(--light-border);
  box-shadow: 0 4px 24px rgba(15,0,211,.07);
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(9,0,168,.28);
}

.section--light .bento-card:hover {
  border-color: rgba(15,0,211,.28);
  box-shadow: 0 20px 48px rgba(15,0,211,.13);
}

/* Zone icône — toujours fond bleu (pictos blancs visibles sur bleu et blanc) */
.bento-card__icon-zone {
  background: var(--blue);
  padding: 32px 28px 26px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.12);
  position: relative; overflow: hidden;
}

/* Sparkle discret dans la zone */
.bento-card__icon-zone::after {
  content: "";
  position: absolute; top: 14px; right: 18px;
  width: 18px; height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><path d='M32 6c2 13 13 24 26 26-13 2-24 13-26 26-2-13-13-24-26-26C19 30 30 19 32 6Z' fill='white'/></svg>") no-repeat center/contain;
  opacity: .1;
}

.bento-card__picto {
  width: 64px; height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Numéros 01/02/03/04 — très gras, police display en 900 */
.bento-card__num {
  font-family: var(--font-display);
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  opacity: .12;
  user-select: none;
  margin-left: auto;
  letter-spacing: -.04em;
}

.bento-card__body { padding: 24px 28px 28px; flex: 1; }
.bento-card h3    { font-size: 1.22rem; margin-bottom: 10px; }
.bento-card p     { margin: 0; font-size: .95rem; line-height: 1.55; }

/* Sur fond blanc : textes en bleu dans les cartes */
.section--light .bento-card h3 { color: var(--blue); }
.section--light .bento-card p  { color: var(--light-text); }

/* ------------------------------------------------------------------
   10. Sections alternées — pas de styles spécifiques supplémentaires
       (gérés via .section--light ci-dessus)
   ------------------------------------------------------------------ */

/* ------------------------------------------------------------------
   11. Listes graphiques (pourquoi nous choisir)
   ------------------------------------------------------------------ */
.reasons {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 0;
}

.reason {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 20px 22px 0;
  border-bottom: 1px solid var(--border-1);
}
.reason:nth-child(odd) { padding-right: 32px; }

.reason__icon { flex-shrink: 0; width: 28px; height: 28px; margin-top: 3px; }
.reason h3    { font-size: 1.08rem; margin-bottom: 3px; }
.reason p     { margin: 0; font-size: .93rem; }

/* ------------------------------------------------------------------
   12. Photo-band
   ------------------------------------------------------------------ */
.photo-band { padding: 0; overflow: hidden; }

.photo-band__inner {
  height: clamp(200px,28vw,400px);
  width: 100%; position: relative; overflow: hidden;
}

.photo-band__placeholder {
  width: 100%; height: 100%;
  background: var(--blue-mid);
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-direction: column;
  color: var(--text-soft); font-size: .82rem;
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
}
.photo-band__placeholder svg { opacity: .25; }
.photo-band__img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ------------------------------------------------------------------
   13. Étapes numérotées
   ------------------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.step {
  padding: 34px 28px 30px;
  border-radius: var(--radius-lg);
  background: var(--surface-1); border: 1px solid var(--border-1);
  position: relative; overflow: hidden;
}

/* Sur fond blanc */
.section--light .step {
  background: var(--white);
  border-color: var(--light-border);
  box-shadow: 0 4px 24px rgba(15,0,211,.07);
}

.step::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue-light);
  opacity: .6;
}

.section--light .step::before { background: var(--blue); opacity: .35; }

/* Numéros très gras — Inter/Mono pour contraste avec le texte display */
.step__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--white);
  opacity: .9;
  display: block;
  margin-bottom: 18px;
}

.section--light .step__num { color: var(--blue); opacity: 1; }

.step h3  { margin-bottom: 8px; }
.step p   { margin: 0; font-size: .95rem; }

.section--light .step h3 { color: var(--blue); }
.section--light .step p  { color: var(--light-text); }

/* ------------------------------------------------------------------
   14. Zone d'intervention — étiquettes de villes avec hover
   ------------------------------------------------------------------ */
.zone-section { overflow: hidden; }

.zone-intro {
  max-width: 640px; margin: 0 auto 48px;
  text-align: center;
}

/* Grille de cartes de villes — 2 lignes de 5 cartes portrait */
.city-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px 18px;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 0 32px;
}

.city-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  aspect-ratio: 2 / 3;
  padding: 28px 16px 26px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.24);
  color: var(--white);
  cursor: default;
  user-select: none;
  position: relative;
  overflow: hidden;
  transition: background .32s var(--ease),
              border-color .32s var(--ease),
              box-shadow .32s var(--ease),
              color .32s var(--ease),
              transform .32s var(--ease);
}

/* Rotations STRICTEMENT alternées : impairs → gauche, pairs → droite */
.city-card:nth-child(odd)  { transform: rotate(-4deg)  translateY(8px);  }
.city-card:nth-child(even) { transform: rotate(4deg)   translateY(-8px); }
/* Légère variation sur chaque ligne pour naturel */
.city-card:nth-child(1)  { transform: rotate(-3.5deg) translateY(7px);  }
.city-card:nth-child(2)  { transform: rotate(4.5deg)  translateY(-9px); }
.city-card:nth-child(3)  { transform: rotate(-5deg)   translateY(10px); }
.city-card:nth-child(4)  { transform: rotate(3deg)    translateY(-6px); }
.city-card:nth-child(5)  { transform: rotate(-4deg)   translateY(8px);  }
.city-card:nth-child(6)  { transform: rotate(5deg)    translateY(-10px);}
.city-card:nth-child(7)  { transform: rotate(-3deg)   translateY(6px);  }
.city-card:nth-child(8)  { transform: rotate(4.5deg)  translateY(-8px); }
.city-card:nth-child(9)  { transform: rotate(-4.5deg) translateY(9px);  }
.city-card:nth-child(10) { transform: rotate(3.5deg)  translateY(-5px); }

/* Coin sup gauche — numéro */
.city-card__corner {
  position: absolute;
  top: 11px; left: 13px;
  font-family: var(--font-display);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  opacity: .45;
  line-height: 1;
  transition: opacity .32s var(--ease);
}

/* Icône centrale — picto SVG externe */
.city-card__icon {
  width: 88px; height: 88px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: .9;
  transition: opacity .32s var(--ease), transform .32s var(--ease), filter .32s var(--ease);
}

.city-card__icon img {
  width: 100%; height: 100%;
  object-fit: contain;
}

/* Nom de la ville */
.city-card__name {
  font-family: var(--font-display);
  font-size: clamp(.78rem, .9vw, .95rem);
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
  transition: color .32s var(--ease);
}

/* Hover — carte se redresse et se soulève */
.city-card:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--blue);
  transform: rotate(0deg) translateY(-14px) scale(1.07) !important;
  box-shadow: 0 24px 52px rgba(6,2,183,.42);
  z-index: 5;
}

.city-card:hover .city-card__corner  { opacity: .30; }
.city-card:hover .city-card__icon    { opacity: 1; transform: scale(1.08); filter: brightness(0); }
.city-card:hover .city-card__name    { color: var(--blue); }

/* Cartes extrémités (Toulon, La Londe) légèrement accentuées */
.city-card--anchor {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.24);
}

/* Reveal échelonné */
[data-reveal-group] .city-card:nth-child(1)  { transition-delay: .04s; }
[data-reveal-group] .city-card:nth-child(2)  { transition-delay: .09s; }
[data-reveal-group] .city-card:nth-child(3)  { transition-delay: .14s; }
[data-reveal-group] .city-card:nth-child(4)  { transition-delay: .19s; }
[data-reveal-group] .city-card:nth-child(5)  { transition-delay: .24s; }
[data-reveal-group] .city-card:nth-child(6)  { transition-delay: .29s; }
[data-reveal-group] .city-card:nth-child(7)  { transition-delay: .34s; }
[data-reveal-group] .city-card:nth-child(8)  { transition-delay: .39s; }
[data-reveal-group] .city-card:nth-child(9)  { transition-delay: .44s; }
[data-reveal-group] .city-card:nth-child(10) { transition-delay: .49s; }

/* CTA band fond blanc */
.cta-band.section--light {
  background: var(--off-white);
  border-color: var(--light-border);
}

@media (max-width: 900px) {
  .city-cards { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .city-cards { grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
  .city-card:nth-child(n) { transform: none; }
}

/* ------------------------------------------------------------------
   15. Bandeau CTA
   ------------------------------------------------------------------ */
.cta-band {
  text-align: center;
  background: linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,0));
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  overflow: hidden;
}
.cta-band h2 { margin-bottom: 28px; }

/* ------------------------------------------------------------------
   16. Page Qui sommes-nous
   ------------------------------------------------------------------ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px,6vw,80px);
  align-items: start;
}

.about-photo {
  aspect-ratio: 3/4; max-height: 600px;
  border-radius: var(--radius-lg); overflow: hidden;
}

.about-content p { font-size: 1.05rem; }

/* ------------------------------------------------------------------
   17. Footer
   ------------------------------------------------------------------ */
.site-footer {
  background: var(--blue-dark);
  padding: clamp(48px,7vw,72px) 0 28px;
  border-top: 1px solid var(--border-1);
}

.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}

.footer-logo img  { height: 50px; width: auto; margin-bottom: 16px; }
.footer-grid p,
.footer-grid li   { font-size: .92rem; }
.footer-grid h4   {
  font-family: var(--font-text); font-size: .82rem;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-soft); margin-bottom: 14px;
}
.footer-grid li  { margin-bottom: 10px; }
.footer-grid a:hover { text-decoration: underline; }

.footer-bottom {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--border-1);
  font-size: .82rem; color: var(--text-soft);
}
.footer-bottom__links { display: flex; gap: 18px; }

/* ------------------------------------------------------------------
   18. Pages légales
   ------------------------------------------------------------------ */
.page-hero { padding-top: clamp(60px,10vw,110px); padding-bottom: clamp(40px,6vw,64px); }

.legal-content { max-width: 760px; }
.legal-content h2 { margin-top: 2.2em; font-size: 1.4rem; }
.legal-content p,
.legal-content li { font-size: .96rem; }
.legal-content li { margin-bottom: .5em; }
.legal-content ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1.2em; }

/* ------------------------------------------------------------------
   19. Formulaire de contact
   ------------------------------------------------------------------ */
.contact-layout {
  display: grid; grid-template-columns: .8fr 1.2fr;
  gap: clamp(32px,5vw,64px); align-items: start;
}

.contact-info {
  background: var(--surface-1); border: 1px solid var(--border-1);
  border-radius: var(--radius-lg); padding: clamp(26px,3vw,34px);
}

/* Contact sur fond blanc */
.section--light .contact-info {
  background: var(--white);
  border-color: var(--light-border);
  box-shadow: 0 4px 24px rgba(6,2,183,.07);
}
.section--light .contact-info__item svg { stroke: var(--blue); }
.section--light .contact-info strong { color: var(--blue); }

.section--light .contact-form {
  background: var(--white);
  border-color: var(--light-border);
  box-shadow: 0 4px 24px rgba(6,2,183,.07);
}
.section--light .field label { color: var(--blue); }
.section--light .field input,
.section--light .field select,
.section--light .field textarea {
  background: var(--off-white);
  color: var(--blue);
  border-color: var(--light-border);
}
.section--light .field input::placeholder,
.section--light .field textarea::placeholder { color: rgba(6,2,183,.38); }
.section--light .field input:focus,
.section--light .field select:focus,
.section--light .field textarea:focus {
  outline-color: var(--blue);
  background: var(--white);
  border-color: var(--blue);
}
.section--light .field--checkbox label { color: var(--light-text); }
.section--light .field--checkbox a { color: var(--blue); text-decoration: underline; }

.contact-info__item {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px;
}
.contact-info__item svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.contact-info__item strong { display: block; margin-bottom: 2px; }
.contact-info__item p { margin: 0; font-size: .92rem; }

.contact-form {
  background: var(--surface-1); border: 1px solid var(--border-1);
  border-radius: var(--radius-lg); padding: clamp(26px,4vw,40px);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 8px; }
.field input,
.field select,
.field textarea {
  width: 100%; padding: 13px 16px;
  border-radius: var(--radius-sm); border: 1px solid var(--border-2);
  background: rgba(255,255,255,.08); color: var(--white);
  font-family: inherit; font-size: .96rem;
}
.field select option        { color: var(--blue); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,.42); }
.field input:focus,
.field select:focus,
.field textarea:focus        { outline: 2px solid var(--white); outline-offset: 1px; background: rgba(255,255,255,.12); }

.field--checkbox { display: flex; align-items: flex-start; gap: 10px; }
.field--checkbox input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; }
.field--checkbox label { margin: 0; font-weight: 400; font-size: .88rem; }

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

.form-alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 22px; font-size: .92rem; border: 1px solid var(--border-2); }
.form-alert--success { background: rgba(255,255,255,.16); }
.form-alert--error   { background: rgba(255,90,90,.18); border-color: rgba(255,120,120,.5); }

/* ------------------------------------------------------------------
   Modal / Popup confirmation
   ------------------------------------------------------------------ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4,0,160,.72);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay[hidden] { display: none; }

.modal {
  background: var(--blue);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: clamp(32px,5vw,56px);
  max-width: 460px; width: 100%;
  text-align: center;
  animation: modal-in .35s var(--ease) both;
}
.modal__icon { width: 64px; height: 64px; margin: 0 auto 24px; display: block; }
.modal h2    { margin-bottom: 14px; }
.modal p     { margin-bottom: 32px; }

@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------
   20. Animations & révélations
   ------------------------------------------------------------------ */
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Délais en cascade pour les groupes */
[data-reveal-group] > *:nth-child(1) { transition-delay: 0s; }
[data-reveal-group] > *:nth-child(2) { transition-delay: .1s; }
[data-reveal-group] > *:nth-child(3) { transition-delay: .2s; }
[data-reveal-group] > *:nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal]               { opacity: 1; transform: none; }
  .zone-journey__fill         { transition: none; }
  .zone-city__label,
  .zone-city__dot             { transition: none; opacity: 1; transform: scale(1) translateY(0); }
}

/* ------------------------------------------------------------------
   21. Responsive
   ------------------------------------------------------------------ */
@media (max-width: 980px) {
  .hero__content { max-width: 100%; }
  .hero__photo   { display: none; }
  .bento         { grid-template-columns: 1fr; }
  .reasons       { grid-template-columns: 1fr; }
  .steps         { grid-template-columns: 1fr; }
  .about-layout  { grid-template-columns: 1fr; }
  .contact-layout{ grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .zone-journey__cities { flex-wrap: wrap; justify-content: center; gap: 24px 32px; }
  .zone-journey__rail, .zone-journey__fill { display: none; }
  .zone-city, .zone-city:nth-child(even) { flex-direction: column; }
  /* En mobile, afficher les villes directement */
  .zone-city__label, .zone-city__dot { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 720px) {
  .main-nav__list, .main-nav .cta-group { display: none; }

  .main-nav.is-open {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--blue-dark);
    border-bottom: 1px solid var(--border-1);
    flex-direction: column;
    padding: 24px var(--gutter) 32px;
    z-index: 10;
  }
  .main-nav.is-open .main-nav__list  { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
  .main-nav.is-open .cta-group       { display: flex; }
  .nav-toggle                        { display: block; }

  .form-row    { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .about-photo   { max-height: 380px; }

  /* SURCHARGE FAB MOBILE */
  .site-header--light .main-nav__list a {
      color: var(--white);
  }
  .site-header--light .nav-toggle[aria-expanded="false"] {
      border-color: var(--blue);
  }
  .site-header--light .nav-toggle[aria-expanded="true"] {
      border-color: var(--white);
  }
  .nav-toggle span::before,                                                    
  .nav-toggle span::after {
    left: 0;
    right: 0;
  }
  .main-nav.is-open .nav-toggle span {
    background: transparent;
  }   
  .main-nav.is-open .nav-toggle span::before { 
    background: var(--white);
    transform: translateY(7px) rotate(45deg);
  }                                  
  .main-nav.is-open .nav-toggle span::after {
    background: var(--white);
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header--light .nav-toggle[aria-expanded="true"] span::before,
  .site-header--light .nav-toggle[aria-expanded="true"] span::after {
      background: var(--white);
  }
}



  /* SURCHARGE FAB  */

.logo-texte {                                                                
    display: inline;
    position: relative;
    top: 4px;
    height: 1.7em;                                                               
    width: auto;
    vertical-align: bottom;                                                  
}
.cta-band h2 {
    font-size: 1.7rem;
}
