/* ========================================
   CENTRAL MED - ESTILOS PRINCIPAIS
   ======================================== */

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

/* Lucide Icons - Estilos Globais */
[data-lucide] {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

svg[data-lucide] {
    width: 100%;
    height: 100%;
}

/* Ícones maiores em contextos específicos */
.feature-icon [data-lucide],
.treatment-icon [data-lucide],
.mvv-icon [data-lucide],
.team-icon [data-lucide] {
    width: 48px;
    height: 48px;
}

.message-icon [data-lucide] {
    width: 16px;
    height: 16px;
}

/* Ícone do placeholder no modal */
.profile-placeholder [data-lucide] {
    width: 18px;
    height: 18px;
}

/* Animação de loading para ícone loader */
[data-lucide="loader-circle"],
svg[data-lucide="loader-circle"] {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Estrelas preenchidas */
.testimonial-stars [data-lucide="star"],
.testimonial-stars svg[data-lucide="star"] {
    fill: #fbbf24;
    color: #fbbf24;
    width: 16px;
    height: 16px;
}

/* Ícones em botões */
.btn [data-lucide],
.btn svg[data-lucide] {
    margin-right: 0.5em;
}

/* Ícones menores em botões hero */
.hero-buttons .btn [data-lucide],
.hero-buttons .btn svg[data-lucide] {
    width: 18px;
    height: 18px;
}

/* Ícones em botões CTA */
.cta-buttons .btn [data-lucide],
.cta-buttons .btn svg[data-lucide] {
    width: 18px;
    height: 18px;
}

/* Ícones na top bar - todos do mesmo tamanho */
.top-bar [data-lucide],
.top-bar svg[data-lucide] {
    width: 16px;
    height: 16px;
}

:root {
    --primary-color: #4b7f3b;
    --secondary-color: #81a273;
    --accent-color: #a5c884;
    --light-green: #bbcbaf;
    --background-color: #fbf5ec;
    --success-color: #25d366;
    --danger-color: #dc2626;
    --warning-color: #fbbf24;
    --dark-color: #000000;
    --light-color: #ffffff;
    --gray-color: #6b7280;
    --border-color: #e5e7eb;
    --text-color: #000000;
    --white: #ffffff;
    --font-main: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --background-dynamic: #f5f7fa;
    --hero-gradient: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    --font-scale: 1;
}

html {
    font-size: calc(16px * var(--font-scale, 1));
}

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

/* Mobile-first: container base para mobile */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

/* Desktop: container com max-width */
@media (min-width: 1201px) {
    .container {
        max-width: 1200px;
        padding: 0 20px;
    }
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Esconder imagens quebradas */
img[src*=".jpg"]:not([src^="http"]),
img[src*=".png"]:not([src^="http"]),
img[src*=".gif"]:not([src^="http"]) {
    background: #ffffff;
    position: relative;
}

/* Placeholder visual para imagens que não carregam */
img:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
}

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

body.high-contrast {
    background: #050505;
    color: #f8fafc;
}

body.high-contrast .header,
body.high-contrast .navbar,
body.high-contrast .top-bar,
body.high-contrast .dropdown-menu {
    background: #000000;
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.15);
}

body.high-contrast .navbar-menu > li > a,
body.high-contrast .navbar .dropdown-menu a {
    color: #f8fafc;
}

body.high-contrast .btn,
body.high-contrast .btn.btn-outline {
    border-color: #facc15;
    color: #111827;
    background: #facc15;
}

body.high-contrast .btn:hover,
body.high-contrast .btn.btn-outline:hover {
    background: #fde047;
    border-color: #fde047;
    color: #111827;
}

body.high-contrast .btn-success {
    background: #22d3ee;
    border-color: #22d3ee;
    color: #0f172a;
}

body.high-contrast .hero,
body.high-contrast .about-section,
body.high-contrast .treatments-section,
body.high-contrast .units-section,
body.high-contrast .partners-section,
body.high-contrast .process-section,
body.high-contrast .faq-section,
body.high-contrast .cta-section,
body.high-contrast .why-us-section,
body.high-contrast .contact-form-section,
body.high-contrast .testimonials-section {
    background-color: #050505;
}

body.high-contrast .section-title,
body.high-contrast .section-subtitle,
body.high-contrast .section-description,
body.high-contrast p,
body.high-contrast li,
body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast h4,
body.high-contrast h5,
body.high-contrast h6 {
    color: #f8fafc;
}

body.high-contrast .feature-card,
body.high-contrast .treatment-card,
body.high-contrast .unit-card,
body.high-contrast .process-step,
body.high-contrast .faq-item,
body.high-contrast .testimonial-card,
body.high-contrast .contact-info-card,
body.high-contrast .contact-form,
body.high-contrast .contact-sidebar {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}

body.high-contrast .footer,
body.high-contrast .footer-bottom,
body.high-contrast .footer-columns {
    background: #000000;
    color: #f8fafc;
}

body.high-contrast .footer a {
    color: #38bdf8;
}

body.high-contrast .logo {
    filter: brightness(1.15) saturate(1.05);
}

body.high-contrast .social-links li a {
    background: rgba(59, 130, 246, 0.25);
    color: #f8fafc;
}

body.high-contrast .social-links li a:hover {
    background: rgba(250, 204, 21, 0.35);
    color: #facc15;
}

/* ========================================
   DARK THEME BASE
   ======================================== */
body.theme-dark {
    --background-dynamic: #0b1120;
    --text-color: #e2e8f0;
    --border-color: rgba(148, 163, 184, 0.25);
    background: var(--background-dynamic);
    color: var(--text-color);
}

body.theme-dark .top-bar {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    color: #e2e8f0;
    border-bottom-color: var(--primary-color);
}

body.theme-dark .top-bar i {
    color: var(--accent-color);
}

body.theme-dark .top-bar span:not(.top-bar-highlight),
body.theme-dark .top-bar a {
    color: #f8fafc;
}

body.theme-dark .top-bar-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    box-shadow: 0 2px 8px rgba(75, 127, 59, 0.5);
}

body.theme-dark .top-bar-highlight i {
    color: var(--white) !important;
}

body.theme-dark .navbar {
    background: rgba(15, 23, 42, 0.97);
    box-shadow: 0 20px 45px rgba(2, 6, 23, 0.55);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

body.theme-dark .navbar-menu > li > a {
    color: #e2e8f0;
}

body.theme-dark .navbar-menu > li > a:hover,
body.theme-dark .navbar-menu > li.active > a {
    background: rgba(37, 99, 235, 0.18);
    color: #f8fafc;
}

body.theme-dark .navbar-menu i[data-lucide],
body.theme-dark .navbar-menu svg[data-lucide],
body.theme-dark .navbar-menu i,
body.theme-dark .navbar-menu svg {
    color: #f8fafc;
}

body.theme-dark .dropdown-menu {
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.6);
}

body.theme-dark .dropdown-menu li a {
    color: #e2e8f0;
}

body.theme-dark .dropdown-divider {
    background: rgba(148, 163, 184, 0.2);
}

body.theme-dark .navbar-menu {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.6);
}

body.theme-dark .navbar-menu > li > a:hover i[data-lucide],
body.theme-dark .navbar-menu > li > a:hover svg[data-lucide] {
    color: #f8fafc;
}

body.theme-dark .section-title,
body.theme-dark .section-subtitle,
body.theme-dark .section-description {
    color: #e2e8f0;
}

body.theme-dark .hero,
body.theme-dark .about-section,
body.theme-dark .treatments-section,
body.theme-dark .units-section,
body.theme-dark .partners-section,
body.theme-dark .process-section,
body.theme-dark .faq-section,
body.theme-dark .cta-section,
body.theme-dark .why-us-section,
body.theme-dark .contact-form-section,
body.theme-dark .testimonials-section,
body.theme-dark .blog-preview-section,
body.theme-dark .blog-section {
    background: rgba(15, 23, 42, 0.92);
    color: #e2e8f0;
}

body.theme-dark .hero p,
body.theme-dark .hero li,
body.theme-dark .hero span,
body.theme-dark .hero a {
    color: #f8fafc;
}

body.theme-dark .hero a.btn-primary {
    color: #ffffff;
}

body.theme-dark .card,
body.theme-dark .feature-card,
body.theme-dark .treatment-card,
body.theme-dark .why-us-card,
body.theme-dark .process-step,
body.theme-dark .faq-item,
body.theme-dark .contact-card,
body.theme-dark .contact-info,
body.theme-dark .contact-info-card,
body.theme-dark .testimonial-card,
body.theme-dark .blog-card,
body.theme-dark .unit-card,
body.theme-dark .copy-card,
body.theme-dark .metric-card,
body.theme-dark .docs-card,
body.theme-dark .list-card,
body.theme-dark .popup-card {
    background: rgba(30, 41, 59, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    box-shadow: 0 18px 45px rgba(2, 6, 23, 0.5);
}

body.theme-dark .card p,
body.theme-dark .card span,
body.theme-dark .card li,
body.theme-dark .list-card li,
body.theme-dark .contact-info-card p,
body.theme-dark .contact-info-card span {
    color: #e2e8f0;
}

body.theme-dark .metric-card strong {
    color: #f8fafc;
}

body.theme-dark .card i[data-lucide],
body.theme-dark .card svg[data-lucide],
body.theme-dark .contact-info-card i[data-lucide],
body.theme-dark .contact-info-card svg[data-lucide] {
    color: #f8fafc;
}

body.theme-dark .contact-info-card h4 {
    color: #f8fafc;
}

body.theme-dark .contact-info-card p {
    color: rgba(226, 232, 240, 0.75);
}

body.theme-dark .contact-info-card {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 0 25px 60px rgba(2, 6, 23, 0.55);
}

body.theme-dark .why-us-text h2 {
    color: #f8fafc;
}

body.theme-dark .why-us-text h3 {
    color: var(--accent-color);
}

body.theme-dark .why-us-text p,
body.theme-dark .why-us-text li,
body.theme-dark .why-us-text span {
    color: rgba(226, 232, 240, 0.85);
}

body.theme-dark .why-us-text [data-lucide],
body.theme-dark .why-us-text svg[data-lucide] {
    color: #f8fafc;
}

body.theme-dark .unit-info h4 {
    color: #f8fafc;
}

body.theme-dark .unit-info p,
body.theme-dark .unit-info span,
body.theme-dark .unit-info small {
    color: rgba(226, 232, 240, 0.85);
}

body.theme-dark .unit-card .btn-outline {
    color: #f8fafc;
    border-color: rgba(148, 163, 184, 0.5);
}

body.theme-dark .unit-card .btn-outline:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

body.theme-dark .process-step h4 {
    color: #f8fafc;
}

body.theme-dark .process-step p {
    color: rgba(226, 232, 240, 0.85);
}

body.theme-dark .process-number {
    border-color: rgba(148, 163, 184, 0.6);
    color: #f8fafc;
}

body.theme-dark .process-step:hover .process-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

body.theme-dark .faq-item.active {
    background: rgba(30, 41, 59, 0.95);
}

body.theme-dark .contact-form {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #f8fafc;
}

body.theme-dark .contact-form input,
body.theme-dark .contact-form textarea,
body.theme-dark input,
body.theme-dark textarea,
body.theme-dark select {
    background: rgba(15, 23, 42, 0.85);
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.25);
}

body.theme-dark input::placeholder,
body.theme-dark textarea::placeholder {
    color: rgba(226, 232, 240, 0.6);
}

body.theme-dark .contact-form input:focus,
body.theme-dark .contact-form textarea:focus,
body.theme-dark input:focus,
body.theme-dark textarea:focus,
body.theme-dark select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

body.theme-dark .contact-form label {
    color: #f8fafc;
}

body.theme-dark .contact-form input::placeholder,
body.theme-dark .contact-form textarea::placeholder {
    color: rgba(226, 232, 240, 0.65);
}

body.theme-dark .contact-form .btn {
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.45);
}

body.theme-dark .contact-form .btn.btn-outline {
    color: #f8fafc;
    border-color: rgba(148, 163, 184, 0.45);
}

body.theme-dark .contact-form .btn.btn-outline:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

body.theme-dark .footer,
body.theme-dark .footer-bottom,
body.theme-dark .footer-columns {
    background: #020617;
    color: #e2e8f0;
}

body.theme-dark .footer a {
    color: #cbd5f5;
}

body.theme-dark .footer a:hover {
    color: var(--primary-color);
}

body.theme-dark .floating-chat {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(148, 163, 184, 0.25);
}

body.theme-dark .modal-container {
    background: rgba(15, 23, 42, 0.97);
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 25px 60px rgba(2, 6, 23, 0.65);
}

body.theme-dark .modal-cta {
    background: var(--primary-color);
    color: #f8fafc;
}

body.theme-dark .modal-urgent {
    color: #fbbf24;
}

body.theme-dark .modal-container p,
body.theme-dark .modal-container span {
    color: #e2e8f0;
}

body.theme-dark .modal-container a {
    color: #f8fafc;
}

body.theme-dark .modal-close {
    color: #e2e8f0;
}

body.theme-dark .modal-close:hover {
    background: rgba(37, 99, 235, 0.18);
    color: #f8fafc;
}

body.theme-dark .modal-header {
    border-color: rgba(148, 163, 184, 0.25);
}

body.theme-dark .profile-name {
    color: #f8fafc;
}

body.theme-dark .profile-title,
body.theme-dark .status-text {
    color: rgba(226, 232, 240, 0.75);
}

body.theme-dark .modal-message .message-title {
    color: #f8fafc;
}

body.theme-dark .modal-message .message-text {
    color: rgba(226, 232, 240, 0.85);
}

body.theme-dark .modal-urgent {
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.25);
}


body.theme-dark .top-bar-right span {
    color: #e2e8f0;
}

body.theme-dark .navbar-menu .dropdown-menu li a:hover {
    background: rgba(37, 99, 235, 0.12);
    color: #f8fafc;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

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

.btn-success:hover {
    background: #25d366;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

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

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

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

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

/* ========================================
   HEADER - TOP BAR
   ======================================== */
.top-bar {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 12px 0;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.top-bar i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.top-bar-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white) !important;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700 !important;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(75, 127, 59, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.top-bar-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(75, 127, 59, 0.4);
    }
    50% {
        box-shadow: 0 2px 16px rgba(75, 127, 59, 0.7), 0 0 20px rgba(75, 127, 59, 0.3);
    }
}

.top-bar-highlight i {
    color: var(--white) !important;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.top-bar span:not(.top-bar-highlight):hover i {
    transform: scale(1.1);
    color: var(--accent-color);
}

/* ========================================
   HEADER - NAVBAR
   ======================================== */
.navbar {
    background: linear-gradient(135deg, #fbf5ec, #ffffff);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand .logo {
    height: 80px;
    width: auto;
    max-width: 250px;
}

/* Mobile-first: menu toggle visível no mobile */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

/* Desktop: esconder menu toggle */
@media (min-width: 993px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: var(--transition);
}

body.theme-dark .mobile-menu-toggle span {
    background: #e2e8f0;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(248, 250, 252, 0.65);
    color: #1e293b;
    cursor: pointer;
    transition: background 0.3s ease, border 0.3s ease, transform 0.2s ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    border-color: var(--primary-color);
}

.theme-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

.theme-toggle .theme-icon {
    width: 18px;
    height: 18px;
    color: currentColor;
}

.theme-toggle .theme-icon-sun {
    display: none;
}

body.theme-dark .theme-toggle {
    background: rgba(30, 41, 59, 0.75);
    border-color: rgba(148, 163, 184, 0.35);
    color: #e2e8f0;
}

body.theme-dark .theme-toggle:hover {
    border-color: var(--accent-color);
}

body.theme-dark .theme-toggle .theme-icon-sun {
    display: inline-block;
}

body.theme-dark .theme-toggle .theme-icon-moon {
    display: none;
}

.theme-toggle--compact {
    padding: 8px;
    border-radius: 12px;
}

.theme-toggle--compact .theme-icon {
    width: 16px;
    height: 16px;
}

.top-bar-info {
    display: flex;
    align-items: center;
}

.theme-toggle--compact {
    display: none;
}

@media (max-width: 768px) {
    .theme-toggle {
        display: none;
    }

    .theme-toggle--compact {
        display: inline-flex;
    }

    .top-bar-info {
        display: none;
    }
}

/* Mobile-first: navbar menu escondido por padrão */
.navbar-menu {
    display: none;
    list-style: none;
    gap: 10px;
    margin-left: auto;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.navbar-menu.active {
    display: flex;
}

.navbar-menu > li {
    position: relative;
}

.navbar-menu > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 18px;
    color: var(--dark-color);
    font-weight: 500;
    border-radius: 5px;
    transition: var(--transition);
}

.navbar-menu > li > a:hover,
.navbar-menu > li.active > a {
    background: var(--primary-color);
    color: var(--white);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 250px;
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--light-color);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown-header {
    font-weight: 600;
    color: var(--primary-color);
    padding: 10px 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 10px 0;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    background-image: var(--hero-gradient);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 100px 20px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 76, 153, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

/* Mobile-first: hero titles base */
.hero-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.2;
    animation: fadeInUp 1s;
    color: #ffffff;
    text-shadow: 
        2px 2px 10px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(75, 127, 59, 0.3),
        0 0 90px rgba(75, 127, 59, 0.2);
    position: relative;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
    animation: expandLine 1.5s ease-out 1s forwards;
    opacity: 0;
}

@keyframes expandLine {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 100px;
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1.2s;
}

.hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1.4s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.4;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: var(--gray-color);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

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

/* ========================================
   ABOUT SECTION (Quem Somos)
   ======================================== */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fbf5ec, #ffffff);
}

/* Mobile-first: features grid base (1 coluna no mobile) */
.features-grid {
    width: 100%;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Tablet: 2 colunas */
@media (min-width: 769px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Desktop: 3 colunas */
@media (min-width: 993px) {
    .features-grid {
        width: min(75rem, 100%);
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.feature-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    font-family: system-ui, sans-serif;
    color: #444447;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4b7f3b, #81a273);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
    border-color: rgba(129, 162, 115, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card .icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(75, 127, 59, 0.1), rgba(129, 162, 115, 0.1));
    border-radius: 12px;
    margin-bottom: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .icon {
    background: linear-gradient(135deg, rgba(75, 127, 59, 0.15), rgba(129, 162, 115, 0.15));
    transform: scale(1.1);
}

.feature-card .icon i {
    color: #81a273;
    width: 32px;
    height: 32px;
}

.feature-card .icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(60%) sepia(15%) saturate(1200%) hue-rotate(60deg) brightness(95%) contrast(85%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .icon img {
    filter: brightness(0) saturate(100%) invert(60%) sepia(15%) saturate(1200%) hue-rotate(60deg) brightness(100%) contrast(100%);
    transform: scale(1.1);
}

.feature-card .title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark, #1f2937);
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
}

.feature-card:hover .title {
    color: #81a273;
}

.feature-card .content {
    margin-top: 0;
    flex: 1;
}

.feature-card .content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
}

.feature-card .content > *:first-child { 
    margin-top: 0rem;
}

.feature-card .content > *:last-child { 
    margin-bottom: 0rem;
}

/* Remover estilos alternados antigos - todos os cards agora têm o mesmo estilo */
.feature-card:nth-child(2),
.feature-card:nth-child(4),
.feature-card:nth-child(6) {
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:nth-child(2):hover,
.feature-card:nth-child(4):hover,
.feature-card:nth-child(6):hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
}

.feature-card:nth-child(2)::before,
.feature-card:nth-child(4)::before,
.feature-card:nth-child(6)::before {
    display: block;
}

/* ========================================
   PROCESS SECTION (Como Funciona)
   ======================================== */
.process-section {
    padding: 80px 0;
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 30px 20px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.2);
    background: linear-gradient(135deg, #f8fbff 0%, #e6f3ff 100%);
}

.process-number {
    width: 80px;
    height: 80px;
    background: transparent;
    color: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.process-step:hover .process-number {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.process-step h4 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.process-step p {
    color: var(--gray-color);
}

/* ========================================
   TREATMENTS SECTION
   ======================================== */
.treatments-section {
    padding: 80px 0;
    background: var(--light-color);
}

/* Mobile-first: treatments grid base (1 coluna no mobile) */
.treatments-grid {
    width: 100%;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Tablet: 2 colunas */
@media (min-width: 769px) {
    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Desktop: 3 colunas */
@media (min-width: 993px) {
    .treatments-grid {
        width: min(75rem, 100%);
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.treatment-card {
    position: relative;
    padding: 0;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(129, 162, 115, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 32px rgba(75, 127, 59, 0.2);
    border-color: rgba(129, 162, 115, 0.4);
}

.treatment-icon-wrapper {
    position: relative;
    width: 100%;
    padding: 2.5rem 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(75, 127, 59, 0.05), rgba(129, 162, 115, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.treatment-card:hover .treatment-icon-wrapper {
    background: linear-gradient(135deg, rgba(75, 127, 59, 0.1), rgba(129, 162, 115, 0.1));
}

.treatment-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(75, 127, 59, 0.1), rgba(129, 162, 115, 0.1));
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.treatment-card:hover .treatment-icon {
    background: linear-gradient(135deg, rgba(75, 127, 59, 0.2), rgba(129, 162, 115, 0.2));
    transform: scale(1.1) rotate(5deg);
}

.treatment-icon i {
    color: #81a273;
    width: 48px;
    height: 48px;
}

.treatment-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(60%) sepia(15%) saturate(1200%) hue-rotate(60deg) brightness(95%) contrast(85%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.treatment-card:hover .treatment-icon img {
    filter: brightness(0) saturate(100%) invert(60%) sepia(15%) saturate(1200%) hue-rotate(60deg) brightness(100%) contrast(100%);
    transform: scale(1.1);
}

.treatment-content {
    padding: 0 2rem 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.treatment-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 1rem 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.treatment-card:hover .treatment-title {
    color: #4b7f3b;
}

.treatment-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
    flex: 1;
}

body.theme-dark .feature-card {
    background: #1f2937;
    border-color: rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
}

body.theme-dark .feature-card .title {
    color: #f9fafb;
}

body.theme-dark .feature-card .content p {
    color: #d1d5db;
}

body.theme-dark .feature-card .icon {
    background: linear-gradient(135deg, rgba(75, 127, 59, 0.2), rgba(129, 162, 115, 0.2));
}

body.theme-dark .feature-card:hover .icon {
    background: linear-gradient(135deg, rgba(75, 127, 59, 0.3), rgba(129, 162, 115, 0.3));
}

body.theme-dark .feature-card .icon i {
    color: #81a273;
}

body.theme-dark .feature-card .icon img {
    filter: brightness(0) saturate(100%) invert(60%) sepia(15%) saturate(1200%) hue-rotate(60deg) brightness(95%) contrast(85%);
}

body.theme-dark .treatment-card {
    background: #1f2937;
    border-color: rgba(129, 162, 115, 0.2);
}

body.theme-dark .treatment-icon-wrapper {
    background: linear-gradient(135deg, rgba(75, 127, 59, 0.1), rgba(129, 162, 115, 0.1));
}

body.theme-dark .treatment-card:hover .treatment-icon-wrapper {
    background: linear-gradient(135deg, rgba(75, 127, 59, 0.15), rgba(129, 162, 115, 0.15));
}

body.theme-dark .treatment-icon {
    background: linear-gradient(135deg, rgba(75, 127, 59, 0.15), rgba(129, 162, 115, 0.15));
}

body.theme-dark .treatment-card:hover .treatment-icon {
    background: linear-gradient(135deg, rgba(75, 127, 59, 0.25), rgba(129, 162, 115, 0.25));
}

body.theme-dark .treatment-icon i {
    color: #81a273;
}

body.theme-dark .treatment-icon img {
    filter: brightness(0) saturate(100%) invert(60%) sepia(15%) saturate(1200%) hue-rotate(60deg) brightness(95%) contrast(85%);
}

body.theme-dark .treatment-title {
    color: #f9fafb;
}

body.theme-dark .treatment-card:hover .treatment-title {
    color: #a5c884;
}

body.theme-dark .treatment-description {
    color: #d1d5db;
}


/* ========================================
   INSURANCE SECTION (Convênios)
   ======================================== */
.insurance-section {
    padding: 80px 0;
    background: var(--white);
}

.insurance-carousel {
    overflow: hidden;
    margin-top: 50px;
    position: relative;
}

.insurance-track {
    display: flex;
    animation: scroll 20s linear infinite;
    gap: 40px;
    align-items: center;
}

.insurance-carousel:hover .insurance-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.insurance-logo {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    min-width: 200px;
    flex-shrink: 0;
}

.insurance-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.insurance-logo img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.insurance-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn {
    background: var(--white);
}

.cta-section .btn-primary {
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: var(--dark-color);
    color: var(--white);
}

.cta-section .btn-success {
    color: var(--success-color);
}

.cta-section .btn-success:hover {
    background: var(--dark-color);
    color: var(--white);
}

/* ========================================
   UNITS SECTION (Unidades)
   ======================================== */
.units-section {
    padding: 80px 0;
    background: var(--light-color);
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* ========================================
   PARTNERS SECTION
   ======================================== */
.partners-section {
    padding: 80px 0;
    background: var(--background-dynamic);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    align-items: center;
}

.partner-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 100px;
}

.partner-card img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.partner-card:hover img {
    filter: grayscale(0);
    transform: scale(1.05);
}

.unit-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.unit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.unit-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.unit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.unit-card:hover .unit-image img {
    transform: scale(1.1);
}

.unit-info {
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.unit-info h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.unit-info p {
    color: var(--gray-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

.unit-info .btn {
    margin-top: auto;
}

.unit-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.unit-badge .badge {
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

/* Badges coloridas com alto contraste */
.unit-badge .badge-pink {
    background: linear-gradient(135deg, #e91e63, #c2185b);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.unit-badge .badge-blue {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.unit-badge .badge-green {
    background: linear-gradient(135deg, #4caf50, #388e3c);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.unit-badge .featured-star {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #b8860b;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.unit-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 10px 0;
}

.unit-details small {
    color: var(--text-muted);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.unit-details i {
    width: 14px;
    height: 14px;
}

.unit-details [data-lucide],
.unit-details svg[data-lucide] {
    width: 14px !important;
    height: 14px !important;
}

/* Garantir que ícones Lucide nos cards de unidades tenham tamanho correto */
.unit-card [data-lucide],
.unit-card svg[data-lucide] {
    width: 14px !important;
    height: 14px !important;
}

.unit-card .unit-details [data-lucide],
.unit-card .unit-details svg[data-lucide] {
    width: 14px !important;
    height: 14px !important;
}

/* Específico para ícones dentro de elementos small nos cards */
.unit-card small [data-lucide],
.unit-card small svg[data-lucide] {
    width: 14px !important;
    height: 14px !important;
    font-size: 14px !important;
}

/* Ícones nos botões da seção de unidades */
.units-section .btn [data-lucide],
.units-section .btn svg[data-lucide] {
    width: 16px !important;
    height: 16px !important;
}

/* Link principal no dropdown de unidades */
.dropdown-link-main {
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    background: rgba(0, 102, 204, 0.1) !important;
    border-radius: 6px !important;
    margin: 5px !important;
}

.dropdown-link-main:hover {
    background: rgba(0, 102, 204, 0.2) !important;
    color: var(--primary-color) !important;
}

/* ========================================
   WHY US SECTION (Por Que Nós)
   ======================================== */
.why-us-section {
    padding: 80px 0;
    background: var(--white);
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-image {
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.why-us-image img {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.why-us-image:hover img {
    transform: scale(1.05);
}

.why-us-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.why-us-text h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.why-us-text p {
    font-size: 18px;
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* ========================================
   TESTIMONIALS SECTION (Depoimentos)
   ======================================== */
.testimonials-section {
    padding: 80px 0;
    background: var(--light-color);
}

.testimonials-carousel {
    overflow: hidden;
    margin-top: 50px;
    position: relative;
}

.testimonials-track {
    display: flex;
    animation: testimonials-scroll 45s linear infinite;
    gap: 30px;
    align-items: stretch;
    width: max-content;
}

.testimonials-track .testimonial-card {
    min-height: 400px;
    max-height: 500px;
}

.testimonials-carousel:hover .testimonials-track {
    animation-play-state: paused;
}

@keyframes testimonials-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

.testimonial-card {
    flex: 0 0 350px;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-stars i,
.testimonial-stars [data-lucide] {
    color: #fbbf24;
    width: 20px;
    height: 20px;
    stroke: #fbbf24;
}

.testimonial-stars i.filled,
.testimonial-stars [data-lucide].filled {
    color: #f59e0b;
    fill: #f59e0b;
    stroke: #f59e0b;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 20px;
    font-style: italic;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding: 10px 0;
}

.testimonial-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.testimonial-seal {
    display: flex;
    justify-content: center;
}

.seal-image {
    max-width: 80px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover .seal-image {
    opacity: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author strong,
.testimonial-author span {
    display: block;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}

.testimonial-author strong {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-track {
        animation: testimonials-scroll-mobile 35s linear infinite;
    }
    
    @keyframes testimonials-scroll-mobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-33.333%);
        }
    }
    
    .testimonial-card {
        flex: 0 0 300px;
        padding: 25px;
        min-height: 350px;
        max-height: 450px;
    }
    
    .testimonial-text {
        font-size: 15px;
    }
    
    .seal-image {
        max-width: 60px;
    }
}



/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-list {
    max-width: 900px;
    margin: 50px auto 0;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: var(--light-color);
    border: none;
    padding: 20px 25px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--primary-color);
    color: var(--white);
}

.faq-question i,
.faq-question [data-lucide="chevron-down"],
.faq-question svg {
    transition: var(--transition);
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px 25px;
    color: var(--gray-color);
    line-height: 1.8;
}

/* ========================================
   CONTACT INFO SECTION
   ======================================== */
.contact-form-section {
    padding: 80px 0;
    background: var(--background-dynamic);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.contact-info-card {
    background: var(--white);
    padding: 30px 24px;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 55px rgba(15, 23, 42, 0.1);
}

.contact-info-card i,
.contact-info-card [data-lucide],
.contact-info-card svg {
    width: 24px !important;
    height: 24px !important;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-info-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 6px;
}

.contact-info-card p {
    color: #64748b;
    font-size: 14px;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.1);
    padding: 40px;
}

body.theme-dark .contact-form-wrapper {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 28px 65px rgba(2, 6, 23, 0.65);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form .form-row {
    display: flex;
    gap: 18px;
}

.contact-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form label {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    font-size: 15px;
    transition: border 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    background: rgba(248, 250, 252, 0.85);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
    background: #fff;
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-form .btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-form .btn [data-lucide],
.contact-form .btn svg {
    width: 20px !important;
    height: 20px !important;
}

.contact-sidebar {
    background: rgba(248, 250, 252, 0.9);
    border-radius: 18px;
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-sidebar h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

body.theme-dark .contact-sidebar h3 {
    color: var(--primary-color);
}

.contact-sidebar p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.contact-sidebar .sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.contact-sidebar .info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-sidebar .info-item i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(220, 38, 38, 0.12);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-sidebar .info-item [data-lucide],
.contact-sidebar .info-item svg {
    width: 22px !important;
    height: 22px !important;
}

.contact-sidebar .info-item span {
    font-size: 14px;
    color: #475569;
}

.contact-sidebar .urgent-box {
    margin-top: 10px;
    padding: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.12), rgba(236, 72, 153, 0.08));
    border: 1px solid rgba(220, 38, 38, 0.2);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-sidebar .urgent-box h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.contact-sidebar .urgent-box p {
    margin: 0;
    font-size: 13px;
    color: #7f1d1d;
}

.contact-sidebar .btn {
    width: 100%;
}

.btn-urgent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-urgent i,
.btn-urgent [data-lucide],
.btn-urgent svg {
    width: 20px !important;
    height: 20px !important;
}

.btn-urgent.call {
    background: white;
    color: var(--primary-color);
    border: 1px solid rgba(148, 163, 184, 0.35);
    margin-bottom: 10px;
}

.btn-urgent.whatsapp {
    background: var(--success-color);
    color: white;
}

.btn-urgent:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.alert-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.25);
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
}

.alert-contact.error {
    background: rgba(248, 113, 113, 0.12);
    color: #991b1b;
    border-color: rgba(248, 113, 113, 0.25);
}

body.theme-dark .alert-contact {
    background: rgba(34, 197, 94, 0.14);
    color: #bbf7d0;
    border-color: rgba(34, 197, 94, 0.35);
}

body.theme-dark .alert-contact.error {
    background: rgba(248, 113, 113, 0.16);
    color: #fecaca;
    border-color: rgba(248, 113, 113, 0.35);
}

@media (max-width: 992px) {
    .contact-form-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-form .form-row {
        flex-direction: column;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-quote {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-text {
    font-size: 24px;
    font-style: italic;
    color: var(--white);
    margin-bottom: 15px;
    opacity: 0.9;
}

.quote-author {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 10px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-list i,
.contact-list [data-lucide],
.contact-list svg {
    width: 16px !important;
    height: 16px !important;
    color: var(--primary-color);
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.social-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-links li a img {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.25)) brightness(0) invert(1);
}

.social-links li a span {
    font-size: 15px;
}

.social-links li a:hover {
    transform: translateX(4px);
    background: rgba(56, 189, 248, 0.25);
    color: #fff;
}

.footer-agency {
    text-align: center;
    padding: 20px 0 0 0;
    margin: 0;
}

.footer-agency p {
    margin: 0;
}

.footer-agency a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.footer-agency a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    .navbar-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        box-shadow: none;
        border-left: 3px solid var(--primary-color);
        margin-left: 20px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .why-us-content {
        grid-template-columns: 1fr;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-card .icon {
        width: 56px;
        height: 56px;
    }
    
    .feature-card .icon img {
        width: 36px;
        height: 36px;
    }
    
    .feature-card .title {
        font-size: 1.15rem;
    }
    
    .treatments-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .treatment-card {
        border-radius: 16px;
    }
    
    .treatment-icon-wrapper {
        padding: 2rem 1.5rem 1.25rem;
    }
    
    .treatment-icon {
        width: 70px;
        height: 70px;
    }
    
    .treatment-icon i,
    .treatment-icon img {
        width: 40px;
        height: 40px;
    }
    
    .treatment-content {
        padding: 0 1.5rem 2rem;
    }
    
    .treatment-title {
        font-size: 1.2rem;
    }
    
    .units-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }
}

/* ========================================
   MODAL DE ATENDIMENTO
   ======================================== */
.modal-overlay {
    position: fixed;
    bottom: 100px; /* Posiciona acima do botão flutuante */
    right: 30px; /* Alinha à direita */
    display: none;
    z-index: 9999;
    pointer-events: none; /* Permite clicar através do overlay */
}

.modal-container {
    background: white;
    border-radius: 15px;
    max-width: 280px;
    width: 100%;
    max-height: 60vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
    pointer-events: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f9f9f9;
    color: #000000;
}

.modal-header {
    padding: 12px 15px 8px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-img {
    position: relative;
}

.profile-img img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #28a745;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    margin: 0 0 2px 0;
}

.profile-title {
    font-size: 12px;
    color: #666;
    margin: 0 0 4px 0;
}

.online-status {
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.status-text {
    font-size: 10px;
    color: #28a745;
    font-weight: 500;
}

.modal-content {
    padding: 12px;
    text-align: center;
}

.modal-message {
    margin-bottom: 15px;
}

.message-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    color: white;
    font-size: 14px;
}

.message-title {
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    margin: 0 0 6px 0;
    line-height: 1.3;
    text-align: left;
}

.message-text {
    font-size: 12px;
    color: #666;
    margin: 0 0 8px 0;
    line-height: 1.4;
    text-align: left;
}

.loading-dots {
    display: flex;
    justify-content: flex-start;
    gap: 5px;
    margin-top: 8px;
}

.loading-dots span {
    width: 5px;
    height: 5px;
    background: #28a745;
    border-radius: 50%;
    animation: loadingDots 1.5s infinite ease-in-out;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes loadingDots {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.modal-cta {
    width: 100%;
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.modal-cta:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.modal-cta i[data-lucide] {
    width: 18px;
    height: 18px;
}

.modal-cta svg {
    width: 18px;
    height: 18px;
}

.modal-urgent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 10px;
    color: #ff6b6b;
    font-weight: 500;
}

.modal-urgent i {
    font-size: 10px;
}

/* Botão Flutuante */
.floating-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #28a745;
    border-radius: 50%;
    display: flex; /* Sempre visível */
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

.floating-chat img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-chat:hover {
    background: #218838;
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.6);
}

/* Responsivo do Modal */
@media (max-width: 480px) {
    .modal-overlay {
        bottom: 80px; /* Menos espaço no mobile */
        right: 20px; /* Menos espaço da direita no mobile */
    }
    
    .modal-container {
        max-width: calc(100vw - 40px);
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-content {
        padding: 15px;
    }
    
    .floating-chat {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .floating-chat img {
        width: 28px;
        height: 28px;
    }
}

/* ========================================
   BLOG PREVIEW SECTION
   ======================================== */
.blog-preview-section {
    padding: 80px 0;
    background: #ebecf0;
}

.card-container {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 50px;
}

.card {
    align-self: flex-start;
    position: relative;
    width: 325px;
    min-width: 275px;
    height: 400px;
    margin: 1.25rem 0.75rem;
    background: white;
    transition: all 300ms ease-in-out;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-img {
    visibility: hidden;
    width: 100%;
    height: 200px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.card-img-hovered {
    --card-img-hovered-overlay: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0)
    );
    transition: all 350ms ease-in-out;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    position: absolute;
    height: 200px;
    top: 0;
}

.card-info {
    position: relative;
    padding: 0.75rem 1.25rem;
    transition: all 200ms ease-in-out;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-about {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    transition: all 200ms ease-in-out;
    min-height: 40px;
}

.card-tag {
    width: 60px;
    max-width: 100px;
    height: 24px;
    padding: 0.2rem 0.5rem;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #505f79;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-tag.tag-news {
    background: #36b37e;
}

.card-time {
    font-size: 12px;
    color: #666;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.card-title {
    z-index: 10;
    font-size: 1.5rem;
    padding-bottom: 0.75rem;
    transition: all 350ms ease-in-out;
    color: var(--dark-color);
    line-height: 1.3;
    flex-grow: 1;
}

.card-creator {
    padding-bottom: 0.75rem;
    transition: all 250ms ease-in-out;
    font-size: 14px;
    color: #666;
    margin-top: auto;
}

.card-creator a {
    color: var(--primary-color);
    text-decoration: none;
}

.card:hover {
    cursor: pointer;
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.1),
        0px 5px 15px rgba(0, 0, 0, 0.07);
    transform: scale(1.025);
}

.card:hover .card-img-hovered {
    --card-img-hovered-overlay: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.65)
    );
    height: 100%;
}

.card:hover .card-about,
.card:hover .card-creator {
    opacity: 0;
}

.card:hover .card-info {
    background-color: transparent;
}

.card:hover .card-title {
    color: #ebecf0;
    transform: translate(0, 40px);
}

/* Blog Section Button */
.blog-preview-section .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.blog-preview-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-preview-section .btn i,
.blog-preview-section .btn [data-lucide],
.blog-preview-section .btn svg {
    width: 20px !important;
    height: 20px !important;
    transition: transform 0.3s ease;
}

.blog-preview-section .btn:hover i,
.blog-preview-section .btn:hover [data-lucide],
.blog-preview-section .btn:hover svg {
    transform: translateX(4px);
}

/* Blog Section - Página do Blog */
.blog-section {
    padding: 80px 0;
    background: white;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--gray-color);
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.empty-state p {
    font-size: 16px;
    color: var(--gray-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-card-overlay {
    opacity: 1;
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--gray-color);
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card-title {
    margin-bottom: 15px;
}

.blog-card-title a {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-excerpt {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
    flex-grow: 1;
}

.blog-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Ícones Lucide na página do blog */
.empty-state [data-lucide],
.empty-state svg[data-lucide] {
    width: 64px !important;
    height: 64px !important;
    color: var(--gray-color);
    margin-bottom: 20px;
}

.blog-card-meta [data-lucide],
.blog-card-meta svg[data-lucide] {
    width: 16px !important;
    height: 16px !important;
    margin-right: 5px;
}

.blog-card .btn [data-lucide],
.blog-card .btn svg[data-lucide] {
    width: 16px !important;
    height: 16px !important;
    margin-left: 5px;
}

/* Mobile-first: estilos base já são para mobile (1 coluna) */
.blog-card-content {
    padding: 20px;
}

.blog-card-title a {
    font-size: 18px;
}

.blog-card-meta {
    flex-direction: column;
    gap: 10px;
}

.empty-state {
    padding: 60px 20px;
}

.empty-state h3 {
    font-size: 20px;
}

/* Tablet (769px+) */
@media (min-width: 769px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .blog-card-meta {
        flex-direction: row;
        gap: 20px;
    }
}

/* Desktop (993px+) */
@media (min-width: 993px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .blog-card-content {
        padding: 25px;
    }
    
    .blog-card-title a {
        font-size: 20px;
    }
}

/* Ícones Lucide na página Quem Somos */
.mvv-icon [data-lucide],
.mvv-icon svg[data-lucide] {
    width: 36px !important;
    height: 36px !important;
}

.team-icon [data-lucide],
.team-icon svg[data-lucide] {
    width: 40px !important;
    height: 40px !important;
}

.benefit-item [data-lucide],
.benefit-item svg[data-lucide] {
    width: 28px !important;
    height: 28px !important;
}
        margin: 0.75rem 0;
    }
}

/* ========================================
   MOBILE-FIRST RESPONSIVE OVERRIDES
   ======================================== */

/* Base Mobile Styles (até 480px) - já aplicados acima */
/* Estilos base já são mobile-first por padrão */

/* Mobile Large (481px+) */
@media (min-width: 481px) {
    .container {
        padding: 0 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 22px;
    }
}

/* Tablet (769px+) */
@media (min-width: 769px) {
    .container {
        padding: 0 30px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 24px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 30px;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 20px;
    }
    
    .btn-lg {
        width: auto;
    }
    
    .theme-toggle {
        display: inline-flex;
    }
    
    .theme-toggle--compact {
        display: none;
    }
    
    .top-bar-info {
        display: flex;
    }
    
    .top-bar-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .top-bar-left,
    .top-bar-right {
        flex-direction: row;
    }
}

/* Desktop (993px+) */
@media (min-width: 993px) {
    .navbar-menu {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-left: auto;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .dropdown-menu {
        position: absolute;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-left: none;
        margin-left: 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .treatments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .why-us-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .hero-subtitle {
        font-size: 36px;
    }
}

/* Desktop Large (1201px+) */
@media (min-width: 1201px) {
    .container {
        max-width: 1200px;
        padding: 0 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .treatments-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

