/* InvestCarBR — Redesign profissional (site estático)
   Paleta herdada do site original. */

:root {
  --bg-900: #030814;
  --bg-800: #061222;
  --bg-700: #0a1a30;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #eaf6ff;
  --muted: #9fb2c9;
  --muted-2: #6f86a3;

  --accent: #0ea5ff;
  --accent-2: #0077ff;
  --accent-deep: #0041a8;
  --cta: #ff9a26;
  --success: #22c55e;

  --grad-accent: linear-gradient(135deg, #7dd3fc 0%, #0ea5ff 45%, #0077ff 100%);
  --grad-bg: linear-gradient(180deg, #030814 0%, #051428 45%, #030814 100%);
  --grad-hero: radial-gradient(1200px 600px at 75% -10%, rgba(0, 119, 255, 0.28), transparent 60%);

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.3);

  --container: 1180px;
  --ff: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-display: "Sora", var(--ff);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff);
  background: var(--grad-bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 700; font-size: .98rem; line-height: 1;
  padding: .95rem 1.5rem; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .2s ease;
  white-space: nowrap; font-family: var(--ff);
}
.btn:active { transform: translateY(1px); }
.btn-block { width: 100%; }
.btn-primary {
  color: #021018;
  background: var(--grad-accent);
  box-shadow: 0 12px 30px rgba(14, 165, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(14, 165, 255, 0.5); }
.btn-outline { color: var(--text); border-color: var(--border-strong); background: var(--surface); }
.btn-outline:hover { border-color: var(--accent); color: #fff; background: var(--surface-2); transform: translateY(-2px); }
.btn-ghost { color: var(--text); border-color: var(--border); padding: .7rem 1.1rem; font-size: .9rem; background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(3, 8, 20, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.brand img { height: 64px; width: auto; }
.nav { display: flex; gap: 1.7rem; }
.nav a { color: var(--muted); font-weight: 600; font-size: .95rem; position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--accent); transition: width .25s; }
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: .9rem; }
.badge-live {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 700; color: #cfeeff;
  padding: .35rem .7rem; border-radius: 999px;
  background: rgba(0, 119, 255, 0.16); border: 1px solid rgba(14, 165, 255, 0.4);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(14,165,255,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(14,165,255,.5);} 70% { box-shadow: 0 0 0 8px rgba(14,165,255,0);} 100% { box-shadow: 0 0 0 0 rgba(14,165,255,0);} }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 4.5rem 0 4rem; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; background: var(--grad-hero); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  color: #bfe6ff; padding: .4rem .85rem; border-radius: 999px;
  background: rgba(0, 119, 255, 0.14); border: 1px solid rgba(14, 165, 255, 0.3); margin-bottom: 1.3rem;
}
.hero-copy h1 { font-family: var(--ff-display); font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.grad { display: block; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 1.08rem; margin: 1.3rem 0 1.6rem; max-width: 34rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-bottom: 1.8rem; }
.hero-meta li { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; }
.check { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(34,197,94,.16); color: var(--success); font-size: .7rem; border: 1px solid rgba(34,197,94,.3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.2rem; }
.hero-trust { display: flex; gap: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.hero-trust-stat strong { display: block; font-family: var(--ff-display); font-size: 1.5rem; color: #fff; }
.hero-trust-stat span { color: var(--muted-2); font-size: .82rem; }

/* Simulador card */
.sim-card {
  background: linear-gradient(180deg, rgba(10,26,48,.9), rgba(6,18,34,.95));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: 1.6rem; box-shadow: var(--shadow); position: relative;
}
.sim-card::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); padding: 1px; background: linear-gradient(135deg, rgba(14,165,255,.5), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.sim-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.3rem; }
.sim-title { font-family: var(--ff-display); font-weight: 700; font-size: 1.15rem; }
.sim-sub { color: var(--muted); font-size: .9rem; }
.sim-tag { display: inline-flex; align-items: center; gap: .4rem; flex-shrink: 0; font-size: .78rem; font-weight: 700; color: #cfeeff; padding: .35rem .65rem; border-radius: 999px; background: rgba(0,119,255,.16); border: 1px solid rgba(14,165,255,.35); }
.sim-body { display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field-top { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; font-weight: 600; color: var(--muted); }
.field-top em { font-style: normal; color: var(--muted-2); font-size: .78rem; }
.input-money { display: flex; align-items: center; gap: .4rem; background: var(--bg-900); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 .9rem; }
.input-money span { color: var(--muted); font-weight: 700; }
.input-money input { border: 0; background: transparent; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; font-size: 1rem; color: var(--text);
  background: var(--bg-900); border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--ff); transition: border-color .2s, box-shadow .2s;
}
.input-money input { padding: .8rem 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,165,255,.18); }
.field select { appearance: none; cursor: pointer; }
.field input[type="range"] { padding: 0; accent-color: var(--accent); }
.range-value { font-size: .85rem; color: var(--accent); font-weight: 700; }
.sim-result { margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px dashed var(--border-strong); display: flex; flex-direction: column; gap: .7rem; }
.sim-result-row { display: flex; justify-content: space-between; align-items: baseline; }
.sim-result-row span { color: var(--muted); font-size: .9rem; }
.sim-result-row strong { font-family: var(--ff-display); font-size: 1.2rem; }
.sim-result-row .accent { color: var(--accent); font-size: 1.45rem; }
.sim-result .btn { margin-top: .5rem; }
.sim-note { font-size: .72rem; color: var(--muted-2); }

/* ---------- Strip ---------- */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); }
.strip-inner { display: flex; align-items: center; gap: 2rem; padding: 1.1rem 1.5rem; flex-wrap: wrap; justify-content: space-between; }
.strip-inner > span { color: var(--muted-2); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.strip-items { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.strip-items span { color: var(--muted); font-weight: 600; font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; scroll-margin-top: 5.5rem; }
.section-alt { background: rgba(255,255,255,.02); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
.section-eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.section-head h2 { font-family: var(--ff-display); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -.02em; }
.section-head p { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 2.5rem; align-items: start; }
.about-highlight { font-size: 1.2rem; font-weight: 600; margin-bottom: 1.2rem; }
.about-highlight strong { color: var(--accent); }
.about-text p { color: var(--muted); margin-bottom: 1rem; }
.feature-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.8rem; }
.feature { display: flex; gap: 1rem; }
.feature-num { flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--accent); background: rgba(14,165,255,.12); border: 1px solid rgba(14,165,255,.25); font-family: var(--ff-display); }
.feature strong { display: block; margin-bottom: .2rem; }
.feature p { color: var(--muted); font-size: .95rem; }
.about-card { background: linear-gradient(180deg, rgba(10,26,48,.85), rgba(6,18,34,.92)); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 1.7rem; box-shadow: var(--shadow-soft); }
.about-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--border); margin-bottom: 1.3rem; }
.about-card-row .muted { display: block; color: var(--muted-2); font-size: .8rem; margin-bottom: .3rem; }
.about-card-row strong { font-family: var(--ff-display); font-size: 1.15rem; color: #fff; }
.about-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem; }
.about-pills span { font-size: .8rem; font-weight: 600; color: var(--muted); padding: .35rem .7rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.about-confidence { color: var(--muted); font-size: .92rem; }
.about-confidence span { color: var(--accent); font-weight: 600; }

/* Plans */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(10,26,48,.6), rgba(6,18,34,.8)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.7rem; transition: transform .25s, border-color .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-soft); }
.plan-featured { border-color: rgba(14,165,255,.5); background: linear-gradient(180deg, rgba(0,65,168,.35), rgba(6,18,34,.9)); box-shadow: 0 20px 50px rgba(0,65,168,.35); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-size: .75rem; font-weight: 800; color: #021018; padding: .35rem .9rem; border-radius: 999px; background: var(--grad-accent); }
.plan-tag { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.plan h3 { font-family: var(--ff-display); font-size: 1.4rem; }
.plan-desc { color: var(--muted); font-size: .92rem; margin: .6rem 0 1.2rem; min-height: 3.4em; }
.plan-price { font-family: var(--ff-display); font-size: 2.6rem; font-weight: 800; line-height: 1; color: #fff; }
.plan-price span { font-size: 1.1rem; color: var(--muted); margin-right: .25rem; vertical-align: super; }
.plan-price small { font-size: 1.1rem; color: var(--muted); }
.plan-price-label { display: block; color: var(--muted-2); font-size: .82rem; margin: .5rem 0 1.3rem; }
.plan-list { display: flex; flex-direction: column; gap: .65rem; margin-bottom: 1.6rem; flex: 1; }
.plan-list li { position: relative; padding-left: 1.6rem; color: var(--muted); font-size: .93rem; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 800; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.6rem; position: relative; }
.step-num { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-weight: 800; font-size: 1.3rem; color: #021018; background: var(--grad-accent); margin-bottom: 1.2rem; }
.step h3 { font-family: var(--ff-display); font-size: 1.2rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* Videos */
.videos-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.video { aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); background: #000; box-shadow: var(--shadow-soft); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Contact */
.contact-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; background: linear-gradient(135deg, rgba(0,65,168,.3), rgba(6,18,34,.9)); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow); }
.contact-info h2 { font-family: var(--ff-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; margin-top: .7rem; }
.contact-info p { color: var(--muted); margin: 1rem 0 1.6rem; }
.contact-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-list li { display: flex; flex-direction: column; }
.contact-list strong { font-size: .8rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; }
.contact-list a { color: var(--accent); font-weight: 700; font-size: 1.05rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form .field span { font-size: .85rem; font-weight: 600; color: var(--muted); }
.form-note { font-size: .8rem; color: var(--muted-2); text-align: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: rgba(3,8,20,.6); padding: 3rem 0 1.5rem; margin-top: 1rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.footer-brand img { height: 56px; margin-bottom: .9rem; }
.footer-brand p { color: var(--muted); max-width: 24rem; font-size: .92rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.3rem; align-items: flex-start; }
.footer-links a { color: var(--muted); font-weight: 600; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 1.5rem; color: var(--muted-2); font-size: .85rem; }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(2,6,15,.8); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 1.2rem; }
.modal-overlay.open { display: flex; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal { position: relative; width: 100%; max-width: 420px; max-height: 92vh; overflow-y: auto; background: linear-gradient(180deg, var(--bg-700), var(--bg-800)); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow); scrollbar-width: none; -ms-overflow-style: none; }
.modal::-webkit-scrollbar { width: 0; height: 0; display: none; }
/* Garante que elementos com [hidden] fiquem realmente ocultos mesmo com display:flex nas classes */
[hidden] { display: none !important; }
.modal-close { position: absolute; top: .9rem; right: 1rem; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer; transition: .2s; }
.modal-close:hover { background: var(--surface-2); border-color: var(--border-strong); }
.modal-head { text-align: center; margin-bottom: 1.3rem; }
.modal-logo { height: 50px; margin: 0 auto .8rem; }
.modal-head h3 { font-family: var(--ff-display); font-size: 1.3rem; }
.modal-sub { color: var(--muted); font-size: .9rem; margin-top: .3rem; }
.modal-body { display: flex; flex-direction: column; gap: 1.1rem; }
.pix-amount { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: 1rem; border-radius: var(--radius); background: rgba(0,119,255,.12); border: 1px solid rgba(14,165,255,.3); }
.pix-amount span { color: var(--muted); font-size: .85rem; }
.pix-amount strong { font-family: var(--ff-display); font-size: 1.8rem; color: #fff; }
.pix-qr { display: flex; justify-content: center; }
.pix-qr img { width: 220px; height: 220px; border-radius: var(--radius); background: #fff; padding: 10px; object-fit: contain; }
.pix-help, .pix-note { color: var(--muted); font-size: .85rem; text-align: center; }
.pix-note { color: var(--muted-2); font-size: .78rem; }
.terms-field { flex-direction: row; align-items: flex-start; gap: .6rem; cursor: pointer; }
.terms-field input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.terms-field span { font-size: .85rem; color: var(--muted); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* Seletor de forma de pagamento (segmentado) */
.pay-switch { display: flex; gap: .35rem; padding: .35rem; margin-bottom: 1.3rem; background: var(--bg-900); border: 1px solid var(--border); border-radius: 999px; }
.pay-opt { flex: 1; padding: .7rem .5rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 700; font-size: .92rem; cursor: pointer; transition: .2s; font-family: var(--ff); }
.pay-opt:hover { color: #fff; }
.pay-opt.active { background: var(--grad-accent); color: #021018; box-shadow: 0 6px 16px rgba(14,165,255,.3); }

/* Painéis (PIX / Cartão): mesmo ritmo vertical do modal */
.pay-panel { display: flex; flex-direction: column; gap: 1.1rem; }

/* Cartão: linhas compactas mantendo o padrão dos campos */
.pay-section { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin: .3rem 0 -.3rem; }
.pay-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; align-items: start; }
.pay-row-3 { grid-template-columns: 1fr 1fr 1fr; }
#panelCredit .field span { font-size: .82rem; font-weight: 600; color: var(--muted); }

.co-error { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.4); color: #fca5a5; font-size: .86rem; padding: .7rem .9rem; border-radius: var(--radius-sm); }

/* Status / resultado do pagamento */
.co-status { text-align: center; padding: 1.5rem .5rem 1rem; }
.status-icon { width: 72px; height: 72px; margin: 0 auto 1.2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; }
.status-icon.loading { border: 4px solid rgba(14,165,255,.2); border-top-color: var(--accent); animation: spin 1s linear infinite; }
.status-icon.success { background: rgba(34,197,94,.16); color: var(--success); border: 1px solid rgba(34,197,94,.4); }
.status-icon.error { background: rgba(239,68,68,.14); color: #fca5a5; border: 1px solid rgba(239,68,68,.4); }
@keyframes spin { to { transform: rotate(360deg); } }
.co-status h3 { font-family: var(--ff-display); font-size: 1.3rem; margin-bottom: .6rem; }
.co-status p { color: var(--muted); font-size: .95rem; max-width: 22rem; margin: 0 auto; }
.status-actions { margin-top: 1.6rem; display: flex; flex-direction: column; gap: .6rem; }

/* WhatsApp float */
.whats-float { position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 150; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: #25d366; box-shadow: 0 12px 30px rgba(37,211,102,.45); transition: transform .2s, box-shadow .2s; }
.whats-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 40px rgba(37,211,102,.6); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 2rem; transform: translateX(-50%) translateY(20px); z-index: 300; background: var(--bg-700); border: 1px solid var(--border-strong); color: #fff; padding: .9rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .3s; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .steps-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-card { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: 0 0 auto 0; top: 64px; flex-direction: column; gap: 0; background: rgba(3,8,20,.98); border-bottom: 1px solid var(--border); padding: .5rem 1.5rem 1rem; transform: translateY(-150%); transition: transform .3s; }
  .nav.open { transform: translateY(0); }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--border); }
  .nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn-ghost { display: none; }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .hero-trust { flex-wrap: wrap; gap: 1.2rem; }
  .section { padding: 3.5rem 0; }
  .contact-card { padding: 1.6rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .strip-inner { gap: 1rem; }
}
@media (max-width: 460px) {
  .container { padding: 0 1.1rem; }
  .videos-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
  .brand img { height: 48px; }
  .header-cta .badge-live { display: none; }
  .hero { padding: 2.6rem 0 2.2rem; }
  .hero-trust { gap: 1rem 1.6rem; }
  .section-head { margin-bottom: 2rem; }
  .sim-card { padding: 1.2rem; }
}

/* ---------- Modal em telas pequenas ---------- */
@media (max-width: 560px) {
  .modal-overlay { padding: 0; align-items: stretch; }
  .modal {
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
    border-radius: 0;
    border: 0;
    padding: 1.4rem 1.15rem 2rem;
  }
  .modal-close { top: .7rem; right: .8rem; }
  .modal-logo { height: 44px; }
  .modal-head h3 { font-size: 1.2rem; }
  .pay-switch { position: sticky; top: 0; z-index: 2; }
  .pay-opt { font-size: .88rem; padding: .65rem .4rem; }
  .pay-row { gap: .6rem; }
  .pix-qr img { width: 200px; height: 200px; }
}
/* Telas bem estreitas: empilha CPF/Telefone e Nascimento/Senha */
@media (max-width: 380px) {
  .pay-row:not(.pay-row-3) { grid-template-columns: 1fr; }
}
