@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Italiana&display=swap');

:root {
    --verde: #424530;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    font-family: "Nunito", sans-serif;
    transform-origin: top left;
    background-color: var(--verde);

}

.logo-superior {
    font-family: "Italiana", sans-serif;
    font-size: 2.5rem;
    font-weight: 200;
    text-align: center;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 0;
    background-color: var(--verde);
    letter-spacing: 2px;

}

header {
    background: var(--verde);
    top: 0;
    left: 0;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: auto;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 108%;
    margin: 10px;
    padding: 0 20px;
}

.menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.menu a {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    padding: 6px 10px;
    transition: color 0.25s ease;
}

.menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(to right, #3f3f3f, #6b6b6b, #b1b1b1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.menu a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu a:hover {
    color: #b1b1b1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 20px;
    position: relative;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    margin-left: auto;
}

.menu-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 10px 20px;
}

.menu-toggle {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #fafafa;
    margin-left: auto;
}

.menu {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.inicio {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px;
    overflow: hidden;
    flex-wrap: wrap;
    background-color: var(--verde)
}

.inicio-texto {
    animation: fadeInRight 0.8s ease-out forwards;
    transform: translateX(30px);
    text-align: center;
    letter-spacing: 1px;
}

.inicio-texto h1 {
    font-size: 2rem;
    font-family: "Work Sans", sans-serif;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
    font-style: italic;
}

.inicio-texto h2 {
    font-size: 1rem;
    color: #ffffff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 100;
    text-align: center;

}

.inicio-texto h3 {
    font-size: 1rem;
    color: #ffffff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 100;
    text-align: center;
    margin-top: 30px;

}

.inicio-texto p {
    font-family: "Work Sans", sans-serif;
    font-size: 0.95rem;
    line-height: 4;
    max-width: 900px;
    margin: 0 auto;
    letter-spacing: 0.8px;
    padding: 0 10px;
    font-weight: 400;
    margin-top: 20px;
}

@keyframes aparecerSuave {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sobre {
    padding: 100px 20px;
    background: #fafafa;
}

.sobre-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.texto-sobre {
    flex: 1 1 500px;
    padding: 20px;
    animation: fadeInLeft 0.8s ease-out forwards;
    opacity: 0;
    transform: translateX(-30px);
}

.texto-sobre h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--verde);
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 3px solid #424530;
    display: inline-block;
    padding-bottom: 5px;
}

.texto-sobre h2 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 400;
}

.texto-sobre h3 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 400;
}

.texto-sobre h4 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 400;
}

.texto-sobre p {
    font-family: "Work Sans", sans-serif;
    font-size: 1.15rem;
    line-height: 1.7;
    color: black;
    text-align: justify;
    margin-top: 15px;
    letter-spacing: 0.3px;
}

.imagem-sobre {
    flex: 1 1 500px;
    display: flex;
    justify-content: center;
    padding: 20px;
    animation: fadeInRight 0.8s ease-out forwards;
    opacity: 0;
    transform: translateX(30px);
}

.imagem-sobre img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.imagem-sobre img:hover {
    transform: scale(1.05);
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.psicoterapia {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    background: #424530;
    opacity: 1;
    gap: 40px;
    border-top: 1px solid #c7af94;
}

.h1-psico {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.4rem;
    font-weight: 400;
    color: #fafafa;
    letter-spacing: 1.5px;
    text-align: center;
    border-bottom: 2px solid #fafafa;
    padding-bottom: 5px;
    margin-bottom: 10px;
    animation: fadeInTop 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(-20px);
}

.box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    animation: fadeInBoxes 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
    gap: 100px;
}

.box {
    width: 330px;
    min-height: 360px;
    background-color: #f2f2f2;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    font-family: "Work Sans", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.box h1 {
    font-family: "Work Sans", sans-serif;
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--verde);
    font-weight: 400;
}

.box p {
    font-family: "Work Sans", sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7;
    color: black;
}

@keyframes fadeInTop {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInBoxes {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.box-contatos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background: #fafafa;
    box-sizing: border-box;
    gap: 30px;
    border-top: 1px solid #c7af94;
}

.titulo-contato {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--verde);
    letter-spacing: 2px;
    margin-bottom: 8px;
    border-bottom: 2px solid var(--verde);
    display: inline-block;
    padding-bottom: 8px;
    line-height: 1.3;
    animation: fadeInTop 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(-20px);
}

.h2-contatos {
    font-family: "Space Grotesk", sans-serif;

}

.botao-contato {
    padding: 14px 36px;
    font-size: 1.1rem;
    font-family: "Work Sans", sans-serif;
    font-weight: 600;
    letter-spacing: 0.8px;
    background: var(--verde);
    color: #fafafa;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.botao-contato::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--verde);
    transition: left 0.4s ease;
    z-index: -1;
}

.botao-contato:hover::before {
    left: 0;
}

.botao-contato:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.botao-contato span {
    position: relative;
    z-index: 1;
}

.box-contatos p {
    font-family: "Work Sans", sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    max-width: 700px;
    letter-spacing: 0.4px;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    animation: fadeInText 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-footer {
    background-color: var(--verde);
    color: #333;
    text-align: center;
}

.footer-container {
    max-width: 900px;
    margin: auto;
    margin-top: 20px;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

i {
    color: #fafafa;
    font-size: 2rem;
    line-height: 1;
}

@keyframes deslizarMenu {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu.active {
    display: flex;
    animation: deslizarMenu 0.4s ease-out forwards;
}

.menu a {
    opacity: 0;
    animation: aparecerLink 0.3s ease-out forwards;
    animation-delay: 0.2s;
}

@keyframes aparecerLink {
    to {
        opacity: 1;
    }
}

.icones-header {
    display: flex;
    gap: 20px;
    margin-left: 200px;
    margin-bottom: 60px;
}

.icones-header i {
    font-size: 1.3rem;
    color: #ffffff;
    transition: transform 0.2s ease;
}

.icones-header a:hover i {
    transform: scale(1.15);
}

.botao-container {
    margin-left: auto;
    padding-right: 220px;
    margin-bottom: 40px;
}

.botao-header {
    background-color: #ffffff;
    color: var(--verde);
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        position: relative;
        top: -75px;
        left: 10px;
        font-size: 2rem;
        color: #fff;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-mobile {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
        transition: left 0.3s ease-in-out;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        padding: 30px 20px;
        overflow-y: auto;
        gap: 24px;
    }

    .menu-mobile.active {
        left: 0;
    }

    .menu {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: -400px;
        margin-left: -80px;
    }

    .menu a {
        font-size: 1.5rem;
        color: var(--verde);
        text-decoration: none;
        border-bottom: 1px solid #ddd;
        font-weight: 600;
    }

    .menu-mobile .icones-header {
        display: flex;
        justify-content: flex-start;
        gap: 16px;
        margin-left: -200px;
        margin-top: 240px;
    }

    .menu-mobile .icones-header a i {
        font-size: 2rem;
        color: var(--verde);
        transition: transform 0.3s ease;
    }

    .menu-mobile .icones-header a:hover i {
        transform: scale(1.15);
    }

    .menu-mobile .botao-container {
        display: flex;
        justify-content: left;
        width: 480px;
        margin-top: -30px;
    }

    .menu-mobile .botao-header {
        background-color: var(--verde);
        color: #fff;
        font-size: 0.85rem;
        font-weight: 600;
        padding: 12px 24px;
        border-radius: 10px;
        text-decoration: none;
        text-align: center;
        width: 90%;
        max-width: 280px;
        box-sizing: border-box;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    .inicio-texto h1 {
        margin-top: -80px;
        font-size: 1.5rem;
        width: 400px;
        margin-left: 10px;
        text-align: center;
    }

    .inicio-texto h2 {
        margin-top: 30px;
        font-size: 1rem;
        width: 300px;
        margin-left: 60px;
        text-align: center;

    }

    .inicio-texto h3 {
        margin-top: 30px;
        font-size: 1rem;
        margin-left: 10px;

    }

    .navbar>.icones-header,
    .navbar>.botao-container {
        display: none;
    }
}

@media (min-width: 769px) {

    .menu-mobile .icones-header,
    .menu-mobile .botao-container {
        display: none;
    }
}