/* ==========================================================================
   FODEM VOYAGES — Thème WordPress (feuille de style principale)
   Charte graphique 2026 : Carmin #800000 · Émeraude #004d00 · Noir · Blanc
   Typo : Outfit (titres) · Arial (texte)
   ========================================================================== */
:root {
  --carmin: #800000;
  --carmin-600: #9a1a1a;
  --carmin-50: #fbf2f2;
  --emeraude: #004d00;
  --emeraude-700: #003a00;
  --emeraude-500: #1d6b1d;
  --emeraude-50: #eef6ee;
  --noir: #000000;
  --asphalte: #262624;          /* gris du pneu du logo */
  --blanc: #ffffff;
  --gris-50: #f6f7f6;
  --gris-100: #eceeec;
  --gris-300: #c9cdc9;
  --gris-600: #5b605b;
  --texte: #161816;

  --f-titre: 'Outfit', Arial, Helvetica, sans-serif;
  --f-texte: Arial, Helvetica, sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 24px;
  --ombre: 0 10px 30px -12px rgba(0, 0, 0, .22);
  --ombre-forte: 0 24px 60px -20px rgba(0, 0, 0, .35);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--blanc); color: var(--texte);
  font-family: var(--f-texte); font-size: 1rem; line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emeraude); }
a:hover { color: var(--carmin); }
h1, h2, h3, h4 { font-family: var(--f-titre); line-height: 1.15; margin: 0 0 .5em; color: var(--noir); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--emeraude); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--emeraude); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.section--gris { background: var(--gris-50); }
.section--vert { background: var(--emeraude); color: #fff; }
.section--vert h2, .section--vert h3 { color: #fff; }

/* Sur-titre : reprend les deux barres "route" du logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-titre); font-weight: 700; font-size: .85rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--carmin); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 10px; border-block: 3px solid currentColor; }
.section--vert .eyebrow { color: #fff; }
.lead { font-size: 1.12rem; color: var(--gris-600); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Boutons (CTA verts, texte blanc — charte) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-titre); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 24px; border-radius: 10px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--emeraude); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 77, 0, .6); }
.btn--primary:hover { background: var(--emeraude-700); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--noir); border-color: var(--noir); }
.btn--ghost:hover { background: var(--noir); color: #fff; }
.btn--light { background: #fff; color: var(--emeraude); }
.btn--light:hover { background: var(--emeraude-50); color: var(--emeraude-700); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.7); background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--emeraude); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 16px; font-size: .92rem; }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--noir); color: #fff; font-size: .86rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #cfe6cf; }
.topbar__info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; }
@media (max-width: 760px) { .topbar__hide-sm { display: none !important; } }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--gris-100); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(0,0,0,.35); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
/* Logo : ratio officiel conservé (height auto) + zone de protection (padding) */
.brand { display: block; padding: 8px 0; flex: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block; position: relative; padding: 10px 13px; font-family: var(--f-titre); font-weight: 600;
  font-size: .98rem; color: var(--noir); text-decoration: none; border-radius: 8px;
}
.nav__link:hover { color: var(--carmin); background: var(--carmin-50); }
/* Onglet de page active en rouge — charte */
.nav__link[aria-current="page"] { color: var(--carmin); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 3px; background: var(--carmin); border-radius: 2px;
}
.nav__cta { margin-left: 12px; }
.burger { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--noir); }
.burger svg { width: 30px; height: 30px; }

@media (max-width: 1080px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px var(--gutter) 24px; border-top: 1px solid var(--gris-100); box-shadow: var(--ombre-forte);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .2s; max-height: calc(100vh - 84px); overflow: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; }
  .nav__link { padding: 14px 8px; font-size: 1.1rem; border-bottom: 1px solid var(--gris-100); border-radius: 0; }
  .nav__link[aria-current="page"]::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 4px; height: auto; }
  .nav__link[aria-current="page"] { padding-left: 16px; }
  .nav__cta { margin: 16px 0 0; }
  .nav__cta .btn { width: 100%; }
}
@media (max-width: 760px) {

  .header .container { min-height: 76px; }
}

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #e9f2f7 0%, #f7fafb 60%, #ffffff 100%); }
.hero__rings { position: absolute; inset: 0; pointer-events: none; }
/* Anneaux : formes d'accompagnement issues du pneu du logo */
.ring { position: absolute; border-radius: 50%; border-style: solid; pointer-events: none; }
.ring--rouge { width: min(70vw, 820px); aspect-ratio: 1; border-width: clamp(40px, 6vw, 90px); border-color: var(--carmin); right: -16%; top: -34%; }
.ring--vert { width: min(50vw, 540px); aspect-ratio: 1; border-width: clamp(30px, 4.4vw, 62px); border-color: var(--emeraude); left: -24%; bottom: -60%; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(44px, 7vw, 96px) clamp(80px, 9vw, 120px); }
.hero--sans-photo .hero__grid { min-height: 440px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .vert, h1 .vert, h2 .vert { color: var(--emeraude); }
.hero h1 .rouge, h1 .rouge, h2 .rouge { color: var(--carmin); }
.hero .lead { color: #3c413c; margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { position: relative; }
.hero--sans-photo .oiseaux { top: -40px; right: 30%; }
@media (max-width: 900px) { .hero--sans-photo .hero__grid { min-height: 0; } .hero--sans-photo .hero__visual:empty { display: none; } }
.hero__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--ombre-forte); aspect-ratio: 4 / 3; background: var(--gris-100); border: 6px solid #fff; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.oiseaux { position: absolute; right: 6%; top: -64px; display: flex; gap: 22px; z-index: 3; }
.oiseau { width: 46px; aspect-ratio: 327/172; background: var(--noir); -webkit-mask: url(../img/logo/oiseau.png) center/contain no-repeat; mask: url(../img/logo/oiseau.png) center/contain no-repeat; }
.oiseau:nth-child(2) { width: 30px; transform: translateY(-22px); opacity: .8; }
.hero .route { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .ring--rouge { right: -40vw; top: auto; bottom: -10vw; width: 90vw; border-width: 38px; }
  .ring--vert { display: none; }
  .oiseaux { top: -48px; right: 8%; }
}

/* Chaussée : forme d'accompagnement (bande noire + ligne blanche pointillée) */
.route { height: 64px; background: var(--noir); position: relative; }
.route::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, #fff 0 36px, transparent 36px 64px); opacity: .95; }
.route--fine { height: 26px; }
.route--fine::after { height: 2px; background: repeating-linear-gradient(90deg, #fff 0 18px, transparent 18px 34px); }
.hero .route { position: relative; z-index: 1; }
/* Deux barres « route » du logo */
.barres { height: 22px; border-block: 5px solid var(--noir); }


/* ---------- Réservation rapide ---------- */
.booking-wrap { position: relative; z-index: 5; padding-block: clamp(40px, 6vw, 72px); }
.booking-wrap--overlap { padding-block: 0; margin-top: -8px; }
.booking-wrap--overlap .booking { transform: translateY(-48px); margin-bottom: -24px; }
.booking {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--ombre-forte); padding: clamp(20px, 3vw, 32px);
  border-top: 6px solid var(--emeraude);
}
.booking__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.booking__head h2 { font-size: 1.5rem; margin: 0; }
.booking__head p { margin: 0; color: var(--gris-600); font-size: .92rem; }
.booking__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; align-items: end; }
.booking__grid .c-2 { grid-column: span 2; } .booking__grid .c-3 { grid-column: span 3; }
.booking__grid .c-4 { grid-column: span 4; } .booking__grid .c-5 { grid-column: span 5; } .booking__grid .c-6 { grid-column: span 6; }
.booking__actions { display: flex; gap: 10px; }
.booking__actions .btn--primary { flex: 1; }
.btn--icon { padding-inline: 16px; }
.booking__note { margin: 14px 0 0; font-size: .88rem; color: var(--gris-600); }
@media (max-width: 1080px) { .booking__grid { grid-template-columns: repeat(2, 1fr); } .booking__grid > * { grid-column: auto !important; } .booking__grid .c-6, .booking__grid .c-5, .booking__grid .c-4, .booking__actions { grid-column: 1 / -1 !important; } }
@media (max-width: 520px) { .booking__grid { grid-template-columns: 1fr; } .booking__grid > * { grid-column: 1 / -1 !important; } }

/* Formulaires */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .label { font-family: var(--f-titre); font-weight: 600; font-size: .9rem; color: var(--noir); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--texte); background: var(--gris-50);
  border: 1.5px solid var(--gris-300); border-radius: 10px; padding: 12px 14px; min-height: 50px;
}
.field input, .field select { height: 50px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emeraude); background: #fff; box-shadow: 0 0 0 3px rgba(0,77,0,.15); }
.segmented { display: flex; background: var(--gris-50); border: 1.5px solid var(--gris-300); border-radius: 10px; padding: 4px; min-height: 50px; }
.segmented label { flex: 1; position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; }
.segmented span { display: flex; height: 100%; align-items: center; justify-content: center; padding: 8px 6px; border-radius: 7px; font-family: var(--f-titre); font-weight: 600; font-size: .92rem; cursor: pointer; text-align: center; }
.segmented input:checked + span { background: var(--emeraude); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--emeraude); outline-offset: 2px; }
.hint { font-size: .82rem; color: var(--gris-600); min-height: 1.2em; }

/* ---------- Atouts ---------- */
.atouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.atout { background: #fff; border: 1px solid var(--gris-100); border-radius: var(--r); padding: 28px; position: relative; overflow: hidden; }
.atout__icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; border: 6px solid var(--emeraude); color: var(--emeraude); margin-bottom: 18px; }
.atout__icon svg { width: 24px; height: 24px; }
.atout:nth-child(2) .atout__icon { border-color: var(--carmin); color: var(--carmin); }
.atout:nth-child(3) .atout__icon { border-color: var(--noir); color: var(--noir); }
.atout p { color: var(--gris-600); margin: 0; }
@media (max-width: 860px) { .atouts { grid-template-columns: 1fr; } }

/* ---------- Lignes ---------- */
.lignes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ligne { background: #fff; border-radius: var(--r-lg); box-shadow: var(--ombre); overflow: hidden; display: flex; flex-direction: column; }
.ligne__top { background: var(--noir); color: #fff; padding: 24px 26px 20px; position: relative; }
.ligne__villes { display: flex; align-items: center; gap: 14px; font-family: var(--f-titre); font-weight: 800; font-size: clamp(1.4rem, 2.8vw, 1.9rem); }
.ligne__villes .fleche { flex: 1; height: 4px; background: repeating-linear-gradient(90deg, #fff 0 12px, transparent 12px 20px); position: relative; min-width: 40px; }
.ligne__villes .fleche::after { content: ""; position: absolute; right: -2px; top: 50%; width: 12px; height: 12px; border-top: 4px solid #fff; border-right: 4px solid #fff; transform: translateY(-50%) rotate(45deg); }
.ligne__sub { color: #cfd3cf; font-size: .92rem; margin-top: 4px; }
.ligne__body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.creneaux { display: grid; gap: 10px; }
.creneau { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--gris-50); border-left: 5px solid var(--emeraude); }
.creneau.soir { border-left-color: var(--carmin); }
.creneau__lieu { font-weight: 700; }
.creneau__lieu small { display: block; font-weight: 400; color: var(--gris-600); }
.heure { font-family: var(--f-titre); font-weight: 800; font-size: 1.35rem; color: var(--noir); white-space: nowrap; }
.heure--na { font-size: .92rem; font-weight: 600; color: var(--gris-600); }
.ligne__body .btn { margin-top: auto; }
@media (max-width: 860px) { .lignes { grid-template-columns: 1fr; } }

.tag { display: inline-block; font-family: var(--f-titre); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: var(--emeraude-50); color: var(--emeraude); }
.tag--rouge { background: var(--carmin-50); color: var(--carmin); }

/* ---------- Tableau horaires ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--gris-100); background: #fff; }
table.horaires { width: 100%; border-collapse: collapse; min-width: 560px; }
.horaires th, .horaires td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--gris-100); vertical-align: top; }
.horaires thead th { background: var(--noir); color: #fff; font-family: var(--f-titre); font-weight: 700; font-size: .95rem; }
.horaires tbody tr:last-child td { border-bottom: 0; }
.horaires td strong { font-family: var(--f-titre); font-size: 1.15rem; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service { background: #fff; border-radius: var(--r); padding: 26px; border: 1px solid var(--gris-100); display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.service__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--emeraude-50); color: var(--emeraude); display: grid; place-items: center; }
.service__icon svg { width: 30px; height: 30px; }
.service h3 { margin: 6px 0 0; }
.service p { color: var(--gris-600); margin: 0; font-size: .96rem; }
.service a.more { margin-top: auto; font-family: var(--f-titre); font-weight: 700; text-decoration: none; padding-top: 8px; }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* Engins */
.engins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.engin { background: #fff; border-radius: var(--r); border: 1px solid var(--gris-100); overflow: hidden; display: flex; flex-direction: column; }
.engin__img { aspect-ratio: 4 / 3; background: var(--gris-50); }
.engin__img img { width: 100%; height: 100%; object-fit: cover; }
.engin__noimg { height: 100%; display: grid; place-items: center; color: var(--emeraude); }
.engin__noimg svg { width: 56px; height: 56px; }
.engin__body { padding: 18px 20px 22px; }
.engin h3 { font-size: 1.1rem; margin: 0 0 4px; }
.engin p { margin: 0; color: var(--gris-600); font-size: .92rem; }
@media (max-width: 900px) { .engins { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .engins { grid-template-columns: 1fr; } }

/* ---------- Split (texte + visuel) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.visuel { position: relative; margin: 0; }
.visuel__ring { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; border: clamp(26px, 4vw, 48px) solid var(--carmin); right: -8%; top: -12%; }
.split--rev .visuel__ring { right: auto; left: -8%; border-color: var(--emeraude); }
.visuel__img { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--ombre); border: 6px solid #fff; background: var(--gris-100); }
.visuel__img img { width: 100%; height: 100%; object-fit: cover; }
.visuel figcaption { font-size: .88rem; color: var(--gris-600); margin-top: 10px; }
.visuel--logo .visuel__plate { background: #fff; border: 1px solid var(--gris-100); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); display: grid; place-items: center; }
.visuel--logo .visuel__plate img { max-width: 100%; }
.split--solo { grid-template-columns: minmax(0, 820px); }
.split--top { align-items: start; }
.split__body p:last-child { margin-bottom: 20px; }
.fv-ph { display: flex; gap: 12px; align-items: center; padding: 22px; border: 2px dashed var(--gris-300); border-radius: var(--r); background: rgba(255,255,255,.8); color: var(--gris-600); font-size: .95rem; min-height: 180px; }
.fv-ph svg { width: 28px; height: 28px; flex: none; color: var(--emeraude); }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 5px solid var(--emeraude); }

/* ---------- Agences ---------- */
.agences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.agence { background: #fff; border-radius: var(--r); border: 1px solid var(--gris-100); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.agence__ville { font-family: var(--f-titre); font-weight: 700; color: var(--emeraude); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.agence h3 { margin: 0; font-size: 1.35rem; }
.agence__lignes { display: grid; gap: 6px; font-size: .96rem; color: #353a35; }
.agence__lignes div { display: flex; gap: 10px; align-items: flex-start; }
.agence__lignes svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--carmin); }
.agence__tel { font-family: var(--f-titre); font-weight: 700; font-size: 1.15rem; color: var(--noir); text-decoration: none; }
.agence__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.agence--pro { border: 2px solid var(--noir); }
@media (max-width: 1000px) { .agences { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .agences { grid-template-columns: 1fr; } }

.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--gris-100); background: var(--gris-50); aspect-ratio: 16/9; position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; }
.map-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.map-tabs button { font-family: var(--f-titre); font-weight: 600; border: 1.5px solid var(--gris-300); background: #fff; border-radius: 99px; padding: 9px 16px; cursor: pointer; }
.map-tabs button[aria-pressed="true"] { background: var(--noir); color: #fff; border-color: var(--noir); }

/* ---------- Bandeau CTA ---------- */
.cta-band { background: var(--emeraude); color: #fff; position: relative; overflow: hidden; }
.cta-band .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-block: clamp(44px, 6vw, 72px); }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { margin: 0; color: #d8ead8; max-width: 56ch; }
.cta-band .ring { border-color: rgba(255,255,255,.08); width: 520px; aspect-ratio: 1; border-width: 64px; right: -140px; top: -210px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- En-tête de page intérieure ---------- */
.page-hero { background: var(--noir); color: #fff; position: relative; overflow: hidden; }
.page-hero .container { position: relative; padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 18ch; }
.page-hero .lead { color: #d0d4d0; }
.page-hero .eyebrow { color: #fff; }
.page-hero .ring { border-color: var(--carmin); width: 460px; aspect-ratio: 1; border-width: 56px; right: -120px; top: -150px; }
.page-hero .ring + .ring { border-color: var(--emeraude); width: 260px; border-width: 34px; right: 220px; top: auto; bottom: -170px; }
.breadcrumb { font-size: .88rem; color: #aeb3ae; margin-bottom: 18px; }
.breadcrumb a { color: #fff; }
@media (max-width: 700px) { .page-hero .ring { right: -330px; top: -270px; } .page-hero .ring + .ring { display: none; } }

/* ---------- Infos / encadrés ---------- */
.info { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--emeraude-50); border-left: 5px solid var(--emeraude); }
.info svg { width: 22px; height: 22px; flex: none; color: var(--emeraude); margin-top: 2px; }
.info p { margin: 0; }
.info--rouge { background: var(--carmin-50); border-left-color: var(--carmin); }
.info--rouge svg { color: var(--carmin); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--gris-100); border-radius: var(--r); padding: 26px; }
.card h3 { margin-top: 0; }

.valeurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: v; }
.valeur { padding: 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--gris-100); }
.valeur__n { display: block; font-family: var(--f-titre); font-size: 2.2rem; font-weight: 800; color: var(--carmin); margin-bottom: 6px; line-height: 1; }
.valeur p { color: var(--gris-600); margin: 0; }
@media (max-width: 860px) { .valeurs { grid-template-columns: 1fr; } }

.faq details { border-bottom: 1px solid var(--gris-100); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--f-titre); font-weight: 700; font-size: 1.1rem; padding: 18px 40px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--emeraude); display: grid; place-items: center; color: var(--emeraude); font-size: 1.1rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; border-color: var(--carmin); color: var(--carmin); }
.faq__a { color: var(--gris-600); padding-bottom: 10px; }

.form-status { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; display: none; }
.form-status.ok { display: block; background: var(--emeraude-50); color: var(--emeraude-700); }
.form-status.err { display: block; background: var(--carmin-50); color: var(--carmin); }
.hp { position: absolute !important; left: -9999px !important; }

/* ---------- Pied de page ---------- */
.footer { background: var(--noir); color: #cfd3cf; font-size: .95rem; }
.footer .container { padding-block: 56px 28px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; }
/* Logo couleur toujours sur fond blanc (charte : version quadrichromie) */
.footer__logo { display: inline-block; background: #fff; border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; }
.footer__logo img { width: 150px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; letter-spacing: .04em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { color: #cfd3cf; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { border-top: 1px solid #2c2c2c; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .86rem; color: #9ca19c; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* Bouton WhatsApp flottant */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--emeraude); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(0,0,0,.5); border: 3px solid #fff; }
.wa-float:hover { background: var(--emeraude-700); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 600px) { .wa-float { width: 52px; height: 52px; right: 12px; bottom: 12px; } .wa-float svg { width: 26px; height: 26px; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .center { text-align: center; }
.prose { max-width: 72ch; } .prose h2 { font-size: 1.5rem; margin-top: 1.6em; }

/* ==========================================================================
   Compléments WordPress / Elementor
   ========================================================================== */
.container--narrow { max-width: 900px; }
.grid-2--tight { gap: 14px; }
.field + .field, .grid-2 + .field { margin-top: 14px; }
#contact-form .actions { margin-top: 18px; }
.section--vert .lead, .section--vert p { color: #d8ead8; }
.services--detail { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .services--detail { grid-template-columns: 1fr; } }
.service__img { margin: -26px -26px 8px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.service__img img { width: 100%; height: 100%; object-fit: cover; }
.map__title { font-family: var(--f-titre); font-weight: 700; font-size: 1.2rem; margin-bottom: 12px; }
.map .hint { margin-top: 10px; }
.page-hero--photo .page-hero__bg { position: absolute; inset: 0; }
.page-hero--photo .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85), rgba(0,0,0,.35)); z-index: 0; }
.page-hero--photo .container, .page-hero--photo .ring { z-index: 1; }
.cta-band .actions { gap: 12px; }
.footer .menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer__social { display: flex; gap: 14px; flex-wrap: wrap; }
.footer__social a { color: #fff; font-family: var(--f-titre); font-weight: 600; }
.nav__list li { list-style: none; }
.nav__list .current-menu-item > a { color: var(--carmin); }
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 46px; } }
/* Articles */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--gris-100); border-radius: var(--r); overflow: hidden; }
.post-card__img img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-card__body { padding: 20px; }
.post-card__date { color: var(--carmin); font-size: .85rem; margin: 0 0 6px; }
.post-card h2 { font-size: 1.25rem; }
.post-card h2 a { color: var(--noir); text-decoration: none; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }
.prose img, .prose__img { border-radius: var(--r); margin-block: 16px; }
/* Titres Elementor natifs : classe CSS « eyebrow » possible sur le widget Titre */
.eyebrow .elementor-heading-title { font-family: var(--f-titre); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--carmin); }
/* Elementor : pas d'espace parasite autour des sections FODEM */
.elementor-widget-container > .fv-section, .elementor-widget-container > .booking-wrap { margin: 0; }
.elementor-section .fv-section .container { max-width: var(--max); }
.fv-section { overflow-x: clip; }
.grid-2 > .field + .field { margin-top: 0; }
@media (max-width: 480px) {
  .ligne__villes { font-size: 1.25rem; gap: 8px; }
  .ligne__villes .fleche { min-width: 22px; }
  .ligne__top, .ligne__body { padding-inline: 18px; }
}
.hero__photo img, .visuel__img img { object-position: 62% 50%; }
#colis .visuel__img img { object-position: 35% 50%; }
/* ---------- Options de personnalisation (Apparence → Personnaliser) ---------- */
.brand img, .brand .fodem-logo { width: var(--logo-w, 128px); height: auto; max-width: 100%; }
@media (max-width: 760px) { .brand img, .brand .fodem-logo { width: min(var(--logo-w, 128px), 116px) !important; } }
.header--static { position: relative; }
.footer__logo img { height: auto; max-width: 100%; }
.footer__logo--nu { background: transparent; padding: 0; border-radius: 0; }
.footer--vert { background: var(--emeraude); color: #e3f0e3; }
.footer--vert a { color: #e3f0e3; }
.footer--vert .footer__bottom { border-top-color: rgba(255,255,255,.2); color: #cfe3cf; }
.footer__grid--3 { grid-template-columns: 1.3fr 1fr 1.2fr; }
.footer__grid--2 { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 900px) { .footer__grid--3, .footer__grid--2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid--3, .footer__grid--2 { grid-template-columns: 1fr; } }
.header-elementor, .footer-elementor { display: block; }

/* ==========================================================================
   Version 2.0 — accueil en long scroll, sous-menus, étapes, barre mobile
   ========================================================================== */
html { scroll-padding-top: 96px; }
body.has-subnav { scroll-padding-top: 150px; }
[id] { scroll-margin-top: 96px; }
.has-subnav [id] { scroll-margin-top: 150px; }

/* Sous-menu (Location ▾) */
.nav__list > li { position: relative; }
.nav__list .menu-item-has-children > .nav__link { padding-right: 30px; }
.nav__list .menu-item-has-children > .nav__link::before {
  content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; margin-top: -6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.nav__list .current-menu-ancestor > .nav__link, .nav__list .current-menu-parent > .nav__link { color: var(--carmin); }
.sub-menu { list-style: none; margin: 0; padding: 8px; }
.subnav-toggle { display: none; }
@media (min-width: 1081px) {
  .sub-menu {
    position: absolute; left: 0; top: calc(100% + 6px); min-width: 240px; background: #fff; border-radius: 12px;
    box-shadow: var(--ombre-forte); border-top: 4px solid var(--emeraude);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; z-index: 60;
  }
  .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu, .nav__list li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
  .sub-menu .nav__link { padding: 12px 14px; border-radius: 8px; white-space: nowrap; }
  .sub-menu .nav__link[aria-current]::after { display: none; }
}
@media (max-width: 1080px) {
  .nav__list .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
  .nav__list .menu-item-has-children > .nav__link { flex: 1; padding-right: 8px; }
  .nav__list .menu-item-has-children > .nav__link::before { display: none; }
  .subnav-toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: var(--gris-50); border-radius: 10px; cursor: pointer; color: var(--noir); }
  .subnav-toggle svg { width: 18px; height: 18px; transition: transform .2s; }
  .subnav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub-menu { width: 100%; display: none; padding: 0 0 8px 14px; border-left: 3px solid var(--emeraude); margin: 4px 0 8px; }
  .is-open > .sub-menu { display: block; }
  .sub-menu .nav__link { font-size: 1rem; border-bottom: 0; padding: 12px 8px; }
}

/* Heure + appel direct dans les cartes de lignes */
.creneau--call { flex-wrap: wrap; }
.creneau--call .creneau__lieu { flex: 1 1 160px; }
.creneau__call {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border-radius: 10px;
  background: #fff; border: 1.5px solid var(--emeraude); color: var(--emeraude); font-family: var(--f-titre); font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap;
}
.creneau__call svg { width: 16px; height: 16px; }
.creneau__call:hover { background: var(--emeraude); color: #fff; }
@media (max-width: 480px) { .creneau__call span { display: inline; } .creneau--call .heure { font-size: 1.2rem; } }

/* Cartes de services entièrement cliquables */
.service { position: relative; }
.service .stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service:focus-within { outline: 3px solid var(--emeraude); outline-offset: 3px; }

/* Étapes */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: e; position: relative; }
.etape { background: #fff; border: 1px solid var(--gris-100); border-radius: var(--r); padding: 28px 24px 24px; position: relative; }
.section--gris .etape { border-color: transparent; }
.etape__n {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 6px solid var(--emeraude);
  font-family: var(--f-titre); font-weight: 800; font-size: 1.2rem; color: var(--emeraude); margin-bottom: 14px; background: #fff;
}
.etape:nth-child(2) .etape__n { border-color: var(--carmin); color: var(--carmin); }
.etape:nth-child(3) .etape__n { border-color: var(--noir); color: var(--noir); }
.etape h3 { margin: 0 0 6px; }
.etape p { margin: 0; color: var(--gris-600); }
.actions--center { justify-content: center; margin-top: 32px; }
@media (max-width: 860px) { .etapes { grid-template-columns: 1fr; } }

/* Onglets de page collants */
.subnav { position: sticky; top: 84px; z-index: 40; background: #fff; border-bottom: 1px solid var(--gris-100); box-shadow: 0 8px 18px -16px rgba(0,0,0,.4); }
body.admin-bar .subnav { top: 116px; }
.subnav ul { list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 10px; overflow-x: auto; }
.subnav a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 99px;
  border: 1.5px solid var(--gris-300); font-family: var(--f-titre); font-weight: 700; color: var(--noir); text-decoration: none; white-space: nowrap;
}
.subnav a svg { width: 18px; height: 18px; }
.subnav a[aria-current="true"] { background: var(--noir); border-color: var(--noir); color: #fff; }
.subnav a:hover { border-color: var(--noir); color: var(--noir); }
.subnav a[aria-current="true"]:hover { color: #fff; }
.header--static ~ main .subnav, .header--static + main .subnav { top: 0; }
@media (max-width: 760px) { .subnav { top: 76px; } }

/* Barre d'actions mobile */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: #fff; border-top: 1px solid var(--gris-100); box-shadow: 0 -10px 24px -18px rgba(0,0,0,.45);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 10px;
    color: var(--noir); text-decoration: none; font-family: var(--f-titre); font-weight: 700; font-size: .78rem; }
  .mobile-bar a svg { width: 22px; height: 22px; }
  .mobile-bar a:first-child { background: var(--emeraude); color: #fff; }
  .mobile-bar__wa { color: var(--emeraude) !important; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .wa-float--desktop { display: none; }
}
.map-tabs button { min-height: 44px; }
.agence__tel { display: inline-block; padding: 10px 0; }
