/* 
    Dra. Carolina Sarmento - Landing Page Styles
    Design System & Tokens - ELEGANTE & CLEAN
*/
:root {
    /* Colors */
    --clr-primary: #411721; /* Burgundy / Dark Red */
    --clr-primary-light: #5A2330;
    --clr-secondary: #F5EBE1; /* Beige / Cream */
    --clr-accent: #A5855A; /* Flat Elegant Gold */
    --clr-accent-hover: #C19B76;
    --clr-text-dark: #2D2D2D;
    --clr-text-light: #FFFFFF;
    --clr-bg-light: #FAFAFA;
    --clr-whatsapp: #25D366;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-dark);
    line-height: 1.6;
    background-color: var(--clr-secondary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--clr-primary);
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: var(--spacing-xl) 0;
}

.bg-light {
    background-color: var(--clr-bg-light);
}

.bg-dark {
    background-color: #1a080d; /* Escuro para a seção de Dores */
}

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

.text-light {
    color: var(--clr-text-light) !important;
}

.text-light-muted {
    color: rgba(245, 235, 225, 0.9);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Utilities */
.highlight {
    color: var(--clr-accent);
    font-style: italic;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: #FFF;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}

.btn-outline:hover {
    background-color: var(--clr-primary);
    color: var(--clr-text-light);
}

.btn-full {
    display: block;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(245, 235, 225, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.nav ul {
    display: flex;
    gap: var(--spacing-md);
}

.nav a {
    color: var(--clr-primary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--clr-accent);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--clr-primary);
    background-image: url('assets/img/saude-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--clr-text-light);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle overlay: Burgundy color blending into the image */
    background: linear-gradient(90deg, rgba(65, 23, 33, 0.95) 0%, rgba(65, 23, 33, 0.8) 50%, rgba(65, 23, 33, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    align-items: center;
}

.hero-text {
    max-width: 600px;
    z-index: 3;
}

.hero-logo {
    height: 160px;
    margin-bottom: 25px;
    margin-left: -50px; /* Alinha a logo à esquerda compensando a margem interna do PNG */
    opacity: 0.95;
    display: block;
}

.hero h1 {
    font-size: 3.2rem;
    color: var(--clr-text-light);
    margin-bottom: var(--spacing-md);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
    max-width: 600px;
}

.hero-features {
    display: flex;
    gap: 15px;
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-features i {
    color: var(--clr-accent);
    margin-right: 5px;
}

.hero-image {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.hero-image img {
    max-height: 85vh;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    mask-image: linear-gradient(to top, transparent 0%, black 15%);
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 15%);
}

/* Dores Section */
.pains {
    border-top: 1px solid rgba(255,255,255,0.05);
}

.pains .section-title::after {
    background-color: var(--clr-accent);
}

.pains .section-subtitle {
    color: var(--clr-accent);
    font-size: 1.25rem;
    font-style: italic;
    opacity: 1;
}

.pains-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.pain-item {
    color: var(--clr-text-light);
}

.pain-item i {
    font-size: 3rem;
    color: var(--clr-accent);
    margin-bottom: var(--spacing-sm);
}

.pain-item h3 {
    color: var(--clr-text-light);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.pain-item p {
    color: rgba(245, 235, 225, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* About / Minha História */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.img-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.img-wrapper:hover img {
    transform: scale(1.03);
}

.img-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(65, 23, 33, 0.8), transparent);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--clr-accent);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
    color: #555;
}

.about-content p {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    color: #444;
}

.stats {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0,0,0,0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--clr-primary);
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-accent);
    font-weight: 600;
    margin-top: 5px;
}

/* Áreas de Atuação - Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.card {
    background-color: #FFFFFF;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--clr-accent);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--clr-accent);
    margin-bottom: var(--spacing-sm);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #FFFFFF;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--clr-primary);
    transition: background-color 0.3s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--clr-accent);
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.faq-item[open] summary {
    background-color: var(--clr-secondary);
}

.faq-content {
    padding: 0 20px 20px;
    color: #555;
    font-size: 0.95rem;
}

.faq-content p:last-child {
    margin-bottom: 0;
}

/* Atendimento / Contato */
.contact-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.info-blocks {
    margin-top: var(--spacing-md);
    display: grid;
    gap: var(--spacing-md);
}

.info-block {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-block i {
    font-size: 1.8rem;
    color: var(--clr-accent);
    background-color: rgba(165, 133, 90, 0.1);
    padding: 15px;
    border-radius: 50%;
}

.info-block h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-block p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-card {
    background-color: var(--clr-primary);
    color: var(--clr-text-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-card h3 {
    color: var(--clr-text-light);
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-card p {
    opacity: 0.9;
    margin-bottom: var(--spacing-md);
}

.contact-link {
    display: block;
    margin-top: 15px;
    text-align: center;
    color: var(--clr-accent);
    font-weight: 500;
}

.contact-link:hover {
    color: var(--clr-secondary);
}

.social-links {
    margin-top: var(--spacing-md);
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.social-links a {
    display: inline-block;
    color: var(--clr-text-light);
    font-size: 1.1rem;
}

.social-links a:hover {
    color: var(--clr-accent);
}

/* Footer */
.footer {
    background-color: #2a0e14; 
    color: rgba(255,255,255,0.7);
    padding: var(--spacing-md) 0;
    text-align: center;
}

.footer-logo-img {
    height: 80px;
    margin: 0 auto var(--spacing-sm);
    opacity: 0.9;
}

.footer .small {
    font-size: 0.85rem;
    margin-top: 5px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--clr-whatsapp);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 20px rgba(37, 211, 102, 0.4);
    color: #FFF;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-logo {
        margin: 0 auto 25px auto;
    }
    
    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        display: none;
    }

    .about-container, .contact-container {
        grid-template-columns: 1fr;
    }
    
    .nav {
        display: none; 
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .pains-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
}
