/* =========================================================================
   ChargerApp — Marketing styles (compartilhado pelas 3 páginas)
   Design tokens espelham packages/ui/src/tokens.ts — mesma marca do app.
   ========================================================================= */
:root {
  --status-available: #10B981;
  --status-charging:  #F59E0B;
  --status-reserved:  #3B82F6;
  --status-fault:     #EF4444;

  --brand-primary:       #0F766E; /* Teal 700 */
  --brand-primary-hover: #115E59; /* Teal 800 */
  --brand-accent:        #06B6D4; /* Cyan 500 */
  --brand-deep:          #042F2E; /* Teal 950-ish */

  --fg:        #0F172A;  /* Slate 900 */
  --muted-fg:  #64748B;  /* Slate 500 */
  --border:    #E2E8F0;  /* Slate 200 */
  --bg:        #FFFFFF;
  --bg-soft:   #F8FAFC;  /* Slate 50  */
  --bg-muted:  #F1F5F9;  /* Slate 100 */

  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-full: 9999px;
  --s-sm: 8px; --s-md: 16px; --s-lg: 24px; --s-xl: 40px; --s-2xl: 64px;

  --elev-1: 0 1px 2px rgba(15,23,42,.05);
  --elev-2: 0 6px 20px rgba(15,23,42,.07);
  --elev-3: 0 18px 50px rgba(15,23,42,.12);

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); color: var(--fg); background: var(--bg);
  line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: var(--s-2xl) 0; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-primary); margin-bottom: 12px;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; }
h2.title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.lead { font-size: 18px; color: var(--muted-fg); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
em { font-style: italic; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-weight: 600; font-size: 15px; padding: 13px 22px; border-radius: var(--r-full);
  border: 1px solid transparent; cursor: pointer; transition: all .16s ease; white-space: nowrap;
}
.btn-primary { background: var(--brand-primary); color: #fff; box-shadow: var(--elev-2); }
.btn-primary:hover { background: var(--brand-primary-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-light:hover { background: rgba(255,255,255,.22); }

/* ===== Header ===== */
header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.logo .mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent)); color: #fff; font-size: 17px;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a.navlink { font-size: 14px; font-weight: 500; color: var(--muted-fg); }
.nav-links a.navlink:hover { color: var(--fg); }
@media (max-width: 820px) { .nav-links .navlink { display: none; } }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1100px 460px at 78% -8%, rgba(6,182,212,.16), transparent 60%),
    radial-gradient(900px 420px at 5% 0%, rgba(15,118,110,.10), transparent 55%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border); overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.hero h1 { font-size: clamp(32px, 5.4vw, 54px); font-weight: 800; }
.hero h1 .hl { color: var(--brand-primary); }
.hero .lead { margin-top: 18px; font-size: 19px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-full);
  background: #fff; border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--muted-fg);
  box-shadow: var(--elev-1);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--status-available); }
.badge-soft {
  display:inline-flex; align-items:center; gap:8px; background: rgba(15,118,110,.08);
  color: var(--brand-primary); font-weight:600; font-size:13px; padding:6px 14px; border-radius: var(--r-full);
  border: 1px solid rgba(15,118,110,.18);
}

/* ===== Real app screenshots ===== */
.phone-shot {
  display: block; width: 100%; height: auto; border-radius: 30px;
  box-shadow: 0 24px 60px rgba(15,23,42,.22); background: #fff;
}
/* Hero: two phones overlapping + organic glow behind */
.shots { position: relative; display: flex; justify-content: center; align-items: flex-start; min-height: 480px; }
.shots .blob {
  position: absolute; inset: auto; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(6,182,212,.45), rgba(15,118,110,.28) 55%, transparent 72%);
  filter: blur(36px); top: -20px; left: 50%; transform: translateX(-52%); z-index: 0;
}
.shots .front { position: relative; z-index: 2; width: 248px; }
.shots .back  { position: absolute; z-index: 1; width: 210px; right: 4%; top: 36px; opacity: .92; }
@media (max-width: 900px) { .shots { min-height: 0; } .shots .back { display: none; } .shots .front { width: 230px; } }

/* Gallery: staggered upright phones */
.gallery { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; }
.gallery figure { width: 220px; text-align: center; }
.gallery figure.lift { transform: translateY(-26px); }
.gallery figcaption { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--fg); }
.gallery figcaption span { display: block; font-weight: 400; color: var(--muted-fg); font-size: 13px; margin-top: 2px; }
@media (max-width: 760px) { .gallery figure.lift { transform: none; } .gallery figure { width: 200px; } }

/* Decorative section blobs */
.has-blobs { position: relative; overflow: hidden; }
.has-blobs > .wrap { position: relative; z-index: 1; }
.deco-blob {
  position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0; pointer-events: none;
}
.deco-blob.teal { width: 360px; height: 360px; background: rgba(15,118,110,.10); top: -120px; left: -100px; }
.deco-blob.cyan { width: 300px; height: 300px; background: rgba(6,182,212,.12); bottom: -120px; right: -80px; }

/* ===== Phone mock (legacy, demais páginas) ===== */
.hero-art { display: flex; justify-content: center; }
.phone {
  width: 280px; background: #fff; border-radius: 34px; border: 9px solid #0f172a;
  box-shadow: var(--elev-3); overflow: hidden; position: relative;
}
.phone .pbar { height: 30px; background: #0f172a; }
.phone .pscreen { padding: 18px 16px 22px; background: var(--bg-soft); }
.mini-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 14px; box-shadow: var(--elev-1); margin-bottom: 12px;
}
.mini-row { display: flex; align-items: center; justify-content: space-between; }
.badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-full); }
.badge.ok  { background: rgba(16,185,129,.12); color: #047857; }
.badge.chg { background: rgba(245,158,11,.14); color: #B45309; }
.badge.res { background: rgba(59,130,246,.12); color: #1D4ED8; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ===== Cards / grids ===== */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .g2, .g3 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--elev-1);
}
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted-fg); font-size: 15px; }
.ic {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  font-size: 20px; margin-bottom: 14px; background: rgba(15,118,110,.10); color: var(--brand-primary);
}
.ic.warn { background: rgba(245,158,11,.14); color: #B45309; }

/* ===== Dark band (problema) ===== */
.band-dark {
  background: var(--brand-deep); color: #E2E8F0;
  background-image: radial-gradient(800px 360px at 90% 0%, rgba(6,182,212,.14), transparent 60%);
}
.band-dark .eyebrow { color: var(--brand-accent); }
.band-dark h2.title { color: #fff; }
.band-dark .lead { color: #CBD5E1; }
.prob-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg); padding: 26px;
}
.prob-card h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.prob-card ul { list-style: none; }
.prob-card li { font-size: 15px; color: #CBD5E1; padding: 7px 0 7px 26px; position: relative; }
.prob-card li::before { content: "✕"; position: absolute; left: 0; color: var(--status-fault); font-weight: 700; }

/* ===== Steps (como funciona) ===== */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 56px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand-primary); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 17px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted-fg); font-size: 15px; }

/* ===== Comparison ===== */
.compare { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--elev-1); }
.compare .row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; }
.compare .row + .row { border-top: 1px solid var(--border); }
.compare .cell { padding: 16px 18px; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.compare .head { background: var(--bg-muted); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-fg); }
.compare .head .us { color: var(--brand-primary); }
.compare .cell.feat { font-weight: 600; color: var(--fg); }
.compare .us-col { background: rgba(15,118,110,.04); font-weight: 600; }
.yes { color: var(--brand-primary); font-weight: 700; }
.no  { color: #CBD5E1; }
@media (max-width: 720px) { .compare .cell { padding: 12px; font-size: 13px; } }

/* ===== Offer / audience card ===== */
.aud {
  border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--border);
  background: #fff; box-shadow: var(--elev-2); position: relative; overflow: hidden;
}
.aud.lead-card { background: linear-gradient(160deg, var(--brand-primary), var(--brand-primary-hover)); color: #fff; border: none; }
.aud.lead-card h3, .aud.lead-card .lead { color: #fff; }
.aud .tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--r-full); margin-bottom: 14px; background: var(--bg-muted); color: var(--brand-primary);
}
.aud.lead-card .tag { background: rgba(255,255,255,.18); color: #fff; }
.aud h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.aud ul { list-style: none; margin: 18px 0 22px; }
.aud li { padding: 6px 0 6px 26px; position: relative; font-size: 15px; }
.aud li::before { content: "→"; position: absolute; left: 0; color: var(--brand-accent); font-weight: 700; }
.aud.lead-card li::before { color: #fff; }
.aud .lead { font-size: 16px; }

/* ===== Stats ===== */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
@media (max-width: 820px) { .stat-row { grid-template-columns: 1fr; } }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--elev-1); }
.stat .big { font-size: 28px; font-weight: 800; color: var(--brand-primary); letter-spacing: -.02em; }
.stat .lbl { font-size: 14px; color: var(--muted-fg); margin-top: 4px; }
.soft-band { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ===== Waitlist / form ===== */
.waitlist {
  background: radial-gradient(700px 300px at 80% 10%, rgba(6,182,212,.18), transparent 60%), var(--brand-deep);
  color: #fff;
}
.waitlist h2.title { color: #fff; }
.waitlist .lead { color: #CBD5E1; }
.form-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg); padding: 28px; max-width: 560px; margin: 28px auto 0; backdrop-filter: blur(6px);
}
.field { margin-bottom: 16px; text-align: left; }
.field label { display: block; font-size: 13px; font-weight: 600; color: #E2E8F0; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 13px 14px; border-radius: var(--r-sm); font-size: 15px; font-family: var(--font);
  background: rgba(255,255,255,.95); border: 1px solid transparent; color: var(--fg);
}
.field input:focus, .field select:focus { outline: 2px solid var(--brand-accent); }
.form-card .btn-primary { width: 100%; background: var(--brand-accent); color: #042F2E; font-weight: 700; }
.form-card .btn-primary:hover { background: #22D3EE; }
.form-note { font-size: 12px; color: #94A3B8; margin-top: 14px; text-align: center; }

/* ===== Footer ===== */
footer { background: var(--brand-deep); color: #94A3B8; padding: 40px 0 48px; border-top: 1px solid rgba(255,255,255,.08); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.foot .logo { color: #fff; }
.foot a { color: #CBD5E1; font-size: 14px; }
.foot a:hover { color: #fff; }
.foot small { font-size: 13px; }

/* ===== Back-link banner (parceiros/investidores → principal) ===== */
.backlink-band { background: var(--bg-muted); border-top: 1px solid var(--border); }
.backlink { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.backlink p { font-size: 16px; font-weight: 600; }
