/* ========================================
   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: #dc2626;
    --secondary-color: #991b1b;
    --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;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* 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);
}

/* ========================================
   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: var(--dark-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    gap: 30px;
}

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

.top-bar i {
    color: var(--primary-color);
}

/* ========================================
   HEADER - NAVBAR
   ======================================== */
.navbar {
    background: var(--white);
    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-brand .logo {
    height: 80px;
    width: auto;
    max-width: 250px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

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

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 10px;
}

.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: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    background-image: url('../images/back-hero.png');
    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;
}

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

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    animation: fadeInUp 1s;
}

.hero-subtitle {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    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;
}

@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, #ffffff, #f9f9f9);
}

.features-grid {
    width: min(75rem, 100%);
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
    gap: 2rem;
}

.feature-card {
    --grad: #dc2626, #991b1b;
    padding: 1.5rem;
    background-image: linear-gradient(to bottom left, #ffffff, #f9f9f9);
    border-radius: 0;
    gap: 1rem;
    display: grid;
    grid-template: 'title icon' 'content content' 'bar bar' / 1fr auto;
    font-family: system-ui, sans-serif;
    color: #444447;
    box-shadow: 
        inset -2px 2px hsl(0 0 100% / 1),
        -15px 15px 30px hsl(0 0 0 / .2);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        inset -2px 2px hsl(0 0 100% / 1),
        -20px 20px 40px hsl(0 0 0 / .25);
}

.feature-card .title {
    font-size: 1.1rem;
    grid-area: title;
    align-self: end;
    text-transform: uppercase;
    font-weight: 500;
    word-break: break-all;
    color: var(--dark);
}

.feature-card .icon {
    grid-area: icon;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card .icon i {
    color: transparent;
    background: linear-gradient(to right, var(--grad));
    background-clip: text;
    width: 32px;
    height: 32px;
}

.feature-card .icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) saturate(100%) invert(20%) sepia(8%) saturate(1352%) hue-rotate(169deg) brightness(95%) contrast(86%);
}

.feature-card .content {
    grid-area: content;
    margin-top: 0.5rem;
}

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

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

.feature-card::after {
    content: "";
    grid-area: bar;
    height: 2px;
    background-image: linear-gradient(90deg, var(--grad));
}

/* Terceiro card agora usa o mesmo estilo dos outros */

/* Card do centro - segundo card sem moldura/sombreamento */
.feature-card:nth-child(2),
.feature-card:nth-child(4),
.feature-card:nth-child(6) {
    background: transparent;
    box-shadow: none;
    border: none;
}

.feature-card:nth-child(2):hover,
.feature-card:nth-child(4):hover,
.feature-card:nth-child(6):hover {
    transform: none;
    box-shadow: none;
}

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

/* ========================================
   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);
}

.treatments-grid {
    width: min(75rem, 100%);
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
    gap: 2rem;
}

.treatment-card {
    --grad: #dc2626, #991b1b;
    padding: 1.5rem;
    background-image: linear-gradient(to bottom left, #ffffff, #f9f9f9);
    border-radius: 0;
    gap: 1rem;
    display: grid;
    grid-template: 'title icon' 'content content' 'bar bar' / 1fr auto;
    font-family: system-ui, sans-serif;
    color: #444447;
    box-shadow: 
        inset -2px 2px hsl(0 0 100% / 1),
        -15px 15px 30px hsl(0 0 0 / .2);
    transition: var(--transition);
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        inset -2px 2px hsl(0 0 100% / 1),
        -25px 25px 50px hsl(0 0 0 / .3);
}

.treatment-card .title {
    font-size: 1.1rem;
    grid-area: title;
    align-self: end;
    text-transform: uppercase;
    font-weight: 500;
    word-break: break-all;
    color: var(--dark);
}

.treatment-card .icon {
    grid-area: icon;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.treatment-card .icon i {
    color: transparent;
    background: linear-gradient(to right, var(--grad));
    background-clip: text;
    width: 32px;
    height: 32px;
}

.treatment-card .icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) saturate(100%) invert(20%) sepia(8%) saturate(1352%) hue-rotate(169deg) brightness(95%) contrast(86%);
}

.treatment-card .content {
    grid-area: content;
    margin-top: 0.5rem;
}

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

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

.treatment-card::after {
    content: "";
    grid-area: bar;
    height: 2px;
    background-image: linear-gradient(90deg, var(--grad));
}

/* ========================================
   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;
}

.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 {
    color: #ffc107;
    width: 20px;
    height: 20px;
}

.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;
    flex-direction: column;
    gap: 5px;
}

.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(--light-color);
}

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

.contact-info-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

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

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

/* ========================================
   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 {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a i,
.social-links a [data-lucide],
.social-links a svg {
    width: 18px !important;
    height: 18px !important;
    color: var(--white);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.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: 32px;
    }

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

    .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;
    }
    
    .treatments-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .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: repeat(auto-fit, minmax(350px, 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;
}

/* Responsive Blog Cards */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .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;
    }
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .blog-card-image {
        height: 180px;
    }
    
    .blog-card-content {
        padding: 15px;
    }
    
    .blog-card-title a {
        font-size: 16px;
    }
}

/* Í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;
    }
}

