/* Reset básico para tirar margens padrão */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Força a remoção de qualquer sublinhado nos links do menu */
.nav-menu a,
.nav-menu a:link,
.nav-menu a:visited,
.nav-menu a:hover,
.nav-menu a:active {
    text-decoration: none !important;
}


/* Estrutura Principal da Navbar */
.navbar {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background-color: #ffffff; /* Ou escuro, se preferir */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Sombra suave abaixo */
  width: 100%;
  z-index: 1000; /* Mantém a navbar acima de outros elementos */
  transition: transform 0.3s ease-in-out; /* Controla a velocidade do sumiço/aparição */
    /* ... (mantenha os outros estilos que você já tem de padding, fundo, etc.) ... */
}

/* Classe que será ativada via JavaScript para esconder o menu */
.navbar.nav-hidden {
    transform: translateY(-100%); /* Joga o cabeçalho para cima da tela */
}

/* 1. Estilização da Logo */
.logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  color: #111827;
}

.logo-icon {
  color: #d97706; /* Cor de destaque para o ícone da logo */
}

/* 2. Estilização do Menu */
.menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: #4b5563;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: #111827; /* Fica mais escuro ao passar o mouse */
  text-decoration: none;
}

/* Controla o tamanho da sua Logo em PNG para encaixar perfeitamente na barra */
.logo img {
    height: 40px;          /* Ajuste a altura conforme o tamanho ideal da sua logo (ex: 35px a 50px) */
    width: auto;           /* Mantém a proporção correta da imagem */
    display: block;
}

/* 3. Estilização do Botão WhatsApp */
.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #10b981; /* Verde idêntico ao da imagem */
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 8px; /* Cantos levemente arredondados */
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-whatsapp:hover {
  background-color: #059669; /* Verde um pouco mais escuro no hover */
}

.btn-whatsapp:active {
  transform: scale(0.98); /* Efeito de clique */
}

/* Estilização do Banner Principal (Hero Tech) */
.hero-tech {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 5%;
  background: linear-gradient(135deg, #060b19 0%, #0f172a 100%);
  color: #ffffff;
  overflow: hidden;
  min-height: 85vh; /* Ocupa quase toda a altura da tela */
}



/* Conteúdo de Texto da Esquerda */
.hero-content {
    max-width: 600px;
}

/* Tag de Destaque */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #60a5fa;
    margin-bottom: 20px;
}

/* Título e Descrição */
.hero-content h1 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 30px;
}

/* Botões de Ação */
.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: #2563eb;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-tech > * {
    z-index: 2; /* Mantém o conteúdo acima do fundo */
}



/* --- NOVO ESTILO DO LADO DIREITO (Substitui a caixa de código) --- */
.hero-visual-3d {
    position: relative;
    width: 45%; /* Ocupa metade do espaço */
    height: 350px; /* Define uma altura fixa para o "palco" */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilo base para os itens flutuantes */
.tech-item {
    position: absolute; /* Permite posicionar livremente no palco */
    width: 100px;
    height: 100px;
    background: rgba(15, 23, 42, 0.7); /* Fundo escuro translúcido */
    border: 1px solid rgba(56, 189, 248, 0.3); /* Borda neon leve */
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px); /* Efeito de vidro fosco */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
}

/* Efeito de brilho (Glow) ao redor do item */
.tech-item .glow {
    position: absolute;
    inset: -5px; /* O brilho fica um pouco maior que o item */
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
    filter: blur(10px);
    opacity: 0.5;
    z-index: -1;
}

/* Efeito de flutuação suave (animação) */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.tech-item:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(56, 189, 248, 0.6);
}

.icon-placeholder {
    font-size: 40px;
}

/* --- POSICIONAMENTO ESPECÍFICO DOS ITENS --- */

/* Servidor (Topo Esquerdo) */
.server-rack {
    top: 20px;
    left: 50px;
    animation: float 4s ease-in-out infinite;
}
.server-icon { color: #38bdf8; } /* Azul Ciano */

/* Nuvem (Centro Direito) */
.cloud-data {
    top: 120px;
    right: 30px;
    animation: float 5s ease-inout infinite;
    animation-delay: 1s;
    width: 120px; height: 120px;
}
.cloud-icon { color: #a78bfa; } /* Roxo */

/* Chip (Inferior Esquerdo) */
.chip-gear {
    bottom: 20px;
    left: 120px;
    animation: float 4.5s ease-inout infinite;
    animation-delay: 2s;
    width: 90px; height: 90px;
}
.chip-icon { color: #22c55e; } /* Verde */

/* --- LINHAS DE CONEXÃO DE DADOS (Css Puro) --- */
.data-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(45deg, transparent 49%, rgba(56, 189, 248, 0.2) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(167, 139, 250, 0.2) 50%, transparent 51%);
    background-size: 60px 60px;
    opacity: 0.8;
    z-index: 1;
}

/* --- SEÇÃO DE SERVIÇOS COM FUNDO CLARO --- */
.servicos-section {
    padding: 50px 5% 80px 5%; /* Reduzido de 100px para 50px no topo */
    background-color: #ffffff;
    color: #1e293b;
}

.section-header {
    text-align: center; /* Centraliza o texto e a tag */
    max-width: 700px;
    margin: 0 auto 40px auto; /* Centraliza o bloco na tela e mantém a distância para os cards */
}

.section-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

/* Título e textos escuros */
.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #0f172a;
    line-height: 1.2;
}

.section-header p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.5;
}

/* --- GRID DE CARDS --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    align-items: stretch;
}

/* Ajuste dos Cards para o fundo claro */
.service-card {
    background: #f8fafc; /* Fundo do card cinza clarinho */
    border: 1px solid #e2e8f0; /* Borda suave */
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05); /* Sombra leve ao passar o mouse */
    border-color: #145fb4;
}

/* Card em Destaque no Fundo Claro (Mantém o contraste escuro nele para atrair o olhar) */
.service-card.featured {
    background: #0f172a; /* Card principal escuro no meio do fundo branco */
    color: #ffffff; /* Texto branco para contraste */
    border: 2px solid #2563eb;
    box-shadow: 0 20px 35px rgba(37, 99, 235, 0.15);
    transform: scale(1.02);
}

.service-card.featured:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 45px rgba(37, 99, 235, 0.2);
    border-color: #e9ebee;
}

.badge-destaque {
    position: absolute;
    top: -12px;
    left: 90px;
    right: 90px;
    background-color: #2563eb;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-align: center;
    
}

/* Conteúdo do Card */
.card-top h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.card-top p {
    font-size: 14px;
    color: #1d1f22;
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 40px;
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured .card-price,
.service-card.featured .service-features li {
    color: #ffffff; /* Garante que o texto dentro do card escuro fique branco */
}

.service-card.featured .card-price strong {
    color: #38bdf8;
}

.service-card.featured .service-features li span {
    color: #22c55e;
}
/* Textos dos cards normais */
.card-top h3 {
    color: #0f172a;
}

.card-top p {
    color: #64748b;
}

.card-price {
    color: #1e1f20;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

.card-price strong {
    color: #0f172a;
    font-size: 18px;
}

.service-features li {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li span {
    color: #22c55e; /* Cor do check verde */
    font-weight: bold;
}

.btn-card {
    display: block;
    text-align: center;
    background-color: transparent;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-card:hover {
    background-color: #f1f5f9;
    border-color: #94a3b8;
}

/* Rodapé do Card (Prazo e Botão) */
.card-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.prazo {
    font-size: 12px;
    color: #64748b;
}

.btn-card.primary {
    background-color: #2563eb;
    border-color: #2563eb;
}

.btn-card.primary:hover {
    background-color: #1d4ed8;
}

.solucoes {
    padding: 60px 5%;
    background-color: #f1f5f9;
    text-align: center;
    border: 10px solid #e2e8f0;
    border-radius: 20px;
}

/* --- SEÇÃO SOBRE NÓS --- */
.sobre-section {
    padding: 100px 5%;
    background: #060b19;
    color: #ffffff;
    border-top: 1px solid rgba(56, 189, 248, 0.1);
}

.sobre-container {
    max-width: 900px;
    margin: 0 auto;
}

.sobre-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sobre-content p {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.sobre-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item .stat-number {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 5px;
}

.stat-item .stat-label {
    font-size: 14px;
    color: #64748b;
}

/* --- SEÇÃO FAQ --- */
.faq-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, #060b19 0%, #0f172a 100%); /* Fundo Dark Tech exclusivo */
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}

/* Lado Esquerdo */
.faq-intro {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
}

.faq-intro h2 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-intro p {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-faq-whatsapp {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
    transition: all 0.2s ease;
}

.btn-faq-whatsapp:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

/* Lado Direito (Acordeão) */
.faq-accordion {
    flex: 1.5;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(56, 189, 248, 0.5);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #ffffff;
    padding: 20px 25px;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    font-size: 20px;
    color: #38bdf8;
    transition: transform 0.3s ease;
}

/* Resposta escondida por padrão */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 25px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
}

/* Quando ativo (aberto) */
.faq-item.active .faq-answer {
    max-height: 150px;
    padding: 0 25px 20px 25px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); /* Gira o ícone de + para virar um x/fechar */
}

/* --- ESTILOS DO RODAPÉ (FOOTER) --- */
.footer-tech {
    background-color: #040814; /* Tom ainda mais profundo que o fundo da hero para dar peso */
    color: #94a3b8;
    padding: 80px 5% 30px 5%;
    border-top: 1px solid rgba(56, 189, 248, 0.15);
    position: relative;
    overflow: hidden;
}

/* Container de Colunas */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* Colunas individuais */
.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Logo no Rodapé */
.footer-logo {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
}

.logo-highlight {
    color: #38bdf8;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #94a3b8;
}

/* Links das Redes Sociais */
.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #94a3b8;
    text-decoration: none !important;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: #38bdf8;
}

/* Listas de Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none !important;
    font-size: 14px;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px); /* Efeito sutil de movimento ao passar o mouse */
}

/* Bloco de Contato */
.footer-contact-info {
    font-size: 14px;
    margin-bottom: 15px;
    color: #94a3b8;
}

.footer-whatsapp-btn {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.2s ease;
}

.footer-whatsapp-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

/* Linha Inferior / Copyright */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #64748b;
}

.footer-signature {
    color: #38bdf8;
    font-weight: 500;
}

.footer-email {
    margin-top: 15px;
    font-size: 13px;
    color: #94a3b8;
}

.footer-email a {
    color: #38bdf8;
    text-decoration: none !important;
}

.footer-email a:hover {
    text-decoration: underline !important;
}

/* --- CORREÇÃO DOS LINKS DO CABEÇALHO --- */
.navbar .menu a,
.navbar .menu a:link,
.navbar .menu a:visited,
.navbar .menu a:hover,
.navbar .menu a:active {
    text-decoration: none !important;
    border-bottom: none !important;
    background-image: none !important;
    color: #10043d !important; /* Cor escura para os links do cabeçalho */
}

/* --- CORREÇÃO DOS LINKS DO RODAPÉ (Fundo Escuro) --- */
.footer-links a,
.footer-links a:link,
.footer-links a:visited,
.footer-links a:hover,
.footer-links a:active,
.footer-social a,
.footer-social a:link,
.footer-social a:visited,
.footer-social a:hover,
.footer-social a:active {
    text-decoration: none !important;
    border-bottom: none !important;
    background-image: none !important;
    color: #94a3b8 !important; /* Cor clara/cinza ideal para aparecer no rodapé escuro */
}

/* Efeito ao passar o mouse nos links do rodapé para ficarem destacados */
.footer-links a:hover,
.footer-social a:hover {
    color: #38bdf8 !important; /* Azul tech brilhante quando passa o mouse no rodapé */
}

/* --- AJUSTES DE RESPONSIVIDADE PARA SMARTPHONES --- */

@media screen and (max-width: 768px) {
    
    /* 1. Cabeçalho e Menu */
    .navbar {
        padding: 10px 5%;
        flex-direction: column; /* Empilha a logo e o menu verticalmente */
        gap: 12px;
    }

    .navbar .menu ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px; /* Espaçamento confortável entre os links no celular */
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .navbar .menu a {
        font-size: 14px;
    }

    /* Esconde o botão do WhatsApp do topo em telas muito pequenas se faltar espaço, ou ajusta o tamanho */
    .navbar .nav-cta {
        display: none; /* Opcional: esconde o botão do header no mobile para não poluir, já que tem no rodapé e nos cards */
    }

    /* 2. Seção Hero (Topo) */
    .hero-tech {
        padding: 140px 5% 60px 5%; /* Dá mais espaço no topo por conta do menu empilhado */
        text-align: center;
    }

    .hero-content h1 {
        font-size: 26px; /* Reduz o título principal para caber bem na tela do celular */
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column; /* Os botões ficam um embaixo do outro no celular */
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    /* Esconde os elementos 3D/flutuantes do topo no mobile para não atrapalhar a leitura */
    .hero-visual-3d {
        display: none; 
    }

    /* 3. Seção de Serviços */
    .servicos-section {
        padding: 60px 5%;
    }

    .services-grid {
        grid-template-columns: 1fr; /* Os cards de serviços ficam um abaixo do outro */
    }

    /* 4. Seção Sobre Nós e FAQ */
    .faq-section {
        flex-direction: column; /* Texto à esquerda e acordeão vão um abaixo do outro */
        padding: 60px 5%;
        gap: 30px;
    }

    .faq-intro {
        max-width: 100%;
    }

    .faq-intro h2 {
        font-size: 28px;
    }

    .sobre-section {
        padding: 60px 5%;
    }

    .sobre-content h2 {
        font-size: 28px;
    }

    .sobre-stats {
        gap: 20px;
    }

    /* 5. Rodapé (Footer) */
    .footer-tech {
        padding: 50px 5% 20px 5%;
    }

    .footer-container {
        grid-template-columns: 1fr; /* Colunas do rodapé viram uma única coluna */
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* --- CORREÇÃO DO CABEÇALHO NO MOBILE --- */
@media screen and (max-width: 768px) {
    
    /* Garante que o cabeçalho fique no topo, visível e com espaço correto */
    header.navbar {
        position: relative !important; /* Deixa o header fluindo no topo para não sumir */
        width: 100%;
        background-color: #ffffff;    /* Fundo branco para destacar no mobile */
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 12px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        z-index: 1000;
    }

    /* Corrige o espaçamento da primeira seção (Hero) para o conteúdo não colar no topo */
    section.hero-tech {
        padding-top: 40px !important;
    }

    /* Evita que os textos estourem para fora da tela nas laterais */
    .hero-content, 
    .servicos-section, 
    .faq-section, 
    .sobre-section, 
    .footer-tech {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box;
    }

    /* Ajusta o tamanho da logo para não ocupar espaço demais no celular */
    .logo img {
        height: 32px !important;
    }
    
    .logo-text {
        font-size: 16px;
    }
}

/* --- CORREÇÃO DEFINITIVA DE ESTOURO LATERAL (MOBILE) --- */

/* Trava qualquer transbordamento horizontal indesejado na tela */
html, body {
    width: 100%;
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
}

/* Garante que imagens, grids e containers nunca ultrapassem a largura da tela do celular */
img, svg, video {
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 390px), (max-width: 430px) {
    /* Força os containers principais a respeitarem estritamente a tela */
    .hero-content, 
    .servicos-section, 
    .faq-section, 
    .sobre-section, 
    .footer-tech,
    .navbar {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    /* Evita que títulos longos estigurem a caixa no iPhone */
    h1, h2, p {
        word-break: break-word;
    }
}