* {
    margin: 0;
    padding: 0;
}

/* Adicionado rolagem suave para quando clicar no menu */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    /* Compensa a altura do cabeçalho fixo */
}

/* Removido o overflow:hidden para permitir a rolagem da tela */
body {
    background: linear-gradient(90deg, #000, #000D 5%, #000A 10%, #0000), url(../img/background.jpg);
    min-height: 100vh;
    background-attachment: fixed;
    /* Isso mantém o fundo parado enquanto a página rola */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    display: flex;
    flex-direction: column;
    animation: zoom 1s;
}

@keyframes zoom {
    0% {
        transform: scale(3);
    }

    100% {
        transform: scale(1);
    }
}

/* =========================================
   CABEÇALHO FIXO
   ========================================= */
header {
    position: fixed;
    /* Fixa o menu no topo */
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 30px 115px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    /* Sombra suave atrás do menu */
    z-index: 100;
}

.links-container {
    display: flex;
    gap: 30px;
}

.links-container a {
    padding: 6px;
    transition: all 0.5s;
    border-radius: 30px;
}

.links-container a:hover {
    background-color: rgb(255, 182, 193);
    color: #000;
}

/* Menu Mobile Burger */
.menu-burger-container {
    position: absolute;
    display: none;
    align-items: center;
    right: 30px;
    top: 30px;
    height: 36px;
    width: 36px;
    z-index: 101;
}

.menu-burger,
.menu-burger::before,
.menu-burger::after {
    position: absolute;
    content: "";
    display: block;
    background-color: #fff;
    height: 4px;
    width: 36px;
    border-radius: 5px;
    transition: all 900ms;
}

.menu-burger::before {
    transform: translateY(-12px);
}

.menu-burger::after {
    transform: translateY(12px);
}

.menu-burger-container.active .menu-burger {
    background-color: transparent;
}

.menu-burger-container.active .menu-burger::before {
    transform: rotate(45deg);
}

.menu-burger-container.active .menu-burger::after {
    transform: rotate(-45deg);
}

/* =========================================
   ESTRUTURA DAS SEÇÕES (ONE-PAGE)
   ========================================= */
main {
    display: block;
    flex-grow: 1;
}

.page-section {
    min-height: 100vh;
    display: flex;
    /* Aumentei o padding-bottom para 80px para o texto não ficar atrás do rodapé fixo */
    padding: 100px 115px 80px 128px;
}

/* =========================================
   CONTEÚDO E TEXTOS
   ========================================= */
.content-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.content-container h1 {
    font-size: 4.5rem;
    font-weight: 400;
    display: flex;
    flex-direction: column;
}

.content-container h1 span {
    font-size: 1rem;
    font-weight: 100;
    font-style: italic;
    transform: translateY(15px);
}

.sub-title {
    font-size: 2rem;
    color: lightcoral;
    transform: translateY(-15px);
    font-style: italic;
    display: flex;
    justify-content: flex-end;
    width: 390px;
}

.text-title {
    width: 450px;
    font-size: 1.1rem;
    font-weight: 100;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* =========================================
   BOTÕES PRINCIPAIS (TEXT-BUTTON)
   ========================================= */
.text-button {
    background-color: lightcoral;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 60px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600; /* Deixei um pouco mais gordinho para dar leitura */
    color: #fff;
    text-decoration: none; /* Remove o sublinhado padrão de links */
    /* Transição suave para todas as animações */
    transition: all 0.3s ease; 
    /* Sombra inicial bem sutil */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

/* Efeito ao passar o mouse */
.text-button:hover {
    background-color: #e56565; /* Fica num tom levemente mais intenso */
    transform: translateY(-4px) scale(1.02); /* Dá um pulinho pra cima e cresce 2% */
    box-shadow: 0 10px 20px rgba(240, 128, 128, 0.5); /* Projeta uma sombra coral, dando um efeito neon/brilho */
}

/* Efeito ao clicar (segurar o clique) */
.text-button:active {
    transform: translateY(1px) scale(0.98); /* O botão "afunda" mostrando que foi clicado */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* A sombra diminui */
}

/* Títulos das páginas internas */
.section-title {
    font-size: 3.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 20px;
}

/* Listas e Contatos nas internas */
.lista-servicos {
    color: #fff;
    font-weight: 200;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: 20px;
    line-height: 1.6;
}

.lista-servicos li {
    margin-bottom: 15px;
    list-style-type: disc;
}

.info-contato p {
    color: #fff;
    font-weight: 200;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.info-contato i {
    color: lightcoral;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* =========================================
   ÍCONES SOCIAIS FIXOS
   ========================================= */
.social-container {
    position: fixed;
    /* Fixa o elemento na tela */
    right: 40px;
    /* Distância da margem direita */
    top: 50%;
    /* Coloca no meio da tela verticalmente... */
    transform: translateY(-50%);
    /* ...e ajusta o centro exato */
    z-index: 99;
    /* Garante que fique por cima do conteúdo */
    width: 48px;
    display: flex;
    align-items: center;
}

.social-container ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.social-container li {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    width: 48px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fundo escuro leve para melhorar a leitura */
    transition: all 300ms;
}

/* =========================================
   CORES DE HOVER PERSONALIZADAS (REDES SOCIAIS)
   ========================================= */

/* Dá um leve "pulinho" ao passar o mouse em qualquer ícone */
.social-container li:hover {
    transform: translateY(-5px);
}

/* WhatsApp - Verde */
.social-container li:has(.fa-whatsapp):hover {
    background-color: #25D366;
    border-color: #25D366;
}

/* Instagram - Rosa/Magenta */
.social-container li:has(.fa-instagram):hover {
    /* Usando a cor sólida oficial para manter a borda elegante */
    background-color: #E1306C; 
    border-color: #E1306C;
}

/* Facebook - Azul */
.social-container li:has(.fa-square-facebook):hover {
    background-color: #1877F2;
    border-color: #1877F2;
}

/* TikTok - Preto com borda rosa (dá um efeito neon muito legal) */
.social-container li:has(.fa-tiktok):hover {
    background-color: #000000;
    border-color: #ff0050; 
}

/* YouTube - Vermelho */
.social-container li:has(.fa-youtube):hover {
    background-color: #FF0000;
    border-color: #FF0000;
}

.social-container i {
    font-size: 1.5rem;
    color: #fff;
}

/* =========================================
   RODAPÉ FIXO
   ========================================= */
footer {
    position: fixed;
    /* Fixa o rodapé na tela */
    bottom: 0;
    /* Cola na parte inferior */
    left: 0;
    width: 100%;
    /* Ocupa toda a largura da tela */
    z-index: 100;
    /* Mantém acima de outros elementos */
    font-style: italic;
    color: #fff;
    display: flex;
    justify-content: center;
    text-shadow: 2px 2px 2px #000;
    padding: 15px 0;
    background-color: rgba(0, 0, 0, 0.8);
    /* Fundo um pouco mais escuro para não confundir com o texto por trás */
}

/* =========================================
   CARDS PSICOTERAPIA
   ========================================= */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    /* Permite que os cards quebrem de linha no mobile se necessário */
    gap: 20px;
    margin-top: 20px;
}

.card {
    background-color: rgba(255, 255, 255, 0.1);
    /* Fundo semi-transparente para destacar */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    flex: 1 1 calc(33.333% - 20px);
    /* Ocupa 1/3 da largura menos o gap */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    /* Efeito de elevação no hover */
    box-shadow: 0 8px 15px rgba(240, 116, 116, 0.3);
    /* Sombra na cor de destaque */
    border-color: lightcoral;
}

.card-icon {
    background-color: lightcoral;
    color: #fff;
    font-size: 2rem;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-text {
    font-weight: 200;
    font-size: 1.1rem;
    line-height: 1.4;
}

.card-text strong {
    font-weight: 600;
}

/* =========================================
   RESPONSIVO (CELULAR)
   ========================================= */
@media (max-width: 768px) {
    body {
        background-image: url(../img/background.jpg);
        background-color: #0003;
        background-blend-mode: darken;
    }

    header {
        padding: 20px 30px;
    }

    .page-section {
        /* Aumentado o padding-bottom para 140px para compensar o rodapé e os ícones */
        padding: 100px 30px 140px 30px;
        flex-direction: column;
    }

    .links-container {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #000;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        gap: 65px;
        font-size: 2.5rem;
        z-index: 100;
        transition: all 0.5s ease-in-out;
    }

    .menu-burger-container.active~.links-container {
        transform: translateX(0%);
    }

    .menu-burger-container {
        display: flex;
    }

    .content-container h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .sub-title {
        width: auto;
        font-size: 1.5rem;
        justify-content: flex-start;
    }

    .text-title {
        width: 100%;
        display: block;
        /* Garante que o texto apareça no mobile */
    }

    /* Redes Sociais no Mobile */
    .social-container {
        top: auto;
        bottom: 70px;
        /* Movido um pouco para cima para não sobrepor o rodapé fixo */
        right: 50%;
        transform: translateX(50%);
        width: 100%;
        margin-top: 0;
        justify-content: center;
    }

    .social-container ul {
        flex-direction: row;
        gap: 15px;
    }

    /* Ajuste para os cards no mobile */
    .cards-container {
        flex-direction: column;
        /* Coloca os cards em coluna */
    }

    .card {
        flex: 1 1 100%;
        /* Cada card ocupa a largura total */
        padding: 20px;
    }
}

/* =========================================
   VAGAS DESTAQUE (EXCLUSIVIDADE)
   ========================================= */
.vagas-destaque {
    font-size: 1.5rem;
    font-weight: 200;
    margin: 20px 0 30px 0;
    color: #fff;
}

.vagas-destaque span {
    background-color: lightcoral;
    color: #fff;
    padding: 5px 15px;
    border-radius: 8px;
    font-weight: 600;
}

/* Ajuste dos cards para caberem 4 lado a lado no desktop */
.card {
    flex: 1 1 calc(50% - 20px);
    /* Ocupa metade da tela em telas médias */
}

@media (min-width: 1024px) {
    .card {
        flex: 1 1 calc(25% - 20px);
        /* Ocupa 1/4 da tela em desktops */
    }
}

/* =========================================
   FAQ (PERGUNTAS FREQUENTES)
   ========================================= */
.faq-container {
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 400;
    color: #fff;
    padding: 15px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
    font-family: inherit;
}

.faq-question:hover {
    color: lightcoral;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: lightcoral;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding-bottom: 20px;
    font-weight: 200;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ddd;
}

/* =========================================
   LISTA "QUEBRAR O CICLO" (CONEXÃO)
   ========================================= */
.ciclo-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 750px;
    margin-left: 0;
}

.ciclo-list li {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid lightcoral;
    padding: 20px 25px;
    border-radius: 0 10px 10px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ciclo-list li:hover {
    transform: translateX(15px);
    /* Move o item um pouco para a direita */
    background-color: rgba(255, 255, 255, 0.12);
    /* Fica levemente mais claro */
}

.ciclo-list i {
    color: lightcoral;
    font-size: 1.5rem;
    flex-shrink: 0;
    /* Impede que o ícone esprema o texto */
}

.ciclo-list span {
    color: #fff;
    font-weight: 200;
    font-size: 1.15rem;
    line-height: 1.5;
}

/* Ajuste mobile para a lista do ciclo */
@media (max-width: 768px) {
    .ciclo-list li {
        padding: 15px;
        gap: 15px;
    }

    .ciclo-list span {
        font-size: 1.05rem;
    }
}