/* Custom CSS for Psychology Clinic Landing Page */

:root {
    --primary-color: #79addc; /* Azul suave */
    --secondary-color: #84dcc6; /* Verde água */
    --accent-color: #f7e1d7; /* Tom pastel para detalhes ou fundo */
    --dark-color: #34495e; /* Azul escuro para textos e rodapé */
    --light-bg: #fdfefe; /* Fundo muito claro */
    --text-color: #555; /* Cor de texto padrão */
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: var(--dark-color);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 5px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(52, 73, 94, 0.75), rgba(52, 73, 94, 0.75)), url('https://images.unsplash.com/photo-1579869503463-b1c3e3a4e9b9?crop=entropy&cs=tinysrgb&fit=crop&fm=jpg&h=900&ixid=MnwxfDB8MXxyYW5kb218fHxwYXN0ZWwlMjBhYnN0cmFjdCUyMGJhY2tncm91bmQlMjBwc3ljaG9sb2d5fHx8fHx8MTY3ODcwMTM0Mg&ixlib=rb-4.0.3&q=80&w=1920') no-repeat center center/cover;
    min-height: 85vh; /* Aumentado para mais impacto */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 4rem; /* Maior para desktop */
    line-height: 1.2;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 1.7rem; /* Maior para desktop */
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-color);
    font-weight: 700; /* Mais negrito */
    padding: 1.2rem 3.5rem; /* Um pouco maior */
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    font-size: 1.3rem; /* Maior */
}

.hero-section .btn-primary:hover {
    background-color: #a0f0d9;
    border-color: #a0f0d9;
    transform: translateY(-5px) scale(1.02); /* Efeito mais pronunciado */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services-section {
    padding: 80px 0; /* Mais padding */
    background-color: var(--light-bg);
}

.services-section .card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease-in-out;
    background-color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* Sombra mais visível */
    padding: 30px; /* Mais padding interno */
}

.services-section .card:hover {
    transform: translateY(-8px); /* Efeito mais pronunciado */
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

.services-section .icon-wrapper {
    background-color: var(--accent-color);
    border-radius: 50%;
    width: 100px; /* Ícone maior */
    height: 100px; /* Ícone maior */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.05); /* Sombra interna sutil */
}

.services-section .icon-wrapper .bi {
    color: var(--primary-color);
    font-size: 3.5rem !important;
}

.services-section .card-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.services-section .card-text {
    font-size: 1.05rem;
    color: var(--text-color);
}


/* Professionals Section */
.professionals-section {
    padding: 80px 0;
    background-color: white;
}

.professionals-section .card {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.professionals-section .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.professionals-section .card-img-top {
    width: 180px; /* Maior para destaque */
    height: 180px; /* Maior para destaque */
    object-fit: cover;
    margin-top: 25px;
    border: 5px solid var(--primary-color); /* Borda mais grossa */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* Sombra na foto */
}

.professionals-section .card-title {
    font-size: 1.6rem; /* Tamanho ajustado */
    margin-top: 20px;
}

.professionals-section .card-text.text-muted {
    font-size: 0.95rem;
}

.professionals-section .card-text.small {
    font-size: 1rem;
    margin-bottom: 20px;
}

.professionals-section .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.7rem 1.8rem;
    border-radius: 50px; /* Mais arredondado */
    transition: all 0.3s ease-in-out;
}

.professionals-section .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* NOVA SEÇÃO: POR QUE ESCOLHER */
.why-choose-section {
    padding: 80px 0;
    background-color: var(--accent-color); /* Fundo com a cor pastel */
}

.why-choose-section .feature-item {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    height: 100%; /* Garante que todos os cards tenham a mesma altura na linha */
}

.why-choose-section .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

.why-choose-section .icon-wrapper {
    background-color: var(--secondary-color); /* Usando verde água aqui */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.why-choose-section .icon-wrapper .bi {
    color: white; /* Ícone branco para contraste */
    font-size: 2.5rem !important;
}

.why-choose-section h5 {
    font-size: 1.6rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.why-choose-section p {
    font-size: 1rem;
    color: var(--text-color);
}


/* Scheduling Form Section */
.scheduling-form-section {
    background: linear-gradient(rgba(121, 173, 220, 0.88), rgba(121, 173, 220, 0.88)), url('https://images.unsplash.com/photo-1516574100657-b0805174e503?crop=entropy&cs=tinysrgb&fit=crop&fm=jpg&h=900&ixid=MnwxfDB8MXxyYW5kb218fHxwYXN0ZWwlMjBhYnN0cmFjdCUyMGJhY2tncm91bmQlMjBhYm91dCUyMHBlYWNlfHx8fHx8MTY3ODcwMTM0Mg&ixlib=rb-4.0.3&q=80&w=1920') no-repeat center center/cover;
    background-attachment: fixed;
    padding: 80px 0;
    color: white;
}

.scheduling-form-section h2 {
    color: white;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.2);
}

.scheduling-form-section .card {
    border-radius: 20px; /* Mais arredondado */
    background-color: rgba(255, 255, 255, 0.98); /* Quase opaco */
    color: var(--text-color);
    padding: 20px; /* Padding interno para o card */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.scheduling-form-section .form-label {
    font-weight: 700; /* Mais negrito */
    color: var(--dark-color);
    margin-bottom: 8px; /* Espaço para o label */
    font-size: 1.05rem;
}

.scheduling-form-section .form-control,
.scheduling-form-section .form-select {
    border-radius: 10px; /* Mais arredondado */
    border: 1px solid #dee2e6;
    padding: 0.9rem 1.2rem; /* Mais padding */
    font-size: 1.05rem;
}

.scheduling-form-section .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px; /* Totalmente arredondado */
    transition: all 0.3s ease-in-out;
    font-size: 1.2rem;
}

.scheduling-form-section .btn-primary:hover {
    background-color: #6a9ac2;
    border-color: #6a9ac2;
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    padding: 50px 0; /* Mais padding */
}

.footer h5 {
    color: white;
    font-weight: 700;
    font-size: 1.6rem;
}

.footer p, .footer a {
    color: rgba(255, 255, 255, 0.75); /* Mais claro */
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer .social-icon {
    font-size: 2rem !important; /* Ícones maiores */
    transition: transform 0.3s ease;
}

.footer .social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    color: var(--secondary-color) !important;
}

/* Animate.css Integration */
.animate__animated {
    visibility: hidden; /* Esconde por padrão para o JS controlar */
}

.animate__animated.visible {
    visibility: visible;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) { /* Tablets e menores */
    .hero-section h1 {
        font-size: 3rem;
    }
    .hero-section p {
        font-size: 1.3rem;
    }
    .hero-section .btn-primary {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .services-section .card,
    .professionals-section .card,
    .scheduling-form-section .card {
        padding: 25px; /* Reduz padding */
    }
    
    /* Why Choose Section Responsive */
    .why-choose-section .feature-item {
        padding: 25px;
    }
    .why-choose-section .icon-wrapper {
        width: 70px;
        height: 70px;
    }
    .why-choose-section .icon-wrapper .bi {
        font-size: 2.2rem !important;
    }
    .why-choose-section h5 {
        font-size: 1.4rem;
    }
    .why-choose-section p {
        font-size: 0.95rem;
    }


    .scheduling-form-section .form-control-lg,
    .scheduling-form-section .form-select-lg {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    .scheduling-form-section .btn-primary {
        font-size: 1.1rem;
        padding: 0.8rem 2rem;
    }

    .footer .social-icon {
        font-size: 1.6rem !important;
    }
}

@media (max-width: 767.98px) { /* Celulares */
    .hero-section {
        min-height: 75vh;
        padding: 60px 0;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1.1rem;
    }
    .hero-section .btn-primary {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.9rem;
        padding-bottom: 10px;
    }
    .section-title::after {
        width: 60px;
        height: 3px;
    }

    .services-section,
    .professionals-section,
    .why-choose-section, /* Aplicar para a nova seção também */
    .scheduling-form-section,
    .footer {
        padding: 60px 0; /* Menos padding geral */
    }

    .services-section .icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    .services-section .icon-wrapper .bi {
        font-size: 2.8rem !important;
    }

    .professionals-section .card-img-top {
        width: 140px;
        height: 140px;
    }
    .professionals-section .card-title {
        font-size: 1.4rem;
    }
    .professionals-section .card-text.small {
        font-size: 0.95rem;
    }

    /* Why Choose Section Responsive */
    .why-choose-section .feature-item {
        padding: 20px;
    }
    .why-choose-section .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    .why-choose-section .icon-wrapper .bi {
        font-size: 2rem !important;
    }
    .why-choose-section h5 {
        font-size: 1.2rem;
    }
    .why-choose-section p {
        font-size: 0.9rem;
    }


    .scheduling-form-section .card {
        padding: 25px;
    }
    .scheduling-form-section .form-label {
        font-size: 1rem;
    }
    .scheduling-form-section .form-control,
    .scheduling-form-section .form-select {
        font-size: 0.95rem;
        padding: 0.65rem 1rem;
    }
    .scheduling-form-section .btn-primary {
        font-size: 1rem;
        padding: 0.7rem 1.8rem;
    }

    .footer h5 {
        font-size: 1.4rem;
    }
    .footer p, .footer a {
        font-size: 0.85rem;
    }
    .footer .social-icon {
        font-size: 1.4rem !important;
        margin: 0 10px; /* Ajusta espaçamento entre ícones */
    }
}