@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url(reset.css);
@import url(styles/atendimento.css);
@import url(styles/hero.css);
@import url(styles/perguntas.css);
@import url(styles/footer.css);
@import url(styles/sobre.css);
@import url(styles/forms.css);

:root {
    --amarelo-base: #FFF4CC;
    --amarelo-contraste: #FFF1B8;
    --amarelo-apoio: #F6EECF;
    --lilas-base: #9C8CB9;
    --lilas-contraste: #A497C2;
    --lilas-apoio: #8F84B3;
    --branco-quente: #FFFEF8;
    --cinza-texto: #3E3E3E;
    --cinza-texto-dois: #6B6B6B;
    --fonte-principal: Montserrat, sans-serif;
    --fonte-secundaria: Cormorant, serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    max-width: 100%;
    background-color: var(--branco-quente);
    display: flex;
    flex-direction: column;
    margin: auto;
    max-width: 1440px;
    width: 100%;
    overflow-x: hidden;
    background-attachment: fixed;
    background-image: url(img/psicologia\ doodle\ wallpaper\ -\ TeamMates.png);
}

header nav {
    display: flex;
    justify-content: start;
    background-color: var(--branco-quente);
    position: fixed;
    font-family: var(--fonte-principal);
    color: var(--cinza-texto);
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 20px;
    padding-right: 1.75rem;
    gap: 1.75rem;
    align-items: center;
    z-index: 99;
 
    a {
        text-decoration: none;
        color: var(--cinza-texto);
    }
 
    img {
        width: 200px;
    }
}
 
section {
    position: relative;
    height: 100%;
    width: 100%;
}
 
.circulo {
    position: absolute;
    top: 10%;
    left: -35%;
    width: 1000px;
    height: 1000px;
    background-color: var(--amarelo-contraste);
    border-radius: 50%;
    z-index: -1;
}
 
/* ── Hamburguer (escondido no desktop) ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 101;
}
 
.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--cinza-texto);
    border-radius: 3px;
    transition: all 0.3s ease;
}
 
/* Animação do X ao abrir */
.hamburger.ativo span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.ativo span:nth-child(2) {
    opacity: 0;
}
.hamburger.ativo span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


@media (min-width: 891px) {
    a {
    text-decoration: none;
    color: var(--cinza-texto);
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--cinza-texto);
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}
}
 
/* ─────────────────────────────────────────
   TABLET ≤ 768px
───────────────────────────────────────── */
@media (max-width: 890px) {
 
    body {
        overflow-x: hidden;
    }
 
    header nav {
        width: 100%;
        padding: 0.75rem 1.25rem;
        border-radius: 0;
        font-size: 1.08rem;
        gap: 2rem;
        flex-wrap: wrap;
        box-sizing: border-box;
    }
 
    header nav img {
        width: 140px;
    }
}


@media (max-width: 690px) {

    header nav {
        width: 100%;
        padding: 0.75rem 1.25rem;
        border-radius: 0;
        justify-content: space-between;
        font-size: 0.9rem;
        gap: 1rem;
        flex-wrap: wrap;
        box-sizing: border-box;
    }
    header nav img {
        width: 100px;
    }

}
 
 
/* ─────────────────────────────────────────
   MOBILE ≤ 480px
───────────────────────────────────────── */
@media (max-width: 510px) {
 
    header nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        font-family: var(--fonte-secundaria);
        width: 100%;
        padding: 0.85rem 1.25rem;
        border-radius: 0;
        gap: 0;
        flex-wrap: nowrap;
        box-sizing: border-box;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
    }
 
    /* Esconde logo img e mostra só o nome em texto */
    header nav img {
        display: none;
    }
 
    /* Links viram menu vertical oculto */
    header nav a {
        display: none;
        width: 100%;
        padding: 1rem 1.25rem;
        font-size: 1.1rem;
        font-weight: 600;
        border-bottom: 1px solid color-mix(in srgb, var(--cinza-texto) 10%, transparent);
    }
 
    /* Quando menu está aberto */
    header nav.aberto {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 1rem;
    }
 
    header nav.aberto a {
        display: block;
    }
 
    header nav.aberto .hamburger {
        align-self: flex-end;
        position: absolute;
        top: 0.85rem;
        right: 1.25rem;
    }
 
    /* Mostra o hamburguer no mobile */
    .hamburger {
        display: flex;
    }
 
    /* Nome "Mariana de Assis" como texto no lugar da logo */
    header nav::before {
        content: "Mariana de Assis";
        font-size: 1.3rem;
        justify-content: center;
        margin-top: 0.65rem;
        font-weight: 800;
        color: var(--cinza-texto);
        font-family: var(--fonte-secundaria);
        margin-bottom: 10px;
    }
}
