:root {
  --primary: #d9212e;
  --primary-dark: #b81a26;
  --dark: #111318;
  --dark-2: #171a21;
  --text: #2c3138;
  --muted: #5f6772;
  --light: #f6f7f9;
  --border: #e6e8ec;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(17, 19, 24, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--primary);
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 19, 24, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
}

.logo-text {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-text strong {
  color: var(--primary);
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  color: #cfd3da;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--dark);
}

.btn-light:hover {
  background: #f2f2f2;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
  border-radius: 8px;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, rgba(217, 33, 46, 0.25), transparent 60%),
    linear-gradient(180deg, #14161c, #1a1d25);
  color: #fff;
  padding: 90px 0 100px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(217, 33, 46, 0.15);
  color: #ff7a84;
  border: 1px solid rgba(255, 122, 132, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: #c7ccd6;
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #aeb4bf;
  font-size: 14px;
  font-weight: 500;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-points span::before {
  content: '✓';
  color: #4ade80;
  font-weight: 800;
}

/* ---------- Hero visual (mockup) ---------- */
.hero-visual {
  display: flex;
  justify-content: center;
}

.device-card {
  width: 300px;
  background: #20242e;
  border: 1px solid #2c3140;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.device-top {
  display: flex;
  gap: 6px;
  padding: 14px;
  background: #181b22;
  border-bottom: 1px solid #2c3140;
}

.device-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a4150;
}

.device-top span:first-child { background: #f25f5c; }
.device-top span:nth-child(2) { background: #f5bd4f; }
.device-top span:last-child { background: #4cc38a; }

.device-body {
  padding: 18px;
}

.device-logo {
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 15px;
}

.device-logo strong {
  color: var(--primary);
}

.device-line {
  height: 9px;
  border-radius: 6px;
  background: #343a48;
}

.device-line-title { width: 85%; margin-bottom: 8px; }
.device-line-sm { width: 55%; height: 7px; }
.device-line-xs { width: 40%; height: 6px; }

.device-items {
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.device-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #2a2f3b;
  border-radius: 10px;
  padding: 10px;
}

.device-thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #d9212e, #ff7a84);
  flex-shrink: 0;
}

.device-item-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.device-price {
  color: #4ade80;
  font-size: 13px;
  font-weight: 700;
}

.device-cart {
  margin-top: 4px;
  background: var(--primary);
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}

/* ---------- Sections ---------- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--light);
}

.section-narrow .container {
  max-width: 720px;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.about-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.about-item h3 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 12px;
}

.about-item p {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Benefits ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.benefit-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.benefit-icon {
  font-size: 30px;
  margin-bottom: 14px;
}

.benefit-card h3 {
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 8px;
}

.benefit-card p {
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- Plans ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 880px;
  margin: 0 auto;
}

.plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
  position: relative;
}

.plan-card-featured {
  border: 2px solid var(--primary);
}

.plan-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.plan-name {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 14px;
}

.plan-price {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 24px;
}

.plan-price strong {
  font-size: 44px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.plan-price span {
  font-size: 15px;
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
}

.plan-features li {
  padding: 7px 0;
  color: var(--text);
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, #b81a26, #d9212e);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.cta h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta p {
  font-size: 17px;
  opacity: 0.92;
  max-width: 620px;
  margin: 0 auto 30px;
}

.cta .btn {
  margin: 0 6px;
}

/* ---------- Page hero ---------- */
.page-hero {
  background: linear-gradient(180deg, #14161c, #1d212b);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.page-hero p {
  color: #c7ccd6;
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Recursos ---------- */
.recursos-group {
  margin-bottom: 56px;
}

.recursos-group > h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.recurso-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: box-shadow 0.2s;
}

.recurso-card:hover {
  box-shadow: var(--shadow);
}

.recurso-card h3 {
  font-size: 15.5px;
  color: var(--dark);
  margin-bottom: 6px;
}

.recurso-card p {
  font-size: 14px;
  color: var(--muted);
}

.cta-box {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 44px 30px;
  text-align: center;
  margin-top: 20px;
}

.cta-box h2 {
  font-size: 26px;
  color: var(--dark);
  margin-bottom: 8px;
}

.cta-box p {
  color: var(--muted);
  margin-bottom: 24px;
}

.cta-box .btn {
  margin: 0 6px;
}

/* ---------- Forms ---------- */
.form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form input[type="text"],
.form input[type="email"],
.form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 33, 46, 0.12);
}

.form textarea {
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-card {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.radio-card:has(input:checked) {
  border-color: var(--primary);
  background: rgba(217, 33, 46, 0.04);
}

.radio-card input {
  margin-right: 12px;
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.radio-body {
  display: flex;
  flex-direction: column;
}

.radio-body strong {
  color: var(--dark);
  font-size: 15px;
}

.radio-body small {
  color: var(--muted);
  font-size: 13.5px;
}

.form-note {
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 16px;
}

.alert {
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 24px;
  font-size: 14.5px;
}

.alert-error {
  background: #fdecec;
  border: 1px solid #f5c2c2;
  color: #a11;
}

.alert ul {
  margin-left: 18px;
}

/* ---------- Sucesso ---------- */
.sucesso-box {
  max-width: 560px;
  margin: 0 auto;
}

.sucesso-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #4ade80;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: #9aa0aa;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-logo strong {
  color: var(--primary);
}

.footer-desc {
  font-size: 14px;
  max-width: 300px;
}

.footer-title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 14px;
  font-size: 15px;
}

.footer a {
  display: block;
  color: #9aa0aa;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #2a2f3b;
  padding: 20px 20px;
  font-size: 13.5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-inner,
  .about-grid,
  .benefits-grid,
  .recursos-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--dark-2);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    border-bottom: 1px solid #2a2f3b;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid #2a2f3b;
  }

  .nav a:last-child {
    border-bottom: 0;
    margin-top: 8px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 60px 0 70px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .device-card {
    width: 240px;
  }

  .section {
    padding: 60px 0;
  }

  .about-grid,
  .benefits-grid,
  .recursos-grid,
  .plans-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section-head h2,
  .cta h2,
  .page-hero h1 {
    font-size: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}