:root {
  --navy: #1F3B57;
  --navy-dark: #142838;
  --orange: #E07A2E;
  --orange-light: #FFF3E9;
  --grey: #F5F7F9;
  --text: #22303F;
  --text-soft: #5A6B7A;
  --border: #E1E6EB;
  --radius: 14px;
  --wa: #25D366;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; }
h2 { font-size: 30px; }
.eyebrow {
  color: var(--orange); font-weight: 700; letter-spacing: 1px; font-size: 13px;
  text-transform: uppercase; margin-bottom: 8px; display: block;
}
.section-intro { color: var(--text-soft); max-width: 620px; margin: 10px 0 40px; font-size: 15.5px; }
.section-head { margin-bottom: 8px; }
section { padding: 76px 0; }
section.tight { padding: 56px 0; }

/* ---------- Scroll reveal ---------- */
/* filet-visibilite : le masquage n'existe que si le JS a pose .anim sur <html>. */
html.anim .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal { opacity: 1; }
html.anim .reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border); transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(20,40,56,0.08); }
.header-inner {
  max-width: 1160px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; color: var(--navy); font-size: 17px; white-space: nowrap; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 15px; }
.main-nav a { text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600; position: relative; white-space: nowrap; flex-shrink: 0; }
.main-nav a:not(.btn-client)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--orange);
  transition: width .2s ease;
}
.main-nav a:not(.btn-client):hover::after { width: 100%; }
.main-nav a:hover { color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-client {
  background: var(--navy); color: #fff !important; text-decoration: none;
  padding: 10px 16px; border-radius: 8px; font-size: 13.5px; font-weight: 700;
  white-space: nowrap; transition: background .2s ease, transform .2s ease; flex-shrink: 0;
}
.btn-client:hover { background: var(--navy-dark); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--navy); }

/* ---------- Selecteur de langue ---------- */
.lang-switch { display: flex; align-items: center; gap: 1px; margin-right: 2px; flex-shrink: 0; }
.lang-switch a {
  text-decoration: none; color: var(--text); font-size: 12.5px; font-weight: 700; white-space: nowrap;
  padding: 5px 6px; border-radius: 6px; opacity: .55; transition: opacity .2s ease, background .2s ease;
}
.lang-switch a:hover { opacity: 1; background: #f1f1f1; }
.lang-switch a.active { opacity: 1; color: var(--orange); }
.lang-switch span.sep { color: #ccc; font-size: 12px; }

/* ---------- Dropdown nav ---------- */
.nav-item { position: relative; }
.nav-item > a::after { content: "\25BE"; font-size: 11px; }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 16px 36px rgba(20,40,56,0.14); padding: 8px; min-width: 220px;
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease; z-index: 50;
}
.nav-item:hover .dropdown, .nav-item.dd-open .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 7px; font-size: 14px; font-weight: 600;
  color: var(--text); text-decoration: none;
}
.dropdown a:hover { background: var(--grey); color: var(--orange); }
.dropdown a::after { content: none; }
@media (max-width: 640px) {
  .nav-item .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border: none; padding: 0 0 0 14px; display: none; min-width: 0;
  }
  .nav-item.dd-open .dropdown { display: block; }
  .nav-item > a::after { content: "\25BE"; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13px; color: var(--text-soft); margin-bottom: 18px; }
.breadcrumb a { color: var(--navy); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- Page hero (sous-pages) ---------- */
/* Les deux couleurs de marque : le bleu nuit porte, l'orange eclaire.
   L'orange n'est pas un aplat mais une lueur, posee en haut a droite —
   c'est ce qui separe une identite d'un degrade generique. */
.page-hero { position: relative; overflow: hidden; isolation: isolate;
  color: #fff; padding: 54px 0 44px;
  background:
    linear-gradient(100deg, rgba(9,20,32,.88) 0%, rgba(9,20,32,.74) 30%, rgba(9,20,32,.18) 56%, rgba(9,20,32,0) 70%),
    radial-gradient(1320px 620px at 90% -14%, rgba(224,122,46,.72), transparent 64%),
    radial-gradient(700px 340px at 58% 112%, rgba(224,122,46,.30), transparent 62%),
    radial-gradient(680px 360px at -4% 104%, rgba(47,121,174,.32), transparent 62%),
    linear-gradient(122deg, #0B1826 0%, var(--navy-dark) 38%, #24445F 100%); }

/* La trame : des trajectoires, pas un motif. Elle s'efface aux deux bords
   pour ne jamais concurrencer le titre. */
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(116deg, rgba(255,255,255,.055) 0 1px, transparent 1px 86px),
    repeating-linear-gradient(116deg, rgba(224,122,46,.20) 0 2px, transparent 2px 300px);
  -webkit-mask-image: linear-gradient(102deg, transparent 0%, #000 34%, #000 80%, transparent 100%);
  mask-image: linear-gradient(102deg, transparent 0%, #000 34%, #000 80%, transparent 100%); }

/* La signature : un filet qui passe du bleu a l'orange, en pied de bande. */
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, #2F79AE 18%, var(--orange) 52%, #F6B979 100%); }

.page-hero > .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: #FFC898; }
.page-hero h1 { color: #fff; font-size: 34px; margin-top: 4px; }
.page-hero p { color: #CBD8E4; max-width: 620px; margin-top: 12px; font-size: 15.5px; }

/* ---------- Service detail page ---------- */
.detail-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 50px; align-items: start; }
.detail-body p { color: var(--text-soft); margin-bottom: 16px; font-size: 15.5px; }
.detail-list { display: flex; flex-direction: column; gap: 12px; margin: 22px 0; }
.detail-list li {
  display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text);
  background: var(--grey); border-radius: 9px; padding: 12px 14px;
}
.detail-list li svg { width: 18px; height: 18px; stroke: var(--orange); flex-shrink: 0; margin-top: 1px; }
.price-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 26px; }
.price-card h3 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.price-row {
  display: flex; justify-content: space-between; gap: 10px; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 14px;
}
.price-row:last-of-type { border-bottom: none; }
.price-row .label { color: #C9D4DE; }
.price-row .value { font-weight: 700; color: #fff; white-space: nowrap; }
.price-note { font-size: 12.5px; color: #9FB2C4; margin-top: 14px; }
.price-card .btn-primary { width: 100%; justify-content: center; margin-top: 18px; box-shadow: none; }
.related-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }

/* ---------- Galerie ---------- */
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.gallery-filter {
  border: 1px solid var(--border); background: #fff; border-radius: 30px; padding: 8px 18px;
  font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--text);
}
.gallery-filter.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.gallery-item img, .gallery-item video { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .gallery-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(20,40,56,0.25);
}
.gallery-item .gallery-play svg { width: 42px; height: 42px; fill: #fff; opacity: .9; }
.gallery-empty {
  grid-column: 1 / -1; text-align: center; padding: 60px 24px; border: 1.5px dashed var(--border);
  border-radius: var(--radius); color: var(--text-soft);
}
.gallery-empty svg { width: 44px; height: 44px; stroke: var(--orange); margin: 0 auto 14px; }

/* ---------- Adresses entrepots ---------- */
.address-box {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px;
  font-size: 15.5px; line-height: 1.9; white-space: pre-wrap; position: relative;
}
.address-box .addr-label { color: #FFC898; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; display: block; margin-bottom: 10px; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: #fff;
  border: none; padding: 12px 20px; border-radius: 8px; font-weight: 700; font-size: 14px;
  cursor: pointer; margin-top: 18px; transition: background .2s ease;
}
.copy-btn:hover { background: #c8681f; }
.copy-btn.copied { background: #2e9e52; }
.copy-btn svg { width: 16px; height: 16px; stroke: #fff; }
.video-placeholder {
  border: 1.5px dashed var(--border); border-radius: var(--radius); padding: 50px 24px;
  text-align: center; color: var(--text-soft); background: var(--grey);
}
.video-placeholder svg { width: 40px; height: 40px; stroke: var(--orange); margin: 0 auto 12px; }
.regime-tabs { display: flex; gap: 10px; margin-bottom: 30px; }
.regime-tab {
  flex: 1; text-align: center; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; color: var(--text); font-weight: 700; font-size: 15px;
}
.regime-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.regime-tab:not(.active):hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Buttons ---------- */
.btn-primary {
  background: var(--orange); color: #fff; text-decoration: none;
  padding: 14px 26px; border-radius: 9px; font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px rgba(224,122,46,0.28);
}
.btn-primary:hover { background: #c8681f; transform: translateY(-2px); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.6); color: #fff; text-decoration: none;
  padding: 13px 24px; border-radius: 9px; font-weight: 700; font-size: 15px; display: inline-block;
  transition: background .2s ease, color .2s ease;
}
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-outline.dark { border-color: var(--navy); color: var(--navy); }
.btn-outline.dark:hover { background: var(--navy); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 60%, #24476b 100%);
  padding: 90px 0 70px;
}
/* Pas de photo en fond plein-large ici : la seule image dont nous disposons est trop petite
   (issue d'un visuel promotionnel) pour etre etiree sur toute la largeur sans devenir floue/
   pixelisee. Un motif geometrique leger habille le fond sans dependre d'une image basse resolution. */
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.08) 0, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(224,122,46,0.14) 0, transparent 40%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 90px);
}
.hero-inner { position: relative; max-width: 1160px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 54px; }
.hero-text { flex: 1.15; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12);
  padding: 7px 14px; border-radius: 30px; font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero-text h1 { font-size: 46px; color: #fff; margin-bottom: 18px; }
.hero-text h1 .accent-line { display: block; width: 100%; text-align: center; }
.hero-text .lead { font-size: 17.5px; color: #CBD8E4; max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-media { flex: 1; position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: 0 24px 50px rgba(0,0,0,0.35); width: 100%; max-width: 460px; height: auto; margin: 0 auto; }

.hero-media .float-card {
  position: absolute; bottom: -22px; left: -22px; background: #fff; color: var(--navy);
  border-radius: 12px; padding: 14px 18px; box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 700;
}
.hero-media .float-card .icon-dot {
  width: 40px; height: 40px; border-radius: 10px; background: var(--orange-light);
  display: flex; align-items: center; justify-content: center;
}
.hero-media .float-card .icon-dot svg { width: 20px; height: 20px; stroke: var(--orange); }

/* Feature strip */
.feature-strip { position: relative; }
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,0.14); border-radius: var(--radius); overflow: hidden;
}
.feature-item { background: rgba(255,255,255,0.06); padding: 20px 18px; text-align: center; }
.feature-item .num { font-size: 26px; font-weight: 800; color: #fff; }
.feature-item .label { font-size: 12.5px; color: #B9C9D8; margin-top: 4px; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-decoration: none; display: block;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(31,59,87,0.1); border-color: transparent; }
.card .icon {
  width: 48px; height: 48px; border-radius: 11px; background: var(--orange-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card .icon svg { width: 25px; height: 25px; stroke: var(--orange); }
.card h3 { font-size: 17.5px; margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: 14.5px; }
.card .card-link { display: inline-block; margin-top: 14px; color: var(--orange); font-weight: 700; font-size: 13.5px; }

/* ---------- Process (Comment ca marche) ---------- */
.process { background: var(--grey); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.step { text-align: center; position: relative; }
.step .step-num {
  width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
  margin: 0 auto 16px;
}
.step h3 { font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--text-soft); }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 14px); z-index: 0;
}
.step { z-index: 1; }

/* ---------- About ---------- */
.about-grid { display: flex; gap: 54px; align-items: center; }
.about-media { flex: 0.9; position: relative; }
.about-media img { border-radius: var(--radius); width: 100%; max-width: 460px; }
.about-text { flex: 1.1; }
.about-text p { color: var(--text-soft); margin-bottom: 14px; font-size: 15.5px; }
.about-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.about-badge {
  display: flex; align-items: center; gap: 8px; background: var(--grey);
  padding: 10px 16px; border-radius: 30px; font-size: 13.5px; font-weight: 600; color: var(--navy);
}
.about-badge svg { width: 16px; height: 16px; stroke: var(--orange); }

/* ---------- Zones / agences ---------- */
.zone-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.zone-card {
  border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease;
}
.zone-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(31,59,87,0.1); }
.zone-map { height: 160px; width: 100%; border: none; display: block; filter: grayscale(0.15); }
.zone-body { padding: 22px; }
.zone-tag {
  display: inline-block; background: var(--orange-light); color: var(--orange);
  font-size: 11.5px; font-weight: 800; padding: 4px 11px; border-radius: 20px; margin-bottom: 10px;
  letter-spacing: .4px;
}
.zone-body h3 { font-size: 17px; margin-bottom: 6px; }
.zone-body p { color: var(--text-soft); font-size: 13.5px; margin-bottom: 10px; }
.zone-body a.zone-phone {
  display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy);
  font-weight: 600; font-size: 13.5px; margin-top: 8px;
}
.zone-body a.zone-phone:hover { color: var(--orange); }
.zone-body a.zone-phone .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); flex-shrink: 0; }

/* ---------- App banner ---------- */
.app-banner {
  background: linear-gradient(120deg, var(--orange) 0%, #ef9a52 100%); color: #fff;
}
.app-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.app-banner h2 { color: #fff; }
.app-banner p { color: #FFEBDA; max-width: 560px; margin-top: 10px; }
.app-banner .btn-primary { background: #fff; color: var(--orange); box-shadow: none; }
.app-banner .btn-primary:hover { background: var(--navy-dark); color: #fff; }

/* ---------- Actualites ---------- */
.news-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.news-media {
  height: 130px; background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: flex; align-items: center; justify-content: center;
}
.news-media svg { width: 40px; height: 40px; stroke: var(--orange); }
.news-body { padding: 22px; }
.news-tag { color: var(--orange); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.news-body h3 { font-size: 16.5px; margin: 8px 0 10px; }
.news-body p { color: var(--text-soft); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 15.5px; font-weight: 700; color: var(--navy);
}
.faq-q .chev { transition: transform .25s ease; flex-shrink: 0; color: var(--orange); font-size: 20px; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.faq-a p { padding: 0 4px 20px; color: var(--text-soft); font-size: 14.5px; max-width: 680px; }

/* ---------- Contact ---------- */
.contact {
  background-color: var(--navy-dark);
  background-image: linear-gradient(rgba(15,32,52,.82), rgba(15,32,52,.82)), url('/img/fond-cta.jpg');
  background-size: cover;
  background-position: center;
}
.contact .section-head h2 { color: #fff; }
.contact .section-intro { color: rgba(255,255,255,.85); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: start; }
.contact-form {
  background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--border); border-radius: 8px; padding: 11px 12px; font-size: 14px;
  font-family: inherit; color: var(--text);
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 12.5px; color: var(--text-soft); margin-top: 12px; }

.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.contact-card h3 { font-size: 15.5px; margin-bottom: 14px; }
.wa-btn {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  background: var(--grey); border-radius: 8px; padding: 12px 14px; margin-bottom: 10px; color: var(--text);
  font-size: 14px; font-weight: 600; transition: background .2s ease;
}
.wa-btn:hover { background: #EAF3EC; }
.wa-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); flex-shrink: 0; }
.community-link {
  display: block; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 14px;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px;
}
.community-link:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Footer ---------- */
footer { background: var(--navy-dark); color: #B9C6D2; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 44px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 34px; }
.footer-brand span { color: #fff; font-weight: 800; font-size: 16px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; color: #B9C6D2; font-size: 13.5px; }
.footer-col a:hover { color: #fff; }
.footer-desc { font-size: 13.5px; color: #9DAEC0; max-width: 280px; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; text-decoration: none;
}
.footer-socials a:hover { background: var(--orange); }
.footer-socials svg { width: 16px; height: 16px; stroke: #fff; }
.footer-bottom {
  text-align: center; font-size: 12.5px; color: #7C8CA0;
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px;
}

/* ---------- Floating buttons ---------- */
.float-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 300;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa);
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  box-shadow: 0 10px 26px rgba(37,211,102,0.4); animation: pulse-wa 2.4s infinite;
}
.float-wa svg { width: 28px; height: 28px; fill: #fff; }
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5), 0 10px 26px rgba(37,211,102,0.4); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 10px 26px rgba(37,211,102,0.4); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 26px rgba(37,211,102,0.4); }
}
.back-top {
  position: fixed; bottom: 24px; right: 92px; z-index: 300;
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; border: none; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 8px 20px rgba(20,40,56,0.3);
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-text h1 { font-size: 38px; }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .cards, .zone-cards, .news-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-inner { flex-direction: column; }
  .hero-text, .hero-media { flex: none; width: 100%; }
  .hero-text .lead { max-width: none; }
  .hero-media { margin-top: 20px; }
  .about-grid { flex-direction: column; }
  .about-media { width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .related-services { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .site-header.nav-open .main-nav {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 18px 24px; gap: 16px; border-bottom: 1px solid var(--border);
  }
  .site-header.nav-open .main-nav .btn-client { display: inline-block; text-align: center; }
  .hero-text h1 { font-size: 30px; }
  .hero-media .float-card { position: static; margin-top: 16px; }
  .cards, .zone-cards, .news-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .app-banner-inner { flex-direction: column; align-items: flex-start; }
  .float-wa { width: 50px; height: 50px; bottom: 18px; right: 18px; }
  .back-top { width: 38px; height: 38px; bottom: 18px; right: 78px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .regime-tabs { flex-direction: column; }
  .page-hero h1 { font-size: 26px; }
}


/* ---------- Marketplace vehicules ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin-bottom: 28px; padding: 16px; background: var(--grey); border-radius: var(--radius);
}
.filter-bar label { font-size: 13px; font-weight: 600; color: var(--text-soft); margin-right: 6px; }
.filter-bar select {
  padding: 9px 12px; border-radius: 8px; border: 1px solid var(--border); background: #fff;
  font-size: 14px; color: var(--text); font-family: inherit;
}
.vehicule-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px;
}
.vehicule-card {
  display: block; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: box-shadow .18s ease, transform .18s ease; text-decoration: none;
}
.vehicule-card:hover { box-shadow: 0 16px 36px rgba(20,40,56,0.14); transform: translateY(-3px); }
.vehicule-card .thumb { position: relative; aspect-ratio: 4/3; background: var(--grey); overflow: hidden; }
.vehicule-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.vehicule-card .thumb .no-photo { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--text-soft); font-size: 13px; }
.vehicule-badge {
  position: absolute; top: 10px; left: 10px; background: var(--navy); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; text-transform: uppercase;
}
.vehicule-badge.occasion { background: var(--orange); }
.vehicule-badge.vendu { background: #888; }
.vehicule-card .info { padding: 16px; }
.vehicule-card h3 { font-size: 17px; margin-bottom: 4px; }
.vehicule-card .meta { color: var(--text-soft); font-size: 13px; margin-bottom: 10px; }
.vehicule-card .price { color: var(--orange); font-weight: 700; font-size: 16px; }
.vehicule-empty { text-align: center; padding: 60px 20px; color: var(--text-soft); }
.vehicule-gallery { margin-bottom: 20px; }
.vehicule-gallery .main-photo { width: 100%; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; background: var(--grey); margin-bottom: 10px; }
.vehicule-gallery .main-photo img { width: 100%; height: 100%; object-fit: cover; }
.vehicule-gallery .thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.vehicule-gallery .thumbs img { width: 70px; height: 52px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); cursor: pointer; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 18px 0; }
.spec-list div { font-size: 14px; }
.spec-list span { display: block; color: var(--text-soft); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }

/* == REFONTE 2026 == */
.hero-text h1 .accent-line{display:inline;width:auto;text-align:inherit}
.hero-text h1{letter-spacing:-.5px}
h2{letter-spacing:-.3px}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px}

@media (max-width:1024px){
.main-nav{display:none}
.nav-toggle{display:block}
.site-header.nav-open .main-nav{display:flex;flex-direction:column;position:absolute;top:100%;left:0;right:0;background:#fff;padding:18px 24px;gap:16px;border-bottom:1px solid var(--border);max-height:75vh;overflow-y:auto}
.site-header.nav-open .main-nav .btn-client{display:inline-block;text-align:center}
.nav-item .dropdown{position:static;transform:none;opacity:1;visibility:visible;box-shadow:none;border:none;padding:0 0 0 14px;display:none;min-width:0}
.nav-item.dd-open .dropdown{display:block}
}

.back-top{right:24px;bottom:88px}
@media (max-width:640px){
.float-wa{width:54px;height:54px;bottom:16px;right:16px}
.back-top{width:40px;height:40px;right:23px;bottom:80px}
}

@media (max-width:640px){
.hero-cta{flex-direction:column;align-items:stretch}
.hero-cta .btn-primary,.hero-cta .btn-outline{width:100%;text-align:center;padding-top:14px;padding-bottom:14px;font-size:15px}
.main-nav a,.dropdown a{min-height:44px;display:flex;align-items:center}
.cards a,.zone-cards a,.news-cards a{min-height:44px}
}

.nav-toggle{font-size:22px;line-height:1;min-width:44px;min-height:44px}

.map-facade{position:relative;width:100%;height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:14px;text-align:center;background:var(--grey);border-bottom:1px solid var(--border);overflow:hidden}
.map-facade.map-loaded{display:block;padding:0;border-bottom:1px solid var(--border);background:none}
.map-facade iframe{display:block;width:100%;height:160px;border:0}
.map-pin{font-size:18px;color:var(--orange);line-height:1}
.map-load{background:var(--navy);color:#fff;border:0;border-radius:8px;padding:9px 18px;font-size:13.5px;font-family:inherit;cursor:pointer}
.map-load:hover{background:var(--navy-dark)}
.map-note{font-size:11.5px;color:var(--text-soft);max-width:230px;line-height:1.45}
@media (max-width:640px){.map-facade,.map-facade iframe{height:180px}.map-load{min-height:44px}}


/* ===== CARROUSEL EN FOND DE LA SECTION ACCUEIL (images non assombries) ===== */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg .bg-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transform: translateX(100%);
  will-change: transform;
  transition: transform 1.15s cubic-bezier(.62,.02,.34,1);
}
.hero-bg .bg-slide.is-active { transform: translateX(0); }
/* Le motif decoratif et le contenu passent au-dessus des photos */
.hero::before { z-index: 1; }
.hero-inner, .hero .feature-strip { position: relative; z-index: 2; }
/* Aucune image assombrie : la lisibilite du texte est assuree par une ombre portee */
.hero .hero-text h1,
.hero .hero-text p,
.hero .hero-badge { text-shadow: 0 2px 14px rgba(10,22,38,.75), 0 1px 3px rgba(10,22,38,.6); }

/* Panneau de description de l'image de fond courante */
.hero-caption { position: relative; min-height: 190px; }
.hero-cap {
  margin: 0; position: absolute; inset: 0;
  display: flex; align-items: center;
  overflow: auto;
  background: rgba(15,32,52,.55);
  border: 1px solid rgba(255,255,255,.22);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: #fff; font-size: 17px; line-height: 1.55; font-weight: 600;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  opacity: 0; transition: opacity 1.2s ease-in-out;
}
.hero-cap.is-active { opacity: 1; }
.hero-cap:empty { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-bg .bg-slide, .hero-cap { transition: none; }
}
@media (max-width: 860px) {
  .hero-caption { min-height: 108px; }
  .hero-cap { font-size: 15.5px; padding: 16px 18px; }
}

/* La pastille d'info se place sous le panneau de description (plus de chevauchement) */
.hero-media .float-card {
  position: static; bottom: auto; left: auto;
  margin-top: 18px; display: inline-flex; width: auto;
}
/* Lisibilite renforcee du paragraphe sur photo claire */
.hero .hero-text p { text-shadow: 0 2px 16px rgba(10,22,38,.85), 0 1px 4px rgba(10,22,38,.7); }
@media (max-width: 860px) { .hero-caption { min-height: 165px; } }

/* ===== FINITION PROFESSIONNELLE DE LA SECTION ACCUEIL =====
   Pas d'assombrissement uniforme : un degrade directionnel protege la lecture
   a gauche tandis que le sujet de la photo reste lumineux a droite. */
.hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(11,24,40,.90) 0%,
      rgba(11,24,40,.76) 30%,
      rgba(11,24,40,.40) 56%,
      rgba(11,24,40,.28) 100%),
    linear-gradient(180deg,
      rgba(11,24,40,.30) 0%,
      rgba(11,24,40,0) 20%,
      rgba(11,24,40,0) 68%,
      rgba(11,24,40,.42) 100%);
}
/* Legere respiration de l'image (zoom lent) pour un rendu haut de gamme */
/* Le motif geometrique s'efface : il faisait doublon avec la photo */
.hero::before { opacity: .22; z-index: 1; }

/* Le degrade assure le contraste : ombres de texte allegees */
.hero .hero-text h1,
.hero .hero-text p,
.hero .hero-badge { text-shadow: 0 2px 12px rgba(8,18,32,.5); }
.hero .hero-text h1 { letter-spacing: -.5px; }
.hero .hero-text p { color: rgba(255,255,255,.94); }
.hero-badge {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
}

/* Panneau de description : verre depoli */
.hero-cap {
  background: linear-gradient(135deg, rgba(12,26,44,.80) 0%, rgba(22,44,66,.62) 100%);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid rgba(255,255,255,.18);
  border-left: 3px solid var(--orange);
  border-radius: 16px;
  padding: 26px 30px;
  font-size: 17.5px; line-height: 1.62; font-weight: 500; letter-spacing: .1px;
  box-shadow: 0 26px 60px rgba(0,0,0,.40), inset 0 1px 0 rgba(255,255,255,.10);
}

/* Pastille d'info : plus nette, alignee a droite du panneau */
.hero-media .float-card {
  margin-top: 16px;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.30);
  border: 1px solid rgba(255,255,255,.6);
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg .bg-slide { transition: none; }
}
@media (max-width: 860px) {
  /* Sur mobile le texte passe sur toute la largeur : voile plus homogene */
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(11,24,40,.72) 0%, rgba(11,24,40,.60) 55%, rgba(11,24,40,.78) 100%);
  }
  .hero-cap { font-size: 16px; padding: 20px 22px; }
}
/* ==================================================================
   REFONTE MOBILE - 2026-08-24
   Bloc ajoute en fin de feuille : ne modifie pas le rendu ordinateur.
   Objectifs : meme identite visuelle, memes animations, page plus
   courte et plus dense sur telephone.
   ================================================================== */

/* --- 1. Typographie fluide --------------------------------------- */
@media (max-width: 900px) {
  h1 { letter-spacing: -.4px; }
  h2 { font-size: clamp(21px, 5.4vw, 27px); letter-spacing: -.2px; }
  .section-intro { font-size: 14.8px; margin: 8px 0 26px; }
  .eyebrow { font-size: 11.5px; letter-spacing: .8px; }
}

/* --- 2. Rythme vertical resserre ---------------------------------- */
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  section { padding: 42px 0; }
  section.tight { padding: 30px 0; }
  .header-inner { padding: 10px 18px; }
}

/* --- 3. En-tete : le bouton "Se connecter" reste visible ---------- */
/* Sur telephone il etait enferme dans le menu burger : acces a
   espace client demandait deux gestes. Il remonte dans la barre. */
@media (max-width: 1024px) {
  .site-header:not(.nav-open) .main-nav { display: contents; }
  .site-header:not(.nav-open) .main-nav > *:not(.btn-client) { display: none; }
  .site-header:not(.nav-open) .main-nav > .btn-client {
    order: 2; padding: 9px 14px; font-size: 12.5px; border-radius: 8px;
  }
  .header-actions { order: 3; gap: 8px; }
}
@media (max-width: 560px) {
  .brand { font-size: 0; gap: 0; }
  .brand img { height: 34px; }
  .lang-switch a { font-size: 12px; padding: 5px 4px; }
  .site-header:not(.nav-open) .main-nav > .btn-client { padding: 9px 12px; font-size: 12px; }
}

/* --- 4. Burger anime ---------------------------------------------- */
@media (max-width: 1024px) {
  .nav-toggle { transition: transform .28s cubic-bezier(.4, 0, .2, 1); }
  .site-header.nav-open .nav-toggle { transform: rotate(90deg); font-size: 0; }
  .site-header.nav-open .nav-toggle::after {
    content: "\2715"; font-size: 21px; display: block; transform: rotate(-90deg);
  }
}

/* --- 5. Menu mobile : ouverture animee, entree en cascade --------- */
@media (max-width: 1024px) {
  .site-header.nav-open .main-nav {
    animation: menu-in .26s cubic-bezier(.22, .9, .3, 1) both;
    box-shadow: 0 18px 34px rgba(20, 40, 56, .14);
  }
  .site-header.nav-open .main-nav > * { animation: menu-item .3s ease both; }
  .site-header.nav-open .main-nav > *:nth-child(1) { animation-delay: .03s; }
  .site-header.nav-open .main-nav > *:nth-child(2) { animation-delay: .07s; }
  .site-header.nav-open .main-nav > *:nth-child(3) { animation-delay: .11s; }
  .site-header.nav-open .main-nav > *:nth-child(4) { animation-delay: .15s; }
  .site-header.nav-open .main-nav > *:nth-child(5) { animation-delay: .19s; }
  .site-header.nav-open .main-nav > *:nth-child(6) { animation-delay: .23s; }
  .site-header.nav-open .main-nav > *:nth-child(7) { animation-delay: .27s; }
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes menu-item {
  from { opacity: 0; transform: translateX(-9px); }
  to   { opacity: 1; transform: none; }
}

/* --- 6. Accueil : plus court, meme impact ------------------------- */
@media (max-width: 860px) {
  .hero { padding: 30px 0 26px; }
  .hero-inner { gap: 22px; }
  .hero-badge { font-size: 11px; padding: 6px 12px; margin-bottom: 14px; letter-spacing: 0; }
  .hero-text h1 { font-size: clamp(26px, 7.4vw, 34px); margin-bottom: 12px; line-height: 1.15; }
  .hero-text .lead { font-size: 15px; margin-bottom: 20px; }
  .hero-cta { margin-bottom: 26px; gap: 10px; }
  .hero-media { margin-top: 4px; }
  .hero-caption { min-height: 128px; }
  .hero-cap { font-size: 14.6px; line-height: 1.5; padding: 16px 18px; border-radius: 14px; }
  .hero-media .float-card { margin-top: 12px; padding: 11px 14px; font-size: 12.5px; border-radius: 12px; }
  .hero-media .float-card .icon-dot { width: 34px; height: 34px; border-radius: 9px; }
  .hero-media .float-card .icon-dot svg { width: 17px; height: 17px; }
  .feature-item { padding: 14px 10px; }
  .feature-item .num { font-size: 21px; }
  .feature-item .label { font-size: 11.5px; }
}

/* --- 7. Cartes de service : icone en ligne, plus compactes -------- */
@media (max-width: 768px) {
  .cards { gap: 14px; }
  .card {
    padding: 18px 16px 18px 19px; display: grid; grid-template-columns: 44px 1fr;
    gap: 6px 14px; align-items: start; position: relative; overflow: hidden;
  }
  .card::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--orange); opacity: .9;
  }
  .card .icon { width: 44px; height: 44px; margin-bottom: 0; grid-row: 1 / span 3; }
  .card .icon svg { width: 22px; height: 22px; }
  .card > *:not(.icon) { grid-column: 2; }
  .card h3 { font-size: 16.5px; margin-bottom: 0; }
  .card p { font-size: 13.8px; }
  .card .card-link { margin-top: 6px; font-size: 13px; }
}

/* --- 8. Etapes : chronologie verticale ---------------------------- */
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; gap: 0; position: relative; }
  .steps::before {
    display: block; content: ""; position: absolute;
    top: 14px; bottom: 40px; left: 21px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--navy) 0%, var(--border) 100%);
  }
  .step {
    display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px;
    text-align: left; padding-bottom: 22px; align-items: start;
  }
  .step .step-num {
    width: 44px; height: 44px; font-size: 15px; margin: 0;
    grid-row: 1 / span 2; box-shadow: 0 0 0 5px var(--grey);
  }
  .step > *:not(.step-num) { grid-column: 2; }
  .step h3 { font-size: 15.5px; margin: 10px 0 3px; }
  .step p { font-size: 13.5px; }
}

/* --- 9. Agences, actualites, contact, pied de page ---------------- */
@media (max-width: 768px) {
  .zone-cards, .news-cards { gap: 16px; }
  .zone-body { padding: 18px; }
  .zone-body h3 { font-size: 16px; }
  .map-facade, .map-facade iframe, .zone-map { height: 150px; }
  .news-media { height: 104px; }
  .news-body { padding: 18px; }
  .news-body h3 { font-size: 15.5px; }
  .about-media img { max-height: 300px; width: 100%; object-fit: cover; }
  .about-grid { gap: 26px; }
  .about-text p { font-size: 14.8px; }
  .about-badges { gap: 8px; margin-top: 16px; }
  .about-badge { font-size: 12.5px; padding: 8px 13px; }
  .contact-form { padding: 20px; }
  .contact-card { padding: 20px; }
  .contact-side { gap: 14px; }
  .app-banner-inner { gap: 18px; }
  footer { padding: 40px 0 20px; }
  .footer-grid { gap: 26px; margin-bottom: 30px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }
  .footer-desc { max-width: none; }
  .faq-q { padding: 16px 4px; font-size: 15px; }
}

/* --- 10. Animations : les memes que sur ordinateur ---------------- */
/* Apparition au defilement, en cascade dans les grilles. */
@media (max-width: 900px) {
  .reveal { transform: translateY(18px); transition-duration: .55s; }
  .cards > *:nth-child(2), .zone-cards > *:nth-child(2),
  .news-cards > *:nth-child(2), .steps > *:nth-child(2) { transition-delay: .07s; }
  .cards > *:nth-child(3), .zone-cards > *:nth-child(3),
  .news-cards > *:nth-child(3), .steps > *:nth-child(3) { transition-delay: .14s; }
  .cards > *:nth-child(4), .steps > *:nth-child(4) { transition-delay: .21s; }
  .cards > *:nth-child(5), .steps > *:nth-child(5) { transition-delay: .28s; }
  .cards > *:nth-child(6) { transition-delay: .35s; }
}

/* Sans survol au doigt : on le remplace par un appui. */
@media (hover: none) {
  .card:hover, .zone-card:hover, .vehicule-card:hover,
  .btn-primary:hover, .btn-client:hover, .back-top:hover { transform: none; }
  .card:hover, .zone-card:hover, .vehicule-card:hover { box-shadow: none; }
  .card:active, .zone-card:active, .vehicule-card:active {
    transform: scale(.985); box-shadow: 0 10px 22px rgba(31, 59, 87, .12);
  }
  .btn-primary:active, .btn-client:active, .copy-btn:active,
  .gallery-filter:active, .regime-tab:active { transform: scale(.97); }
  a, button { -webkit-tap-highlight-color: rgba(224, 122, 46, .18); }
}

/* --- 11. Confort de lecture et accessibilite ---------------------- */
@media (max-width: 640px) {
  .form-field input, .form-field select, .form-field textarea {
    font-size: 16px; padding: 12px 12px; /* 16px : empeche le zoom auto iOS */
  }
  .btn-primary, .btn-outline { min-height: 46px; }
  .wa-btn, .community-link { min-height: 46px; }
  .gallery-filter { min-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .float-wa { animation: none; }
  .site-header.nav-open .main-nav,
  .site-header.nav-open .main-nav > * { animation: none; }
  .nav-toggle { transition: none; }
}

/* Le bouton espace client se cale contre le groupe de droite. */
@media (max-width: 1024px) {
  .site-header:not(.nav-open) .main-nav > .btn-client { margin-left: auto; }
}

/* Menu mobile ouvert : alignement a gauche, bouton pleine largeur. */
@media (max-width: 1024px) {
  .site-header.nav-open .main-nav { align-items: stretch; }
  .site-header.nav-open .main-nav > a,
  .site-header.nav-open .main-nav .nav-item > a { justify-content: flex-start; }
  .site-header.nav-open .main-nav > .btn-client { margin-left: 0; align-self: stretch; text-align: center; justify-content: center; }
}

/* ===========================================================================
   RYTHME DES ANIMATIONS ET BOUTON DU FORMULAIRE — 24/08/2026
   ---------------------------------------------------------------------------
   Constat de mesure, pas d impression : le site portait six durees
   differentes (0,18 / 0,2 / 0,25 / 0,3 / 0,6 / 1,15 s) et trois courbes.
   MTN TV, pris comme reference, n en porte qu une seule — 0,25 s ease-in-out,
   sur environ 140 elements. C est cette unite de rythme qui donne l impression
   de vie, pas la quantite d effets. On ramene donc tout a trois durees et une
   seule courbe d entree.
   =========================================================================== */
:root{
  --t-etat: .15s;   /* couleur, fond, bordure : doit paraitre instantane */
  --t-geste: .25s;  /* survol, levee de carte, ouverture : un geste */
  --t-entree: .5s;  /* apparition d un bloc, glissement d une vue */
  --e-entree: cubic-bezier(.16,1,.3,1);
  --e-geste: cubic-bezier(.2,.6,.3,1);
}

/* --- etats : 150 ms --- */
.btn-client,
.lang-switch a,
.copy-btn,
.wa-btn,
.btn-outline,
.main-nav a:not(.btn-client)::after{
  transition-duration: var(--t-etat);
  transition-timing-function: var(--e-geste);
}

/* --- gestes : 250 ms --- */
.btn-primary,
.card,
.zone-card,
.vehicule-card,
.faq-q .chev,
.faq-a,
.back-top,
.dropdown{
  transition-duration: var(--t-geste);
  transition-timing-function: var(--e-geste);
}

/* --- entrees : 500 ms. Le carrousel passait 1,15 s a glisser, ce qui se
       ressent comme de la lenteur et non comme de la douceur. --- */
.reveal{
  transition: opacity var(--t-entree) var(--e-entree),
              transform var(--t-entree) var(--e-entree);
}
.hero-bg .bg-slide{ transition: transform .8s var(--e-entree); }

/* --- une levee identique pour toutes les cartes cliquables --- */
.card:hover,
.zone-card:hover,
.vehicule-card:hover{ transform: translateY(-4px); }

/* --- l en-tete se resserre au defilement : le seul mouvement permanent de la
       page, et celui qui signale le mieux qu elle est vivante --- */
.site-header{ transition: box-shadow var(--t-etat) ease; }
.header-inner{ transition: padding var(--t-geste) var(--e-geste); }
.header-inner img{ transition: height var(--t-geste) var(--e-geste); }
.site-header.compact{ box-shadow: 0 6px 20px rgba(20,40,56,.12); }
.site-header.compact .header-inner{ padding-top: 6px; padding-bottom: 6px; }
.site-header.compact .header-inner img{ height: 34px; }

/* --- le clavier doit voir ou il est. Absent jusqu ici : un visiteur qui
       navigue au clavier ne savait pas quel element etait selectionne. --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- bouton d envoi du formulaire de contact : bleu marine de la charte.
       Choix de Veps du 24/08 (option B). La cible est volontairement etroite :
       les deux autres .btn-primary — appel a l action du hero et bandeau
       application — restent orange, faute de quoi celui du hero disparaitrait
       sur son fond sombre.
       Contraste du texte blanc sur #1F3B57 : 11,53 pour 1. La norme demande
       4,5. L orange precedent tombait a 3,00 : il ne passait pas. --- */
#contactForm button[type="submit"]{
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(31,59,87,.30);
}
#contactForm button[type="submit"]:hover{ background: var(--navy-dark); }

@media (prefers-reduced-motion: reduce){
  :root{ --t-etat: .01ms; --t-geste: .01ms; --t-entree: .01ms; }
  .hero-bg .bg-slide{ transition: none; }
  .card:hover, .zone-card:hover, .vehicule-card:hover{ transform: none; }
}


/* filet-visibilite : securite finale */
html.anim.revele .reveal { opacity: 1 !important; transform: none !important; }

/* reseaux-sociaux */
.footer-rs{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;
  margin:26px 0 6px;padding-top:20px;border-top:1px solid rgba(255,255,255,.14)}
.footer-rs-t{font-size:12px;letter-spacing:.14em;text-transform:uppercase;opacity:.72;margin-right:4px}
.footer-rs a{width:38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.12);color:#fff;transition:background .25s ease,transform .25s ease}
.footer-rs a:hover{background:var(--accent,#F0932B);transform:translateY(-2px)}
.footer-rs a.wa:hover{background:#25D366}
.footer-rs a svg{width:19px;height:19px;fill:currentColor}
@media (max-width:560px){.footer-rs{gap:8px}.footer-rs-t{width:100%;text-align:center;margin:0 0 8px}}

/* Sur telephone, la lueur sortirait sur le titre : on la repousse hors champ. */
@media (max-width: 720px) {
  .page-hero { background:
    linear-gradient(160deg, rgba(9,20,32,.86) 0%, rgba(9,20,32,.5) 46%, rgba(9,20,32,0) 72%),
    radial-gradient(760px 340px at 116% -20%, rgba(224,122,46,.60), transparent 62%),
    linear-gradient(150deg, #0C1826 0%, var(--navy-dark) 46%, var(--navy) 100%); }
  .page-hero::before { opacity: .55; }
}


/* Badge de nouveaute : au-dessus du libelle, pour ne pas elargir le menu. */
.nav-kilos .pin{position:absolute;left:50%;top:-.66rem;transform:translateX(-50%);
margin:0;padding:.05rem .28rem;font-size:.48rem;letter-spacing:.07em;line-height:1.4;
border-radius:4px;white-space:nowrap;pointer-events:none;vertical-align:baseline}
/* L'entree paiement est un lien de menu ordinaire : une seule mise en avant. */
.nav-payer{font-weight:inherit}


/* Carte de taux : le chiffre est la vedette, le bouton la seule action. */
.pf-taux{text-align:center}
.pf-t-tete{display:flex;align-items:center;justify-content:center;gap:9px;
font-size:12.5px;font-weight:700;letter-spacing:.9px;text-transform:uppercase;
color:#9DB6CC;margin-bottom:16px}
.pf-t-ic{width:26px;height:26px;border-radius:8px;background:var(--orange);
display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
position:relative}
.pf-t-ic::before{content:"";width:11px;height:11px;border:2px solid #fff;
border-left:0;border-bottom:0;transform:rotate(45deg) translate(-1px,1px)}
.pf-t-corps{min-height:96px;display:flex;flex-direction:column;
align-items:center;justify-content:center;margin-bottom:18px}
.pf-t-val{font-size:52px;font-weight:800;line-height:1;letter-spacing:-2px;
color:#fff;font-variant-numeric:tabular-nums}
.pf-t-val small{font-size:17px;font-weight:700;letter-spacing:0;
color:#9DB6CC;margin-left:7px}
.pf-t-par{font-size:14px;color:#9DB6CC;margin-top:9px}
.pf-t-par b{color:#fff;font-weight:700}
.pf-t-second{font-size:13.5px;color:#9DB6CC;margin-top:13px;padding-top:12px;
border-top:1px solid rgba(255,255,255,.12);width:100%}
.pf-t-second b{color:#fff;font-weight:700;font-variant-numeric:tabular-nums}
.pf-t-attente{font-size:19px;font-weight:700;color:#fff;line-height:1.35;
max-width:15ch}
.pf-t-cta{width:100%;justify-content:center;font-size:16px}
.pf-t-note{color:#8FA6BA;font-size:12px;margin:12px 0 0;line-height:1.5}
@media (max-width:560px){.pf-t-val{font-size:42px}}

/* Badge de nouveaute : il signale, il ne crie pas. Deux tiers de la taille
   precedente, colle au libelle sans elargir la ligne de menu. */
.nav-kilos .pin{top:-.5rem;padding:.02rem .2rem;font-size:.4rem;
letter-spacing:.05em;line-height:1.3;border-radius:3px}
