/* 
 * AURA DENTAL STUDIO - PREMIUM BRANDING SYSTEM
 * Emerald Deep Forest & Champagne Gold Palette, Ambient Occlusion Shadows, Editorial Typography
 */

:root {
    /* Color Palette */
    --bg-page: #fafaf9;          /* Alabaster Warm Off-white */
    --bg-surface: #ffffff;       /* Pure White */
    --bg-card: #ffffff;
    --bg-card-dark: #051a11;     /* Rich Dark Emerald (More premium dark) */
    
    --text-main: #0d2319;        /* Deepest Emerald Forest Slate for high contrast */
    --text-muted: #3a4d43;       /* Darkened for readability */
    --text-light: #6a8274;       /* Balanced secondary muted text */
    
    --accent: #0b462a;           /* Deep Forest Emerald */
    --accent-hover: #062b1a;
    --gold: #b5893d;             /* Refined Champagne/Brushed Gold (less yellow) */
    --gold-hover: #9c7330;
    --gold-glow: rgba(181, 137, 61, 0.12);
    
    --accent-subtle: rgba(11, 70, 42, 0.04);
    --accent-glow: rgba(11, 70, 42, 0.08);
    
    --border: rgba(11, 70, 42, 0.08);
    --border-dark: rgba(255, 255, 255, 0.06);
    
    /* Strict Radius Scale */
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --radius-full: 9999px;
    
    /* Strict Spacing Scale (8px Grid) */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 48px;
    --space-6: 64px;
    --space-8: 96px;
    --space-10: 128px;
    --space-12: 160px;
    
    /* Ambient Occlusion Premium Shadows */
    --shadow-soft: 0 10px 30px -10px rgba(11, 70, 42, 0.04), 0 1px 3px rgba(11, 70, 42, 0.02);
    --shadow-premium: 0 30px 60px -15px rgba(11, 70, 42, 0.08), 0 10px 30px -10px rgba(11, 70, 42, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    --shadow-dark: 0 30px 60px -15px rgba(0, 0, 0, 0.5), 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Global Resets & Structure
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    background-color: var(--bg-page);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-page);
    line-height: 1.6;
    overflow-x: hidden;
}

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

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: transparent;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.section {
    padding: var(--space-10) 0;
    position: relative;
    z-index: 10;
}

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

.section-dark {
    background-color: var(--bg-card-dark);
    color: #ffffff;
}

.section-top {
    max-width: 650px;
    margin: 0 auto var(--space-6) auto;
}

.section-top h2 {
    font-family: 'Lora', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: var(--space-3);
    color: inherit;
}

.section-top p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.section-dark .section-top p {
    color: #a3b8ad;
}

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

/* Focus Ring for WCAG AAA */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 6px;
}

/* ==========================================================================
   Overlay Grid and Glow Orbs
   ========================================================================== */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(11, 70, 42, 0.004) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 70, 42, 0.004) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.emerald-glow-primary {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(11, 70, 42, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
}

.gold-glow-secondary {
    position: absolute;
    bottom: 15%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(181, 137, 61, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
}

/* ==========================================================================
   Badges
   ========================================================================== */
.tag-badge {
    display: inline-block;
    background-color: var(--accent-subtle);
    border: 1px solid rgba(11, 70, 42, 0.12);
    color: var(--accent);
    border-radius: var(--radius-full);
    padding: 6px 18px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-3);
    text-transform: uppercase;
}

.bento-tag {
    display: inline-block;
    background-color: var(--accent-subtle);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: var(--radius-full);
    padding: 4px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: var(--space-2);
    text-transform: uppercase;
}

.section-dark .bento-tag {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    gap: var(--space-1);
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(11, 70, 42, 0.15);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 30%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0.15) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    transition: none;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 70, 42, 0.25);
}

.btn-primary:hover::after {
    animation: shimmerSweep 1.2s cubic-bezier(0.15, 0.85, 0.35, 1) forwards;
}

.btn-secondary {
    background-color: var(--bg-page);
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: #f0f4f2;
    border-color: rgba(11, 70, 42, 0.2);
    transform: translateY(-1.5px);
}

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

.btn-wide {
    padding: 16px 40px;
    font-size: 1rem;
}

@keyframes shimmerSweep {
    0% { left: -60%; }
    100% { left: 140%; }
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: var(--space-3);
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1100px;
    z-index: 9999;
    background-color: rgba(250, 250, 249, 0.96);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.header.sticky {
    top: var(--space-2);
    background-color: rgba(250, 250, 249, 0.98);
    border-color: rgba(11, 70, 42, 0.12);
    box-shadow: 0 10px 30px rgba(11, 70, 42, 0.08);
}

.header-backdrop {
    display: none; /* Removido o degradê branco que causava corte artificial no topo */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    padding: 0 var(--space-5);
    transition: var(--transition);
}

.header.sticky .header-inner {
    height: 60px;
}

.brand-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--accent);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav {
    display: flex;
    gap: var(--space-4);
}

.nav-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-item:hover {
    color: var(--accent);
}

.nav-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-right {
    display: flex;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    color: var(--text-main);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 160px 0 var(--space-10) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-6);
    align-items: center;
}

.hero-info h1 {
    font-family: 'Lora', serif;
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -1px;
    color: var(--text-main);
    margin-bottom: var(--space-3);
}

.hero-info p {
    color: var(--text-muted);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.6;
    margin-bottom: var(--space-5);
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: var(--space-2);
}

/* Visual Grid (Bespoke Luxury Tiles) */
.hero-visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 170px 170px 96px;
    gap: var(--space-3);
}

.grid-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

/* 1. Doctor Main Card v3 */
.doctor-card-v3 {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    background-color: #f0f7f4;
    border: 1px solid rgba(11, 70, 42, 0.1);
    position: relative;
    overflow: visible; /* CRITICAL: Permite o transbordo para profundidade */
    z-index: 20;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: var(--space-4);
    box-shadow: var(--shadow-premium);
    height: 100%;
}

.overlay-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    background-color: #ffffff;
    border: 1px solid rgba(11, 70, 42, 0.08);
    border-radius: var(--radius-full);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-soft);
}

.doc-info-bar {
    position: absolute;
    bottom: var(--space-4);
    right: -90px; /* Flutua livremente no lado direito da foto (screen right) */
    left: auto;
    background: rgba(250, 250, 249, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    padding: var(--space-3) var(--space-4); /* Espaçamento interno */
    box-shadow: 0 15px 35px rgba(11, 70, 42, 0.05); /* Sombra ambiental leve */
    z-index: 30;
    width: 260px;
    transition: var(--transition);
}

.doctor-card-v3:hover .doc-info-bar {
    transform: translateY(-4px);
    border-color: rgba(181, 137, 61, 0.2); /* Destaque dourado sutil no hover */
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold);
}

.doc-info-bar h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
    margin-top: var(--space-1);
}

.doc-info-bar p {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.doctor-img-wrap-v3 {
    position: absolute;
    bottom: 0;
    right: 0; /* Alinhado à linha da direita do quadrante */
    width: 100%;  /* Ocupa a largura exata do quadrante */
    height: 112%; /* Um pouco menor, apenas saindo de leve no topo */
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
    overflow: visible;
}

.doctor-photo-v3 {
    width: auto;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(-8px 8px 16px rgba(11, 70, 42, 0.15)); /* Sombra de profundidade sutil */
    transform: translateY(0); /* Alinhado diretamente com a linha inferior do quadrante */
    transition: var(--transition);
}

.doctor-card-v3:hover .doctor-photo-v3 {
    transform: translateY(-8px) scale(1.02);
}

/* 2. Action Badge Card */
.action-badge-item {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    background-color: var(--accent);
    color: #ffffff;
    justify-content: center;
    border: none;
    box-shadow: 0 10px 30px rgba(11, 70, 42, 0.18);
    cursor: pointer;
}

.action-badge-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(11, 70, 42, 0.28);
}

.badge-content {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.badge-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
}

.badge-icon {
    width: 18px;
    height: 18px;
}

.badge-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.badge-content p {
    font-size: 0.75rem;
    opacity: 0.85;
    font-weight: 500;
}

/* 3. Technology Card */
.technology-card {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    justify-content: space-between;
}

.tech-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--gold);
}

.technology-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 2px;
}

.tech-screen-mockup {
    height: 64px;
    background-color: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    margin-top: var(--space-1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(11, 70, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 70, 42, 0.04) 1px, transparent 1px);
    background-size: 10px 10px;
}

.tooth-wireframe {
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 2;
    animation: rotateSlow 12s linear infinite;
}

@keyframes rotateSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 4. Mini Team Badge Card */
.team-mini-card {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
    flex-direction: row;
    align-items: center;
    gap: var(--space-3);
}

.team-avatars {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f4f2;
    border: 2px solid var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent);
    margin-right: -10px;
}

.avatar.av-1 { background-color: #e6f0eb; }
.avatar.av-2 { background-color: #d2e4dc; }
.avatar.av-3 { background-color: rgba(181, 137, 61, 0.15); color: var(--gold); }

.team-text h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.team-text p {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ==========================================================================
   Bento Features / Diferenciais Section
   ========================================================================== */
.bento-features-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: var(--space-4);
    align-items: center;
    margin-top: var(--space-6);
}

.bento-col-side {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.bento-feature-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.bento-feature-card:hover {
    border-color: rgba(11, 70, 42, 0.15);
    transform: translateY(-3px);
    box-shadow: var(--shadow-premium);
}

.feat-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--accent-subtle);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
}

.feat-icon {
    width: 20px;
    height: 20px;
}

.bento-feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.bento-feature-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.6;
}

/* Center Column Golden Ratio Concept */
.bento-col-center {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

.tooth-visual-container {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radial-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 70, 42, 0.08) 0%, transparent 70%);
    animation: pulseGlow 5s ease-in-out infinite;
}

.golden-ratio-diagram {
    position: relative;
    z-index: 2;
    animation: floatTooth 7s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diagram-svg {
    width: 180px;
    height: 180px;
}

.ratio-spiral {
    stroke-dasharray: 600;
    stroke-dashoffset: 0;
    animation: drawSpiral 6s ease-in-out infinite alternate;
}

.pulse-ring {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 1px solid rgba(181, 137, 61, 0.15);
    animation: ringExpand 5s linear infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

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

@keyframes ringExpand {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

@keyframes drawSpiral {
    0% { stroke-dashoffset: 600; }
    100% { stroke-dashoffset: 0; }
}

.bento-footer-cta {
    text-align: center;
    margin-top: var(--space-6);
}

/* ==========================================================================
   Services Section (Bento Services)
   ========================================================================== */
.services-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.service-card {
    background-color: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-4);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(181, 137, 61, 0.04) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(181, 137, 61, 0.25);
    background-color: rgba(255, 255, 255, 0.03);
    transform: translateY(-4px);
    box-shadow: var(--shadow-dark);
}

.service-card:hover::before {
    opacity: 1;
}

.service-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.04);
    transition: var(--transition);
    line-height: 1;
    font-style: italic;
}

.service-card:hover .service-num {
    color: var(--gold);
    font-weight: 500;
}

.service-content-wrap {
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.service-content-wrap h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: #ffffff;
}

.service-content-wrap p {
    color: #a3b8ad;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.service-card:hover .service-arrow {
    background-color: var(--gold);
    border-color: var(--gold);
    color: #ffffff;
    transform: translateX(4px);
}

/* ==========================================================================
   Doctors & Team Section
   ========================================================================== */
#doctors {
    padding: var(--space-10) 0;
    position: relative;
    z-index: 10;
    background-color: var(--bg-page);
}

.doctors-section-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-5);
    align-items: flex-end;
    position: relative;
    z-index: 5;
}

.doctors-section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.doctors-section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.team-banner-v3 {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    height: 380px;
    position: relative;
    overflow: visible; /* Permite que a foto saia do quadrante superior */
    display: flex;
    align-items: flex-end;
    padding: var(--space-5);
    box-shadow: var(--shadow-premium);
    margin-bottom: var(--space-8);
    margin-top: 130px; /* Aumentado para dar espaço ao maior transbordo da foto */
    z-index: 15;
}

.team-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5, 26, 17, 0.7) 0%, transparent 45%); /* Gradiente reduzido em altura e opacidade */
    z-index: 2;
}

.team-banner-info {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 500px;
}

.team-banner-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: var(--space-1);
}

.team-banner-info p {
    font-size: 0.95rem;
    opacity: 0.85;
}

.team-img-wrap-v3 {
    position: absolute;
    top: -90px; /* Deslocado mais para cima para mostrar mais o corpo dos médicos */
    left: 0;
    width: 100%;
    height: calc(100% + 90px); /* Ajustado proporcionalmente ao deslocamento */
    z-index: 1;
    overflow: visible; /* Permite visualização do overflow */
}

.team-photo-v3 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Evita que a cabeça dos médicos seja cortada pelo object-fit: cover */
    opacity: 1; /* Removida a opacidade reduzida */
    filter: brightness(1) drop-shadow(0 -10px 20px rgba(0, 0, 0, 0.15)); /* Brilho em 100% e sombra sutil */
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Individual Doctor Cards */
.doctors-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-top: 60px; /* Dá espaço para os avatares flutuarem para fora */
}

.doctor-profile-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 64px var(--space-4) var(--space-4) var(--space-4); /* Padding superior aumentado para o conteúdo não colidir com o avatar */
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
}

.doctor-profile-card:hover {
    border-color: rgba(11, 70, 42, 0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
}

.doc-card-header {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-2);
}

.doc-badge {
    background-color: var(--accent-subtle);
    color: var(--accent);
    border-radius: var(--radius-full);
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 600;
}

.doc-avatar-wrap {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(11, 70, 42, 0.12);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: absolute;
    top: -48px; /* Flutua 50% fora do limite do card */
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.doc-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Padrão centralizado para fotos já enquadradas */
}

.doctor-profile-card:hover .doc-avatar-wrap {
    border-color: var(--accent);
    transform: translateX(-50%) scale(1.08);
    box-shadow: var(--shadow-premium);
}

.doc-avatar-placeholder {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background-color: #f0f4f2;
    border: 3px solid rgba(11, 70, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
    position: absolute;
    top: -48px; /* Flutua 50% fora do limite do card */
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    box-shadow: var(--shadow-soft);
}

.doctor-profile-card:hover .doc-avatar-placeholder {
    background-color: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    transform: translateX(-50%) scale(1.08);
    box-shadow: var(--shadow-premium);
}

.doc-card-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: var(--space-1);
}

.doc-card-body .specialty {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: var(--space-3);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
#testimonials {
    background-color: var(--bg-surface);
    padding: var(--space-10) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-5);
}

.testimonial-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-3);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(11, 70, 42, 0.12);
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
}

.testimonial-rating {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: bold;
}

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

.testimonial-card .client-author {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    border-top: 1px solid rgba(11, 70, 42, 0.05);
    padding-top: var(--space-2);
}

.testimonial-card .author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--accent-subtle);
    border: 1px solid rgba(11, 70, 42, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.testimonial-card .author-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.testimonial-card .author-info p {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ==========================================================================
   Appointment Form Section
   ========================================================================== */
.booking-panel-wrapper {
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: var(--shadow-premium);
}

.booking-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-6);
}

.booking-info-panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding-right: var(--space-4);
    border-right: 1px solid rgba(11, 70, 42, 0.08);
}

.concierge-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    background-color: var(--accent-subtle);
    border: 1px solid rgba(11, 70, 42, 0.1);
    border-radius: var(--radius-full);
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
}

.booking-info-panel h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
}

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.benefit-list li {
    display: flex;
    gap: var(--space-2);
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.benefit-icon {
    color: var(--gold);
    font-weight: bold;
}

.support-card {
    background-color: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: var(--space-3);
    margin-top: auto;
}

.support-card p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: var(--space-1);
}

.support-phone {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.support-phone:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.booking-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    margin-bottom: var(--space-1);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: var(--space-3);
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.form-control {
    width: 100%;
    height: 56px;
    background-color: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0 16px;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
}

textarea.form-control {
    height: 110px;
    padding-top: 14px;
    resize: none;
}

.form-control:focus {
    border-color: var(--accent);
    background-color: #ffffff;
    box-shadow: 0 0 12px rgba(11, 70, 42, 0.08);
}

.btn-block {
    width: 100%;
    height: 56px;
    margin-top: var(--space-1);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.form-success {
    display: none;
    margin-top: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-sm);
    background-color: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #166534;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-6);
    align-items: flex-start;
}

.faq-intro {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.faq-intro h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.faq-intro p {
    color: #a3b8ad;
    font-size: 1.05rem;
    line-height: 1.6;
}

.faq-cta-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    margin-top: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.faq-cta-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.faq-cta-card p {
    font-size: 0.88rem;
    color: #a3b8ad;
    line-height: 1.5;
}

.faq-cta-card .btn {
    align-self: flex-start;
    margin-top: var(--space-1);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: rgba(181, 137, 61, 0.25);
    background-color: rgba(255, 255, 255, 0.03);
}

.faq-trigger {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
}

.faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    background-color: var(--gold);
    color: #ffffff;
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content p {
    padding: 0 var(--space-4) var(--space-4) var(--space-4);
    color: #a3b8ad;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border);
    padding: var(--space-6) 0 var(--space-3) 0;
    background-color: #04150e; /* Deep dark emerald anchor background */
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-brand-col .footer-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: #ffffff;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #a3b8ad;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-1);
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a3b8ad;
}

.footer-socials a:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-links-col h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-col ul a {
    font-size: 0.9rem;
    color: #a3b8ad;
}

.footer-links-col ul a:hover {
    color: var(--gold);
    padding-left: 2px;
}

.footer-contact-info {
    font-size: 0.9rem;
    color: #a3b8ad;
    line-height: 1.6;
}

.footer-phone a {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.05rem;
}

.footer-phone a:hover {
    color: var(--gold);
}

/* Giant typographic branding */
.footer-giant-text {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3.5rem, 15vw, 11rem);
    font-weight: 800;
    text-align: center;
    color: rgba(255, 255, 255, 0.02);
    margin-top: var(--space-4);
    line-height: 0.8;
    letter-spacing: 0.1em;
    pointer-events: none;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: var(--space-2);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #6a8274;
    padding-top: var(--space-3);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-3);
}

.lucas-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #6a8274;
    text-decoration: none; /* Remove qualquer sublinhado padrão de link */
    transition: var(--transition);
}

.lucas-signature:hover {
    color: var(--gold);
}

.lucas-logo {
    height: 18px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(0.8); /* Mistura o logo suavemente com a cor do texto do rodapé */
    transition: var(--transition);
}

.lucas-signature:hover .lucas-logo {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(10deg); /* Destaca em dourado/branco brilhante no hover */
    transform: scale(1.05);
}

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

/* ==========================================================================
   Premium Scroll Reveal Animation
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Default vertical slide up */
.scroll-reveal.reveal-up {
    transform: translateY(50px);
}

/* Slide from left */
.scroll-reveal.reveal-left {
    transform: translateX(-50px);
}

/* Slide from right */
.scroll-reveal.reveal-right {
    transform: translateX(50px);
}

/* Elegant zoom / scale */
.scroll-reveal.reveal-scale {
    transform: scale(0.94) translateY(20px);
}

/* Active animation triggers */
.scroll-reveal.reveal-up.active,
.scroll-reveal.reveal-left.active,
.scroll-reveal.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

.scroll-reveal.reveal-scale.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Fallback para elementos que possuem apenas a classe scroll-reveal */
.scroll-reveal:not(.reveal-left):not(.reveal-right):not(.reveal-scale):not(.reveal-up) {
    transform: translateY(40px);
}
.scroll-reveal:not(.reveal-left):not(.reveal-right):not(.reveal-scale):not(.reveal-up).active {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   Responsividade Mobile (Media Queries)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
    
    .hero-info {
        text-align: center;
    }
    
    .hero-info p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .doc-info-bar {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        width: 100%;
        margin-top: var(--space-3);
        box-shadow: none;
        border: none;
        padding: 0;
        background-color: transparent;
        text-align: center;
    }
    
    .bento-features-layout {
        grid-template-columns: 1fr;
    }
    
    .bento-col-center {
        order: -1;
        height: 300px;
    }
    
    .services-bento-grid {
        grid-template-columns: 1fr;
    }
    
    .doctors-section-header {
        grid-template-columns: 1fr;
        gap: var(--space-2);
        text-align: center;
    }
    
    .doctors-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .booking-info-panel {
        border-right: none;
        border-bottom: 1px solid rgba(11, 70, 42, 0.08);
        padding-right: 0;
        padding-bottom: var(--space-4);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 var(--space-3);
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-info h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    /* Desligar orbs de glow no mobile — invisíveis e custam CPU */
    .emerald-glow-primary,
    .gold-glow-secondary {
        display: none;
    }

    /* Grid overlay desligado no mobile — muito fino para ser visto */
    .grid-overlay {
        display: none;
    }

    /* Hero actions em coluna */
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Hero Visual Grid & Card do Dr. Alexandre no Mobile */
    .hero-visual-grid {
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        height: auto;
    }
    
    .doctor-card-v3 {
        grid-column: auto;
        grid-row: auto;
        min-height: 380px;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: var(--space-4);
        background: linear-gradient(180deg, #f0f7f4 0%, #e2efe9 100%);
    }

    .doc-info-bar {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        top: auto;
        width: 100%;
        margin-top: 0;
        margin-bottom: var(--space-2);
        box-shadow: 0 10px 25px rgba(11, 70, 42, 0.08);
        border: 1px solid rgba(11, 70, 42, 0.1);
        padding: var(--space-3);
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: var(--radius-md);
        text-align: left;
    }

    .doctor-img-wrap-v3 {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        height: 240px;
        top: 0;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        margin-top: 0;
    }

    .doctor-photo-v3 {
        height: 100%;
        max-height: 240px;
        width: auto;
        object-fit: contain;
    }

    /* Cards individuais dos Médicos na Seção Specialists */
    .doctors-cards-grid {
        grid-template-columns: 1fr;
        gap: 56px;
        margin-top: 60px;
    }

    .doctor-profile-card {
        padding: 56px var(--space-4) var(--space-4) var(--space-4);
    }
    
    .doc-card-body h3 {
        font-size: 1.25rem;
        margin-top: 6px;
        margin-bottom: 4px;
    }

    .doc-card-body .specialty {
        font-size: 0.88rem;
        line-height: 1.4;
        color: var(--text-muted);
        margin-bottom: 16px;
    }

    /* Banner dos 3 Doutores (sem cortes laterais no mobile) */
    .team-banner-v3 {
        height: auto;
        min-height: 380px;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        padding: var(--space-4);
        margin-top: 40px;
        margin-bottom: 40px;
        background: #04150e;
        border-radius: var(--radius-lg);
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .team-banner-overlay {
        background: linear-gradient(to bottom, rgba(4, 21, 14, 0.3) 0%, rgba(4, 21, 14, 0.85) 100%);
    }

    .team-banner-info {
        position: relative;
        z-index: 5;
        text-align: center;
        margin-bottom: var(--space-3);
    }

    .team-banner-info h3 {
        font-size: 1.35rem;
    }

    .team-banner-info p {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .team-img-wrap-v3 {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 200px;
        z-index: 2;
        overflow: hidden;
        border-radius: var(--radius-md);
    }

    .team-photo-v3 {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center bottom;
        border-radius: var(--radius-md);
    }
    
    .booking-panel-wrapper {
        padding: var(--space-3) var(--space-2);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand-col {
        align-items: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }
}

.scroll-reveal {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Accessibility: Respeitar preferência do usuário por menos movimento */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .btn-primary::after {
        animation: none !important;
    }
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (HIGH CONVERSION) & MOBILE FIXES
   ========================================================================== */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

.whatsapp-float-fixed {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
}

.whatsapp-float-fixed:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.wa-status-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #0f172a;
    border: 1px solid #25d366;
    color: #25d366;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
