/* ==========================================================
   Colivo — feuille de style principale
   Toute la charte est ici (variables :root) : couleurs et police des titres.
   Les variables *-rgb sont les mêmes couleurs en « R, G, B », pour les transparences.
   Pensez aussi à la police dans le lien Google Fonts de chaque page HTML.
   ========================================================== */
:root {
  --navy: #1e1b4b;          /* couleur sombre principale */
  --navy-2: #312e81;
  --navy-deep: #13112e;     /* barre du haut et pied de page */
  --navy-rgb: 30, 27, 75;
  --navy-2-rgb: 49, 46, 129;
  --navy-3-rgb: 67, 56, 202; /* fin des dégradés sur les photos */
  --accent: #f2545b;
  --accent-dark: #d93d44;
  --accent-rgb: 242, 84, 91;
  --accent-light: #fda4a8;  /* accent sur fond sombre */
  --accent-pale: #fff1f1;   /* texte sur fond accent */
  --accent-soft: rgba(var(--accent-rgb), 0.12);
  --font-title: "Sora", sans-serif;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f5f5fa;
  --border: #e5e7eb;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(var(--navy-rgb), 0.08);
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--navy); line-height: 1.2; }
ul { list-style: none; }

.lucide { width: 20px; height: 20px; stroke-width: 2; flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 660px; margin: 0 auto 50px; text-align: center; }
.section-head h2, .split h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent); font-weight: 600; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 18px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 6px; border: 2px solid transparent;
  font: 600 0.95rem "Inter", sans-serif; cursor: pointer; transition: 0.25s;
}
.btn .lucide { width: 18px; height: 18px; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--navy); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; }
.link-arrow .lucide { width: 18px; height: 18px; transition: transform 0.25s; }
.link-arrow:hover .lucide { transform: translateX(4px); }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--navy-deep); color: #cbd5e1; font-size: 0.85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 10px; padding-bottom: 10px; }
.topbar-info { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar .lucide { width: 15px; height: 15px; color: var(--accent); }

/* ---------- En-tête / navigation ---------- */
.header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 1.45rem var(--font-title); color: var(--navy); }
.logo .accent { color: var(--accent); }
.logo-mark { width: 42px; height: 42px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.logo-mark .lucide { width: 24px; height: 24px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { position: relative; padding: 6px 0; font-weight: 500; color: var(--navy); transition: color 0.2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.25s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; padding: 6px; }
.nav-toggle .lucide { width: 28px; height: 28px; }

/* ---------- Choix de la langue (js/i18n.js) ---------- */
.i18n-pending body { visibility: hidden; } /* le temps d'appliquer la traduction */
.lang-switch { position: relative; margin-left: -14px; }
.lang-current {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px;
  border: 1px solid var(--border); border-radius: 6px; background: #fff;
  font: 600 0.88rem "Inter", sans-serif; color: var(--navy); cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.lang-current:hover, .lang-switch.open .lang-current { border-color: var(--accent); color: var(--accent); }
.lang-current .lucide { width: 17px; height: 17px; }
.lang-current .lucide:last-child { width: 15px; height: 15px; transition: transform 0.2s; }
.lang-switch.open .lang-current .lucide:last-child { transform: rotate(180deg); }
.lang-menu {
  display: none; position: absolute; top: calc(100% + 10px); right: 0; z-index: 10; min-width: 170px;
  padding: 6px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow);
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border: 0; border-radius: 6px;
  background: none; font: 500 0.92rem "Inter", sans-serif; color: var(--navy); text-align: left; cursor: pointer;
}
.lang-menu button:hover { background: var(--bg-alt); }
.lang-menu button[aria-current] { background: var(--accent-soft); color: var(--accent-dark); }
.flag { display: inline-block; flex-shrink: 0; width: 24px; height: 16px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.flag svg { display: block; width: 100%; height: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding: 110px 0 160px;
  background:
    linear-gradient(120deg, rgba(var(--navy-rgb), 0.96) 0%, rgba(var(--navy-2-rgb), 0.86) 55%, rgba(var(--navy-3-rgb), 0.55) 100%),
    url("../images/hero.webp") center / cover,
    var(--navy);
}
.hero::before, .page-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -160px;
  border-radius: 50%; border: 70px solid rgba(var(--accent-rgb), 0.08); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.hero .eyebrow { color: var(--accent-light); }
.hero .eyebrow::before { background: var(--accent-light); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero p { color: #cbd5e1; font-size: 1.1rem; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.track-card { background: #fff; color: var(--text); border-radius: 14px; padding: 34px; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3); }
.track-card .icon-box { margin-bottom: 18px; }
.track-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.track-card p { color: var(--muted); font-size: 0.93rem; margin-bottom: 22px; }
.track-card .btn { width: 100%; margin-top: 12px; }
.track-card small { display: block; margin-top: 14px; color: var(--muted); font-size: 0.8rem; text-align: center; }

/* ---------- Chiffres clés ---------- */
.stats { position: relative; z-index: 2; margin-top: -75px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 34px 20px; }
.stat { text-align: center; border-right: 1px solid var(--border); padding: 0 10px; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 700 2.2rem var(--font-title); color: var(--navy); }
.stat strong em { font-style: normal; color: var(--accent); }
.stat span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Cartes services ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.icon-box { width: 64px; height: 64px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 24px; }
.icon-box .lucide { width: 30px; height: 30px; }
.service-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 32px; transition: 0.3s; }
.service-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 4px; background: var(--accent); transition: width 0.3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card:hover::after { width: 100%; }
.service-card:hover .icon-box { background: var(--accent); color: #fff; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); margin-bottom: 20px; }

/* ---------- Blocs en deux colonnes ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.visual { position: relative; min-height: 460px; border-radius: 16px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow); }
.visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badge-float { position: absolute; left: 28px; bottom: 28px; background: var(--accent); color: #fff; padding: 20px 26px; border-radius: 12px; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); }
.badge-float strong { display: block; font: 700 2.4rem var(--font-title); line-height: 1; }
.badge-float span { font-size: 0.9rem; }

.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 24px 0 32px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--navy); }
.check-list .lucide { color: var(--accent); margin-top: 2px; }
.check-list.single { grid-template-columns: 1fr; }

/* ---------- Devis ---------- */
.quote { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.quote .split { align-items: start; }
.quote h2 { color: #fff; }
.quote .lead { color: #cbd5e1; }
.quote .eyebrow { color: var(--accent-light); }
.quote .eyebrow::before { background: var(--accent-light); }
.perks { display: grid; gap: 22px; margin-top: 34px; }
.perk { display: flex; gap: 16px; align-items: flex-start; }
.perk .icon-box { width: 52px; height: 52px; margin: 0; background: rgba(255, 255, 255, 0.08); }
.perk .icon-box .lucide { width: 24px; height: 24px; }
.perk h4 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.perk p { color: #cbd5e1; font-size: 0.93rem; }

/* ---------- Formulaires ---------- */
.form-box { background: #fff; color: var(--text); border-radius: 14px; padding: 36px; box-shadow: var(--shadow); }
.form-box h3 { font-size: 1.4rem; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 6px; font-size: 0.85rem; font-weight: 600; color: var(--navy); }
input, select, textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: 6px;
  font: inherit; font-size: 0.95rem; color: var(--text); background: #fff; transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-box .btn { width: 100%; margin-top: 6px; }
.form-success { display: none; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 16px; border-radius: 8px; background: #dcfce7; color: #166534; font-weight: 500; font-size: 0.93rem; }
.form-success.show { display: flex; }
.form-success.error { background: #fee2e2; color: #991b1b; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Processus ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process::before { content: ""; position: absolute; top: 45px; left: 12.5%; right: 12.5%; border-top: 2px dashed #cbd5e1; }
.step { position: relative; text-align: center; }
.step-icon { position: relative; width: 90px; height: 90px; margin: 0 auto 22px; border-radius: 50%; background: #fff; border: 2px solid var(--border); color: var(--navy); display: grid; place-items: center; transition: 0.3s; }
.step-icon .lucide { width: 34px; height: 34px; }
.step-num { position: absolute; top: -4px; right: -4px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 0.85rem; font-weight: 700; display: grid; place-items: center; }
.step:hover .step-icon { background: var(--navy); border-color: var(--navy); color: #fff; }
.step h4 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Partenaires ---------- */
.partners { padding: 50px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partners-row { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.partner { display: flex; align-items: center; gap: 8px; color: #9ca3af; font: 700 1.2rem var(--font-title); transition: color 0.25s; }
.partner .lucide { width: 28px; height: 28px; }
.partner:hover { color: var(--navy); }

/* ---------- Contact & FAQ ---------- */
.contact-list { display: grid; gap: 18px; margin-top: 28px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.contact-item .icon-box { width: 52px; height: 52px; margin: 0; }
.contact-item .icon-box .lucide { width: 24px; height: 24px; }
.contact-item h4 { font-size: 1rem; margin-bottom: 2px; }
.contact-item p { color: var(--muted); font-size: 0.95rem; }

.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; list-style: none; cursor: pointer; font: 600 1rem var(--font-title); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .lucide { color: var(--accent); transition: transform 0.3s; }
.faq details[open] summary .lucide { transform: rotate(45deg); }
.faq details[open] { border-color: var(--accent); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Bandeau CTA ---------- */
.cta-band { background: var(--accent); color: #fff; padding: 54px 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: var(--accent-pale); margin-top: 6px; }

/* ---------- Bannière des pages internes ---------- */
.page-banner {
  position: relative; overflow: hidden; padding: 90px 0 100px; text-align: center; color: #fff;
  background:
    linear-gradient(120deg, rgba(var(--navy-rgb), 0.93), rgba(var(--navy-2-rgb), 0.82) 60%, rgba(var(--navy-3-rgb), 0.7)),
    var(--banner-img, none) center / cover,
    var(--navy);
}
.banner-about { --banner-img: url("../images/banner-about.jpg"); }
.banner-services { --banner-img: url("../images/banner-services.webp"); }
.banner-contact { --banner-img: url("../images/banner-contact.webp"); }
.banner-track { --banner-img: url("../images/banner-track.webp"); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; color: #cbd5e1; font-size: 0.95rem; }
.breadcrumb a { color: var(--accent); }
.breadcrumb .lucide { width: 16px; height: 16px; }

/* ---------- Cartes génériques ---------- */
.card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 32px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card.center { text-align: center; }
.card.center .icon-box { margin-left: auto; margin-right: auto; }

.stats-band { background: var(--navy); padding: 70px 0; }
.stats-band .stats-grid { background: transparent; box-shadow: none; padding: 0; }
.stats-band .stat { border-color: rgba(255, 255, 255, 0.12); }
.stats-band .stat strong { color: #fff; }
.stats-band .stat span { color: #cbd5e1; }

.service-row + .service-row { margin-top: 90px; }
.service-row.reverse .visual { order: 2; }
.service-row h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }

.map-box { border-radius: 14px; overflow: hidden; min-height: 100%; border: 1px solid var(--border); }
.contact-map { position: relative; z-index: 0; height: 100%; min-height: 460px; background: var(--bg-alt); } /* z-index : la carte reste sous l'en-tête */

/* ---------- Suivi de colis ---------- */
.track-search { position: relative; z-index: 2; max-width: 760px; margin: -50px auto 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 30px; }
.track-form { display: flex; gap: 12px; }
.track-form input { flex: 1; }
.track-hint { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }
.track-loading { padding: 20px; text-align: center; color: var(--muted); }
.track-head-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.track-head-right small { font-size: 0.82rem; }

/* Carte (Leaflet) */
.map { position: relative; z-index: 0; height: 380px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-alt); }
.map-pin { background: none; border: 0; }
/* Crédit « © OpenStreetMap » : obligatoire (licence ODbL), réduit au plus discret tout en restant lisible */
.leaflet-container .leaflet-control-attribution { padding: 0 6px 1px 0; background: none; font-size: 7px; line-height: 1.2; color: #6b7280; text-shadow: 0 0 2px #fff, 0 0 2px #fff; } /* 6px à droite : marge pour le coin arrondi de la carte */
.leaflet-container .leaflet-control-attribution a { color: inherit; text-decoration: none; }
.map-pin span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); }
.map-pin .lucide { width: 18px; height: 18px; }
.map-pin.draft span { background: var(--navy); }
.track-map-wrap { margin-bottom: 30px; }
.track-map-head { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 12px; font-size: 0.92rem; }
.track-map-head strong { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); }
.track-map-head .lucide { width: 18px; height: 18px; color: var(--accent); }
.track-map-head span { color: var(--muted); }

.track-result { max-width: 980px; margin: 40px auto 0; }
.track-error { display: flex; gap: 14px; align-items: center; padding: 20px 24px; border-radius: 12px; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.track-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.track-head h2 { font-size: 1.5rem; }
.track-head small { display: block; color: var(--muted); font-size: 0.85rem; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; font-size: 0.88rem; }
.status-pill.delivered { background: #dcfce7; color: #166534; }
.status-pill .lucide { width: 16px; height: 16px; }

.progress-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin: 10px 0 34px; }
.progress-steps::before, .progress-fill { content: ""; position: absolute; top: 22px; left: 10%; height: 4px; border-radius: 2px; }
.progress-steps::before { right: 10%; background: var(--border); }
.progress-fill { background: var(--accent); transition: width 0.6s ease; }
.p-step { position: relative; z-index: 1; text-align: center; }
.p-dot { width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 50%; background: #fff; border: 3px solid var(--border); color: #9ca3af; display: grid; place-items: center; }
.p-dot .lucide { width: 20px; height: 20px; }
.p-step span { display: block; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.p-step.done .p-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.p-step.current .p-dot { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.p-step.done span, .p-step.current span { color: var(--navy); }

.track-cols { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; }
.details-list { display: grid; gap: 14px; }
.details-list div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--border); }
.details-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.details-list dt { color: var(--muted); font-size: 0.92rem; }
.details-list dd { color: var(--navy); font-weight: 600; text-align: right; }

.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.timeline li { position: relative; padding-bottom: 22px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid #cbd5e1; }
.timeline li:first-child::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline strong { display: block; color: var(--navy); }
.timeline span { display: block; font-size: 0.88rem; color: var(--muted); }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy-deep); color: #94a3b8; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer .logo { color: #fff; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 22px; }
.footer ul { display: grid; gap: 11px; }
.footer a { transition: color 0.2s; }
.footer a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .lucide { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; display: grid; place-items: center; transition: background 0.25s; }
.socials a:hover { background: var(--accent); color: #fff; }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 0; font-size: 0.88rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ---------- Animations (js/animations.js) ---------- */
/* Fonds qui défilent : accueil et bandeaux des pages (fondu + léger zoom) */
.hero, .page-banner { isolation: isolate; }
.bg-slides { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.bg-slides > div { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity 1.5s ease; }
.bg-slides > .active { opacity: 1; animation: bg-zoom 7.5s ease-out forwards; }
.bg-slides > .prev { transform: scale(1.08); }
.bg-slides.ready::after { content: ""; position: absolute; inset: 0; }
.hero .bg-slides.ready::after { background: linear-gradient(120deg, rgba(var(--navy-rgb), 0.96) 0%, rgba(var(--navy-2-rgb), 0.86) 55%, rgba(var(--navy-3-rgb), 0.55) 100%); }
.page-banner .bg-slides.ready::after { background: linear-gradient(120deg, rgba(var(--navy-rgb), 0.93), rgba(var(--navy-2-rgb), 0.82) 60%, rgba(var(--navy-3-rgb), 0.7)); }
@keyframes bg-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }

/* Carrousels de photos (sans JavaScript : seule la première photo s'affiche) */
.carousel:not(.ready) > img ~ img { display: none; }
.carousel.ready > img { opacity: 0; transition: opacity 0.9s ease; }
.carousel.ready > img.active { opacity: 1; }
.carousel-btn {
  position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px;
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.92); color: var(--navy); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  opacity: 0; transition: opacity 0.25s, background 0.2s, color 0.2s;
}
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel:hover .carousel-btn, .carousel-btn:focus-visible { opacity: 1; }
.carousel-btn:hover { background: var(--accent); color: #fff; }
.carousel-dots { position: absolute; right: 24px; bottom: 24px; z-index: 2; display: flex; gap: 8px; }
.carousel-dots button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, 0.65); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); transition: width 0.3s, background 0.3s;
}
.carousel-dots button[aria-current] { width: 28px; background: var(--accent); }
@media (hover: none) { .carousel-btn { opacity: 0.85; } } /* téléphones et tablettes : flèches toujours visibles */

/* Chiffres qui comptent : largeur fixe des chiffres pour que le texte ne tremble pas */
.stat strong, .badge-float strong { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .bg-slides > div, .carousel.ready > img { transition: none; animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 18px;
    padding: 20px; background: #fff; box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
  }
  .nav.open { display: flex; }
  .nav-links { flex-direction: column; gap: 4px; }
  .nav-links a { display: block; padding: 10px 0; }
  .nav-links a::after { display: none; }

  /* Langues : rangée de drapeaux dans le menu déroulant */
  .lang-switch { margin-left: 0; padding-top: 16px; border-top: 1px solid var(--border); }
  .lang-current { display: none; }
  .lang-menu { display: flex; position: static; flex-wrap: wrap; gap: 8px; min-width: 0; padding: 0; border: 0; box-shadow: none; }
  .lang-menu button { width: auto; padding: 9px 12px; border: 1px solid var(--border); }
  .lang-menu .lang-name { display: none; }
  .lang-menu .flag { width: 30px; height: 20px; }
  .lang-menu button[aria-current] { border-color: var(--accent); }

  /* 16 px minimum : sinon l'iPhone zoome sur la page dès qu'on touche un champ */
  input, select, textarea { font-size: 16px; }

  /* Barre supérieure : on garde l'email et le téléphone (adresse et horaires restent dans le pied de page) */
  .topbar-info span:not(:nth-child(2)) { display: none; }

  .hero .container, .split, .track-cols { grid-template-columns: 1fr; gap: 44px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4, .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process::before { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .stat:nth-child(2) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-row.reverse .visual { order: 0; }
  .visual { min-height: 340px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .topbar { display: none; }
  .hero { padding: 70px 0 130px; }
  .grid-3, .grid-4, .process, .footer-grid, .form-grid, .check-list { grid-template-columns: 1fr; }
  .form-box, .track-card, .card { padding: 26px 20px; }
  .track-form { flex-direction: column; }
  .stat strong { font-size: 1.8rem; }
  .p-dot { width: 36px; height: 36px; }
  .p-dot .lucide { width: 16px; height: 16px; }
  .progress-steps::before, .progress-fill { top: 16px; }
  .p-step span { font-size: 0.7rem; }
  .map { height: 300px; }
  .track-head-right { align-items: flex-start; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}
