:root {
    --bg-color: #FBF7F4;
    --bg-alt: #F5ECEB;
    --text-color: #4A3A3A;
    --primary-color: #D4A5A5;
    --primary-dark: #A67C82;
    --primary-light: #F5D5D9;
    --accent-rose: #E8A8B0;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(212, 165, 165, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 25px; }
.section-padding { padding: 100px 0; }
.bg-alt { background-color: var(--bg-alt); }
.text-center { text-align: center; margin-bottom: 50px; }

h1, h2, h3 { font-family: 'Playfair Display', serif; }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: sticky;
    top: 0;
    background: rgba(251, 247, 244, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: 0 4px 20px rgba(212, 165, 165, 0.1);
    border-bottom: 1px solid rgba(244, 213, 217, 0.3);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary-dark);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Botões */
.cta-main, .cta-mini, .whatsapp-btn {
    text-decoration: none;
    display: inline-block;
    border-radius: 50px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.cta-main {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-rose));
    color: white;
    padding: 16px 40px;
    margin-top: 20px;
    box-shadow: 0 8px 20px rgba(212, 165, 165, 0.3);
}

.cta-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 165, 165, 0.4);
}

.cta-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.4s ease;
}

.cta-main:hover::before {
    left: 100%;
}

.cta-mini {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    font-size: 0.9rem;
    background: transparent;
    transition: all 0.3s ease;
}

.cta-mini:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 165, 165, 0.25);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #20BA58);
    color: white;
    padding: 18px 45px;
    font-weight: 600;
    margin-top: 25px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

/* Seções Específicas */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-light), var(--bg-color));
    background-attachment: fixed;
    overflow: hidden;
    margin-bottom: 60px;
    /* Para adicionar imagem de consultório: descomente abaixo e altere a URL */
    background-image: linear-gradient(rgba(245, 213, 217, 0.7), rgba(245, 213, 217, 0.7)), url('consultorio.jpg');
    background-size: cover; background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23F5D5D9" fill-opacity="0.3" d="M0,64L48,80C96,96,192,128,288,138.7C384,149,480,139,576,128C672,117,768,107,864,112C960,117,1056,139,1152,144C1248,149,1344,139,1392,133.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.3;
}

.hero h1 span {
    color: var(--primary-dark);
    font-weight: 600;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    height: 100%;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(244, 213, 217, 0.5);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 165, 165, 0.2);
}

.card h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.card ul { list-style: none; margin-top: 15px; }
.card ul li::before { content: "▪ "; color: var(--primary-color); font-weight: bold; margin-right: 10px; }

.image-placeholder {
    background: linear-gradient(135deg, var(--primary-light), var(--bg-alt));
    height: 400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    box-shadow: var(--shadow);
    border: 1px solid rgba(244, 213, 217, 0.5);
    font-size: 1.1rem;
    font-weight: 500;
}

.testimonial-item {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(212, 165, 165, 0.25);
}

.testimonial-item p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
}

.testimonial-item span {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary-dark);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(244, 213, 217, 0.5);
    transition: all 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 15px 40px rgba(212, 165, 165, 0.2);
}

.footer {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-light), var(--bg-alt));
}

.footer h2 {
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-size: 2rem;
}

.copyright {
    margin-top: 50px;
    font-size: 0.8rem;
    opacity: 0.7;
    color: var(--text-color);
}

/* Ripple Effect para Botões */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Heading Customization */
h2 {
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-size: 2.2rem;
}

.about-text p {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Responsividade */
@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; gap: 30px; }
    .hero h1 { font-size: 2.2rem; }
    .section-padding { padding: 60px 0; }
    h2 { font-size: 1.8rem; }
    .cta-main, .whatsapp-btn { padding: 14px 30px; }
    
    /* Navbar Mobile */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(251, 247, 244, 0.98);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
        border-bottom: 1px solid rgba(244, 213, 217, 0.3);
    }

    .nav-menu.active {
        max-height: 300px;
        padding: 20px 5%;
    }

    .nav-link {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(244, 213, 217, 0.2);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        padding-left: 10px;
    }
}