:root {
    --font-all-color: #2b1c17;
    --color-theme-main: #853616;
}

body {
    /* overflow-x: hidden; */
    font-size: 62.5%;
    font-family: 'Raleway', sans-serif;
    font-weight: 400; /* peso padrão (regular) */
    color: var(--font-all-color);
    margin: 0;
    position: relative;
    z-index: 0;
}

@media (max-width: 500px) {
    body {
        width: 100%;
    }
}

.container {
    max-width: 64.6rem;
    margin: auto;
}

hr {
    width: 35%;
    border: none;
    border-top: 1px dotted rgba(0, 0, 0, 0.2);
    margin: 3.8rem auto;
    padding-top: 1px;
}

.btn-geral {
  background: linear-gradient(to right, #853616, #b44e22, #853616);
  color: white;
  text-decoration: none;
  padding: 0.8em 2.2em;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.btn-geral:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.25);
}

.btn-servico {
    text-align: center;
    width: 150px;
    margin: auto auto 0;
}

nav {
    padding: 1px 0 0 20px;
    height: 60px;
    background-color: white;
    position: sticky;
    top: 0; right: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

/* menu padrão (desktop) */
.menu {
    width: 95%;
    margin: 16px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.4em;
    list-style: none;
    font-size: 1.5em;
    padding: 0;
    flex-wrap: wrap;
    font-weight: 600;
}

.menu a {
    text-decoration: none;
    color: var(--color-theme-main);
    letter-spacing: 1px;
    padding: 2px 2px 6px;
    cursor: pointer;
}

.menu a {
    position: relative;
    text-decoration: none;
    color: var(--color-theme-main);
    letter-spacing: 1px;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 1px;
    width: 0;
    background: var(--color-theme-main);
    transition: 0.3s ease;
    transform: translateX(-50%);
}

.menu a:hover::after {
    width: 80%;
}

.menu.aberto {
    transform: translateX(0);
}

/* ----- HAMBURGER BUTTON ----- */
.hamburger {
    width: 30px;
    height: 22px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--color-theme-main);
    border-radius: 3px;
    transition: 0.3s ease;
}

/* animação do hambúrguer -> X */
.hamburger.ativo span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.ativo span:nth-child(2) {
    opacity: 0;
}

.hamburger.ativo span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ----- MOBILE ----- */
@media (max-width: 420px) {

    .hamburger {
        display: flex;
    }

    /* transforma menu em lateral mobile */
    .menu {
        flex-direction: column;
        margin: 0;
        position: fixed;
        top: 0;
        left: 0;
        background: #fff;
        width: 100%;
        padding: 6em 0 3em;
        gap: 2em;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 5;
    }

    /* menu aberto */
    .menu.aberto {
        transform: translateX(0);
    }

    /* overlay */
    #menu-overlay {
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.45);
        backdrop-filter: blur(4px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 4;
    }

    #menu-overlay.ativo {
        opacity: 1;
        pointer-events: all;
    }
}

@media (max-width: 880px) {

    .hamburger {
        display: flex;
    }

    /* transforma menu em lateral mobile */
    .menu {
        flex-direction: column;
        margin: 0;
        position: fixed;
        top: 0;
        left: 0;
        background: #fff;
        width: 100%;
        padding: 6em 0 3em;
        gap: 2em;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 5;
    }

    /* menu aberto */
    .menu.aberto {
        transform: translateX(0);
    }

    /* overlay */
    #menu-overlay {
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.45);
        backdrop-filter: blur(4px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 4;
    }

    #menu-overlay.ativo {
        opacity: 1;
        pointer-events: all;
    }
}

/* Fundo escuro com blur */
#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 4; /* abaixo do menu móvel */
}

/* Quando o menu está aberto */
#menu-overlay.ativo {
    opacity: 1;
    pointer-events: all;
}

/* Para garantir que o hamburger fique acima */
#hamburger {
    z-index: 6;
}

.cabecalho-principal {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
}

@media (max-width: 800px) {
    .cabecalho-principal {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 500px) {
    .cabecalho-principal {
        flex-grow: 1;
    }
}

.apresentacao {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
}

.logo {
    width: 400px;
    margin: 30px 10px 1px;
}

@media (max-width: 800px) {
    .logo {
        margin-top: 20px;
    }
}

@media (max-width: 500px) {
    .logo {
        width: 60%;
        margin-top: 10px;
    }
}

.saudacao {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.8em;
    color: var(--font-all-color);
    margin-bottom: 0;
}

.slogan {
    font-size: 2.1em;
    width: 80%;
    text-align: center;
    font-style: italic;
}

@media (max-width: 500px) {
    .saudacao {
        font-size: 1.2em;
    }

    .slogan {
        font-size: 1.5em;
        width: 75%;
    }

    .btn-inicio {
        font-size: 0.8rem;
        padding: 0.6em 2em;
    }
}

.foto-doutora {
    width: 290px;
    border: 8px double var(--color-theme-main);
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    margin-top: 10px;
}

.foto-doutora:hover {
    transform: scale(1.02);
}

@media (max-width: 500px) {
    .foto-doutora {
        width: 60%;
        margin: 30px 0 60px;
        border: 6px double var(--color-theme-main);
        transition: none;
    }

    .foto-doutora:hover{
        transform: none;
    }
}

@media (max-width: 800px) {
    .foto-doutora {
        width: 60%; 
        margin: 20px auto 0;
        border: 6px double var(--color-theme-main);
    }
}

.btn-whatsapp {
    border-radius: 50%;
    width: 60px;
    position: fixed;
    bottom: 15px; right: 20px;
    z-index: 2;
    box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

a .btn-whatsapp:hover {
    box-shadow: 1px 1px 9px 1px rgba(46, 209, 20, 0.9);
}

.frase {
    width: 70%;
    text-align: center;
    font-size: 2em;
    font-style: italic;
    font-weight: 600;
    margin: 5em auto 1.6em;
    color: #853516cc
}

.aplicacao-frase {
    width: 90%;
    text-align: center;
    font-size: 2em;
    margin: 0 auto 1em;
}

@media (max-width: 500px) {
    .frase {
        width: 90%;
        margin-top: 2em;
        margin-bottom: 1em;
        font-size: 1.5em;
    }
    
    .aplicacao-frase {
        font-size: 1.8em;
    }

    .btn-whatsapp {
        width: 45px;
    }
}

.especialidades {
    display: flex;
    gap: 4em;
    justify-content: center;
    flex-wrap: wrap;
    /* height: 190px; */
}

.especialidades-item {
    background: linear-gradient(to right, #853616, #b44e22, #853616);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    flex-basis: 250px;
    max-height: 100%;
    padding: 0.7em;
    outline: 2px solid rgba(255, 255, 255);
    outline-offset: -7px;
    box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}


.especialidades-item:hover {
    transform: translateY(-4px) scale(1.01);
}

.especialidades-item__texto {
    width: 90%;
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 1.5em;
    margin-top: 0;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.especialidades-item img {
    width: 70px;
    padding: 12px;
    transition: transform 0.3s ease;
}

.especialidades-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 500px) {
    .especialidades-item, .especialidades-item img {
        transition: none;
    }

    .especialidades-item:hover, .especialidades-item:hover img {
        transform: none;
    }
}

.subtitulo-principal {
    font-size: 2.1rem;
    text-align: center;
    font-weight: bold;
    color: var(--color-theme-main);
    margin: 1rem auto 2.5rem;
    position: relative;
    display: block;
    width: fit-content;
    padding-top: 1px;
}

@media (max-width: 500px) {
    .subtitulo-principal {
        font-size: 2.4em;
    }
}

.subtitulo-principal::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, #853616, #d66d40, #853616);
    border-radius: 2px;
}

.servicos {
    display: flex;
    flex-wrap: wrap;
    gap: 7em;
    justify-content: center;
    width: 80%;
    margin: 6em auto;
}

@media (max-width: 500px) {
    .servicos {
        gap: 4em;
    }
}

.servicos-plano {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 5px double #e0d6d1;
    padding: 2.4em;
    width: 340px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.servicos-plano:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.12);
    border: 5px double var(--color-theme-main);
}

@media (max-width: 500px) {
    .servicos-plano {
        transition: none;
    }

    .servicos-plano:hover {
        transform: none;
        border: 5px double #e0d6d1;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    }
}

.servicos-plano__titulo {
    font-size: 2.1em;
    color: var(--color-theme-main);
    margin: 0 0 0.6em;
    border-bottom: 2px solid var(--color-theme-main);
    display: inline-block;
}

.servicos-plano__info, .servicos-plano__list-info {
    font-size: 1.6em;
    line-height: 1.8;
    color: #3c2b23;
    margin: 0;
}

.servicos-plano__list-info {
    margin-bottom: 30px;
}

.depoimentos_container {
  max-width: 49.6rem;
  margin: 0 auto 4em;
  text-align: center;
}

.depoimentos {
  column-count: 3;
  column-gap: 2em;
  overflow: hidden;
}

.depoimentos_item {
  break-inside: avoid;
  margin-bottom: 2em;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.25s ease;
  width: 250px;
}

.depoimentos_item:hover {
  transform: translateY(-2px);
}

@media (max-width: 500px) {
    .depoimentos_item {
        transition: none;
    }

    .depoimentos_item:hover {
        transform: none;
    }
}

.depoimentos_item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media (max-width: 450px) {
    #depoimentos {
        column-count: 2;
        column-gap: 1.2em;
    }

    .depoimentos_container {
        width: 85%;
    }

    .depoimentos_item {
        width: 150px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }
}

.sobre-layout {
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    gap: 4em;
    flex-wrap: wrap;
    width: 90%;
    margin: 3em auto;
}

.sobre-fotos {
    position: relative;
    flex: 1 1 350px;
    margin-bottom: 1rem;
    z-index: 0;
}

.foto-principal {
    width: 330px;
    border: 6px double var(--color-theme-main);
}

.foto-secundaria {
    width: 180px;
    position: absolute;
    bottom: -10px;
    right: -5px;
    border: 4px solid var(--color-theme-main);
    box-shadow: 1px 1px 6px rgba(0,0,0,0.25);
}

.sobre-texto {
    flex: 1 1 400px;
    font-size: 1.6em;
    line-height: 1.7;
}

@media (max-width: 450px) {
    .foto-principal {
        margin-left: 20px;
        width: 250px;
    }

    .foto-secundaria {
        width: 140px;
        right: 15px;
    }

    .sobre-texto p{
        width: 85%;
        margin-left: auto;
        margin-right: auto;
    }
}

.ebook-container {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 2.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 450px) {
    .ebook-container {
        margin-bottom: 10px;
    }
}

.ebook-container img {
    max-width: 400px;
    max-height: 400px;
    outline: 2px solid white;
    outline-offset: -6px;
    box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}


.ebook-container img:hover {
    transform: scale(1.01);
}

.container-texto__explicacao {
    font-size: 1.1rem;
    line-height: 1.5;
    letter-spacing: 0.2pt;
}

b {
    font-weight: 600;
}

.preco-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1em;
  margin-top: 2em;
  text-align: center;
}

.preco-info {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.2em;
  color: var(--color-theme-main);
  font-weight: 700;
  line-height: 1;
}

.preco-simbolo {
  font-size: 1.4rem;
  margin-bottom: 0.2em;
}

.preco-valor {
  font-size: 3.5rem;
  letter-spacing: -1px;
}

@media (max-width: 450px) {
    .ebook-container {
        flex-direction: column;
    }

    .ebook-container img {
        width: 100%;
    }
}

.container__perg-freq {
    text-align: center;
}

.container__perg-freq_perg {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-theme-main);
}

.container__perg-freq_resp {
    font-size: 1rem;
    font-style: italic;
    color: var(--font-all-color);
}

@media (max-width: 450px) {
    .container__perg-freq_perg {
        font-size: 1.1rem;
    }

    .container__perg-freq_resp {
        font-size: 0.9rem;
    }
}

.footer {
    background: var(--color-theme-main);
    padding: 1.5em 1em 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
}

.footer-logo-principal img {
    width: 220px;
}

.footer-info {
    display: flex;
    justify-content: center;
    gap: 1em;
    flex-wrap: wrap;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.6em;
    text-decoration: none;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-social:hover {
    opacity: 0.7;
}

.footer-social img {
    width: 22px;
}

.footer-creditos {
    font-size: 0.95rem;
    color: white;
    line-height: 1.5;
    margin: 5px 0;
}

.footer-creditos p {
    margin-top: 0;
    margin-bottom: 1.4rem;
    padding-bottom: 1px;
}

@media (max-width: 450px) {
    .footer-creditos p {
        font-size: 0.8rem;
    }
}

.footer-criador {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    opacity: 0.6;
}

.footer-criador a {
    color: white;
    text-decoration: none;
}

.footer-criador img {
    width: 30px;
}

.footer-criador:hover {
    opacity: 1;
}

#btn-topo {
    position: fixed;
    bottom: 70px;
    right: 25px;
    z-index: 3;
    width: 40px;
    height: 40px;
    background: var(--color-theme-main);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    /* escondido inicialmente */
    opacity: 0;
    pointer-events: none;

    /* transições suaves */
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

#btn-topo:hover {
    transform: translateY(-3px);
}