/* =========================================================
   UAI Rastreamento — Landing Page
   ========================================================= */
:root {
  --bg: #060b18;
  --bg-2: #0a1224;
  --surface: #0e1830;
  --surface-2: #13203d;
  --line: rgba(120, 160, 255, .14);
  --line-strong: rgba(90, 150, 255, .35);
  --text: #eef3ff;
  --muted: #9aa8c4;
  --accent: #1f6bff;
  --accent-2: #3b8cff;
  --accent-glow: rgba(31, 107, 255, .45);
  --success: #22c55e;
  --light-surface: #f6f8fd;
  --light-text: #0b1530;
  --light-muted: #5a6784;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(900px 500px at 85% 40%, rgba(31, 107, 255, .08), transparent 60%),
    radial-gradient(700px 500px at 10% 70%, rgba(31, 107, 255, .06), transparent 60%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; }
.h3, h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.text-accent { color: var(--accent-2); text-shadow: 0 0 40px var(--accent-glow); }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }

.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; display: grid; gap: 12px; }
.section-head .eyebrow { margin-bottom: 0; }
.section-head.left { text-align: left; margin-inline: 0; justify-items: start; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn .ico { transition: transform .2s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.btn-primary { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #fff; box-shadow: 0 10px 30px -10px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--accent-2); background: rgba(31,107,255,.12); }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 15px 26px; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- Card base ---------- */
.card {
  background: linear-gradient(180deg, rgba(20, 34, 66, .75), rgba(11, 20, 40, .75));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(6, 11, 24, .82); backdrop-filter: blur(14px); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-2); }
.logo-mark { width: 44px; height: 36px; }
.logo-text { display: grid; line-height: 1; }
.logo-text strong { font-size: 1.55rem; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.logo-text small { font-size: .62rem; font-weight: 600; letter-spacing: .12em; color: var(--accent-2); margin-top: 3px; }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav > a { font-size: .92rem; color: #c9d3e8; position: relative; padding: 6px 0; }
.main-nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent-2); transform: scaleX(0); transition: transform .25s ease; }
.main-nav > a:hover, .main-nav > a.active { color: #fff; }
.main-nav > a:hover::after, .main-nav > a.active::after { transform: scaleX(1); }
.header-actions { display: flex; gap: 12px; }
.nav-actions-mobile { display: none; }
.menu-toggle { display: none; margin-left: auto; background: transparent; border: 1px solid var(--line-strong); color: #fff; border-radius: 10px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .ico { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100vh, 860px); padding: calc(var(--header-h) + 48px) 0 40px; display: flex; flex-direction: column; justify-content: center; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-scene { width: 100%; height: 100%; }
.hero-overlay { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(6,11,24,.92) 0%, rgba(6,11,24,.55) 45%, rgba(6,11,24,.15) 75%),
  linear-gradient(180deg, rgba(6,11,24,.55) 0%, transparent 25%, transparent 70%, var(--bg) 100%); }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 32px; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; }
.hero .lead { margin-top: 22px; font-size: clamp(1rem, 1.4vw, 1.15rem); color: #d3dbec; max-width: 480px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-visual { position: relative; }
.hero-car { width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); animation: float 6s ease-in-out infinite; }
/* Imagem fotográfica do hero: a sombra e o glow já vêm na arte (sem filtro caro sobre a imagem) */
.hero-car-pic { display: block; }
.hero-car-img { display: block; height: auto; aspect-ratio: 4 / 3; object-fit: contain; filter: none; }
.glass-note {
  position: absolute; right: 0; top: -90px; max-width: 220px; padding: 16px 18px; font-size: .92rem;
  background: rgba(20, 32, 60, .55); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; backdrop-filter: blur(10px);
}
.hero-ping { position: absolute; left: 34%; top: 8%; width: 40px; height: 40px; display: grid; place-items: center; color: #fff; }
.hero-ping .ico { position: relative; width: 26px; height: 26px; fill: var(--accent); stroke: #fff; }
.hero-ping span { position: absolute; inset: 0; border-radius: 50%; background: var(--accent-glow); animation: ping 2s ease-out infinite; }

.hero-features { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.feature-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.feature-row li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .88rem; color: #d3dbec; }
.feature-row .ico { width: 26px; height: 26px; color: #fff; }
.brazil-badge { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: #d3dbec; }
.brazil { width: 52px; height: 52px; color: #fff; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }

/* ---------- Por que / Stats ---------- */
.why { padding-top: 24px; }
.why-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.why-grid > * { min-width: 0; }
.why-card { padding: 28px; }
.why-card > p { margin-top: 6px; }
.why-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why-list li { display: flex; gap: 12px; align-items: center; }
.why-list strong { display: block; font-size: .95rem; }
.why-list small { color: var(--muted); font-size: .8rem; }
.icon-badge { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(31,107,255,.15); border: 1px solid var(--line-strong); color: var(--accent-2); flex-shrink: 0; }
.stats-card { padding: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }   /* o cartão tem ~550px: 2×2 cabe sem vazar */
.stat { display: flex; flex-direction: column; gap: 4px; padding: 0 16px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat:nth-child(3) { border-left: 0; padding-left: 0; }
.stat { min-width: 0; }
.stat strong { font-size: 1.35rem; font-weight: 800; margin-top: 10px; white-space: nowrap; }
.stat small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.stat-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(180deg, var(--accent-2), var(--accent)); box-shadow: 0 8px 24px -8px var(--accent-glow); }

/* ---------- Planos ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 22px; padding: 32px 28px;
  background: var(--light-surface); color: var(--light-text); border-radius: var(--radius); border: 1px solid #e3e9f5;
  transition: transform .3s ease, box-shadow .3s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -25px rgba(31,107,255,.55); }
.plan .muted { color: var(--light-muted); font-size: .9rem; margin-top: 4px; }
.plan .btn-outline { color: #fff; background: var(--accent); border-color: var(--accent); }
.plan .btn-outline:hover { background: #1458e0; }
.price { display: flex; align-items: baseline; gap: 4px; }
.price .cur { font-weight: 700; font-size: 1.05rem; }
.price .val { font-weight: 800; font-size: 2.6rem; letter-spacing: -.03em; line-height: 1; }
.price .per { color: var(--light-muted); font-size: .9rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; flex: 1; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.checklist .ico { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--accent); color: #fff; stroke-width: 3; margin-top: 1px; }
.plan-featured { background: linear-gradient(180deg, #0f1f45, #0a1630); color: var(--text); border: 1.5px solid var(--accent); box-shadow: 0 0 0 6px rgba(31,107,255,.12), 0 30px 60px -25px var(--accent-glow); transform: scale(1.03); }
.plan-featured:hover { transform: scale(1.03) translateY(-6px); }
.plan-featured .muted, .plan-featured .per { color: var(--muted); }
.plan-tag { position: absolute; top: -1px; right: 22px; transform: translateY(-50%); background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 18px -6px var(--accent-glow); }
.plans-note { text-align: center; margin-top: 28px; font-size: .88rem; }

/* ---------- Como funciona ---------- */
.how-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.how-copy { display: grid; gap: 32px; justify-items: start; }
.how-copy .section-head { margin-bottom: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 12%; border-top: 2px dashed var(--line-strong); z-index: -1; }
.steps li { display: grid; gap: 6px; }
.steps strong { font-size: .95rem; margin-top: 10px; }
.steps small { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.step-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: linear-gradient(180deg, var(--accent-2), var(--accent)); box-shadow: 0 0 0 6px rgba(31,107,255,.15), 0 8px 24px -8px var(--accent-glow); }
.app-box { padding: 24px; display: grid; gap: 18px; width: 100%; }
.app-box p { margin-top: 6px; font-size: .92rem; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; background: #000; border: 1px solid #333; border-radius: 10px; font-weight: 700; font-size: 1rem; line-height: 1.1; transition: border-color .2s ease, transform .2s ease; }
.store-badge:hover { border-color: var(--accent-2); transform: translateY(-2px); }
.store-badge svg { width: 24px; height: 24px; }
.store-badge small { display: block; font-size: .65rem; font-weight: 500; color: #bbb; }

/* Mockups de celular */
.how { overflow-x: clip; }   /* celulares girados não podem gerar rolagem lateral no mobile */
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 250px; height: 510px; border-radius: 40px; padding: 10px; background: linear-gradient(145deg, #3a3f4a, #0d0f13); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), inset 0 0 0 2px rgba(255,255,255,.08); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 80px; height: 22px; transform: translateX(-50%); background: #000; border-radius: 999px; z-index: 2; }
.phone-back { left: 0; top: 0; transform: rotate(-4deg); }
.phone-front { right: 0; top: 46px; transform: rotate(3deg); }
.phone-screen { height: 100%; border-radius: 31px; overflow: hidden; padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; font-size: .72rem; }
.screen-dark { background: radial-gradient(400px 260px at 50% 10%, #13306b, #070d1d 70%); color: #fff; }
.screen-light { background: #fff; color: #0b1530; }
.ps-status { display: flex; justify-content: space-between; font-weight: 700; font-size: .7rem; padding: 0 8px; }
.ps-dots { width: 28px; height: 8px; border-radius: 3px; background: currentColor; opacity: .7; }
.ps-logo { display: grid; justify-items: center; margin: 22px 0 10px; line-height: 1; }
.ps-logo svg { width: 46px; height: 38px; }
.ps-logo strong { font-size: 1.9rem; margin-top: 6px; }
.ps-logo small { font-size: .55rem; letter-spacing: .14em; color: var(--accent-2); margin-top: 4px; }
.ps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ps-list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; }
.ps-list .ico { color: var(--accent-2); }
.ps-list span { display: grid; color: var(--muted); font-size: .66rem; }
.ps-list b { color: #fff; font-size: .74rem; }
.ps-tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 0 4px; border-top: 1px solid rgba(255,255,255,.08); }
.ps-tabbar i { width: 18px; height: 18px; border-radius: 6px; background: rgba(255,255,255,.18); }
.ps-tabbar i:first-child { background: var(--accent); }
.ps-map { border-radius: 14px; overflow: hidden; border: 1px solid #e3e9f5; margin-top: 6px; }
.ps-car { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #e3e9f5; border-radius: 12px; }
.ps-car span:nth-child(2) { display: grid; color: var(--light-muted); font-size: .64rem; flex: 1; }
.ps-car b { color: #0b1530; font-size: .74rem; }
.ps-car em { font-style: normal; font-weight: 700; font-size: .6rem; color: #15803d; background: #dcfce7; padding: 3px 7px; border-radius: 999px; }
.ico-dot { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #e8f0ff; color: var(--accent); }
.ps-menu { list-style: none; padding: 0; margin: 0; display: grid; }
.ps-menu li { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid #eef2f9; font-weight: 600; }
.ps-menu .ico { color: var(--accent); }

/* ---------- Dispositivo ---------- */
.device { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: clamp(28px, 5vw, 56px); overflow: hidden; position: relative; }
.device-copy { display: grid; gap: 18px; }
.device-copy .eyebrow { margin-bottom: 0; }
.checklist.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.device-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 8px; }
.device-buy .price { padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255,255,255,.03); flex-wrap: wrap; }
.device-buy .price small { width: 100%; color: var(--muted); font-size: .75rem; }
.device-buy .val { font-size: 2.1rem; }
.device-visual { position: relative; display: grid; place-items: center; }
.device-svg { width: min(260px, 70%); position: relative; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 30px 30px rgba(0,0,0,.6)); }
.device-glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(31,107,255,.45), transparent 65%); filter: blur(10px); }

/* ---------- Depoimentos ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial { margin: 0; padding: 28px; display: flex; flex-direction: column; gap: 18px; transition: transform .3s ease, border-color .3s ease; }
.testimonial:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.stars { display: flex; gap: 3px; color: #fbbf24; }
.stars .ico { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.testimonial blockquote { margin: 0; color: #d3dbec; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; font-size: .82rem; color: var(--muted); }
.testimonial figcaption span:last-child { display: grid; }
.testimonial figcaption b { color: var(--text); font-size: .95rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent-2), #0b2a6b); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.faq-grid .section-head .btn { margin-top: 8px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--light-surface); color: var(--light-text); border-radius: var(--radius-sm); border: 1px solid #e3e9f5; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: 0 16px 40px -20px rgba(31,107,255,.6); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 18px 20px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { color: var(--light-muted); }
.faq summary .plus { margin-left: auto; color: var(--accent); transition: transform .25s ease; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px 52px; color: var(--light-muted); font-size: .95rem; }

/* ---------- CTA final ---------- */
.cta-final {
  position: relative; overflow: hidden; border-radius: 24px; padding: clamp(32px, 6vw, 64px);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(6,11,24,.95) 0%, rgba(6,11,24,.75) 50%, rgba(6,11,24,.35) 100%),
    radial-gradient(500px 300px at 85% 70%, rgba(255,170,110,.25), transparent 70%),
    linear-gradient(180deg, #1a2741 0%, #3b3138 70%, #120f12 100%);
}
.cta-final::after { content: ""; position: absolute; right: -40px; bottom: 60px; width: 60%; height: 55%; background:
  linear-gradient(170deg, transparent 30%, rgba(20,24,34,.95) 31%) no-repeat;
  clip-path: polygon(0 100%, 18% 40%, 32% 65%, 48% 20%, 62% 55%, 78% 25%, 100% 60%, 100% 100%); opacity: .8; }
.cta-copy { position: relative; z-index: 1; max-width: 520px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; justify-items: start; }
.cta-copy > * { max-width: 100%; }   /* nada passa da largura interna do cartão */
.cta-copy h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.cta-copy p { color: #d3dbec; font-size: 1.05rem; }
.trust-row { position: relative; z-index: 1; list-style: none; padding: 24px 0 0; margin: 40px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 40px; }
.trust-row li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: #d3dbec; }
.trust-row .ico { color: var(--accent-2); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 24px; background: var(--bg-2); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9rem; color: var(--muted); }
.footer-nav a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); transition: background .2s ease, border-color .2s ease; }
.socials a:hover { background: var(--accent); border-color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }

.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #22c55e; color: #fff; box-shadow: 0 12px 30px -8px rgba(34,197,94,.6); transition: transform .2s ease; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .ico { width: 28px; height: 28px; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.plan-featured.reveal.in { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1180px) {
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .main-nav { gap: 20px; }
  .how-grid { grid-template-columns: 1fr; }
  .phones { width: 520px; max-width: 100%; margin-inline: auto; }
}

@media (max-width: 767px) {
  .hero-car-img { aspect-ratio: 4 / 5; }
  .hero-visual:has(.hero-car-pic) { max-width: 440px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .header-actions { display: none; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    padding: 12px 16px 24px; background: rgba(6, 11, 24, .97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .main-nav > a::after { display: none; }
  .nav-actions-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
  .site-header.menu-open { background: rgba(6, 11, 24, .97); }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-top: 24px; }
  .glass-note { top: -20px; }
  .hero-features { flex-direction: column; align-items: flex-start; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan-featured, .plan-featured.reveal.in { transform: none; }
  .plan-featured:hover { transform: translateY(-6px); }
  .device { grid-template-columns: 1fr; }
  .device-visual { order: -1; }
  .testimonials { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .stats-card { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { min-width: 0; padding: 0 12px; }
  .stat strong { white-space: normal; font-size: 1.15rem; }
  .stats-card { padding: 22px; }
  .why-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .steps::before { display: none; }
  .checklist.cols-2 { grid-template-columns: 1fr; }
  .feature-row { gap: 18px 24px; }
  .feature-row li { flex-direction: row; }
  .glass-note { display: none; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .phones { height: 470px; }
  .phone { width: 205px; height: 420px; border-radius: 34px; }
  .phone-screen { border-radius: 26px; font-size: .64rem; }
  .ps-menu li { padding: 7px 4px; }
  .footer-inner, .footer-brand { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .phones { height: 430px; }
  .phone { width: 180px; height: 380px; }
  .phone-front { top: 40px; }
}

/* Preço "a partir de" (administrado no Admin) */
.hero-from { margin-top: 18px; color: #c9d3e8; font-size: .95rem; }
.hero-from strong { color: #fff; font-size: 1.1rem; }
.plan .promo-from { font-size: .8rem; color: #be185d; font-weight: 700; margin-bottom: -14px; }
.plan-featured .promo-from { color: #f9a8d4; }
.checklist.excluded li { color: #94a3b8; text-decoration: line-through; }
.checklist.excluded .ico { background: #cbd5e1; }

/* Barra promocional (administrada no Admin) */
.announce { position: fixed; inset: 0 0 auto; z-index: 60; min-height: 40px; display: flex; align-items: center; background: linear-gradient(90deg, #0f2a66, #1f6bff); color: #fff; font-size: .86rem; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 14px; padding-block: 8px; text-align: center; flex-wrap: wrap; }
.announce-btn { padding: 4px 12px; border-radius: 999px; background: #fff; color: #0b1530; font-weight: 700; font-size: .78rem; white-space: nowrap; }
.announce ~ .site-header { top: 40px; }
.announce ~ main .hero, .announce ~ main .plans-hero { padding-top: calc(var(--header-h) + 88px); }
/* Avisos legais discretos */
.footer-legal { display: grid; gap: 6px; padding-top: 18px; }
.legal-note { color: #7d89a6; font-size: .76rem; line-height: 1.5; max-width: 90ch; }
.legal-note b { color: #9aa8c4; font-weight: 600; }
.store-badge.webapp { background: rgba(31,107,255,.15); border-color: rgba(90,150,255,.4); }
.store-badge.webapp .ico { width: 22px; height: 22px; color: #8bb8ff; }
.stat-suffix { font-size: .8rem; font-weight: 600; color: #9aa8c4; }

/* ---------- Fotos da Home (hero e chamada final) ---------- */
.hero-photo, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: 92% center; }
.hero.has-photo .hero-visual { display: none; }
.hero.has-photo .hero-overlay { background:
  linear-gradient(90deg, rgba(6,11,24,.9) 0%, rgba(6,11,24,.6) 38%, rgba(6,11,24,0) 62%),
  linear-gradient(180deg, rgba(6,11,24,.5) 0%, transparent 22%, transparent 72%, var(--bg) 100%); }
.cta-bg, .cta-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-bg img { object-fit: cover; object-position: right center; }
.cta-final:has(.cta-bg) { background: #060b18; }
.cta-final:has(.cta-bg)::after { display: none; }
.cta-final:has(.cta-bg)::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,11,24,.8) 0%, transparent 32%), linear-gradient(90deg, rgba(6,11,24,.92) 0%, rgba(6,11,24,.6) 45%, rgba(6,11,24,.1) 75%); }
@media (max-width: 900px) {
  /* Retrato: texto em cima; a foto fica entre os botões e os ícones, com o carro à vista na primeira tela */
  .hero.has-photo { min-height: 0; background: var(--bg); }
  .hero-photo img { height: auto; top: auto; bottom: 250px; object-fit: contain;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 88%, transparent 100%); }
  .hero.has-photo .hero-overlay { background: linear-gradient(180deg, rgba(6,11,24,.35) 0%, transparent 40%); }
  .hero.has-photo .hero-features { margin-top: 64vw; }
  .hero.has-photo .hero-inner { max-width: 640px; }
  .cta-bg img { object-position: 75% center; }
  .cta-final:has(.cta-bg)::before { background: linear-gradient(180deg, rgba(6,11,24,.92) 0%, rgba(6,11,24,.75) 60%, rgba(6,11,24,.45) 100%); }
}
@media (min-width: 601px) and (max-width: 900px) {
  /* Tablet em pé: foto com largura limitada e bordas esfumadas para não ficar atrás do texto */
  .hero-photo img { width: 600px; left: 50%; transform: translateX(-50%); bottom: 190px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 88%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 88%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%); }
  .hero.has-photo .hero-features { margin-top: 380px; }
}
@media (max-width: 400px) { .hero.has-photo .hero-features { margin-top: calc(64vw + 36px); } }
@media (max-width: 400px) {
  /* Chamada final em telas estreitas: mais área útil e botão que quebra linha em vez de vazar */
  .cta-final { padding: 28px 20px; }
  .cta-copy .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; padding-inline: 18px; }
}
.hero-perks { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; color: #cfe0ff; font-size: .86rem; font-weight: 600; }
.hero-perks span { display: inline-flex; align-items: center; gap: 6px; }
.hero-perks .ico { width: 16px; height: 16px; color: #4ade80; }
