/* Proposition A « Forêt » : chaleureux, vert forêt + crème, cartes arrondies */
:root {
  --bg: #f3f1e8;
  --surface: #ffffff;
  --ink: #1b241d;
  --muted: #646b60;
  --green: #1e8c87;
  --green-2: #269f9a;
  --green-soft: #dcefed;
  --teal: #269f9a;
  --line: #e2dfd2;
  --radius: 22px;
  --shadow: 0 12px 32px rgba(30, 140, 135, .10);
  --map-line: #1e8c87; --map-dot: #269f9a; --map-hub: #269f9a; --map-text: #1b241d;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: "Inter", system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 700; letter-spacing: -.01em; line-height: 1.12; }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
.h-small { font-family: "Inter", sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.pad { padding: 32px; }
.section { padding-top: 64px; }
.head { max-width: 680px; margin-bottom: 28px; }
.head p { margin-top: 10px; font-size: 17px; }
.proposal-tag { position: fixed; left: 12px; bottom: 12px; z-index: 60; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; opacity: .85; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 15px 26px; font: 600 15px "Inter", sans-serif; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); }
.btn-ghost { background: transparent; border: 1.5px solid var(--green); color: var(--green); }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(243, 241, 232, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 76px; position: relative; }
.brand img { height: 46px; width: auto; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu > a:not(.btn) { text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: 15px; }
.menu > a:not(.btn):hover { background: var(--green-soft); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin: 0 8px; background: #fff; }
.lang button { border: 0; background: none; font: 600 12px "Inter", sans-serif; padding: 6px 10px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.lang button.is-active { background: var(--green); color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.menu-btn span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 56px; }
.kicker { font-weight: 600; color: var(--green-2); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
h1 { font-size: clamp(40px, 5.6vw, 68px); margin: 14px 0 20px; }
.lead { font-size: 18px; color: var(--muted); max-width: 540px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-media { position: relative; margin: 0; border-radius: 32px 32px 32px 120px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
[data-slides] .ss-img { width: 100%; height: 100%; object-fit: cover; }
.float-badge { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; background: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); }
.float-badge i { width: 10px; height: 10px; border-radius: 50%; background: #1e8c87; box-shadow: 0 0 0 5px #dcefed; }

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; }
.stat { padding: 22px 24px; border-left: 1px solid var(--line); }
.stat:first-of-type { border-left: 0; }
.stat b { display: block; font-family: "Fraunces", serif; font-size: 40px; color: var(--green); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14px; }

/* Entreprise */
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.about h2 { margin-bottom: 18px; }
.about p { font-size: 17px; margin-bottom: 12px; }
.sectors { list-style: none; padding: 0; display: grid; gap: 14px; }
.wz-sector { display: flex; align-items: center; gap: 14px; }
.wz-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green); flex: none; }
.wz-svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: block; }
.wz-txt b { display: block; font-weight: 600; line-height: 1.3; }
.wz-txt small { display: block; color: var(--muted); font-size: 13.5px; }

/* Carburants */
.fuels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.wz-fuel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column; gap: 8px; min-height: 230px; }
.wz-fuel.is-featured { background: var(--green); color: #fff; }
.wz-tag { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); }
.is-featured .wz-tag { background: rgba(255,255,255,.16); color: #fff; }
.wz-fuel h3 { font-size: 26px; margin-top: 6px; }
.wz-desc { color: var(--muted); font-size: 15px; }
.is-featured .wz-desc { color: rgba(255,255,255,.8); }
.wz-fuel-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.is-featured .wz-fuel-foot { border-top-color: rgba(255,255,255,.2); }
.wz-price small { display: block; font-size: 12px; color: var(--muted); }
.is-featured .wz-price small { color: rgba(255,255,255,.7); }
.wz-price b { font-size: 16px; }
.wz-stock { font-size: 12px; font-weight: 700; color: #1e8c87; white-space: nowrap; }
.wz-stock::before { content: "● "; }
.is-featured .wz-stock { color: #c9ecea; }
.note { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* Énergie */
.energy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); gap: 56px; align-items: center; }
.energy .head { max-width: none; margin-bottom: 0; }
.energy-media { margin: 0; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--green-soft);
  box-shadow: 0 2px 6px rgba(30, 140, 135, .18), 0 18px 36px -6px rgba(30, 140, 135, .38), 0 40px 80px -20px rgba(30, 140, 135, .45); }
.energy-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .energy { grid-template-columns: 1fr; gap: 28px; } .energy-media { max-width: 520px; } }

/* Station */
.station { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.station-media { margin: 0; border-radius: var(--radius) 0 0 var(--radius); overflow: hidden; min-height: 340px; }
.station-media img { width: 100%; height: 100%; object-fit: cover; }
.station .card { border-radius: 0 var(--radius) var(--radius) 0; }
.station h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.facts { margin-top: 22px; display: grid; gap: 0; }
.facts div { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr; gap: 12px; }
.facts dt { font-weight: 600; }
.facts dd { color: var(--muted); }

/* Lubrifiants */
.table-card { overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 24px; border-top: 1px solid var(--line); }
thead th { border-top: 0; background: var(--green); color: #fff; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.wz-ok { color: #1e8c87; font-weight: 600; white-space: nowrap; }
.wz-ok::before { content: "● "; }
.wz-extra { display: none; }
.table-card.is-open .wz-extra { display: table-row; }
.more { margin: 16px 24px 20px; }

/* EPI */
.chips { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.wz-chip { display: flex; align-items: flex-start; gap: 12px; background: var(--surface); padding: 16px; border-radius: 18px; box-shadow: var(--shadow); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wz-service { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; position: relative; }
.wz-service .wz-num { position: absolute; top: 22px; right: 24px; font-family: "Fraunces", serif; color: var(--line); font-size: 30px; font-weight: 700; }
.wz-service h3 { font-size: 20px; margin: 16px 0 4px; }
.wz-service p { color: var(--muted); font-size: 15px; }

/* Processus */
.band { background: var(--green); color: #fff; margin-top: 64px; padding: 64px 0; }
.band .head p { color: rgba(255,255,255,.8); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.wz-step { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 24px; }
.wz-step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); font-weight: 700; margin-bottom: 14px; }
.wz-step h3 { font-size: 20px; margin-bottom: 6px; }
.wz-step p { color: rgba(255,255,255,.78); font-size: 15px; }

/* Couverture */
.coverage { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.coverage h2 { margin-bottom: 12px; }
.cities { list-style: none; padding: 0; margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.cities li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cities b { color: var(--green); }
.map-card { margin: 0; padding: 20px 20px 14px; }
.map svg { width: 100%; height: auto; display: block; font-family: "Inter", sans-serif; }
.map-card figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* HSE */
.hse { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.wz-hse-item { padding: 24px 0 0; border-top: 3px solid var(--green); }
.wz-hse-item h3 { font-size: 19px; margin-bottom: 6px; }
.wz-hse-item p { color: var(--muted); font-size: 15px; }

/* Partenaires */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wz-partner { margin: 0; height: 120px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; place-items: center; padding: 18px; }
.wz-partner img { max-height: 80px; width: auto; object-fit: contain; }

/* Devis */
.quote { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.quote h2 { margin-bottom: 10px; }
.contact { list-style: none; padding: 0; margin-top: 26px; }
.contact li { padding: 14px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.contact span { font-size: 13px; color: var(--muted); }
.contact a { font-weight: 600; color: var(--green); font-size: 17px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: 400 16px "Inter", sans-serif; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfaf6; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.err { color: #a23b17; font-size: 14px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.wz-faq-item { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 18px 22px; }
.wz-faq-item summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.wz-faq-item p { margin-top: 10px; color: var(--muted); }

/* Pied de page */
.footer { margin-top: 80px; padding: 40px 0 70px; border-top: 1px solid var(--line); background: #ece9dd; }
.footer-in { display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.footer-logo { height: 44px; width: auto; margin-bottom: 6px; }

/* WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float { transition: transform .2s ease, box-shadow .2s ease; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.24); }
.wa-float:focus-visible { outline: 3px solid #1b241d; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } .wa-float:hover { transform: none; } }

@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .menu { display: none; position: absolute; top: 76px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 12px; }
  .menu.is-open { display: flex; }
  .lang { align-self: flex-start; margin: 8px 0; }
  .fuels { grid-template-columns: repeat(2, 1fr); }
  .steps, .hse { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero, .about, .station, .coverage, .quote { grid-template-columns: 1fr; }
  .station-media { border-radius: var(--radius) var(--radius) 0 0; min-height: 240px; }
  .station .card { border-radius: 0 0 var(--radius) var(--radius); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-of-type(3) { border-left: 0; }
  .services, .partners, .chips { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .fuels, .services, .steps, .hse, .form { grid-template-columns: 1fr; }
  .cities, .chips { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  th, td { padding: 12px 14px; font-size: 14px; }
  .pad { padding: 22px; }
}

/* Réseau de stations */
.network { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.st-provs { list-style: none; padding: 0; margin: 0; max-height: 640px; overflow: auto; display: grid; gap: 4px; }
.st-prov { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 0; background: transparent; font: inherit; color: var(--muted); padding: 10px 14px; border-radius: 12px; cursor: pointer; text-align: left; }
.st-prov b { font-size: 12px; min-width: 24px; text-align: center; border-radius: 999px; padding: 2px 8px; background: var(--line); color: var(--muted); }
.st-prov.has { color: var(--ink); font-weight: 600; }
.st-prov.has b { background: var(--green-soft); color: var(--green); }
.st-prov:hover { background: var(--green-soft); }
.st-prov.is-active { background: var(--green); color: #fff; }
.st-prov.is-active b { background: rgba(255, 255, 255, .22); color: #fff; }
.st-map { height: 460px; border-radius: 16px; overflow: hidden; z-index: 0; }
.st-list { margin: 18px 0 10px; }
.st-list h3 { font-size: 20px; margin-bottom: 8px; }
.st-row { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.st-pin span { display: block; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: var(--green); border: 3px solid #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); transform: rotate(-45deg); }
.st-pop b { display: block; }
.st-pop a { color: var(--green); font-weight: 600; }
@media (max-width: 860px) { .network { grid-template-columns: 1fr; } .st-provs { max-height: 220px; } .st-map { height: 340px; } }

/* Diaporama station */
.station-media { position: relative; }
[data-slides] .ss-img { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
[data-slides] .ss-img.is-on { opacity: 1; }
.ss-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .88); color: var(--green); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.ss-btn:hover { background: #fff; }
.ss-btn { display: grid; place-items: center; }
.ss-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wz-ico img.wz-ico-img { width: 26px; height: 26px; object-fit: contain; display: block; }
.ss-prev { left: 14px; } .ss-next { right: 14px; }
.ss-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.ss-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .6); cursor: pointer; }
.ss-dots button.is-on { background: #fff; width: 24px; border-radius: 999px; }
@media (prefers-reduced-motion: reduce) { [data-slides] .ss-img { transition: none; } }

/* Mobile : tableau des lubrifiants en lignes empilées, marges et réglages fins */
@media (max-width: 560px) {
  .table-card thead { display: none; }
  .table-card tr:not(.wz-extra), .table-card.is-open .wz-extra { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
  .table-card tbody tr:first-child { border-top: 0; }
  .table-card td { border: 0; padding: 0; }
  .table-card td:first-child { grid-column: 1 / -1; font-weight: 600; }
  .table-card td:nth-child(2) { color: var(--muted); font-size: 13px; }
  .more { margin: 14px 16px 18px; }
  .btn { padding-left: 20px; padding-right: 20px; }
  h2 { font-size: 28px; }
  .st-list h3 { font-size: 18px; }
}
@media (max-width: 400px) { .wrap { padding-left: 16px; padding-right: 16px; } .stats { grid-template-columns: 1fr; } .stat { border-left: 0 !important; } }

.f-status { margin: 0; min-height: 1.3em; font-size: 14px; font-weight: 600; }
.f-status.is-ok { color: #1a7a76; }
.f-status.is-err { color: #b3261e; }

/* Bande défilante des partenaires */
.partners.marquee { display: block; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; padding: 6px 0 24px; animation: wz-marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .wz-partner { flex: none; width: 230px; margin-right: 16px; }
@keyframes wz-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .partners.marquee { overflow-x: auto; } .marquee-track { animation: none; } }
@media (max-width: 560px) { .marquee .wz-partner { width: 170px; height: 100px; } .marquee-track { animation-duration: 30s; } }

/* Variante inversée : texte à gauche, images à droite */
.station-rev .station-media { order: 2; border-radius: 0 var(--radius) var(--radius) 0; }
.station-rev .card { order: 1; border-radius: var(--radius) 0 0 var(--radius); }
@media (max-width: 860px) {
  .station-rev .station-media { order: 0; border-radius: var(--radius) var(--radius) 0 0; }
  .station-rev .card { order: 1; border-radius: 0 0 var(--radius) var(--radius); }
}

/* Zones de couverture */
.st-provs { max-height: none; }
.st-cities { color: var(--muted); margin: 0 0 14px; }
.st-list h3.st-sub { font-size: 16px; margin-top: 8px; }
.leaflet-tooltip.st-city { font: 600 13px "Inter", sans-serif; color: var(--ink); border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }

/* Cartes carburant cliquables vers le devis */
.wz-fuel[role="link"] { cursor: pointer; transition: transform .15s, box-shadow .15s; }
.wz-fuel[role="link"]:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(30, 140, 135, .18); }
.wz-fuel[role="link"]:focus-visible { outline: 3px solid var(--green-2); outline-offset: 3px; }
