/* =========================================
   VARIÁVEIS E CONFIGURAÇÕES GERAIS
   ========================================= */
:root {
    --bg-main: #FAF8F5;      /* Creme super suave (descansa a vista) */
    --bg-secondary: #FFFFFF; 
    --surface-color: #F4EFEB; /* Fundo para contraste sutil */
    
    /* CORES DE TEXTO AJUSTADAS PARA LEITURA CONFORTÁVEL */
    --text-primary: #2b2625;   /* Quase preto, mas suave para títulos */
    --text-secondary: #453e3d; /* Cinza escuro/chumbo para parágrafos (melhor legibilidade) */
    
    --accent: #B87A74;       
    --accent-dark: #9A625D;
    
    --font-display: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    --section-spacing: clamp(90px, 12vw, 140px);
    --border-radius: 8px;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-main);
    line-height: 1.85; /* Aumentado: mais espaço entre linhas para não embaralhar a vista */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-primary);
}

/* TEXTOS DE APOIO (PARÁGRAFOS) OTIMIZADOS */
p {
    color: var(--text-secondary);
    margin-bottom: 28px; /* Mais respiro entre os parágrafos */
    font-size: 1.15rem; /* Letra maior para leitura sem esforço */
    font-weight: 400;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* =========================================
   BOTÕES E ELEMENTOS GERAIS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--accent);
    color: var(--bg-secondary);
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px; 
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(184, 122, 116, 0.3);
    border: 1px solid transparent;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 122, 116, 0.4);
}

.js-scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js-scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* =========================================
   HERO SECTION & CRP BADGE
   ========================================= */
.hero {
    position: relative;
    min-height: 90vh; 
    display: flex;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
    background-image: url('fundo.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(250, 248, 245, 0.85) 0%, rgba(250, 248, 245, 0.98) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center; 
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 4rem); 
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

/* DESTAQUE DO CRP */
.crp-destaque {
    display: inline-block;
    background-color: var(--accent);
    color: #FFFFFF;
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(184, 122, 116, 0.4);
    border: 2px solid rgba(255,255,255,0.5);
}

.dot-separator {
    color: var(--accent);
    font-size: 0.8em;
    vertical-align: middle;
    margin: 0 8px;
    opacity: 0.8;
}

.hero-subtitle {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--text-primary);
    font-weight: 400;
    font-style: italic;
    font-family: var(--font-display); 
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   SEÇÃO SOBRE (APRESENTAÇÃO)
   ========================================= */
.apresentacao {
    background-color: var(--bg-secondary);
    padding: var(--section-spacing) 0;
}

.apresentacao-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.img-container {
    position: relative;
    padding: 15px; 
}

.img-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    opacity: 0.3;
    z-index: 0;
    border-radius: var(--border-radius);
    transform: translate(15px, 15px);
    transition: transform 0.4s ease;
}

.img-container:hover::after {
    transform: translate(10px, 10px);
}

.apresentacao-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.apresentacao-text {
    max-width: 600px; /* Limita a largura do texto para o olho não cansar varrendo a tela */
}

.apresentacao-text h2 {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    margin-bottom: 35px;
    position: relative;
    display: inline-block;
}

.apresentacao-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

/* =========================================
   A CLÍNICA (ABORDAGEM)
   ========================================= */
.abordagem {
    padding: var(--section-spacing) 0;
    text-align: center;
    background-color: var(--surface-color); 
}

.abordagem-content {
    max-width: 800px; /* Mantém o bloco de texto centralizado e confortável de ler */
    margin: 0 auto;
}

.abordagem h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 40px;
}

/* =========================================
   COMO POSSO AJUDAR (CARDS)
   ========================================= */
.ajuda {
    background-color: var(--bg-secondary);
    padding: var(--section-spacing) 0;
}

.ajuda h2 {
    text-align: center;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    margin-bottom: 70px;
}

.ajuda-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.card-ajuda {
    background-color: var(--bg-main);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0,0,0,0.04);
    border-left: 5px solid var(--accent);
    font-size: 1.15rem;
    font-weight: 700; /* Textos dos cards um pouco mais fortes */
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.card-ajuda i {
    color: var(--accent);
    margin-right: 20px;
    font-size: 1.5rem;
    background-color: rgba(184, 122, 116, 0.15);
    padding: 16px;
    border-radius: 50%;
}

.card-ajuda:hover {
    transform: translateY(-5px);
    background-color: #FFFFFF;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: rgba(184, 122, 116, 0.3);
}

/* =========================================
   CTA FINAL
   ========================================= */
.cta-final {
    padding: clamp(100px, 15vw, 150px) 0;
    text-align: center;
    background-color: var(--accent);
    color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

.cta-final h2 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 25px;
    color: #FFFFFF;
}

.cta-final p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 50px;
}

.btn-reverse {
    background-color: var(--bg-secondary);
    color: var(--accent-dark);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-reverse:hover {
    background-color: var(--surface-color);
    color: var(--text-primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* =========================================
   WHATSAPP E FOOTER
   ========================================= */
.float-whatsapp {
    position: fixed;
    bottom: 35px;
    right: 35px;
    background-color: #25D366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
}

.float-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

footer {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--bg-main);
    font-size: 0.95rem; /* Um pouco maior no rodapé também */
}

footer p {
    margin-bottom: 0;
}

.dev-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.dev-link:hover {
    opacity: 0.7;
}

.dev-name { font-weight: 700; }
.dot-eng { color: #7b8f75; font-weight: 700; } 

footer strong {
    font-weight: 700;
    color: var(--text-primary);
}

/* =========================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================= */
@media (min-width: 768px) {
    .apresentacao-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 80px;
    }

    .ajuda-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .card-ajuda:last-child:nth-child(odd) {
        grid-column: span 2;
        width: 60%;
        margin: 0 auto;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        white-space: nowrap; 
    }
    .card-ajuda:last-child:nth-child(odd) {
        width: 50%;
    }
}