@font-face {
  font-family: "Facit Regular";
  src: url("./assets/Facit-Regular.ttf") format("truetype");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Paleta oficial extraída da logo MEGANET */
  --brand-orange: #E57925;
  --brand-magenta: #DA2768;
  --brand-indigo: #3D2B7D;
  --brand-green: #0D934F;
  --brand-bar: linear-gradient(90deg, #E57925 0% 25%, #DA2768 25% 50%, #3D2B7D 50% 75%, #0D934F 75% 100%);
  --brand-cta-gradient: linear-gradient(90deg, #E57925 0%, #DA2768 100%);
  --brand-cta-hover: linear-gradient(90deg, #DA2768 0%, #3D2B7D 100%);

  --color-navy: #030541;
  --color-navy-mid: #14104C;
  --color-blue-border: #3D2B7D;
  --color-blue-icon: #3D2B7D;
  --color-blue-btn: #3D2B7D;
  --color-blue-glow: #DA2768;
  --color-faq-header: #1C1763;
  --color-faq-body: #F1F2F7;
  --color-red: #DA2768;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-text: #424242;
  --color-muted: #5C5C5C;
  --color-footer-bg: #F0F0F0;
  --color-wa: #0D934F;
  --color-wa-dark: #09733D;

  --font-body: "Poppins", sans-serif;
  --font-display: "Facit Regular", "Poppins", sans-serif;
  --font-hero: "Kanit", "Poppins", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

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

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

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.anchor-alias {
  position: relative;
  top: -80px;
  display: block;
  visibility: hidden;
}

/* ===================== BOTÕES ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  padding: 12px 26px;
  border: 0;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

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

.btn-red {
  background: var(--brand-cta-gradient);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(218, 39, 104, 0.28);
}

.btn-red:hover {
  background: var(--brand-cta-hover);
  box-shadow: 0 8px 22px rgba(61, 43, 125, 0.36);
}

.btn-blue {
  background-color: var(--brand-indigo);
  color: var(--color-white);
}

.btn-blue:hover {
  background: var(--brand-cta-gradient);
}

.btn-pill {
  border-radius: 90px;
  padding: 14px 32px;
}

.icon-wa {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: 0 2px 14px rgba(3, 5, 65, 0.08);
}

.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--brand-bar);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand-wordmark {
  display: block;
}

.brand-logo-img {
  display: block;
  height: 46px;
  width: auto;
  object-fit: contain;
}

.brand-logo-img--large {
  height: 64px;
}

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

.nav-link {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--color-black);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--brand-magenta);
}

.btn-header-cta {
  border-radius: 50px;
  padding: 11px 26px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 26px;
  height: 3px;
  background: var(--color-navy);
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background-color: var(--color-white);
  background-image: url("./assets/hero-globe-bg.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 65% auto;
  padding: 40px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 32px;
}

.hero-slider {
  overflow: hidden;
  padding-block: 16px;
}

.hero-slides-track {
  position: relative;
  min-height: 290px;
}

.hero-slide {
  display: none;
  animation: fadeSlide 0.45s ease;
}

.hero-slide.is-active {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-title {
  margin: 0 0 14px;
  color: var(--color-navy);
  font-family: var(--font-hero);
  font-weight: 800;
  line-height: 1.05;
}

.hero-title span {
  display: block;
  font-size: clamp(28px, 3.3vw, 44px);
}

.hero-title strong {
  display: block;
  font-size: clamp(36px, 4.4vw, 60px);
  background: linear-gradient(90deg, var(--color-navy) 0%, var(--brand-indigo) 58%, var(--brand-magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 28px;
  font-size: 18px;
  color: var(--color-black);
  max-width: 480px;
}

.btn-hero {
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 17px;
}

.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  background: #C7CBE0;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-dot.is-active {
  width: 26px;
  border-radius: 999px;
  background: var(--brand-cta-gradient);
  transform: none;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-media img {
  max-height: 460px;
  object-fit: contain;
}

.hero-arrow-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 40px;
  line-height: 0;
}

.hero-arrow-divider svg {
  width: 100%;
  height: 100%;
}

/* ===================== PLANOS ===================== */
.plans-section {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 72px 0 80px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 24px;
  line-height: 1.25;
}

.section-heading--center {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading--upper {
  text-transform: uppercase;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: var(--color-navy);
  border: 3px solid var(--brand-orange);
  border-radius: 14px;
  box-shadow: 0 0 14px 0 rgba(229, 121, 37, 0.28);
  padding: 36px 22px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
}

.plan-card--orange {
  border-color: var(--brand-orange);
  box-shadow: 0 0 16px 0 rgba(229, 121, 37, 0.3);
}

.plan-card--orange:hover {
  box-shadow: 0 0 24px 2px rgba(229, 121, 37, 0.48);
}

.plan-card--orange .plan-icon,
.plan-card--orange .btn-plan,
.plan-card--orange .plan-price {
  background: var(--brand-orange);
}

.plan-card--orange .btn-plan:hover {
  background: var(--brand-magenta);
}

.plan-card--blue {
  border-color: #1D63FF;
  box-shadow: 0 0 16px 0 rgba(29, 99, 255, 0.32);
}

.plan-card--blue:hover {
  box-shadow: 0 0 24px 2px rgba(29, 99, 255, 0.5);
}

.plan-card--blue .plan-icon,
.plan-card--blue .btn-plan,
.plan-card--blue .plan-price {
  background: #1D63FF;
}

.plan-card--blue .btn-plan:hover {
  background: var(--brand-indigo);
}

.plan-card--featured {
  border-color: var(--brand-magenta);
  background-image: linear-gradient(165deg, #100C4B 0%, #3D2B7D 62%, #6B1B53 100%);
  box-shadow: 0 0 22px 0 rgba(218, 39, 104, 0.42);
}

.plan-card--featured:hover {
  box-shadow: 0 0 30px 2px rgba(218, 39, 104, 0.58);
}

.plan-card--featured .plan-icon,
.plan-card--featured .btn-plan,
.plan-card--featured .plan-price {
  background: var(--brand-cta-gradient);
}

.plan-card--featured .btn-plan:hover {
  background: var(--brand-cta-hover);
}

.plan-card--green {
  border-color: var(--brand-green);
  box-shadow: 0 0 16px 0 rgba(13, 147, 79, 0.3);
}

.plan-card--green:hover {
  box-shadow: 0 0 24px 2px rgba(13, 147, 79, 0.48);
}

.plan-card--green .plan-icon,
.plan-card--green .btn-plan,
.plan-card--green .plan-price {
  background: var(--brand-green);
}

.plan-card--green .btn-plan:hover {
  background: var(--brand-indigo);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-cta-gradient);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(218, 39, 104, 0.4);
}

.plan-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--color-blue-icon);
  color: var(--color-white);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.plan-icon svg {
  width: 30px;
  height: 30px;
}

.plan-speed {
  font-family: var(--font-hero);
  font-size: clamp(46px, 4vw, 58px);
  font-weight: 800;
  line-height: 1;
}

.plan-unit {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-top: 4px;
}

.plan-price {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 10px;
  transform: skewX(-6deg);
  margin: 18px 0 24px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.plan-price > * {
  transform: skewX(6deg);
}

.plan-currency {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}

.plan-price strong {
  font-family: var(--font-hero);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.plan-period {
  font-size: 13px;
  opacity: 0.92;
}

.btn-plan {
  width: 100%;
  max-width: 220px;
  border-radius: 10px;
  margin-top: auto;
}

.plans-disclaimer {
  margin: 34px auto 0;
  text-align: center;
  color: #D7D7D9;
  font-size: 14px;
  max-width: 680px;
}

/* ===================== INSTALAÇÃO ===================== */
.instalacao-section {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 40px 0 88px;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.instalacao-media img {
  border-radius: 12px;
  box-shadow: 0 0 18px 0 rgba(61, 43, 125, 0.55), 0 0 24px 0 rgba(218, 39, 104, 0.25);
}

.instalacao-content p {
  margin: 0 0 16px;
  color: #E8E9F5;
  font-size: 16px;
}

.instalacao-content .btn {
  margin-top: 14px;
}

/* ===================== MEGATV / #MaxxTv ===================== */
.tv-section-wrapper {
  background: var(--color-white);
  padding: 64px 0;
}

.tv-card {
  background-color: var(--color-navy);
  background-image: url("./assets/tv-bg.png");
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(229, 121, 37, 0.45);
  border-radius: 20px;
  padding: 52px 48px;
  color: var(--color-white);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
  box-shadow: 0 18px 46px rgba(3, 5, 65, 0.26);
}

.tv-brand {
  margin-bottom: 18px;
}

.tv-heading {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 31px);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 0 0 18px;
}

.tv-description {
  margin: 0 0 24px;
  color: #E8E9F5;
  font-size: 15.5px;
}

.tv-tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin-bottom: 28px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.icon-check {
  width: 20px;
  height: 20px;
  color: var(--brand-orange);
  flex-shrink: 0;
}

.tv-card-media {
  display: flex;
  justify-content: center;
}

/* ===================== MARCA E VANTAGENS ===================== */
.brand-intro-section {
  background: linear-gradient(135deg, #030541 0%, #211657 55%, #3D2B7D 100%);
  color: var(--color-white);
  padding: 56px 0;
}

.brand-intro-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.brand-intro-text {
  max-width: 780px;
  margin: 0;
  font-size: 16.5px;
  color: #ECEEFF;
}

.advantages-section {
  position: relative;
  color: var(--color-white);
  background-color: var(--color-navy);
  background-image: url("./assets/vantagens-casal.png"), url("./assets/vantagens-bg.png");
  background-position: right bottom, center top;
  background-repeat: no-repeat, no-repeat;
  background-size: contain, cover;
  padding: 78px 0;
}

.advantages-content {
  max-width: 580px;
}

.advantages-title {
  margin: 0 0 10px;
  font-family: var(--font-hero);
  font-weight: 800;
  line-height: 1.08;
}

.advantages-title span {
  display: block;
  font-size: clamp(26px, 3vw, 38px);
}

.advantages-title strong {
  display: block;
  font-size: clamp(38px, 4.2vw, 56px);
  color: var(--brand-orange);
}

.advantages-subtitle {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #D7D7D9;
}

.advantages-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.advantages-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16.5px;
  font-weight: 500;
}

.icon-check-circle {
  width: 22px;
  height: 22px;
  color: var(--brand-green);
  flex-shrink: 0;
}

.advantages-list li:nth-child(1) .icon-check-circle { color: var(--brand-orange); }
.advantages-list li:nth-child(2) .icon-check-circle { color: var(--brand-magenta); }
.advantages-list li:nth-child(3) .icon-check-circle { color: #7C66DC; }
.advantages-list li:nth-child(4) .icon-check-circle { color: var(--brand-green); }

/* ===================== FAQ ===================== */
.faq-section {
  background: var(--color-white);
  padding: 76px 0;
}

.faq-container {
  max-width: 860px;
}

.faq-heading {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-black);
  margin: 0 0 6px;
}

.faq-subheading {
  text-align: center;
  font-size: 19px;
  color: var(--color-muted);
  margin: 0 0 40px;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  background: linear-gradient(90deg, #0A0852 0%, var(--brand-indigo) 100%);
  color: var(--color-white);
  border: 0;
  border-left: 5px solid var(--brand-orange);
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.faq-trigger[aria-expanded="true"] {
  border-left-color: var(--brand-magenta);
}

.faq-arrow {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-trigger[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
}

.faq-panel {
  background: var(--color-faq-body);
  color: var(--color-black);
  padding: 18px 22px;
  font-size: 15.5px;
}

.faq-panel p {
  margin: 0 0 10px;
}

.faq-panel p:last-child {
  margin-bottom: 0;
}

.faq-panel ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

/* ===================== RODAPÉ ===================== */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-navy);
  padding-top: 0;
}

.site-footer::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--brand-bar);
  margin-bottom: 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.9fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-navy-mid);
  margin: 0 0 16px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-indigo);
  color: var(--color-white);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-circle:hover {
  background: var(--brand-cta-gradient);
  transform: translateY(-2px);
}

.social-circle svg {
  width: 18px;
  height: 18px;
}

.footer-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.footer-info-list a,
.footer-plain-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  color: var(--color-navy-mid);
  word-break: break-word;
}

.footer-address-item {
  align-items: flex-start;
}

.footer-address-item .footer-icon {
  margin-top: 3px;
}

.footer-info-list a:hover {
  color: var(--brand-magenta);
}

.footer-icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.copyright-bar {
  background: var(--color-navy);
  color: var(--color-white);
  text-align: center;
  padding: 18px 0;
  font-size: 14px;
}

/* ===================== WIDGET WHATSAPP ===================== */
.wa-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.wa-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 0;
  background: var(--color-wa);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.wa-fab:hover {
  transform: scale(1.06);
  background: var(--color-wa-dark);
}

.wa-fab svg {
  width: 32px;
  height: 32px;
}

.wa-chatbox {
  width: 300px;
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.wa-chatbox-header {
  background: var(--color-wa);
  color: var(--color-white);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-chatbox-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.wa-close-btn {
  background: rgba(0, 0, 0, 0.16);
  color: var(--color-white);
  border: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.wa-chatbox-body {
  background: #F4F5F7;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wa-bubble {
  background: var(--color-white);
  color: #222;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  font-size: 14px;
}

.wa-open-btn {
  align-self: flex-end;
  background: var(--color-wa);
  color: var(--color-white);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.wa-open-btn:hover {
  background: var(--color-wa-dark);
}

/* ===================== RESPONSIVIDADE ===================== */
@media (max-width: 1100px) {
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    margin-inline: auto;
  }
}

@media (max-width: 1024px) {
  .split-grid,
  .tv-card,
  .hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    background-size: 100% auto;
    padding-top: 28px;
  }

  .tv-card {
    padding: 36px 26px;
  }

  .advantages-section {
    background-image: url("./assets/vantagens-bg.png");
    background-size: cover;
  }
}

@media (max-width: 767px) {
  .btn-header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(3, 5, 65, 0.12);
    transition: max-height 0.28s ease, padding 0.28s ease;
  }

  .main-nav.is-open {
    max-height: 300px;
    padding: 20px 24px;
  }

  .tv-tiers {
    grid-template-columns: 1fr;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .btn-pill {
    border-radius: 10px;
    width: 100%;
  }
}
