/* Qual Internet Assinar — protótipo v1 — identidade neutra */
:root {
  --navy: #0a2540;
  --navy-2: #123a63;
  --teal: #00c9a7;
  --teal-dark: #00a389;
  --bg: #f6f9fc;
  --card: #ffffff;
  --text: #22303e;
  --muted: #5b6b7b;
  --line: #e3eaf1;
  --amber: #ffb020;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(10, 37, 64, 0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
}
a { color: var(--teal-dark); text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  background: var(--navy); position: sticky; top: 0; z-index: 50;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; }
.logo .dot { width: 34px; height: 34px; border-radius: 10px; background: var(--teal); display: grid; place-items: center; font-size: 1.05rem; color: var(--navy); }
.logo .mark { width: 40px; height: 40px; display: block; }
.brand-lockup { width: 230px; max-width: 100%; display: block; margin-bottom: 14px; }
.logo small { display: block; font-weight: 500; font-size: .62rem; color: #9fb3c8; letter-spacing: .06em; text-transform: uppercase; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: #d7e3ee; font-size: .92rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-links a.cta { background: var(--teal); color: var(--navy); font-weight: 700; padding: 9px 18px; border-radius: 10px; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%); color: #fff; padding: 48px 0 88px; }
.hero-brand { display: flex; align-items: center; gap: 6px; margin-bottom: 30px; }
.hero-brand img { width: 170px; height: auto; flex-shrink: 0; }
.hero-brand-text strong { display: block; font-size: 2.1rem; font-weight: 800; line-height: 1.15; }
.hero-brand-text span { color: #b9c9d8; font-size: 1.25rem; font-weight: 300; }
@media (max-width: 860px) { .hero-brand img { width: 120px; } .hero-brand-text strong { font-size: 1.4rem; } .hero-brand-text span { font-size: 1rem; } }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 2.5rem; line-height: 1.15; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero p.sub { margin-top: 16px; color: #b9c9d8; font-size: 1.08rem; max-width: 46ch; }
.badges { display: flex; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.badge { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: #d7e3ee; }
.badge b { color: var(--teal); }

/* CEP box */
.cep-box { background: #fff; border-radius: var(--radius); padding: 28px; color: var(--text); box-shadow: var(--shadow); }
.cep-box h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 4px; }
.cep-box p { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .8rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 1rem; font-family: inherit; color: var(--text); background: #fff;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--teal); }
.btn {
  display: inline-block; width: 100%; text-align: center; background: var(--teal); color: var(--navy);
  border: none; padding: 15px 22px; border-radius: 10px; font-size: 1.02rem; font-weight: 800;
  cursor: pointer; font-family: inherit; transition: background .15s;
}
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn.ghost { background: transparent; border: 1.5px solid var(--teal); color: var(--teal-dark); width: auto; }
.tiny { font-size: .74rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* Sections */
section { padding: 64px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 1.8rem; color: var(--navy); font-weight: 800; }
.section-title p { color: var(--muted); margin-top: 8px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.tile .num { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--teal); font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.tile h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 8px; }
.tile p { font-size: .9rem; color: var(--muted); }
.pain { border-left: 4px solid var(--amber); }
.pain h3 { font-size: 1.02rem; }

/* Offer cards */
.results-head { padding: 34px 0 6px; }
.results-head h1 { font-size: 1.55rem; color: var(--navy); }
.results-head p { color: var(--muted); font-size: .95rem; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 8px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px;
  font-size: .84rem; font-weight: 600; color: var(--muted); cursor: pointer; font-family: inherit;
}
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.offers { display: grid; gap: 18px; padding-bottom: 64px; }
.offer {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; display: grid; grid-template-columns: 1.1fr 1.4fr .9fr auto; gap: 20px;
  align-items: center; box-shadow: var(--shadow);
}
.offer.best { border: 2px solid var(--teal); position: relative; }
.offer .flag {
  position: absolute; top: -12px; left: 24px; background: var(--teal); color: var(--navy);
  font-size: .72rem; font-weight: 800; padding: 3px 12px; border-radius: 999px; text-transform: uppercase;
}
.speed .mb { font-size: 1.9rem; font-weight: 800; color: var(--navy); line-height: 1; }
.speed .mb small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.speed .up { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.origin { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .74rem; font-weight: 700; color: var(--navy-2); background: #eaf3fb; padding: 3px 10px; border-radius: 999px; }
.origin.covered { background: #e3f9f3; color: #00795f; }
.perks { list-style: none; font-size: .85rem; color: var(--muted); }
.perks li { padding: 2px 0; }
.perks li::before { content: "✓ "; color: var(--teal-dark); font-weight: 800; }
.rating { font-size: .82rem; color: var(--muted); }
.stars { color: var(--amber); font-size: .95rem; letter-spacing: 1px; }
.price .rs { font-size: .85rem; color: var(--muted); }
.price .val { font-size: 1.7rem; font-weight: 800; color: var(--navy); }
.price .cond { font-size: .74rem; color: var(--muted); }
.offer .btn { width: auto; padding: 13px 20px; font-size: .9rem; }

/* Modal */
.modal-bg {
  display: none; position: fixed; inset: 0; background: rgba(10, 37, 64, .65);
  z-index: 100; align-items: center; justify-content: center; padding: 20px;
}
.modal-bg.open { display: flex; }
.modal { background: #fff; border-radius: var(--radius); max-width: 440px; width: 100%; padding: 30px; position: relative; }
.modal .close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 1.3rem; color: var(--muted); cursor: pointer; }
.modal h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 6px; }
.modal p.lead-sub { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.modal .offer-mini { background: var(--bg); border-radius: 10px; padding: 10px 14px; font-size: .86rem; margin-bottom: 16px; color: var(--navy); font-weight: 600; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .76rem; color: var(--muted); margin: 14px 0; }
.consent input { margin-top: 3px; }

/* Blog */
.blog-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.blog-card .thumb { height: 140px; background: linear-gradient(135deg, var(--navy-2), var(--navy)); display: grid; place-items: center; font-size: 2rem; }
.blog-card .body { padding: 20px; flex: 1; }
.blog-card .tag { font-size: .7rem; font-weight: 800; text-transform: uppercase; color: var(--teal-dark); letter-spacing: .05em; }
.blog-card h3 { font-size: 1rem; color: var(--navy); margin: 8px 0; line-height: 1.35; }
.blog-card p { font-size: .84rem; color: var(--muted); }
.blog-card .body a { font-size: .84rem; font-weight: 700; }

/* Article */
.article { max-width: 720px; margin: 0 auto; padding: 48px 20px 72px; }
.article .tag { font-size: .74rem; font-weight: 800; text-transform: uppercase; color: var(--teal-dark); }
.article h1 { font-size: 2rem; color: var(--navy); line-height: 1.2; margin: 10px 0 8px; }
.article .meta { font-size: .82rem; color: var(--muted); margin-bottom: 28px; }
.article h2 { font-size: 1.3rem; color: var(--navy); margin: 32px 0 10px; }
.article p, .article li { color: var(--text); font-size: 1rem; margin-bottom: 14px; }
.article ul, .article ol { padding-left: 22px; }
.cta-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; margin: 34px 0; text-align: center; }
.cta-box h3 { font-size: 1.15rem; margin-bottom: 6px; }
.cta-box p { color: #b9c9d8; font-size: .9rem; margin-bottom: 16px; }
.cta-box .btn { width: auto; }

/* Thank you */
.thanks { max-width: 560px; margin: 0 auto; text-align: center; padding: 80px 20px; }
.thanks .check { width: 74px; height: 74px; border-radius: 50%; background: var(--teal); color: var(--navy); font-size: 2rem; display: grid; place-items: center; margin: 0 auto 22px; }
.thanks h1 { color: var(--navy); font-size: 1.7rem; margin-bottom: 10px; }
.thanks p { color: var(--muted); margin-bottom: 12px; }
.thanks .steps { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-top: 26px; }
.thanks .steps li { margin-bottom: 10px; color: var(--text); font-size: .92rem; }

/* Footer */
footer { background: var(--navy); color: #9fb3c8; padding: 48px 0 32px; margin-top: 40px; font-size: .84rem; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
footer h4 { color: #fff; font-size: .9rem; margin-bottom: 10px; }
footer a { color: #9fb3c8; display: block; padding: 3px 0; }
footer .legal { border-top: 1px solid #1d4066; padding-top: 20px; font-size: .76rem; line-height: 1.7; }

@media (max-width: 860px) {
  .hero-grid, .grid-3, .grid-2, footer .cols { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr 1fr; }
  .offer .btn { grid-column: 1 / -1; }
  .nav-links a:not(.cta) { display: none; }
  .hero h1 { font-size: 1.9rem; }
}
