/* =========================================
   Sleek Light Mode - Premium Clinic Template
========================================= */

:root {
    --primary-color: #2a1011; /* Bordô */
    --primary-dark: #1a0a0b;
    --text-main: #2a1011;
    --text-muted: #5c4d4d;
    --bg-main: #faf9f7;
    --bg-card: #ffffff;
    --border-color: #ebdfd1; /* Bege */
    --transition: all 0.3s ease;
    --glass-bg: rgba(252, 251, 248, 0.85);
    --glass-border: rgba(0, 0, 0, 0.08);
    --font-main: 'Outfit', sans-serif;
}

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

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

.section {
    padding: 100px 0;
}

.bg-darker {
    background-color: #ebdfd1; /* Bege */
}

.section-header {
    margin-bottom: 60px;
    max-width: 800px;
    margin-inline: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(42, 16, 17, 0.9); /* Bordô */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(235, 223, 209, 0.2); /* Bege transparent */
    transition: var(--transition);
}

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

.logo-container {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 2px;
}

.logo-container span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: #ffffff;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--border-color); /* Bege */
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: var(--primary-color);
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(42, 16, 17, 0.85) 0%, rgba(42, 16, 17, 0.3) 100%); /* Bordô tint */
}

.hero-content-centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text .badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-text h1 span {
    color: var(--border-color); /* Bege */
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Multi-step Form UI (Modal Version) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.1);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-color);
}

.hero-form-card {
    display: flex;
    flex-direction: column;
}

.form-header h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.form-header p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1rem;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-main);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    appearance: none;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Features / Diferenciais */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: var(--bg-card);
    padding: 40px 32px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Founder Section */
.founder-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.founder-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.founder-image img {
    width: 100%;
    height: auto;
}

.founder-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.founder-content h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 24px;
    font-weight: 500;
}

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

/* Feedbacks */
.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feedback-card {
    background-color: var(--bg-card);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.feedback-card .stars {
    color: var(--primary-color);
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.feedback-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 24px;
}

.feedback-author {
    font-weight: 600;
    color: var(--text-main);
}

/* Footer */
.footer {
    background-color: #2a1011; /* Bordô */
    padding: 80px 0 40px;
    border-top: 1px solid rgba(235, 223, 209, 0.1);
    color: rgba(235, 223, 209, 0.8); /* Bege */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer .logo-container {
    margin-bottom: 24px;
    color: #ebdfd1;
}

.footer .legal-info {
    color: rgba(235, 223, 209, 0.7) !important;
}

.footer p {
    color: rgba(235, 223, 209, 0.8) !important;
}

.footer h3 {
    color: #ebdfd1;
}

.footer-info p {
    color: var(--text-muted);
    max-width: 400px;
    margin-top: 16px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.footer-contact h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.footer-contact p {
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

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

/* Floating WhatsApp Button */
.floating-wpp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: var(--transition);
}

.floating-wpp:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Swiper Carousel */
.project-carousel {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-card);
}

.swiper-slide img {
    width: 100%;
    height: 60vh;
    max-height: 600px;
    object-fit: cover;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color) !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    aspect-ratio: 4 / 3;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item.wide {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
}

.gallery-item.tall {
    grid-row: span 2;
    aspect-ratio: 3 / 4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .founder-section, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content-centered {
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }

    .hero-overlay {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color); /* Bordô */
        flex-direction: column;
        padding: 24px;
        text-align: center;
        border-bottom: 1px solid rgba(235, 223, 209, 0.2);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .section {
        padding: 60px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr !important;
    }

    .gallery-item.large,
    .gallery-item.wide,
    .gallery-item.tall {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        aspect-ratio: 4 / 3 !important;
    }

    .mobile-center-text {
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }
}
