/* --- 1. VARIÁVEIS & RESET --- */
:root {    
    --primary-900: #0a4188;   
    --primary-800:#0A3F6D;   
    --primary-700: #175da7;
    --primary-600: #195A8C;
    --primary-300: #6AA8CB;
    /* Azul Médio */
    --primary-light: #eef6fc;
    --gray-light: #E3F0F5;
    /* Fundo claro padrão */
    
    /* Blog */
    --dark-700: #748596;
    --categoryText:#343A3F;

    /* ATUALIZAÇÃO: Novas cores solicitadas */
    --accent-yellow: #F9B033;
    /* Amarelo atualizado */
    --blue-card-bg: #B9D8E9;
    /* Novo fundo dos cards Diferenciais */
    --blue-card-bg-2: #90C0DA;
    /* Novo fundo dos cards Diferenciais */
    --blue-icon-bg: #195A8C;
    /* Novo fundo dos ícones */
    --gradient-shared-start: #B9D8E9;
    --gradient-shared-end:#0F2571;
    /* #E3F2FC00 */

    /* Cores de Texto e Base */
    --text-dark: #191812;
    --text-white: #ffffff;
    --text-blue: #195A8C;
    --text-gray: #56626D;

    /* Tipografia */
    --font-main: 'Lato', sans-serif;

    /* Espaçamentos e UI */
    --container-width: 1200px;
    --radius-card: 16px;
    --radius-blog: 20px;
    --radius-btn: 30px;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

/* ATUALIZAÇÃO: Ajuste global de parágrafos para peso 'light' (300) */
p {
    font-size: 1rem;
    font-weight: 300;
    /* Usando 300 pois 100 é muito fino para leitura em telas */
}

/* ATUALIZAÇÃO: ZKN do Brasil em negrito */
strong {
    font-weight: 900;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* --- 2. UTILITÁRIOS --- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.h-100 {
    height: 100%;
}

.text-white {
    color: var(--text-white);
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.centered-grid {
    justify-content: center;
}

@media (max-width: 768px) {

    .grid-2,
    .grid-5 {
        grid-template-columns: 1fr;
    }
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section--light {
    background-color: #fff;
}

.section--gray-light {
    background-color: #f4f6f8; 
   
}

.section__title {
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: var(--primary-900);
}

.center {
    text-align: center;
}

.mt-large {
    margin-top: 4rem;
}

.mt-medium {
    margin-top: 2rem;
}

/* --- 3. BOTÕES (Mantidos) --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-btn);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn--primary {
    background-color: var(--primary-300);
    color: var(--text-dark);
    border: 2px solid var(--primary-300);
    transition: var(--transition);
}

.btn--primary:hover {
    background-color: var(--primary-900);
    color: var(--text-white);
    transition: var(--transition);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--text-white);
    color: var(--text-white);
}

.btn--outline:hover {
    background: var(--text-white);
    color: var(--primary-900);
}

.btn--wide {
    width: 100%;
    max-width: 200px;
}

.btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn--blue-light {
    background-color: var(--primary-300);
    color: var(--primary-800);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.btn--blue-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* --- 4. HEADER (Mantido) --- */
.header {
    background-color: #fff;
    padding: 0.4 rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__container > img {
    width: 90px;
}

/* Menu de navegação */

.nav__list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
}

.nav__link:hover {
    color: var(--primary-700);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
}

.menu-nav{
    display: flex; 
    align-items: center; 
    /* gap:26px; */
}

.nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__actions > a {
    display: block;
}

@media (max-width: 900px) {
    .nav {
        display: none;
    }

    .header__actions > a {
    display: none;
}

    .mobile-toggle {
        display: block;
    }

}

/* --- 5. HERO SECTION (Atualizado para Vídeo) --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Estilo para o vídeo de fundo */
.hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(90deg, rgba(10, 65, 136, 0.85) 0%, rgba(10, 65, 136, 0.4) 100%); */
    z-index: -1;
}

.hero__content {
    color: var(--text-white);
    /* max-width: 800px; */
}

.hero__divider {
    width: 60px;
    height: 5px;
    background-color: var(--accent-yellow);
    margin-bottom: 1.5rem;
}

/* H1 menor conforme solicitado */
.hero__title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.hero__text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero__text strong {
    color: var(--text-white);
}

.services-content h2 {
    color: var(--text-blue) !important;
}

/* --- 6. CARDS DIFERENCIAIS (Atualizado) --- */
.card {
    padding: 2rem;
    border-radius: var(--radius-card);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Novo estilo de card azul sólido */
.card--blue {
    background-color: var(--blue-card-bg);
    text-align: left;
}

/* Novo estilo de ícone (usado em Diferenciais e Infraestrutura) */
.card__icon-box-v2 {
    display: inline-flex;
    padding: 10px;
    color: #ffffff;
    background-color: var(--blue-icon-bg);
    border-radius: var(--radius-card);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--primary-900);
}

/* Novo Divisor Central */
.hero__divider_center {
    width: 60px;
    height: 5px;
    background-color: var(--accent-yellow);
    margin: 3rem auto 0;
    /* Margem superior aumentada para separar dos cards */
}

.divider_blue{
    background-color: var(--blue-card-bg);
     width: 60px;
    height: 1px;
}

/* --- 7. TECNOLOGIA (Split Section - REDESIGN) --- */
.section--bg-image {
    /* Substituir pelo caminho real da imagem */
    background-image: url('assets/backgrounds/tecnologia.png');
    background-size: cover;
    background-position: right;
    height: 72vh;
    /* Altura fixa ou min-height */
    display: flex;
    align-items: center;
    position: relative;

}

/* Overlay escuro para garantir contraste do H2 branco */
.section--bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 65, 136, 0.214);
}

.tech-overlay-text {
    position: relative;
    /* Para ficar acima do overlay ::before */
    max-width: 500px;
    margin-left: 5%;
    /* Posicionamento centralizado à esquerda */
    top: 7rem;
}

.tech-overlay-text h2 {
    margin-bottom: 0;
    text-align: left;
    color: var(--text-white);
}

/* --- 8. WRAPPER COMPARTILHADO E SEÇÕES INTERNAS (NOVO) --- */
.shared-background-wrapper {
    background-image:linear-gradient(to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 90%,
        #ffffff 100%), url(assets/backgrounds/serviços-especializados.png);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    padding-bottom: 4rem;
}

/* Layout para a sobreposição do mascote */
.grid-2-overlap {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    /* Coluna do mascote um pouco menor */
    gap: 2rem;
    align-items: center;
}

.section--services-overlap {
    padding-top: 0;
    /* Remove padding superior para permitir overlap */
    padding-bottom: 3rem;
}

.mascot-container {
    position: relative;
    z-index: 10;
    /* Margem negativa para subir a imagem sobre a seção anterior */
    margin-top: -85px;
    text-align: right;
}

.mascot-img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    /* Filtro de sombra suave para destacar do fundo */
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

/* Ajustes para mobile na seção de overlap */
@media (max-width: 900px) {
    .grid-2-overlap {
        grid-template-columns: 1fr;
    }

    .mascot-container {
        margin-top: 0;
        text-align: center;
        order: -1;
    }

    .mascot-img {
        max-height: 400px;
        width: auto;
    }
}

/* Estilos dos itens de Serviços (Accordion look) */
.services-wrapper {
    background: var(--blue-card-bg-2);
    border-radius: var(--radius-card);
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-card);
}

.service-row {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.service-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.service-icon {
    font-size: 1.8rem;
    color: var(--primary-700);

}

.service-content h3 {
    font-weight: 900;
    color: var(--primary-900);
}

.service-center {
    gap: 10px;
    display: flex;
    align-items: center;
}

.link-arrow {
    color: var(--primary-700);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.ph-plus {
    color: #007AFF;
    background-color: #007bff44;
    padding: 2px;
    border-radius: 3px;
}

/* --- 9. INFRAESTRUTURA (Atualizado Cards) --- */
/* Novo estilo de card outline para Infraestrutura */
.stat-item--outline {
    text-align: left;
    background: transparent;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-card);
    border: 1px solid var(--primary-900);
    /* Borda azul escura */
    transition: all 0.3s ease;
}

.stat-item--outline:hover {
    background-color: rgba(10, 65, 136, 0.05);
}

.stat-item--outline h4 {
    font-weight: 900;
    color: var(--primary-900);
    margin-bottom: 0.5rem;
    font-size: 1.438rem;
    line-height: 1.8rem;
}

.stat-item--outline span {
    color: var(--primary-900);
    font-weight: 300;
}

/* --- 10. BLOG (REDESIGN VERTICAL) --- */
.blog-card-vertical {
    height: 536px;
    /* Altura fixa solicitada */
    border-radius: var(--radius-blog);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
}

.blog-card-vertical:hover {
    transform: translateY(-5px);
}

/* Overlay de gradiente do Blog */
.blog-card-vertical__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;   
    background: linear-gradient(0deg, rgb(6 49 105 / 95%) 0%, #00000099 40%, rgba(10, 65, 136, 0) 100%);    display: flex;
    align-items: flex-end;
    padding: 48px 43px;

}

.blog-card-vertical__content {
    color: var(--text-white);
    width: 100%;
}

.blog-card-vertical__content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 900;
    line-height: 1.3;
}

.blog-card-vertical__content p {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: 300;
}

.news .section__title{
    color: var(--text-gray);
}
/* --- 11. FORMULÁRIO, FOOTER & EXTRA (Mantidos) --- */
/* ... (O restante do CSS para formulário, footer e whatsapp permanece igual ao anterior, 
pois não houve pedido de alteração nestes blocos) ... */
.contact-box {
    background: var(--gray-light);
    border-radius: 20px;
    max-width: 1200px;
    max-height: 642px;
    margin: 0 auto;
    padding: 3rem 0;
}
.contact-box h2{
    color: var(--text-dark);
}
.contact-form  {   
    max-width: 621px;
    margin: 0 auto;
}

.contact-form .form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer__logos{
    display: flex;
    gap: 26px;
    height: 100%;
    align-items: center;

}

.footer_left{
    display: flex;
}

@media (max-width: 600px) {
    .contact-form .form-row {
        flex-direction: column;
    }
    
    .footer__container{
        justify-content: center !important;
    }
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: var(--font-main);
}

.footer {
    background-color: var(--primary-600);
    color: #fff;
    padding-top: 4rem;
}

.footer__container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 3rem;
    align-items: center;
}
.footer__socials{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__socials a {
    font-size: 1.5rem;
    color: #fff;
    align-items: center;
}

.footer__address {
    width: 227px ;
    font-style: normal;
    font-size: 0.9rem;
    opacity: 0.9;
    text-align: right;
    margin: 1rem 0;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer__contact i{
    color: var(--primary-300);
}

.footer__contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

.footer__contact a:hover {
    opacity: 1;
}

.footer__bottom {
    background-color:var(--primary-800);
    padding: 1rem 0;
    text-align: center;
    font-size: 0.8rem;
}

.footer__bottom .container {
    display: flex;
    justify-content: space-between;
}
.footer__bottom .container p {
  font-size: 0.8rem;
}
.footer__bottom .container span {
  display: inline-flex;
  align-items: center;


}

/* Scroll Reveal Styles */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}



