/* PlannerBus — site public */
:root {
  --navy: #0b1220; --navy-2: #111a2e; --navy-3: #1b2640; --amber: #f5b301; --amber-2: #ffcb3d; --amber-soft: #fff4d1;
  --ink: #0f172a; --muted: #5b6678; --line: #e5e9f1; --bg: #ffffff; --bg-2: #f5f7fb; --blue: #2457e6;
  --bs-font-sans-serif: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body.site { font-family: var(--bs-font-sans-serif); color: var(--ink); background: var(--bg); letter-spacing: -.01em; }
.site a { text-decoration: none; }
.container { max-width: 1180px; }

/* Barre promo + navigation */
.promo-bar { background: var(--amber); color: var(--navy); text-align: center; font-size: .88rem; font-weight: 600; padding: 8px 16px; }
.promo-bar a { color: var(--navy); text-decoration: underline; margin-left: 6px; }
.promo-code { background: var(--navy); color: var(--amber); padding: 1px 8px; border-radius: 6px; letter-spacing: .04em; }
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 18, 32, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); padding: 12px 0; }
.site-nav nav a { color: #cbd5e1; font-weight: 600; font-size: .93rem; }
.site-nav nav a:hover { color: #fff; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 1.2rem; font-weight: 500; }
.site-brand b { color: var(--amber); font-weight: 800; }
.site-login { color: #e2e8f0 !important; font-weight: 600; }
.btn-amber { background: var(--amber); color: var(--navy); font-weight: 700; border: 0; border-radius: 12px; padding: .6rem 1.1rem; }
.btn-amber:hover { background: var(--amber-2); color: var(--navy); }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: .6rem 1.1rem; font-weight: 600; }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-icon-site { color: #fff; font-size: 1.4rem; padding: 4px 6px; }

/* Hero */
.hero { background: var(--navy); color: #e2e8f0; position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%); }
.hero::after { content: ""; position: absolute; right: -160px; top: -120px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(245,179,1,.22), transparent 65%); }
.hero .container { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--amber); background: rgba(245,179,1,.1); border: 1px solid rgba(245,179,1,.25); padding: 6px 12px; border-radius: 99px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; color: #fff; margin: 20px 0 18px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { color: #aeb9cc; font-size: 1.12rem; max-width: 560px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: #94a3b8; font-size: .88rem; }
.hero-proof i { color: var(--amber); }

/* Carte produit du hero */
.hero-card { background: #fff; color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.45); max-width: 430px; margin-left: auto; position: relative; }
.hero-card .hc-top { display: flex; justify-content: space-between; align-items: center; }
.hc-live { display: inline-flex; align-items: center; gap: 6px; background: #dcfce7; color: #15803d; font-weight: 700; font-size: .75rem; padding: 4px 10px; border-radius: 99px; }
.hc-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.hc-map { height: 150px; border-radius: 14px; margin: 14px 0; background: linear-gradient(135deg, #e8eef8, #f4f7fb); position: relative; overflow: hidden; }
.hc-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hc-eta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hc-eta > div { background: var(--bg-2); border-radius: 12px; padding: 10px 12px; }
.hc-eta .big { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.hc-stops { list-style: none; padding: 0; margin: 12px 0 0; font-size: .85rem; }
.hc-stops li { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--line); }
.pill { font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.pill-done { background: #e2e8f0; color: #475569; } .pill-near { background: var(--amber-soft); color: #a16c00; } .pill-next { background: #eef2ff; color: var(--blue); }
.hero-badge { position: absolute; left: -26px; bottom: -22px; background: var(--navy-3); color: #fff; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 10px 14px; font-size: .82rem; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.hero-badge i { color: var(--amber); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-2); }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 640px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; height: 100%; transition: transform .15s, box-shadow .15s; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15,23,42,.08); }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--amber-soft); color: #a16c00; margin-bottom: 14px; }
.feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }
.steps { counter-reset: s; }
.step { position: relative; padding-left: 58px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: var(--amber); font-weight: 800; display: grid; place-items: center; }
.step h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .92rem; }

/* Tarifs */
.billing-toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 4px; }
.billing-toggle button { border: 0; background: transparent; padding: 8px 18px; border-radius: 99px; font-weight: 700; font-size: .9rem; color: var(--muted); }
.billing-toggle button.active { background: var(--navy); color: #fff; }
.save-tag { background: #dcfce7; color: #15803d; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; margin-left: 6px; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; height: 100%; display: flex; flex-direction: column; position: relative; }
.price-card.featured { border: 2px solid var(--amber); box-shadow: 0 20px 50px rgba(245,179,1,.18); }
.price-card .ribbon { position: absolute; top: -13px; left: 28px; background: var(--amber); color: var(--navy); font-size: .75rem; font-weight: 800; padding: 4px 12px; border-radius: 99px; }
.price-card h3 { font-size: 1.25rem; font-weight: 800; }
.price-card .desc { color: var(--muted); font-size: .9rem; min-height: 42px; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 18px 0 4px; }
.price small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-note { color: var(--muted); font-size: .82rem; min-height: 20px; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 24px; font-size: .92rem; }
.price-card li { display: flex; gap: 8px; padding: 5px 0; }
.price-card li .bi-check2 { color: #16a34a; }
.price-card li.off { color: #a3adbd; }
.price-card .btn { border-radius: 12px; font-weight: 700; padding: .7rem 1rem; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); color: #fff; }
.btn-outline-navy { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline-navy:hover { border-color: var(--navy); color: var(--ink); }
.nego { background: var(--navy); color: #e2e8f0; border-radius: 22px; padding: 28px 32px; }
.nego h3 { color: #fff; font-weight: 800; font-size: 1.35rem; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); font-size: .85rem; }
.pay-logos span { border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; background: #fff; font-weight: 600; color: var(--ink); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Contact & formulaires */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 10px 30px rgba(15,23,42,.05); }
.site .form-control, .site .form-select { border-radius: 12px; padding: .7rem .9rem; border-color: #dbe1ea; }
.site .form-control:focus, .site .form-select:focus { border-color: var(--amber); box-shadow: 0 0 0 .2rem rgba(245,179,1,.2); }
.site .form-label { font-weight: 600; font-size: .88rem; }
.contact-item { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #e2e8f0; }
.contact-item i { width: 42px; height: 42px; border-radius: 12px; background: rgba(245,179,1,.12); color: var(--amber); display: grid; place-items: center; font-size: 1.1rem; flex: 0 0 42px; }
.contact-item small { display: block; color: #94a3b8; }
.contact-side { background: var(--navy); border-radius: 22px; padding: 28px; height: 100%; color: #e2e8f0; }
.hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }

/* Pages formulaire (inscription) */
.signup-wrap { background: var(--bg-2); min-height: calc(100vh - 64px); padding: 48px 0 72px; }
.summary-card { background: var(--navy); color: #e2e8f0; border-radius: 22px; padding: 26px; position: sticky; top: 90px; }
.summary-card .row-l { display: flex; justify-content: space-between; padding: 6px 0; font-size: .92rem; }
.summary-card .total { border-top: 1px solid rgba(255,255,255,.12); margin-top: 8px; padding-top: 12px; font-size: 1.15rem; font-weight: 800; color: #fff; }
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mode-switch a { border: 2px solid var(--line); border-radius: 14px; padding: 14px; color: var(--ink); background: #fff; }
.mode-switch a.active { border-color: var(--amber); background: var(--amber-soft); }
.mode-switch b { display: block; }
.mode-switch span { color: var(--muted); font-size: .85rem; }

/* Pied de page */
.site-footer { background: var(--navy); color: #cbd5e1; padding: 56px 0 28px; }
.site-footer a, .site-footer span { display: block; color: #cbd5e1; padding: 4px 0; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.foot-title { color: #fff; font-weight: 700; margin-bottom: 8px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 18px; font-size: .82rem; color: #64748b; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 24px rgba(0,0,0,.25); z-index: 60; }
.wa-float:hover { color: #fff; transform: scale(1.05); }

@media (max-width: 991.98px) {
  .hero { padding: 48px 0 64px; }
  .hero-card { margin: 40px auto 0; }
  .hero-badge { left: 12px; bottom: -18px; }
  .section { padding: 64px 0; }
  .summary-card { position: static; }
}
@media (max-width: 575.98px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .row.g-5 { --bs-gutter-x: 2rem; }
  .hero-card { padding: 16px; }
  .mode-switch { grid-template-columns: 1fr; }
  .nego { padding: 22px; }
  .price-card, .form-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .hc-live::before { animation: none; } .feature { transition: none; } }
