/* Anicet Express Delivery — feuille de style
   Identité reprise des flyers : vert et bleu du logo, fond vert nuit,
   titres en caractères condensés. Pas de dégradés, pas d'ombres décoratives. */
:root {
  --vert: #01be62;      /* vert du logo */
  --vert-fonce: #00803f;
  --bleu: #0049af;      /* bleu du logo */
  --nuit: #062b19;      /* fond des flyers */
  --encre: #10201a;
  --gris: #5a6b62;
  --ligne: #d9e2dc;
  --fond-gris: #f3f6f4;
  --wa: #25d366;
  --titre: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --texte: "Barlow", "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--texte); color: var(--encre); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); text-underline-offset: 2px; }
h1, h2, h3 { font-family: var(--titre); font-weight: 800; line-height: 1.05; margin: 0 0 .45em; letter-spacing: 0; }
h1 { font-size: clamp(2.4rem, 8vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.4rem); }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.etroit { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--ligne); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); min-width: 0; }
.logo-img { width: 44px; height: auto; flex: none; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.05; }
.logo-txt b { font-family: var(--titre); font-size: 1.3rem; font-weight: 800; white-space: nowrap; }
.logo-txt b span { color: var(--vert-fonce); }
.logo-txt small { font-size: .72rem; color: var(--gris); white-space: nowrap; }
.logo.clair { color: #fff; }
.logo.clair .logo-txt b span { color: var(--vert); }
.logo.clair .logo-txt small { color: #b9d6c4; }
.nav { display: none; }
.nav a { color: var(--encre); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 8px; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--vert-fonce); }
.nav a[aria-current="page"] { border-bottom-color: var(--vert); }
.header-cta { display: none !important; }
.burger { background: none; border: 1px solid var(--ligne); border-radius: 6px; padding: 8px 10px; color: var(--encre); cursor: pointer; display: flex; align-items: center; gap: 6px; font: 600 .95rem var(--texte); }
.burger .ic { width: 20px; height: 20px; }
@media (max-width: 480px) { .burger-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .logo-img { width: 38px; } .logo-txt b { font-size: 1.15rem; } }
@media (min-width: 1020px) {
  .nav { display: flex; gap: 2px; }
  .header-cta { display: inline-flex !important; }
  .burger { display: none; }
}
@media (min-width: 1020px) and (max-width: 1160px) { .logo-txt small { display: none; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; min-height: 48px; border-radius: 6px; border: 2px solid transparent;
  font: 700 1rem var(--texte); text-decoration: none; cursor: pointer; text-align: center;
}
.btn .ic { width: 22px; height: 22px; }
.btn-wa { background: var(--wa); color: #05301a; }
.btn-wa:hover { background: #1ebe5a; }
.btn-ligne { background: #fff; color: var(--encre); border-color: var(--encre); }
.btn-ligne-clair { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ligne-clair:hover { border-color: #fff; }
.btn-petit { padding: 8px 14px; min-height: 40px; font-size: .95rem; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 520px) { .btns .btn { width: 100%; } }
p .btn-petit { margin-top: 8px; }

/* ---------- Accueil : la une ---------- */
.une { background: var(--nuit); color: #fff; }
.une-grille { display: grid; gap: 32px; padding-top: 36px; padding-bottom: 40px; }
.une h1 { color: #fff; }
.chapo { font-size: 1.15rem; color: #d3e6da; max-width: 36em; }
.une-prix { background: #fff; color: var(--encre); border-top: 6px solid var(--vert); padding: 20px 20px 16px; border-radius: 4px; }
.une-prix h2 { font-size: 1.5rem; }
.lien-clair { display: inline-block; margin-top: 10px; font-weight: 600; }
@media (min-width: 900px) {
  .une-grille { grid-template-columns: 1.15fr .85fr; align-items: center; padding-top: 64px; padding-bottom: 64px; gap: 56px; }
}

/* Grille tarifaire (comme sur le flyer) */
.grille-prix { list-style: none; margin: 0; padding: 0; }
.grille-prix li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.grille-prix li:last-child { border-bottom: 0; }
.gp-nom { font-weight: 700; }
.gp-nom small { display: block; font-weight: 400; color: var(--gris); font-size: .9rem; }
.gp-prix { font-family: var(--titre); font-weight: 800; font-size: 1.6rem; color: var(--bleu); white-space: nowrap; }
.bloc .grille-prix { border-top: 6px solid var(--vert); margin-bottom: 20px; }

.infos-ligne { margin: 0; padding: 12px 16px; background: var(--vert); color: #03250f; font-weight: 700; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; text-align: center; }

/* ---------- En-tête des pages ---------- */
.page-tete { background: var(--nuit); color: #fff; }
.page-tete .wrap { padding-top: 32px; padding-bottom: 36px; }
.page-tete h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); }
.fil { font-size: .9rem; color: #a9cbb6; margin-bottom: 8px; }
.fil a { color: #a9cbb6; }

/* ---------- Blocs ---------- */
.bloc { padding: 48px 0; }
.bloc-gris { background: var(--fond-gris); }
@media (min-width: 880px) { .bloc { padding: 72px 0; } }
.deux-col { display: grid; gap: 36px; }
@media (min-width: 880px) { .deux-col { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.note { color: var(--gris); font-size: .95rem; }

/* Listes de services (définitions) */
.liste-services { margin: 24px 0 32px; border-top: 2px solid var(--encre); }
.liste-services > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--ligne); }
.liste-services dt { font-family: var(--titre); font-weight: 800; font-size: 1.45rem; }
.liste-services dt a { color: var(--encre); text-decoration: none; }
.liste-services dt a:hover { color: var(--vert-fonce); }
.liste-services dd { margin: 0; color: var(--gris); }
@media (min-width: 760px) { .liste-services > div { grid-template-columns: 220px 1fr; gap: 24px; align-items: baseline; } }

/* Étapes : un vrai parcours, donc numérotées */
.etapes-courtes { margin: 0; padding-left: 1.4em; }
.etapes-courtes li { padding: 6px 0 6px 6px; }
.etapes-courtes li::marker { font-family: var(--titre); font-weight: 800; color: var(--vert-fonce); }
.etapes { list-style: none; counter-reset: e; margin: 0; padding: 0; }
.etapes li { counter-increment: e; position: relative; padding: 0 0 28px 64px; border-left: 2px solid var(--ligne); margin-left: 22px; }
.etapes li:last-child { border-left-color: transparent; padding-bottom: 0; }
.etapes li::before { content: counter(e); position: absolute; left: -23px; top: -4px; width: 44px; height: 44px; border-radius: 50%; background: var(--vert); color: #03250f; font: 800 1.4rem/44px var(--titre); text-align: center; }
.etapes h2 { font-size: 1.6rem; margin-bottom: .25em; }

/* Services détaillés */
.service { display: grid; gap: 8px; padding: 32px 0; border-bottom: 1px solid var(--ligne); scroll-margin-top: 80px; }
.service:first-child { padding-top: 0; }
.service:last-child { border-bottom: 0; }
.service ul { margin: 0 0 16px; padding-left: 1.2em; }
@media (min-width: 880px) { .service { grid-template-columns: 300px 1fr; gap: 48px; } }

/* Tableau des zones */
.zones { width: 100%; border-collapse: collapse; margin-bottom: 24px; border-top: 6px solid var(--vert); }
.zones th, .zones td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.zones th { font-size: .9rem; color: var(--gris); font-weight: 600; }
.zones td:first-child { font-weight: 700; }
.zones td:last-child { font-family: var(--titre); font-weight: 800; font-size: 1.3rem; color: var(--bleu); white-space: nowrap; }
@media (max-width: 640px) {
  .zones thead { display: none; }
  .zones, .zones tbody, .zones tr, .zones td { display: block; }
  .zones tr { padding: 10px 0; border-bottom: 1px solid var(--ligne); }
  .zones td { border: 0; padding: 2px 0; }
}
.carte-map { border: 0; width: 100%; height: 320px; background: var(--fond-gris); margin-top: 24px; }

/* Objets interdits */
.interdits { list-style: none; padding: 0; margin: 0 0 16px; columns: 2; column-gap: 24px; }
@media (min-width: 640px) { .interdits { columns: 3; } }
.interdits li { break-inside: avoid; padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid var(--ligne); }
.interdits li::before { content: "×"; position: absolute; left: 4px; top: 4px; color: #c62828; font: 800 1.3rem var(--titre); }
.interdits li.verif::before { content: "!"; color: #b07600; }

/* Flyers */
.flyer-bloc { display: grid; gap: 24px; align-items: center; }
@media (min-width: 880px) { .flyer-bloc { grid-template-columns: 1fr 360px; gap: 56px; } }
.flyer { margin: 0; max-width: 360px; justify-self: center; }
.flyer img { width: 100%; border-radius: 4px; }
.flyer figcaption { font-size: .9rem; color: var(--gris); margin-top: 8px; }

/* Formulaires */
.form { display: grid; gap: 14px; }
.form label { display: block; font-weight: 700; margin-bottom: 4px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 11px 12px; min-height: 48px; border: 1.5px solid #b9c7bf; border-radius: 4px; background: #fff; color: var(--encre); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(1,190,98,.35); border-color: var(--vert-fonce); }
.form textarea { min-height: 110px; resize: vertical; }
.form-2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-2 { grid-template-columns: 1fr 1fr; } }
.aide { font-size: .9rem; color: var(--gris); margin: 0; }

/* Contact */
.coordonnees { margin: 0; border-top: 2px solid var(--encre); }
.coordonnees > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.coordonnees dt { font-weight: 700; }
.coordonnees dd { margin: 0; }

/* À propos */
.promoteur-photo img { width: 100%; max-width: 360px; border-radius: 4px; }
.role { color: var(--vert-fonce); font-weight: 700; }

/* Mentions légales */
.legal { max-width: 760px; }
.legal h2 { margin-top: 1.4em; }
.legal h3 { font-size: 1.25rem; margin-top: 1.2em; }

/* Appel en bas de page */
.appel { background: var(--nuit); color: #fff; padding: 44px 0; }
.appel-grille { display: grid; gap: 20px; align-items: center; }
.appel h2 { color: #fff; }
.appel p { color: #d3e6da; margin: 0; }
.appel-actions { display: grid; gap: 6px; }
.appel-num { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 800 clamp(1.9rem, 7vw, 2.6rem)/1.1 var(--titre); }
.appel-num .ic { width: 34px; height: 34px; color: var(--wa); }
.appel-tel { color: #b9d6c4; }
@media (min-width: 880px) { .appel-grille { grid-template-columns: 1fr auto; gap: 48px; } }

/* ---------- Pied de page ---------- */
.footer { background: #031a0f; color: #c5dccd; padding: 44px 0 96px; font-size: .95rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .cols { display: grid; gap: 28px; }
.footer h4 { color: #fff; font: 800 1.15rem var(--titre); margin: 0 0 8px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 5px; }
.footer .bas { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 16px; font-size: .88rem; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
@media (min-width: 880px) { .footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer { padding-bottom: 44px; } }

/* ---------- Bouton WhatsApp flottant ---------- */
.wa-flottant { position: fixed; right: 14px; bottom: 14px; z-index: 60; display: flex; align-items: center; gap: 8px; background: var(--wa); color: #05301a; text-decoration: none; font-weight: 700; border-radius: 30px; padding: 11px 16px 11px 12px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.wa-flottant .ic { width: 28px; height: 28px; }
@media (max-width: 380px) { .wa-flottant span { display: none; } .wa-flottant { padding: 13px; } }

/* ---------- Menu latéral (façon application mobile) ---------- */
.voile { position: fixed; inset: 0; background: rgba(3, 20, 12, .55); z-index: 90; opacity: 0; transition: opacity .25s ease; }
.voile.visible { opacity: 1; }
.tiroir { position: fixed; top: 0; left: 0; bottom: 0; z-index: 100; width: min(86vw, 340px); background: var(--nuit); color: #fff; display: flex; flex-direction: column; transform: translateX(-102%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); overflow-y: auto; overscroll-behavior: contain; }
.tiroir.ouvert { transform: translateX(0); }
.tiroir-tete { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 12px 12px 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.tiroir-fermer { background: rgba(255,255,255,.08); border: 0; color: #fff; width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; flex: none; }
.tiroir-fermer .ic { width: 22px; height: 22px; }
.tiroir-accroche { margin: 14px 16px 4px; font: 800 1.3rem/1.15 var(--titre); color: #fff; text-transform: uppercase; }
.tiroir-accroche b { display: block; color: var(--vert); font-weight: 800; }
.tiroir-liste { list-style: none; margin: 0; padding: 6px 8px; }
.tiroir-liste a { display: flex; align-items: center; gap: 14px; padding: 11px 10px; border-radius: 8px; color: #e8f4ec; text-decoration: none; font-weight: 600; }
.tiroir-liste a[aria-current="page"] { background: rgba(1,190,98,.16); color: #fff; }
.tiroir-liste a[aria-current="page"] .t-ico { color: var(--vert); }
.t-ico { width: 24px; display: grid; place-items: center; color: #9cc8ad; flex: none; }
.t-ico .ic { width: 22px; height: 22px; }
.t-lib { flex: 1; }
.tiroir-liste a > .ic { width: 18px; height: 18px; opacity: .4; }
.tiroir-pied { margin-top: auto; padding: 14px 16px 22px; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 10px; }
.tiroir-pied .btn { width: 100%; }
.tiroir-tel { display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; padding: 10px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 6px; }
.tiroir-tel .ic { width: 18px; height: 18px; }
.tiroir-infos { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; color: #b9d6c4; }
.tiroir-infos span { display: inline-flex; align-items: center; gap: 6px; }
.tiroir-infos .ic { width: 18px; height: 18px; }
.tiroir-reseaux a { color: #fff; width: 36px; height: 36px; display: inline-grid; place-items: center; }
body.tiroir-actif { overflow: hidden; }
@media (min-width: 1020px) { .tiroir, .voile { display: none; } }

/* ---------- Bandeau « Ils nous font confiance » ---------- */
.bandeau { background: #fff; border-bottom: 1px solid var(--ligne); padding: 18px 0 12px; overflow: hidden; }
.bandeau-titre { font-size: 1.3rem; text-align: center; margin: 0 0 8px; }
.defile { overflow: hidden; }
.piste { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: defile 45s linear infinite; }
.piste li { flex: none; padding: 0 18px; }
.piste img { width: 165px; height: auto; }
.defile:hover .piste { animation-play-state: paused; }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (min-width: 880px) { .piste img { width: 190px; } }
@media (prefers-reduced-motion: reduce) {
  .piste { animation: none; }
  .defile { overflow-x: auto; }
  .tiroir, .voile { transition: none; }
}
