/* ==========================================================================
   RESET & CONFIGURAÇÕES GERAIS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #b35d70; /* Rosa antigo */
    --primary-dark: #8c4353; /* Rosa escuro para hover */
    --primary-light: #f7ebed; /* Rosa bem suave para seções alternadas */
    --text-dark: #333333; /* Cinza escuro para legibilidade */
    --text-light: #ffffff;
    --bg-light: #fdfdfd;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --container-width: 1140px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   COMPONENTES
   ========================================================================== */
.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(179, 93, 112, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179, 93, 112, 0.4);
}

/* ==========================================================================
   HERO SECTION (Banner Principal)
   ========================================================================== */
.hero {
    position: relative;
    background-image: linear-gradient(to right, rgba(253, 253, 253, 0.95) 50%, rgba(253, 253, 253, 0.7) 100%), url('hero-bg.jpg');
    background-size: cover;
    background-position: right center;
    padding: 120px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero .container {
    max-width: 650px; /* Mantém o texto apenas no lado esquerdo */
    margin-left: max(20px, calc((100% - var(--container-width)) / 2 + 20px));
}

.hero .subtitle {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.4rem; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    white-space: nowrap; /* Impede a quebra de linha no computador */
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero .highlight {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero .features {
    list-style: none;
    margin-bottom: 40px;
}

.hero .features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-weight: 600;
}

.hero .features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* NOVO BOTÃO WHATSAPP - HERO */
.btn-hero-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25d366; /* Verde característico do WhatsApp */
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.btn-hero-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Ajustes responsivos para telas menores */
@media (max-width: 768px) {
    .hero {
        background-image: linear-gradient(to bottom, rgba(253, 253, 253, 0.9) 30%, rgba(253, 253, 253, 0.95) 100%), url('hero-bg.jpg');
        background-position: 75% center;
        padding: 60px 0;
        text-align: center;
        min-height: auto;
    }
    
    .hero .container {
        margin: 0 auto;
        padding: 0 20px;
    }
    
	.hero .subtitle {
        font-size: 1rem; 
        white-space: normal; /* Permite a quebra apenas na telinha apertada do celular */
    }

    .hero .features li {
        padding-left: 0;
    }
    
    .hero .features li::before {
        display: none;
    }
}

/* ==========================================================================
   SEÇÕES GENÉRICAS
   ========================================================================== */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 15px auto 0 auto;
}

/* ==========================================================================
   DIAGNOSTICOS & SINTOMAS
   ========================================================================== */
.diagnosticos-sintomas {
    background-color: #ffffff;
}

.diagnosticos-sintomas h2 + p {
    text-align: center;
    max-width: 700px;
    margin: -25px auto 40px auto;
}

.tags-condicoes {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
}

.tags-condicoes li {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
}

.diagnosticos-sintomas h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    text-align: center;
}

.lista-sintomas {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.lista-sintomas li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 18px;
    font-size: 1.1rem;
}

.lista-sintomas li::before {
    content: "!";
    position: absolute;
    left: 0;
    top: 2px;
    background-color: var(--primary);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* ==========================================================================
   SOBRE MIM (Com Imagem ao Lado)
   ========================================================================== */
.sobre-mim {
    background-color: var(--primary-light);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Divide em duas colunas iguais */
    gap: 50px;
    align-items: center;
}

.sobre-mim h2 {
    text-align: left;
}

.sobre-mim h2::after {
    margin-left: 0;
}

.sobre-mim p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.sobre-imagem img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Sombra suave para dar destaque */
}

/* Ajuste para celulares */
@media (max-width: 768px) {
    .sobre-grid {
        grid-template-columns: 1fr; /* Volta para 1 coluna no celular */
        text-align: center;
    }
    .sobre-mim h2 {
        text-align: center; 
    }
    .sobre-mim h2::after {
        margin: 15px auto 0 auto; 
    }
    .sobre-imagem {
        order: -1; /* Faz a foto aparecer ANTES do texto no celular */
        margin-bottom: 30px;
    }
}

/* ==========================================================================
   COMO FUNCIONA
   ========================================================================== */
.como-funciona {
    background-color: #ffffff;
}

.passos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.passo {
    background-color: #ffffff;
    border: 1px solid #f1f1f1;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.passo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.passo h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.como-funciona h3 {
    text-align: center;
    margin-bottom: 30px;
}

.etapas-processo {
    max-width: 600px;
    margin: 0 auto;
    padding-left: 20px;
}

.etapas-processo li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

/* ==========================================================================
   FAQ (Accordion com Native Details)
   ========================================================================== */
.faq {
    background-color: var(--primary-light);
}

.accordion {
    max-width: 700px;
    margin: 0 auto;
}

details {
    background-color: #ffffff;
    margin-bottom: 15px;
    border-radius: 8px;
    padding: 15px 20px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: var(--transition);
}

details[open] {
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

summary {
    font-weight: bold;
    font-size: 1.05rem;
    color: var(--primary-dark);
    outline: none;
    list-style: none; /* remove seta padrão */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker {
    display: none; /* remove seta webkit */
}

summary::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--primary);
    transition: transform 0.2s;
}

details[open] summary::after {
    content: "−";
}

details p {
    margin-top: 15px;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ==========================================================================
   RODAPÉ E CONTATO
   ========================================================================== */
footer {
    background-color: #2b1f23; /* Tom muito escuro puxado para o vinho */
    color: #ffffff;
    padding: 80px 0 40px 0;
    text-align: center;
}

footer h2 {
    color: #ffffff;
    margin-bottom: 20px;
}

footer h2::after {
    background-color: var(--primary);
}

footer p {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25d366;
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 35px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    margin-bottom: 50px;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.contatos-diretos {
    margin: -15px auto 40px auto;
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1.15rem;
    font-weight: 500;
}

.contatos-diretos a, .contatos-diretos span {
    color: #ffffff;
    opacity: 0.9;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.contatos-diretos a:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contatos-diretos {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

.copyright {
    font-size: 0.85rem !important;
    opacity: 0.5;
    margin-bottom: 0 !important;
}

/* ==========================================================================
   MEDIA QUERIES (Responsivo para telas menores)
   ========================================================================== */
@media (max-width: 768px) {
    .hero {
        background-image: linear-gradient(to bottom, rgba(253, 253, 253, 0.9) 30%, rgba(253, 253, 253, 0.95) 100%), url('hero-bg.jpg');
        background-position: 75% center;
        padding: 60px 0;
        text-align: center;
        min-height: auto;
    }
    
    .hero .container {
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .hero .features li {
        padding-left: 0;
    }
    
    .hero .features li::before {
        display: none;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 1.7rem;
    }
}

/* ==========================================================================
   BOTÃO WHATSAPP FLUTUANTE
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}