/* ==========================================================================
   Tríade de Destaques - Landing Page CardVacinas
   Design System: Tech-Health, Glassmorphism, Micro-interações
   ========================================================================== */

.triade-section {
    position: relative;
    padding: clamp(1.75rem, 3.5vh, 2.75rem) 0;
    background: #ffffff;
    overflow: hidden;
    min-height: calc(100svh - var(--cv-landing-anchor-offset));
    display: flex;
    align-items: center;
}

.triade-header {
    margin-bottom: 1.25rem;
}

.triade-header .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.triade-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.triade-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px -12px rgba(37, 99, 235, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
    border-color: rgba(37, 99, 235, 0.3);
}

/* Card 1 - Dark Tech Showcase (Canvas Animation) */
.triade-card-tech {
    background: linear-gradient(160deg, #060913 0%, #0c1527 100%);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.4);
}

.triade-card-tech:hover {
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.35);
}

.triade-canvas-wrapper {
    position: relative;
    width: 100%;
    height: 135px;
    background: #030712;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.triade-canvas-wrapper canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.triade-canvas-replay {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #94a3b8;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 5;
}

.triade-canvas-replay:hover {
    color: #ffffff;
    border-color: #38bdf8;
    background: rgba(37, 99, 235, 0.4);
}

/* Card 2 - Visual SUS Import Mockup */
.triade-sus-visual {
    height: 135px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
    padding: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.sus-flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 320px;
}

.sus-doc-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    padding: 0.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
    width: 90px;
}

.sus-arrow-anim {
    color: #10b981;
    font-size: 1.25rem;
    animation: pulseArrow 1.8s ease-in-out infinite;
}

@keyframes pulseArrow {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(5px); opacity: 1; }
}

.sus-result-box {
    background: #ffffff;
    border: 1px solid #86efac;
    border-radius: 0.75rem;
    padding: 0.6rem 0.8rem;
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.12);
    width: 130px;
}

/* Card 3 - Visual Medical Sharing */
.triade-share-visual {
    height: 180px;
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.share-interactive-box {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: 0.85rem;
    padding: 0.85rem 1.1rem;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 280px;
}

.share-qr-icon {
    width: 48px;
    height: 48px;
    background: #1e293b;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.triade-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-tech-cyan {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-green-soft {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-blue-soft {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.25);
}

.triade-card-body {
    padding: 1.15rem 1.25rem 0.85rem 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.triade-card-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.triade-card-body p {
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 0.75rem;
    flex-grow: 1;
}

.triade-card-tech .triade-card-body h3 {
    color: #f8fafc;
}

.triade-card-tech .triade-card-body p {
    color: #94a3b8;
}

.triade-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 0.85rem 0;
    font-size: 0.8rem;
}

.triade-card-features li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.3rem;
    color: #475569;
}

.triade-card-tech .triade-card-features li {
    color: #cbd5e1;
}

.triade-card-footer {
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

.triade-card-tech .triade-card-footer {
    border-top-color: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Hero - Assinatura Tecnológica (Canvas Engine v3)
   ========================================================================== */

.hero-animation-frame {
    position: relative;
    width: 100%;
    height: 280px;
    background: #030712;
    border-radius: 20px;
    border: 1px solid rgba(13, 148, 136, 0.25);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(13, 148, 136, 0.12), 0 0 80px rgba(13, 148, 136, 0.08);
    overflow: hidden;
}

.hero-animation-frame canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-frame-caption {
    position: absolute;
    left: 14px;
    bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    background: rgba(3, 7, 18, 0.6);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(56, 189, 248, 0.18);
    backdrop-filter: blur(4px);
    z-index: 5;
}

.hero-frame-caption i {
    color: #38bdf8;
}

.hero-frame-divider {
    width: 1px;
    height: 12px;
    background: rgba(148, 163, 184, 0.35);
}

/* ==========================================================================
   Card 1 - Visual do Motor SBIm (regras clínicas)
   ========================================================================== */

.triade-sbim-visual {
    height: 180px;
    background: linear-gradient(160deg, #060913 0%, #0c1527 100%);
    border-bottom: 1px solid rgba(37, 99, 235, 0.25);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.triade-sbim-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(13, 148, 136, 0.12) 0%, transparent 45%), radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.14) 0%, transparent 45%);
    pointer-events: none;
}

.sbim-engine-rules {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sbim-rule-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #7dd3fc;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
}

.sbim-rule-chip i {
    color: #38bdf8;
    font-size: 0.7rem;
}

/* ==========================================================================
   Navegação rápida da landing (âncoras de seção)
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

.landing-page {
    --cv-landing-anchor-offset: 64px;
    /* Footer institucional — paridade visual com a pagina estatica publica */
    --cv-footer-bg: #0b1329;
    --cv-footer-text: #cbd5e1;
    --cv-footer-box-text: #e2e8f0;
    --cv-footer-muted: #94a3b8;
    --cv-footer-divider: #1e293b;
    --cv-footer-card-bg: #132042;
    --cv-footer-card-border: #1e3a8a;
    --cv-footer-accent: #4ade80;
}

.landing-quicknav {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    padding: 0.5rem 0;
}

.landing-nav-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.landing-brand,
.landing-nav-sections,
.landing-nav-actions {
    display: flex;
    align-items: center;
}

.landing-brand {
    gap: 0.5rem;
    color: #102647;
    font-weight: 700;
}

.landing-nav-sections,
.landing-nav-actions {
    gap: 0.25rem;
}

.landing-quicknav-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    text-decoration: none;
    min-height: 44px;
}

.landing-page .btn,
.demo-tab-btn,
.journey-actions .btn {
    min-height: 44px;
}

.landing-page a:focus-visible,
.landing-page button:focus-visible {
    outline: 3px solid var(--theme-focus-ring);
    outline-offset: 3px;
}

.landing-quicknav-link:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
}

.landing-quicknav-link.is-active {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

.landing-quicknav-link i {
    font-size: 0.75rem;
}

#familias, #destaques, #demonstracao, #para-quem, #sbim, #campanhas, #depoimentos, #institucional {
    scroll-margin-top: var(--cv-landing-anchor-offset);
}

.cv-landing-hero {
    min-height: clamp(28rem, 67svh, 42rem);
    display: flex;
    align-items: center;
    padding-top: clamp(1.5rem, 3.2vh, 2.5rem);
    padding-bottom: clamp(1.5rem, 3.2vh, 2.5rem);
    position: relative;
    overflow: hidden;
}

.cv-landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.82) 0%, rgba(13, 148, 136, 0.68) 50%, rgba(15, 23, 42, 0.88) 100%), url("/static/core/img/landing/cv_hero_clinical.4341a710fd62.jpg") center/cover no-repeat;
    opacity: 0.88;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}

.landing-hero-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    align-items: center;
    gap: clamp(1.25rem, 5vw, 5rem);
}

.landing-institution-intro {
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 1rem;
    background: #102b45;
    color: #fff;
}

.landing-institution-intro h2 {
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.25;
}

.landing-institution-intro p {
    color: #e0edf8;
}

.cv-landing-hero > .container {
    position: relative;
    z-index: 2;
}

.cv-landing-hero.hero-mesh .hero-title,
.cv-landing-hero.hero-mesh .text-accent {
    color: var(--white);
}

.cv-landing-hero.hero-mesh .hero-subtitle {
    color: var(--blue-50);
}

.cv-landing-hero.hero-mesh .btn-outline-secondary {
    color: var(--white);
    border-color: var(--white);
}

.cv-landing-hero.hero-mesh .btn-outline-secondary:hover {
    color: var(--theme-primary);
    background: var(--white);
}

@media (max-width: 767.98px) {
    .landing-page {
        --cv-landing-anchor-offset: 106px;
    }

    .landing-nav-layout {
        flex-wrap: wrap;
        gap: 0;
    }

    .landing-nav-sections {
        order: 3;
        width: 100%;
        justify-content: space-between;
    }

    .landing-quicknav-link {
        padding-inline: 0.35rem;
    }

    .landing-hero-layout {
        grid-template-columns: 1fr;
    }
}

.cv-audience-section {
    min-height: calc(100svh - var(--cv-landing-anchor-offset));
    display: flex;
    align-items: center;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.cv-solution-section {
    min-height: calc(100svh - var(--cv-landing-anchor-offset));
    display: flex;
    align-items: center;
    padding: 5rem 0;
    border-bottom: 1px solid var(--ui-border);
}

.cv-solution-section h2 {
    margin-bottom: 1rem;
    color: var(--ui-text-main);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1.15;
}

.cv-solution-visual {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem);
}

.cv-care-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    max-width: 960px;
    margin: 2rem auto 0;
    padding: 1rem 1.25rem;
    color: var(--ui-text-muted);
    background: var(--theme-background);
    border: 1px solid var(--ui-border);
    border-left: 4px solid var(--brand-warning);
    border-radius: var(--theme-border-radius);
}

.cv-care-notice i {
    margin-top: 0.2rem;
    color: var(--brand-warning);
}

.cv-care-notice p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.cv-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--theme-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cv-section-lead {
    max-width: 62ch;
    color: var(--ui-text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.cv-sbim-section {
    min-height: calc(100svh - var(--cv-landing-anchor-offset));
    display: flex;
    align-items: center;
    padding: 6rem 0;
    background: var(--theme-surface);
    border-top: 1px solid var(--ui-border);
    border-bottom: 1px solid var(--ui-border);
}

.cv-sbim-section h2,
.cv-institutions-section h2 {
    margin-bottom: 1.25rem;
    color: var(--ui-text-main);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.cv-source-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.75rem;
    padding: 1rem;
    color: var(--ui-text-muted);
    background: var(--theme-background);
    border: 1px solid var(--ui-border);
    border-radius: var(--theme-border-radius);
}

.cv-source-note i {
    margin-top: 0.2rem;
    color: var(--theme-primary);
}

.cv-source-note p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.cv-sbim-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 2rem;
    padding: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    background: var(--theme-primary);
    border-radius: calc(var(--theme-border-radius) * 1.5);
    box-shadow: var(--theme-shadow-md);
}

.cv-sbim-panel h3 {
    margin-bottom: 0.75rem;
    color: var(--white);
    font-size: 1.4rem;
}

.cv-sbim-panel p {
    margin-bottom: 1.5rem;
    color: var(--blue-100);
    line-height: 1.65;
}

.cv-sbim-mark {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cv-institutions-section {
    min-height: calc(100svh - var(--cv-landing-anchor-offset));
    display: flex;
    align-items: center;
    padding: 6rem 0;
    background: var(--theme-background);
}

.cv-institutions-shell {
    padding: clamp(2rem, 5vw, 4rem);
    background: var(--theme-surface);
    border: 1px solid var(--ui-border);
    border-radius: calc(var(--theme-border-radius) * 1.5);
    box-shadow: var(--shadow-sm);
}

.cv-institution-benefits {
    display: grid;
    gap: 1rem;
}

.cv-institution-benefit {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--theme-background);
    border: 1px solid var(--ui-border);
    border-radius: var(--theme-border-radius);
}

.cv-institution-benefit > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--theme-primary);
    background: var(--blue-50);
    border-radius: var(--theme-border-radius);
}

.cv-institution-benefit h3 {
    margin-bottom: 0.25rem;
    color: var(--ui-text-main);
    font-size: 1rem;
    font-weight: 700;
}

.cv-institution-benefit p {
    margin: 0;
    color: var(--ui-text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.cv-landing-footer {
    min-height: calc(100svh - var(--cv-landing-anchor-offset));
    display: flex;
    align-items: center;
    padding: 5rem 0 2rem;
    color: var(--cv-footer-text);
    background: var(--cv-footer-bg);
}

.cv-footer-cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--cv-footer-divider);
}

.cv-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.cv-footer-brand strong,
.cv-footer-brand span {
    display: block;
}

.cv-footer-brand strong {
    color: var(--white);
    font-size: 1.3rem;
}

.cv-footer-brand span {
    color: var(--cv-footer-muted);
    font-size: 0.85rem;
}

.cv-footer-col p {
    margin: 0;
    max-width: 48ch;
    color: var(--cv-footer-text);
    font-size: 0.95rem;
    line-height: 1.7;
}

.cv-footer-col h2 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
}

.cv-footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cv-footer-col li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--cv-footer-text);
}

.cv-footer-col li i {
    margin-right: 0.6rem;
    color: var(--cv-footer-muted);
}

.cv-footer-col a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--cv-footer-text);
    text-decoration: none;
    transition: color 0.2s;
}

.cv-footer-col a:hover {
    color: var(--cv-footer-accent);
}

.cv-footer-col .cv-footer-ext,
.cv-footer-col .cv-footer-ext i {
    color: var(--cv-footer-accent);
}

.cv-legal-box {
    margin-bottom: 1.75rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid var(--cv-footer-card-border);
    border-left: 4px solid var(--green-500);
    border-radius: 0.5rem;
    background: var(--cv-footer-card-bg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.cv-legal-box h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
}

.cv-legal-box h3 i {
    color: var(--green-500);
}

.cv-legal-box p {
    margin: 0 0 0.4rem;
    color: var(--cv-footer-box-text);
    font-size: 0.92rem;
    line-height: 1.8;
}

.cv-legal-box p:last-child {
    margin-bottom: 0;
}

.cv-legal-box strong {
    color: var(--white);
    font-weight: 600;
}

.cv-copyright {
    text-align: center;
    font-size: 0.85rem;
    color: var(--cv-footer-muted);
}

@media (min-width: 992px) and (max-height: 900px) {
    /* Mantém os blocos críticos responsivos mesmo quando o CDN do Bootstrap
       estiver indisponível durante carregamento inicial. */
    .landing-page > .navbar-custom .container,
    .landing-page > .navbar-custom .navbar-collapse,
    .landing-page > .navbar-custom .navbar-nav {
        display: flex;
        align-items: center;
    }

    .landing-page > .navbar-custom .container {
        max-width: 1140px;
        margin: 0 auto;
        padding: 0 0.75rem;
    }

    .landing-page > .navbar-custom .navbar-toggler {
        display: none;
    }

    .landing-page > .navbar-custom .navbar-collapse {
        flex-grow: 1;
    }

    .landing-page > .navbar-custom .navbar-nav {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .landing-page > .navbar-custom .navbar-nav:last-child {
        margin-left: auto;
    }

    .cv-landing-hero .row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        gap: 1.5rem;
    }

    .triade-section .row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cv-landing-hero .row > *,
    .triade-section .row > * {
        width: 100%;
        max-width: none;
    }

    .triade-section {
        min-height: calc(100svh - var(--cv-landing-anchor-offset));
        display: flex;
        align-items: center;
        padding: clamp(1rem, 3svh, 1.5rem) 0;
    }

    .triade-section > .container {
        width: calc(100% - 2rem);
        max-width: 1280px;
    }

    .triade-header {
        margin-bottom: 1rem;
    }

    .triade-header .section-badge {
        margin-bottom: 0.5rem;
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }

    .triade-header .section-title {
        margin-bottom: 0.35rem;
        font-size: clamp(1.75rem, 2.4vw, 2rem);
        line-height: 1.15;
    }

    .triade-header .section-subtitle {
        max-width: 900px !important;
        margin-bottom: 0;
        font-size: 0.9375rem;
        line-height: 1.4;
    }

    .triade-section .row {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    .triade-sbim-visual,
    .triade-sus-visual,
    .triade-share-visual {
        height: 96px;
        padding: 0.75rem;
    }

    .triade-sbim-visual {
        gap: 1rem;
    }

    .sbim-engine-rules {
        gap: 0.25rem;
    }

    .sbim-rule-chip {
        padding: 0.2rem 0.55rem;
    }

    .triade-card-body {
        padding: 1rem;
    }

    .triade-card-body > .d-flex {
        gap: 0.5rem;
        margin-bottom: 0.35rem !important;
    }

    .triade-card-body h3 {
        margin-bottom: 0.4rem;
        font-size: 1.08rem;
        line-height: 1.25;
    }

    .triade-card-body p {
        margin-bottom: 0.6rem;
        font-size: 0.86rem;
        line-height: 1.38;
    }

    .triade-card-features {
        margin-bottom: 0.55rem;
        font-size: 0.82rem;
        line-height: 1.3;
    }

    .triade-card-features li {
        align-items: flex-start;
        margin-bottom: 0.2rem;
    }

    .triade-card-features li i {
        margin-top: 0.2rem;
    }

    .triade-card-footer {
        padding-top: 0.5rem;
    }

    .triade-card-footer .btn {
        min-height: 44px;
    }

    .cv-landing-hero {
        padding-top: clamp(2rem, 5svh, 3rem);
        padding-bottom: clamp(2rem, 5svh, 3rem);
    }

    .cv-landing-hero .hero-title {
        margin-bottom: 0.9rem;
        font-size: clamp(2.35rem, 3.5vw, 2.85rem);
    }

    .cv-landing-hero .hero-subtitle {
        margin-bottom: 1.5rem;
        font-size: 1.05rem;
    }

    .hero-animation-frame {
        height: clamp(210px, 34svh, 280px);
    }

    .cv-audience-section,
    .cv-solution-section,
    .cv-sbim-section,
    .cv-institutions-section {
        min-height: calc(100svh - var(--cv-landing-anchor-offset));
        padding-top: clamp(1.75rem, 4svh, 2.5rem);
        padding-bottom: clamp(1.75rem, 4svh, 2.5rem);
    }

    .cv-audience-section .section-title {
        margin-bottom: 0.65rem;
        font-size: 2rem;
    }

    .cv-audience-section .section-subtitle {
        margin-bottom: 1.5rem;
        font-size: 1rem;
    }

    .cv-audience-section .row {
        --bs-gutter-y: 1rem;
    }

    .cv-audience-section .feature-card {
        padding: 1.25rem;
    }

    .cv-audience-section .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0.75rem;
        font-size: 1.25rem;
    }

    .cv-audience-section .feature-card h4 {
        margin-bottom: 0.5rem;
        font-size: 1.25rem;
    }

    .cv-audience-section .feature-card p,
    .cv-audience-section .feature-card li {
        font-size: 0.85rem;
        line-height: 1.45;
    }

    .cv-audience-section .feature-card ul {
        margin-top: 0.75rem !important;
        margin-bottom: 0;
    }

    .cv-care-notice {
        margin-top: 1rem;
        padding: 0.75rem 1rem;
    }

    .cv-care-notice p {
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .cv-solution-section h2 {
        font-size: 2.1rem;
    }

    .cv-solution-section .lead {
        font-size: 1rem;
    }

    .cv-solution-section .mt-4 {
        margin-top: 1.25rem !important;
    }

    .cv-solution-section .mb-3 {
        margin-bottom: 0.75rem !important;
    }

    .cv-solution-visual {
        min-height: 220px;
        padding: 2rem;
    }

    .cv-solution-visual .fa-10x {
        font-size: 8em;
    }

    .cv-sbim-section h2,
    .cv-institutions-section h2 {
        margin-bottom: 0.85rem;
        font-size: clamp(2.1rem, 3vw, 2.5rem);
    }

    .cv-section-eyebrow {
        margin-bottom: 0.65rem;
    }

    .cv-section-lead {
        font-size: 1rem;
        line-height: 1.55;
    }

    .cv-source-note {
        margin-top: 1rem;
        padding: 0.75rem;
    }

    .cv-source-note p {
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .cv-sbim-panel {
        gap: 1.25rem;
        padding: 2rem;
    }

    .cv-sbim-panel h3 {
        font-size: 1.25rem;
    }

    .cv-sbim-panel p {
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .cv-institutions-shell {
        padding: 2rem;
    }

    .cv-institution-benefits {
        gap: 0.75rem;
    }

    .cv-institution-benefit {
        grid-template-columns: 42px 1fr;
        gap: 0.75rem;
        padding: 0.85rem 1rem;
    }

    .cv-institution-benefit > i {
        width: 42px;
        height: 42px;
    }

    .cv-landing-footer {
        padding: 2.5rem 0 1.25rem;
    }

    .cv-footer-cols {
        gap: 1.75rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .cv-footer-brand {
        margin-bottom: 0.75rem;
    }

    .cv-legal-box {
        margin-bottom: 1.25rem;
        padding: 1.1rem 1.25rem;
    }
}

@media (min-width: 992px) and (max-height: 700px) {
    .cv-landing-hero .row {
        grid-template-columns: 1fr;
    }

    .cv-landing-hero .row > .col-lg-6:last-child {
        display: none;
    }

    .cv-landing-hero {
        box-sizing: border-box;
        min-height: 0;
        height: auto;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .cv-landing-hero .hero-title {
        margin-bottom: 0.5rem;
        font-size: 2rem;
    }

    .cv-landing-hero .hero-subtitle {
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .hero-animation-frame {
        height: 170px;
    }

    .triade-section {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .triade-header {
        margin-bottom: 0.5rem;
    }

    .triade-sbim-visual,
    .triade-sus-visual,
    .triade-share-visual {
        height: 72px;
    }

    .triade-card-body {
        padding: 0.75rem;
    }

    .triade-card-body p,
    .triade-card-features {
        font-size: 0.82rem;
    }
}

@media (max-width: 991.98px) {
    .cv-landing-hero {
        min-height: auto;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .cv-audience-section,
    .cv-solution-section,
    .cv-sbim-section,
    .cv-institutions-section {
        min-height: auto;
        padding: 5rem 0;
    }

    .cv-solution-visual {
        min-height: 220px;
    }

    .cv-sbim-panel {
        grid-template-columns: 1fr;
    }

    .cv-footer-cols {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 767.98px) {
    .landing-quicknav-link {
        min-height: 44px;
    }

    .cv-sbim-section,
    .cv-institutions-section {
        padding: 4rem 0;
    }

    .cv-sbim-panel,
    .cv-institutions-shell {
        padding: 1.5rem;
    }

    .cv-institution-benefit {
        grid-template-columns: 44px 1fr;
        padding: 1rem;
    }

    .cv-institution-benefit > i {
        width: 44px;
        height: 44px;
    }

    .cv-landing-footer {
        min-height: auto;
        padding-top: 4rem;
    }

    .cv-legal-box {
        padding: 1.1rem 1.25rem;
    }
}

/* ==========================================================================
   Seção de Demonstração Interativa em 4 Jornadas (v8.20.6)
   ========================================================================== */

.demo-showcase-section {
    position: relative;
    padding: clamp(1.5rem, 3vh, 2.5rem) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    min-height: calc(100svh - var(--cv-landing-anchor-offset));
    display: flex;
    align-items: center;
}

.demo-showcase-section::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.demo-showcase-section > .container {
    position: relative;
    z-index: 1;
}

.demo-header {
    margin-bottom: 0.85rem;
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.9rem;
    border-radius: 9999px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: #2563eb;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

.demo-title {
    font-size: clamp(1.55rem, 2.3vw, 1.95rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.demo-subtitle {
    font-size: 0.92rem;
    color: #64748b;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.45;
}

/* Segmented Pill Tabs Navigation */
.demo-tabs-nav {
    display: inline-flex;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 4px;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06);
    margin-top: 0.65rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}

.demo-tab-btn {
    border: none;
    background: transparent;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.demo-tab-btn:hover {
    color: #2563eb;
    background: #eff6ff;
}

.demo-tab-btn.active {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.demo-tab-btn .tab-badge {
    font-size: 0.68rem;
    padding: 1px 6px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.25);
    font-weight: 700;
    margin-left: 2px;
}

.demo-btn-all-personas {
    border: 1px dashed rgba(37, 99, 235, 0.4);
    background: rgba(37, 99, 235, 0.04);
    color: #1d4ed8;
}

.demo-btn-all-personas:hover {
    background: #eff6ff;
    border-color: #2563eb;
    color: #2563eb;
}

/* Display Card (Showcase Shell) */
.demo-showcase-shell {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.02);
    overflow: hidden;
    position: relative;
    margin-top: 1rem;
}

.demo-journey-pane {
    display: none;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    padding: 1.5rem 2rem;
}

.demo-journey-pane.active {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 2rem;
    align-items: center;
    opacity: 1;
    transform: translateY(0);
}

/* Journey Content Column */
.journey-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 9999px;
    margin-bottom: 0.45rem;
}

.kicker-health {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
    border: 1px solid rgba(13, 148, 136, 0.25);
}

.kicker-b2c {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.25);
}

.kicker-corp {
    background: rgba(30, 64, 175, 0.1);
    color: #1e40af;
    border: 1px solid rgba(30, 64, 175, 0.25);
}

.kicker-clinical {
    background: rgba(13, 148, 136, 0.1);
    color: #0f766e;
    border: 1px solid rgba(13, 148, 136, 0.25);
}

.journey-title {
    font-size: clamp(1.2rem, 1.6vw, 1.45rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 0.45rem;
    letter-spacing: -0.01em;
}

.journey-description {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 0.75rem;
}

.journey-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.85rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.journey-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8rem;
    color: #334155;
    line-height: 1.35;
}

.journey-feature-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 0.72rem;
}

.icon-teal { background: #ccfbf1; color: #0d9488; }
.icon-blue { background: #dbeafe; color: #2563eb; }
.icon-indigo { background: #e0e7ff; color: #4338ca; }
.icon-green { background: #dcfce7; color: #16a34a; }

.journey-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.journey-actions .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
}

/* Journey Visual Column (Mockup Container) */
.journey-mockup-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.14), 0 6px 12px -3px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    max-height: 280px;
}

.journey-mockup-wrapper:hover {
    transform: translateY(-3px) scale(1.008);
    box-shadow: 0 24px 48px -12px rgba(37, 99, 235, 0.18);
}

.journey-mockup-img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-mockup-wrapper:hover .journey-mockup-img {
    transform: scale(1.02);
}

.journey-status-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 6px 12px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Modal de Personas Demo */
.demo-persona-card {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 14px;
    padding: 1rem;
    background: #ffffff;
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.demo-persona-card:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
}

.demo-persona-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
}

.journey-tag-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.journey-tag-badge {
    padding: 3px 9px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-live-green {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.badge-live-blue {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
}

/* Audience Photographic Cards ("Para Quem") */
.audience-photo-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.audience-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.3);
}

.audience-photo-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #0f172a;
}

.audience-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.audience-photo-card:hover .audience-photo-wrap img {
    transform: scale(1.05);
}

.audience-photo-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.audience-photo-card .card-body-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

@media (max-width: 991.98px) {
    .demo-journey-pane.active {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem 1.5rem;
    }

    .demo-showcase-section {
        padding: 4rem 0;
    }
}

@media (max-width: 767.98px) {
    .cv-landing-hero {
        padding-block: 1.75rem;
    }

    .cv-landing-hero .hero-title {
        font-size: clamp(2rem, 8vw, 2.6rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    html:has(body.landing-page) {
        scroll-behavior: auto;
    }
}

.landing-brand-animation {
    margin-bottom: 1rem;
}

.landing-brand-animation summary {
    width: fit-content;
    min-height: 44px;
    padding-block: 0.65rem;
    cursor: pointer;
}

.landing-brand-animation .hero-animation-frame {
    max-width: 36rem;
}

.journey-mockup-img.journey-family-screenshot {
    object-fit: contain;
}
