/* ========================================
   LANDING PAGE TRICOLOGIA - ESTILOS BASE
   ======================================== */

/* CSS Variables - Design System */
:root {
    --primary: #1a3a3a;
    --primary-light: #2d5555;
    --primary-dark: #0f2424;
    --accent: #c9a86a;
    --accent-light: #d4b880;
    --accent-dark: #b8944d;
    --bg-light: #faf8f5;
    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #7a7a7a;
    --border: #e5e0d8;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 30px;
    --transition: all 0.3s ease;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 300; }
h2 { font-size: 2.5em; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.4em; }

p {
    color: var(--text-medium);
    line-height: 1.8;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-dark);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section */
section {
    padding: 100px 0;
    overflow-x: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1em;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.85em;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 58, 58, 0.3);
    color: white;
}

.btn-accent {
    background: var(--accent);
    color: var(--primary);
}

.btn-accent:hover {
    background: var(--accent-light);
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(201, 168, 106, 0.4);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-lg {
    padding: 18px 50px;
    font-size: 1.1em;
}

.btn-whatsapp {
    background: transparent;
    color: var(--primary);
    border: 2px solid #25D366;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(37, 211, 102, 0.35) 50%, transparent 100%);
    animation: whatsappWave 2s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes whatsappWave {
    0%   { left: -100%; }
    100% { left: 100%; }
}

.btn-whatsapp:hover {
    background: #25D366;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover::before {
    animation: none;
    opacity: 0;
}

.btn-schedule {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-schedule:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 58, 58, 0.3);
}

.hero .btn-schedule {
    color: white;
    border-color: rgba(255, 255, 255, 0.7);
}

.hero .btn-schedule:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    color: white;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.hero .btn-whatsapp {
    color: white;
    border-color: #25D366;
}

.hero .btn-whatsapp:hover {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Cards */
.card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Grid */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Header / Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    padding: 20px 0;
    box-shadow: none;
    border-bottom: none;
    transition: all 0.3s ease;
}

/* Navbar scrolled - frosted glass effect */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
    filter: brightness(0) invert(1); /* Logo branca no hero */
}

.navbar.scrolled .logo-img {
    filter: none; /* Logo original em seções claras */
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.footer-logo {
    height: 60px;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Navbar scrolled - dark text for light backgrounds */
.navbar.scrolled .nav-links a {
    color: var(--primary);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--accent);
}

.mobile-menu-logo {
    display: none;
}

.nav-cta-item {
    display: none;
}

.nav-cta {
    padding: 12px 25px;
    font-size: 0.9em;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
}

.nav-cta:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
}

.navbar.scrolled .nav-cta {
    background: var(--accent);
    border: 1px solid var(--accent);
    color: var(--primary);
}

.navbar.scrolled .nav-cta:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 168, 106, 0.1) 0%, transparent 70%);
    animation: heroFloat 15s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    color: white;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2em;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Services Section (legacy compat) */
.services {
    background:
        linear-gradient(
            135deg,
            rgba(201, 168, 106, 0.18) 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0) 60%,
            rgba(26, 58, 58, 0.12) 100%
        ),
        var(--bg-white);
    overflow: hidden;
}

.service-card {
    text-align: center;
    padding: 50px 30px;
}

.service-icon {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--accent);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
}

.service-card p {
    font-size: 0.95em;
}

/* Hero Trust Indicators */
.hero-trust {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.95em;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
    flex-wrap: wrap;
}

.trust-divider {
    color: var(--accent);
    opacity: 0.6;
}

.hero-subtitle {
    font-size: 1em !important;
    color: rgba(255, 255, 255, 0.75) !important;
    margin-bottom: 30px !important;
    font-weight: 300;
}

/* Signs Section */
.signs {
    background:
        linear-gradient(
            135deg,
            rgba(201, 168, 106, 0.18) 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0) 60%,
            rgba(26, 58, 58, 0.12) 100%
        ),
        var(--bg-white);
    position: relative;
    overflow: hidden;
}

.sign-card {
    text-align: center;
    padding: 35px 25px;
}

.sign-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.sign-card p {
    font-size: 1em;
    font-weight: 500;
    color: var(--primary);
}

.signs-note {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05em;
    font-style: italic;
    color: var(--text-medium);
}

/* Evaluation Section */
.evaluation {
    background:
        linear-gradient(
            -135deg,
            rgba(201, 168, 106, 0.15) 0%,
            rgba(250, 248, 245, 0) 35%,
            rgba(250, 248, 245, 0) 65%,
            rgba(26, 58, 58, 0.10) 100%
        ),
        var(--bg-light);
    position: relative;
    overflow: hidden;
}

.evaluation-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.evaluation-content {
    background: white;
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.evaluation-subtitle {
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.check-list {
    list-style: none;
    margin-bottom: 35px;
}

.check-list li {
    padding: 10px 0;
    padding-left: 35px;
    position: relative;
    color: var(--text-medium);
    font-size: 1.05em;
    line-height: 1.6;
}

.check-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1em;
}

/* Treatments Section */
.treatments {
    background:
        linear-gradient(
            45deg,
            rgba(26, 58, 58, 0.12) 0%,
            rgba(255, 255, 255, 0) 35%,
            rgba(255, 255, 255, 0) 65%,
            rgba(201, 168, 106, 0.15) 100%
        ),
        var(--bg-white);
    overflow: hidden;
}

/* Differentials Section */
.differentials {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.differentials .section-header h2 {
    color: white;
}

.differential-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 25px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
}

.differential-check {
    color: var(--accent);
    font-size: 1.3em;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.differential-item p {
    color: rgba(255,255,255,0.95);
    font-size: 1em;
    line-height: 1.6;
    margin: 0;
}

/* Causes Section */
.causes {
    background:
        linear-gradient(
            -45deg,
            rgba(201, 168, 106, 0.16) 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0) 60%,
            rgba(26, 58, 58, 0.12) 100%
        ),
        var(--bg-light);
    overflow: hidden;
}

.cause-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.cause-dot {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.cause-item p {
    font-size: 0.95em;
    font-weight: 500;
    color: var(--primary);
    margin: 0;
}

/* About Doctor Section */
.about-doctor {
    background:
        linear-gradient(
            135deg,
            rgba(26, 58, 58, 0.08) 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0) 60%,
            rgba(201, 168, 106, 0.12) 100%
        ),
        var(--bg-white);
    position: relative;
    overflow: hidden;
}

.about-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    background: white;
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent);
}

.about-content .section-badge {
    margin-bottom: 15px;
}

.about-content h2 {
    margin-bottom: 10px;
}

.about-role {
    color: var(--accent-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: 25px;
}

.about-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Specialist / When to Seek Section */
.specialist-section {
    background:
        linear-gradient(
            45deg,
            rgba(201, 168, 106, 0.15) 0%,
            rgba(255, 255, 255, 0) 35%,
            rgba(255, 255, 255, 0) 65%,
            rgba(26, 58, 58, 0.10) 100%
        ),
        var(--bg-white);
    overflow: hidden;
}

.specialist-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 25px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.specialist-check {
    color: var(--accent);
    font-size: 1.3em;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.specialist-item p {
    font-size: 1em;
    font-weight: 500;
    color: var(--primary);
    margin: 0;
}

/* Process / How it Works */
.process {
    background:
        linear-gradient(
            45deg,
            rgba(26, 58, 58, 0.12) 0%,
            rgba(255, 255, 255, 0) 35%,
            rgba(255, 255, 255, 0) 65%,
            rgba(201, 168, 106, 0.15) 100%
        ),
        var(--bg-white);
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    padding: 30px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.timeline-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2em;
    z-index: 1;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    overflow: hidden;
}

.testimonials .section-header h2 {
    color: white;
}

.testimonials .section-header p {
    color: rgba(255,255,255,0.9);
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.testimonial-text {
    font-size: 1.1em;
    font-style: italic;
    color: rgba(255,255,255,0.95);
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: var(--primary);
}

.testimonial-info h4 {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 600;
}

.testimonial-info p {
    font-size: 0.9em;
    color: var(--accent);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1.2em;
    margin-bottom: 15px;
}

/* Testimonials Carousel */
.testimonials-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.testimonials-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonials-dots {
    display: none;
}

/* Mobile Testimonials Carousel */
@media (max-width: 768px) {
    .testimonials-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 20px;
        padding: 10px 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .testimonials-track::-webkit-scrollbar {
        display: none;
    }

    .testimonials-track .testimonial-card {
        flex: 0 0 calc(100% - 20px);
        scroll-snap-align: center;
        min-width: calc(100% - 20px);
    }

    .testimonials-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 25px;
    }

    .testimonials-dots .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .testimonials-dots .dot.active {
        background: var(--accent);
        transform: scale(1.2);
    }
}

/* FAQ */
.faq {
    background:
        linear-gradient(
            -135deg,
            rgba(201, 168, 106, 0.15) 0%,
            rgba(250, 248, 245, 0) 35%,
            rgba(250, 248, 245, 0) 65%,
            rgba(26, 58, 58, 0.10) 100%
        ),
        var(--bg-light);
    overflow: hidden;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: 300;
    color: var(--accent);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 30px 25px;
    color: var(--text-medium);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Contact Section */
.contact {
    background:
        linear-gradient(
            -45deg,
            rgba(201, 168, 106, 0.16) 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0) 60%,
            rgba(26, 58, 58, 0.12) 100%
        ),
        var(--bg-white);
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    padding-right: 40px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    color: var(--accent);
}

.contact-method-text h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-method-text p {
    font-size: 0.95em;
    margin: 0;
}

.contact-form .card {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-align: center;
    padding: 80px 0;
    overflow: hidden;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255,255,255,0.95);
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1em;
}

.cta-section .btn-whatsapp {
    background: rgba(255,255,255,0.15);
    border-color: #25D366;
    color: white;
}

.cta-section .btn-whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    color: white;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 30px;
    overflow-x: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: block;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95em;
}

.footer h4 {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95em;
}

.footer-links a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    color: var(--primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9em;
}

.footer-disclaimer {
    font-size: 0.85em;
    color: rgba(255,255,255,0.5);
    max-width: 600px;
    text-align: right;
}

/* ========================================
   MOBILE MENU
   ======================================== */

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile menu button animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }

    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
    section { padding: 60px 0; }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.4rem; }

    /* Navbar Mobile */
    .navbar {
        padding: 15px 0;
    }

    .navbar .container {
        padding: 0 20px;
    }

    .navbar.scrolled {
        padding: 10px 0;
    }

    .logo-img {
        height: 40px;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
        flex-shrink: 0;
    }

    .mobile-menu-btn span {
        background: white;
        transition: all 0.3s ease;
    }

    .navbar.scrolled .mobile-menu-btn span {
        background: var(--primary);
    }

    /* Mobile Menu - Fullscreen */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 40px 40px;
        gap: 0;
        transform: translateY(-100%);
        transition: transform 0.4s ease;
        z-index: 998;
        box-sizing: border-box;
        overflow-y: auto;
    }

    .mobile-menu-logo {
        display: block;
        text-align: center;
        padding-bottom: 25px;
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .mobile-menu-logo img {
        height: 45px;
        width: auto;
        filter: brightness(0) invert(1);
    }

    .nav-links.mobile-open {
        transform: translateY(0);
    }

    .nav-links li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 18px 0;
        font-size: 1.2em;
        color: white !important;
    }

    .nav-links a:hover {
        color: var(--accent) !important;
    }

    .nav-cta-item {
        display: list-item;
        border-bottom: none !important;
        margin-top: 10px;
    }

    .nav-cta-item .nav-cta {
        display: block;
        width: 100%;
        padding: 16px;
        text-align: center;
        background: var(--accent) !important;
        color: var(--primary) !important;
        border: none !important;
        border-radius: var(--radius-sm);
        font-size: 1.1em;
        font-weight: 600;
    }

    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-content {
        text-align: center;
    }

    .hero p {
        font-size: 1em;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }


    /* Grids Mobile */
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Cards Mobile */
    .card {
        padding: 30px 25px;
    }

    .service-card {
        padding: 35px 25px;
    }

    /* Section Headers Mobile */
    .section-header {
        margin-bottom: 40px;
    }

    .section-header p {
        font-size: 1em;
    }

    .section-badge {
        font-size: 0.75em;
        padding: 6px 16px;
    }

    /* Hero Trust Mobile */
    .hero-trust {
        justify-content: center;
        text-align: center;
        gap: 10px;
        font-size: 0.85em;
    }

    /* Signs Mobile */
    .sign-card {
        padding: 25px 20px;
    }

    .sign-icon {
        font-size: 2em;
    }

    /* Evaluation Mobile */
    .evaluation-content {
        padding: 35px 25px;
    }

    .evaluation-subtitle {
        font-size: 1.1em;
    }

    .check-list li {
        font-size: 0.95em;
        padding-left: 30px;
    }

    /* Differentials Mobile */
    .differentials-grid {
        gap: 15px;
    }

    .differential-item {
        padding: 18px 20px;
    }

    /* Causes Mobile */
    .causes-grid {
        gap: 12px;
    }

    /* About Doctor Mobile */
    .about-content {
        padding: 35px 25px;
    }

    .about-role {
        font-size: 1em;
    }

    .about-content p {
        font-size: 0.95em;
    }

    /* Specialist Mobile */
    .specialist-grid {
        gap: 15px;
    }

    .specialist-item {
        padding: 18px 20px;
    }

    /* Timeline Mobile */
    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
    }

    .timeline-content {
        width: 100%;
        margin-left: 0;
        padding: 25px;
    }

    .timeline-number {
        left: 0;
        transform: none;
        width: 40px;
        height: 40px;
        font-size: 1em;
    }

    /* Testimonials Mobile */
    .testimonial-card {
        padding: 30px 25px;
    }

    .testimonial-text {
        font-size: 1em;
    }

    /* FAQ Mobile */
    .faq-question {
        padding: 20px;
        font-size: 0.95em;
    }

    .faq-answer-content {
        padding: 0 20px 20px;
        font-size: 0.95em;
    }

    /* Contact Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        padding-right: 0;
        text-align: center;
    }

    .contact-methods {
        align-items: center;
    }

    .contact-method {
        justify-content: center;
        text-align: left;
    }

    .contact-form .card {
        padding: 30px 25px;
    }

    /* CTA Section Mobile */
    .cta-section {
        padding: 60px 0;
        text-align: center;
    }

    .cta-section p {
        font-size: 1em;
    }

    /* Footer Mobile */
    .footer {
        padding: 50px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-brand {
        margin-bottom: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding-top: 20px;
    }

    .footer-disclaimer {
        text-align: center;
        font-size: 0.8em;
    }

    .social-links {
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }

    .btn {
        padding: 14px 28px;
        font-size: 0.9em;
    }

    .btn-lg {
        padding: 16px 32px;
        font-size: 1em;
    }

    .card {
        padding: 25px 20px;
    }

    .hero {
        padding: 90px 0 50px;
    }


    .timeline-content {
        padding: 20px;
    }

    .service-icon {
        font-size: 2.5em;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 0.95em;
    }
}

/* ========================================
   BACKGROUND DECORATIVE LOGOS
   ======================================== */

.bg-logo {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    filter: brightness(0) invert(1);
}

/* Hero - Logo centralizada */
.bg-logo-hero {
    width: 550px;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.06;
    animation: floatLogo 20s ease-in-out infinite;
}

/* Testimonials - Logo centralizada */
.bg-logo-testimonials {
    width: 500px;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.04;
}

/* CTA - Logo no canto esquerdo */
.bg-logo-cta {
    width: 300px;
    height: auto;
    left: -50px;
    bottom: -50px;
    opacity: 0.06;
    transform: rotate(-15deg);
}

@keyframes floatLogo {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) rotate(3deg) scale(1.02);
    }
}

/* Logos em seções claras (sem inverter cor) */
.bg-logo-light {
    filter: none;
    opacity: 0.04;
}

/* Services - Logo no canto direito */
.bg-logo-services {
    width: 400px;
    height: auto;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.035;
}

/* FAQ - Logo no canto esquerdo */
.bg-logo-faq {
    width: 350px;
    height: auto;
    left: -60px;
    bottom: 10%;
    transform: rotate(10deg);
    opacity: 0.03;
}

/* Seções claras com logos decorativas */
.services,
.faq {
    position: relative;
    overflow: hidden;
}

/* Garantir que seções tenham position relative */
.hero,
.testimonials,
.cta-section {
    position: relative;
    overflow: hidden;
}

/* Responsive - ajustar em mobile */
@media (max-width: 768px) {
    .bg-logo-hero {
        width: 280px;
        opacity: 0.04;
    }

    .bg-logo-testimonials {
        width: 220px;
        opacity: 0.03;
    }

    .bg-logo-cta,
    .bg-logo-services,
    .bg-logo-faq {
        display: none;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

/* Base state - hidden */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fade Up */
.fade-up {
    transform: translateY(40px);
}

.fade-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Fade Down */
.fade-down {
    transform: translateY(-40px);
}

.fade-down.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Fade Left */
.fade-left {
    transform: translateX(-40px);
}

.fade-left.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Fade Right */
.fade-right {
    transform: translateX(40px);
}

.fade-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Scale Up */
.scale-up {
    transform: scale(0.9);
}

.scale-up.animated {
    opacity: 1;
    transform: scale(1);
}

/* Zoom In */
.zoom-in {
    transform: scale(0.5);
}

.zoom-in.animated {
    opacity: 1;
    transform: scale(1);
}

/* Flip */
.flip-up {
    transform: perspective(1000px) rotateX(10deg);
    transform-origin: bottom;
}

.flip-up.animated {
    opacity: 1;
    transform: perspective(1000px) rotateX(0);
}

/* Stagger delays for grid items */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }

/* Slow/Fast variations */
.animate-slow { transition-duration: 0.6s; }
.animate-fast { transition-duration: 0.2s; }

/* ========================================
   SCHEDULING SECTION
   ======================================== */

.scheduling {
    background: white;
    position: relative;
    overflow: hidden;
}

.scheduling::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 40%, var(--accent-light) 60%, transparent 100%);
}

.scheduling-widget {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    padding: 10px;
}

.scheduling-widget iframe {
    display: block;
    border: none;
    border-radius: var(--radius-md);
    background: white;
    min-height: 580px;
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
