/* ==========================================================================
   DESIGN SYSTEM — GOOFIBER TELECOM (ESTILO NUVEMSHOP)
   ========================================================================== */

/* --- VARIÁVEIS DO PROJETO --- */
:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F8FA;
  --color-brand-blue: #25257b;
  --color-brand-blue-rgb: 37, 37, 123;
  --color-graphite: #2B2F36;
  --color-accent-yellow: #ffc000;
  --color-accent-yellow-hover: #e0a800;
  
  /* Gradientes em Blocos Específicos ("Ilhas") */
  --grad-blue-start: #09559D;
  --grad-blue-end: #073968;
  --gradient-blue: linear-gradient(135deg, var(--grad-blue-start) 0%, var(--grad-blue-end) 100%);
  --gradient-blue-light: linear-gradient(135deg, rgba(9, 85, 157, 0.05) 0%, rgba(7, 57, 104, 0.05) 100%);
  
  /* Tipografia */
  --font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  
  /* Bordas e Sombras */
  --radius-large: 32px;
  --radius-medium: 24px;
  --radius-small: 16px;
  --radius-pill: 9999px;
  
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 40px rgba(37, 37, 123, 0.08);
  --shadow-header: 0 4px 30px rgba(0, 0, 0, 0.02);
  
  /* Transição */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET E ESTILOS GERAIS --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color: var(--color-graphite);
  font-family: var(--font-family);
  background-color: var(--bg-primary);
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* --- ALTO CONTRASTE & TIPOGRAFIA --- */
h1, h2, h3, h4 {
  color: var(--color-brand-blue);
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  margin-bottom: 0.75rem;
}

p {
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  line-height: 1.6;
  color: var(--color-graphite);
}

.text-yellow {
  color: var(--color-accent-yellow) !important;
  -webkit-text-fill-color: var(--color-accent-yellow) !important;
}

/* --- SEÇÕES & LAYOUTS --- */
.section {
  padding: clamp(4rem, 8vw, 8rem) 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.section-light {
  background-color: var(--bg-primary);
}

.section-gray {
  background-color: var(--bg-secondary);
  background-image: 
    radial-gradient(rgba(37, 37, 123, 0.02) 1px, transparent 1px), 
    radial-gradient(rgba(37, 37, 123, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- BOTÕES PREMIUM (ESTILO NUVEMSHOP) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.08);
}

.btn-yellow {
  background-color: var(--color-accent-yellow);
  color: var(--color-brand-blue);
  box-shadow: 0 4px 14px rgba(255, 192, 0, 0.3);
}

.btn-yellow:hover {
  box-shadow: 0 8px 24px rgba(255, 192, 0, 0.45);
}

.btn-blue {
  background-color: var(--color-brand-blue);
  color: #FFFFFF;
}

.btn-blue:hover {
  background-color: var(--color-accent-yellow);
  color: var(--color-brand-blue);
  box-shadow: 0 8px 24px rgba(255, 192, 0, 0.45);
}

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

.btn-outline-blue:hover {
  background-color: var(--color-accent-yellow);
  border-color: var(--color-accent-yellow);
  color: var(--color-brand-blue);
  box-shadow: 0 8px 24px rgba(255, 192, 0, 0.45);
}

/* --- 1. HEADER FLUTUANTE (ESTILO NUVEMSHOP - PÍLULA FLUTUANTE) --- */
.header-wrapper {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1320px;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 16px 36px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 50px;
  box-shadow: 0 12px 36px rgba(37, 37, 123, 0.08);
  border: 1px solid rgba(37, 37, 123, 0.08);
}

.header-wrapper.scrolled {
  top: 12px;
  padding: 12px 36px;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 44px rgba(37, 37, 123, 0.12);
}

.header-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 46px;
  width: auto;
  transition: var(--transition-smooth);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-brand-blue);
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-brand-blue);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

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

#btn-header-subscribe {
  padding: 12px 28px;
  font-size: 1rem;
}

.nav-menu-mobile-action {
  display: none;
}

/* Hambúrguer Mobile */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  width: 30px;
  height: 20px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-brand-blue);
  border-radius: 3px;
  transition: var(--transition-smooth);
  position: absolute;
}

.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 8px; }
.mobile-toggle span:nth-child(3) { top: 16px; }

.mobile-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* --- 2. HERO SECTION --- */
.hero {
  padding-top: 210px;
  padding-bottom: 120px;
  position: relative;
  background-color: #25257B;
  background-image: url('img/imagemhero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  width: fit-content;
}

.hero-title {
  color: #FFFFFF;
}

.hero-title span {
  color: #FFFFFF;
  background: none;
  -webkit-text-fill-color: #FFFFFF;
  -webkit-background-clip: unset;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.hero-empty-space {
  width: 100%;
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  transition: all 0.3s ease;
}

.btn-outline-white:hover {
  background-color: #FFFFFF;
  color: var(--color-brand-blue);
  border-color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.trust-bar {
  margin-top: 48px;
  overflow: hidden;
  position: relative;
  padding: 24px 0;
  background-color: transparent;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  border-radius: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.trust-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scrollLogos 25s linear infinite;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--color-brand-blue);
  font-size: 1rem;
  white-space: nowrap;
}

.trust-item svg {
  width: 24px;
  height: 24px;
  fill: var(--color-accent-yellow);
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* --- 3. FAIXA PROVA SOCIAL --- */
.social-proof {
  padding: 60px 1.5rem;
  text-align: center;
}

.social-proof-number {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--color-brand-blue);
  line-height: 1;
  margin-bottom: 8px;
}

.social-proof-text {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-graphite);
}


/* --- 4. BENTO GRID SERVIÇOS --- */
.services-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

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

.service-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-medium);
  padding: 40px 30px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 2px solid rgba(0, 0, 0, 0.02);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 192, 0, 0.3);
  border-color: var(--color-accent-yellow);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(9, 85, 157, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grad-blue-start);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background-color: var(--color-accent-yellow);
  color: var(--color-brand-blue);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-graphite);
  line-height: 1.5;
}

.services-action {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

#servicos {
  padding-bottom: clamp(2rem, 4vw, 4rem);
}


/* --- 5. BLOCO COMBO PREMIUM ("ILHA") --- */
.combo-section {
  padding: 3rem 0 6rem 0;
  width: 100%;
  overflow: visible;
}

.combo-section .container {
  max-width: 100%;
  width: 100%;
  padding: 0;
}

.combo-island {
  background: var(--gradient-blue);
  border-radius: 32px;
  padding: clamp(4rem, 6vw, 6rem) clamp(2rem, 8vw, 8rem);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(7, 57, 104, 0.18);
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  box-sizing: border-box;
}

.combo-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.combo-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.combo-badge {
  background-color: var(--color-accent-yellow);
  color: var(--color-brand-blue);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.combo-title {
  color: #FFFFFF;
}

.combo-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
}

.combo-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 12px 0;
}

.combo-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}

.combo-feature-item svg {
  width: 20px;
  height: 20px;
  fill: var(--color-accent-yellow);
  flex-shrink: 0;
}

.combo-image-wrapper {
  border-radius: var(--radius-medium);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.combo-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* --- 6. NOVA SEÇÃO DE BENEFÍCIOS (SCROLL NARRATIVO) --- */
.narrative-section {
  position: relative;
  background-color: #FFFFFF;
  width: 100%;
}

@media (min-width: 769px) {
  .narrative-section {
    height: 100vh;
  }
}

.narrative-sticky {
  position: relative;
  width: 100%;
  background-color: #FFFFFF;
}

@media (min-width: 769px) {
  .narrative-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
}

.narrative-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 769px) {
  .narrative-container {
    position: relative;
    height: 100%;
    max-height: 600px;
    display: flex;
    align-items: center;
  }
}

.narrative-slide {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

@media (min-width: 769px) {
  .narrative-slide {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    right: 1.5rem;
    transform: translateY(-50%);
    width: calc(100% - 3rem);
    opacity: 0;
    pointer-events: none;
    transition: none !important;
  }
  
  .narrative-slide.active {
    opacity: 1;
    pointer-events: auto;
  }
  
  .narrative-image-col, .narrative-text-col {
    transition: none !important;
  }
}

.narrative-image-col {
  width: 100%;
  position: relative;
}

.narrative-image-wrapper {
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  width: 100%;
}

.narrative-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.narrative-slide:hover .narrative-image-wrapper img {
  transform: scale(1.05);
}

.narrative-text-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.narrative-text-col h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--color-brand-blue);
  font-weight: 700;
  margin-bottom: 0;
}

.narrative-text-col p {
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  line-height: 1.6;
  color: var(--color-graphite);
}

.narrative-btn-wrapper {
  margin-top: 8px;
}

/* Fallback Responsivo (Mobile) */
@media (max-width: 768px) {
  .narrative-section {
    padding: clamp(4rem, 8vw, 8rem) 0;
  }

  .narrative-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
  }

  .narrative-slide {
    grid-template-columns: 1fr;
    gap: 40px;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    text-align: center;
  }

  .narrative-image-col {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
    opacity: 1 !important;
    transform: none !important;
  }

  .narrative-text-col {
    align-items: center;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* --- 7. PLANOS & TABELA COMPARATIVA --- */
#planos {
  padding-top: clamp(2rem, 4vw, 4rem);
}

.plans-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.plans-compare-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto;
}

/* Registro de propriedade CSS para animação da borda do plano completo */
@property --border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.plan-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-large);
  padding: 48px 32px;
  box-shadow: var(--shadow-soft);
  border: 2px solid transparent;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  width: 100%;
}

#plan-essencial {
  border: 1px solid transparent;
}

#plan-essencial:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #3B82F6;
  box-shadow: var(--shadow-soft);
}

/* Plano Destaque */
.plan-card.highlighted {
  border: 2px solid var(--color-accent-yellow);
  box-shadow: var(--shadow-hover);
}

.plan-card.highlighted:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 192, 0, 0.25);
  border: 2px solid transparent;
  background-image: linear-gradient(#FFFFFF, #FFFFFF), conic-gradient(from var(--border-angle), transparent 70%, var(--color-accent-yellow) 100%);
  background-clip: padding-box, border-box;
  background-origin: border-box;
  animation: rotateBorder 2s linear infinite;
}

@keyframes rotateBorder {
  0% {
    --border-angle: 0deg;
  }
  100% {
    --border-angle: 360deg;
  }
}

.plan-tag {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-accent-yellow);
  color: var(--color-brand-blue);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(255, 192, 0, 0.3);
  white-space: nowrap;
  text-align: center;
}

.plan-header {
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.plan-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.plan-price-box {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 4px;
  margin-top: 16px;
}

.plan-price-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-brand-blue);
}

.plan-price-amount {
  font-size: clamp(3.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(120deg, #25257b 0%, #09559D 25%, #073968 50%, #09559D 75%, #25257b 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shinePrice 4s linear infinite;
}

@keyframes shinePrice {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.plan-price-period {
  font-size: 0.95rem;
  color: var(--color-graphite);
  opacity: 0.8;
}

/* Linhas comparativas internas */
.plan-features-table {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  flex-grow: 1;
}

.plan-feature-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  font-size: 1.05rem;
}

.plan-feature-row:last-child {
  border-bottom: none;
}

.feature-name {
  color: var(--color-graphite);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
}

.feature-subtitle {
  display: block;
  font-size: 0.78rem;
  color: #09559D;
  font-weight: 700;
  margin-top: 2px;
}

.gift-badge {
  background-color: var(--color-accent-yellow);
  color: var(--color-brand-blue);
  padding: 4px 8px 3px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  line-height: 1;
}

.plan-feature-row.feature-tv {
  background-color: var(--color-brand-blue);
  margin-left: -32px;
  margin-right: -32px;
  padding: 16px 32px;
  color: #FFFFFF;
  border-bottom: none;
}

.feature-tv-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.feature-tv-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.plan-feature-row.feature-tv .feature-value {
  color: #FFFFFF !important;
  font-size: 1.4rem;
}

.plan-feature-row.feature-tv .feature-value svg {
  width: 22px;
  height: 22px;
  fill: #FFFFFF !important;
}

.feature-value {
  display: flex;
  align-items: center;
  font-weight: 600;
}

.feature-value.included {
  color: #2e7d32;
}

.feature-value.excluded {
  color: #b0bec5;
}

.feature-value svg {
  width: 20px;
  height: 20px;
}

.plan-card .btn {
  width: 100%;
}


/* --- 8. DEPOIMENTOS --- */
.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-carousel {
  overflow: hidden;
  position: relative;
  padding: 30px 0;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.testimonials-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollTestimonials 35s linear infinite;
}

.testimonial-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-medium);
  padding: 40px;
  width: 400px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid rgba(0, 0, 0, 0.02);
  white-space: normal;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.testimonial-rating {
  color: var(--color-accent-yellow);
  display: flex;
  gap: 4px;
}

.testimonial-rating svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--color-graphite);
  line-height: 1.6;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-brand-blue);
  border: 2px solid rgba(37, 37, 123, 0.1);
  font-size: 1.1rem;
}

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: 0.85rem;
  color: var(--color-graphite);
  opacity: 0.7;
}

@keyframes scrollTestimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- 8.5 SEÇÃO TESTE DE VELOCIDADE --- */
.speed-test-section {
  position: relative;
  background-color: var(--color-brand-blue);
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px), 
    linear-gradient(135deg, #1c2a78 0%, #25257b 50%, #09559d 100%);
  background-size: 24px 24px, 300% 300%;
  animation: animateSpeedTestBg 15s linear infinite;
  padding: 80px 0;
  color: #FFFFFF;
  overflow: hidden;
}

.speed-test-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.speed-test-content {
  max-width: 800px;
  margin-left: 0;
}

.speed-test-action {
  margin-right: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.speed-test-title {
  color: #FFFFFF;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.speed-test-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 1.3vw, 1.3rem);
  line-height: 1.4;
  margin-bottom: 0;
}

.speed-test-action .btn {
  background-color: var(--color-accent-yellow);
  color: #FFFFFF !important;
  padding: 18px 48px;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 192, 0, 0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.speed-test-action .btn:hover {
  background-color: #e0a800;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 192, 0, 0.35);
}

@keyframes animateSpeedTestBg {
  0% {
    background-position: 0px 0px, 0% 50%;
  }
  50% {
    background-position: 12px 12px, 100% 50%;
  }
  100% {
    background-position: 24px 24px, 0% 50%;
  }
}


/* --- 9. FAQ ACORDEÃO --- */
.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-primary);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.01);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
}

.faq-trigger h3 {
  font-size: 1.15rem;
  margin-bottom: 0;
  color: var(--color-brand-blue);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  color: var(--color-brand-blue);
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-smooth);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content-inner {
  padding: 0 30px 24px 30px;
  color: var(--color-graphite);
  font-size: 1rem;
  line-height: 1.6;
}

/* FAQ Aberto */
.faq-item.open {
  box-shadow: var(--shadow-hover);
  border-color: rgba(37, 37, 123, 0.05);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}


/* --- 10. CTA FINAL ("ILHA") --- */
.cta-final-section {
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
  overflow: visible;
}

.cta-final-section .container {
  max-width: 100%;
  width: 100%;
  padding: 0;
}

.cta-final-island {
  background: linear-gradient(135deg, var(--grad-blue-start) 0%, #25257b 50%, var(--grad-blue-end) 100%);
  background-size: 200% 200%;
  animation: shineBg 6s ease infinite;
  border-radius: 32px;
  padding: clamp(5rem, 7vw, 7rem) 2rem;
  text-align: center;
  color: #FFFFFF;
  box-shadow: 0 30px 60px rgba(7, 57, 104, 0.18);
  position: relative;
  overflow: hidden;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  box-sizing: border-box;
}

@keyframes shineBg {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.cta-final-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.cta-final-island h2 {
  color: #FFFFFF;
  margin-bottom: 0;
}

.cta-final-island p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
}

.cta-final-island .btn-yellow {
  padding: 20px 48px;
  font-size: 1.1rem;
}


/* --- 11. RODAPÉ (CLARO) --- */
.footer {
  background-color: var(--bg-secondary);
  padding: 80px 1.5rem 30px 1.5rem;
  color: var(--color-graphite);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-brand-blue);
}

.footer-logo img {
  height: 96px;
  width: auto;
  margin-bottom: 16px;
}

.footer-about {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--grad-blue-start);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  fill: var(--color-brand-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-payment {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.payment-badge {
  background-color: var(--bg-primary);
  border-radius: var(--radius-small);
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-brand-blue);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Copryight */
.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer-bottom a {
  color: var(--color-brand-blue);
  font-weight: 700;
  transition: var(--transition-smooth);
}

.footer-bottom a:hover {
  color: var(--color-accent-yellow);
}


/* --- 12. WHATSAPP FLUTUANTE --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: #FFFFFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition-smooth);
  animation: pulseWhatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

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

@keyframes pulseWhatsapp {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}


/* --- ANIMAÇÕES DE SCROLL REVEAL (CSS-driven) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   MEDIA QUERIES (RESPONSIVIDADE COMPLETA)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-empty-space {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .combo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .combo-content {
    align-items: center;
  }

  .combo-features {
    align-items: flex-start;
  }

  .combo-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }



  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-wrapper {
    top: 12px;
    width: 92%;
    padding: 10px 20px;
  }

  .header-wrapper.scrolled {
    top: 8px;
    padding: 8px 20px;
  }

  .hero {
    background-size: cover;
    background-position: 28% center;
    padding-top: 190px;
    padding-bottom: 80px;
  }

  .hero-description br {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-actions {
    display: none; /* Ocultado para evitar duplicidade no topo */
  }

  .nav-menu-mobile-action {
    display: block;
    width: 80%;
    max-width: 250px;
    margin: 16px auto 0 auto;
  }

  .nav-menu-mobile-action .btn {
    width: 100%;
    padding: 14px 28px;
  }

  .plans-compare-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .plan-card {
    padding: 40px 30px;
  }

  .plan-feature-row.feature-tv {
    margin-left: -30px;
    margin-right: -30px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .plan-tag {
    font-size: 0.8rem;
    padding: 8px 18px;
  }

  .testimonials-track {
    animation-duration: 25s;
  }

  .testimonial-card {
    width: 320px;
    padding: 30px;
  }

  .combo-island, .cta-final-island {
    padding: 40px 24px;
  }

  /* Responsivo para Teste de Velocidade */
  .speed-test-container {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .speed-test-content {
    max-width: 100%;
    margin-left: 0;
  }
  .speed-test-action {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-right: 0;
  }
  .speed-test-action .btn {
    width: 80%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }
  
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 24px;
    right: 24px;
  }
}
