/* =========================================================
   Eau Express Bruxelles · feuille de style
   ========================================================= */

:root {
  --navy: #0E3A53;
  --blue: #2D6A8A;
  --sky: #5FB3CF;
  --ice: #EAF5FA;
  --ice-2: #F5FAFC;
  --ink: #12222C;
  --muted: #5B6B75;
  --line: #DCE7EC;
  --white: #FFFFFF;
  --accent: #F2B544;
  --ok: #1E8E5A;
  --err: #C0392B;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(14, 58, 83, .10);
  --shadow-lg: 0 20px 50px rgba(14, 58, 83, .18);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-title: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
h1, h2 { font-family: var(--font-title); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hidden { display: none; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(14,58,83,.25); }
.btn-primary:hover { background: var(--blue); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--ice); color: var(--navy); }
.btn-small { padding: .55em 1.1em; font-size: .9rem; }
.btn-block { width: 100%; }
.link-btn {
  background: none; border: 0; padding: 0; margin-bottom: 1rem;
  color: var(--blue); font: inherit; cursor: pointer; text-decoration: underline;
}
.icon-btn {
  background: var(--ice); border: 0; width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.1rem; cursor: pointer; color: var(--navy);
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.logo svg { width: 34px; height: 34px; }
.logo span { font-family: var(--font-title); font-size: 1.5rem; font-weight: 700; letter-spacing: .02em; }
.logo-light { color: #fff; }
.logo small { display: block; font-family: var(--font); font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-top: 1px; }
.logo-light small { color: var(--sky); }
.logo span { line-height: 1; }
.main-nav { display: flex; gap: 26px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-button {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer;
  display: grid; place-items: center;
}
.cart-button svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: var(--navy);
  font-size: .75rem; font-weight: 700; display: grid; place-items: center;
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--ice-2), #fff); padding: 64px 0 40px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700;
  color: var(--blue); margin-bottom: .8em;
}
.eyebrow-light { color: var(--sky); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; font-weight: 500; }
.check { color: var(--ok); font-weight: 700; margin-right: 4px; }
.hero-svg { width: 100%; height: auto; filter: drop-shadow(var(--shadow-lg)); border-radius: 32px; }
.hero-visual { position: relative; }
.hero-photo {
  width: 100%; height: auto; border-radius: 32px; background: #fff;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.hero-badge {
  position: absolute; left: -14px; bottom: 28px;
  background: var(--accent); color: var(--navy); border-radius: 18px; padding: 10px 18px;
  font-family: var(--font-title); font-size: 2rem; font-weight: 700; line-height: 1;
  box-shadow: var(--shadow);
}
.hero-badge small { font-family: var(--font); font-size: .9rem; font-weight: 600; }
.product-visual img { height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }

/* ---------- Avantages ---------- */
.benefits { padding: 28px 0 56px; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.benefit-icon { font-size: 1.7rem; margin-bottom: 8px; }
.benefit h3 { margin-bottom: .3em; }
.benefit p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--ice-2); }
.section-dark { background: var(--navy); color: #DCEAF1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head p:last-child { color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.check-list { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%; background: var(--ice); color: var(--ok);
  display: grid; place-items: center; font-size: .75rem; font-weight: 700; margin-top: 3px;
}
.check-list-light li::before { background: rgba(255,255,255,.12); color: var(--sky); }

.card, .analysis-card, .sub-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); color: var(--ink);
}
.sub-card h3 { color: var(--navy); }

/* ---------- Analyse ---------- */
.analysis, .delivery-table { width: 100%; border-collapse: collapse; }
.analysis th, .analysis td, .delivery-table th, .delivery-table td {
  padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400;
}
.analysis td, .delivery-table td { text-align: right; font-variant-numeric: tabular-nums; }
.analysis tr.total th, .analysis tr.total td { font-weight: 700; color: var(--navy); }

/* ---------- Produits ---------- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-bottom: 18px; }
.product {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: box-shadow .2s, transform .2s;
}
.product:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: var(--navy); font-size: .72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em;
}
.product-visual {
  height: 150px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(180deg, var(--ice), #fff); border-radius: var(--radius-sm);
}
.product-visual svg { height: 120px; width: auto; }
.product h3 { margin-bottom: .25em; }
.product-desc { color: var(--muted); font-size: .92rem; flex: 1; }
.product-price { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 4px; }
.product-price strong { font-size: 1.5rem; color: var(--navy); }
.product-unit { color: var(--muted); font-size: .85rem; }
.product-deposit { font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.product-actions { display: flex; gap: 10px; align-items: center; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button {
  width: 34px; height: 38px; border: 0; background: #fff; color: var(--navy);
  font-size: 1.1rem; cursor: pointer;
}
.qty button:hover { background: var(--ice); }
.qty input {
  width: 36px; height: 38px; border: 0; text-align: center; font: inherit; font-weight: 600;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-actions .btn { flex: 1; padding: .7em 1em; }

/* ---------- Étapes ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: none; }
.steps li { text-align: center; padding: 10px 18px; }
.step-num {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ice); color: var(--navy); font-family: var(--font-title); font-size: 1.5rem; font-weight: 700;
  margin-bottom: 14px;
}
.steps p { color: var(--muted); }

/* ---------- Calculateur ---------- */
.range-row { display: flex; align-items: center; gap: 14px; margin: 8px 0 14px; }
.range-row input { flex: 1; accent-color: var(--navy); }
.range-row output {
  min-width: 42px; height: 42px; border-radius: 50%; background: var(--ice); color: var(--navy);
  display: grid; place-items: center; font-weight: 700;
}
.calc-result { background: var(--ice-2); border-radius: var(--radius-sm); padding: 14px 16px; color: var(--ink); }
.sub-card .muted { margin: 12px 0 0; }

/* ---------- Formulaires ---------- */
.form h3 { margin-bottom: .2em; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; flex: 1; }
.field-row { display: flex; gap: 12px; }
label { font-weight: 500; font-size: .92rem; }
input, select, textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7em .85em; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(45,106,138,.18); }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--navy); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 6px 0 10px; }
.checkbox input { margin-top: 4px; }
.form-status { margin: 10px 0 0; font-weight: 500; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* ---------- Zones ---------- */
.zip-check { display: flex; gap: 10px; margin-top: 20px; max-width: 460px; }
.zip-check input { border-radius: 999px; padding-left: 1.2em; }
.zip-result { margin-top: 14px; font-weight: 600; min-height: 1.6em; }
.zip-result.ok, .zip-inline.ok { color: var(--ok); }
.zip-result.err, .zip-inline.err { color: var(--err); }
.zip-inline { margin: -6px 0 10px; min-height: 1.2em; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-weight: 600; color: var(--navy); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--blue); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 40px; }

/* ---------- Bandeau final ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; padding: 72px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #DCEAF1; font-size: 1.1rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: #0A2A3C; color: #A9C2CF; padding: 56px 0 24px; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: 1rem; }
.site-footer a { color: #DCEAF1; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid .logo { margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; font-size: .85rem; }

/* ---------- Panier (tiroir) ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(10, 30, 42, .45); z-index: 80; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%);
  background: #fff; z-index: 90; display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform .3s ease, visibility 0s linear .3s;
}
.drawer.open { transform: translateX(0); visibility: visible; box-shadow: var(--shadow-lg); transition: transform .3s ease; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.4rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 24px 22px; background: var(--ice-2); }

.cart-list { list-style: none; padding: 0; margin: 0; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item-name { font-weight: 600; color: var(--navy); }
.cart-item-meta { color: var(--muted); font-size: .85rem; }
.cart-item-price { font-weight: 600; text-align: right; }
.cart-item .qty { grid-column: 1; justify-self: start; }
.cart-item .remove { grid-column: 2; justify-self: end; background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; font-size: .85rem; }
.cart-empty { color: var(--muted); text-align: center; padding: 30px 0; }

.cart-options { margin-top: 20px; }
.sub-toggle { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; margin: 0 0 14px; display: grid; gap: 8px; }
.sub-toggle legend { font-weight: 600; font-size: .9rem; padding: 0 6px; }
.sub-toggle label { display: flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; }
.badge { background: var(--accent); color: var(--navy); font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.promo-row { display: flex; gap: 8px; }
.promo-msg { margin: 6px 0 0; min-height: 1.2em; }
.promo-msg.ok { color: var(--ok); }
.promo-msg.err { color: var(--err); }

.totals { margin: 0 0 8px; }
.totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.totals .grand { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-size: 1.15rem; font-weight: 700; }
.totals .grand dt { color: var(--navy); }
.free-hint { color: var(--blue); margin: 0 0 12px; min-height: 1.2em; }

/* ---------- Notification ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%);
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 999px;
  box-shadow: var(--shadow-lg); z-index: 100; transition: transform .3s ease; font-weight: 500;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Pages légales ---------- */
.legal { padding: 60px 0 90px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal .note { background: #FFF6E0; border: 1px solid #F2D58F; border-radius: var(--radius-sm); padding: 14px 18px; }

/* ---------- Page merci ---------- */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.thanks-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--ice); color: var(--ok); display: grid; place-items: center; font-size: 2.4rem; margin: 0 auto 20px; }


/* ---------- WhatsApp ---------- */
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 6px 18px rgba(37,211,102,.3); }
.btn-whatsapp:hover { background: #1EBE5A; color: #fff; }
.btn-whatsapp svg { width: 20px; height: 20px; }
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.2);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Prix dans le hero ---------- */
.price-hero { display: flex; align-items: center; gap: 16px; margin: 22px 0 0; }
.price-big {
  font-family: var(--font-title); font-size: 3.4rem; font-weight: 700; color: var(--navy); line-height: 1;
  background: #fff; border: 2px solid var(--accent); border-radius: 18px; padding: 8px 18px;
}
.price-label { color: var(--muted); line-height: 1.4; }
.price-label strong { color: var(--ok); }

/* ---------- Produit unique ---------- */
.products-single { grid-template-columns: 1fr; max-width: 860px; margin-inline: auto; }
.product-wide { flex-direction: row; gap: 28px; align-items: center; padding: 28px; }
.product-wide .product-visual { flex: 0 0 280px; height: 220px; margin: 0; }
.product-wide .product-visual svg { height: 170px; }
.product-info { flex: 1; }
.quick-picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 16px; }
.pick {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .45em .9em;
  font: inherit; font-size: .88rem; cursor: pointer; color: var(--navy);
}
.pick:hover { border-color: var(--blue); background: var(--ice); }

/* ---------- Panier : paiement et confirmation ---------- */
.pay-note { background: var(--ice-2); border-radius: var(--radius-sm); padding: 12px 14px; margin: 4px 0 0; }
.sent-box { text-align: center; padding: 30px 6px; }
.sent-box p { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .3s ease; z-index: -1;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px;
  }
  .menu-toggle span { height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-inner, .two-col { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 420px; }
  .hero-badge { left: 10px; font-size: 1.6rem; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hide-mobile { display: none; }
  .section { padding: 64px 0; }
  .hero { padding-top: 40px; }
  .benefits-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .product-wide { flex-direction: column; align-items: stretch; padding: 20px; }
  .product-wide .product-visual { flex-basis: auto; height: 170px; }
  .price-big { font-size: 2.6rem; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .field-row { flex-direction: column; gap: 0; }
  .zip-check { flex-direction: column; }
  .card, .analysis-card, .sub-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
