/* ======================================= */
/* 0. RESET E VARIÁVEIS GLOBAIS (AZUL MARINHO/BEGE CLARO) */
/* ======================================= */
:root {
    /* Paleta Azul Marinho e Cobre/Bege Suave - Profissional e de Autoridade */
    --color-primary: #0A3D62; /* Azul Marinho Profundo - Cor de destaque (Autoridade) */
    --color-secondary: #1A1A1A; /* Quase Preto - Para Títulos (Seriedade) */
    --color-text: #333333; /* Cinza Escuro para o corpo do texto (Leitura) */
    --color-accent: #8B7355; /* Cobre/Bege Suave para detalhes/acento */
    --color-light-bg: #F8F8F4; 
    --color-white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    font-weight: 500;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s;
}

a:hover {
    color: var(--color-secondary);
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    line-height: 1.2;
}

h2.section-title {
    font-size: 2.75rem; 
    margin-bottom: 1.5rem; /* Ajustado */
    text-align: center;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-light-bg); /* NOVO: Linha sutil de acabamento */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title-left {
    font-size: 2.75rem; 
    margin-bottom: 1.5rem;
    text-align: left;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-light-bg); /* NOVO: Linha sutil de acabamento */
}

.section-padding {
    padding: 5rem 0; /* AUMENTADO: Mais respiro e elegância */
}

/* ======================================= */
/* 1. BOTÕES (CTAs) - Refinado para Elegância */
/* ======================================= */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px; 
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    border: 1px solid transparent; 
    letter-spacing: 0.5px; 
}

/* Cores atualizadas para o novo esquema */
.btn-primary {
    background-color: var(--color-primary); /* Azul Marinho */
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-secondary); /* Quase Preto */
    border-color: var(--color-secondary);
}

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

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

.btn-text-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
}

/* ======================================= */
/* 2. HEADER E NAVEGAÇÃO                   */
/* ======================================= */
.header {
    background-color: var(--color-white);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05); 
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.logo-specialty {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--color-accent);
    display: block; 
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--color-text);
    font-weight: 500;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.btn-agendar-header {
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    border: 1px solid var(--color-primary);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s, opacity 0.3s;
}

.btn-agendar-header:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white) !important;
}

.menu-toggle {
    display: none; 
}


/* ======================================= */
/* 3. SEÇÃO HERO (HOME) - Espaço Ajustado  */
/* ======================================= */
.hero {
    padding: 6rem 0 4rem; /* AUMENTADO: Mais destaque na primeira dobra */
    background-color: var(--color-light-bg); 
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 400px; 
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.0rem;
    margin-bottom: 1rem;
    color: var(--color-primary); 
}

.hero-text .tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 400;
    color: var(--color-text);
}

.hero-credentials {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1rem 1.5rem;
    border-left: 5px solid var(--color-primary); 
    background-color: rgba(255, 255, 255, 0.7); 
    border-radius: 4px;
    display: inline-block; 
    line-height: 1.4;
    font-size: 0.95rem;
}

.hero-credentials p {
    margin: 0;
    color: var(--color-secondary);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-image {
    border-radius: 4px;
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* NOVO: Sombra suave na imagem */
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; 
    border-radius: 4px;
}

.trust-icons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-weight: 600;
    color: var(--color-secondary);
}


/* ======================================= */
/* 3.5. SEÇÃO DIFERENCIAIS                 */
/* ======================================= */
.diferenciais {
    padding: 5rem 0; /* AUMENTADO: Mais respiro */
    background-color: var(--color-white);
    text-align: center;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem; /* AUMENTADO */
}

.diferencial-item h4 {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 1rem;
    font-size: 1.2rem;
}

.diferencial-item p {
    font-size: 0.95rem;
    color: var(--color-text);
}

.diferencial-item .icon {
    font-size: 3rem;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.5rem;
}

/* ======================================= */
/* 4. SEÇÃO SOBRE MIM                      */
/* ======================================= */
.about-grid {
    display: grid;
    grid-template-columns: 0.3fr 0.4fr 0.3fr; 
    gap: 4rem;
    text-align: left;
    margin-top: 3rem;
    align-items: start;
}

.about-image-container {
    grid-column: 1 / 2;
    padding-top: 0.5rem; 
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* NOVO: Sombra suave na imagem */
}

.about-content {
    grid-column: 2 / 3;
}

.about-education {
    grid-column: 3 / 4;
    padding-left: 2rem;
    border-left: 1px solid var(--color-light-bg);
}

.about-education h3 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.education-list {
    list-style: none;
    padding-left: 0;
}

.education-list li {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.95rem;
}

.education-list li::before {
    content: "🎓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}


/* ======================================= */
/* 5. SEÇÃO ESPECIALIDADES                 */
/* ======================================= */
.specialties {
    background-color: var(--color-light-bg); 
    padding: 5rem 0; /* AUMENTADO: Mais respiro */
}

.specialties .subtitle {
    text-align: center;
    margin-bottom: 4rem; 
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem; 
}

.specialty-card {
    background-color: var(--color-white);
    padding: 2.5rem; 
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05); /* Sombra mais suave */
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: none; 
}

/* No seu .specialty-card:hover */
.specialty-card:hover {
    transform: translateY(-3px); 
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); 
    border-top: 3px solid var(--color-primary); 
    padding-top: calc(2.5rem - 3px); 
}

.specialty-card h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    border-bottom: 1px solid var(--color-light-bg); 
    padding-bottom: 0.5rem;
}

.card-link {
    font-weight: 600;
    margin-top: 1rem;
    display: block;
    color: var(--color-primary);
}

.cta-banner {
    background-color: var(--color-primary); 
    color: var(--color-white);
    padding: 2.5rem; 
    text-align: center;
    border-radius: 4px;
    margin-top: 5rem;
}

.cta-banner p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cta-banner .btn-secondary { 
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
    font-weight: 700;
}

.cta-banner .btn-secondary:hover {
    background-color: var(--color-light-bg);
    color: var(--color-secondary);
}


/* ======================================= */
/* 6. SEÇÃO CONTATO (Info + Mapa)          */
/* ======================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    text-align: left;
}

.contact-info h3 {
    color: var(--color-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Novo estilo para o Container do Mapa */
.contact-map-container { 
    background-color: var(--color-light-bg); 
    padding: 2.5rem; 
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05); 
}

.contact-map-container h3 {
    margin-top: 0;
    margin-bottom: 1.5rem; 
    font-size: 2rem;
    color: var(--color-secondary);
    border-bottom: 1px solid var(--color-white);
    padding-bottom: 1rem;
}

.contact-map-container iframe {
    width: 100%;
    height: 250px;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1); 
    border: none;
}


/* ======================================= */
/* 7. RODAPÉ (FOOTER)                      */
/* ======================================= */
.footer {
    background-color: var(--color-secondary); 
    color: var(--color-light-bg);
    padding: 2rem 0;
    font-size: 0.7rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-content a {
    color: var(--color-light-bg);
    margin-left: 1rem;
}

.footer-content a:hover {
    color: var(--color-primary);
}

/* ======================================= */
/* 8. BOTÃO FLUTUANTE DE WHATSAPP          */
/* ======================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366; 
    color: var(--color-white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px; 
    line-height: 60px;
    z-index: 1001;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.whatsapp-float:hover {
    background-color: #128c7e;
}


/* ======================================= */
/* 9. MEDIA QUERIES (RESPONSIVIDADE)       */
/* ======================================= */

/* Regra para telas de tamanho médio (Ex: Tablets na horizontal) */
@media (max-width: 1080px) {
    .hero-text h1 {
        font-size: 3rem; 
    }
}

@media (max-width: 992px) {
    
    .hero-grid, .contact-grid {
        grid-template-columns: 1fr; 
        gap: 2rem;
    }

    .hero-image {
        order: -1;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    /* Sobre Mim (Mobile) */
    .about-grid {
        grid-template-columns: 1fr; 
        gap: 2rem;
    }

    .about-image-container {
        display: block; 
        order: -1; 
    }
    
    .about-content, .about-education {
        grid-column: auto; 
    }
    
    .about-education {
        padding-left: 0;
        border-left: none; 
    }
    
    /* Centraliza títulos */
    .section-title-left {
        text-align: center; 
        border-bottom: none; /* Remove linha para não poluir o mobile */
    }
    
    /* Contato Mobile */
    .contact-map-container {
        order: 2; 
    }
    
    .contact-info {
        order: 1; 
    }
    
    /* Header Mobile */
    .nav-menu {
        display: none; 
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        display: block; 
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }

    .nav-menu li {
        text-align: center;
        border-bottom: 1px solid var(--color-light-bg);
        padding: 0.75rem 0;
    }
    
    .btn-agendar-header {
        display: block; 
        margin: 0.5rem 1rem;
        padding: 0.6rem 1rem;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--color-secondary);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    
   
   
   
   
   
   
   
   
   
/* ======================================= */
/* 11. MODAL DE TRAJETÓRIA (CORREÇÃO)      */
/* ======================================= */

/* O overlay deve estar fora de qualquer media query para funcionar em todos os dispositivos */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 61, 98, 0.95); /* Azul Marinho Profundo */
    display: none; /* O JS mudará para flex */
    justify-content: center;
    align-items: center;
    z-index: 99999; /* Valor altíssimo para ficar na frente de tudo */
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-box {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 35px;
    cursor: pointer;
    color: #0A3D62;
    line-height: 1;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #8B7355;
}

.trajectory-timeline {
    margin-top: 30px;
}

.timeline-item {
    border-left: 3px solid #8B7355; 
    padding-left: 20px;
    margin-bottom: 25px;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #0A3D62;
    border-radius: 50%;
}

.timeline-item h4 {
    color: #0A3D62;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.timeline-item p {
    font-size: 0.95rem;
    color: #333;
    margin: 0;
}
   
   
   
   
   
   
    




}
