/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
  /* Paleta */
  --color-brand-primary:       #009e20;
  --color-brand-accent:        #33cc4a;
  --color-brand-accent-hover:  #5dd957;
  --color-brand-dark:          #055012;
  --color-brand-deep:          #07300d;

  /* Fundos de seção */
  --bg-page:                   #05170b;
  --bg-header:                 #042951;
  --bg-hero:                   var(--color-brand-primary);
  --bg-sobre:                  #ffffff;
  --bg-parceiros:              #ffffff;
  --bg-contato:                #ffffff;
  --bg-surface-subtle:         rgba(255, 255, 255, 0.02);
  --bg-surface-card:           rgba(255, 255, 255, 0.04);
  --bg-surface-card-white:     #ffffff;
  --bg-card-soft:              #f8fbff;

  /* Bordas */
  --border-subtle:             rgba(255, 255, 255, 0.05);
  --border-card-dark:          rgba(255, 255, 255, 0.08);
  --border-card-light:         rgba(15, 23, 42, 0.12);
  --border-card-white:         rgba(226, 232, 240, 0.8);

  /* Texto */
  --text-primary:              #e5eaf1;
  --text-heading-dark:         #0f172a;
  --text-muted-light:          #c8d2e6;
  --text-muted-dark:           #475569;
  --text-muted-card:           #334155;
  --text-meta:                 #64748b;
  --text-eyebrow:              #b8f3bf;
  --text-section-label:        #007f18;
  --text-brand-blue-dark:      #0d6212;
  --text-nav-hover:            #ffffff;

  /* UI */
  --bg-label-pill:             rgba(0, 158, 32, 0.16);
  --bg-label-pill-sobre:       rgba(0, 158, 32, 0.16);
  --bg-btn-secondary:          rgba(255, 255, 255, 0.06);
  --bg-btn-secondary-hover:    rgba(255, 255, 255, 0.12);
  --bg-avatar:                 #dbeafe;
  --color-avatar-text:         #1d4ed8;
  --bg-result-stat:            rgba(255, 255, 255, 0.08);
  --bg-diff-item:              rgba(15, 23, 42, 0.05);
  --bg-hero-tag:               rgba(0, 158, 32, 0.14);
  --bg-hero-tags-span:         rgba(208, 222, 255, 0.05);
  --bg-tech-carousel:          rgba(255, 255, 255, 0.06);
  --bg-contact-form:           rgba(255, 255, 255, 0.03);
  --bg-about-icon:             rgba(0, 158, 32, 0.12);
  --border-about-icon:         rgba(0, 158, 32, 0.35);

  /* Sombras */
  --shadow-card:               0 24px 80px rgba(5, 11, 24, 0.2);
  --shadow-about-card:         0 20px 50px rgba(15, 23, 42, 0.08);
  --shadow-about-card-hover:   0 30px 90px rgba(15, 23, 42, 0.16);
  --shadow-satisfaction:       0 18px 60px rgba(15, 23, 42, 0.08);
  --shadow-result-card:        0 24px 70px rgba(4, 13, 38, 0.18);
  --shadow-solucoes:           0 24px 90px rgba(15, 23, 42, 0.08);

  /* Dots do carrossel */
  --dot-inactive:              rgb(210, 217, 231);
  --dot-active:                #0faa27;

  /* Tipografia base */
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.6;
  color-scheme: dark;
}


/* ============================================================
   RESET & BASE
   ============================================================ */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  padding-top: 72px;
  background: var(--bg-header);
}

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

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


/* ============================================================
   LAYOUT UTILITÁRIOS
   ============================================================ */

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-alt {
  background: var(--bg-surface-subtle);
  padding: 6rem 0;
}

.section-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.section-label {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-label-pill);
  color: var(--text-section-label);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}


/* ============================================================
   INTRO SCREEN
   ============================================================ 

#intro-screen {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#intro-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#intro-screen.fade-out {
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
*/

/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-subtle);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.logo { width: 10rem; padding: 0.75rem 0; }

.nav { display: flex; gap: 0.25rem; align-items: center; }

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active { background: rgba(255, 255, 255, 0.15); color: #fff; }

.nav-link.active {
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.7);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
}

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.18s;
}

.btn-header:hover { background: rgba(0, 0, 0, 0.35); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.18s;
}

.menu-toggle:hover { background: rgba(255, 255, 255, 0.25); }

.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: #042951;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-drawer.open { display: flex; }

.drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}

.drawer-link i { font-size: 16px; opacity: 0.75; }

.drawer-link:hover,
.drawer-link.active { background: rgba(255, 255, 255, 0.12); color: #fff; }

.drawer-cta {
  display: block;
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  transition: background 0.18s;
}

.drawer-cta:hover { background: rgba(255, 255, 255, 0.25); }

@media (max-width: 768px) {
  .nav            { display: none; }
  .header-divider { display: none; }
  .btn-header     { display: none; }
  .menu-toggle    { display: inline-flex; }
}


/* ============================================================
   BOTÕES
   ============================================================ */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  padding: 0.95rem 1.6rem;
  font-weight: 700;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.btn-primary {
  background: var(--color-brand-accent);
  color: #ffffff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--color-brand-accent-hover);
}

.btn-secondary {
  background: var(--bg-btn-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-card-dark);
}

.btn-secondary:hover { background: var(--bg-btn-secondary-hover); }


/* ============================================================
   HERO
   ============================================================ */

.hero {
  background-image:
    linear-gradient(rgba(5, 10, 30, 0.82), rgba(5, 10, 30, 0.88)),
    url("../img/futuristic-smart-city-with-5g-global-network-technology.jpg");
  min-height: calc(100vh - 88px);
  padding: 9rem 0 25rem;
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 720px;
  justify-content: center;
  padding-top: 10rem;
}

.hero .eyebrow,
.hero h1,
.hero-text,
.hero-actions {
  opacity: 0;
  transform: translateY(1rem);
  animation: fadeInHeroContent 0.85s ease-out forwards;
}

.hero .eyebrow  { animation-delay: 0.15s; }
.hero h1        { animation-delay: 0.3s; }
.hero-text      { animation-delay: 0.45s; }
.hero-actions   { animation-delay: 0.6s; }

@keyframes fadeInHeroContent {
  from { opacity: 0; transform: translateY(1rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--text-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  line-height: 1.02;
}

.hero-text {
  margin: 1.5rem 0 2rem;
  max-width: 40rem;
  color: var(--text-muted-light);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}


/* ============================================================
   CLASSES UTILITÁRIAS — usadas no HTML mas não definidas antes
   ============================================================ */

/* Transição suave padrão do projeto */
.transition-standard {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sombra sutil para cards e containers */
.elevation-subtle {
  box-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 4px 12px rgba(0,0,0,0.05);
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.text-glow {
  text-shadow: 0 0 20px rgba(126, 217, 158, 0.4);
}

.hero-gradient {
  background: #30347d;
}



/* ============================================================
   SEÇÃO SOBRE — Infraestrutura Urbana
   Complementa o Tailwind com ajustes de responsividade finos
   ============================================================ */

/* Badge flutuante: precisa de z-index para não ficar atrás de outros elementos */
#sobre .absolute.-bottom-6 {
  z-index: 10;
}

/* ── tablet (768px–1023px): imagem fica menor, badge se reposiciona ── */
@media (max-width: 1023px) {
  #sobre {
     text-align: center;
  }
  /* Reduz o padding horizontal da seção */
  #sobre.px-margin-desktop {
    padding-left: 20px;
    padding-right: 32px;
  }

  /* Imagem ocupa largura total no tablet antes do breakpoint lg */
  #sobre .aspect-\[4\/5\] {
    aspect-ratio: 16 / 9;
  }
  #carousel-container{
    display: none;
    padding-bottom:10px
  }
   #atendimento-inteligente{
    width: 100%;
    text-align: center;
  }
  
  
}

/* ── mobile (≤ 767px) ────────────────────────────────────────── */
@media (max-width: 767px) {

  /* Padding lateral menor */
  #sobre {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 48px;
    padding-bottom: 48px;
    text-align: center;
  }
  

  /* Imagem: proporção mais horizontal no mobile */
  #sobre .aspect-\[4\/5\] {
    aspect-ratio: 4 / 3;
  }
  #carousel-container{
    display: none;
    padding-bottom:10px
  }

  /* Badge flutuante: reposiciona para dentro do fluxo no mobile */
  .sobre-badge {
    position: static;
    margin-top: 16px;
    display: inline-flex;
    align-self: flex-start;
  }

  /* Remove o glow de hover da imagem (desnecessário em touch) */
  #sobre .blur-2xl {
    display: none;
  }

  /* Hover de scale na imagem não funciona em touch — remove */
  #sobre img.hover\:scale-105:hover {
    transform: none;
  }
  #atendimento-inteligente{
    width: auto;
  }
}

/* ── mobile pequeno (≤ 480px) ────────────────────────────────── */
@media (max-width: 480px) {
  #sobre {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
    
  }

  #carousel-container{
    display: none;
    padding-bottom:10px
  }

  /* Cards empilhados: reduz padding interno */
  #sobre .p-md {
    padding: 16px;
  }

  /* Ícone dos cards menor */
  #sobre .w-12.h-12 {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
   
  }
   #atendimento-inteligente{
    width: auto;
  }
}


/* ============================================================
   SEÇÃO FALE COM A LUZ — Sticky Scroll Storytelling
   (estilos do componente em fale-com-a-luz-scroll.css)
   ============================================================ */


/* ============================================================
   SEÇÃO PARCEIROS
   (adicione os estilos aqui quando necessário)
   ============================================================ */


/* ============================================================
   RESPONSIVO
   ============================================================ */

@media (max-width: 960px) {
  .about-cards   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-results { grid-template-columns: 1fr; }
    #atendimento-inteligente{
    width: auto;
  }
}

@media (max-width: 640px) {
  h2 { text-align: center; }

  .hero    { padding: 4rem 0 3rem; min-height: auto; text-align: center;  justify-content: center; }
  .hero h1 { font-size: 2.2rem; }
  .hero-actions                { flex-direction: column;  }

  .section-alt { padding: 3.5rem 0; }

  .header-container { gap: 0.75rem; }

  .partners-list              { gap: 0.75rem; justify-content: center; }
  .partners-list .partner img { max-height: 44px; }

  .carousel { height: 260px; }

  .sobre-grid    { padding: 3.5rem 0; }
  .about-cards   { grid-template-columns: 1fr; }
  .about-results { gap: 1rem; }
  .results-stats { grid-template-columns: 1fr; }

  .cards-grid                  { grid-template-columns: 1fr; }
  .solucoes-hero-content       { padding: 1.5rem; }
  .solucoes-side-card,
  .solucoes-summary-card,
  .solucoes-differentials-card { padding: 1.25rem; }

  .carousel-card { min-width: 100%; padding: 1.5rem; }

  .contact-section { padding: 3.5rem 0 4.5rem; }
  .contact-grid {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    border-radius: 1.25rem;
    gap: 1.5rem;
  }
  .contact-form  { padding: 1.5rem; margin-top: 0; }
  .contact-info  { margin-top: 0; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 1.5rem); }

  .hero         { padding: 3rem 0 2.5rem; }
  .hero h1      { font-size: 1.9rem; line-height: 1.1; }
  .hero-text    { font-size: 0.95rem; }

  .hero-actions                { flex-direction: column;  }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

  .carousel { height: 220px; }

  .carousel-card   { padding: 1.25rem; }
  #satisfacao h2   { font-size: 2rem; }

  .about-cards .card { min-height: auto; padding: 1.25rem; }
  .result-stat strong { font-size: 1.4rem; }

  .solucoes-hero-content { padding: 1.25rem; }
  .card                  { padding: 1.25rem; }

  .contact-grid  { padding: 0.75rem; gap: 1rem; }
  .contact-form  { padding: 1.25rem; border-radius: 1.25rem; }
  .contact-form input,
  .contact-form textarea { padding: 0.85rem 1rem; font-size: 0.9rem; }
  .contact-form button   { padding: 0.9rem 1rem; font-size: 0.95rem; }
  
}


/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: #04080f;
  position: relative;
}

.footer::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(151, 243, 181, 0.35) 50%, transparent 100%);
}

.footer-top {
  padding: 60px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-logo {
  height: 34px;
  width: auto;
  opacity: 0.88;
  display: block;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.45);
  max-width: 260px;
}

.footer-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #97f3b5;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-links li,
.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #97f3b5;
}

.footer-links .material-symbols-outlined {
  font-size: 16px;
  flex-shrink: 0;
  opacity: 0.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.025em;
  color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-top {
    padding: 44px 0 36px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
  #atendimento-inteligente{
    width: auto;
  }
}

/* ============================================================
   PREFERS REDUCED MOTION — global
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}