/* ==========================================================================
   Dr. Guilherme Marques L'Apiccirella - System Design & Styling
   Medical Premium Visual Identity | Pure CSS3 + Bootstrap 5 Integration
   ========================================================================== */

/* --- Google Fonts & Core Tokens --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Palette: Premium Medical Trust */
    --color-navy-dark: #0B192C;
    --color-navy: #1E3E62;
    --color-teal: #0284C7;
    --color-teal-dark: #0369A1;
    --color-cyan: #06B6D4;
    --color-accent-light: #E0F2FE;
    --color-accent-subtle: #F0F9FF;

    --color-surface: #FFFFFF;
    --color-bg-alt: #F8FAFC;
    --color-bg-subtle: #F1F5F9;

    --color-text-main: #0F172A;
    --color-text-muted: #475569;
    --color-text-light: #94A3B8;

    --color-border: #E2E8F0;
    --color-border-light: #F1F5F9;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 9999px;

    --shadow-sm: 0 2px 8px rgba(11, 25, 44, 0.04);
    --shadow-md: 0 10px 30px rgba(11, 25, 44, 0.08);
    --shadow-lg: 0 20px 40px rgba(11, 25, 44, 0.12);
    --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.25);

    --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Base Rules --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-navy-dark);
    letter-spacing: -0.02em;
}

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

a:hover {
    color: var(--color-teal-dark);
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* --- Header & Navigation --- */
.navbar-custom {
    padding: 1.2rem 0;
    transition: all 0.35s ease-in-out;
    background: transparent;
    z-index: 1050;
}

.navbar-custom.scrolled {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--color-border);
}

.navbar-custom .navbar-brand img {
    height: 48px;
    width: auto;
    transition: var(--transition-fast);
}

.navbar-custom .nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: #FFFFFF;
    margin: 0 0.25rem;
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.navbar-custom .btn {
    white-space: nowrap;
}

/* Responsividade Aprimorada da Navbar para Laptops e Telas Médias (992px - 1240px) */
@media (min-width: 992px) and (max-width: 1240px) {
    .navbar-custom .nav-link {
        font-size: 0.86rem;
        padding: 0.35rem 0.55rem;
        margin: 0 0.1rem;
    }

    .navbar-custom .navbar-brand img {
        height: 40px;
    }

    .navbar-custom .btn-sm {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        font-size: 0.82rem;
    }
}

.navbar-custom.scrolled .nav-link {
    color: var(--color-navy-dark);
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--color-teal) !important;
    background: rgba(2, 132, 199, 0.08);
}

.navbar-custom.scrolled .nav-link:hover,
.navbar-custom.scrolled .nav-link.active {
    color: var(--color-teal) !important;
    background: var(--color-accent-light);
}

/* Header Toggle Button for Mobile */
.navbar-toggler-custom {
    border: none;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: #FFFFFF;
    transition: var(--transition-fast);
}

.navbar-custom.scrolled .navbar-toggler-custom {
    background: var(--color-bg-subtle);
    color: var(--color-navy-dark);
}

/* --- Hero Section --- */
.hero-wrapper {
    position: relative;
    background: linear-gradient(135deg, #071325 0%, #0B192C 40%, #1E3E62 100%);
    color: #FFFFFF;
    padding-top: 150px;
    padding-bottom: 100px;
    overflow: hidden;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(2, 132, 199, 0) 70%);
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
}

.hero-wrapper::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.18) 0%, rgba(11, 25, 44, 0) 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.hero-title {
    color: #FFFFFF;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    color: #FFFFFF;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
}

.badge-pill-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    color: #38BDF8;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

/* Asymmetric Hero Photo Composition Grid */
.hero-composition {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 480px;
}

.hero-photo-main {
    width: 68%;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 4px solid rgba(255, 255, 255, 0.15);
    object-fit: cover;
    height: 420px;
    transform: rotate(-2deg);
    transition: var(--transition-bounce);
    z-index: 2;
}

.hero-photo-secondary {
    position: absolute;
    width: 48%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-md);
    bottom: -20px;
    right: 0;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: rotate(4deg);
    transition: var(--transition-bounce);
    z-index: 3;
}

.hero-photo-accent {
    position: absolute;
    width: 42%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius-md);
    top: -15px;
    left: -10px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transform: rotate(-6deg);
    opacity: 0.9;
    z-index: 1;
}

.hero-composition:hover .hero-photo-main {
    transform: rotate(0deg) scale(1.02);
}

.hero-composition:hover .hero-photo-secondary {
    transform: rotate(0deg) scale(1.04) translateY(-10px);
}

/* Floating Glass Cards */
.hero-glass-card {
    position: absolute;
    background: rgba(11, 25, 44, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    color: #FFFFFF;
    box-shadow: var(--shadow-lg);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatAnim 4s ease-in-out infinite alternate;
}

.hero-glass-card.pos-1 {
    top: 10%;
    right: -10px;
}

.hero-glass-card.pos-2 {
    bottom: 5%;
    left: -20px;
    animation-delay: 2s;
}

@keyframes floatAnim {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-10px);
    }
}

.hero-glass-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--color-teal), var(--color-cyan));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #FFFFFF;
    flex-shrink: 0;
}

/* Internal Page Hero */
.page-hero {
    background: linear-gradient(135deg, #071325 0%, #0B192C 60%, #1E3E62 100%);
    padding-top: 140px;
    padding-bottom: 60px;
    color: #FFFFFF;
    position: relative;
}

.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin: 0 0 1rem 0;
}

.breadcrumb-custom .breadcrumb-item,
.breadcrumb-custom .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumb-custom .breadcrumb-item.active {
    color: var(--color-cyan);
}

.breadcrumb-custom .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* --- Buttons & Micro Interactions --- */
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    border: none;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-cta-primary:hover {
    background: linear-gradient(135deg, #0369A1 0%, #0284C7 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.45);
}

.btn-cta-primary:active {
    transform: translateY(0);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition-fast);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    color: var(--color-teal) !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.98rem;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--color-teal);
    transition: var(--transition-fast);
}

.btn-cta-outline:hover {
    background: var(--color-teal);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25);
}

.btn-whatsapp-fixed {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #FFFFFF !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1040;
    transition: var(--transition-bounce);
    animation: pulseWhatsapp 2.5s infinite;
}

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

@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Section Styling & Typography --- */
.section-padding {
    padding: 90px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

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

.bg-dark-custom {
    background: linear-gradient(135deg, #071325 0%, #0B192C 100%);
    color: #FFFFFF;
}

.section-subtitle {
    color: var(--color-teal);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 1.25rem;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 720px;
}

/* --- Cards & Components --- */
.card-custom {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    padding: 2.2rem;
    height: 100%;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(2, 132, 199, 0.3);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--color-accent-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--color-teal);
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.card-custom:hover .card-icon-wrapper {
    background: var(--color-teal);
    color: #FFFFFF;
    transform: scale(1.08);
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.85rem;
}

.card-text {
    color: var(--color-text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* --- Feature Lists & Badges --- */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.02rem;
    color: var(--color-text-main);
}

.feature-list li::before {
    content: '\F26B';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-teal);
    font-weight: bold;
    font-size: 1.1rem;
}

/* --- Medical Credentials Bar --- */
.credentials-bar {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2.5rem 2rem;
    margin-top: -60px;
    position: relative;
    z-index: 30 !important;
    border: 1px solid var(--color-border-light);
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.credential-icon {
    width: 52px;
    height: 52px;
    background: var(--color-accent-subtle);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.credential-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-navy-dark);
    margin-bottom: 2px;
}

.credential-desc {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* --- Photo Frame Styling --- */
.img-frame-rounded {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.img-frame-rounded img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-frame-rounded:hover img {
    transform: scale(1.05);
}

/* Decorative Overlapping Image Layout */
.overlap-image-wrapper {
    position: relative;
    padding-bottom: 40px;
    padding-right: 40px;
}

.overlap-img-primary {
    width: 85%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    height: 480px;
}

.overlap-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 6px solid var(--color-surface);
    box-shadow: var(--shadow-lg);
}

/* --- FAQ Accordion --- */
.accordion-custom .accordion-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md) !important;
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.accordion-custom .accordion-button {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--color-navy-dark);
    background: var(--color-surface);
    padding: 1.25rem 1.5rem;
    box-shadow: none !important;
}

.accordion-custom .accordion-button:not(.collapsed) {
    color: var(--color-teal);
    background: var(--color-accent-subtle);
}

.accordion-custom .accordion-body {
    padding: 1.25rem 1.5rem;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    background: var(--color-surface);
}

/* --- Form Controls --- */
.form-control-custom {
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.1rem;
    font-size: 0.98rem;
    color: var(--color-text-main);
    background-color: #FFFFFF;
    transition: var(--transition-fast);
}

.form-control-custom:focus {
    border-color: var(--color-teal);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
    outline: none;
}

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, #071325 0%, #0B192C 50%, #1E3E62 100%);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* --- Footer --- */
.footer-custom {
    background-color: var(--color-navy-dark);
    color: #94A3B8;
    padding-top: 80px;
    padding-bottom: 40px;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-custom h5 {
    color: #FFFFFF;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94A3B8;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    margin-top: 60px;
    font-size: 0.88rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
    .navbar-custom {
        background: rgba(11, 25, 44, 0.95);
        backdrop-filter: blur(12px);
        padding: 0.85rem 0;
    }

    .navbar-custom.scrolled {
        background: rgba(255, 255, 255, 0.98);
    }

    .navbar-custom .nav-link {
        color: #FFFFFF;
        padding: 0.65rem 1rem;
    }

    .navbar-custom.scrolled .nav-link {
        color: var(--color-navy-dark);
    }

    .hero-wrapper {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-composition {
        margin-top: 40px;
        min-height: 380px;
    }

    .hero-photo-main {
        width: 80%;
        height: 320px;
    }

    .hero-photo-secondary {
        width: 55%;
        height: 220px;
    }

    .hero-glass-card.pos-1 {
        top: 2%;
        right: 0;
    }

    .hero-glass-card.pos-2 {
        bottom: 0;
        left: 0;
    }

    .credentials-bar {
        margin-top: 30px;
    }

    .overlap-image-wrapper {
        padding-right: 0;
        padding-bottom: 0;
        margin-bottom: 30px;
    }

    .overlap-img-primary {
        width: 100%;
        height: 350px;
    }

    .overlap-img-secondary {
        display: none;
    }

    .cta-banner {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero-glass-card {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    .hero-glass-icon {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .btn-whatsapp-fixed {
        width: 52px;
        height: 52px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
}

/* ==========================================================================
   Hero Version 2 - Exact Match for Target Print Layout
   ========================================================================== */
.text-cyan {
    color: #38BDF8 !important;
}

.hero-top-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140px;
    background: linear-gradient(to bottom, rgba(5, 14, 29, 0.88) 0%, rgba(5, 14, 29, 0.45) 60%, transparent 100%);
    pointer-events: none;
    z-index: 10;
}

.hero-wrapper-v2 {
    background: linear-gradient(135deg, #050E1D 0%, #0B192C 50%, #0F233A 100%);
    padding-top: 130px;
    padding-bottom: 50px;
    min-height: 540px;
    position: relative;
    overflow: visible;
    z-index: 1;
}

/* Lado Direito: Foto da Clínica com Recorte Diagonal */
.hero-v2-right-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 44%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
    clip-path: polygon(24% 0, 100% 0, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(24% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-v2-clinic-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    filter: brightness(0.85) contrast(1.05);
}

/* Risco de Neon Azul Mais Claro entre o Fundo Azul e a Foto da Clínica */
.hero-v2-neon-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-left: 3.5px solid #38BDF8;
    filter: drop-shadow(-4px 0 12px #06B6D4) drop-shadow(-8px 0 24px #0284C7);
    z-index: 4;
    pointer-events: none;
}

/* Leve Luz Azul Clara de Fundo (Ambient Light Glow) */
.hero-v2-ambient-glow {
    position: absolute;
    top: 15%;
    right: 20%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, rgba(2, 132, 199, 0.08) 45%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 2;
}

.hero-v2-bg-eye {
    position: absolute;
    top: 20%;
    left: 32%;
    width: 550px;
    height: 300px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.35;
}

/* Coluna e Foto do Médico Grandes com Avanço sobre o Fundo Azul */
.hero-v2-doctor-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: right;
    margin-top: 10px;
    z-index: 25;
}

.hero-v2-doctor-standalone {
    width: auto;
    max-width: 650px;
    height: auto;
    max-height: 640px;
    object-fit: contain;
    filter: drop-shadow(-15px 20px 35px rgba(0, 0, 0, 0.65));
    margin-right: -30px;
    margin-left: -100px;
    /* Avança sobre o fundo azul */
    margin-bottom: -50px;
    /* Repousa perfeitamente sobre a barra de credenciais */
    position: relative;
    z-index: 25;
    transition: var(--transition-fast);
}

/* Card Flutuante Dark Glassmorphism */
.hero-v2-floating-badge {
    position: absolute;
    bottom: 25px;
    right: 0px;
    width: 340px;
    background: rgba(11, 25, 44, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    text-align: left;
    z-index: 26;
}

.hero-v2-badge-icon {
    width: 42px;
    height: 42px;
    background: rgba(2, 132, 199, 0.2);
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #38BDF8;
    flex-shrink: 0;
}

.hero-v2-authority-strip {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

@media (max-width: 991.98px) {
    .hero-wrapper-v2 {
        padding-top: 110px;
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero-v2-right-panel {
        display: none;
    }

    .hero-v2-doctor-wrapper {
        text-align: center;
        margin-top: 20px;
    }

    .hero-v2-doctor-standalone {
        max-width: 100%;
        max-height: 440px;
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 0;
    }

    .hero-v2-floating-badge {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: 15px;
    }
}

/* ==========================================================================
   LANDING PAGE EXCLUSIVE HERO STYLES (50% Split Screen Layout)
   ========================================================================== */
.hero-landing {
    position: relative;
    background: linear-gradient(135deg, #050E1A 0%, #0B192C 45%, #132E4F 100%);
    color: #FFFFFF;
    padding-top: 130px;
    padding-bottom: 70px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Painel Direito: 50% da tela de cima a baixo com divisão diagonal */
.hero-landing-right-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-landing-clinic-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.88) contrast(1.05);
}

/* Risco Neon Azul entre o Fundo Azul e a Foto */
.hero-landing-neon-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-left: 4px solid #38BDF8;
    filter: drop-shadow(-4px 0 14px #06B6D4) drop-shadow(-8px 0 28px #0284C7);
    z-index: 4;
    pointer-events: none;
}

.hero-landing-ambient-glow {
    position: absolute;
    top: 15%;
    right: 22%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, rgba(2, 132, 199, 0.08) 45%, transparent 70%);
    filter: blur(65px);
    pointer-events: none;
    z-index: 2;
}

.hero-landing-bg-eye {
    position: absolute;
    top: 20%;
    left: 30%;
    width: 550px;
    height: 300px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.35;
}

.hero-landing .hero-title {
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero-landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    background: rgba(6, 182, 212, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 182, 212, 0.35);
    border-radius: var(--radius-pill);
    color: #38BDF8;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #38BDF8 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-landing-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-landing-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    color: #F1F5F9;
    backdrop-filter: blur(8px);
}

.hero-landing-doctor-wrapper {
    position: relative;
    width: 100%;
    z-index: 25;
}

.hero-landing-floating-badge {
    position: relative;
    width: 100%;
    max-width: 360px;
    background: rgba(11, 25, 44, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    text-align: left;
    z-index: 26;
    margin-left: auto;
}

.hero-landing-badge-icon {
    width: 44px;
    height: 44px;
    background: rgba(2, 132, 199, 0.25);
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #38BDF8;
    flex-shrink: 0;
}

.hero-landing-mobile-photo {
    display: none;
}

@media (max-width: 991.98px) {
    .hero-landing {
        padding-top: 110px;
        padding-bottom: 50px;
        min-height: auto;
    }

    .hero-landing-right-panel {
        display: none;
    }

    .hero-landing-doctor-wrapper {
        text-align: center;
        margin-top: 10px;
    }

    .hero-landing-mobile-photo {
        display: block;
        width: 100%;
        max-height: 380px;
        object-fit: cover;
        border-radius: 20px;
        margin-top: 15px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
        border: 2px solid rgba(255, 255, 255, 0.18);
    }

    .hero-landing-floating-badge {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        margin-top: 20px;
    }
}

/* ==========================================================================
   HERO V3 EXCLUSIVE STYLES
   ========================================================================== */
.hero-wrapper-v3 {
    background: linear-gradient(135deg, #050E1D 0%, #0B192C 50%, #0F233A 100%);
    padding-top: 130px;
    padding-bottom: 50px;
    min-height: 540px;
    position: relative;
    overflow: visible;
    z-index: 1;
}

.hero-v3-doctor-wrapper {
    position: relative;
    width: 100%;
    z-index: 25;
}

.hero-v3-floating-badge {
    position: absolute;
    bottom: 50px;
    left: -40px;
    width: 350px;
    background: rgba(11, 25, 44, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    text-align: left;
    z-index: 26;
}

@media (max-width: 991.98px) {
    .hero-wrapper-v3 {
        padding-top: 110px;
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero-v3-floating-badge {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        width: 100%;
        margin-top: 20px;
    }
}

/* Hero Notice / Highlight Line */
.hero-landing-notice {
    position: relative;
    z-index: 5;
    line-height: 1.5;
}

/* ==========================================================================
   SEÇÃO DE AVALIAÇÕES DO GOOGLE (GOOGLE REVIEWS CAROUSEL)
   ========================================================================== */
.bg-google-reviews {
    background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
}

.reviews-ambient-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.google-badge-header {
    border: 1px solid #E2E8F0 !important;
    transition: var(--transition-fast);
}

.google-badge-header:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
}

.google-review-card {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-color: #E2E8F0 !important;
}

.google-review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(11, 25, 44, 0.08) !important;
    border-color: #CBD5E1 !important;
}

.google-avatar {
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.btn-swiper-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-swiper-nav:hover {
    background: var(--color-teal);
    color: #FFFFFF;
    border-color: var(--color-teal);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3);
    transform: scale(1.05);
}

.google-reviews-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #CBD5E1;
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.google-reviews-pagination .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 6px;
    background: var(--color-teal);
}

.btn-google-reviews {
    background: #FFFFFF;
    color: var(--color-navy-dark);
    border: 1px solid #CBD5E1;
    transition: all 0.3s ease;
}

.btn-google-reviews:hover {
    background: #FFFFFF;
    color: var(--color-teal-dark);
    border-color: var(--color-teal);
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.15) !important;
    transform: translateY(-2px);
}

/* --- Global Text White Opacity Reset --- */
.text-white-50 {
    color: #FFFFFF !important;
    opacity: 1 !important;
}