:root {
  --black: #0d0d0d;
  --black-soft: #161616;
  --red: #e11d1d;
  --red-dark: #a01313;
  --red-light: #ff4b3e;
  --white: #ffffff;
  --gray-100: #f6f6f6;
  --gray-300: #e2e2e2;
  --gray-600: #8a8a8a;

  --font: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

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

ul { list-style: none; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--red-light), var(--red));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(225, 29, 29, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(225, 29, 29, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}

.btn--outline:hover {
  background: var(--black);
  color: var(--white);
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 20px;
}

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

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.logo__text {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
}

.logo__text strong {
  color: var(--red-light);
}

.nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav a {
  color: var(--gray-300);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.nav a:hover { color: var(--white); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.phone-link {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* Hero */
.hero {
  background: radial-gradient(circle at 15% 20%, rgba(225, 29, 29, 0.15), transparent 55%), var(--black);
  color: var(--white);
  padding: 80px 0 60px;
  min-height: calc(100vh - var(--header-h, 76px));
  min-height: calc(100dvh - var(--header-h, 76px));
  display: flex;
  align-items: center;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 24px 48px;
  width: 100%;
}

.hero__text { grid-column: 1; grid-row: 1; }
.hero__visual { grid-column: 2; grid-row: 1 / span 2; }
.hero__stats { grid-column: 1 / -1; grid-row: 2; }

.badge {
  display: inline-block;
  background: rgba(225, 29, 29, 0.15);
  color: var(--red-light);
  border: 1px solid rgba(225, 29, 29, 0.4);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero__text h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 640px;
}

.hero__text p {
  color: var(--gray-300);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 28px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero .btn--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn--outline:hover {
  background: var(--white);
  color: var(--black);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
}

.stat {
  text-align: center;
}

.stat__number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--red-light);
}

.stat__label {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* Hero visual */
.hero__visual {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  align-self: start;
  margin-top: -24px;
}

.hero-logo {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo__plate {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(225, 29, 29, 0.3), rgba(13, 13, 13, 0.1) 65%), var(--black-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 50px 24px rgba(0, 0, 0, 0.6);
  animation: logo-breathe 4s ease-in-out infinite;
}

@keyframes logo-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.hero-logo__ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(225, 29, 29, 0.3);
}

.hero-logo__ring::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px solid rgba(225, 29, 29, 0.15);
}

.hero-logo img {
  position: relative;
  z-index: 1;
  width: 78%;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.55));
}

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

.section__title {
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 8px;
}

.section__title--left { text-align: left; }

.section__subtitle {
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 48px;
}

/* Planos */
.planos { background: var(--gray-100); }

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

.plano-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative;
  border: 1px solid var(--gray-300);
}

.plano-card--destaque {
  border: 2px solid var(--red);
  transform: scale(1.03);
}

.plano-card__tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
}

.plano-card__nome {
  font-size: 1.2rem;
  color: var(--gray-600);
  font-weight: 700;
  margin-bottom: 10px;
}

.plano-card__preco {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 20px;
}

.plano-card__preco span:first-child {
  font-size: 1.2rem;
  vertical-align: top;
}

.plano-card__preco small {
  font-size: 1.4rem;
}

.plano-card__periodo {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-600);
}

.plano-card__vencimento {
  font-size: 0.92rem;
  color: var(--red-dark);
  background: #fdecec;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 20px;
  margin-top: -8px;
}

.plano-card__vencimento strong {
  color: var(--red);
}

.plano-card__lista {
  margin-bottom: 28px;
}

.plano-card__lista li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-300);
  font-size: 0.95rem;
  color: #333;
}

.plano-card__lista li::before {
  content: "✓ ";
  color: var(--red);
  font-weight: 700;
}

/* Por que */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  padding: 28px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-300);
  text-align: center;
}

.card__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--gray-600);
  font-size: 0.92rem;
}

/* Cobertura */
.cobertura { background: var(--gray-100); }

.cobertura__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.cobertura__texto {
  color: #333;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.cobertura__card {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

.cobertura__card h3 {
  font-size: 1.6rem;
  color: var(--red-light);
  margin-bottom: 12px;
}

.cobertura__card p {
  color: var(--gray-300);
  margin-bottom: 6px;
}

.cobertura__map {
  margin: 18px 0 14px;
}

.cobertura__map iframe {
  display: block;
  width: 100%;
}

.cobertura__card a {
  color: var(--red-light);
  font-weight: 600;
  text-decoration: none;
}

.cobertura__card a:hover {
  text-decoration: underline;
}

/* CTA final */
.cta-final {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}

.cta-final h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.cta-final p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-final .btn--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.cta-final .btn--outline:hover {
  background: var(--white);
  color: var(--red);
}

.cta-final .hero__cta { justify-content: center; }

/* Footer */
.footer {
  background: var(--black);
  color: var(--gray-300);
  padding: 60px 0 0;
}

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

.footer__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--gray-600);
  max-width: 300px;
}

.footer__col h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer__col p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer__col a:hover { color: var(--red-light); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.footer__dev {
  margin-top: 6px;
  font-size: 0.8rem;
}

.footer__dev strong {
  color: var(--red-light);
}

/* WhatsApp float button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* Responsive */
@media (max-width: 960px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header__actions .phone-link { display: none; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    padding: 20px;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__text, .hero__visual, .hero__stats { grid-column: 1; grid-row: auto; }
  .hero__visual { order: -1; margin-bottom: 12px; }
  .hero-logo { width: 220px; height: 220px; margin: 0 auto; }
  .hero-logo__ring { inset: -16px; }
  .hero-logo__ring::before { inset: -18px; }
  .hero__text h1 { font-size: 2rem; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .planos__grid { grid-template-columns: 1fr; }
  .plano-card--destaque { transform: none; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cobertura__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .btn { width: 100%; }
  .hero__cta, .cta-final .hero__cta { flex-direction: column; }
}
