/* ==========================================================================
   DR. LUIZ FERNANDO IORIS - LANDING PAGE MEDTECH & MEDICINA DE PRECISÃO
   Tema Claro, Luminoso, Alta Autoridade e Design Exclusivo (HostGator Ready)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    /* Color Palette - Light Premium Medical Theme */
    --bg-light: #FAFCFF;
    --bg-surface: #FFFFFF;
    --bg-surface-secondary: #F0F6FE;
    --bg-surface-alt: #F8FAFC;

    /* Primary Medical Tech Colors */
    --primary-sapphire: #0A2540;
    --primary-navy: #0F172A;
    --primary-cyan: #0284C7;
    --primary-cyan-light: #0EA5E9;
    --primary-teal: #06B6D4;
    
    /* Accent & Feedback Colors */
    --accent-emerald: #059669;
    --accent-emerald-light: #10B981;
    --accent-emerald-bg: #ECFDF5;
    
    --warning-red: #DC2626;
    --warning-red-light: #EF4444;
    --warning-red-bg: #FEF2F2;

    --whatsapp-green: #25D366;
    --whatsapp-hover: #1EBE5B;
    --whatsapp-glow: rgba(37, 211, 102, 0.35);

    /* Text Colors */
    --text-heading: #0F172A;
    --text-body: #334155;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    /* Gradients */
    --grad-cyan-blue: linear-gradient(135deg, #0284C7 0%, #0EA5E9 100%);
    --grad-sapphire: linear-gradient(135deg, #0A2540 0%, #1E3A8A 100%);
    --grad-emerald: linear-gradient(135deg, #25D366 0%, #059669 100%);
    --grad-soft-cyan: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(14, 165, 233, 0.02) 100%);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --border-light: 1px solid #E2E8F0;
    --border-cyan: 1px solid rgba(2, 132, 199, 0.2);
    --border-emerald: 1px solid rgba(16, 185, 129, 0.3);
    --border-red: 1px solid rgba(239, 68, 68, 0.25);

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px -15px rgba(2, 132, 199, 0.12);
    --shadow-cyan-light: 0 10px 25px rgba(14, 165, 233, 0.35);
}

/* ==========================================================================
   SCROLL-RISE ANIMATIONS (DEFAULT + SLOW FOR SECOND BLOCK / PAIN SECTION)
   ========================================================================== */

/* Default scroll-rise animation (used by most sections) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* SLOW Scroll-Rise for Pain Section (Second Block) — Individual Text Elements */
.pain-section .section-tagline,
.pain-section .section-title,
.pain-section .section-header > p,
.pain-section .pain-highlight-box {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pain-section .section-tagline.is-visible,
.pain-section .section-title.is-visible,
.pain-section .section-header > p.is-visible,
.pain-section .pain-highlight-box.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays — slow cascade effect */
.pain-section .section-tagline.is-visible    { transition-delay: 0s; }
.pain-section .section-title.is-visible      { transition-delay: 0.2s; }
.pain-section .section-header > p.is-visible { transition-delay: 0.4s; }
.pain-section .pain-highlight-box.is-visible { transition-delay: 0.2s; }

/* ==========================================================================
   SLOW Scroll-Rise for Transformation Section (Third Block) — Same Cascade
   ========================================================================== */
.transformation-section .section-tagline,
.transformation-section .section-title,
.transformation-section .section-header > p {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.transformation-section .section-tagline.is-visible,
.transformation-section .section-title.is-visible,
.transformation-section .section-header > p.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Same stagger pattern as Pain Section */
.transformation-section .section-tagline.is-visible    { transition-delay: 0s; }
.transformation-section .section-title.is-visible      { transition-delay: 0.2s; }
.transformation-section .section-header > p.is-visible { transition-delay: 0.4s; }

/* ==========================================================================
   SLOW Scroll-Rise for Filter Section (Fourth Block) — Same Cascade
   ========================================================================== */
.filter-section .section-tagline,
.filter-section .section-title,
.filter-section .section-header > p {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-section .section-tagline.is-visible,
.filter-section .section-title.is-visible,
.filter-section .section-header > p.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Same stagger pattern */
.filter-section .section-tagline.is-visible    { transition-delay: 0s; }
.filter-section .section-title.is-visible      { transition-delay: 0.2s; }
.filter-section .section-header > p.is-visible { transition-delay: 0.4s; }

/* ==========================================================================
   SLOW Scroll-Rise for Solution Section (Fifth Block) — Same Cascade
   ========================================================================== */
.solution-section .section-tagline,
.solution-section .section-title,
.solution-section .section-header > p {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-section .section-tagline.is-visible,
.solution-section .section-title.is-visible,
.solution-section .section-header > p.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Same stagger pattern */
.solution-section .section-tagline.is-visible    { transition-delay: 0s; }
.solution-section .section-title.is-visible      { transition-delay: 0.2s; }
.solution-section .section-header > p.is-visible { transition-delay: 0.4s; }

/* ==========================================================================
   PAIN HIGHLIGHT BOX — ENTRADA DINÂMICA AO SCROLL
   Sobe + fade + leve scale, com cascata interna nos elementos
   ========================================================================== */
.pain-section .pain-highlight-box {
    opacity: 0;
    transform: translateY(70px) scale(0.94);
    transition:
        opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.6s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pain-section .pain-highlight-box.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow:
        0 30px 70px -20px rgba(2, 132, 199, 0.28),
        0 6px 18px rgba(15, 23, 42, 0.06);
    transition-delay: 0.25s;
}

/* Cascata interna — cada parte do card aparece com delay próprio */
.pain-highlight-box .phb-quote-icon,
.pain-highlight-box .phb-lead,
.pain-highlight-box .phb-divider,
.pain-highlight-box .phb-secondary,
.pain-highlight-box .phb-emphasis {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.pain-highlight-box.is-visible .phb-quote-icon {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
    transition-delay: 0.9s;
}

.pain-highlight-box.is-visible .phb-lead {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.1s;
}

.pain-highlight-box.is-visible .phb-divider {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.4s;
}

.pain-highlight-box.is-visible .phb-secondary {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.6s;
}

.pain-highlight-box.is-visible .phb-emphasis {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.9s;
}

/* Aspas começam levemente rotacionadas e voltam ao normal (charme) */
.pain-highlight-box .phb-quote-icon {
    transform: translateY(20px) rotate(-12deg);
    transform-origin: top left;
}

/* Reset & Basic Setup */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    background-color: var(--bg-light);
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(2, 132, 199, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 60%, rgba(14, 165, 233, 0.04) 0%, transparent 40%),
        linear-gradient(to bottom, #FAFCFF, #F4F8FC);
    background-attachment: fixed;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-heading);
}

.text-gradient {
    background: var(--grad-cyan-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-shimmer {
    background: linear-gradient(
        110deg,
        #0284C7 0%,
        #0EA5E9 22%,
        #38BDF8 38%,
        #FFFFFF 50%,
        #38BDF8 62%,
        #0EA5E9 78%,
        #0284C7 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmerGlow 8s linear infinite;
}

@keyframes textShimmerGlow {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: -200% center;
    }
}

.text-highlight {
    color: var(--primary-cyan);
}

/* Ambient Tech Grid Light */
/* Container que clipa o background decorativo para evitar overflow */
.bg-clip {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bg-tech-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(2, 132, 199, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(2, 132, 199, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 1;
}

.bg-glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    max-width: 90vw;
    max-height: 90vw;
    border-radius: 50%;
    filter: blur(160px);
    pointer-events: none;
    opacity: 0.35;
}
.bg-glow-orb.cyan { background: var(--primary-cyan-light); }
.bg-glow-orb.blue { background: #3B82F6; }

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

section {
    padding: 5.5rem 0;
    position: relative;
}

@media (min-width: 992px) {
    section {
        padding: 7.5rem 0;
    }
}

/* Pristine Light Card */
.glass-card {
    background: var(--bg-surface);
    border: var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

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

/* Buttons & CTAs */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.15rem 2.4rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    background: var(--grad-emerald);
    border: none;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-cyan-light);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: left 0.6s ease;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 35px rgba(14, 165, 233, 0.5);
    color: #FFFFFF;
}

.btn-cta.btn-large {
    padding: 1.35rem 3rem;
    font-size: 1.15rem;
}

.btn-cta i {
    font-size: 1.4rem;
}

/* Header Navbar (#0CA1E4 Theme) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #0CA1E4;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.85rem 0;
    box-shadow: 0 4px 20px rgba(12, 161, 228, 0.25);
    transition: all 0.3s ease;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: calc(var(--radius-sm) - 2px);
    display: block;
}

.brand-text h2 {
    font-size: 1.18rem;
    letter-spacing: -0.3px;
    color: #FFFFFF;
}

.brand-text p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-specs {
    display: none;
    align-items: center;
    gap: 0.9rem;
}

@media (min-width: 850px) {
    .nav-specs {
        display: flex;
    }
}

.spec-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.2px;
}

.spec-item i {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.92);
}

.spec-dot {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
}

.btn-cta.btn-nav-compact {
    padding: 0.55rem 1.35rem;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: var(--radius-full);
    background: #25D366;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-cta.btn-nav-compact i {
    font-size: 1.1rem;
}

/* HERO SECTION LIGHT */
.hero-section {
    padding-top: 9.5rem;
    padding-bottom: 5.5rem;
    min-height: 95vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 75% 20%, rgba(2, 132, 199, 0.04) 0%, transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 1.2rem;
    border-radius: var(--radius-full);
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.25);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-cyan);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(2, 132, 199, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

.hero-title {
    font-size: 2.85rem;
    font-weight: 800;
    letter-spacing: -0.6px;
    margin-bottom: 1.5rem;
    line-height: 1.22;
    color: var(--text-heading);
    opacity: 0;
    transform: translateY(28px);
    animation: heroSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.875rem; /* 62px */
    }
}

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--text-body);
    margin-bottom: 2.3rem;
    line-height: 1.75;
    opacity: 0;
    transform: translateY(28px);
    animation: heroSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.16rem;
    }
}

@keyframes heroSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-actions {
    opacity: 0;
    transform: scale(0.86);
    animation: heroBtnZoomIn 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s both;
}

.hero-actions .btn-cta {
    animation: btnPulseSlow 3.2s ease-in-out 1.65s infinite;
    border-radius: var(--radius-full);
}

@keyframes heroBtnZoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes btnPulseSlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    }
    50% {
        transform: scale(1.038);
        box-shadow: 0 12px 35px rgba(37, 211, 102, 0.65);
    }
}

/* Efeito do primeiro botão aplicado em outros CTAs do site */
.btn-cta.hero-cta-pulse {
    animation: btnPulseSlow 3.2s ease-in-out 1.65s infinite;
    border-radius: var(--radius-full);
}

/* Entrada com zoom (similar ao primeiro botão) */
.btn-cta.hero-cta-pulse {
    opacity: 0;
    transform: scale(0.86);
}

.btn-cta.hero-cta-pulse.is-visible {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s;
}

/* Hover do botão pulse — pausa a animação de pulse e dá lift */
.btn-cta.hero-cta-pulse:hover {
    animation-play-state: paused;
    transform: scale(1.038) translateY(-3px) !important;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: scale(0.65);
    animation: heroImageZoomIn 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 0.65s both;
}

@keyframes heroImageZoomIn {
    0% {
        opacity: 0;
        transform: scale(0.65);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 490px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 3px solid #FFFFFF;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 30px rgba(2, 132, 199, 0.15);
}

.hero-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-img-wrapper:hover img {
    transform: scale(1.03);
}

/* Floating Light HUD Overlay Badges */
.tech-hud-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(2, 132, 199, 0.2);
    border-radius: var(--radius-md);
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
    z-index: 3;
}

.hud-top-right {
    top: 20px;
    right: -10px;
    animation: floatAnim 4s infinite ease-in-out;
}

.hud-bottom-left {
    bottom: 25px;
    left: -10px;
    animation: floatAnim 4s infinite ease-in-out 2s;
}

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

.hud-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.hud-info h5 {
    font-size: 0.88rem;
    color: var(--text-heading);
    margin-bottom: 0.1rem;
}

.hud-info p {
    font-size: 0.76rem;
    color: var(--primary-cyan);
    font-weight: 700;
}

/* SEÇÃO 2: AGITAÇÃO DA DOR */
.section-header {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 3.8rem auto;
}

.section-tagline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    color: var(--primary-cyan);
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: block;
}

.section-title {
    font-size: 2.1rem;
    margin-bottom: 1.2rem;
    color: var(--text-heading);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.7rem;
    }
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pain-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pain-card {
    padding: 2.2rem 2rem;
    border-left: 4px solid #0C9EE2;
    background: #FFFFFF;
    position: relative;
}

/* === PAIN CARDS: Direcional slide-in on scroll === */
.pain-card.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Card 1 (esquerda): escorrega da esquerda */
.pain-grid > .pain-card:nth-child(1) {
    transform: translateX(-90px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Card 2 (centro): sobe de baixo */
.pain-grid > .pain-card:nth-child(2) {
    transform: translateY(60px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Card 3 (direita): escorrega da direita */
.pain-grid > .pain-card:nth-child(3) {
    transform: translateX(90px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pain-grid > .pain-card:nth-child(1).is-visible,
.pain-grid > .pain-card:nth-child(2).is-visible,
.pain-grid > .pain-card:nth-child(3).is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger: cada card entra um pouquinho depois do outro */
.pain-grid > .pain-card:nth-child(1).is-visible { transition-delay: 0s; }
.pain-grid > .pain-card:nth-child(2).is-visible { transition-delay: 0.15s; }
.pain-grid > .pain-card:nth-child(3).is-visible { transition-delay: 0.3s; }

.pain-icon {
    width: 52px;
    height: 52px;
    background: rgba(12, 158, 226, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0C9EE2;
    font-size: 1.5rem;
    margin-bottom: 1.3rem;
}

.pain-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--text-heading);
}

.pain-card p {
    font-size: 0.96rem;
    color: var(--text-body);
    line-height: 1.65;
}

/* ==========================================================================
   PAIN HIGHLIGHT BOX — ELEGANT QUOTE CARD (CHARME / SOFT)
   ========================================================================== */
.pain-highlight-box {
    position: relative;
    background:
        linear-gradient(135deg, #FFFFFF 0%, #F8FBFE 100%);
    border: 1px solid rgba(2, 132, 199, 0.18);
    border-left: 5px solid #0C9EE2;
    padding: 2.6rem 2.8rem;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    box-shadow:
        0 20px 50px -20px rgba(2, 132, 199, 0.18),
        0 4px 14px rgba(15, 23, 42, 0.04);
}

.phb-quote-icon {
    position: absolute;
    top: 1.4rem;
    left: 1.6rem;
    font-size: 2.2rem;
    color: rgba(12, 158, 226, 0.15);
    line-height: 1;
}

.pain-highlight-box p {
    font-size: 1.08rem;
    color: var(--text-body);
    font-weight: 400;
    line-height: 1.85;
    margin: 0;
}

.pain-highlight-box .phb-lead {
    color: var(--text-heading);
    font-weight: 500;
    font-style: normal;
    font-size: 1.12rem;
}

.pain-highlight-box .phb-lead em {
    color: #0C9EE2;
    font-style: normal;
    font-weight: 600;
}

.phb-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    margin: 1.6rem 0;
}

.phb-divider span {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(12, 158, 226, 0.4), transparent);
}

.phb-divider i {
    color: #0C9EE2;
    font-size: 1.15rem;
    opacity: 0.9;
    transform-origin: center;
    animation: phbHeartPulse 1.4s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(12, 158, 226, 0.0));
}

@keyframes phbHeartPulse {
    0%   { transform: scale(1);    filter: drop-shadow(0 0 0px  rgba(12, 158, 226, 0.0)); }
    20%  { transform: scale(1.18); filter: drop-shadow(0 0 8px  rgba(220, 38, 38, 0.55)); color: #DC2626; }
    40%  { transform: scale(1);    filter: drop-shadow(0 0 0px  rgba(12, 158, 226, 0.0)); color: #DC2626; }
    60%  { transform: scale(1.12); filter: drop-shadow(0 0 6px  rgba(220, 38, 38, 0.45)); color: #0C9EE2; }
    100% { transform: scale(1);    filter: drop-shadow(0 0 0px  rgba(12, 158, 226, 0.0)); color: #0C9EE2; }
}

.pain-highlight-box .phb-secondary {
    color: var(--text-body);
    font-size: 1.05rem;
}

.pain-highlight-box .phb-secondary strong {
    color: var(--text-heading);
    font-weight: 600;
}

.phb-emphasis {
    display: block;
    margin-top: 1rem;
    padding-top: 1.1rem;
    border-top: 1px dashed rgba(220, 38, 38, 0.25);
    color: #991B1B !important;
    font-weight: 600 !important;
    font-size: 1.02rem;
    font-style: italic;
    animation: phbEmphasisPulse 2.2s ease-in-out infinite;
}

@keyframes phbEmphasisPulse {
    0%, 100% {
        opacity: 0.82;
        text-shadow: 0 0 0px rgba(220, 38, 38, 0);
    }
    50% {
        opacity: 1;
        text-shadow:
            0 0 12px rgba(220, 38, 38, 0.35),
            0 0 24px rgba(220, 38, 38, 0.15);
    }
}

/* SEÇÃO 3: TRANSFORMAÇÃO E STATUS */
.transformation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
    perspective: 1500px;
}

@media (min-width: 992px) {
    .transformation-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trans-card {
    padding: 2.8rem 2.2rem;
    text-align: left;
    position: relative;
    background: #FFFFFF;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
    will-change: transform;
    cursor: pointer;
}

.trans-card-number {
    position: absolute;
    top: 1.2rem;
    right: 1.8rem;
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 900;
    color: rgba(2, 132, 199, 0.08);
    line-height: 1;
}

.trans-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    font-size: 1.65rem;
    margin-bottom: 1.6rem;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trans-card:hover .trans-icon {
    transform: scale(1.08) rotate(-5deg);
}

.trans-card h3 {
    font-size: 1.38rem;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

.trans-card p {
    font-size: 0.98rem;
    color: var(--text-body);
    line-height: 1.75;
}

/* SEÇÃO 4: O FILTRO (PARA QUEM É / NÃO É) — CAIXAS CENTRALIZADAS, UMA NO LUGAR DA OUTRA */
.filter-wrapper {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-box {
    padding: 2.2rem 2.4rem;
    border-radius: var(--radius-lg);
    width: 100%;
}

.filter-box.not-for-you {
    background: linear-gradient(135deg, #FFFFFF 0%, #FEF2F2 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: 0 12px 36px -8px rgba(239, 68, 68, 0.18);
}

.filter-box.for-you {
    background: linear-gradient(135deg, #FFFFFF 0%, #ECFDF5 100%);
    border: 1px solid rgba(16, 185, 129, 0.22);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.1);
}

/* ==========================================================================
   FILTER BOX — NARRATIVE SEQUENCE ANIMATION (CARIMBOS + LOOP)
   ========================================================================== */

/* As duas caixas ficam ABSOLUTAMENTE posicionadas no mesmo lugar — uma aparece no lugar da outra */
.filter-box[data-step] {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(40px) scale(0.94);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.filter-box[data-step].is-on {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Saída: caixa vermelha sai pra esquerda ao ser carimbada */
.filter-box.not-for-you.is-swept {
    opacity: 0;
    transform: translateX(-130%) rotate(-10deg) scale(0.9);
    transition: opacity 0.7s ease-in, transform 0.8s cubic-bezier(0.55, 0.06, 0.68, 0.19);
}

/* Saída: caixa verde sai pra cima ao receber o carimbo de aprovado */
.filter-box.for-you.is-swept {
    opacity: 0;
    transform: translateY(-100%) rotate(8deg) scale(0.92);
    transition: opacity 0.7s ease-in, transform 0.8s cubic-bezier(0.55, 0.06, 0.68, 0.19);
}

/* Itens das listas — escondidos até a animação sequencial */
.filter-box[data-step] li {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-box[data-step] li.is-shown {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   CARIMBOS (STAMP) — X vermelho / Check verde
   ========================================================================== */
.filter-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(2.5) rotate(-15deg);
    border: 6px solid currentColor;
    padding: 1.2rem 2.4rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 1.6rem;
}

.filter-stamp i {
    font-size: 2.2rem;
}

.filter-stamp span {
    font-size: 1.1rem;
}

.filter-stamp.filter-stamp-x {
    color: #DC2626;
    background: rgba(254, 226, 226, 0.85);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.45);
    text-shadow: 0 2px 0 rgba(220, 38, 38, 0.15);
}

.filter-stamp.filter-stamp-check {
    color: #059669;
    background: rgba(209, 250, 229, 0.85);
    box-shadow: 0 12px 40px rgba(5, 150, 105, 0.45);
    text-shadow: 0 2px 0 rgba(5, 150, 105, 0.15);
}

/* Animação do carimbo batendo (de cima, com bounce) */
.filter-stamp.is-stamping {
    animation: stampBounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes stampBounce {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(3) rotate(-25deg);
    }
    60% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.92) rotate(-12deg);
    }
    80% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.02) rotate(-14deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(-15deg);
    }
}

/* Carimbo permanece visível por um tempo, depois some */
.filter-stamp.is-fading {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.1) rotate(-12deg);
    transition: opacity 0.5s ease-in, transform 0.6s ease-in;
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.4rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.not-for-you .filter-header h3 {
    font-weight: 700;
    letter-spacing: -0.2px;
}

.for-you .filter-header h3 {
    font-weight: 700;
    letter-spacing: -0.2px;
}

.filter-icon-head {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.not-for-you .filter-icon-head {
    background: #FEE2E2;
    color: var(--warning-red);
}

.for-you .filter-icon-head {
    background: #D1FAE5;
    color: var(--accent-emerald);
}

.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.filter-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.97rem;
    line-height: 1.55;
    color: var(--text-heading);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.filter-list li:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.not-for-you .filter-list li {
    border-left: 3px solid rgba(239, 68, 68, 0.55);
}

.for-you .filter-list li {
    border-left: 3px solid rgba(16, 185, 129, 0.6);
}

.filter-list li i {
    font-size: 1.15rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
}

.not-for-you li i { color: var(--warning-red); }
.for-you li i { color: var(--accent-emerald); }

/* SEÇÃO 5: A SOLUÇÃO (PROCESSO DA SESSÃO ESTRATÉGICA) */
.process-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-bottom: 4rem;
    perspective: 1600px;
}

@media (min-width: 768px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-timeline {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-step {
    padding: 2.2rem 1.8rem;
    background: #FFFFFF;
    position: relative;
    transform-style: preserve-3d;
    will-change: transform, opacity;
}

/* === EFEITO 3D SEQUENCIAL — "passando de etapa em etapa" === */
/* Movimento bem fraquinho: cards apenas sobem e voltam da profundidade — sem rotação brusca */
.process-step {
    opacity: 0;
    transform: translateZ(-120px) translateY(30px);
    transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1), transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Estado final — cards voltam suavemente ao plano */
.process-step.is-visible {
    opacity: 1;
    transform: translateZ(0) translateY(0);
}

/* Stagger generoso — "passando de etapa em etapa" */
.process-step:nth-child(1).is-visible { transition-delay: 0s; }
.process-step:nth-child(2).is-visible { transition-delay: 0.5s; }
.process-step:nth-child(3).is-visible { transition-delay: 1.0s; }
.process-step:nth-child(4).is-visible { transition-delay: 1.5s; }

/* === SETAS CONECTORAS entre os cards === */
.process-step:not(:last-child)::after {
    content: '\f061'; /* fa-arrow-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: -1.6rem;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-cyan);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    background: #FFFFFF;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.25);
    border: 2px solid rgba(2, 132, 199, 0.3);
    transform: translateY(-50%) scale(0.5);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Esconde a seta em layout mobile/tablet (2 colunas) — só aparece em desktop */
@media (max-width: 1023px) {
    .process-step:not(:last-child)::after { display: none; }
}

/* Setas aparecem sequencialmente — depois do card anterior terminar */
.process-step:nth-child(1).is-visible:not(:last-child)::after {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    transition-delay: 1.2s; /* depois do card 2 entrar (0.5s + 1.6s/2) */
}
.process-step:nth-child(2).is-visible:not(:last-child)::after {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    transition-delay: 1.7s;
}
.process-step:nth-child(3).is-visible:not(:last-child)::after {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    transition-delay: 2.2s;
}

/* Pulso sutil nas setas após aparecerem */
.process-step.is-visible:not(:last-child)::after {
    animation: arrowPulse 2.4s ease-in-out infinite;
    animation-delay: 2.5s;
}

@keyframes arrowPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(2, 132, 199, 0.25); }
    50%      { box-shadow: 0 8px 28px rgba(2, 132, 199, 0.5);  }
}

.step-badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.2);
    border-radius: var(--radius-sm);
    color: var(--primary-cyan);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.4rem;
}

.process-step h4 {
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
    color: var(--text-heading);
}

.process-step p {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.65;
}

/* WIDGET INTERATIVO: CALCULADORA DE ELEGIBILIDADE BARIÁTRICA (LIGHT TONE) */
.bmi-calculator-widget {
    background: #FFFFFF;
    border: 1px solid rgba(2, 132, 199, 0.2);
    border-radius: var(--radius-lg);
    padding: 3rem 2.2rem;
    box-shadow: 0 20px 50px rgba(2, 132, 199, 0.08);
    max-width: 860px;
    margin: 3.5rem auto 0 auto;
    /* Zoom-in lento ao aparecer */
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1), transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bmi-calculator-widget.is-visible {
    opacity: 1;
    transform: scale(1);
}

.calc-header {
    text-align: center;
    margin-bottom: 2.2rem;
}

.calc-header h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
}

.calc-header p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.calc-inputs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-bottom: 2.2rem;
}

@media (min-width: 768px) {
    .calc-inputs {
        grid-template-columns: 1fr 1fr;
    }
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.input-group label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-heading);
}

.input-group input {
    background: #F8FAFC;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-md);
    padding: 1rem 1.3rem;
    color: var(--text-heading);
    font-size: 1.15rem;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: var(--primary-cyan);
    background: #FFFFFF;
    box-shadow: 0 0 15px rgba(2, 132, 199, 0.15);
}

.calc-result-box {
    background: rgba(2, 132, 199, 0.04);
    border: 1px dashed rgba(2, 132, 199, 0.3);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    text-align: center;
    display: none;
    margin-top: 1.8rem;
    animation: fadeIn 0.4s ease;
}

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

.calc-result-box.active {
    display: block;
}

.calc-bmi-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-cyan);
}

.calc-bmi-status {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.calc-bmi-desc {
    font-size: 0.95rem;
    color: var(--text-body);
}

/* SEÇÃO 6: O ESPECIALISTA LIGHT */
.doctor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .doctor-grid {
        grid-template-columns: 0.85fr 1.15fr;
    }
}

.doctor-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 3px solid #FFFFFF;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 0 30px rgba(2, 132, 199, 0.1);
}

.doctor-image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.doctor-content h2 {
    font-size: 2.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
}

.doctor-sub {
    font-size: 1.12rem;
    color: var(--primary-cyan);
    font-weight: 600;
    margin-bottom: 1.6rem;
}

.doctor-bio p {
    font-size: 1.02rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 1.3rem;
}

/* === DOCTOR BIO — ENTRADA LENTA COM STAGGER + DESTAQUE PRETO/NEGRITO === */
.doctor-bio .bio-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.doctor-bio .bio-anim.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger: 1º parágrafo entra primeiro, depois o destaque */
.doctor-bio .bio-anim:nth-of-type(1).is-visible { transition-delay: 0s; }
.doctor-bio .bio-anim:nth-of-type(2).is-visible { transition-delay: 0.3s; }

/* Parágrafo destaque — preto e negrito (corrige o branco invisível) */
.doctor-bio .bio-highlight {
    color: #0F172A !important;
    font-weight: 700 !important;
    font-size: 1.06rem;
    padding: 1.3rem 1.4rem;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.06) 0%, rgba(14, 165, 233, 0.02) 100%);
    border-left: 4px solid var(--primary-cyan);
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.doctor-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.doc-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-heading);
}

.doc-pill i {
    color: var(--primary-cyan);
}

/* SEÇÃO 7: URGÊNCIA E FECHAMENTO LIGHT */
.cta-closing-box {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F6FE 100%);
    border: 1px solid rgba(2, 132, 199, 0.25);
    border-radius: var(--radius-lg);
    padding: 4rem 2.2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(2, 132, 199, 0.12);
    /* Zoom-in lento (igual calculadora IMC) */
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-closing-box.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Cascata lenta nos elementos internos — mesma mecânica das seções anteriores */
.cta-closing-box .closing-anim {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-closing-box .closing-anim.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger sequencial: badge → título → texto → botão */
.cta-closing-box .urgency-badge.closing-anim.is-visible { transition-delay: 0.6s; }
.cta-closing-box .closing-title.closing-anim.is-visible  { transition-delay: 0.9s; }
.cta-closing-box .closing-text.closing-anim.is-visible   { transition-delay: 1.2s; }
.cta-closing-box .hero-cta-pulse.closing-anim.is-visible { transition-delay: 1.5s; }

.closing-title {
    font-size: 2.3rem;
    margin-bottom: 1.3rem;
    color: var(--text-heading);
}

.closing-text {
    font-size: 1.12rem;
    color: var(--text-body);
    max-width: 800px;
    margin: 0 auto 2.8rem auto;
    line-height: 1.85;
}

/* URGENCY BADGE */
.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1.3rem;
    background: #FEF2F2;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-full);
    color: var(--warning-red);
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* FOOTER (#0CA1E4 Theme - 4 Column Layout) */
.footer {
    background: #0CA1E4;
    color: #FFFFFF;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4.5rem 0 2.2rem 0;
    box-shadow: 0 -4px 25px rgba(12, 161, 228, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1.2fr 1fr 0.8fr;
    }
}

.footer-col h3 {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
    color: #FFFFFF;
}

.footer-col h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
    letter-spacing: -0.2px;
}

.footer-col p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.92);
}

.footer-cred {
    font-weight: 700;
    margin-top: 0.3rem;
    color: #FFFFFF !important;
}

.footer-location-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    color: #FFFFFF;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #FFFFFF;
    line-height: 1.5;
}

.footer-contact-item i {
    font-size: 1.05rem;
    margin-top: 0.15rem;
    color: #FFFFFF;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-contact-item a:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 0.85rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.25rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #FFFFFF;
    color: #0CA1E4;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2.2rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    text-align: center;
}

/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 62px;
    height: 62px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 2.3rem;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: whatsappPulse 2.5s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.12);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* MOBILE ADAPTATIONS */
@media (max-width: 576px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .btn-cta {
        width: 100%;
        font-size: 0.95rem;
        padding: 1.1rem 1.6rem;
    }
    
    .floating-whatsapp {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 56px;
        height: 56px;
        font-size: 1.9rem;
    }

    .tech-hud-badge {
        display: none;
    }
}
