
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f5f7fa;
    color: #222;
    min-height: 100vh;
    line-height: 1.6;
}

/* Header & Navigation */
header {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.7rem 1rem;
    position: relative;
}

.img1 {
    height: 48px;
    width: 48px;
}

.menu-toggle {
    display: none;
    font-size: 2.2rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #365fa0;
    margin-left: auto;
    outline: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    color: #365fa0;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color .2s, background .2s;
    padding: 8px 16px;
    border-radius: 4px;
}

.nav-links a:hover,
.nav-links a:focus {
    background: #e0e7fa;
    color: #2c3e50;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.18);
    z-index: 999;
}

/* Main titles */
.titulo {
    font-size: 2.7rem;
    font-weight: 700;
    color: #365fa0;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.titulo span {
    color: #b34d7e;
}

/* Section: Home */
.home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    max-width: 1300px;
    margin: 0 auto 32px auto;
    padding: 2rem 1rem 0 1rem;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(54,95,160,0.06);
}

.img2 {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 12px rgba(54,95,160,0.10);
    background: #fff;
    display: block;
    margin: 0 auto;
    border: 4px solid #b34d7e33;
}

.inicio {
    max-width: 560px;
    margin: 0 auto;
}

.inicio p {
    margin-bottom: 12px;
    color: #444;
    line-height: 1.7;
    font-size: 1.09rem;
}

/* Section: Sobre */
.sobre {
    background: #f6f8fc;
    padding: 40px 0 30px 0;
    margin-bottom: 24px;
}

.sobre2 {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.psobre {
    margin-bottom: 12px;
    color: #444;
    line-height: 1.65;
    padding: 5px 12px;
    font-size: 1.10rem;
    text-align: justify;
}

.botoes-sobre {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 12px;
    flex-wrap: wrap;
}

.botoes-sobre button {
    background: linear-gradient(90deg, #365fa0 60%, #b34d7e 100%);
    color: #fff;
    border: none;
    padding: 11px 36px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin: 0;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(179,77,126,0.10);
    transition: background .2s, transform .1s;
    letter-spacing: 0.5px;
}

.botoes-sobre button:hover,
.botoes-sobre button:focus {
    background: linear-gradient(90deg, #b34d7e 30%, #365fa0 100%);
    color: #fff;
    transform: scale(1.04);
}

.botoes-sobre a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.botoes-sobre svg {
    margin-left: 8px;
}

/* Section: Especialidade */
.psicologia {
    background: #fff;
    padding: 50px 0 30px 0;
}

.psicologia .titulo {
    margin-bottom: 32px;
}

.especialidade {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.servicos {
    background: #f6f8fc;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(54,95,160,0.07);
    padding: 28px 24px;
    flex: 1 1 310px;
    min-width: 280px;
    max-width: 360px;
    margin-bottom: 24px;
    border-left: 2px solid #d58baf66;
    transition: box-shadow .2s, transform .2s;
}

.servicos:hover {
    box-shadow: 0 8px 28px rgba(54,95,160,0.15);
    transform: translateY(-6px) scale(1.02);
}

.psico {
    color: #b34d7e;
    font-size: 1.21rem;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.servicos p {
    color: #444;
    margin-bottom: 10px;
    line-height: 1.65;
}

/* Section: Depoimento */
.depoimento {
    min-height: 40px;
    margin-bottom: 30px;
}

/* Section: Contato */
.contato {
    background: #f9f9fa;
    padding: 44px 0 42px 0;
    font-size: 40px;
    font-style: italic;
}

.contatos {
    text-align: center;
    margin-bottom: 18px;
}
.contatos .contato {
    margin-bottom: 8px;
    color: #365fa0;
}

.forms {
    max-width: 420px;
    margin: 0 auto;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 2px 14px rgba(54,95,160,0.09);
    padding: 30px 24px 22px 24px;
}

.input, .textarea {
    width: 100%;
    border: 1.5px solid #3e3e3e77;
    border-radius: 8px;
    padding: 12px;
    font-size: 1.02rem;
    margin-bottom: 14px;
    background: #f6f7fa;
    transition: border .2s;
}

.input:focus, .textarea:focus {
    border: 1.5px solid #b34d7e;
    outline: none;
    background: #fff;
}

.textarea {
    min-height: 90px;
    resize: vertical;
}

.enviar {
    width: 100%;
    padding: 13px;
    background: linear-gradient(90deg, #b34d7e 0%, #365fa0 90%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.17rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background .2s, transform .1s;
}

.enviar:hover,
.enviar:focus {
    background: linear-gradient(90deg, #365fa0 15%, #b34d7e 90%);
    transform: scale(1.03);
}

/* Footer */
.rodape {
    background: #365fa0;
    color: #fff;
    padding: 24px 0 18px 0;
    text-align: center;
    font-size: 1.07rem;
    margin-top: 30px;
}

.rodape a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    transition: color .2s;
    vertical-align: middle;
}

.rodape a:hover, .rodape a:focus {
    color: #b34d7e;
}
/* ----------------- RESPONSIVE DESIGN ---------------------- */
@media (max-width: 900px) {
    .home {
        flex-direction: column;
        gap: 24px;
    }
    .especialidade {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
}

@media (max-width: 700px) {
    nav {
        flex-direction: row;
        padding: 0.7rem 0.4rem;
    }
    .img1 {
        height: 38px;
        width: 38px;
    }
    .titulo {
        font-size: 2rem;
    }
    .inicio {
        max-width: 96vw;
    }
    .sobre2 {
        max-width: 97vw;
    }
    .forms {
        padding: 18px 2vw 18px 2vw;
    }
}

@media (max-width: 650px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100vw;
        flex-direction: column;
        width: 220px;
        background: #fff;
        height: 100vh;
        padding-top: 64px;
        box-shadow: -2px 0 16px rgba(0,0,0,0.08);
        gap: 1.5rem;
        align-items: flex-start;
        transition: right .3s;
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }
    .menu-toggle {
        display: block;
    }
    .menu-overlay.show {
        display: block;
    }
}

@media (max-width: 450px) {
    .titulo {
        font-size: 1.3rem;
    }
    .img1, .img2 {
        height: 74px;
        width: 74px;
    }
    .servicos {
        padding: 13px 2vw;
    }
    .botoes-sobre {
        flex-direction: column;
        gap: 12px;
    }
    .botoes-sobre button {
        width: 100%;
        justify-content: center;
    }
    .forms {
        padding: 0 2px;
    }
}

/* Hide scroll bar in nav on mobile */
@media (max-width: 650px) {
    .nav-links {
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}