:root {
    --primary-color: #3f6068; 
    --secondary-color: #E9E9E9; 
    --dark-bg: #A5A5A5; 
    --light-text: #ffffff; 
    --dark-text: #333333; 
    --logo-color: #a87d3a; 
    --button-bg: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--light-text);
}

.container {
    width: 90%;
    max-width: 1200px; 
    margin: 0 auto;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

h2 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 0.5em;
    color: var(--dark-text); 
}

p {
    margin-bottom: 1em;
    font-weight: 300;
}

.bold {
    font-weight: 600;
}

.section-pad {
    padding: 4em 0;
}

.header {
    background-color: var(--secondary-color);
    border-bottom: 1px solid #ddd;
    position: relative; 
    z-index: 100;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 0;
}

.logo a img {
    max-height: 80px; 
}

.nav-menu ul {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: var(--dark-text);
    font-weight: 400;
    font-size: 0.9em;
    padding: 0.5em;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-contato {
    background-color: var(--dark-bg); 
    color: var(--light-text);
    padding: 1.2em 1.5em; 
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9em;
    text-align: center;
    line-height: 0.5; 
    transition: background-color 0.3s;
}

.btn-contato:hover {
    background-color: var(--primary-color);
}

.menu-toggle {
    display: none;
}

.hero {
    padding: 3em 0 0em 0; 
    text-align: center;
}

.main-logo-img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.content-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.text-content, .image-content {
    flex: 1;
}

.image-content img {
    width: 100%;
    height: auto;
    max-height: 350px;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.btn-more {
    background-color: var(--button-bg); 
    color: var(--light-text);
    padding: 0.7em 1.5em;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    margin-top: 1em;
    transition: background-color 0.3s;
}

.btn-more:hover {
    background-color: var(--primary-color);
}

.quote {
    font-style: italic;
    font-weight: 400;
    margin: 1.5em 0;
    padding-left: 1.5em;
    border-left: 3px solid var(--logo-color);
    color: #555;
    font-size: 0.9em;
    text-align: right; 
}

.inverted-section {
    background-color: var(--dark-bg);
    color: var(--light-text);
}

.inverted-section h2 {
    color: var(--light-text);
}

.inverted-section p {
     font-weight: 400;
}

.inverted-section .btn-more {
    background-color: var(--button-bg); 
    color: var(--light-text);
}

.footer {
    background-color: var(--secondary-color);
    color: var(--dark-text);
    padding: 3em 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 3fr 2fr 1.5fr; 
    gap: 40px;
    align-items: center; 
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.footer-brand img {
    max-width: 250px; 
    height: auto;
    width: 100%; 
}

.footer-contact h3, .footer-menu h3 {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 1em;
}

.footer-contact p, .footer-menu a {
    font-size: 0.9em;
    margin-bottom: 0.5em;
    font-weight: 300;
    color: var(--dark-text);
}

.footer-menu ul {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.footer-social-column {
    display: flex;
    align-items: flex-start;
}

.footer-social {
    display: flex;
    align-content: center;
    gap: 15px;
    margin-top: 1.2em;
}

.footer-social img {
    width: 32px;
    height: 32px;
    filter: none;
}

@media (max-width: 900px) {

    .nav-bar {
        position: relative;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 250px;
        height: 100%;
        background-color: var(--light-text);
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        padding-top: 50px;
        z-index: 200;
    }
    
    .nav-menu.active {
        right: 0; 
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .nav-menu li {
        margin-bottom: 10px;
        border-bottom: 1px solid var(--secondary-color);
    }
    
    .nav-menu a {
        display: block;
        padding: 10px 0;
        font-weight: 600;
    }

    .menu-toggle {
        display: block; 
        background: none;
        border: none;
        font-size: 1.5em;
        color: var(--dark-text);
        cursor: pointer;
        order: 3; 
        margin-left: 15px;
    }
    
    .btn-contato {
        padding: 0.7em 1.2em;
        line-height: 1.2;
    }

    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 150;
        display: none;
    }
    
    .mobile-overlay.active {
        display: block;
    }

    .content-row {
        flex-direction: column;
        gap: 30px;
    }
    .image-content {
        order: -1; 
    }
    .main-logo-img {
        max-width: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-left {
        align-items: center;
    }
    .footer-social-column {
        justify-content: center;
        width: 100%;
    }
    .footer-social {
        margin-top: 0.5em;
    }
}

.js-scroll {
    opacity: 0;
    transform: translateY(50px); 
    transition: opacity 1.5s ease-out, transform 1s ease-out; 
}

.js-scroll-down {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 1.5s ease-out, transform 1s ease-out;
}

.js-scroll.active, .js-scroll-down.active {
    opacity: 1;
    transform: translateY(0);
}

.menu-open {
    overflow: hidden;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 1em; 
}

.footer-social-icons img {
    width: 30px;
    height: 30px;
    filter: none;
}

.formacao p {
    margin-bottom: 0.3em;
    line-height: 1.2;    
}

.text-content ul {
    list-style-type: disc;    
    padding-left: 20px;       
}

.text-content ul li {
    margin-bottom: 0.4em;     
}


.gestao-row {
    gap: 0px !important;              
    align-items: center;              
}

.gestao-img {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.gestao-img img {
    max-height: 350px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.gestao-row .text-content ul {
    margin-top: 0 !important;
}

.gestao-row .text-content ul li {
    margin-bottom: 0.2em !important;  
}

/* ================================
   ATENDIMENTO POR FASES DE VIDA
==================================*/

.section-title {
    font-size: 1.8em;
    margin-top: 2em;
    margin-bottom: 0.5em;
    color: var(--primary-color);
    font-weight: 700;
}

.section-intro {
    margin-bottom: 1.5em;
    font-weight: 300;
}

/* Container das duas colunas */
.fases-vida-container {
    margin-top: 1.5em;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Cartões das fases */
.fase-card {
    flex: 1 1 45%;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.fase-card h3 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 700;
}

.fase-card ul {
    list-style-type: disc;
    padding-left: 20px;
}

.fase-card ul li {
    margin-bottom: 0.4em;
}

/* Cores específicas */
.fase-infantil {
    border-color: #f0952d; 
}

.fase-maturidade {
    border-color: #2d6ff0;
}

/* Responsivo */
@media (max-width: 900px) {
    .fase-card {
        flex: 1 1 100%;
    }
}

/* ==========================================
   AVALIAÇÃO NEUROPSICOLÓGICA
========================================== */

.subsection-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    color: var(--primary-color);
}

.neuro-list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 1.5em;
}

.neuro-list li {
    margin-bottom: 0.4em;
}

.subsection-text {
    margin-bottom: 1.2em;
    font-weight: 300;
    line-height: 1.6;
}

/* LINHA DIVISÓRIA PADRÃO */
.section-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #c7c7c7, transparent);
    margin: 3em 0;
    border: none;
    opacity: 0.7;
}

/* ============================
   RESULTADOS & DEPOIMENTOS
============================ */

.resultados-intro {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 2em;
}

/* Lista em formato de "pílulas" (Premium) */

.pill-list {
    list-style: none;        
    padding-left: 0;
    margin-top: 1em;
    display: flex;
    flex-direction: column;  
    gap: 10px;
}

.pill-list li {
    background-color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95em;
    width: fit-content;      
}


/* Placeholder de imagem para Processos Seletivos */
.processos-row .text-content ul {
    list-style-type: disc;
    padding-left: 20px;
}

.processos-placeholder {
    border: 2px dashed #ccc;
    border-radius: 8px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    color: #777;
    text-align: center;
    padding: 10px;
}

/* Depoimento em destaque (Vera) */
.testimonial-feature {
    border-left: 4px solid var(--primary-color);
    padding: 20px 25px;
    border-radius: 8px;
    background-color: #fafafa;
    margin-top: 2.5em;
}

.testimonial-feature p {
    margin-bottom: 0.8em;
}

.testimonial-name {
    margin-top: 1em;
    font-weight: 600;
}

/* Grid de depoimentos menores */
.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 2em;
}

.testimonial-card {
    flex: 1 1 250px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #ffffff;
}

.testimonial-card p {
    margin-bottom: 0.8em;
}

.testimonial-card p:last-child {
    margin-bottom: 0;
}

/* Linha divisória para essa página (já existe .section-divider, reaproveitando) */
.section-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #c7c7c7, transparent);
    margin: 3em 0;
    border: none;
    opacity: 0.7;
}

/* Responsivo */
@media (max-width: 900px) {
    .processos-row .image-content {
        order: -1;
    }
}

/* ==========================
   CATALISA NA MÍDIA
========================== */

.midia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 1.5em;
}

.midia-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.midia-item p {
    font-size: 0.9em;
    margin-top: 5px;
}

/* Scroll Down para títulos */
.js-scroll-down-title {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s ease;
}

.js-scroll-down-title.show {
    opacity: 1;
    transform: translateY(0);
}
