/* Importação de ícones Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

:root {
    --bg-primary: #FDFBFA; /* Off-white muito suave */
    --bg-secondary: #F4F2F0; /* Bege claro */
    --text-dark: #333333;
    --text-medium: #555555;
    --text-light: #777777;
    --accent-sage: #8DA399; /* Verde sálvia */
    --accent-blue: #4A6372; /* Azul acinzentado */
    --border-light: #E0DEDC;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-dark);
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--accent-blue);
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-sage);
    border-radius: 5px;
}

/* Header */
header {
    background: var(--white);
    padding: 1.2rem 8%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    color: var(--accent-blue);
    font-weight: 500;
}
.logo span {
    font-weight: 400;
    color: var(--accent-sage);
}

.nav-links {
    display: flex;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    margin: 0 20px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: var(--accent-sage);
}

.cta-header {
    background: var(--accent-blue);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}
.cta-header:hover {
    background-color: var(--accent-sage);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 8% 60px; /* Ajuste para header fixo */
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 55%; /* Ocupa menos espaço para dar destaque à imagem */
    z-index: 10;
    padding-right: 50px;
}
.top-tag {
    font-size: 0.9rem;
    color: var(--accent-sage);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}
.hero h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--accent-blue);
}
.hero p {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.7;
}
.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.btn-primary, .btn-secondary {
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.btn-primary {
    background: var(--accent-blue);
    color: var(--white);
    border: 2px solid var(--accent-blue);
}
.btn-primary:hover {
    background: var(--accent-sage);
    border-color: var(--accent-sage);
}
.btn-secondary {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}
.btn-secondary:hover {
    background: var(--accent-blue);
    color: var(--white);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%; /* Ocupa a outra metade da tela */
    background: url('https://images.unsplash.com/photo-1516100234551-510065603703?q=80&w=1000&auto=format&fit=crop') no-repeat center center/cover;
    /* Imagem: uma pessoa sendo ouvida/acolhida, com boa iluminação */
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%); /* Borda diagonal elegante */
}


/* Modalidades */
.modalidades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 80px 8%;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.mod-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}
.mod-card .icon {
    font-size: 3rem;
    color: var(--accent-sage);
    margin-bottom: 20px;
}
.mod-card h4 {
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-bottom: 15px;
}
.mod-card p {
    color: var(--text-light);
}

/* Especialidades */
.specialties {
    padding: 100px 8%;
    background-color: var(--bg-primary);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.specialty-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border-left: 5px solid var(--accent-sage);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.specialty-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.specialty-item h3 {
    font-size: 1.6rem;
    color: var(--accent-blue);
    margin-bottom: 10px;
}
.specialty-item p {
    color: var(--text-light);
}

/* Sobre (About) */
.about {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 100px 8%;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

.about-content {
    flex: 1;
    max-width: 55%;
}
.sub-heading {
    font-size: 1rem;
    color: var(--accent-sage);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}
.about h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--accent-blue);
}
.about p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 30px;
    line-height: 1.7;
}
.btn-outline {
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background: var(--accent-blue);
    color: var(--white);
}

.about-image {
    flex: 1;
    max-width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* FAQ */
.faq {
    padding: 100px 8%;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}
details {
    background: var(--white);
    padding: 25px 30px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-light);
}
summary {
    font-weight: 600;
    color: var(--accent-blue);
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none; /* Remove a seta padrão */
    position: relative;
    padding-right: 30px;
}
summary::marker { display: none; } /* Remove a marcação em alguns navegadores */
summary::after {
    content: '\25BC'; /* Seta para baixo */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}
details[open] summary::after {
    transform: translateY(-50%) rotate(180deg); /* Seta para cima quando aberto */
}
details p {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
    color: var(--text-light);
    font-size: 1rem;
}

/* Footer */
footer {
    background: var(--accent-blue);
    color: var(--white);
    padding: 60px 8% 25px;
    font-size: 0.95rem;
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}
.footer-brand, .footer-contact-info {
    flex: 1;
    min-width: 250px;
}
.footer-brand h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}
.footer-contact-info h4 {
    color: var(--accent-sage);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
.footer-contact-info p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}
.footer-contact-info a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-contact-info a:hover {
    color: var(--accent-sage);
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}
.social-icons a:hover {
    color: var(--accent-sage);
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsividade */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        padding-bottom: 40px;
        min-height: auto;
    }
    .hero-content {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero-image {
        position: static;
        width: 100%;
        height: 400px;
        clip-path: none;
        order: -1; /* Coloca a imagem acima do texto no mobile */
        margin-bottom: 40px;
    }
    .about {
        flex-direction: column;
        text-align: center;
    }
    .about-content, .about-image {
        max-width: 100%;
    }
    .about-image img {
        margin-top: 40px;
    }
    .nav-links { display: none; } /* Considerar um menu hambúrguer para mobile */
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }
    .specialties-grid { grid-template-columns: 1fr; }
    .footer-grid { flex-direction: column; text-align: center; }
    .footer-brand, .footer-contact-info { min-width: unset; }
    .social-icons { margin-top: 15px; }
}