/* ========================= 
   FONTES PREMIUM
========================= */
@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* =========================
   VARIÁVEIS
========================= */
:root {
    --rosa: #E2B3B7;
    --fundo: #F9F5F4;
    --texto: #1e1e1e;
    --branco: #ffffff;
}

/* =========================
   RESET TOTAL
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

/* =========================
   BODY
========================= */
body {
    font-family: 'Inter', sans-serif;
    background: var(--fundo);
    color: var(--texto);
}

/* FUNDO PADRÃO */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("../imagens/fundo do site.jpeg");
    background-size: 320px;
    opacity: 0.08;
    z-index: -1;
}

/* =========================
   BANNER + MENU
========================= */
.banner {
    text-align: center;
    padding-top: 12px;
}

.banner-logo img {
    max-width: 220px;
}

.menu-topo {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 14px;
    background: var(--rosa);
}

.menu-topo a {
    color: white;
    text-decoration: none;
    font-family: 'Abhaya Libre', serif;
    font-weight: 600;
}

/* =========================
   APRESENTAÇÃO — MOBILE
========================= */
.apresentacao {
    position: relative;
    width: 100%;
}

/* IMAGEM */
.apresentacao-imagem,
.apresentacao-imagem img {
    width: 100%;
}

.apresentacao-imagem {
    position: relative;
}

.apresentacao-imagem img {
    display: block;
    object-fit: cover;
}

/* DEGRADÊ MOBILE */
.apresentacao-imagem::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(249,245,244,0) 60%,
        rgba(249,245,244,1) 100%
    );
}

/* TEXTO MOBILE */
.apresentacao-texto {
    position: relative;
    background: none;
    margin-top: -70px;
    padding: 30px 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.apresentacao-texto p {
    max-width: 820px;
    margin: 0 auto 14px;
    font-size: 15px;
    line-height: 1.75;
}

.apresentacao-texto p:first-child {
    font-family: 'Abhaya Libre', serif;
    font-size: 18px;
    font-weight: 600;
}

/* =========================
   SEÇÕES
========================= */
main section:not(.apresentacao) {
    padding: 70px 20px;
}

h2 {
    text-align: center;
    font-family: 'Abhaya Libre', serif;
    font-size: 30px;
    color: var(--rosa);
}

/* =========================
   AGENDAMENTO
========================= */
.form-agendamento {
    max-width: 520px;
    margin: 30px auto 0;
    background: white;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.campo {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.campo label {
    font-weight: 500;
    margin-bottom: 6px;
}

.campo input,
.campo textarea {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.btn-agendar {
    width: 100%;
    padding: 14px;
    background: var(--rosa);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Abhaya Libre', serif;
    font-weight: 600;
}

/* =========================
   LOCALIZAÇÃO
========================= */
.localizacao {
    max-width: 520px;
    margin: 40px auto 0;
    background: white;
    padding: 24px;
    border-radius: 18px;
    text-align: center;
}

.localizacao iframe {
    width: 100%;
    height: 240px;
    border-radius: 14px;
}

.btn-maps {
    display: inline-block;
    margin-top: 14px;
    padding: 12px 18px;
    background: var(--rosa);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Abhaya Libre', serif;
    font-weight: 600;
}

/* =========================
   MATERIAL
========================= */
.materia-pdf {
    max-width: 520px;
    margin: 30px auto 0;
    background: white;
    padding: 24px;
    border-radius: 18px;
}

.pdf-preview iframe {
    width: 100%;
    height: 280px;
    border-radius: 12px;
}

.pdf-botoes {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.btn-clinica {
    flex: 1;
    padding: 12px;
    background: var(--rosa);
    color: white;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-family: 'Abhaya Libre', serif;
}

.btn-outline {
    background: transparent;
    color: var(--rosa);
    border: 2px solid var(--rosa);
}

/* =========================
   FOOTER
========================= */
footer {
    background: var(--rosa);
    padding: 20px;
    text-align: center;
}

.instagram-icon img {
    width: 28px;
}

/* =========================
   WHATSAPP FIXO
========================= */
.whatsapp-fixo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999; /* CORREÇÃO PARA GARANTIR VISIBILIDADE */
}

.whatsapp-fixo img {
    width: 55px;
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 769px) {

    .apresentacao {
        display: flex;
        align-items: center;
        gap: 60px;
        padding: 40px 60px;
    }

    .apresentacao-imagem {
        max-width: 520px;
    }

    .apresentacao-imagem::after {
        display: none;
    }

    .apresentacao-imagem img {
        border-radius: 18px;
    }

    .apresentacao-texto {
        margin: 0;
        padding: 0;
        max-width: 520px;
        align-items: flex-start;
        text-align: left;
    }

    /* ===== AJUSTE EXTRA APENAS DESKTOP ===== */
    .apresentacao {
        max-width: 1200px;
        margin: 0 auto;
    }

    .apresentacao-imagem {
        max-width: 600px;
    }

    .apresentacao-texto {
        max-width: 600px;
    }

    .apresentacao-texto p {
        font-size: 16px;
    }

    .apresentacao-texto p:first-child {
        font-size: 22px;
    }
}

/* =========================
   FAQ — AJUSTADO
========================= */
.faq-wrapper {
    padding: 70px 20px;
}

.faq {
    max-width: 520px;
    margin: 40px auto 0;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    overflow: hidden;
}

.faq-pergunta {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Abhaya Libre', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--texto);
    -webkit-text-fill-color: var(--texto);
    -webkit-appearance: none;
    appearance: none;
}

.faq-pergunta span {
    font-size: 22px;
    color: var(--rosa);
    transition: transform 0.3s ease;
}

.faq-resposta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-resposta p,
.faq-resposta ol {
    padding: 0 20px 18px;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.faq-resposta ol {
    padding-left: 36px;
}

.faq-item.ativo .faq-resposta {
    max-height: 600px;
}

.faq-item.ativo .faq-pergunta span {
    transform: rotate(45deg);
}
