/* =========================
   VARIÁVEIS
========================= */
:root {
    --azul: #4997c8;
    --azul-escuro: #2f6f99;
    --azul-profundo: #1f4f6e;
    --azul-claro: #eaf4fa;
    --branco: #ffffff;
    --texto: #333333;
    --fonte-titulo: 'Bodoni Moda', 'Didot', serif;
    --fonte-texto: 'Poppins', sans-serif;
}

/* =========================
   RESET E BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fonte-texto);
    background: var(--branco);
    color: var(--texto);
    line-height: 1.6;
}

img {
    max-width: 100%;
}

ul {
    list-style: none;
}

section[id] {
    scroll-margin-top: 20px;
}

/* =========================
   CONTAINER
========================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   HEADER
========================= */
.topo {
    background: var(--azul);
    padding: 20px 0;
}

.topo .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    background: var(--azul);
}

/* =========================
   LOGO
========================= */
.logo {
    width: 420px;
    height: auto;
}

/* =========================
   MENU
========================= */
.links-topo {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-top: 20px;
}

.links-topo a {
    color: var(--branco);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.links-topo a:hover {
    opacity: 0.75;
}

/* =========================
   HERO
========================= */
.box-visao-geral {
    background: var(--azul);
    padding: 55px 0 80px;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.box-slogan {
    width: 55%;
    color: var(--branco);
}

.box-slogan h1 {
    font-family: var(--fonte-titulo);
    font-size: 48px;
    line-height: 1.15;
    font-weight: 400;
    margin-bottom: 30px;
}

.box-slogan h1 span {
    display: block;
    margin-top: 16px;
    font-family: var(--fonte-texto);
    font-size: 25px;
    line-height: 1.35;
    font-weight: 600;
}

.box-slogan p {
    max-width: 650px;
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.7;
}

/* =========================
   BOTÃO
========================= */
.box-agendamento {
    margin-top: 30px;
}

.box-agendamento a {
    display: inline-block;
    padding: 14px 28px;
    background: var(--branco);
    color: var(--azul);
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.box-agendamento a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* =========================
   FOTO
========================= */
.box-fotoinicio {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-fotoinicio img {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 4px;
}

/* =========================
   TÍTULOS DAS SEÇÕES
========================= */
.sobre h2,
.formacao h2,
.todos h2,
.tcc h2,
.mudancas h2,
.atendimento h2,
.online h2,
.banner-final h2 {
    font-family: var(--fonte-titulo);
    font-size: 38px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--azul-profundo);
    margin-bottom: 20px;
}

/* =========================
   SOBRE MIM
========================= */
.sobre {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    grid-template-areas:
        "foto texto"
        "foto destaque"
        "complemento complemento";
    gap: 30px 60px;
    align-items: center;
    padding: 90px max(20px, calc((100% - 1200px) / 2));
    background: var(--branco);
}

.box-imagemprofissional2 {
    grid-area: foto;
    display: flex;
    justify-content: center;
}

.box-imagemprofissional2 img {
    display: block;
    width: 100%;
    max-width: 460px;
    height: auto;
    border-radius: 4px;
}

.sobre .container {
    grid-area: texto;
    padding: 0;
    margin: 0;
}

.sobre h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--azul);
    margin-bottom: 16px;
}

.sobre .container p {
    font-size: 17px;
    line-height: 1.8;
}

.sobre .container p span {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--azul-profundo);
}

.destaque {
    grid-area: destaque;
    background: var(--azul-claro);
    border-left: 5px solid var(--azul);
    border-radius: 4px;
    padding: 22px 26px;
}

.destaque p:first-child {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--azul-escuro);
    margin-bottom: 4px;
}

.destaque p:last-child {
    font-family: var(--fonte-titulo);
    font-size: 24px;
    line-height: 1.3;
    color: var(--azul-profundo);
}

.box-sobremim {
    grid-area: complemento;
    max-width: 850px;
    margin: 20px auto 0;
}

.box-sobremim p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* =========================
   FORMAÇÃO
========================= */
.formacao {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 80px max(20px, calc((100% - 1200px) / 2));
    background: var(--azul);
    color: var(--branco);
}

.formacao h2 {
    color: var(--branco);
}

.formacao > div:first-child {
    width: 40%;
}

.formacao > div:first-child p {
    font-size: 17px;
    line-height: 1.7;
}

.formacao .lista {
    width: 55%;
}

.formacao-lista li,
.consequencia-lista li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 17px;
    line-height: 1.6;
    padding: 12px 0;
}

.formacao-lista li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.formacao-lista li:last-child {
    border-bottom: none;
}

.formacao-lista i {
    margin-top: 5px;
    color: var(--branco);
}

/* =========================
   PARA QUEM É A PSICOTERAPIA
========================= */
.todos {
    padding: 90px max(20px, calc((100% - 1200px) / 2));
    background: var(--azul-claro);
}

.todos > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.todos h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 16px;
}

.card1,
.card2,
.card3,
.card4,
.card5 {
    width: calc((100% - 48px) / 3);
    background: var(--branco);
    border-top: 4px solid var(--azul);
    border-radius: 6px;
    padding: 28px 24px;
    box-shadow: 0 6px 18px rgba(31, 79, 110, 0.08);
}

.todos h3 {
    font-size: 19px;
    font-weight: 600;
    color: var(--azul-profundo);
    margin-bottom: 10px;
}

.todos .card1 p,
.todos .card2 p,
.todos .card3 p,
.todos .card4 p,
.todos .card5 p {
    font-size: 16px;
    line-height: 1.7;
}

.agendamento {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.agendamento a {
    display: inline-block;
    padding: 14px 28px;
    background: var(--azul);
    color: var(--branco);
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.agendamento a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.agendamento a p {
    margin: 0;
}

/* =========================
   TCC
========================= */
.tcc {
    padding: 90px max(20px, calc((100% - 900px) / 2));
    background: var(--branco);
}

.tcc p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.lista2 {
    margin: 10px 0 24px;
    padding: 12px 28px;
    background: var(--azul-claro);
    border-radius: 6px;
}

.consequencia-lista i {
    margin-top: 5px;
    color: var(--azul);
}

/* =========================
   O QUE O PROCESSO PODE OFERECER
========================= */
.mudancas {
    padding: 90px max(20px, calc((100% - 1000px) / 2));
    background: var(--azul-escuro);
    color: var(--branco);
}

.mudancas h2 {
    color: var(--branco);
    text-align: center;
    margin-bottom: 40px;
}

.mudança-lista {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 40px;
}

.mudança-lista h3 {
    font-size: 20px;
    font-weight: 600;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.mudança-lista p {
    font-size: 17px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* =========================
   ATENDIMENTO E CONTATO
========================= */
.atendimento {
    padding: 90px max(20px, calc((100% - 1000px) / 2));
    background: var(--branco);
}

.contato-formulario {
    margin-bottom: 80px;
}

.contato-layout {
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.contato-formulario .container {
    flex: 1 1 55%;
    max-width: none;
    margin: 0;
    padding: 40px 36px;
    background: var(--azul-claro);
    border-radius: 8px;
}

.contato-imagem {
    flex: 1 1 45%;
}

.contato-imagem img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.contato-formulario h2 {
    margin-bottom: 10px;
}

.contato-formulario .container > p {
    margin-bottom: 24px;
}

#contatoForm label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--azul-profundo);
    margin: 16px 0 6px;
}

#contatoForm input,
#contatoForm textarea {
    width: 100%;
    padding: 13px 16px;
    font-family: var(--fonte-texto);
    font-size: 16px;
    color: var(--texto);
    background: var(--branco);
    border: 1px solid #c3d9e6;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contatoForm input:focus,
#contatoForm textarea:focus {
    border-color: var(--azul);
    box-shadow: 0 0 0 3px rgba(73, 151, 200, 0.25);
}

#contatoForm textarea {
    min-height: 130px;
    resize: vertical;
}

#contatoForm button {
    margin-top: 22px;
    padding: 14px 28px;
    font-family: var(--fonte-texto);
    font-size: 16px;
    font-weight: 600;
    color: var(--branco);
    background: var(--azul-escuro);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#contatoForm button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

#contatoForm small {
    display: block;
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.5;
    color: #5a6b76;
}

.erro {
    margin-top: 14px;
    font-size: 14px;
    font-weight: 500;
    color: #b3261e;
}

.atendimento > div:not(.lista3) {
    text-align: center;
}

.lista3 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.lista3 h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--azul);
    padding: 20px 0;
    border-bottom: 1px solid #d5e5ef;
}

.lista3 p {
    font-size: 17px;
    padding: 20px 0;
    border-bottom: 1px solid #d5e5ef;
}

/* =========================
   ATENDIMENTO ONLINE
========================= */
.online {
    padding: 80px 20px;
    background: var(--azul);
    color: var(--branco);
    text-align: center;
}

.online h2 {
    color: var(--branco);
}

.online > p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
}

.online .box-agendamento a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.online .box-agendamento img {
    width: 20px;
    height: auto;
}

.online .box-agendamento p {
    margin: 0;
}

/* =========================
   BANNER FINAL
========================= */
.banner-final {
    padding: 90px 20px;
    background: var(--azul-claro);
    text-align: center;
}

.banner-final > div {
    max-width: 750px;
    margin: 0 auto;
}

.banner-final p {
    font-size: 18px;
    line-height: 1.8;
}

/* =========================
   RODAPÉ
========================= */
.rodape {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 50px max(20px, calc((100% - 1200px) / 2));
    background: var(--azul-profundo);
    color: var(--branco);
}

.container-rodape img {
    display: block;
    width: 220px;
    height: auto;
    margin-bottom: 16px;
}

.container-rodape p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.rodape h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.rodape a {
    display: inline-block;
    margin-right: 12px;
}

.rodape a img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.rodape a:hover img {
    transform: translateY(-2px);
}

/* =========================
   TABLET
========================= */
@media (max-width: 900px) {

    .topo .container {
        align-items: center;
    }

    .logo {
        width: 280px;
    }

    .links-topo {
        gap: 18px;
    }

    .box-slogan h1 {
        font-size: 40px;
    }

    .box-slogan h1 span {
        font-size: 22px;
    }

    .sobre {
        grid-template-columns: 1fr;
        grid-template-areas:
            "foto"
            "texto"
            "destaque"
            "complemento";
        padding: 70px 20px;
    }

    .formacao {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .formacao > div:first-child,
    .formacao .lista {
        width: 100%;
    }

    .card1,
    .card2,
    .card3,
    .card4,
    .card5 {
        width: calc((100% - 24px) / 2);
    }
}

/* =========================
   CELULAR
========================= */
@media (max-width: 768px) {

    .topo {
        padding: 18px 0 22px;
    }

    .topo .container {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .logo {
        width: 280px;
    }

    .links-topo {
        padding-top: 0;
        gap: 16px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .links-topo a {
        font-size: 15px;
    }

    .box-visao-geral {
        padding: 45px 0 60px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .box-slogan {
        width: 100%;
    }

    .box-slogan h1 {
        font-size: 36px;
        line-height: 1.2;
    }

    .box-slogan h1 span {
        font-size: 21px;
    }

    .box-slogan p {
        font-size: 16px;
        line-height: 1.65;
        margin-left: auto;
        margin-right: auto;
    }

    .box-fotoinicio {
        width: 100%;
    }

    .box-fotoinicio img {
        max-width: 400px;
    }

    .sobre h2,
    .formacao h2,
    .todos h2,
    .tcc h2,
    .mudancas h2,
    .atendimento h2,
    .online h2,
    .banner-final h2 {
        font-size: 30px;
    }

    .todos,
    .tcc,
    .mudancas,
    .atendimento,
    .banner-final {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .card1,
    .card2,
    .card3,
    .card4,
    .card5 {
        width: 100%;
    }

    .mudança-lista,
    .lista3 {
        grid-template-columns: 1fr;
    }

    .mudança-lista h3,
    .lista3 h3 {
        padding-bottom: 4px;
        border-bottom: none;
    }

    .mudança-lista p,
    .lista3 p {
        padding-top: 0;
    }

    .contato-formulario .container {
        padding: 30px 22px;
    }


/*====== acrescentando a nova imagem =====*/

    .contato-layout {
        flex-direction: column;
    }
    
    .contato-imagem img {
        height: auto;
        max-height: 380px;
    }



    .rodape {
        flex-direction: column;
        text-align: center;
    }

    .container-rodape img {
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================
   CELULAR PEQUENO
========================= */
@media (max-width: 480px) {

    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 0 16px;
    }

    .logo {
        width: 245px;
    }

    .links-topo {
        gap: 12px;
    }

    .links-topo a {
        font-size: 14px;
    }

    .box-slogan h1 {
        font-size: 31px;
    }

    .box-slogan h1 span {
        font-size: 19px;
    }

    .box-slogan p {
        font-size: 15px;
    }

    .box-agendamento a {
        padding: 13px 24px;
        font-size: 15px;
    }

    .destaque p:last-child {
        font-size: 21px;
    }
}

