* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    animation: fadeIn 0.5s ease-in-out;
}

/* ======================================== */
/* ESTILOS DA NAVBAR (ATUALIZADOS)  */
/* ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 8%; /* Padding um pouco menor para ficar mais elegante */
    background-color: rgba(10, 10, 10, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Borda sutil */
    transition: all 0.4s ease-out; /* Transição SUAVE para o scroll */
}

/* --- EFEITO DE SCROLL --- */
.navbar.scrolled {
    padding-top: 15px;
    padding-bottom: 15px; /* Navbar encolhe */
    background-color: rgba(5, 5, 10, 0.85); /* Fundo mais sólido */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-bottom-color: transparent; /* Esconde a borda sutil */
}

.logo { 
    height: 45px; 
    transition: height 0.4s ease-out; /* Transição para o logo */
}

.navbar.scrolled .logo {
    height: 40px; /* Logo encolhe um pouco ao rolar */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 60px; /* Gap um pouco menor */
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
    position: relative; /* Necessário para o pseudo-elemento */
    padding-bottom: 8px; /* Espaço para o underline */
}

/* --- EFEITO DE UNDERLINE MODERNO --- */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #001361; /* Cor da marca! */
    transform: scaleX(0); /* Começa invisível */
    transform-origin: center;
    transition: transform 0.4s ease-out;
}

/* --- EFEITO HOVER E ESTADO ATIVO --- */
.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1); /* Mostra o underline no hover ou se estiver ativo */
}

.nav-links a:hover { 
    color: #ffffff; /* Mantém branco, o underline é o destaque */
}

.nav-links a.active {
    color: #ffffff; /* Garante que o link ativo seja branco */
}

/* --- BOTÃO HAMBURGER ANIMADO --- */
.menu-toggle {
    display: none; /* Escondido no desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Acima do menu */
    margin-left: auto;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* --- ANIMAÇÃO DO HAMBURGER PARA "X" --- */
.menu-toggle.open .bar:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}
.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

.close-menu {
    display: none; /* Não precisamos mais deste ícone */
}

/* ======================================== */
/* FIM DOS ESTILOS DA NAVBAR              */
/* ======================================== */


.hero-section {
    background-image: url('apresentacaoinicio.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    max-width: 1000px;
    line-height: 1.2;
    margin-bottom: 30px;
    margin-top: 80px;
}

.cta-button {
    background-color: #001361;
    color: white;
    padding: 25px 50px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    display: inline-block;
    transition: background-color 0.3s ease;
    margin-left: 0;
    margin-top: 20px;
}

.cta-button:hover { background-color: #0022a0; }

.about-section {
    background-color: #f4f4f4;
    padding: 100px 8%;
}

.about-container { display: flex; align-items: center; gap: 60px; }
.about-text { flex: 1; }
.about-text h2 { color: #001361; font-size: 32px; margin-bottom: 20px; }
.about-text p { color: #000000; font-size: 20px; line-height: 1.6; }
.about-image {
    flex: 1;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.about-image img {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 2;
    object-fit: cover;
}
.about-image::after {
    content: '';
    position: absolute;
    z-index: 1;
    background-color: #001361;
    inset: 0;
    transform: translate(20px, 20px);
}

.mission-section {
    background-color: #f4f4f4;
    padding: 100px 8%;
    padding-top: 0;
}

.mission-container { display: flex; align-items: center; gap: 60px; }
.mission-image {
    flex: 1;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.mission-image img {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 2;
    object-fit: cover;
}
.mission-image::after {
    content: '';
    position: absolute;
    z-index: 1;
    background-color: #001361;
    inset: 0;
    transform: translate(-20px, -20px);
}
.mission-text {
    flex: 1; display: flex; flex-direction: column;
    justify-content: center; padding-left: 50px;
}
.mission-text h2 { color: #001361; font-size: 32px; margin-bottom: 20px; }
.mission-text ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    width: fit-content;
    list-style-position: outside;
}
.mission-text li {
    color: #000000;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
}

.diferenciais-section {
    background-color: #001361;
    color: #f0f0f0;
    padding: 80px 8%;
}

.diferenciais-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    text-align: center;
}

.diferencial-item { flex-basis: 22%; max-width: 250px; }
.diferencial-item img { height: 50px; margin-bottom: 25px; }
.diferencial-item h3 { font-size: 16px; font-weight: bold; margin-bottom: 15px; }
.diferencial-item p { font-size: 14px; line-height: 1.5; }

.depoimentos-section {
    background-color: #f4f4f4;
    padding: 80px 8%;
    text-align: center;
}

.section-title {
    color: #333;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 60px;
}

.depoimentos-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-bottom: 60px;
    text-align: left;
}

.depoimento-card {
    background-color: #001361;
    color: #f0f0f0;
    padding: 30px;
    border-radius: 15px;
    flex-basis: 31%;
    max-width: 380px;
    min-width: 300px;
    
    /* Efeitos de hover mantidos */
    box-shadow: 0 10px 25px rgba(0, 19, 97, 0.15);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    
    /* --- NOVAS MELHORIAS --- */
    position: relative; /* Essencial para o ícone de aspas */
    overflow: hidden; /* Para o ícone não vazar */
}

.depoimento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 19, 97, 0.25);
}

/* --- NOVO ÍCONE DE ASPAS DECORATIVO --- */
.depoimento-card::after {
    /* Código Font Awesome para "quote-right" (aspas da direita) */
    content: '\f10e'; 
    font-family: "Font Awesome 6 Free"; /* O nome da fonte */
    font-weight: 900; /* Ícones sólidos precisam de peso 900 */
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 80px; /* Tamanho grande */
    color: rgba(255, 255, 255, 0.05); /* Cor MUITO sutil */
    z-index: 1; /* Abaixo do texto */
    transform: rotate(10deg); /* Leve rotação para dar estilo */
}

.card-header { 
    display: flex; 
    align-items: center; 
    margin-bottom: 20px; 
    position: relative; /* Para ficar acima do ícone de aspas */
    z-index: 2;
}

.avatar {
    /* --- AVATAR REFEITO PARA INICIAIS --- */
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    margin-right: 15px;
    background-color: #0022a0; /* Tom de azul mais claro */
    
    /* Flexbox para centralizar a inicial */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    
    /* Estilo da Inicial */
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
}

.card-header h4 { 
    font-size: 18px; 
    color: #ffffff;
    font-weight: bold;
}

.card-body {
    position: relative; /* Para ficar acima do ícone de aspas */
    z-index: 2;
}

.card-body p { 
    font-size: 15px;
    font-style: normal;
    line-height: 1.6; 
    color: #e0e0e0; /* Um pouco mais suave que o nome */
}

.final-cta-button {
    background-color: #001361;
    color: white;
    padding: 20px 60px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 15px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.final-cta-button:hover { background-color: #0022a0; }

.site-footer {
    background-color: #001361;
    color: #ffffff;
    padding: 70px 8%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 280px;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #a9a9a9;
}

.footer-column p {
    font-size: 15px;
    line-height: 1.8;
}

.map-container iframe {
    border-radius: 8px;
    border: none;
}

/* ======================================== */
/* MEDIA QUERIES (ATUALIZADAS)    */
/* ======================================== */

@media (max-width: 1024px) {
    /* --- Estilos da Navbar para Mobile --- */
    .navbar {
        padding: 20px 5%;
        background-color: #001361; /* Usando a cor da marca no mobile! */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: none;
    }

    .navbar.scrolled {
        background-color: #000b3a; /* Um tom mais escuro da marca ao rolar */
        padding: 15px 5%;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #001361; /* Fundo do menu mobile */
        gap: 20px; /* Gap menor para os links */
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0.5s;
        z-index: 1000;
        padding-top: 0;
    }

    .nav-links.open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        margin: 10px 0;
        padding: 0;
        /* --- ANIMAÇÃO STAGGERED (CASCATA) --- */
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    /* Atraso para cada link aparecer */
    .nav-links.open li:nth-child(1) { transition-delay: 0.2s; }
    .nav-links.open li:nth-child(2) { transition-delay: 0.3s; }
    .nav-links.open li:nth-child(3) { transition-delay: 0.4s; }

    .nav-links.open li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links a { 
        font-size: 28px; 
        color: white; 
        font-weight: normal; 
        padding-bottom: 0;
    }
    
    /* Remove o efeito de underline no menu mobile */
    .nav-links a::after { 
        display: none; 
    }

    .menu-toggle { 
        display: flex; /* Mostra o hamburger no mobile */
    }

    /* --- Outros Estilos Mobile (Originais) --- */
    .hero-section { height: 80vh; padding: 0 5%; }
    .hero-content h1 { font-size: 36px; margin-top: 50px; text-align: center; }
    .cta-button { padding: 20px 40px; margin-left: 0; display: block; margin: 20px auto 0 auto; max-width: fit-content; }
    .about-section { padding: 80px 5%; }
    .about-container { flex-direction: column; gap: 40px; }
    .about-text h2 { font-size: 28px; text-align: center; }
    .about-text p { font-size: 18px; text-align: center; }
    .about-image::after { transform: translate(10px, 10px); }
    .mission-section { padding: 80px 5%; padding-top: 0; }
    .mission-container { flex-direction: column-reverse; gap: 40px; }
    .mission-text { padding-left: 0; text-align: center; }
    .mission-text h2 { font-size: 28px; }
    .mission-text ul { margin: 0 auto; width: fit-content; list-style-position: outside; padding-left: 20px; }
    .mission-text li { font-size: 18px; line-height: 1.6; margin-bottom: 15px; text-align: left; }
    .mission-image::after { transform: translate(-10px, -10px); }
    .diferenciais-container { flex-direction: column; align-items: center; }
    .diferencial-item { flex-basis: auto; width: 80%; max-width: 300px; margin-bottom: 30px; }
    .section-title { font-size: 30px; margin-bottom: 40px; }
    .depoimentos-container { flex-direction: column; align-items: center; }
    .depoimento-card { flex-basis: auto; width: 90%; max-width: 450px; margin-bottom: 30px; }
    .site-footer { padding: 50px 5%; }
    .footer-container { flex-direction: column; gap: 30px; text-align: center; }
    .footer-column { min-width: auto; width: 100%; }
    .footer-column h3 { margin-bottom: 15px; }
}

@media (max-width: 767px) {
    .navbar { padding: 15px 4%; }
    .logo { height: 40px; }
    /* .menu-toggle é controlado pelo flex, não precisa de font-size */
    
    .nav-links a { font-size: 24px; }
    .hero-section { height: 70vh; padding: 0 4%; }
    .hero-content h1 { font-size: 30px; margin-top: 30px; }
    .cta-button { padding: 18px 35px; }
    .about-section, .mission-section, .diferenciais-section, .depoimentos-section, .site-footer { padding: 60px 4%; }
    .about-text h2, .mission-text h2 { font-size: 24px; }
    .about-text p, .mission-text li { font-size: 16px; }
    .section-title { font-size: 28px; }
    .depoimento-card { padding: 25px; }
    .card-header h4 { font-size: 16px; }
    .card-body p { font-size: 14px; }
    .final-cta-button { padding: 15px 40px; font-size: 14px; }
}

@media (max-height: 500px) and (max-width: 800px) and (orientation: landscape) {
    .hero-section { height: 100vh; align-items: center; justify-content: center; text-align: center; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero-content h1 { font-size: 28px; margin-top: 0; }
    .nav-links a { font-size: 20px; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

body.fade-out {
    animation: fadeOut 0.5s ease-in-out forwards;
}