/* ===== Pages d'information (Comment ça marche, Devenir chauffeur, Commander un repas) — scopé .hiw ===== */
.hiw { --c: var(--brand, #9c0306); }
.hiw .wrap { max-width: 1120px; margin-inline: auto; padding-inline: 16px; }

/* Entrée douce */
@keyframes hiwRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hiw [data-rise] { animation: hiwRise .7s cubic-bezier(.22,1,.36,1) both; animation-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) { .hiw [data-rise] { animation: none; } }

/* ---------- HERO ---------- */
.hiw-hero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 140% at 80% -10%, #c21519 0%, #9c0306 42%, #6d0205 100%); }
.hiw-hero::before, .hiw-hero::after { content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.07); pointer-events: none; }
.hiw-hero::before { width: 420px; height: 420px; top: -160px; right: -120px; }
.hiw-hero::after { width: 300px; height: 300px; bottom: -180px; left: -100px; }
.hiw-hero__in { position: relative; z-index: 1; padding: clamp(64px, 9vw, 120px) 16px clamp(96px, 11vw, 150px); text-align: center; }
.hiw-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.14); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hiw-hero__title { margin: 20px 0 0; font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; }
.hiw-hero__title span { color: #ffd34d; }
.hiw-hero__lead { max-width: 720px; margin: 20px auto 0; font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.6; color: rgba(255,255,255,.9); }
.hiw-hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hiw-btn { display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; transition: transform .15s, box-shadow .15s, background .15s; }
.hiw-btn--light { background: #fff; color: var(--brand, #9c0306); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.hiw-btn--light:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.26); }
.hiw-btn--ghost { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.hiw-btn--ghost:hover { background: rgba(255,255,255,.2); }
.hiw-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 1; }
.hiw-hero__wave svg { width: 100%; height: clamp(40px, 6vw, 72px); display: block; }
.hiw-hero__wave path { fill: var(--bg, #fff); }   /* se fond dans la section suivante (clair/sombre) */

/* ---------- ÉTAPES ---------- */
.hiw-steps { padding: clamp(40px, 6vw, 80px) 0 clamp(20px, 3vw, 40px); background: var(--bg); }
.hiw-step { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: clamp(16px, 2.5vw, 34px);
  padding-bottom: clamp(36px, 5vw, 64px); }
/* trait vertical reliant les numéros */
.hiw-step:not(:last-child)::before { content: ""; position: absolute; left: 37px; top: 76px; bottom: 0; width: 2px;
  background: linear-gradient(var(--brand-200, #f3c9c6), transparent); }
.hiw-step__num { position: relative; z-index: 1; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.9rem; font-weight: 800; color: #fff;
  background: radial-gradient(120% 120% at 30% 20%, #c21519, #9c0306); box-shadow: 0 12px 28px rgba(156,3,6,.3); }
.hiw-step__body { padding-top: 6px; min-width: 0; }
.hiw-step__body > h2, .hiw-step__body > .hiw-step__h { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.01em; color: var(--text); margin: 0 0 8px; }
.hiw-step__body > p { color: var(--muted); font-size: 1.02rem; line-height: 1.6; margin: 0; max-width: 760px; }

/* badges de téléchargement */
.hiw-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.hiw-badge { display: inline-flex; align-items: center; gap: 11px; padding: 10px 18px; border-radius: 14px;
  background: #15161b; color: #fff; transition: transform .15s; }
.hiw-badge:hover { transform: translateY(-2px); }
.hiw-badge i { font-size: 1.7rem; }
.hiw-badge small { display: block; font-size: .66rem; opacity: .75; letter-spacing: .03em; }
.hiw-badge b { font-size: 1rem; }

/* grille des 4 services */
.hiw-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.hiw-svc { position: relative; padding: 24px 22px 22px; border-radius: var(--r-xl, 20px); background: var(--surface);
  border: 1px solid var(--line); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.hiw-svc::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--c); }
.hiw-svc:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 18px 44px rgba(16,12,13,.1); }
.hiw-svc__ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; font-size: 1.5rem;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); margin-bottom: 14px; }
.hiw-svc h3 { font-size: 1.22rem; font-weight: 800; color: var(--text); margin: 0; }
.hiw-svc__sub { color: var(--c); font-weight: 700; font-size: .92rem; margin: 2px 0 10px; }
.hiw-svc p:last-child { color: var(--muted); font-size: .95rem; line-height: 1.55; margin: 0; }

/* ---------- CTA FINAL ---------- */
.hiw-final { padding: clamp(10px, 2vw, 30px) 0 clamp(56px, 7vw, 90px); background: var(--bg); }
.hiw-final__card { position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: var(--r-xl, 24px);
  padding: clamp(40px, 6vw, 64px) 24px; background: radial-gradient(120% 160% at 15% 0%, #c21519, #9c0306 55%, #6d0205);
  box-shadow: 0 24px 60px rgba(156,3,6,.28); }
.hiw-final__card::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: rgba(255,255,255,.08); bottom: -200px; right: -80px; }
.hiw-final__card h2 { position: relative; font-size: clamp(1.5rem, 3.4vw, 2.3rem); font-weight: 800; margin: 0; }
.hiw-final__card p { position: relative; margin: 12px auto 0; max-width: 620px; font-size: 1.08rem; line-height: 1.55; color: rgba(255,255,255,.92); }
.hiw-final__btns { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

@media (max-width: 680px) {
  .hiw-services { grid-template-columns: 1fr; }
  .hiw-step { grid-template-columns: 58px 1fr; gap: 14px; }
  .hiw-step__num { width: 56px; height: 56px; font-size: 1.5rem; }
  .hiw-step:not(:last-child)::before { left: 28px; top: 58px; }
}

/* ---------- Ajouts : listes d'avantages + bouton fixe mobile ---------- */
.hiw-intro { padding: clamp(40px, 6vw, 72px) 0 0; background: var(--bg); }
.hiw-intro__txt { max-width: 760px; margin: 0 auto; text-align: center; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.hiw-intro__txt p { margin: 0 0 12px; }
.hiw-intro__txt strong { color: var(--text); }
.hiw-sec-title { text-align: center; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.01em; color: var(--text); margin: 0 0 8px; }
.hiw-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.hiw-perks .hiw-svc h3 { font-size: 1.12rem; }
.hiw-sticky { display: none; }
@media (max-width: 680px) {
  .hiw-perks { grid-template-columns: 1fr; }
  .hiw-sticky { display: block; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60; }
  .hiw-sticky .hiw-btn { width: 100%; justify-content: center; background: var(--brand, #9c0306); color: #fff; box-shadow: 0 12px 30px rgba(156,3,6,.35); }
  .hiw-has-sticky .ftr { padding-bottom: 84px; }
}
