/* --- CSS Variables & Design System --- */
:root {
    /* Colors */
    --primary-color: #861a27;       /* Burgundy / Vinho Vascular */
    --primary-light: #a22534;     /* Lighter wine red */
    --accent-color: #c5a880;      /* Champagne gold */
    --accent-light: #ebdcc5;      /* Very soft gold */
    --text-main: #2d3748;         /* Charcoal text */
    --text-muted: #626f82;        /* Gray-blue text */
    --bg-light: #f6f8fb;          /* Clean light background */
    --bg-white: #ffffff;
    --whatsapp: #25d366;
    --whatsapp-hover: #20b858;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 6rem 0;
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Transitions & Shadows */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-sm: 0 4px 6px rgba(11, 30, 54, 0.04);
    --shadow-md: 0 12px 20px rgba(11, 30, 54, 0.06);
    --shadow-lg: 0 24px 38px rgba(11, 30, 54, 0.08);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for sticky header */
}

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

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

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

ul {
    list-style: none;
}

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

.section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--bg-light);
}

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

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: rgba(197, 168, 128, 0.15);
    color: #9d7d54;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    border: 1px solid rgba(197, 168, 128, 0.25);
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.25;
    font-weight: 600;
}

.section-tag {
    display: block;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 3.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(11, 30, 54, 0.15);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(11, 30, 54, 0.1);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: white;
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.15);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.25);
}

.btn-lg {
    padding: 1.1rem 2.2rem;
    font-size: 1.05rem;
}

.btn-xl {
    padding: 1.3rem 2.8rem;
    font-size: 1.15rem;
    border-radius: 50px;
}

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

/* --- Top Bar --- */
.top-bar {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.top-bar-info {
    display: flex;
    gap: 2rem;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.top-bar-social a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.top-bar-social a:hover {
    color: var(--accent-color);
}

/* --- Header --- */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 999;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 140px;
    transition: var(--transition-normal);
}

.header.scrolled .header-container {
    height: 100px;
}

.logo-img {
    height: 130px;
    width: auto;
    transition: var(--transition-normal);
}

.header.scrolled .logo-img {
    height: 90px;
}

.nav-list {
    display: flex;
    gap: 2.2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary-color);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-color);
    font-weight: 600;
}

/* Link especial: Orientações */
.nav-link-orientacoes {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    background: rgba(134, 26, 39, 0.07);
    border: 1px solid rgba(134, 26, 39, 0.2);
    padding: 0.3rem 0.85rem !important;
    border-radius: 50px;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    transition: all 0.3s ease !important;
}
.nav-link-orientacoes:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}
.nav-link-orientacoes::after { display: none !important; }
.nav-link-orientacoes i { font-size: 1rem; }

.drawer-link-orientacoes {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
}
.drawer-link-orientacoes i { font-size: 1.1rem; }


.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- Mobile Drawer Menu --- */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.drawer-logo {
    height: 40px;
    width: auto;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

.drawer-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: auto;
}

.drawer-link {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: block;
}

.drawer-link:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 1.5rem;
}

.drawer-contact {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.drawer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 30, 54, 0.5);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(4px);
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* --- Hero Section --- */
.hero {
    padding: 0;
    min-height: 90vh;
    display: flex;
    align-items: stretch;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 2;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.hero-content {
    padding-right: 3rem;
}

.hero-image {
    position: relative;
    height: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-image .image-wrapper {
    width: 100%;
    max-width: 440px;
    height: auto;
    aspect-ratio: 3423 / 5136;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    box-shadow: none;
    border: none;
    flex-shrink: 0;
}

.hero-image .image-wrapper::before {
    display: none;
}

.hero-image .image-wrapper::after {
    display: none;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    transition: var(--transition-normal);
    display: block;
}

.hero-doctor-name {
    text-align: center;
}

.hero-doctor-name h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.hero-doctor-name p {
    font-size: 0.95rem;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-overlay {
    display: none;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: var(--primary-color);
    line-height: 1.15;
}

.hero-title span {
    color: var(--accent-color);
    font-style: italic;
    font-family: var(--font-heading);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero .btn-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.hero-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.highlight-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.hero .badge {
    background-color: rgba(197, 168, 128, 0.12);
    border-color: rgba(197, 168, 128, 0.35);
    color: var(--primary-color);
}

/* Image wrapper (usado na seção Sobre) */
.image-wrapper {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1;
    height: auto;
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(134, 26, 39, 0.15);
    overflow: hidden;
    border: 6px solid var(--bg-white);
    transition: var(--transition-normal);
    z-index: 2;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    inset: -12px;
    border: 2px dashed var(--accent-color);
    border-radius: calc(var(--radius-lg) + 6px);
    z-index: -1;
    pointer-events: none;
    animation: rotateSlow 45s linear infinite;
    opacity: 0.5;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: var(--transition-normal);
}

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

.image-wrapper:hover .hero-photo {
    transform: scale(1.04);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 30, 54, 0.3) 0%, transparent 40%);
    pointer-events: none;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* --- About Section --- */
.about-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper-about {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(11, 30, 54, 0.12);
    aspect-ratio: 1.15; /* Proporção horizontal que se adequa perfeitamente à imagem original */
    width: 100%;
    border: 6px solid var(--bg-white);
}

.image-wrapper-about::before {
    content: '';
    position: absolute;
    top: 15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: var(--radius-md);
    z-index: -1;
    pointer-events: none;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Foco no rosto */
}

.about-image-card {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.2rem 2rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-color);
}

.about-image-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    font-family: var(--font-body);
}

.about-image-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.about-content h2 {
    font-size: 2.4rem;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
}

.credentials-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credentials-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

.credentials-list i {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-top: 1px;
}

/* --- Atuação Section (Tabs & Cards) --- */
.atuacao-tabs {
    margin-top: 2rem;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    border-bottom: 1px solid rgba(11, 30, 54, 0.08);
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--accent-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 5px 5px 0 0;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.atuacao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.atuacao-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(11, 30, 54, 0.03);
    transition: var(--transition-normal);
}

.atuacao-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(197, 168, 128, 0.25);
}

.card-icon {
    width: 55px;
    height: 55px;
    background-color: rgba(197, 168, 128, 0.12);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.atuacao-card:hover .card-icon {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.atuacao-card h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

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

.full-width-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
    align-items: flex-start;
}

.full-width-card .card-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
}

.full-width-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.full-width-card p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.exam-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.exam-features li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.exam-features i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* --- Clinic Section --- */
.clinic-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 5rem;
    align-items: center;
}

.clinic-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
}

.address-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.address-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.address-item i {
    font-size: 1.35rem;
    color: var(--accent-color);
    background-color: rgba(197, 168, 128, 0.12);
    padding: 0.8rem;
    border-radius: 50%;
}

.address-item h4 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.address-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.clinic-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: #f6f8fb;
}

.gallery-main::after {
    content: none;
}

.gallery-main:hover::after {
    background: rgba(0, 0, 0, 0);
}

.gallery-bg-blur {
    position: absolute;
    inset: -20px;
    width: calc(100% + 40px) !important;
    height: calc(100% + 40px) !important;
    object-fit: cover !important;
    filter: blur(25px) brightness(0.6);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.gallery-main img:not(.gallery-bg-blur) {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: var(--transition-normal);
}

.gallery-zoom-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(6, 17, 31, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--bg-white);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 3;
    transition: var(--transition-fast);
    opacity: 0.85;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-main:hover .gallery-zoom-badge {
    opacity: 1;
    transform: scale(1.05);
    background-color: var(--primary-color);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.8rem;
}

.gallery-thumbs img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.gallery-thumbs img:hover,
.gallery-thumbs img.active {
    opacity: 1;
    border-color: var(--accent-color);
}

/* --- Testimonials Filter & Cards --- */
.testimonials-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.filter-btn {
    background-color: var(--bg-white);
    border: 1px solid rgba(11, 30, 54, 0.08);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.filter-btn i {
    font-size: 1.1rem;
}

.filter-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 8px 16px rgba(134, 26, 39, 0.2);
}

.filter-btn[data-filter="google"].active {
    background-color: #4285F4;
    border-color: #4285F4;
    box-shadow: 0 8px 16px rgba(66, 133, 244, 0.2);
}

.slider-wrapper {
    position: relative;
    max-width: 1150px;
    margin: 0 auto;
    overflow: hidden;
    padding: 1.5rem 0.5rem;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.slide {
    min-width: calc(33.333% - 1.5rem);
    margin-right: 2.25rem;
    box-sizing: border-box;
    transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
    display: flex;
}

.slide.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: none;
}

.testimonial-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(11, 30, 54, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 7rem;
    color: rgba(197, 168, 128, 0.08);
    line-height: 1;
    font-style: italic;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(197, 168, 128, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    width: 100%;
}

.avatar-col {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.patient-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--accent-light);
}

.patient-name {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.1rem;
}

.patient-status {
    font-size: 0.75rem;
    color: #1e7e34;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.platform-logo {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
}

.platform-logo.doctoralia {
    background-color: rgba(134, 26, 39, 0.08);
    color: var(--primary-color);
}

.platform-logo.google {
    background-color: rgba(66, 133, 244, 0.08);
    color: #4285F4;
}

.rating-stars {
    color: #f1c40f;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    display: flex;
    gap: 0.2rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.8rem;
    font-style: italic;
    flex-grow: 1;
}

.card-footer {
    border-top: 1px solid rgba(11, 30, 54, 0.04);
    padding-top: 1rem;
    display: flex;
    justify-content: flex-start;
}

.view-print-btn {
    background: none;
    border: none;
    color: var(--accent-color);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0;
    transition: var(--transition-fast);
}

.view-print-btn:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.slider-btn {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.slider-btn:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

.slider-dots {
    display: flex;
    gap: 0.6rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(11, 30, 54, 0.15);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

/* --- FAQ Section (Accordion) --- */
.faq-container {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 5rem;
    align-items: flex-start;
}

.faq-intro {
    position: sticky;
    top: 130px;
}

.faq-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.2rem;
}

.faq-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(11, 30, 54, 0.03);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover,
.faq-item.active {
    background-color: var(--bg-white);
    border-color: rgba(197, 168, 128, 0.35);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.8rem;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
}

.faq-question .icon {
    font-size: 1.3rem;
    color: var(--accent-color);
    transition: var(--transition-normal);
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
    color: var(--primary-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.answer-content {
    padding: 0 1.8rem 1.6rem;
    color: var(--text-muted);
    font-size: 0.98rem;
    border-top: 1px solid rgba(11, 30, 54, 0.04);
    padding-top: 1.2rem;
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--primary-color);
    color: var(--bg-white);
    background-image: radial-gradient(circle at 10% 20%, rgba(28, 54, 87, 0.6) 0%, transparent 60%);
}

.cta-title {
    color: var(--bg-white);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.convenios-info {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1.5rem;
}

/* --- Footer --- */
.footer {
    background-color: #06111f;
    color: rgba(255, 255, 255, 0.65);
    padding: 5rem 0 0;
    font-size: 0.92rem;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 46px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(1.2);
}

.brand-desc {
    margin-bottom: 1.8rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--bg-white);
}

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

.footer-links h4,
.footer-contact h4 {
    color: var(--bg-white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 1.8rem;
    letter-spacing: 0.5px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 4px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--accent-color);
    font-size: 1.15rem;
    margin-top: 2px;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.medical-register {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);
}

/* --- Floating Elements --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    z-index: 998;
    transition: var(--transition-normal);
}

.floating-whatsapp:hover {
    transform: scale(1.08) translateY(-3px);
    background-color: var(--whatsapp-hover);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

/* --- Keyframes & Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Stats Section --- */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5d0f17 100%);
    color: var(--bg-white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    z-index: 2;
}

.stat-icon {
    width: 65px;
    height: 65px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.stat-item:hover .stat-icon {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 10px 20px rgba(197, 168, 128, 0.2);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* --- Lightbox Modal --- */
.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(6, 17, 31, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--bg-white);
    border: 4px solid var(--bg-white);
}

.lightbox.open .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

/* Modo especial para prints de depoimentos */
.lightbox.testimonial-print .lightbox-content {
    max-width: 340px; /* Largura ideal para print de smartphone */
    border: 6px solid #1a202c; /* Borda estilizada tipo celular */
    border-radius: var(--radius-lg);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 2.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2010;
}

.lightbox-close:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--bg-white);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.8rem;
    transition: var(--transition-fast);
    z-index: 2005;
}

.lightbox-nav:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.lightbox-nav.prev {
    left: 2rem;
}

.lightbox-nav.next {
    right: 2rem;
}

/* --- Scroll Reveal Entrance --- */
.reveal-element, .reveal-left, .reveal-right, .reveal-up, .reveal-scale, .stagger-item {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.215, 0.610, 0.355, 1),
                transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.reveal-element, .reveal-up {
    transform: translateY(40px);
}
.reveal-left {
    transform: translateX(-50px);
}
.reveal-right {
    transform: translateX(50px);
}
.reveal-scale {
    transform: scale(0.85);
}
.stagger-item {
    transform: translateY(30px);
}

.reveal-element.revealed, .reveal-left.revealed, .reveal-right.revealed,
.reveal-up.revealed, .reveal-scale.revealed, .stagger-item.revealed {
    opacity: 1;
    transform: none;
}

/* --- Cursor Personalizado --- */
#custom-cursor,
#cursor-dot {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    will-change: left, top;
    transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

#custom-cursor {
    width: 38px;
    height: 38px;
    border: 2px solid rgba(197, 168, 128, 0.6);
    background: transparent;
}

#cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-color);
}

#custom-cursor.expand {
    width: 56px;
    height: 56px;
    background: rgba(197, 168, 128, 0.08);
    border-color: var(--accent-color);
}

#custom-cursor.clicking {
    width: 28px;
    height: 28px;
    background: rgba(197, 168, 128, 0.15);
}

#cursor-dot.clicking {
    background: var(--primary-color);
    width: 10px;
    height: 10px;
}

@media (max-width: 1024px) {
    #custom-cursor, #cursor-dot { display: none; }
}

/* --- Scroll Progress Bar --- */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 99998;
    transition: width 0.1s linear;
}

/* --- Partículas do Hero --- */
#hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-color);
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 0.3; }
    100% {
        transform: translateY(-120px) rotate(360deg);
        opacity: 0;
    }
}

/* --- Typing Effect --- */
#typing-text {
    color: var(--accent-color);
    font-style: italic;
    font-family: var(--font-heading);
    border-right: 3px solid var(--accent-color);
    animation: blinkCaret 0.75s step-end infinite;
    padding-right: 4px;
}

@keyframes blinkCaret {
    0%, 100% { border-color: var(--accent-color); }
    50% { border-color: transparent; }
}

/* --- Page Load Reveal --- */
body.page-loaded {
    /* página carregada normalmente */
}

/* --- Botão Magnético --- */
.btn-magnetic {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                background-color 0.3s ease,
                box-shadow 0.3s ease;
}

/* --- Cards com Tilt 3D --- */
.atuacao-card {
    perspective: 800px;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* --- Floating WhatsApp Visibilidade Condicional (Desktop apenas) --- */
@media (min-width: 769px) {
    .floating-whatsapp {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
        pointer-events: none;
        transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    }
    
    .floating-whatsapp.visible {
        opacity: 1;
        transform: scale(1) translateY(0);
        pointer-events: auto;
    }
}

/* --- Gallery Image Transition --- */
#gallery-active-img {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* --- Highlight animado no Hero --- */
.hero-highlights {
    position: relative;
}

.highlight-item {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInItem 0.6s ease forwards;
}

.highlight-item:nth-child(1) { animation-delay: 0.5s; }
.highlight-item:nth-child(2) { animation-delay: 0.7s; }
.highlight-item:nth-child(3) { animation-delay: 0.9s; }

@keyframes slideInItem {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- Badge animada --- */
.badge {
    animation: badgePop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s both;
}

@keyframes badgePop {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Hero content entrada --- */
.hero-title {
    animation: fadeSlideUp 0.8s ease 0.1s both;
}

.hero-subtitle {
    animation: fadeSlideUp 0.8s ease 0.3s both;
}

.hero-buttons {
    animation: fadeSlideUp 0.8s ease 0.5s both;
}

.hero-image .image-wrapper {
    animation: fadeSlideRight 0.9s ease 0.3s both;
}

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

@keyframes fadeSlideRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- Stats item com hover melhorado --- */
.stat-item {
    cursor: default;
}

.stat-item .stat-number {
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.08);
}

/* --- Stagger Group --- */
.stagger-group {
    /* container, sem estilo extra */
}

/* --- Testimonial card glassmorphism sutil no hover --- */
.testimonial-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 60px rgba(11, 30, 54, 0.12), 0 0 0 1px rgba(197, 168, 128, 0.2);
}

/* --- Tab pane transition --- */
.tab-pane {
    transition: opacity 0.4s ease;
}

.tab-pane.active {
    opacity: 1;
}

/* --- Smooth image loading --- */
img {
    transition: opacity 0.3s ease;
}


/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 4.5rem 0;
    }
    
    .hero-container,
    .about-container,
    .clinic-container,
    .faq-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .hero {
        padding-top: 3rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        max-width: 100%;
        margin-inline: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-highlights {
        align-items: center;
    }
    
    .about-image {
        display: flex;
        justify-content: center;
    }
    
    .image-wrapper-about {
        width: 100%;
        max-width: 480px;
    }
    
    .faq-intro {
        position: static;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-container {
        grid-template-columns: 1.2fr 0.8fr 1fr;
        gap: 3rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .slide {
        min-width: calc(50% - 0.75rem);
        margin-right: 1.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3.5rem 0;
    }
    
    .container {
        padding: 0 1.25rem;
    }
    
    .top-bar,
    .header-cta,
    .nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .header-container {
        height: 80px;
    }
    
    .logo-img {
        height: 68px;
    }
    
    /* --- Hero Mobile Premium --- */
    .hero {
        padding: 0;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 1rem;
        padding-bottom: 2rem;
        gap: 1.5rem;
    }
    
    .hero-content {
        padding-right: 0;
        padding-top: 4rem;
        padding-bottom: 0.5rem;
        text-align: center;
    }

    .hero-highlights {
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: -0.5px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.97rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    
    .hero-image {
        min-height: auto;
        order: -1;
        align-items: center;
        gap: 0.8rem;
    }
    
    .hero-image .image-wrapper {
        width: 75vw;
        max-width: 300px;
        height: auto;
        aspect-ratio: 3423 / 5136;
        border-radius: 0;
        box-shadow: none;
        border: none;
    }

    .hero-doctor-name h2 {
        font-size: 1.15rem;
        letter-spacing: 0.5px;
    }

    .hero-doctor-name p {
        font-size: 0.8rem;
    }
    
    .hero-highlights {
        gap: 0.6rem;
    }
    
    .highlight-item {
        font-size: 0.88rem;
        gap: 0.5rem;
    }
    
    .highlight-item i {
        font-size: 1.1rem;
    }
    
    /* --- Badge Mobile --- */
    .badge {
        font-size: 0.78rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }
    
    /* --- Section Titles Mobile --- */
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section-desc {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .section-tag {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
        margin-bottom: 0.5rem;
    }
    
    /* --- About Mobile --- */
    .about-content h2 {
        font-size: 1.9rem;
    }
    
    .about-text {
        font-size: 0.98rem;
    }
    
    .about-image-card {
        bottom: 1rem;
        right: 1rem;
        padding: 0.8rem 1.2rem;
    }
    
    .about-image-card h4 {
        font-size: 0.95rem;
    }
    
    .about-image-card p {
        font-size: 0.8rem;
    }
    
    .credentials-list li {
        font-size: 0.9rem;
    }
    
    /* --- Atuação Cards Mobile --- */
    .atuacao-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .atuacao-card {
        padding: 1.8rem;
    }
    
    .atuacao-card h3 {
        font-size: 1.15rem;
    }
    
    .atuacao-card p {
        font-size: 0.9rem;
    }
    
    .card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }
    
    .tabs-nav {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .tab-btn.active::after {
        display: none;
    }
    
    .full-width-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .full-width-card .card-icon {
        margin-inline: auto;
    }
    
    .exam-features {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    /* --- Clinic Gallery Mobile --- */
    .clinic-container {
        gap: 2.5rem;
    }
    
    .clinic-desc {
        font-size: 0.98rem;
    }
    
    .gallery-main {
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: var(--radius-sm);
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.5rem;
    }
    
    .gallery-thumbs img {
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 6px;
    }
    
    .gallery-zoom-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.75rem;
        bottom: 0.6rem;
        right: 0.6rem;
    }
    
    .address-item i {
        font-size: 1.1rem;
        padding: 0.6rem;
    }
    
    .address-item h4 {
        font-size: 0.95rem;
    }
    
    .address-item p {
        font-size: 0.88rem;
    }
    
    /* --- Stats Mobile Premium (grid 2x2) --- */
    .stats-section {
        padding: 3rem 0;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-icon {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* --- Testimonials Mobile --- */
    .slide {
        min-width: 100%;
        margin-right: 0;
    }
    
    .testimonial-card {
        padding: 1.6rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    .testimonials-filter {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0;
    }
    
    .filter-btn {
        width: calc(50% - 0.25rem);
        justify-content: center;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .filter-btn[data-filter="all"] {
        width: 100%;
    }
    
    .slider-controls {
        margin-top: 1.5rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    /* --- FAQ Mobile --- */
    .faq-container {
        gap: 2.5rem;
    }
    
    .faq-intro {
        position: static;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .faq-intro h2 {
        font-size: 1.9rem;
    }
    
    .faq-desc {
        font-size: 0.95rem;
    }
    
    .faq-question {
        padding: 1.2rem 1.4rem;
        font-size: 0.98rem;
    }
    
    .answer-content {
        padding: 0 1.4rem 1.4rem;
        font-size: 0.92rem;
    }
    
    /* --- CTA Mobile --- */
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-desc {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }
    
    /* --- Footer Mobile --- */
    .footer {
        padding-top: 3.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo {
        height: 40px;
        margin-bottom: 1rem;
    }
    
    .brand-desc {
        font-size: 0.88rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .footer-contact p {
        justify-content: center;
        font-size: 0.88rem;
    }
    
    .footer-bottom {
        padding: 1.5rem 0;
        font-size: 0.78rem;
    }
    
    /* --- Floating WhatsApp Mobile --- */
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        font-size: 1.9rem;
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }
    
    /* --- Lightbox Mobile --- */
    .lightbox-content {
        max-width: 95%;
        max-height: 75vh;
        border-radius: var(--radius-sm);
        border-width: 3px;
    }
    
    .lightbox-close {
        top: 0.8rem;
        right: 0.8rem;
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .lightbox-nav.prev { left: 0.4rem; }
    .lightbox-nav.next { right: 0.4rem; }
    
    /* --- Images Mobile --- */
    .image-wrapper-about {
        aspect-ratio: 1.25;
        max-width: 100%;
        border-width: 4px;
    }
    
    .image-wrapper::before {
        inset: -8px;
    }
    
    .image-wrapper::after {
        bottom: -10px;
        left: -10px;
        border-width: 2px;
    }
    
    /* --- Animações com Performance Mobile --- */
    .hero-image .image-wrapper {
        animation-duration: 0.6s;
    }
    
    /* Cursor oculto no mobile */
    #custom-cursor, #cursor-dot {
        display: none !important;
    }
    
    /* Progress bar mais fino no mobile */
    #scroll-progress {
        height: 2px;
    }
    
    /* Partículas reduzidas no mobile */
    .particle {
        opacity: 0.15 !important;
    }
    
    /* Typing effect padding */
    #typing-text {
        border-right-width: 2px;
        padding-right: 2px;
    }
}

/* --- Extra Small Devices (max-width: 400px) --- */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.85rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .cta-title {
        font-size: 1.7rem;
    }
    
    .stats-container {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.9rem;
    }
    
    .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .atuacao-card {
        padding: 1.4rem;
    }
    
    .about-content h2 {
        font-size: 1.65rem;
    }
}

/* --- Redução de Animação para quem prefere (acessibilidade) --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal-element, .reveal-left, .reveal-right, .reveal-up, .reveal-scale, .stagger-item {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .highlight-item {
        opacity: 1 !important;
        transform: none !important;
    }
}
