/* ==========================================================================
   CSS Variables & Design Tokens
   ========================================================================== */
   :root {
    /* Paleta de Cores */
    --color-creme: #FDFBF7;
    --color-white: #FFFFFF;
    --color-brown-dark: #2D1C19;
    --color-brown: #3E2723;
    --color-brown-light: #D7CCC8;
    --color-gold: #C5A059;
    --color-gold-light: rgba(197, 160, 89, 0.1);
    
        /* Tipografia */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Type Scale */
    --text-xs: 0.85rem;
    --text-sm: 0.95rem;
    --text-base: 1.1rem;
    --text-lg: 1.3rem;
    --text-xl: 1.5rem;
    --text-2xl: 2.5rem;
    --text-3xl: 3rem;
    --text-4xl: 4rem;
    --text-5xl: 4.5rem;
    
    /* Espaçamentos e Medidas */
    --container-width: 1200px;
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 4px;
}

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

html {
    scroll-behavior: initial; /* Lenis handles this */
}

body {
    background-color: var(--color-creme);
    color: var(--color-brown);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Hide default cursor for custom cursor */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, .logo-text {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--color-brown);
}

.section-tag {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: var(--text-3xl);
    line-height: 1.2;
    margin-bottom: 3rem;
}

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

/* ==========================================================================
   Custom Cursor
   ========================================================================== */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--color-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(197, 160, 89, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor.hovered {
    width: 60px;
    height: 60px;
    background-color: rgba(197, 160, 89, 0.2);
    mix-blend-mode: multiply;
}

.cursor-follower.hovered {
    width: 80px;
    height: 80px;
    border-color: transparent;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-gold);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

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

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition-smooth);
}

.header.scrolled {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition-smooth);
    /* By default, keep it as is. When scrolled, it shows the original colors. */
}

/* Initial state for hero overlap - Since the hero is dark, we need to invert a transparent black/brown logo to white */
.header:not(.scrolled) .logo-img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.header.scrolled .nav-link {
    color: var(--color-brown);
}

/* Initial state for hero overlap */
.header:not(.scrolled) .nav-link {
    color: var(--color-white);
}

.header:not(.scrolled) .menu-toggle i {
    color: var(--color-white);
}

.logo-sub {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
}

.nav {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 400;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: var(--text-xl);
    cursor: none;
    color: var(--color-brown);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 120%; /* for parallax */
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(62, 39, 35, 0.8) 0%, rgba(62, 39, 35, 0.4) 100%);
}

.hero-content {
    color: var(--color-white);
    padding-top: 5rem;
}

.hero-title {
    font-size: var(--text-5xl);
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--color-white);
    max-width: 800px;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-subtitle {
    font-size: var(--text-lg);
    max-width: 600px;
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0.9;
}

/* ==========================================================================
   Specialties Section
   ========================================================================== */
.specialties {
    padding: 8rem 0;
    background-color: var(--color-white);
}

/* ==========================================================================
   Specialty Showcase
   ========================================================================== */
.specialty-showcase {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    margin-top: 4rem;
}

.specialty-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.specialty-row.reverse .specialty-content {
    order: 2;
}

.specialty-row.reverse .specialty-image {
    order: 1;
}

.specialty-content {
    display: flex;
    flex-direction: column;
}

.specialty-icon {
    font-size: var(--text-3xl);
    margin-bottom: 1rem;
}

.specialty-title {
    font-size: var(--text-2xl);
    font-family: var(--font-heading);
    color: var(--color-brown);
    margin-bottom: 0.5rem;
}

.specialty-subtitle {
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-gold);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.specialty-text {
    font-size: var(--text-base);
    color: rgba(62, 39, 35, 0.8);
    line-height: 1.8;
}

.specialty-image {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(62, 39, 35, 0.1);
}

.specialty-image img {
    width: 100%;
    height: 120%; /* for parallax */
    object-fit: cover;
    object-position: center;
}

/* ==========================================================================
   Differentials Section (Sticky Panels)
   ========================================================================== */
.differentials-stack {
    position: relative;
    /* Important: We do NOT use overflow hidden here, otherwise sticky fails */
}

.diff-panel {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.4); /* Shadow to drop on previous panel */
}

/* Backgrounds Removed - Using themes below */
.diff-panel-dark {
    background-color: var(--color-brown-dark);
}
.diff-panel-dark .diff-panel-title {
    color: var(--color-creme);
}
.diff-panel-dark .diff-panel-text {
    color: rgba(253, 251, 247, 0.85);
}

.diff-panel-medium {
    background-color: var(--color-brown);
}
.diff-panel-medium .diff-panel-title {
    color: var(--color-creme);
}
.diff-panel-medium .diff-panel-text {
    color: rgba(253, 251, 247, 0.85);
}

.diff-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.diff-panel-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.tech-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(62, 39, 35, 0.1);
}

.diff-panel-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 2rem 0;
}

.diff-panel-tag {
    display: block;
    font-size: var(--text-base);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
}

.lsvt-logo-panel {
    max-width: 180px;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
    background-color: rgba(253, 251, 247, 0.95); /* var(--color-creme) */
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.diff-panel-title {
    font-size: var(--text-3xl);
    font-family: var(--font-heading);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.diff-panel-text {
    font-size: var(--text-base);
    line-height: 1.8;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

/* ==========================================================================
   About Section (Timeline)
   ========================================================================== */
.about {
    padding: 8rem 0;
    background-color: var(--color-white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--color-gold-light);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--color-gold);
    border: 4px solid var(--color-white);
    box-shadow: 0 0 0 4px var(--color-gold-light);
    z-index: 2;
}

.timeline-content {
    width: 80%;
    padding: 0 2rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-subtitle {
    display: block;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-brown);
    margin-bottom: 0.3rem;
    opacity: 0.7;
}

.timeline-date {
    font-size: var(--text-xl);
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Bio Section
   ========================================================================== */
.bio {
    padding: 8rem 0;
    background-color: var(--color-creme);
}

.bio-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.bio-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 600px;
    box-shadow: 0 20px 40px rgba(62, 39, 35, 0.1);
}

.bio-image img {
    width: 100%;
    height: 120%; /* for parallax */
    object-fit: cover;
    object-position: center;
}

.bio-text {
    font-size: var(--text-base);
    line-height: 1.8;
    color: rgba(62, 39, 35, 0.85);
}

/* ==========================================================================
   Clinic Intro Section
   ========================================================================== */
.clinic-intro {
    padding: 8rem 0;
    background-color: var(--color-creme);
}

.clinic-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.clinic-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 500px;
}

.clinic-image img {
    width: 100%;
    height: 120%; /* for parallax */
    object-fit: cover;
}

.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: var(--text-base);
    color: rgba(62, 39, 35, 0.85);
}

.custom-list li i {
    color: var(--color-gold);
    font-size: var(--text-lg);
}

.affetiva-section {
    padding: 8rem 0;
    background-color: #FEFEFE;
}

.affetiva-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.affetiva-card {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(62, 39, 35, 0.08);
}

/* ==========================================================================
   Palestras Section
   ========================================================================== */
.palestras {
    padding: 8rem 0;
    background-color: var(--color-creme);
}

/* ==========================================================================
   Na Midia Section
   ========================================================================== */
.midia {
    padding: 8rem 0;
    background-color: var(--color-white);
}

.midia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.midia-card {
    background-color: var(--color-creme);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(62, 39, 35, 0.05);
    transition: transform 0.3s ease;
}

.midia-card:hover {
    transform: translateY(-10px);
}

.midia-icon {
    font-size: var(--text-4xl);
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.midia-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-brown);
    margin-bottom: 0.5rem;
}

.midia-subtitle {
    display: block;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.midia-text {
    font-size: var(--text-base);
    line-height: 1.7;
    color: rgba(62, 39, 35, 0.8);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    padding: 8rem 0;
    background-color: var(--color-brown);
    color: var(--color-creme);
}

.contact .section-title,
.contact .section-tag {
    color: var(--color-creme);
}

.contact .section-tag {
    color: var(--color-gold);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.contact-desc {
    font-size: var(--text-base);
    margin-bottom: 3rem;
    opacity: 0.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-item i {
    font-size: var(--text-xl);
    color: var(--color-gold);
    margin-top: 0.2rem;
}

.contact-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 400;
    margin-bottom: 0.3rem;
}

.contact-item span {
    font-size: var(--text-sm);
    opacity: 0.7;
}

.contact-map {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 500px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    filter: contrast(0.8) sepia(0.3); /* Subtle tint to match the aesthetic */
    pointer-events: none; /* Previne que o mapa "roube" o scroll do mouse e cause engasgos */
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #2D1C19;
    color: var(--color-creme);
    padding: 4rem 0 8rem; /* Increased bottom padding to accommodate floating bar */
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand .crfa {
    font-size: var(--text-xs);
    opacity: 0.6;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: var(--text-sm);
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-gold);
    opacity: 1;
}

.footer-copy {
    margin-top: 2rem;
    font-size: var(--text-xs);
    opacity: 0.5;
    border-top: 1px solid rgba(253, 251, 247, 0.1);
    padding-top: 2rem;
    width: 100%;
}

/* ==========================================================================
   Floating Contact Bar
   ========================================================================== */
.floating-bar-wrapper {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    z-index: 90;
    transition: var(--transition-smooth);
}

.floating-bar-wrapper.visible {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.floating-bar {
    display: flex;
    align-items: center;
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50px;
    padding: 0.4rem;
    padding-left: 1.5rem;
    box-shadow: 0 10px 40px rgba(62, 39, 35, 0.1);
    transition: var(--transition-smooth);
}

.floating-bar:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(62, 39, 35, 0.15);
    border-color: rgba(197, 160, 89, 0.6);
}

.floating-bar-logo {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
}

.floating-bar-logo img {
    height: 30px;
    width: auto;
}

.floating-bar-btn {
    background: linear-gradient(135deg, #d4af37, #C5A059);
    color: var(--color-brown);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    white-space: nowrap;
}



/* Classes Utilitárias Adicionais (Extraídas de estilos inline do HTML) */
.tech-title {
    font-size: var(--text-2xl);
    margin-bottom: 1.5rem;
}

.affetiva-tagline {
    font-size: var(--text-lg);
    font-family: var(--font-heading);
    color: var(--color-gold);
    border-left: 3px solid var(--color-gold);
    padding-left: 1.5rem;
}

.affetiva-note {
    font-size: var(--text-sm);
    opacity: 0.9;
}

/* ==========================================================================
   Galeria / Carrossel de Fotos
   ========================================================================== */
.galeria {
    padding: 6rem 0;
    background-color: var(--color-creme);
    overflow: hidden;
}

.galeria-carousel {
    margin-top: 3rem;
    padding: 0 0 2rem 0;
}

.galeria-swiper {
    width: 100%;
    padding-bottom: 1rem;
}

.galeria-swiper .swiper-slide {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.5;
}

.galeria-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1.03);
}

.galeria-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Navegação */
.galeria-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.galeria-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    background: transparent;
    color: var(--color-gold);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.galeria-btn:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

.galeria-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--color-brown);
    opacity: 0.25;
    transition: all 0.3s ease;
}

.galeria-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--color-gold);
    width: 28px;
    border-radius: 5px;
}

/* ==========================================================================
   RESPONSIVE DESIGN — Mobile First
   ========================================================================== */

/* ------------------------------------------------------------------
   ≤ 1024px — Tablets & Small Laptops
   ------------------------------------------------------------------ */
@media (max-width: 1024px) {
    /* Typography Scale Down */
    :root {
        --text-3xl: 2.4rem;
        --text-4xl: 3rem;
        --text-5xl: 3.5rem;
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    /* Grids: 2-column layouts get tighter gaps */
    .specialty-row,
    .bio-wrapper,
    .clinic-wrapper,
    .contact-wrapper,
    .affetiva-grid {
        gap: 3rem;
    }

    .diff-panel-grid {
        gap: 2.5rem;
    }

    /* Sections padding */
    .specialties,
    .about,
    .bio,
    .clinic-intro,
    .affetiva-section,
    .palestras,
    .midia,
    .galeria {
        padding: 6rem 0;
    }
}

/* ------------------------------------------------------------------
   ≤ 768px — Mobile Landscape & Small Tablets
   ------------------------------------------------------------------ */
@media (max-width: 768px) {

    /* --- Typography --- */
    :root {
        --text-2xl: 1.8rem;
        --text-3xl: 2rem;
        --text-4xl: 2.4rem;
        --text-5xl: 2.8rem;
    }

    .section-title {
        font-size: var(--text-2xl);
        margin-bottom: 1.5rem;
    }

    .section-subtitle {
        font-size: var(--text-base);
    }

    /* --- Hide Custom Cursor on Touch --- */
    .cursor, .cursor-follower {
        display: none !important;
    }
    body {
        cursor: auto;
    }

    /* --- Header & Nav --- */
    .header .btn {
        display: none;
    }

    .nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-creme);
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform var(--transition-smooth);
        z-index: 98;
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav-link {
        font-size: var(--text-xl);
        color: var(--color-brown) !important;
    }

    .menu-toggle {
        display: block;
        z-index: 100;
        position: relative;
    }

    /* --- Hero --- */
    .hero {
        min-height: 100svh;
    }

    .hero-title {
        font-size: var(--text-2xl);
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: var(--text-base);
        margin-bottom: 2rem;
    }

    .hero-content {
        padding-top: 6rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    /* --- Sections general padding --- */
    .specialties,
    .about,
    .bio,
    .clinic-intro,
    .affetiva-section,
    .palestras,
    .midia,
    .galeria {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* --- Specialty Showcase --- */
    .specialty-showcase {
        gap: 4rem;
        margin-top: 2rem;
    }

    .specialty-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .specialty-row.reverse .specialty-content,
    .specialty-row.reverse .specialty-image {
        order: unset;
    }

    .specialty-image {
        height: 300px;
        border-radius: 12px;
    }

    .specialty-title {
        font-size: var(--text-xl);
    }

    /* --- Differentials (Sticky Panels) --- */
    .diff-panel {
        position: relative; /* Disable sticky on mobile */
        height: auto;
        min-height: auto;
        padding: 4rem 0;
    }

    .diff-panel-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .diff-panel-image {
        order: -1; /* Image on top on mobile */
        border-radius: 12px;
        max-height: 300px;
    }

    .diff-panel-image img {
        max-height: 300px;
    }

    .diff-panel-content {
        margin-top: 0;
        padding: 0;
    }

    .diff-panel-title {
        font-size: var(--text-xl);
        margin-bottom: 1rem;
    }

    .diff-panel-tag {
        font-size: var(--text-sm);
        letter-spacing: 2px;
        margin-bottom: 1rem;
    }

    .lsvt-logo-panel {
        max-width: 140px;
        padding: 8px 14px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tech-img {
        height: 200px;
    }

    .tech-title {
        font-size: var(--text-xl);
    }

    /* --- Timeline --- */
    .timeline {
        margin-top: 2rem;
    }

    .timeline-line {
        left: 0;
    }

    .timeline-item {
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 2rem;
        margin-bottom: 2.5rem;
    }

    .timeline-item:nth-child(even) {
        padding-left: 2rem;
    }

    .timeline-dot {
        left: 0;
        transform: translateX(-50%);
        width: 12px;
        height: 12px;
    }

    .timeline-content {
        width: 100%;
        padding: 0;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        text-align: left;
    }

    .timeline-date {
        font-size: var(--text-lg);
    }

    /* --- Bio --- */
    .bio-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bio-image {
        height: 350px;
    }

    /* --- Clinic --- */
    .clinic-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .clinic-image {
        height: 300px;
    }

    /* --- Affetiva --- */
    .affetiva-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .affetiva-card {
        padding: 2rem;
    }

    /* --- Palestras --- */
    .palestras .clinic-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .palestras .clinic-image {
        height: 280px;
    }

    /* --- Na Mídia --- */
    .midia-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .midia-card {
        padding: 2rem 1.5rem;
    }

    .midia-card:hover {
        transform: none; /* Disable hover lift on touch */
    }

    /* --- Galeria --- */
    .galeria-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .galeria-nav {
        gap: 1rem;
    }

    /* --- Contact --- */
    .contact {
        padding: 4rem 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-map {
        height: 300px;
    }

    /* --- Footer --- */
    .footer {
        padding: 3rem 0 7rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .footer-logo {
        height: 45px;
    }

    /* --- Floating Bar --- */
    .floating-bar-wrapper {
        bottom: 1rem;
        width: 92%;
        max-width: 400px;
    }

    .floating-bar {
        padding-left: 1rem;
        justify-content: space-between;
    }

    .floating-bar-logo img {
        height: 22px;
    }

    .floating-bar-btn {
        padding: 0.7rem 1rem;
        font-size: var(--text-xs);
    }

    /* --- Buttons --- */
    .btn {
        padding: 0.85rem 1.5rem;
        font-size: var(--text-xs);
        width: 100%;
        justify-content: center;
    }
}

/* ------------------------------------------------------------------
   ≤ 480px — Small Mobile Phones
   ------------------------------------------------------------------ */
@media (max-width: 480px) {
    :root {
        --text-2xl: 1.5rem;
        --text-3xl: 1.7rem;
        --text-xl: 1.3rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: var(--text-sm);
    }

    .hero-content {
        padding-top: 5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .specialty-image {
        height: 220px;
    }

    .bio-image {
        height: 280px;
    }

    .clinic-image {
        height: 250px;
    }

    .contact-map {
        height: 250px;
    }

    .diff-panel {
        padding: 3rem 0;
    }

    .tech-img {
        height: 180px;
    }

    .affetiva-card {
        padding: 1.5rem;
    }

    .floating-bar-logo {
        display: none; /* Hide logo on very small screens to save space */
    }

    .floating-bar {
        justify-content: center;
        padding: 0.3rem;
    }

    .floating-bar-btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.2rem;
    }
}
