/* ============================================================
   SuperOfertaClaro — estilo base
   Tema claro, acentos em vermelho Claro
   ============================================================ */

:root {
  --red: #e60026;
  --red-dark: #b3001b;
  --red-soft: #ff3354;
  --ink: #ffffff;        /* fundo principal */
  --ink-2: #f6f7fb;      /* seções alternadas / cards */
  --ink-3: #eef0f6;      /* cabeçalho de tabela / chips */
  --line: #e3e6ef;       /* bordas */
  --text: #15171f;       /* texto principal */
  --muted: #6b7280;      /* texto secundário */
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -24px rgba(20, 22, 40, 0.25);
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* Evita que o header fixo (72px) cubra o topo das seções ao navegar */
section[id], [id] { scroll-margin-top: 88px; }

body {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 20px; font-size: .92rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-soft));
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(230, 0, 38, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -10px rgba(230, 0, 38, 0.7); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

.btn-outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--red-soft); background: rgba(230,0,38,.08); }

.btn-light { background: #fff; color: var(--red); font-weight: 700; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--red), var(--red-soft));
  color: #fff; font-weight: 800; font-size: 1.3rem;
  border-radius: 11px;
  box-shadow: 0 8px 20px -8px rgba(230,0,38,.7);
}
.brand-text { font-size: 1.15rem; font-weight: 500; letter-spacing: -.01em; }
.brand-text strong { color: var(--red-soft); font-weight: 700; }

.main-nav { display: flex; gap: 30px; }
.main-nav a { color: var(--muted); font-weight: 500; font-size: .96rem; transition: color .2s; }
.main-nav a:hover { color: var(--red); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 90px 0 80px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(230,0,38,.10), transparent 60%),
    radial-gradient(700px 500px at 0% 20%, rgba(255,51,84,.06), transparent 55%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-dark);
  background: rgba(230,0,38,.08);
  border: 1px solid rgba(230,0,38,.25);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-copy h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
.hero-copy h1 .hl {
  background: linear-gradient(120deg, var(--red-soft), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { color: var(--muted); font-size: 1.15rem; margin: 22px 0 30px; max-width: 30em; }
.hero-sub strong { color: var(--text); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 34px;
  list-style: none;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font-size: 1.7rem; font-weight: 800; color: var(--text); font-family: "Space Grotesk", sans-serif; }
.hero-stats span { font-size: .85rem; color: var(--muted); }

/* Hero card */
.hero-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff, var(--ink-2));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card .glow {
  position: absolute;
  inset: -40% 30% auto -20%;
  height: 220px;
  background: radial-gradient(circle, rgba(230,0,38,.18), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.speed-dial { display: flex; align-items: baseline; gap: 8px; position: relative; }
.speed-num { font-size: 4rem; font-weight: 800; font-family: "Space Grotesk", sans-serif; line-height: 1; color: var(--text); }
.speed-unit { font-size: 1.4rem; font-weight: 600; color: var(--red-soft); }
.hero-card-title { margin-top: 10px; color: var(--muted); font-weight: 500; }
.hero-card-price { font-size: 2rem; font-weight: 800; margin: 4px 0 18px; }
.hero-card-price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.hero-card-list { list-style: none; margin-bottom: 22px; display: grid; gap: 10px; }
.hero-card-list li { position: relative; padding-left: 26px; color: var(--text); }
.hero-card-list li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--red-soft); font-weight: 800;
}

/* ===== Seções genéricas ===== */
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-align: center; font-weight: 800; }
.section-lead { text-align: center; color: var(--muted); max-width: 44em; margin: 14px auto 0; }

/* ===== Benefícios ===== */
.benefits { padding: 90px 0; border-top: 1px solid var(--line); }
.benefit-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.benefit {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.benefit:hover { transform: translateY(-4px); border-color: rgba(230,0,38,.45); }
.benefit-ico {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  background: rgba(230,0,38,.10);
  border: 1px solid rgba(230,0,38,.25);
  border-radius: 14px;
  margin-bottom: 18px;
}
.benefit h3 { font-size: 1.15rem; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: .96rem; }

/* ===== Planos ===== */
.plans { padding: 90px 0; background: var(--ink-2); border-top: 1px solid var(--line); }
.plan-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.plan-card {
  position: relative;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.plan-card:hover { transform: translateY(-5px); border-color: rgba(255,51,84,.5); box-shadow: var(--shadow); }
.plan-card.featured {
  border-color: var(--red);
  background: linear-gradient(180deg, rgba(230,0,38,.12), var(--ink));
  box-shadow: 0 24px 60px -24px rgba(230,0,38,.55);
}
.plan-card.plan-premium { border-color: #c9ced9; background: linear-gradient(180deg, #f0f2f8, var(--ink)); }

.ribbon {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--red), var(--red-soft));
  color: #fff; font-size: .76rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 18px -8px rgba(230,0,38,.7);
}
.ribbon-dark { background: linear-gradient(135deg, #4b5160, #2a2d39); }

.plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.plan-name { font-weight: 600; font-size: 1.05rem; }
.plan-speed { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--red-soft); }
.plan-speed small { font-size: .8rem; color: var(--muted); font-weight: 500; }
.plan-price { font-size: 1.9rem; font-weight: 800; margin: 12px 0 4px; }
.plan-price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan-tag { color: var(--muted); font-size: .92rem; min-height: 2.6em; }
.plan-feats { list-style: none; margin: 18px 0 24px; display: grid; gap: 11px; flex: 1; }
.plan-feats li { position: relative; padding-left: 26px; font-size: .96rem; }
.plan-feats li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--red-soft); font-weight: 800;
}

/* ===== Comparar ===== */
.compare { padding: 90px 0; border-top: 1px solid var(--line); }
.table-wrap { margin-top: 44px; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table thead th {
  background: var(--ink-3);
  text-align: left;
  padding: 18px 20px;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 600;
}
.compare-table td { padding: 18px 20px; border-top: 1px solid var(--line); font-size: .96rem; }
.compare-table tbody tr:hover { background: var(--ink-2); }
.compare-table .row-hl { background: rgba(230,0,38,.07); }
.compare-table td:last-child { font-weight: 700; color: var(--text); }

/* ===== CTA band ===== */
.cta-band {
  margin: 0;
  padding: 64px 0;
  background: linear-gradient(120deg, var(--red-dark), var(--red), var(--red-soft));
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-inner p { color: rgba(255,255,255,.9); margin-top: 6px; }

/* ===== FAQ ===== */
.faq { padding: 90px 0; background: var(--ink-2); border-top: 1px solid var(--line); }
.faq-list { max-width: 760px; margin: 44px auto 0; display: grid; gap: 14px; }
.faq-item {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(230,0,38,.4); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--red-soft); font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding-bottom: 20px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding-top: 60px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.brand-footer { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); max-width: 34em; font-size: .95rem; }
.footer-nav h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 16px; }
.footer-nav a, .footer-note { display: block; color: var(--text); margin-bottom: 11px; font-size: .96rem; transition: color .2s; }
.footer-nav a:hover { color: var(--red-soft); }
.footer-note { color: var(--muted); }

.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { color: var(--muted); font-size: .88rem; }
.legal-links { display: flex; align-items: center; gap: 10px; }
.legal-links a { color: var(--muted); transition: color .2s; }
.legal-links a:hover { color: var(--red-soft); text-decoration: underline; }
.legal-links span { color: var(--muted); }

/* ===== Páginas legais ===== */
.legal-page { padding: 60px 0 80px; }
.legal-page .container { max-width: 820px; }
.legal-hero { padding: 40px 0; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.legal-back { color: var(--muted); font-size: .92rem; display: inline-flex; gap: 6px; margin-bottom: 18px; }
.legal-back:hover { color: var(--red-soft); }
.legal-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-updated { color: var(--muted); font-size: .9rem; margin-top: 10px; }
.legal-page h2 { font-size: 1.35rem; margin: 36px 0 12px; color: var(--text); }
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page p, .legal-page li { color: var(--muted); margin-bottom: 12px; }
.legal-page ul { padding-left: 22px; margin-bottom: 12px; }
.legal-page li { margin-bottom: 8px; }
.legal-page strong { color: var(--text); }
.legal-page a.inline { color: var(--red-soft); text-decoration: underline; }

/* ===== Responsivo ===== */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 420px; margin: 0 auto; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .compare-table { min-width: 0; }
  /* Tabela em modo "card" no mobile */
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table td { display: block; width: 100%; }
  .compare-table tr { border-top: 1px solid var(--line); padding: 8px 0; }
  .compare-table td { border: none; display: flex; justify-content: space-between; padding: 8px 18px; }
  .compare-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-weight: 600;
    margin-right: 12px;
  }
}

@media (max-width: 560px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 50px; }
  .hero-stats { gap: 22px; }
}
