/* Cores */
:root {
    --color-white: #fff;
    --color-black: #000;
    --color-green-emerald: #08a450;
    --color-green-light: #d0efdf;
}

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--color-green-emerald);
}

h1, h2, h3 {
    color: var(--color-black);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

.large-text {
    font-size: 1.25rem;
    line-height: 1.8;
}

.highlight-text {
    color: var(--color-green-emerald);
    font-weight: 700;
    font-size: 1.4rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Botões */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary {
    background-color: var(--color-green-emerald);
    color: var(--color-white);
    border: 2px solid var(--color-green-emerald);
}

.btn-primary:hover {
    background-color: #068140; /* Um pouco mais escuro que var(--color-green-emerald) */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-green-emerald);
    border: 2px solid var(--color-green-emerald);
}

.btn-secondary:hover {
    background-color: var(--color-green-light);
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: var(--color-white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--color-green-emerald);
}

.logo p {
    font-size: 0.9rem;
    margin-top: 0;
    color: var(--color-black);
}

.nav-menu ul {
    list-style: none;
    display: flex;
}

.nav-menu ul li {
    position: relative;
    margin-left: 30px;
}

.nav-menu ul li a {
    color: var(--color-black);
    font-weight: 400;
    padding: 10px 0;
    transition: color 0.3s ease;
    display: block;
}

.nav-menu ul li a:hover {
    color: var(--color-green-emerald);
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--color-white);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
    left: 0; /* Alinha o dropdown com o item pai */
}

.dropdown-content a {
    color: var(--color-black);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: var(--color-green-light);
    color: var(--color-green-emerald);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropbtn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropbtn i {
    transform: rotate(180deg);
}

/* Hamburger Menu (Mobile) */
.hamburger-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-black);
}

/* Banner */
.banner {
    background: url('./imagem-exemplo-consultorio-jungiano.png') no-repeat center center/cover; /* Substitua pela URL da sua imagem */
    color: #000;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay escuro */
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: #000;
    z-index: 3;
}

.banner h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--color-green-light);
}

/* Seções */
.section-padded {
    padding: 80px 0;
}

.section-alt-bg {
    background-color: var(--color-green-light);
}

/* Sobre Mim */
.profile-img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 30px;
}

.col-md-6 {
    flex: 1 1 48%; /* Quase metade, com um pequeno espaço */
    padding: 20px;
}

.col-md-6:first-child {
    margin-right: 4%;
}

.col-md-6 ul {
    list-style: none;
    margin-top: 15px;
}

.col-md-6 ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.col-md-6 ul li::before {
    content: '\f00c'; /* Checkmark icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--color-green-emerald);
    position: absolute;
    left: 0;
    top: 0;
}

/* Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-item h3 {
    color: var(--color-green-emerald);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Como Funciona a Terapia */
.therapy-steps {
    margin-top: 40px;
}

.step-item {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.step-item h3 {
    color: var(--color-green-emerald);
    font-size: 1.6rem;
    margin-bottom: 15px;
}

/* FAQ */
.faq-list {
    margin-top: 40px;
}

.faq-item {
    background-color: var(--color-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.faq-item h3 {
    color: var(--color-black);
    font-size: 1.4rem;
    cursor: pointer;
    position: relative;
    padding-right: 30px; /* Espaço para o ícone */
}

.faq-item h3::after {
    content: '\f078'; /* Chevron down icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.faq-item.active h3::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-item p {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--color-green-light);
}

.faq-item.active p {
    display: block;
}


/* Fotos do Consultório */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.photo-gallery img {
    width: 100%;
    height: 200px; /* Altura fixa para uniformidade */
    object-fit: cover; /* Garante que a imagem preencha o espaço sem distorcer */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Contato */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

.contact-details {
    flex: 1 1 45%;
    padding: 20px;
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-right: 20px;
}

.contact-details p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-details p i {
    color: var(--color-green-emerald);
    margin-right: 10px;
    font-size: 1.2rem;
}

.phone-number {
    font-weight: bold;
}

.map-container {
    flex: 1 1 50%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.map-container iframe {
    border: none;
    border-radius: 10px;
}

/* Formulário de Contato */
.contact-form {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-top: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--color-black);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-green-emerald);
    box-shadow: 0 0 0 3px rgba(8, 164, 80, 0.2);
    outline: none;
}

.form-group textarea {
    resize: vertical; /* Permite redimensionar verticalmente */
}

/* Botão WhatsApp Flutuante */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; /* Cor do WhatsApp */
    color: var(--color-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1001;
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

/* Animação de pulsação (halo) */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(8, 164, 80, 0.7); /* Cor da aura verde */
    }
    70% {
        box-shadow: 0 0 0 20px rgba(8, 164, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(8, 164, 80, 0);
    }
}

.whatsapp-button.pulse {
    animation: pulse 1.5s infinite;
}


/* Footer */
.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    font-size: 0.9rem;
}

.footer p {
    margin-bottom: 5px;
}

.footer-social-links {
    margin-bottom: 15px;
}

.footer-social-links a {
    color: var(--color-white);
    font-size: 1.8rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-social-links a:hover {
    color: var(--color-green-emerald);
}

.footer-links {
    margin-top: 15px;
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--color-white);
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-green-emerald);
}

.footer-seo-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-top: 20px;
}


/* Animações (CSS classes for JS) */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.visible .animate-fade-in {
    opacity: 1;
    transform: translateY(0);
}

.visible .animate-slide-up {
    opacity: 1;
    transform: translateY(0);
}


/* Media Queries para Responsividade */
@media (max-width: 992px) {
    .nav-menu ul li {
        margin-left: 20px;
    }
    .banner h2 {
        font-size: 2.8rem;
    }
    .banner h3 {
        font-size: 1.6rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu ul {
        display: none; /* Esconde o menu normal */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px; /* Ajuste conforme a altura do seu header */
        left: 0;
        background-color: var(--color-white);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        padding: 20px 0;
        border-radius: 0 0 8px 8px;
    }

    .nav-menu ul.active {
        display: flex; /* Mostra o menu quando ativo */
    }

    .nav-menu ul li {
        margin: 10px 0;
        text-align: center;
    }

    .nav-menu ul li a {
        padding: 10px;
        font-size: 1.1rem;
    }

    .dropdown-content {
        position: static; /* No mobile, o dropdown se expande na vertical */
        box-shadow: none;
        background-color: var(--color-green-light);
        width: 100%;
        padding: 0;
        border-radius: 0;
    }

    .dropdown-content a {
        padding: 10px 20px;
    }

    .hamburger-menu {
        display: block; /* Mostra o ícone do hambúrguer */
    }

    .header-content {
        padding: 10px 20px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .banner {
        padding: 80px 20px;
    }

    .banner h2 {
        font-size: 2.2rem;
    }

    .banner h3 {
        font-size: 1.3rem;
    }

    .row {
        flex-direction: column;
    }

    .col-md-6 {
        flex: 1 1 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .profile-img {
        max-width: 250px;
    }

    .services-grid, .therapy-steps, .faq-list {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
    }

    .contact-details, .map-container {
        flex: 1 1 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 2rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .banner h2 {
        font-size: 1.8rem;
    }
    .banner h3 {
        font-size: 1.1rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .large-text {
        font-size: 1.1rem;
    }
}