/* =====================================================
   ITA Internet - Custom Design System
   Brand: Purple #7B2FE3 + Lime #B7D632
   Fonts: Montserrat + Inter
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --pre-header-h:      36px;
  --ita-primary:       #7B2FE3;
  --ita-primary-dark:  #5A1FA8;
  --ita-primary-light: #A944FF;
  --ita-secondary:     #B7D632;
  --ita-secondary-dark:#95B021;
  --ita-secondary-light:#D1FF66;
  --ita-text:          #1F2937;
  --ita-text-muted:    #6B7280;
  --ita-bg:            #F8F9FC;
  --ita-surface:       #FFFFFF;
  --ita-border:        #E5E7EB;
  --ita-radius-sm:     8px;
  --ita-radius-md:     12px;
  --ita-radius-lg:     20px;
  --ita-radius-xl:     28px;
  --ita-radius-pill:   999px;
  --ita-shadow-sm:     0 2px 8px rgba(0,0,0,.08);
  --ita-shadow-md:     0 10px 25px rgba(0,0,0,.12);
  --ita-shadow-lg:     0 20px 40px rgba(0,0,0,.15);
  --ita-shadow-purple: 0 10px 30px rgba(123,47,227,.25);
  --ita-gradient-hero: linear-gradient(135deg, #5A1FA8 0%, #7B2FE3 50%, #A944FF 100%);
  --ita-gradient-card: linear-gradient(135deg, #7B2FE3 0%, #5A1FA8 100%);
  --ita-gradient-cta:  linear-gradient(135deg, #B7D632 0%, #D1FF66 100%);
  --lev-primary:       #7B2FE3;
  --lev-secondary:     #B7D632;
  --lev-dark:          #1F2937;
  --lev-light:         #F8F9FC;
}

/* ── Base ── */
html { overflow-x: clip; } /* clip não cria scroll container — window.scrollY funciona no mobile */
body {
  font-family: 'Inter', sans-serif;
  color: var(--ita-text);
  background-color: var(--ita-bg);
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* ── Utility ── */
.text-primary-ita { color: var(--ita-primary) !important; }
.text-secondary-ita { color: var(--ita-secondary-dark) !important; }
.bg-primary-ita { background-color: var(--ita-primary) !important; }
.bg-secondary-ita { background-color: var(--ita-secondary) !important; }
.section-tag {
  display: inline-block;
  background: rgba(123,47,227,.1);
  color: var(--ita-primary);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: var(--ita-radius-pill);
  margin-bottom: 1rem;
}
.section-tag.light {
  background: rgba(255,255,255,.15);
  color: #fff;
}

/* ── Buttons ── */
.btn-ita-primary {
  background: var(--ita-primary);
  color: #fff;
  border: none;
  border-radius: var(--ita-radius-md);
  padding: .75rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.btn-ita-primary:hover {
  background: var(--ita-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--ita-shadow-purple);
}

.btn-ita-secondary {
  background: var(--ita-gradient-cta);
  color: var(--ita-text);
  border: none;
  border-radius: var(--ita-radius-md);
  padding: .75rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.btn-ita-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(183,214,50,.4);
  color: var(--ita-text);
}

.btn-ita-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: var(--ita-radius-md);
  padding: .7rem 1.8rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.btn-ita-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: var(--ita-radius-md);
  padding: .6rem 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
}
.btn-whatsapp:hover {
  background: #1da851;
  color: #fff;
  transform: translateY(-1px);
}

/* ── Pre-header ── */
#pre-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--pre-header-h);
  background: var(--ita-primary-dark);
  display: flex;
  align-items: center;
}
.pre-header-inner {
  max-width: 1280px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

/* City selector */
.pre-header-city { position: relative; flex-shrink: 1; min-width: 0; display: flex; align-items: center; }
.city-trigger {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,.85);
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  padding: 0;
  line-height: 1;
}
.city-label { white-space: nowrap; }
.city-trigger strong { color: #fff; font-weight: 600; white-space: nowrap; }
.city-trigger:hover, .city-trigger:hover strong { color: var(--ita-secondary-light); }
.city-chevron { flex-shrink: 0; transition: transform .2s ease; }
.city-trigger[aria-expanded="true"] .city-chevron { transform: rotate(180deg); }

.city-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  background: #fff;
  border-radius: var(--ita-radius-md);
  box-shadow: var(--ita-shadow-md);
  min-width: 180px;
  z-index: 1100;
  overflow: hidden;
  padding: .35rem 0;
}
.city-dropdown.open { display: block; }
.city-option {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  padding: .6rem 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  color: var(--ita-text);
  text-align: left;
  transition: background .15s;
}
.city-option:hover               { background: rgba(123,47,227,.07); color: var(--ita-primary); }
.city-option.active              { color: var(--ita-primary); font-weight: 600; }
.city-option.active svg          { stroke: var(--ita-primary); }

/* Contacts */
.pre-header-contacts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 1;
  min-width: 0;
}
.pre-header-contact {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: rgba(255,255,255,.8);
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}
.pre-header-contact:hover { color: var(--ita-secondary-light); }
.pre-header-whats svg     { fill: #25D366; }
.pre-header-whats:hover   { color: #25D366; }

/* ── Header ── */
#site-header {
  position: fixed;
  top: var(--pre-header-h);
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all .3s ease;
  padding: 1rem 0;
  background: var(--ita-primary);
}
#site-header.scrolled {
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: .6rem 0;
}
#site-header.scrolled .nav-link-ita {
  color: var(--ita-text) !important;
}
#site-header.scrolled .nav-link-ita:hover,
#site-header.scrolled .nav-link-ita.active {
  color: var(--ita-primary) !important;
}
#site-header.scrolled .btn-whatsapp-nav {
  display: flex !important;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.header-logo {
  display: block;
  flex-shrink: 0;
}

/* brand-white.png (287×131, landscape) - deixa a largura fluir naturalmente */
.header-logo img {
  height: 46px;
  width: auto;
  display: block;
}

/* brand.png (223×226, quadrada) tem muito espaço em branco ao redor do logo.
   Aumentamos a altura para que o conteúdo visual apareça no mesmo tamanho
   da brand-white. */
#site-header.scrolled .header-logo img {
  height: 60px;
  width: auto;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link-ita {
  color: rgba(255,255,255,.9);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: .875rem;
  text-decoration: none;
  padding: .5rem .75rem;
  border-radius: var(--ita-radius-sm);
  transition: all .2s ease;
  white-space: nowrap;
}
.nav-link-ita:hover,
.nav-link-ita.active {
  color: var(--ita-secondary) !important;
  background: rgba(255,255,255,.1);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.btn-client-area {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--ita-radius-md);
  padding: .5rem 1.1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-client-area:hover {
  background: rgba(255,255,255,.25);
  color: #fff;
}
#site-header.scrolled .btn-client-area {
  background: var(--ita-primary);
  border-color: var(--ita-primary);
  color: #fff;
}
.btn-link-dedicado {
  background: rgba(255,179,0,.2) !important;
  border-color: rgba(255,179,0,.5) !important;
  color: var(--ita-secondary-light) !important;
}
.btn-link-dedicado:hover {
  background: rgba(255,179,0,.35) !important;
  color: #fff !important;
}
#site-header.scrolled .btn-link-dedicado {
  background: var(--ita-secondary, #F59E0B) !important;
  border-color: var(--ita-secondary, #F59E0B) !important;
  color: #fff !important;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s ease;
}
#site-header.scrolled .menu-toggle span { background: var(--ita-text); }
.mobile-menu {
  display: flex;
  position: fixed;
  inset: 0;
  background: var(--ita-primary-dark);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  /* Estado fechado */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: scale(.97);
  transition: opacity .3s cubic-bezier(.4,0,.2,1),
              transform .3s cubic-bezier(.4,0,.2,1),
              visibility 0s linear .3s;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  transition: opacity .3s cubic-bezier(.4,0,.2,1),
              transform .3s cubic-bezier(.4,0,.2,1),
              visibility 0s linear 0s;
}
/* Itens ocultos por padrão; entram em cascata ao abrir */
.mobile-menu > *:not(.mobile-menu-close) { opacity: 0; }
.mobile-menu.open > *:not(.mobile-menu-close) {
  animation: menuItemReveal .3s ease both;
}
.mobile-menu.open > *:nth-child(2)  { animation-delay: .05s; }
.mobile-menu.open > *:nth-child(3)  { animation-delay: .09s; }
.mobile-menu.open > *:nth-child(4)  { animation-delay: .13s; }
.mobile-menu.open > *:nth-child(5)  { animation-delay: .17s; }
.mobile-menu.open > *:nth-child(6)  { animation-delay: .21s; }
.mobile-menu.open > *:nth-child(7)  { animation-delay: .25s; }
.mobile-menu.open > *:nth-child(8)  { animation-delay: .29s; }
.mobile-menu.open > *:nth-child(9)  { animation-delay: .33s; }
.mobile-menu.open > *:nth-child(10) { animation-delay: .37s; }
.mobile-menu.open > *:nth-child(11) { animation-delay: .41s; }
@keyframes menuItemReveal {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-menu .nav-link-ita {
  font-size: 1.25rem;
  color: #fff !important;
}
.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 1 !important;
}
.btn-mobile-client {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--ita-radius-md);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: .8rem 2.5rem;
  text-decoration: none;
  margin-top: .5rem;
  transition: background .2s ease, border-color .2s ease;
}
.mobile-menu .btn-whatsapp {
  padding: .8rem 2.5rem;
  font-size: 1rem;
  border-radius: var(--ita-radius-md);
  margin-top: 0;
}
.btn-mobile-client:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.45);
  color: #fff;
}
.mobile-menu-brand img {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: .5rem;
}

/* ── Hero Section ── */
#hero {
  min-height: 100vh;
  background: var(--ita-gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(90px + var(--pre-header-h));
}
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  pointer-events: none;
}
.hero-bg-orb-1 {
  width: 500px; height: 500px;
  background: #A944FF;
  top: -150px; right: -100px;
}
.hero-bg-orb-2 {
  width: 350px; height: 350px;
  background: var(--ita-secondary);
  bottom: -80px; left: 5%;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-text .badge-hero {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(183,214,50,.15);
  border: 1px solid rgba(183,214,50,.3);
  color: var(--ita-secondary-light);
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem 1rem;
  border-radius: var(--ita-radius-pill);
  margin-bottom: 1.5rem;
}
.hero-text h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero-text h1 span {
  color: var(--ita-secondary);
}
.hero-text p {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-stat-item {
  text-align: center;
}
.hero-stat-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ita-secondary);
}
.hero-stat-item span {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-card-float {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--ita-radius-xl);
  padding: 2rem;
  width: 100%;
  max-width: 380px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.speed-display {
  text-align: center;
  padding: 1.5rem 0;
}
.speed-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.speed-unit {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ita-secondary);
}
.speed-label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-top: .5rem;
}
.speed-bar-track {
  background: rgba(255,255,255,.15);
  border-radius: var(--ita-radius-pill);
  height: 8px;
  margin: 1.5rem 0 .5rem;
  overflow: hidden;
}
.speed-bar-fill {
  height: 100%;
  background: var(--ita-gradient-cta);
  border-radius: var(--ita-radius-pill);
  animation: fillBar 2.5s ease-in-out infinite alternate;
}
@keyframes fillBar {
  from { width: 40%; }
  to   { width: 95%; }
}
.speed-indicators {
  display: flex;
  justify-content: space-between;
  font-size: .7rem;
  color: rgba(255,255,255,.5);
}
.ping-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.08);
  border-radius: var(--ita-radius-md);
  padding: .75rem 1rem;
  margin-top: 1rem;
}
.ping-badge span { font-size: .8rem; color: rgba(255,255,255,.7); }
.ping-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--ita-secondary);
  font-size: .9rem;
}

/* ── Scrolling Ticker ── */
.ticker-wrap {
  background: var(--ita-primary-dark);
  padding: .75rem 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 3rem;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  font-weight: 500;
}
.ticker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ita-secondary);
  flex-shrink: 0;
}

/* ── Section Base ── */
.ita-section {
  padding: 6rem 0;
}
.ita-section-alt {
  background: var(--ita-bg);
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--ita-text);
  margin-bottom: .75rem;
  line-height: 1.25;
}
.section-header h2 span { color: var(--ita-primary); }
.section-header p {
  color: var(--ita-text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Plans Section ── */
#plans {
  background: var(--ita-bg);
  padding: 4rem 0;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.plan-card {
  background: var(--ita-surface);
  border-radius: var(--ita-radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--ita-shadow-sm);
  border: 2px solid var(--ita-border);
  position: relative;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ita-shadow-lg);
}
.plan-card.featured {
  background: var(--ita-gradient-card);
  border-color: transparent;
  box-shadow: var(--ita-shadow-purple);
  transform: scale(1.03);
}
.plan-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}
.plan-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ita-secondary);
  color: var(--ita-text);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .3rem 1.1rem;
  border-radius: 0 0 var(--ita-radius-md) var(--ita-radius-md);
  white-space: nowrap;
}
.plan-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.plan-card:not(.featured) .plan-name { color: var(--ita-text-muted); }
.plan-card.featured .plan-name      { color: rgba(255,255,255,.8); }
.plan-speed {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: .65rem;
}
.plan-card:not(.featured) .plan-speed { color: var(--ita-primary); }
.plan-card.featured .plan-speed       { color: #fff; }
.plan-speed-unit {
  font-size: 1rem;
  font-weight: 600;
}
.plan-price-wrap {
  padding: 1.25rem 0;
  border-top: 1px solid;
}
.plan-card:not(.featured) .plan-price-wrap { border-color: var(--ita-border); }
.plan-card.featured .plan-price-wrap        { border-color: rgba(255,255,255,.2); }
.plan-price-label {
  font-size: .75rem;
  font-weight: 500;
  margin-bottom: .25rem;
}
.plan-card:not(.featured) .plan-price-label { color: var(--ita-text-muted); }
.plan-card.featured .plan-price-label        { color: rgba(255,255,255,.7); }
.plan-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
}
.plan-card:not(.featured) .plan-price { color: var(--ita-text); }
.plan-card.featured .plan-price        { color: #fff; }
.plan-price-currency {
  font-size: 1rem;
  vertical-align: super;
  font-weight: 600;
}
.plan-features {
  list-style: none;
  padding: 0;
  padding-top: .9rem;
  margin-top: .8rem;
  border-top: 1px solid rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  gap: .65rem;
  flex: 1;
}
.plan-card.featured .plan-features { border-top-color: rgba(255,255,255,.2); }
.plan-features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
}
.plan-card:not(.featured) .plan-features li { color: var(--ita-text); }
.plan-card.featured .plan-features li        { color: rgba(255,255,255,.9); }
.plan-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(123,47,227,.1); /* default, used outside a .plan-card (e.g. .plan-benefits-shared) */
}
.plan-card:not(.featured) .plan-check { background: rgba(123,47,227,.1); }
.plan-card.featured .plan-check        { background: rgba(255,255,255,.2); }
.plan-check svg { width: 10px; height: 10px; color: var(--ita-primary); }
.plan-card:not(.featured) .plan-check svg { color: var(--ita-primary); }
.plan-card.featured .plan-check svg        { color: #fff; }
/* ---- Apps inclusos no plano ---- */
.plan-apps {
  padding-top: .9rem;
  border-top: 1px solid rgba(0,0,0,.08);
}
.plan-card.featured .plan-apps { border-top-color: rgba(255,255,255,.2); }
.plan-apps-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .5rem;
  color: var(--ita-text-muted);
}
.plan-card.featured .plan-apps-label { color: rgba(255,255,255,.65); }
.plan-apps-icons {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
}
.plan-apps-icons a {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
}
.plan-app-icon {
  width: 60px;
  height: 60px;
  border-radius: 20%;
  object-fit: cover;
  background: #fff;
  border: 2px solid rgba(0,0,0,.07);
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan-app-icon:hover {
  transform: scale(1.12);
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
}

.plan-cta {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: .85rem;
  font-size: .9rem;
  border-radius: var(--ita-radius-md);
}
.plan-card:not(.featured) .plan-cta {
  background: var(--ita-primary);
  color: #fff;
}
.plan-card:not(.featured) .plan-cta:hover {
  background: var(--ita-primary-dark);
  color: #fff;
}
.plan-card.featured .plan-cta {
  background: var(--ita-gradient-cta);
  color: var(--ita-text);
}

/* ---- Benefits shared across all plans (shown once, below the cards) ---- */
.plan-benefits-shared {
  max-width: 900px;
  margin: 2.5rem auto 0;
  padding: 1.5rem 2rem;
  background: var(--ita-surface);
  border: 1px solid var(--ita-border);
  border-radius: var(--ita-radius-lg);
  text-align: center;
}
.plan-benefits-shared-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--ita-text);
  margin-bottom: 1rem;
}
.plan-benefits-shared-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 2rem;
}
.plan-benefits-shared-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: var(--ita-text);
}

/* ── Benefits Section ── */
#benefits {
  padding: 6rem 0;
  background: #fff;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.benefit-card {
  background: var(--ita-bg);
  border-radius: var(--ita-radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--ita-border);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ita-gradient-card);
  opacity: 0;
  transition: opacity .3s;
}
.benefit-card:hover {
  box-shadow: var(--ita-shadow-md);
  border-color: rgba(123,47,227,.2);
  transform: translateY(-4px);
}
.benefit-card:hover::before { opacity: 1; }
.benefit-icon {
  width: 56px; height: 56px;
  background: rgba(123,47,227,.08);
  border-radius: var(--ita-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background .3s;
}
.benefit-card:hover .benefit-icon {
  background: rgba(123,47,227,.15);
}
.benefit-icon svg {
  width: 26px; height: 26px;
  color: var(--ita-primary);
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ita-text);
  margin-bottom: .5rem;
}
.benefit-desc {
  font-size: .875rem;
  color: var(--ita-text-muted);
  line-height: 1.6;
}

/* ── Coverage Section ── */
#coverage {
  background: var(--ita-gradient-hero);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
#coverage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.coverage-inner {
  position: relative;
  z-index: 1;
}
.coverage-form {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--ita-radius-xl);
  padding: 2.5rem;
  max-width: 560px;
  margin: 0 auto;
}
.coverage-form h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
}
.coverage-form p {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  margin-bottom: 1.5rem;
}
.coverage-input-group {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.coverage-input {
  flex: 1;
  min-width: 140px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--ita-radius-md);
  padding: .85rem 1.25rem;
  color: #fff;
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}
.coverage-input::placeholder { color: rgba(255,255,255,.5); }
.coverage-input:focus { border-color: var(--ita-secondary); }
.coverage-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.coverage-stat {
  text-align: center;
}
.coverage-stat strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ita-secondary);
}
.coverage-stat span {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
}

/* ── Business Section ── */
#business {
  padding: 6rem 0;
  background: #fff;
}
.business-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.business-visual {
  background: var(--ita-gradient-card);
  border-radius: var(--ita-radius-xl);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.business-visual::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.business-visual::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.business-metric-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.business-metric-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--ita-radius-lg);
  padding: 1.25rem;
  text-align: center;
}
.business-metric-card .metric-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ita-secondary);
  display: block;
}
.business-metric-card .metric-label {
  font-size: .75rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}
.business-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.business-features li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  color: var(--ita-text);
}
.business-features li svg {
  width: 20px; height: 20px;
  color: var(--ita-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Testimonials Section ── */
#testimonials {
  padding: 6rem 0;
  background: var(--ita-bg);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--ita-surface);
  border-radius: var(--ita-radius-lg);
  padding: 2rem;
  box-shadow: var(--ita-shadow-sm);
  border: 1px solid var(--ita-border);
  transition: all .3s ease;
}
.testimonial-card:hover {
  box-shadow: var(--ita-shadow-md);
  transform: translateY(-4px);
}
.testimonial-stars {
  display: flex;
  gap: .2rem;
  margin-bottom: 1rem;
}
.testimonial-stars svg {
  width: 16px; height: 16px;
  fill: #F59E0B;
  color: #F59E0B;
}
.testimonial-text {
  font-size: .9rem;
  color: var(--ita-text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ita-gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: .9rem;
  flex-shrink: 0;
}
.testimonial-author-info strong {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ita-text);
}
.testimonial-author-info span {
  font-size: .75rem;
  color: var(--ita-text-muted);
}

/* ── FAQ Section ── */
#faq {
  padding: 6rem 0;
  background: #fff;
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-item {
  border: 1px solid var(--ita-border);
  border-radius: var(--ita-radius-lg);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open {
  border-color: var(--ita-primary);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 1rem;
  text-align: left;
}
.faq-question-text {
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ita-text);
}
.faq-item.open .faq-question-text {
  color: var(--ita-primary);
}
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--ita-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .3s;
}
.faq-item.open .faq-icon {
  background: var(--ita-primary);
  transform: rotate(180deg);
}
.faq-icon svg {
  width: 14px; height: 14px;
  color: var(--ita-text-muted);
  transition: color .3s;
}
.faq-item.open .faq-icon svg { color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 1.5rem;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}
.faq-answer p {
  font-size: .9rem;
  color: var(--ita-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── Contact Section ── */
#contact {
  padding: 6rem 0;
  background: var(--ita-bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ita-text);
  margin-bottom: 1rem;
}
.contact-info p {
  color: var(--ita-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: var(--ita-radius-md);
  border: 1px solid var(--ita-border);
  text-decoration: none;
  transition: all .2s;
}
.contact-method:hover {
  border-color: var(--ita-primary);
  box-shadow: var(--ita-shadow-sm);
}
.contact-method-icon {
  width: 44px; height: 44px;
  border-radius: var(--ita-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-method-icon.purple { background: rgba(123,47,227,.1); }
.contact-method-icon.green  { background: rgba(37,211,102,.1); }
.contact-method-icon svg {
  width: 22px; height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-method-icon.purple svg { color: var(--ita-primary); }
.contact-method-icon.green svg  { color: #25D366; }
.contact-method-label {
  font-size: .75rem;
  color: var(--ita-text-muted);
}
.contact-method-value {
  font-size: .95rem;
  font-weight: 600;
  color: var(--ita-text);
}
.contact-form-card {
  background: #fff;
  border-radius: var(--ita-radius-xl);
  padding: 2.5rem;
  box-shadow: var(--ita-shadow-md);
  border: 1px solid var(--ita-border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1rem;
}
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--ita-text);
  font-family: 'Montserrat', sans-serif;
}
.form-input {
  background: var(--ita-bg);
  border: 1px solid var(--ita-border);
  border-radius: var(--ita-radius-sm);
  padding: .75rem 1rem;
  font-size: .9rem;
  color: var(--ita-text);
  outline: none;
  transition: border-color .2s;
  width: 100%;
  font-family: 'Inter', sans-serif;
}
.form-input:focus {
  border-color: var(--ita-primary);
  box-shadow: 0 0 0 3px rgba(123,47,227,.1);
}
.form-input::placeholder { color: #9CA3AF; }
textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

/* ── Footer ── */
#site-footer {
  background: var(--ita-text);
  padding: 4rem 0 1.5rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-brand-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  gap: .75rem;
}
.footer-social-link {
  width: 38px; height: 38px;
  border-radius: var(--ita-radius-sm);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .2s;
}
.footer-social-link:hover {
  background: var(--ita-primary);
}
.footer-social-link svg {
  width: 18px; height: 18px;
  color: rgba(255,255,255,.7);
  fill: currentColor;
}
.footer-social-link:hover svg { color: #fff; }
.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--ita-secondary); }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copyright {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}
.footer-powered {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  text-decoration: none;
}
.footer-powered:hover { color: rgba(255,255,255,.6); }

/* ── WhatsApp Float Button ── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 999;
  text-decoration: none;
  transition: all .2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}
.whatsapp-float svg {
  width: 28px; height: 28px;
  fill: #fff;
}

/* ── Responsive ── */
@media (max-width: 1023px) {
  .hero-content       { grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; padding-bottom: 3rem; }
  .hero-visual        { display: none; }
  .plans-grid         { grid-template-columns: 1fr 1fr; }
  .plan-card.featured { transform: none; }
  .plan-card.featured:hover { transform: translateY(-6px); }
  .benefits-grid      { grid-template-columns: repeat(2, 1fr); }
  .business-grid      { grid-template-columns: 1fr; }
  .business-visual    { max-width: 480px; }
  .testimonials-grid  { grid-template-columns: 1fr 1fr; }
  .contact-grid       { grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .header-nav         { display: none; }
  .menu-toggle        { display: flex; }
}
@media (max-width: 767px) {
  .ita-section, section#coverage { padding: 4rem 0; }
  .plans-grid         { grid-template-columns: 1fr; }
  .benefits-grid      { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .hero-buttons       { flex-direction: column; }
  .hero-text h1       { font-size: 2rem; }
  .hero-stats         { gap: 1rem; }
  .section-header h2  { font-size: 1.6rem; }
  .form-row           { grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom      { flex-direction: column; text-align: center; }
  .coverage-input-group { flex-direction: column; }
  .business-metric-cards { grid-template-columns: 1fr 1fr; }
}

/* ── AOS-like animations ── */
[data-ita-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-ita-reveal].revealed {
  opacity: 1;
  transform: none;
}
[data-ita-reveal][data-delay="100"] { transition-delay: .1s; }
[data-ita-reveal][data-delay="200"] { transition-delay: .2s; }
[data-ita-reveal][data-delay="300"] { transition-delay: .3s; }
[data-ita-reveal][data-delay="400"] { transition-delay: .4s; }
[data-ita-reveal][data-delay="500"] { transition-delay: .5s; }

/* ── Plans row / carousel (home) ── */
.plans-carousel-outer {
  position: relative; /* âncora dos botões nav */
}
.plans-row-wrapper {
  position: relative;
}
.plans-row-wrapper.is-carousel {
  overflow: hidden;
  padding: 20px 8px 32px;  /* 8px lateral: espaço p/ scale(1.03) não ser cortado */
  margin: -20px -8px -32px; /* compensa no layout — cards continuam alinhados */
}
.plans-row {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
}
.plans-row .plan-card {
  flex: 1 1 0;
  min-width: 0;
}
/* Carousel mode (> 4 planos) */
.plans-row--scroll {
  flex-wrap: nowrap;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.plans-row--scroll .plan-card {
  flex: 0 0 calc((100% - 4.5rem) / 4);
}
/* Nav buttons — filhos de .plans-carousel-outer, não do wrapper */
.plans-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--ita-border);
  background: var(--ita-surface);
  color: var(--ita-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--ita-shadow-md);
  transition: background .2s, color .2s, opacity .2s;
}
.plans-nav:hover:not(:disabled) {
  background: var(--ita-primary);
  color: #fff;
  border-color: var(--ita-primary);
}
.plans-nav:disabled { opacity: .35; cursor: default; }
.plans-nav-prev { left: -22px; }
.plans-nav-next { right: -22px; }
@media (max-width: 1023px) {
  .plans-row--scroll .plan-card { flex: 0 0 calc((100% - 1.5rem) / 2); }
  .plans-nav { display: none; }
}
@media (max-width: 767px) {
  .plans-row         { flex-direction: column; }
  .plans-row--scroll { flex-direction: column; }
  .plans-row--scroll .plan-card { flex: 1 1 auto; }
  .plans-row-wrapper.is-carousel { overflow: visible; padding: 0; margin: 0; }
}

/* ── Hero banner carousel (home) — fills the #hero section entirely ──
   Desktop: recommended banner is a wide 3:1 rectangle (e.g. 2400x800) —
   the section is sized from that ratio instead of the viewport, so it
   hugs the banner exactly with no leftover bars. Capped with max-height
   so it doesn't dominate the screen on very wide monitors. The header
   keeps its own solid space (margin-top below) instead of overlapping the
   banner — --header-total-h is the header's real rendered height, measured
   by JS in header.php (not guessed in CSS), so there's never a stray gap
   or overlap regardless of header content/size.
   Mobile: the section instead sizes itself to the banner's own ratio
   (see max-width:767px override below) — 9:16 for that breakpoint. */
#hero:has(.hero-banner-carousel) {
  padding-top: 0;
  margin-top: var(--header-total-h, 126px);
  height: 33.33vw; /* 3:1, computed from viewport width instead of aspect-ratio — more reliable than aspect-ratio on a box whose only children are absolutely positioned */
  min-height: 260px;
  /* no max-height: the 3:1 ratio is already wide/short enough not to dominate
     the screen — capping it here was clipping a correctly-sized banner
     (33.33vw commonly exceeds 45vh on normal screens, e.g. 640px vs 486px
     on a 1920x1080 window), cutting off part of the image every time. */
  background: var(--ita-gradient-hero) !important; /* purple backdrop, reinforced here in case the base #hero background rule gets overridden elsewhere */
}
.hero-banner-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ita-gradient-hero); /* purple backdrop for any bars, set here directly instead of relying only on the parent */
}
.hero-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease;
}
.hero-banner-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-banner-slide a,
.hero-banner-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-banner-slide img {
  /* full width always, height following the image's own ratio (not
     object-fit: contain, which can leave it narrower than the container
     if a banner's real ratio doesn't match the assumed 3:1). Vertically
     centered in case the actual height doesn't exactly match the section
     (any excess is simply clipped by the carousel's overflow:hidden).
     The framework's global `img{}` reset also sets position/top/left/
     transform to fake-center via translate(-50%,-50%) — reset those here
     so this rule's own values are the only thing governing the image. */
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
  display: block;
}
@media (max-width: 767px) {
  /* mobile: recommended banner size is 1080x1920 (9:16) — the section is
     sized from that ratio instead of the viewport, so it hugs the banner
     exactly instead of relying on bars to show it in full. */
  #hero:has(.hero-banner-carousel) {
    height: 177.78vw; /* 1920/1080, computed from viewport width — see desktop rule for why not aspect-ratio */
    max-height: 80vh;
  }
}
.hero-banner-carousel .banner-nav {
  z-index: 5;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,.3);
  color: #fff;
}
.hero-banner-carousel .banner-nav:hover {
  background: var(--ita-primary);
  border-color: var(--ita-primary);
}
.hero-banner-carousel .banner-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  margin-top: 0;
}
.hero-banner-carousel .banner-dot {
  background: rgba(255,255,255,.4);
}
.hero-banner-carousel .banner-dot.active {
  background: #fff;
}

/* ── Banner carousel nav/dots shared styling ── */
.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--ita-border);
  background: var(--ita-surface);
  color: var(--ita-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--ita-shadow-md);
  transition: background .2s, color .2s;
}
.banner-nav:hover {
  background: var(--ita-primary);
  color: #fff;
  border-color: var(--ita-primary);
}
.banner-nav-prev { left: 1.25rem; }
.banner-nav-next { right: 1.25rem; }
.banner-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: .9rem;
}
.banner-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--ita-border);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.banner-dot.active {
  background: var(--ita-primary);
  transform: scale(1.25);
}
@media (max-width: 767px) {
  .banner-nav { width: 36px; height: 36px; }
  .banner-nav-prev { left: .6rem; }
  .banner-nav-next { right: .6rem; }
}

/* ── Aplicativo detail page ── */
.app-detail-desc {
  color: var(--ita-text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}
.app-detail-desc p { margin: 0 0 1rem; }
.app-releases-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: .75rem;
  scroll-snap-type: x proximity;
}
.app-release-card {
  position: relative;
  flex: 0 0 200px;
  scroll-snap-align: start;
  border-radius: var(--ita-radius-lg);
  overflow: hidden;
  box-shadow: var(--ita-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.app-release-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ita-shadow-lg);
}
.app-release-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: var(--ita-border);
}
.app-release-card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem .8rem .8rem;
  background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.5) 55%, transparent 100%);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.4;
}
.app-releases-panel {
  background: var(--ita-bg);
  border-radius: var(--ita-radius-xl);
  padding: 1.75rem 1.75rem 1.5rem;
}
.app-releases-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ita-text);
  margin: 0 0 1.25rem;
}
.app-releases-outer {
  position: relative;
}
.app-releases-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--ita-border);
  background: var(--ita-surface);
  color: var(--ita-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--ita-shadow-md);
  transition: all .2s ease;
}
.app-releases-nav:hover:not(:disabled) {
  background: var(--ita-primary);
  color: #fff;
  border-color: var(--ita-primary);
}
.app-releases-nav:disabled { opacity: .35; cursor: default; }
.app-releases-nav-prev { left: -22px; }
.app-releases-nav-next { right: -22px; }
@media (max-width: 767px) {
  .app-release-card { flex-basis: 145px; }
  .app-releases-panel { padding: 1.25rem 1rem 1rem; border-radius: var(--ita-radius-lg); }
  .app-releases-title { font-size: 1.2rem; }
  .app-releases-nav { display: none; }
}

/* ── Framework overrides ── */
/* The framework sets `section { padding: calc(5rem + 4vw) 0 }`.
   We reset it here with a same-specificity rule that loads after (cascade wins),
   then .ita-section (class, higher specificity) re-applies what's needed. */
body    { padding-top: 0; margin: 0; }
section { padding: 0; }

/* Custom section padding - class selector beats the element reset above */
.ita-section     { padding: 6rem 0; }
.ita-section-alt { padding: 6rem 0; }

/* Sections without the class still need their padding */
section#hero     { min-height: 100vh; padding-top: calc(90px + var(--pre-header-h)); }
section#coverage { padding: 6rem 0; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ita-primary); border-radius: 3px; }

/* ── Container override ── */
.ita-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ═══════════════════════════════════════════════════
   MASCOTE
═══════════════════════════════════════════════════ */

/* Hero - mascote */
.mascote-hero-img {
  width: 100%;
  /* max-width: 460px; */
  height: auto;
  filter: drop-shadow(0 32px 56px rgba(0,0,0,.32));
  animation: float 5s ease-in-out infinite;
}

/* Plans mascote banner */
.mascote-plans-banner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(123,47,227,.07) 0%, rgba(183,214,50,.07) 100%);
  border: 1.5px solid rgba(123,47,227,.14);
  border-radius: var(--ita-radius-xl);
  padding: 1.25rem 2rem;
  margin-bottom: 3rem;
}
.mascote-plans-banner img {
  width: 110px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.15));
  animation: float 5.5s ease-in-out infinite .3s;
}
.mascote-bubble {
  background: #fff;
  border-radius: var(--ita-radius-lg);
  padding: .9rem 1.4rem;
  box-shadow: var(--ita-shadow-sm);
  position: relative;
  font-size: .9rem;
  color: var(--ita-text);
  line-height: 1.55;
}
.mascote-bubble::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 50%;
  transform: translateY(-50%);
  border: 9px solid transparent;
  border-right-color: #fff;
  border-left: 0;
}
.mascote-bubble strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ita-primary);
  margin-bottom: .2rem;
}

/* Benefits mascote */
.section-header-mascote {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.section-header-mascote .section-header {
  flex: 1;
  text-align: left;
  margin-bottom: 0;
}
.section-header-mascote .section-header p { margin: 0; }
.mascote-benefits-img {
  width: 210px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.14));
  animation: float 6s ease-in-out infinite 1.2s;
}

/* Contact mascote */
.mascote-contact-top {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.mascote-contact-img {
  width: 175px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.14));
  animation: float 5.5s ease-in-out infinite .9s;
}
.mascote-contact-text {
  text-align: left;
  padding-bottom: .75rem;
}
.mascote-contact-text .section-tag { margin-bottom: .75rem; }
.mascote-contact-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--ita-text);
  line-height: 1.25;
  margin-bottom: .6rem;
}
.mascote-contact-text h2 span { color: var(--ita-primary); }
.mascote-contact-text p {
  color: var(--ita-text-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 400px;
}

/* Responsive overrides */
@media (max-width: 1023px) {
  /* Pre-header: oculta texto dos contatos, mantém ícones */
  .pre-header-contacts .pre-header-contact span { display: none; }
  .pre-header-contacts { gap: .6rem; }
  .city-dropdown { min-width: 160px; }
  /* Hero: mostra mascote só em tablet (768-1023px) */
  .hero-visual              { display: flex !important; }
  .mascote-hero-img         { max-width: 320px; }
  /* Demais mascotes */
  .section-header-mascote   { flex-direction: column; gap: 1.5rem; }
  .section-header-mascote .section-header { text-align: center; }
  .mascote-benefits-img     { width: 160px; order: -1; }
  .mascote-contact-top      { flex-direction: column; align-items: center; gap: 1.5rem; }
  .mascote-contact-text     { text-align: center; }
  .mascote-contact-text p   { margin: 0 auto; }
}
@media (max-width: 767px) {
  /* Pre-header mobile: cidade à esq., ícones de telefone + WhatsApp à dir. */
  .city-label           { display: none; }
  .pre-header-inner     { justify-content: space-between; }
  .city-trigger         { font-size: .8rem; gap: .4rem; }
  /* Dropdown alinhado à esquerda do trigger (não 50% que sai da tela) */
  .city-dropdown        { left: 0; transform: none; min-width: 180px; }
  /* Oculta o e-mail no mobile, mantém telefone e WhatsApp como ícones */
  .pre-header-contact span  { display: none; }
  .pre-header-contacts      { gap: .75rem; }
  /* Esconde e-mail (não é pré-header-phone nem pre-header-whats) */
  .pre-header-contact:not(.pre-header-whats):not(.pre-header-phone) { display: none; }
  /* Header mobile: área do cliente fica só no menu */
  .btn-client-area      { display: none; }
  /* WhatsApp fica só no pre-header e no menu mobile */
  .header-actions .btn-whatsapp { display: none; }
  /* Toggle escuro quando header fica branco ao scrollar */
  #site-header.scrolled .menu-toggle span { background: var(--ita-text); }
  /* Hero mobile: oculta mascote, evita overflow */
  .hero-visual          { display: none !important; }
  /* Demais mascotes */
  .mascote-plans-banner     { flex-direction: column; text-align: center; padding: 1.25rem; gap: 1rem; }
  .mascote-bubble::before   { display: none; }
  .mascote-plans-banner img { width: 90px; }
  .mascote-benefits-img     { width: 130px; }
  .mascote-contact-img      { width: 130px; }
}
