/* =========================================================
   PICCO VÉLO — Design System
   Vélos électriques · reconditionnés · atelier
   Premium / Apple-Tesla inspired · mobile-first
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --green: #00a86b;          /* accent vert électrique */
  --green-dark: #00855a;
  --green-soft: #e6f7f0;
  --blue: #0a84ff;           /* accent bleu électrique (secondaire) */

  /* Neutrals */
  --black: #0a0a0a;
  --ink: #111315;
  --ink-2: #2a2d31;
  --grey: #6b7177;
  --grey-2: #9aa0a6;
  --line: #e7e9ec;
  --line-2: #f0f2f4;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-dark: #0a0a0a;

  /* Typography */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display",
          "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing / radius */
  --radius: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(10,10,10,.04), 0 2px 8px rgba(10,10,10,.04);
  --shadow: 0 8px 30px rgba(10,10,10,.08);
  --shadow-lg: 0 24px 60px rgba(10,10,10,.14);

  --maxw: 1200px;
  --nav-h: 68px;

  --ease: cubic-bezier(.16,.84,.34,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Typography scale ---------- */
h1,h2,h3,h4 { line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-dark);
  margin-bottom: 14px;
}
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--grey); line-height: 1.55; }
.muted { color: var(--grey); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: 26px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.bg-soft { background: var(--bg-soft); }
.bg-dark { background: var(--bg-dark); color: #fff; }
.bg-dark .muted,.bg-dark .lead { color: #b9bdc2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .98rem; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 24px rgba(0,168,107,.28); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,168,107,.36); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }
.link-arrow { color: var(--green-dark); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; white-space: nowrap; flex: 0 0 auto; }
.brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0,168,107,.18); flex: 0 0 auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a, .nav-drop-toggle { padding: 9px 13px; border-radius: 10px; font-size: .95rem; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; white-space: nowrap; }
.nav-links > a:hover { background: var(--bg-soft); }
.nav-links > a.active, .has-dropdown.is-active .nav-drop-toggle { color: var(--green-dark); }

/* Dropdown menu */
.has-dropdown { position: relative; }
.nav-drop-toggle { background: none; border: none; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.nav-drop-toggle:hover { background: var(--bg-soft); }
.nav-drop-toggle .chev { transition: transform .25s var(--ease); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 248px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  padding: 8px; display: grid; gap: 2px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover .nav-drop-toggle .chev, .has-dropdown.open .nav-drop-toggle .chev { transform: rotate(180deg); }
.dropdown a { padding: 11px 14px; border-radius: 11px; font-size: .92rem; font-weight: 500; color: var(--ink-2); display: flex; align-items: center; gap: 12px; transition: background .2s; }
.dropdown a:hover { background: var(--bg-soft); }
.dropdown a .di { font-size: 1.15rem; line-height: 1; }
.dropdown a small { display: block; font-size: .76rem; color: var(--grey); font-weight: 400; }
.dropdown a.active { color: var(--green-dark); background: var(--green-soft); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nav-toggle { display: none; background: none; border: none; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle span + span { margin-top: 5px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(50px, 7vw, 90px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 32px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.hero-stats .stat span { font-size: .85rem; color: var(--grey); }
.hero-visual {
  position: relative; aspect-ratio: 4/4.4; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #0d1f1a 0%, #06120e 60%, #000 100%);
  overflow: hidden; box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.hero-glow { position: absolute; /*inset: -20%;*/ background: radial-gradient(circle at 30% 25%, rgba(0,168,107,.45), transparent 55%); }
.hero-badge {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  background: #00a86b; backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2); color: #fff;
  padding: 12px 16px; border-radius: 14px; font-size: .85rem;
  display: flex; align-items: center; gap: 10px;
}
.bike-illo { width: 78%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); position: relative; z-index: 1; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-dark); margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--grey); font-size: .98rem; }

/* Feature / pillar cards (image top) */
.pillar {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px; color: #fff; isolation: isolate;
  transition: transform .4s var(--ease);
}
.pillar:hover { transform: translateY(-6px); }
.pillar::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 30%, rgba(0,0,0,.78)); }
.pillar .pillar-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pillar:hover .pillar-bg { transform: scale(1.06); }
.pillar .eyebrow { color: #7CF0BE; }
.pillar h3 { font-size: 1.7rem; margin-bottom: 8px; }
.pillar p { color: #d7dadd; margin-bottom: 16px; }

/* ---------- Why-us ---------- */
.feature-row { display: flex; gap: 18px; align-items: flex-start; }
.feature-row .ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-dark); }
.feature-row h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feature-row p { color: var(--grey); font-size: .96rem; }

/* ---------- Reviews ---------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.review .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 14px; }
.review p { font-size: 1.02rem; margin-bottom: 18px; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; font-weight: 700; }
.review .who strong { display: block; font-size: .95rem; }
.review .who span { font-size: .82rem; color: var(--grey); }

/* ---------- Team (À propos) ---------- */
.member { text-align: center; }
.member .photo {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; font-weight: 800; font-size: 1.7rem;
  background: linear-gradient(135deg, var(--green-soft), #dbeeff); color: var(--green-dark);
}
.member h3 { font-size: 1.2rem; margin-bottom: 2px; }
.member .role { color: var(--green-dark); font-weight: 600; font-size: .9rem; }
.member ul.specs-list { display: grid; gap: 8px; text-align: left; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.member ul.specs-list li { font-size: .88rem; color: var(--grey); }
.member ul.specs-list li b { color: var(--ink-2); font-weight: 600; }
.values .card { text-align: left; }
.values .card .vlabel { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); display: block; margin-bottom: 8px; }

/* ---------- Product cards ---------- */
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; display: flex; flex-direction: column; }
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product .media { aspect-ratio: 4/3; background: var(--bg-soft); display: grid; place-items: center; position: relative; }
.product .tag { position: absolute; top: 12px; left: 12px; background: var(--green); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: var(--radius-pill); letter-spacing: .03em; }
.product .tag.alt { background: var(--ink); }
.product .body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product .body .brand-line { font-size: .78rem; color: var(--grey); text-transform: uppercase; letter-spacing: .08em; }
.product .body h3 { font-size: 1.15rem; }
.product .specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
.product .specs span { font-size: .78rem; background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 10px; border-radius: var(--radius-pill); color: var(--ink-2); }
.product .price-row { margin-top: auto; display: flex; align-items: baseline; gap: 10px; }
.product .price { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.product .price-old { font-size: .9rem; color: var(--grey-2); text-decoration: line-through; }
.product.is-sold { opacity: .72; }
.product.is-sold .media { filter: grayscale(.4); }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  padding: 9px 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--line);
  background: #fff; font-size: .9rem; font-weight: 500; color: var(--ink-2);
  transition: .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Pricing (atelier) ---------- */
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: .3s var(--ease); position: relative; }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--green); box-shadow: 0 14px 40px rgba(0,168,107,.16); }
.price-card .pop { position: absolute; top: -13px; left: 28px; background: var(--green); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 13px; border-radius: var(--radius-pill); }
.price-card .ptitle { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.price-card .psub { color: var(--grey); font-size: .92rem; min-height: 42px; }
.price-card .pamount { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; margin: 14px 0 6px; }
.price-card .pamount span { font-size: .95rem; font-weight: 500; color: var(--grey); }
.price-card ul.feat { margin: 16px 0 22px; display: grid; gap: 10px; }
.price-card ul.feat li { display: flex; gap: 10px; font-size: .92rem; color: var(--ink-2); }
.price-card ul.feat li svg { flex: 0 0 18px; color: var(--green); margin-top: 3px; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step .num { counter-increment: step; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; }
.step .num::before { content: counter(step); }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--grey); font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band { border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); background: linear-gradient(135deg, #0d1f1a, #07140f); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(0,168,107,.4), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: #c5c9cd; max-width: 560px; margin: 0 auto 28px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Estimation wizard ---------- */
.wizard { max-width: 720px; margin-inline: auto; }
.wizard-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.wizard-progress { height: 5px; background: var(--line-2); }
.wizard-progress .bar { height: 100%; width: 0%; background: var(--green); transition: width .45s var(--ease); }
.wizard-head { padding: 22px 30px 0; display: flex; justify-content: space-between; align-items: center; }
.wizard-head .stepcount { font-size: .82rem; color: var(--grey); font-weight: 600; letter-spacing: .04em; }
.wizard-body { padding: 26px 30px 30px; }
.step-pane { display: none; animation: fadeUp .45s var(--ease); }
.step-pane.active { display: block; }
.step-pane .q { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.step-pane .hint { color: var(--grey); font-size: .95rem; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 8px; }
.input, select.input {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 1rem; font-family: inherit; background: #fff; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.input:focus, select.input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(0,168,107,.12); }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7177' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.options { display: grid; gap: 12px; }
.options.two { grid-template-columns: repeat(2,1fr); }
.opt {
  border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; cursor: pointer;
  display: flex; align-items: center; gap: 14px; transition: .2s; background: #fff;
}
.opt:hover { border-color: var(--green); }
.opt.selected { border-color: var(--green); background: var(--green-soft); box-shadow: 0 0 0 3px rgba(0,168,107,.1); }
.opt .opt-ic { font-size: 1.5rem; }
.opt .opt-txt strong { display: block; font-size: 1rem; }
.opt .opt-txt span { font-size: .85rem; color: var(--grey); }
.opt input { display: none; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.wizard-nav .btn { min-width: 120px; justify-content: center; }
.btn[disabled] { opacity: .4; pointer-events: none; }

/* Result */
.result { text-align: center; animation: fadeUp .5s var(--ease); }
.result .range { font-size: clamp(2.4rem, 7vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; margin: 6px 0; }
.result .range .sep { color: var(--grey-2); font-weight: 400; }
.result .range small { font-size: 1.2rem; color: var(--grey); font-weight: 600; }
.result .explain { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; text-align: left; margin: 22px 0; }
.result .explain h4 { font-size: .95rem; margin-bottom: 10px; }
.result .explain ul { display: grid; gap: 8px; }
.result .explain li { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--ink-2); padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.result .explain li:last-child { border: 0; padding: 0; }
.result .explain li b { font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-list { display: grid; gap: 20px; margin-top: 8px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; }
.info-item h4 { font-size: .95rem; margin-bottom: 2px; }
.info-item p, .info-item a { color: var(--grey); font-size: .96rem; }
.info-item a:hover { color: var(--green-dark); }
.map-embed { border: 0; width: 100%; height: 280px; border-radius: var(--radius); margin-top: 26px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }

/* ---------- Blog ---------- */
.article-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .3s var(--ease); display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.article-card .media { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--green-soft), #dff0ff); position: relative; }
.article-card .media .cat { position: absolute; bottom: 12px; left: 12px; background: rgba(255,255,255,.9); padding: 5px 12px; border-radius: var(--radius-pill); font-size: .76rem; font-weight: 600; }
.article-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.article-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.article-card p { color: var(--grey); font-size: .94rem; flex: 1; }
.article-card .meta { font-size: .82rem; color: var(--grey-2); margin-top: 14px; }

/* Article body (prose) */
.prose { max-width: 720px; margin-inline: auto; }
.prose h2 { margin: 40px 0 16px; font-size: 1.7rem; }
.prose h3 { margin: 28px 0 12px; }
.prose p { margin-bottom: 18px; color: var(--ink-2); }
.prose ul.bullets { margin: 0 0 18px; display: grid; gap: 10px; }
.prose ul.bullets li { padding-left: 28px; position: relative; color: var(--ink-2); }
.prose ul.bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.prose .callout { background: var(--green-soft); border-left: 4px solid var(--green); border-radius: 12px; padding: 18px 22px; margin: 24px 0; }
.article-hero { padding-top: 50px; }
.article-hero .crumb { font-size: .85rem; color: var(--grey); margin-bottom: 16px; }
.article-hero .crumb a:hover { color: var(--green-dark); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: #c5c9cd; padding-top: 70px; }
.footer a { color: #c5c9cd; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 50px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer-col h4 { color: #fff; font-size: .9rem; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col ul { display: grid; gap: 10px; font-size: .92rem; }
.footer-bottom { border-top: 1px solid #1d1f22; padding: 24px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: #80868c; }

/* ---------- Floating actions ---------- */
.fab-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45);
  color: #fff; transition: transform .25s var(--ease);
}
.fab-wa:hover { transform: scale(1.08); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; translate: -50% 30px; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .35s var(--ease); z-index: 200; font-size: .92rem; }
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- Subvention (Bussigny) ---------- */
.subsidy {
  display: flex; gap: 26px; align-items: center; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--green-soft), #eafff7);
  border: 1px solid #bfe8d7; border-radius: var(--radius-lg); padding: 30px 34px;
}
.subsidy .amount { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; color: var(--green-dark); letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.subsidy .stxt { flex: 1; min-width: 250px; }
.subsidy .stxt .eyebrow { margin-bottom: 8px; }
.subsidy .stxt h3 { margin-bottom: 8px; }
.subsidy .stxt p { color: var(--ink-2); font-size: .98rem; }
.subsidy .sact { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
@media (max-width: 760px) { .subsidy .sact { width: 100%; } .subsidy .sact .btn { width: 100%; justify-content: center; } }

/* ---------- Misc utils ---------- */
.tag-soft { display: inline-flex; align-items: center; gap: 7px; background: var(--green-soft); color: var(--green-dark); font-weight: 600; font-size: .82rem; padding: 7px 14px; border-radius: var(--radius-pill); }
.divider { height: 1px; background: var(--line); border: 0; }
.text-center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; order: -1; }
  .cols-4 { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
/* Nav collapses to a mobile menu early enough to never look cramped */
@media (max-width: 1040px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 18px 18px; gap: 2px;
    box-shadow: var(--shadow); max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav-links.open > a { padding: 14px 12px; font-size: 1.02rem; border-bottom: 1px solid var(--line-2); }
  .nav-links.open .has-dropdown { display: block; border-bottom: 1px solid var(--line-2); }
  .nav-links.open .nav-drop-toggle { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.02rem; }
  .nav-links.open .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; min-width: 0; padding: 0 0 8px 8px; display: none;
  }
  .nav-links.open .has-dropdown.open .dropdown { display: grid; }
  .nav-links.open .dropdown a { padding: 11px 12px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .options.two { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .wizard-body { padding: 22px 18px 24px; }
  .hero-stats { gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
