/* Site Styles */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--space-4) 0;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 180px;
  height: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ivm-blue);
  }
  .site-nav {
    display: none;
  }
}

.site-nav ul {
  display: flex;
  gap: var(--space-6);
  list-style: none;
  align-items: center;
}

.site-nav a {
  font-weight: 500;
  color: var(--gray-700);
  font-size: 0.9375rem;
}

.site-nav a:hover {
  color: var(--ivm-orange);
}

.nav-cta {
  padding: var(--space-2) var(--space-4);
  background: var(--ivm-orange);
  color: white !important;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.nav-cta:hover {
  background: #FF7738;
  color: white !important;
}

.has-sub {
  position: relative;
}

/* Criar ponte invisível para manter hover */
.has-sub::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  display: none;
}

.has-sub:hover::after {
  display: block;
}

.submenu {
  display: none !important;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  min-width: 200px;
  z-index: 100;
  list-style: none;
}

.has-sub:hover .submenu {
  display: block !important;
}

.submenu li {
  margin: 0;
  list-style: none;
}

.submenu a {
  display: block;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.submenu a:hover {
  background: var(--gray-50);
}

/* Menu mobile */
@media (max-width: 768px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    padding: var(--space-4);
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
  }
  
  .site-nav.active {
    max-height: 500px;
    display: block;
  }
  
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
  }
  
  .has-sub .submenu {
    position: static;
    box-shadow: none;
    margin-top: var(--space-2);
    margin-left: var(--space-4);
    padding: 0;
    display: none !important;
  }
  
  .has-sub:hover .submenu {
    display: none !important;
  }
  
  .has-sub.active .submenu {
    display: block !important;
  }
}

/* Hero com foto */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--ivm-blue) 0%, #243A6E 100%);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 1px;
  color: var(--ivm-orange);
  margin-bottom: var(--space-4);
  font-weight: 500;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero h1 em {
  font-style: italic;
  color: var(--ivm-orange);
}

.hero .lead {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: var(--space-8);
  opacity: 0.95;
}

.cta-group {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: var(--space-4) var(--space-8);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 300ms ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--ivm-orange);
  color: white;
}

.btn-primary:hover {
  background: #FF7738;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-ghost:hover {
  background: white;
  color: var(--ivm-blue);
}

.btn-secondary {
  background: transparent;
  color: var(--ivm-blue);
  border-color: var(--ivm-blue);
}

.btn-secondary:hover {
  background: var(--ivm-blue);
  color: white;
}

/* Page header (páginas internas) */
.page-header {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--ivm-blue) 0%, #243A6E 100%);
  overflow: hidden;
}

.page-header-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-header-content {
  position: relative;
  z-index: 2;
  color: white;
}

.page-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-4);
}

.page-intro {
  font-size: 1.25rem;
  max-width: 700px;
  opacity: 0.95;
}

/* Sections */
section {
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  section {
    padding: var(--space-24) 0;
  }
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 1px;
  color: var(--ivm-orange);
  margin-bottom: var(--space-4);
  font-weight: 500;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-6);
}

.section-title em {
  font-style: italic;
  color: var(--ivm-orange);
}

.section-lede {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 800px;
  margin-bottom: var(--space-12);
  color: var(--gray-600);
}

.h-section {
  font-size: 2.25rem;
  margin-bottom: var(--space-6);
}

.h-section em {
  font-style: italic;
  color: var(--ivm-orange);
}

/* Cards */
.cards-grid {
  display: grid;
  gap: var(--space-8);
}

.cols-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  transition: all 300ms ease;
}

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

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--gray-500);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-4);
}

.card p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.card-link {
  font-weight: 600;
  color: var(--ivm-blue);
  font-size: 0.9375rem;
}

.card-link:after {
  content: ' →';
}

/* Brand cards */
.brand-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  transition: all 300ms ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.brand-card-symbol {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: var(--space-6);
}

.brand-card-symbol.i9c {
  background: #136BA2;
  color: white;
}

.brand-card-symbol.vm {
  background: #1E347F;
  color: white;
}

.brand-card-symbol.scm {
  background: #0B4F6C;
  color: white;
}

.brand-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-4);
}

.brand-card p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

/* Two column layout */
.two-col {
  display: grid;
  gap: var(--space-12);
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr 400px;
  }
}

.aside-fact {
  background: white;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.aside-fact h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-6);
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--ivm-blue);
  line-height: 1;
}

.stat-value em {
  font-style: italic;
  color: var(--ivm-orange);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: var(--space-2);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--ivm-blue) 0%, #243A6E 100%);
  color: white;
  padding: var(--space-16) var(--space-8);
  border-radius: var(--radius-xl);
  text-align: center;
}

.cta-banner h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: var(--space-4);
}

.cta-banner h2 em {
  font-style: italic;
  color: var(--ivm-orange);
}

.cta-banner p {
  font-size: 1.125rem;
  margin-bottom: var(--space-8);
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  background: var(--ivm-blue);
  color: white;
  padding: var(--space-16) var(--space-6) var(--space-8);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: var(--space-4);
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  margin-bottom: var(--space-3);
  opacity: 0.9;
}

.footer-anatel {
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 1.6;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: var(--space-2);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
}

.footer-col a:hover {
  color: var(--ivm-orange);
}

.footer-contacts .lbl {
  display: inline-block;
  width: 50px;
  opacity: 0.6;
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
  list-style: none;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.footer-social a:hover {
  background: var(--ivm-orange);
  color: white;
}

.footer-legal {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 1.8;
}

.copyright {
  margin-top: var(--space-3);
  font-size: 0.8125rem;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .page-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.875rem;
  }
}