:root {
    --primary-navy: #0A192F;
    --primary-gold: #C5A059;
    --off-white: #F8F8F8;
    --emerald: #25D366;
    --navy-light: #112240;
    --gold-dark: #a68549;
    --text-muted: #a8b2d1;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-navy);
    color: var(--off-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--off-white);
}

.gold-text {
    color: var(--primary-gold);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
#main-header {
    padding: 1.0rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

#main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.phone-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--off-white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--emerald);
    color: white;
}

.btn-secondary {
    background-color: var(--primary-gold);
    color: var(--primary-navy);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Pulse Animation */
.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Hero Section */
#hero {
    height: 100vh;
    min-height: 600px;
    background: url('imagens/imagem1-dr-marcelo.jpeg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 25, 47, 0.95) 30%, rgba(10, 25, 47, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}


.subheadline {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    text-align: left;
}

/* Services Section */
#services {
    padding: 8rem 0;
    background-color: var(--navy-light);
}

#services h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.service-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.service-item {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--primary-gold);
}

.service-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-gold);
}

.service-item p {
    color: var(--text-muted);
}

/* Biography Section */
#biography {
    padding: 8rem 0;
    background-color: var(--primary-navy);
}

.bio-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

#biography h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.bio-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.bio-badges {
    display: flex;
    gap: 1rem;
}

.badge {
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-gold);
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--primary-gold);
    font-weight: 600;
}

.bio-image img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid var(--primary-gold);
}

/* Specialties Section */
#specialties {
    padding: 6rem 0;
}

.specialties-card {
    background: url('imagens/imagem2-dr-marcelo.jpeg') no-repeat center center/cover;
    border-radius: 20px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.specialties-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.9);
}

.specialties-content {
    position: relative;
    z-index: 1;
}

.specialties-content h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.tags-cloud span {
    padding: 0.8rem 1.5rem;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50px;
    font-weight: 500;
    color: var(--off-white);
    transition: var(--transition);
}

.tags-cloud span:hover {
    background: var(--primary-gold);
    color: var(--primary-navy);
}


/* FAQ Section */
#faq {
    padding: 6rem 0;
}

.faq-card {
    background-color: var(--navy-light);
    border-radius: 20px;
    padding: 4rem;
    border: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.faq-card h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: rgba(10, 25, 47, 0.6);
    border: 1px solid rgba(197, 160, 89, 0.15);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-gold);
}

.faq-item summary {
    padding: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-gold);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-gold);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

/* Footer */
footer {
    padding: 6rem 0 2rem;
    background-color: #020c1b;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

footer h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.legal-info {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--emerald);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transition: all 1s ease;
}

[data-reveal="top"] { transform: translateY(-50px); }
[data-reveal="bottom"] { transform: translateY(50px); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }

.revealed {
    opacity: 1;
    transform: translate(0, 0) !important;
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid, .bio-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    #main-header {
        padding: 0.5rem 0;
    }

    .logo {
        font-size: 1.25rem;
    }

    #main-header nav {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }

    #hero {
        text-align: left;
        padding-top: 160px;
    }
    
    #hero h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    #biography h2, #services h2 {
        font-size: 1.6rem;
    }
    
    .hero-overlay {
        background: rgba(10, 25, 47, 0.85);
    }
    
    .bio-badges {
        flex-direction: column;
    }
    
    .specialties-card {
        padding: 2rem 1rem;
    }
    
    .faq-card {
        padding: 2rem 1.5rem;
    }
    
    .faq-item summary {
        font-size: 1.05rem;
        padding: 1.2rem;
    }
    
    .faq-answer {
        padding: 0 1.2rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .footer-grid {
        text-align: center;
    }
}
