/**
 * AUTOESCOLA FUSION + FSN EXAMES TOXICOLÓGICOS
 * Premium Dark Design Layer — Identidade de Agência Profissional
 *
 * Camada visual aplicada sobre o design system. Remove ruídos "genéricos de IA"
 * (shimmer, glow excessivo, badges coloridos) e impõe hierarquia editorial:
 * base navy profunda, acentos discretos e tipografia protagonista.
 */

:root {
    /* Deep Navy — Base Premium Dark */
    --pre-dark-950: #05080F;
    --pre-dark-900: #0A101F;
    --pre-dark-800: #101A30;
    --pre-dark-700: #182540;
    --pre-line: rgba(255, 255, 255, 0.09);
    --pre-line-soft: rgba(255, 255, 255, 0.06);
    --pre-text-2: #B6C2D4;
    --pre-text-3: #8296AE;
    --pre-amber: #F5A524;
    --pre-teal: #14B8A6;

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
}

/* ==========================================================================
   1. TIPOGRAFIA — HIERARQUIA EDITORIAL
   ========================================================================== */

/* Overline / eyebrow: etiqueta de seção profissional */
.eyebrow,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--pre-amber);
    margin-bottom: 1rem;
}
.eyebrow::before,
.section-eyebrow::before {
    content: '';
    width: 28px;
    height: 1.5px;
    background: linear-gradient(90deg, var(--pre-amber), transparent);
}
.eyebrow-teal,
.section-eyebrow-teal {
    color: var(--pre-teal);
}
.eyebrow-teal::before,
.section-eyebrow-teal::before {
    background: linear-gradient(90deg, var(--pre-teal), transparent);
}

/* Badges de seção (overlines existentes) — refinados, sem fundo berrante */
.badge-fusion {
    background: transparent !important;
    color: #FCD34D !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    border-radius: var(--radius-full) !important;
    font-family: var(--font-heading);
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem !important;
}
.badge-fsn {
    background: transparent !important;
    color: #5EEAD4 !important;
    border: 1px solid rgba(13, 148, 136, 0.35) !important;
    border-radius: var(--radius-full) !important;
    font-family: var(--font-heading);
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem !important;
}
.badge-glass,
.badge.bg-white.bg-opacity-10,
.badge.bg-white.bg-opacity-15,
.badge.bg-white.bg-opacity-20,
.badge.bg-white.bg-opacity-25 {
    background: rgba(255, 255, 255, 0.15) !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ==========================================================================
   1B. TIPOGRAFIA EDITORIAL — ESCALA E HIERARQUIA DE AGENCIA
   ========================================================================== */

/* Display headlines — tipografia protagonista com DM Serif Display */
.display-hero,
.hero-title-editorial {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: #fff;
}

/* Section headlines — escala agencia */
.section-title-agency {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: var(--tracking-tightest);
    color: #fff;
}

/* Section labels numerados — estilo agencia editorial */
.section-label-number {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 6vw, 6rem);
    font-weight: 400;
    line-height: 1;
    color: rgba(255, 255, 255, 0.04);
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    pointer-events: none;
    user-select: none;
}

.section-label-number-teal {
    color: rgba(20, 184, 166, 0.06);
}

/* Body text — mais limpo e legível */
.editorial-body {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--pre-text-2);
    max-width: 60ch;
}

/* Stats grandes — tipografia de impacto */
.stat-display {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--pre-amber);
}

.stat-display-teal {
    color: var(--pre-teal);
}

/* ==========================================================================
   2. BOTÕES — SÓLIDOS, PRECISOS COM MICRO-INTERAÇÕES TÁTEIS & RIPPLE
   ========================================================================== */

.btn-fusion {
    position: relative;
    overflow: hidden;
    background: var(--pre-amber) !important;
    color: #0A101F !important;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 8px 22px -8px rgba(245, 165, 36, 0.45) !important;
    transition: transform var(--transition-smooth), background-color var(--transition-fast), box-shadow var(--transition-smooth) !important;
    will-change: transform;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.btn-fusion:hover {
    background: #E09014 !important;
    color: #05080F !important;
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 14px 28px -8px rgba(245, 165, 36, 0.55) !important;
}
.btn-fusion:active {
    transform: scale(0.97) translate3d(0, 0, 0) !important;
    box-shadow: 0 4px 12px -4px rgba(245, 165, 36, 0.4) !important;
}

.btn-fsn {
    position: relative;
    overflow: hidden;
    background: var(--pre-teal) !important;
    color: #04211E !important;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 8px 22px -8px rgba(20, 184, 166, 0.4) !important;
    transition: transform var(--transition-smooth), background-color var(--transition-fast), box-shadow var(--transition-smooth) !important;
    will-change: transform;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.btn-fsn:hover {
    background: #0FAF9F !important;
    color: #04211E !important;
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 14px 28px -8px rgba(20, 184, 166, 0.5) !important;
}
.btn-fsn:active {
    transform: scale(0.97) translate3d(0, 0, 0) !important;
    box-shadow: 0 4px 12px -4px rgba(20, 184, 166, 0.35) !important;
}

.btn-whatsapp {
    position: relative;
    overflow: hidden;
    background: #1FAF54 !important;
    color: #FFFFFF !important;
    font-weight: 800;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 8px 22px -8px rgba(31, 175, 84, 0.45) !important;
    transition: transform var(--transition-smooth), background-color var(--transition-fast), box-shadow var(--transition-smooth) !important;
    will-change: transform;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.btn-whatsapp:hover {
    background: #189A49 !important;
    color: #FFFFFF !important;
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 14px 28px -8px rgba(31, 175, 84, 0.55) !important;
}
.btn-whatsapp:active {
    transform: scale(0.97) translate3d(0, 0, 0) !important;
}

.btn-outline-white {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04) !important;
    color: #E8EDF5 !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 700;
    backdrop-filter: blur(8px);
    transition: transform var(--transition-smooth), background-color var(--transition-fast), border-color var(--transition-fast) !important;
    will-change: transform;
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translate3d(0, -2px, 0);
}
.btn-outline-white:active {
    transform: scale(0.97) translate3d(0, 0, 0) !important;
}

.btn-outline-fusion {
    position: relative;
    overflow: hidden;
    background: transparent !important;
    color: #FCD34D !important;
    border: 1.5px solid rgba(245, 158, 11, 0.5) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 800;
    transition: all var(--transition-smooth) !important;
}
.btn-outline-fusion:hover {
    background: var(--pre-amber) !important;
    color: #0A101F !important;
    border-color: var(--pre-amber) !important;
    transform: translate3d(0, -2px, 0);
}

/* Efeito Ripple Tátil Dinâmico (Vanilla JS Engine) */
.ripple-wave {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.38);
    transform: scale(0);
    animation: rippleAnimation 0.65s cubic-bezier(0.2, 0.8, 0.4, 1);
    will-change: transform, opacity;
    z-index: 5;
}
@keyframes rippleAnimation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Shimmer Especular Elegante no Hover (Sutil e Sofisticado) */
.btn-fusion::before,
.btn-fsn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
    transform: skewX(-20deg);
    transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 2;
}
.btn-fusion:hover::before,
.btn-fsn:hover::before {
    left: 150%;
}

/* ==========================================================================
   3. TOPBAR — BANDA SUPERIOR DE IDENTIDADE
   ========================================================================== */

.dual-brand-topbar {
    background: var(--pre-dark-900) !important;
    color: var(--pre-text-3) !important;
    font-size: 0.78rem;
    padding: 0.45rem 0;
    letter-spacing: 0.02em;
    border-bottom: 1px solid var(--pre-line-soft) !important;
}

.brand-switch-pill {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--pre-text-2) !important;
    border: 1px solid var(--pre-line) !important;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.74rem;
    padding: 0.28rem 0.9rem;
    transition: all var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
}
.brand-switch-pill:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
}
.brand-switch-pill:active {
    transform: scale(0.96);
}
.brand-switch-pill.active {
    background: rgba(245, 165, 36, 0.14) !important;
    color: #FBBF24 !important;
    border-color: rgba(245, 165, 36, 0.45) !important;
    font-weight: 700;
    box-shadow: none !important;
}
.brand-switch-pill.active-fsn {
    background: rgba(20, 184, 166, 0.14) !important;
    color: #2DD4BF !important;
    border-color: rgba(20, 184, 166, 0.45) !important;
    font-weight: 700;
    box-shadow: none !important;
}

/* ==========================================================================
   4. NAVBAR INTELIGENTE — FROSTED GLASS, SMART-HIDE & MOBILE DRAWER
   ========================================================================== */

.agency-navbar {
    background: rgba(5, 8, 15, 0.82) !important;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid var(--pre-line) !important;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
    transition: background 0.35s ease, padding 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    will-change: transform, background-color;
}

.agency-navbar.scrolled {
    background: rgba(5, 8, 15, 0.94) !important;
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    padding: 0.5rem 0 !important;
    box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.75) !important;
}

/* Smart Hide ao rolar para baixo em alta velocidade */
.agency-navbar.navbar-hidden {
    transform: translate3d(0, -100%, 0) !important;
}

/* Barra de Progresso de Leitura no Topo da Navbar */
.navbar-scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, #F5A524 0%, #FBBF24 100%);
    z-index: 1040;
    pointer-events: none;
    transition: width 0.08s linear;
}

/* Barra de Progresso alternativa para FSN */
.agency-navbar-fsn .navbar-scroll-progress,
body.fsn-layout .navbar-scroll-progress {
    background: linear-gradient(90deg, #0D9488 0%, #2DD4BF 100%);
}

.agency-navbar .nav-link {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.88rem;
    color: #E2E8F0 !important;
    padding: 0.4rem 0.55rem !important;
    margin: 0 0.25rem;
    border-radius: 8px !important;
    border-bottom: 2px solid transparent;
    background: transparent !important;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 40px;
    line-height: 1;
    vertical-align: middle;
    transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.agency-navbar .nav-link:hover {
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-bottom-color: var(--pre-amber);
    transform: translateY(-1px);
}
.agency-navbar .nav-link.active {
    color: #FBBF24 !important;
    background: rgba(245, 165, 36, 0.09) !important;
    font-weight: 700;
    border-bottom-color: var(--pre-amber);
}

/* Badges estruturados dentro dos links da navbar (Grátis / FSN) */
.nav-badge {
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 9999px;
    padding: 0.2rem 0.5rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}
.nav-badge-amber {
    background: rgba(245, 165, 36, 0.16) !important;
    color: #FBBF24 !important;
    border: 1px solid rgba(245, 165, 36, 0.4);
}
.nav-badge-teal {
    background: rgba(20, 184, 166, 0.16) !important;
    color: #2DD4BF !important;
    border: 1px solid rgba(20, 184, 166, 0.4);
}
.agency-navbar .nav-link .badge {
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(245, 165, 36, 0.16) !important;
    color: #FBBF24 !important;
    border: 1px solid rgba(245, 165, 36, 0.4);
    border-radius: var(--radius-full);
    padding: 0.22rem 0.55rem !important;
    vertical-align: middle;
}
.agency-navbar .nav-link .badge.bg-teal,
.agency-navbar .nav-link .badge[style*="fsn-primary"] {
    background: rgba(20, 184, 166, 0.16) !important;
    color: #2DD4BF !important;
    border-color: rgba(20, 184, 166, 0.4);
}

/* Backdrop Suave para o Menu Mobile */
.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 15, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1025;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}
.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Trava de Scroll no Body quando o menu mobile está aberto */
body.mobile-drawer-locked {
    overflow: hidden !important;
    touch-action: none;
}

/* Toggler e colapso mobile moderno em estilo Drawer */
.agency-navbar .navbar-toggler {
    color: #E8EDF5 !important;
    border: 1px solid var(--pre-line) !important;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.6rem;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}
.agency-navbar .navbar-toggler:active {
    transform: scale(0.94);
}
.agency-navbar .navbar-toggler i {
    color: #E8EDF5 !important;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

@media (max-width: 991.98px) {
    .agency-navbar .navbar-collapse {
        background: linear-gradient(180deg, var(--pre-dark-900) 0%, var(--pre-dark-950) 100%);
        border: 1px solid var(--pre-line);
        border-radius: var(--radius-lg);
        padding: 1.25rem 1.5rem;
        margin-top: 0.85rem;
        box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.85);
        transform-origin: top center;
    }

    /* Itens do menu surgem em cascata com efeito Stagger */
    .drawer-item-in {
        opacity: 0;
        transform: translate3d(0, 12px, 0);
        animation: drawerItemSlide 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        animation-delay: var(--stagger-delay, 0ms);
    }
    @keyframes drawerItemSlide {
        to {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }
}

/* ==========================================================================
   5. HERO FUSION — PREMIUM DARK
   ========================================================================== */

.fusion-hero {
    background-color: #070B14;
    padding: 5.5rem 0 6.25rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--pre-line);
}
.fusion-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 165, 36, 0.5), transparent);
    opacity: 0.8;
    z-index: 2;
}

/* Background Fotográfico Atmosférico com Opacidade Cinemática */
.fusion-hero-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center 36%;
    background-repeat: no-repeat;
    opacity: 0.18;
    filter: saturate(125%) contrast(115%);
    transform: scale(1.03);
    pointer-events: none;
    z-index: 0;
}

/* Overlay de Gradientes Radiais e Especulares de Marca */
.fusion-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 85% 15%, rgba(245, 158, 11, 0.22) 0%, transparent 60%),
        radial-gradient(ellipse at 12% 88%, rgba(13, 148, 136, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, rgba(7, 11, 20, 0.78) 0%, rgba(7, 11, 20, 0.92) 80%, #070B14 100%);
    pointer-events: none;
    z-index: 1;
}

.fusion-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.06;
    color: #F4F7FB !important;
    letter-spacing: var(--tracking-tightest);
}
.fusion-hero-title span.highlight-gradient {
    background: linear-gradient(120deg, #FBBF24 0%, #F59E0B 55%, #D97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.fusion-hero-lead {
    font-size: 1.15rem;
    color: #F8FAFC !important;
    max-width: 580px;
    margin-bottom: 2.25rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Pílula de autoridade — vidro escuro */
.fusion-hero .rounded-pill.bg-white {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    border: 1px solid var(--pre-line) !important;
    box-shadow: none !important;
}
.fusion-hero .rounded-pill.bg-white .badge {
    background: rgba(245, 165, 36, 0.16) !important;
    color: #FBBF24 !important;
    border: 1px solid rgba(245, 165, 36, 0.4);
}
.fusion-hero .rounded-pill.bg-white .small {
    color: #B6C2D4 !important;
}

/* Micro-garantias do hero */
.fusion-hero .text-muted {
    color: #F8FAFC !important;
}

/* Parallax apenas em elementos com classe explícita .parallax-bg */
.parallax-bg {
    transform: translateY(var(--parallax-y, 0px));
    will-change: transform;
}
@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* Card visual do hero — painel de vidro escuro */
.agency-hero-card {
    background: rgba(255, 255, 255, 0.045) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--pre-line) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6) !important;
    padding: 1.6rem;
}
.agency-hero-card:hover {
    border-color: rgba(245, 165, 36, 0.35) !important;
}

.hero-feature-pill {
    background: rgba(255, 255, 255, 0.055) !important;
    border: 1px solid var(--pre-line) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: none !important;
}
.hero-feature-pill:hover {
    background: rgba(255, 255, 255, 0.09) !important;
    box-shadow: none !important;
    transform: translateX(4px);
}
.hero-feature-pill .small {
    color: #DCE4EF !important;
}

.agency-hero-card .badge.badge-fusion {
    background: rgba(245, 165, 36, 0.14) !important;
    color: #FBBF24 !important;
    border-color: rgba(245, 165, 36, 0.4) !important;
}
.agency-hero-card h4 {
    color: #F4F7FB !important;
}
.agency-hero-card .badge.bg-dark {
    background: rgba(5, 8, 15, 0.75) !important;
    color: #FBBF24 !important;
    border: 1px solid rgba(245, 165, 36, 0.35);
}

/* Remove animação de flutuação — estático = controle */
.floating-badge,
.floating-badge-delayed {
    animation: none !important;
}

/* ==========================================================================
   6. HERO FSN — PREMIUM DARK (IDENTIDADE TEAL)
   ========================================================================== */

.fsn-hero {
    background-color: var(--pre-dark-950);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        radial-gradient(at 84% 10%, rgba(20, 184, 166, 0.15) 0px, transparent 48%),
        radial-gradient(at 10% 90%, rgba(16, 185, 129, 0.08) 0px, transparent 44%);
    background-size: 56px 56px, 56px 56px, 100% 100%, 100% 100%;
    padding: 5.5rem 0 6.25rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--pre-line);
}
.fsn-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.4), transparent);
    opacity: 0.7;
}

.fsn-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.9rem);
    font-weight: 900;
    line-height: 1.06;
    color: #F4F7FB !important;
    letter-spacing: var(--tracking-tightest);
}
.fsn-hero-title span.highlight-fsn {
    background: linear-gradient(120deg, #2DD4BF 0%, #14B8A6 55%, #0D9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.fsn-hero .col-lg-7 .text-muted,
.fsn-hero .col-lg-7 p {
    color: #F8FAFC !important;
}

/* Card branco do hero FSN — painel clínico de destaque sobre fundo escuro */
.fsn-hero .col-lg-5 .bg-white,
.fsn-hero .fsn-hero-clinical-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 34px 70px -24px rgba(0, 0, 0, 0.65) !important;
}

/* Pílula de autoridade no topo do hero FSN — vidro escuro clínico de alto contraste */
.fsn-hero .rounded-pill.bg-white,
.fsn-hero-pill {
    background: rgba(20, 184, 166, 0.10) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(45, 212, 191, 0.32) !important;
    box-shadow: none !important;
}

/* ==========================================================================
   7. HERO INTERNO ESCURO — PÁGINAS INTERNAS PRINCIPAIS
   ========================================================================== */

.hero-dark {
    background-color: var(--pre-dark-950);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
        radial-gradient(at 85% 0%, rgba(245, 165, 36, 0.1) 0px, transparent 50%);
    background-size: 56px 56px, 56px 56px, 100% 100%;
    border-bottom: 1px solid var(--pre-line) !important;
}
.hero-dark h1,
.hero-dark h2,
.hero-dark h3,
.hero-dark h4,
.hero-dark h5,
.hero-dark h6 {
    color: #F4F7FB !important;
}
.hero-dark .text-dark,
.hero-dark .text-muted,
.hero-dark p.text-muted,
.hero-dark .small,
.hero-dark .text-muted * {
    color: #F8FAFC !important;
}
.hero-dark .bg-white .text-dark,
.hero-dark .bg-white strong.text-dark {
    color: #0F172A !important;
}
.hero-dark .bg-white .text-muted,
.hero-dark .bg-white small.text-muted {
    color: #475569 !important;
}
.hero-dark .text-white-50 {
    color: #F8FAFC !important;
}
.hero-dark .badge-fusion,
.hero-dark .badge-fsn {
    background: rgba(245, 165, 36, 0.12) !important;
    color: #FBBF24 !important;
    border-color: rgba(245, 165, 36, 0.4) !important;
}
.hero-dark .badge.bg-warning.text-dark {
    background: rgba(245, 165, 36, 0.16) !important;
    color: #FBBF24 !important;
    border: 1px solid rgba(245, 165, 36, 0.4);
}
.hero-dark .badge.bg-white.text-dark {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #F4F7FB !important;
    border: 1px solid var(--pre-line);
}
.hero-dark .breadcrumb {
    --bs-breadcrumb-divider-color: #F8FAFC;
}
.hero-dark .breadcrumb-item a {
    color: #B6C2D4;
    text-decoration: none;
    transition: color var(--transition-fast);
}
.hero-dark .breadcrumb-item a:hover {
    color: #FBBF24;
}
.hero-dark .breadcrumb-item.active {
    color: #F8FAFC;
}
.hero-dark .form-label,
.hero-dark label {
    color: #E8EDF5 !important;
}
.hero-dark .form-control,
.hero-dark .form-select {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid var(--pre-line) !important;
    color: #F4F7FB !important;
}
.hero-dark .form-control::placeholder,
.hero-dark .form-select::placeholder {
    color: #F8FAFC !important;
}
.hero-dark a:not(.btn):not(.btn-fusion):not(.btn-fsn):not(.btn-whatsapp):not(.btn-outline-white):not(.btn-outline-light):not(.badge):not(.nav-pill-item):not(.breadcrumb-item *) {
    color: #FBBF24;
}
.hero-dark a:not(.btn):not(.btn-fusion):not(.btn-fsn):not(.btn-whatsapp):not(.btn-outline-white):not(.btn-outline-light):not(.badge):not(.nav-pill-item):not(.breadcrumb-item *):hover {
    color: #FFFFFF;
}

/* ==========================================================================
   8. TRUST BAR — NÚMEROS COM PRESENÇA EDITORIAL
   ========================================================================== */

.trust-bar-section {
    background: #FFFFFF !important;
    color: #1A1A1A !important;
    padding: 1.25rem 0 !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    position: relative;
    z-index: 10;
}

.trust-bar-section strong,
.trust-bar-section .text-dark {
    color: #1A1A1A !important;
    font-weight: 700;
}

.trust-bar-section small,
.trust-bar-section .text-muted {
    color: #475569 !important;
    font-weight: 500;
}

.trust-stat-number {
    font-size: 2.4rem;
    font-weight: 900;
    color: #D97706;
    text-shadow: none !important;
    letter-spacing: var(--tracking-tightest);
}
.trust-stat-label {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   8. CARTÕES — SUPERFÍCIES LIMPAS, SEM GLOW COLORIDO
   ========================================================================== */

.agency-card,
.category-card,
.testimonial-bubble,
.fsn-service-card {
    border-radius: var(--radius-md) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 2px 10px -4px rgba(10, 25, 47, 0.06) !important;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth) !important;
}
.agency-card:hover,
.category-card:hover,
.testimonial-bubble:hover,
.fsn-service-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 18px 40px -16px rgba(10, 25, 47, 0.18) !important;
    border-color: rgba(10, 25, 47, 0.16) !important;
}

/* Card em destaque — acento discreto à esquerda */
.featured-card {
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    box-shadow: 0 18px 40px -18px rgba(245, 158, 11, 0.16) !important;
}
.featured-card::before {
    width: 3px;
    height: 46px;
    top: 1.5rem;
    left: 0;
    transform: none;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, #F59E0B, #D97706);
}

.icon-box-fusion,
.icon-box-fsn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-md, 12px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-fast, 0.2s ease);
}
.icon-box-fusion {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #B45309 !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
}
.icon-box-fsn {
    background: rgba(13, 148, 136, 0.12) !important;
    color: #0D9488 !important;
    border: 1px solid rgba(13, 148, 136, 0.25) !important;
}

/* Bento grid — destaque dourado suave, holofote radial preservado */
.bento-card {
    border-color: rgba(15, 23, 42, 0.08) !important;
}
.bento-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 22px 44px -18px rgba(10, 25, 47, 0.2) !important;
    border-color: rgba(10, 25, 47, 0.16) !important;
}
.bento-card-gold {
    border-color: rgba(245, 158, 11, 0.28) !important;
}

/* ==========================================================================
   9. CTA BANNERS — PAINÉIS DE CONVERSÃO
   ========================================================================== */

.cta-banner-fusion {
    background:
        radial-gradient(at 85% 15%, rgba(245, 165, 36, 0.22) 0px, transparent 55%),
        var(--pre-dark-900) !important;
    color: #F4F7FB;
    border: 1px solid var(--pre-line);
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5) !important;
}
.cta-banner-fusion h2,
.cta-banner-fusion h3 {
    color: #F4F7FB !important;
}

.fsn-b2b-banner {
    background:
        radial-gradient(at 85% 15%, rgba(20, 184, 166, 0.2) 0px, transparent 55%),
        var(--pre-dark-900) !important;
    border: 1px solid var(--pre-line);
    border-radius: var(--radius-lg) !important;
}

/* ==========================================================================
   10. FOOTER — UNIFICADO NAVY COM FIOS DE COR DA MARCA
   ========================================================================== */

.agency-footer {
    background: var(--pre-dark-950) !important;
    color: var(--pre-text-3) !important;
    padding: 4.5rem 0 2.25rem;
    border-top: 1px solid var(--pre-line-soft);
    overflow: hidden;
}
.agency-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 68%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 165, 36, 0.5), transparent);
    pointer-events: none;
}
.agency-footer h5 {
    color: #E8EDF5 !important;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.35rem;
}
.agency-footer a {
    color: var(--pre-text-3) !important;
    text-decoration: none;
    transition: color var(--transition-fast);
}
.agency-footer a:hover {
    color: #FBBF24 !important;
}
.agency-footer .text-warning {
    color: #FBBF24 !important;
}
.agency-footer .text-white-50 {
    color: var(--pre-text-3) !important;
}
.agency-footer .text-white-50 a {
    color: var(--pre-text-3) !important;
}
.agency-footer .text-white-50 a:hover {
    color: #FBBF24 !important;
}
.agency-footer-bottom {
    border-top: 1px solid var(--pre-line-soft) !important;
    box-shadow: none !important;
    margin-top: 3rem;
    padding-top: 1.5rem;
    font-size: 0.82rem;
}

.footer-social-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid var(--pre-line) !important;
    color: #B6C2D4 !important;
    border-radius: var(--radius-sm) !important;
    width: 40px;
    height: 40px;
    transition: all var(--transition-smooth) !important;
}
.footer-social-btn:hover {
    background: var(--pre-amber) !important;
    border-color: var(--pre-amber) !important;
    color: #05080F !important;
    transform: translateY(-3px);
}

/* ==========================================================================
   11. ELEMENTOS FLUTUANTES E BARRA MOBILE
   ========================================================================== */

.whatsapp-floating-btn {
    background: #1FAF54 !important;
    box-shadow: 0 10px 25px -6px rgba(31, 175, 84, 0.5) !important;
}
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(31, 175, 84, 0.45); }
    70% { box-shadow: 0 0 0 14px rgba(31, 175, 84, 0); }
    100% { box-shadow: 0 0 0 0 rgba(31, 175, 84, 0); }
}
.whatsapp-pill-label {
    background: var(--pre-dark-900) !important;
    color: #E8EDF5 !important;
    border: 1px solid var(--pre-line);
    box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.5) !important;
}

.mobile-bottom-bar {
    background: linear-gradient(180deg, var(--pre-dark-900) 0%, var(--pre-dark-950) 100%) !important;
    border-top: 1px solid var(--pre-line) !important;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5) !important;
    padding: 0.5rem 0.75rem !important;
    gap: 0.5rem !important;
}

.mobile-bar-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.6rem 0.5rem;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    line-height: 1;
}
.mobile-bar-btn i {
    font-size: 1.2rem;
}

.mobile-bar-call {
    background: rgba(255, 255, 255, 0.06);
    color: #E8EDF5;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-bar-call:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.mobile-bar-matricula {
    background: var(--pre-amber);
    color: #0A101F;
}
.mobile-bar-matricula:hover {
    background: #E09014;
    color: #05080F;
}

.mobile-bar-whatsapp {
    background: #25D366;
    color: #FFFFFF;
}
.mobile-bar-whatsapp:hover {
    background: #1EBE5D;
    color: #FFFFFF;
}

/* ==========================================================================
   12. FAQ / SIMULADOR / BENTO — REFINAMENTO DE DETALHES
   ========================================================================== */

.agency-faq-accordion .accordion-button:not(.collapsed) {
    color: #FCD34D !important;
    background: #FFF9EE !important;
    box-shadow: none !important;
}

.cnh-simulator-container {
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 24px 48px -16px rgba(10, 25, 47, 0.14) !important;
}

.simulator-pill-btn.active {
    background: var(--pre-amber) !important;
    color: #0A101F !important;
    box-shadow: 0 10px 22px -8px rgba(245, 165, 36, 0.5) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   12-B. MOBILE — AJUSTES FINOS
   ========================================================================== */

@media (max-width: 767.98px) {
    body {
        padding-bottom: 72px !important;
    }
    .fusion-hero,
    .fsn-hero {
        padding: 2.25rem 0 2.75rem !important;
    }
    .fusion-hero-title,
    .fsn-hero-title {
        font-size: clamp(1.75rem, 6.8vw, 2.25rem) !important;
        line-height: 1.15 !important;
        margin-bottom: 1rem !important;
    }
    .fusion-hero .lead,
    .fsn-hero .lead {
        font-size: 0.98rem !important;
        line-height: 1.55 !important;
        margin-bottom: 1.25rem !important;
    }
    .agency-hero-card {
        padding: 1.25rem !important;
    }
    .hero-dark {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    .trust-bar-section {
        padding: 1.75rem 0 !important;
    }
    .trust-stat-number {
        font-size: 1.9rem !important;
    }
    .dual-brand-topbar {
        display: none !important;
    }
    .agency-footer {
        padding: 3rem 0 2rem !important;
    }
    .cta-banner-fusion,
    .fsn-b2b-banner {
        padding: 2.25rem 1.25rem !important;
    }
}

/* ==========================================================================
   13. SCROLLBAR GLOBAL REFINADA
   ========================================================================== */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0A101F, #182540);
    border-radius: 8px;
    border: 2px solid #F1F5F9;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #F5A524, #D97706);
}

/* ==========================================================================
   14. SELEÇÃO E FOCO — CONSISTÊNCIA DE MARCA
   ========================================================================== */

::selection {
    background: rgba(245, 165, 36, 0.3);
    color: #05080F;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(245, 165, 36, 0.5);
    outline-offset: 2px;
}

/* ==========================================================================
   15. LAYOUT EDITORIAL — ESPAÇAMENTO E ASIMETRIA DE AGENCIA
   ========================================================================== */

/* Seções maiores — mais respiro entre blocos */
.section-editorial {
    padding: clamp(4rem, 8vw, 8rem) 0;
    position: relative;
}

.section-editorial-lg {
    padding: clamp(5rem, 10vw, 10rem) 0;
}

/* Grid assimétrico */
.grid-asymmetric {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 768px) {
    .grid-asymmetric { grid-template-columns: 55fr 45fr; }
    .grid-asymmetric-reverse { grid-template-columns: 45fr 55fr; }
}

/* Cards sem borda — sombra sutil ou fundo diferenciado */
.card-editorial {
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-smooth);
}
.card-editorial:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Divisor sutil entre seções */
.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--pre-amber), transparent);
    margin: 0 0 2rem;
}
.section-divider-teal {
    background: linear-gradient(90deg, var(--pre-teal), transparent);
}

/* Texto grande de destaque — tipografia como elemento visual */
.text-impact {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* Imagem com tratamento duotone */
.duotone-overlay {
    position: relative;
    overflow: hidden;
}
.duotone-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5, 8, 15, 0.7), rgba(16, 26, 48, 0.5));
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* Aspect ratios consistentes */
.aspect-hero { aspect-ratio: 16/9; object-fit: cover; }
.aspect-card { aspect-ratio: 4/3; object-fit: cover; }
.aspect-square { aspect-ratio: 1; object-fit: cover; }

/* Background pattern sutil — grid de pontos */
.bg-pattern-dots {
    background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* Hover states mais elaborados */
.hover-lift {
    transition: all var(--transition-smooth);
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   16. CALOR HUMANO — MICRO-INTERAÇÕES ACOLOHEDORAS
   ========================================================================== */

/* Cards com hover quente — glow âmbar suave */
.agency-card:hover,
.category-card:hover,
.featured-card:hover {
    box-shadow: 0 12px 32px -8px rgba(245, 165, 36, 0.15), 0 4px 12px -4px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(245, 165, 36, 0.2) !important;
}

/* Botões CTA com pulso suave no hover */
.btn-fusion:hover,
.btn-fsn:hover {
    animation: ctaPulse 0.4s ease;
}
@keyframes ctaPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* WhatsApp flutuante — texto mais pessoal e animação calorosa */
.whatsapp-pill-label {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.82rem;
    background: rgba(5, 8, 15, 0.88);
    color: #E8F5E9;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(37, 211, 102, 0.2);
    animation: pillFloat 3s ease-in-out infinite;
    white-space: nowrap;
}
@keyframes pillFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Depoimento — borda quente no hover */
.fear-driving-card {
    transition: all var(--transition-smooth);
    border-left: 3px solid transparent;
}
.fear-driving-card:hover {
    border-left-color: var(--pre-amber);
    background: rgba(255, 255, 255, 0.06);
}

/* Depoimento destaque — aspas decorativas e borda lateral */
.testimonial-highlight {
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--pre-amber);
}
.testimonial-highlight::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 4rem;
    color: rgba(245, 165, 36, 0.15);
    position: absolute;
    top: -1.5rem;
    left: 0.5rem;
    line-height: 1;
}

/* WhatsApp widget flutuante — animação de entrada */
.whatsapp-floating-widget {
    animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Micro-garantias — ícones com hover quente */
.fusion-hero .d-flex.flex-wrap.gap-4 .d-flex.align-items-center {
    transition: all var(--transition-fast);
    padding: 0.3rem 0.5rem;
    border-radius: var(--radius-sm);
}
.fusion-hero .d-flex.flex-wrap.gap-4 .d-flex.align-items-center:hover {
    background: rgba(255, 255, 255, 0.04);
}

/* FAQ accordion — hover caloroso */
.agency-faq-accordion .accordion-button {
    transition: all var(--transition-fast);
}
.agency-faq-accordion .accordion-button:hover {
    color: var(--pre-amber) !important;
}
.agency-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--pre-amber) !important;
    background: rgba(245, 165, 36, 0.04);
}

/* Footer — link hover com calor */
.agency-footer a {
    transition: all var(--transition-fast);
}
.agency-footer a:hover {
    color: var(--pre-amber) !important;
}

/* Trust stat — hover com destaque */
.trust-stat-item {
    transition: all var(--transition-fast);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
}
.trust-stat-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   17. ANIMAÇÕES DE ENTRADA SUAVE & SCROLL REVEAL (GPU ACCELERATED ENGINE)
   ========================================================================== */

/* Entrada Suave no Scroll (Reveal Fade-In-Up Padrão) */
.js-reveal,
.reveal-on-scroll,
.fade-in-up,
[data-reveal="fade-up"] {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1), transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.js-reveal.is-visible,
.reveal-on-scroll.is-visible,
.fade-in-up.is-visible,
[data-reveal="fade-up"].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Variação Slide Left */
.reveal-slide-left,
[data-reveal="slide-left"] {
    opacity: 0;
    transform: translate3d(-36px, 0, 0);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
}
.reveal-slide-left.is-visible,
[data-reveal="slide-left"].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Variação Slide Right */
.reveal-slide-right,
[data-reveal="slide-right"] {
    opacity: 0;
    transform: translate3d(36px, 0, 0);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
}
.reveal-slide-right.is-visible,
[data-reveal="slide-right"].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Variação Escala e Fade (Zoom-In Suave) */
.fade-in-scale,
[data-reveal="zoom-in"],
[data-reveal="scale"] {
    opacity: 0;
    transform: scale3d(0.94, 0.94, 1);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
}
.fade-in-scale.is-visible,
[data-reveal="zoom-in"].is-visible,
[data-reveal="scale"].is-visible {
    opacity: 1;
    transform: scale3d(1, 1, 1);
}

/* Variação Fade-In Simples */
[data-reveal="fade-in"] {
    opacity: 0;
    transition: opacity 0.6s ease;
    will-change: opacity;
}
[data-reveal="fade-in"].is-visible {
    opacity: 1;
}

/* Stagger delays para grids e sequências */
.stagger-1 { transition-delay: 0.06s !important; }
.stagger-2 { transition-delay: 0.12s !important; }
.stagger-3 { transition-delay: 0.18s !important; }
.stagger-4 { transition-delay: 0.24s !important; }
.stagger-5 { transition-delay: 0.30s !important; }
.stagger-6 { transition-delay: 0.36s !important; }
.stagger-7 { transition-delay: 0.42s !important; }
.stagger-8 { transition-delay: 0.48s !important; }

/* Destaque de Âncora (Smooth Scroll Target Flash) */
.focus-pulse-glow {
    animation: anchorFlashGlow 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes anchorFlashGlow {
    0% { outline: 3px solid var(--pre-amber); box-shadow: 0 0 30px rgba(245, 165, 36, 0.45); }
    100% { outline: 3px solid transparent; box-shadow: none; }
}

/* Opções Interativas de Simulado e Quiz */
.sim-option-label,
.quiz-option {
    transition: all var(--transition-fast);
    border: 1.5px solid rgba(15, 23, 42, 0.08) !important;
    background: #FFFFFF;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.sim-option-label:hover,
.quiz-option:hover {
    border-color: var(--pre-amber) !important;
    background: #FFFDF8 !important;
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 6px 16px -4px rgba(245, 165, 36, 0.15);
}

.sim-option-label.is-selected,
.quiz-option.is-selected {
    border-color: var(--pre-amber) !important;
    background: #FFF9EE !important;
    box-shadow: 0 4px 14px -2px rgba(245, 165, 36, 0.25) !important;
    transform: translate3d(0, -1px, 0);
}

/* Indicador de Resposta Certa / Errada no Gabarito */
.sim-answer-correct {
    border-color: #10B981 !important;
    background: #ECFDF5 !important;
    color: #065F46 !important;
}
.sim-answer-wrong {
    border-color: #EF4444 !important;
    background: #FEF2F2 !important;
    color: #991B1B !important;
}

.sim-commented-card {
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.sim-commented-card:hover {
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.sim-explanation-box {
    background: #FFFFFF;
    border-left: 3.5px solid var(--pre-amber);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #334155;
}
.sim-category-pill {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.1);
    color: #1E293B;
}
.sim-category-pill.passed {
    border-color: rgba(16, 185, 129, 0.35);
    background: #F0FDF4;
    color: #166534;
}
.sim-category-pill.attention {
    border-color: rgba(245, 158, 11, 0.35);
    background: #FFFBEB;
    color: #92400E;
}

/* Checkbox Interativo de Checklist (Central do Aluno) */
.aluno-check-item {
    transition: all var(--transition-fast);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.aluno-check-item:hover {
    background: #F8FAFC;
    transform: translate3d(3px, 0, 0);
}
.aluno-check-item.is-completed {
    background: #F0FDF4 !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}
.aluno-check-item.is-completed .check-text {
    text-decoration: line-through;
    color: #64748B;
}

/* Medidor de Pontuação da CNH */
.cnh-meter-bar {
    height: 12px;
    border-radius: var(--radius-full);
    background: #E2E8F0;
    overflow: hidden;
    position: relative;
}
.cnh-meter-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
}

/* Acessibilidade — Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .js-reveal,
    .reveal-on-scroll,
    .fade-in-up,
    .reveal-slide-left,
    .reveal-slide-right,
    .fade-in-scale,
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   18. DESIGN EDITORIAL DO BLOG — CARDS, TIPOGRAFIA E PROSE DE AGÊNCIA
   ========================================================================== */

/* Hero do Blog Editorial */
.blog-editorial-hero {
    background-color: var(--pre-dark-950);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        radial-gradient(at 85% 10%, rgba(245, 165, 36, 0.12) 0px, transparent 50%),
        radial-gradient(at 15% 90%, rgba(20, 184, 166, 0.08) 0px, transparent 45%);
    background-size: 56px 56px, 56px 56px, 100% 100%, 100% 100%;
    padding: 4.75rem 0 5.25rem;
    position: relative;
    border-bottom: 1px solid var(--pre-line);
}

/* Navegação por Pílulas de Categoria do Blog */
.blog-category-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.blog-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    color: #94A3B8;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--pre-line);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-cat-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.blog-cat-pill.active {
    background: var(--pre-amber);
    color: #0A101F;
    border-color: var(--pre-amber);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(245, 165, 36, 0.35);
}

/* Card em Destaque Principal do Blog (Featured Editorial) */
.blog-featured-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px -4px rgba(10, 25, 47, 0.06);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    margin-bottom: 2.5rem;
}

.blog-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px -12px rgba(10, 25, 47, 0.16);
    border-color: rgba(245, 158, 11, 0.35);
}

.blog-featured-thumb {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 280px;
    background: var(--pre-dark-900);
}

.blog-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-featured-card:hover .blog-featured-thumb img {
    transform: scale(1.04);
}

/* Card de Artigo Editorial Padrão */
.blog-card-editorial {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 23, 42, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 12px -4px rgba(10, 25, 47, 0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.blog-card-editorial:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -10px rgba(10, 25, 47, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
}

/* Thumbnail do Card do Blog */
.blog-card-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--pre-dark-900);
}

.blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card-editorial:hover .blog-card-thumb img {
    transform: scale(1.05);
}

/* Badges de Categoria Visualmente Distintas */
.badge-cat {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.badge-cat-amber,
.badge-cat-cnh,
.badge-cat-habilitacao {
    background: rgba(245, 165, 36, 0.14);
    color: #B45309;
    border: 1px solid rgba(245, 165, 36, 0.35);
}

.badge-cat-teal,
.badge-cat-toxicologico,
.badge-cat-fsn {
    background: rgba(20, 184, 166, 0.14);
    color: #0D9488;
    border: 1px solid rgba(20, 184, 166, 0.35);
}

.badge-cat-blue,
.badge-cat-legislacao,
.badge-cat-detran {
    background: rgba(37, 99, 235, 0.12);
    color: #1D4ED8;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.badge-cat-purple,
.badge-cat-dicas,
.badge-cat-medo {
    background: rgba(147, 51, 234, 0.12);
    color: #7E22CE;
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.badge-cat-green,
.badge-cat-simulado {
    background: rgba(16, 185, 129, 0.14);
    color: #065F46;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Badge de tempo de leitura flutuante */
.blog-reading-badge {
    position: absolute;
    bottom: 0.65rem;
    right: 0.65rem;
    background: rgba(5, 8, 15, 0.78);
    backdrop-filter: blur(8px);
    color: #E2E8F0;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.22rem 0.6rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Tipografia de Artigo / Blog Prose */
.article-prose {
    font-family: var(--font-sans);
    font-size: 1.08rem;
    line-height: 1.82;
    color: #334155;
    max-width: 76ch;
}

.article-prose p {
    margin-bottom: 1.5rem;
}

.article-prose h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
    color: #0A192F;
    margin-top: 2.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1.5px solid rgba(15, 23, 42, 0.08);
}

.article-prose h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #0A192F;
    margin-top: 2.25rem;
    margin-bottom: 1rem;
}

.article-prose h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #1E293B;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.article-prose ul,
.article-prose ol {
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
}

.article-prose li {
    margin-bottom: 0.6rem;
    line-height: 1.7;
}

.article-prose blockquote {
    margin: 2.25rem 0;
    padding: 1.25rem 1.75rem;
    background: #FFFDF8;
    border-left: 4px solid var(--pre-amber);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: #475569;
    font-size: 1.1rem;
}

.article-prose img {
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px -6px rgba(10, 25, 47, 0.1);
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
}

/* Callouts Editoriais no Corpo do Artigo */
.callout-editorial {
    padding: 1.35rem 1.6rem;
    border-radius: var(--radius-md);
    margin: 2rem 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #F8FAFC;
}

.callout-editorial-amber {
    background: #FFFDF5;
    border: 1px solid rgba(245, 165, 36, 0.3);
    border-left: 4px solid var(--pre-amber);
}

.callout-editorial-teal {
    background: #F0FDFA;
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-left: 4px solid var(--pre-teal);
}

/* Barra de Compartilhamento */
.article-share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #FFFFFF;
    color: #475569;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px -2px rgba(10, 25, 47, 0.15);
}

.article-share-btn.share-whatsapp:hover {
    background: #25D366;
    color: #FFFFFF;
    border-color: #25D366;
}

.article-share-btn.share-facebook:hover {
    background: #1877F2;
    color: #FFFFFF;
    border-color: #1877F2;
}

.article-share-btn.share-x:hover {
    background: #000000;
    color: #FFFFFF;
    border-color: #000000;
}

.article-share-btn.share-linkedin:hover {
    background: #0A66C2;
    color: #FFFFFF;
    border-color: #0A66C2;
}

/* Sidebar Widgets do Blog */
.blog-sidebar-widget {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 2px 10px -4px rgba(10, 25, 47, 0.04);
    margin-bottom: 1.75rem;
}

.blog-sidebar-widget h5 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
    color: #0A192F;
    margin-bottom: 1.25rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.blog-cat-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    color: #475569;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-cat-list-item:hover {
    background: #F8FAFC;
    color: #B45309;
    transform: translateX(4px);
}

.blog-cat-list-item.active {
    background: #FFF9EE;
    color: #B45309;
    font-weight: 700;
}

/* ==========================================================================
   19. RESPONSIVIDADE COMPLETA — MOBILE (<768px), TABLET (768-1024px), DESKTOP (>1024px)
   ========================================================================== */

/* Tablets (768px a 1023.98px) */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .section-editorial {
        padding: 4rem 0;
    }
    .blog-featured-thumb {
        min-height: 240px;
    }
    .display-hero,
    .hero-title-editorial {
        font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    }
}

/* Mobile (< 768px) */
@media (max-width: 767.98px) {
    .blog-editorial-hero {
        padding: 3rem 0 3.5rem;
    }
    .blog-featured-thumb {
        min-height: 200px;
    }
    .article-prose {
        font-size: 1rem;
        line-height: 1.75;
    }
    .article-prose h2 {
        font-size: 1.45rem;
        margin-top: 2rem;
    }
    .article-prose h3 {
        font-size: 1.2rem;
    }
    .blog-sidebar-widget {
        padding: 1.25rem;
    }
}

/* ==========================================================================
   20. BENTO GRIDS 2.0 & COMPONENTES VISUAIS DE AGÊNCIA DE ELITE (AWWWARDS GRADE)
   ========================================================================== */

/* 20.1. Bento Grid 2.0 Active Engine */
.bento-grid-v2 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    width: 100%;
    position: relative;
}

.bento-card-v2 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #FFFFFF;
    background-image: radial-gradient(circle at 90% 10%, rgba(245, 165, 36, 0.07) 0%, transparent 60%);
    border-radius: var(--radius-bento, 24px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 20px -4px rgba(10, 25, 47, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.95);
    padding: 2.25rem;
    overflow: hidden;
    isolation: isolate;
    transition: transform var(--transition-bounce), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.bento-card-v2::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-bento, 24px);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(245, 165, 36, 0.25) 50%, rgba(15, 23, 42, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.bento-card-v2:hover {
    transform: translateY(-6px) scale(1.008);
    box-shadow: 0 24px 50px -12px rgba(10, 25, 47, 0.14), 0 0 0 1px rgba(245, 165, 36, 0.4);
    border-color: rgba(245, 165, 36, 0.4);
}

/* Bento Hero Card 2.0 (8 colunas) */
.bento-card-v2.bento-hero {
    grid-column: span 8;
    background: linear-gradient(145deg, #FFFFFF 0%, #FFFDF8 100%);
    background-image: radial-gradient(circle at 95% 15%, rgba(245, 165, 36, 0.12) 0%, transparent 55%);
}

/* Bento Tall Card 2.0 (4 colunas com tema escuro imersivo) */
.bento-card-v2.bento-tall-dark {
    grid-column: span 4;
    background: linear-gradient(155deg, #0A192F 0%, #0F2942 100%);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

.bento-card-v2.bento-tall-dark::after {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(245, 165, 36, 0.4) 50%, rgba(255, 255, 255, 0.05));
}

.bento-card-v2.bento-tall-dark:hover {
    box-shadow: 0 28px 60px -15px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(245, 165, 36, 0.6);
    border-color: rgba(245, 165, 36, 0.5);
}

/* Bento Wide Card 2.0 (6 colunas) */
.bento-card-v2.bento-wide {
    grid-column: span 6;
}

.bento-card-v2.bento-wide-teal {
    background: linear-gradient(145deg, #FFFFFF 0%, #F0FDFA 100%);
    background-image: radial-gradient(circle at 95% 15%, rgba(20, 184, 166, 0.12) 0%, transparent 55%);
    border-color: rgba(20, 184, 166, 0.22);
}

.bento-card-v2.bento-wide-teal:hover {
    box-shadow: 0 24px 50px -12px rgba(13, 148, 136, 0.2), 0 0 0 1px rgba(20, 184, 166, 0.45);
    border-color: rgba(20, 184, 166, 0.45);
}

/* Bento Standard Card 2.0 (4 colunas) */
.bento-card-v2.bento-standard {
    grid-column: span 4;
}

/* Bento Badge Live Pulse Beacon */
.bento-badge-beacon {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(245, 165, 36, 0.12);
    color: #B45309;
    border: 1px solid rgba(245, 165, 36, 0.35);
}

.bento-badge-beacon .beacon-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F59E0B;
    position: relative;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.bento-badge-beacon-teal {
    background: rgba(20, 184, 166, 0.12);
    color: #0D9488;
    border-color: rgba(20, 184, 166, 0.35);
}

.bento-badge-beacon-teal .beacon-dot {
    background: #14B8A6;
    animation: beaconPulseTeal 2s infinite;
}

@keyframes beaconPulseTeal {
    0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); }
    100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}

.bento-badge-beacon-dark {
    background: rgba(255, 255, 255, 0.08);
    color: #FBBF24;
    border-color: rgba(245, 165, 36, 0.35);
}

/* Bento Feature Chips */
.bento-chip-v2 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 600;
    color: #1E293B;
    box-shadow: 0 2px 6px rgba(10, 25, 47, 0.04);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.bento-chip-v2:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 165, 36, 0.4);
}

.bento-chip-v2-dark {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #E2E8F0;
    box-shadow: none;
}

.bento-chip-v2-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(245, 165, 36, 0.4);
}

/* Bento Icon Box 2.0 */
.bento-icon-v2 {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: #FFFBEB;
    color: #D97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: 0 4px 12px -2px rgba(245, 158, 11, 0.15);
    flex-shrink: 0;
}

.bento-icon-v2-teal {
    background: #F0FDFA;
    color: #0D9488;
    border-color: rgba(20, 184, 166, 0.25);
    box-shadow: 0 4px 12px -2px rgba(20, 184, 166, 0.15);
}

.bento-icon-v2-blue {
    background: #EFF6FF;
    color: #2563EB;
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.15);
}

.bento-icon-v2-red {
    background: #FEF2F2;
    color: #DC2626;
    border-color: rgba(220, 38, 38, 0.2);
    box-shadow: 0 4px 12px -2px rgba(220, 38, 38, 0.15);
}

/* 20.2. CARDS DE SERVIÇO ASSIMÉTRICOS MODERNOS (AGENCY CATALOG 2.0) */
.service-card-v2 {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 20px -4px rgba(10, 25, 47, 0.05);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-bounce), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.service-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px -12px rgba(10, 25, 47, 0.16);
    border-color: rgba(245, 165, 36, 0.35);
}

.service-card-v2.featured {
    border: 1.5px solid rgba(245, 165, 36, 0.45);
    box-shadow: 0 10px 30px -8px rgba(245, 165, 36, 0.18);
    background: linear-gradient(180deg, #FFFDF9 0%, #FFFFFF 100%);
}

.service-card-v2.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F59E0B, #D97706);
    z-index: 3;
}

.service-thumb-wrap {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.25rem;
    aspect-ratio: 16 / 9;
    background: #0A192F;
}

.service-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-v2:hover .service-thumb-wrap img {
    transform: scale(1.05);
}

.service-badge-floating {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.service-badge-floating.gold {
    background: rgba(245, 165, 36, 0.95);
    color: #0A101F;
    border-color: rgba(255, 255, 255, 0.3);
    font-weight: 900;
}

.service-card-v2 h3,
.service-card-v2 .h4 {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin-bottom: 0.5rem !important;
    color: #0F172A;
}
.service-card-v2 p.text-muted {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    color: #64748B !important;
    min-height: 60px;
}
.service-card-v2 .service-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex-grow: 1;
}
.service-card-v2 .btn-fusion {
    min-height: 42px;
    font-size: 0.88rem;
    font-weight: 800;
}
.service-card-v2 .btn-outline-dark,
.service-card-v2 .btn-outline-whatsapp {
    min-height: 38px;
    font-size: 0.82rem;
    font-weight: 600;
}

.service-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.86rem;
    color: #475569;
    line-height: 1.45;
}

.service-benefit-item i {
    color: #10B981;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* 20.3. VITRINE DA FROTA FLUÍDA (AGENCY FLEET SHOWCASE) */
.fleet-tabs-nav {
    display: inline-flex;
    background: #F1F5F9;
    padding: 0.35rem;
    border-radius: var(--radius-full);
    gap: 0.35rem;
    box-shadow: inset 0 1px 2px rgba(10, 25, 47, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.fleet-tab-btn {
    border: none;
    background: transparent;
    color: #64748B;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.fleet-tab-btn:hover {
    color: #0A192F;
}

.fleet-tab-btn.active {
    background: #0A192F;
    color: #FFFFFF;
    box-shadow: 0 4px 14px -2px rgba(10, 25, 47, 0.3);
}

.fleet-tab-btn.active i {
    color: #F59E0B;
}

.fleet-showcase-panel {
    animation: fleetFadeSlide 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fleetFadeSlide {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fleet-spec-box {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-md);
    padding: 1rem 1.15rem;
    box-shadow: 0 2px 8px -2px rgba(10, 25, 47, 0.04);
    height: 100%;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.fleet-spec-box:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 165, 36, 0.35);
}

/* 20.4. STEPPER VISUAL ILUMINADO DA CNH (AGENCY TIMELINE 2.0) */
.cnh-stepper-wrap {
    position: relative;
    padding: 1rem 0;
}

.cnh-stepper-connector {
    display: none;
}

@media (min-width: 992px) {
    .cnh-stepper-connector {
        display: block;
        position: absolute;
        top: 48px;
        left: 12%;
        right: 12%;
        height: 2px;
        background: linear-gradient(90deg, #F59E0B 0%, #10B981 100%);
        opacity: 0.35;
        z-index: 1;
    }
}

.cnh-step-card-v2 {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 18px -4px rgba(10, 25, 47, 0.05);
    padding: 2rem 1.5rem;
    height: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-bounce), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.cnh-step-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(10, 25, 47, 0.14);
    border-color: rgba(245, 165, 36, 0.35);
}

.cnh-step-card-v2.step-success {
    border: 1.5px solid rgba(16, 185, 129, 0.35);
    background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
}

.cnh-step-card-v2.step-success:hover {
    border-color: #10B981;
    box-shadow: 0 20px 40px -12px rgba(16, 185, 129, 0.2);
}

.cnh-step-node {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFBEB;
    color: #D97706;
    border: 2px solid #F59E0B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.95rem;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
}

.cnh-step-node-success {
    background: #ECFDF5;
    color: #065F46;
    border-color: #10B981;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.3);
}

/* 20.5. PROVA SOCIAL & DEPOIMENTOS EM GRADE EDITORIAL */
.testimonial-card-v2 {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 20px -4px rgba(10, 25, 47, 0.05);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.testimonial-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px -10px rgba(10, 25, 47, 0.12);
    border-color: rgba(245, 165, 36, 0.3);
}

.avatar-initials {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: #0A101F;
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .bento-grid-v2 {
        grid-template-columns: repeat(6, 1fr);
    }
    .bento-card-v2.bento-hero,
    .bento-card-v2.bento-tall-dark,
    .bento-card-v2.bento-wide,
    .bento-card-v2.bento-standard {
        grid-column: span 6;
    }
}

@media (max-width: 767.98px) {
    .bento-grid-v2 {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .bento-card-v2 {
        padding: 1.5rem 1.25rem;
    }
    .fleet-tabs-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        border-radius: var(--radius-md);
    }
    .fleet-tab-btn {
        flex: 1 1 auto;
        justify-content: center;
        padding: 0.55rem 0.85rem;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   21. MOBBIN & AWWWARDS UI PATTERNS (ERGONOMIC MOBILE + EDITORIAL WEB)
   ========================================================================== */

/* 21.1. Ergonomic Floating Action Bar (Mobbin Thumb-Zone) */
.mobbin-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 25, 47, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.65rem 1rem max(0.75rem, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    z-index: 1040;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
}

.mobbin-bar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform var(--transition-fast), background var(--transition-fast);
    border: none;
    cursor: pointer;
    flex: 1;
    white-space: nowrap;
}

.mobbin-bar-btn:active {
    transform: scale(0.96);
}

.mobbin-bar-btn-call,
.mobile-bar-call {
    background: #FFFFFF !important;
    color: #0A192F !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
    font-weight: 800 !important;
}

.mobbin-bar-btn-call i,
.mobile-bar-call i {
    color: #D97706 !important;
    font-size: 0.95rem;
}

.mobbin-bar-btn-call:hover,
.mobbin-bar-btn-call:active,
.mobile-bar-call:hover,
.mobile-bar-call:active {
    background: #F1F5F9 !important;
    color: #0A192F !important;
}

.mobbin-bar-btn-primary {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    color: #0A101F !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.mobbin-bar-btn-teal {
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.mobbin-bar-btn-whatsapp {
    background: #25D366;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    position: relative;
}

.mobbin-online-beacon {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 10px;
    height: 10px;
    background: #10B981;
    border: 2px solid #0A192F;
    border-radius: 50%;
}

/* 21.2. Segmented Control Tátil (Mobbin Pattern) */
.mobbin-segmented-control {
    display: inline-flex;
    background: #F1F5F9;
    padding: 0.3rem;
    border-radius: var(--radius-full);
    gap: 0.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.mobbin-segmented-item {
    border: none;
    background: transparent;
    color: #64748B;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobbin-segmented-item:hover {
    color: #0A192F;
}

.mobbin-segmented-item.active {
    background: #0A192F;
    color: #FFFFFF;
    box-shadow: 0 4px 12px -2px rgba(10, 25, 47, 0.25);
}

/* 21.3. Quick Stats & Spec Chips */
.spec-chip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
}

.spec-chip-card {
    background: #F8FAFC;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.spec-chip-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 165, 36, 0.4);
    background: #FFFFFF;
}

.spec-chip-card .spec-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: #64748B;
    margin-bottom: 0.2rem;
}

.spec-chip-card .spec-value {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: #0A192F;
}

/* 21.4. Detalhes de Serviços (Awwwards Editorial + Mobbin Checkout Card) */
.service-detail-sidebar-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: 0 16px 40px -12px rgba(10, 25, 47, 0.12);
    position: sticky;
    top: 95px;
}

.service-detail-sidebar-card .trust-badge-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: #F8FAFC;
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 0.8rem;
    color: #475569;
}

.service-detail-sidebar-card .trust-badge-row i {
    font-size: 1.15rem;
    color: #10B981;
    flex-shrink: 0;
}

.service-step-timeline {
    position: relative;
    padding-left: 2rem;
}

.service-step-timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 8px;
    width: 2px;
    background: linear-gradient(180deg, #F59E0B, #10B981);
    opacity: 0.4;
}

.service-step-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.service-step-item:last-child {
    margin-bottom: 0;
}

.service-step-bullet {
    position: absolute;
    left: -2rem;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid #F59E0B;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.service-step-item:last-child .service-step-bullet {
    border-color: #10B981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   22. PADRÕES INTERATIVOS AVANÇADOS (AWWWARDS & MOBBIN MOTION SPEC)
   ========================================================================== */

/* 22.1. Spotlight Cursor Glow Effect (Holofote Dinâmico Awwwards) */
.bento-card,
.bento-card-v2,
.service-card-v2,
.agency-card,
.agency-hero-card,
.category-card,
.featured-card,
.blog-card-editorial,
.spotlight-card,
[data-spotlight] {
    position: relative;
    overflow: hidden;
}

/* Camada interna de brilho projetada pelo cursor */
.bento-card::before,
.bento-card-v2::before,
.service-card-v2::before,
.agency-card::before,
.agency-hero-card::before,
.category-card::before,
.featured-card::before,
.blog-card-editorial::before,
.spotlight-card::before,
[data-spotlight]::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        520px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
        rgba(245, 165, 36, 0.12),
        transparent 45%
    );
    opacity: var(--spotlight-opacity, 0);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1;
}

/* Variação Teal para a marca FSN */
.fsn-service-card::before,
.fsn-card::before,
.spotlight-teal::before {
    background: radial-gradient(
        520px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
        rgba(20, 184, 166, 0.14),
        transparent 45%
    ) !important;
}

/* Borda Iluminada pelo Cursor (Spotlight Border Highlight) */
.bento-card::after,
.bento-card-v2::after,
.agency-card::after,
.spotlight-card-border::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(
        360px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
        rgba(245, 165, 36, 0.45),
        transparent 45%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: var(--spotlight-opacity, 0);
    transition: opacity 0.3s ease;
    z-index: 2;
}

/* 22.2. Micro-interações de Tab Switching com Spring Physics (Mobbin Pattern) */
.spring-tab-active {
    animation: springPillPop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}
@keyframes springPillPop {
    0% { transform: scale(0.93) translate3d(0, 0, 0); }
    45% { transform: scale(1.05) translate3d(0, -2px, 0); }
    100% { transform: scale(1) translate3d(0, 0, 0); }
}

/* Transição de conteúdo entre abas com Fade e Slide Fluido */
.tab-content-enter {
    animation: tabContentFadeSlide 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes tabContentFadeSlide {
    from {
        opacity: 0;
        transform: translate3d(0, 12px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* 22.3. Interactive 3D Tilt Card (Awwwards Style) */
.agency-hero-card,
.tilt-card,
[data-tilt] {
    transform-style: preserve-3d;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .bento-card::before,
    .bento-card-v2::before,
    .agency-card::before,
    .agency-hero-card::before,
    .spring-tab-active,
    .tab-content-enter {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
}
}

/* ==========================================================================
   23. TEXTURA ORGÂNICA (FILMIC NOISE / GRAIN)
   ========================================================================== */
.film-grain-overlay {
    opacity: 0.035;
    pointer-events: none;
    mix-blend-mode: overlay;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}
/* === CSS ADICIONADO PARA ESPECIFICACOES RUFLO CRITIC (ROUND 2) === */

/* 1. Calculadoras, Quiz & Prevenção de Auto-Zoom iOS Safari */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
    appearance: none;
}

@media (max-width: 767.98px) {
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    input[type="number"],
    input[type="date"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

.meter-bar, .progress-bar {
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.4s ease;
}

.quiz-card {
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid var(--pre-line);
    cursor: pointer;
}
.quiz-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    border-color: var(--pre-amber);
}
.quiz-card.selected {
    border-color: var(--pre-amber);
    background: rgba(245, 165, 36, 0.08);
}
.quiz-step {
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.quiz-step.hidden {
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}
.quiz-step.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    visibility: visible;
}

/* 2. Placas de Transito */
.placa-card {
    transition: transform 0.25s ease;
    will-change: transform;
}
.placa-card:hover {
    transform: rotate(3deg) scale(1.05);
}
.busca-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.3);
    border-color: var(--pre-amber);
    transition: all 0.2s ease;
}
.placa-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.placa-item.filtered-out {
    opacity: 0;
    transform: scale(0.95);
    display: none;
}

/* 3. Consulta de Laudo FSN */
.senatran-loading {
    height: 4px;
    background: linear-gradient(90deg, var(--pre-teal) 0%, #0D9488 50%, var(--pre-teal) 100%);
    background-size: 200% 100%;
    animation: senatranPulse 1.2s infinite linear;
    border-radius: 2px;
}
@keyframes senatranPulse {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}
.timeline-step {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.timeline-step.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 4. Indique & Ganhe */
.link-gerado-box {
    animation: linkEnter 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    border: 2px solid transparent;
    background: linear-gradient(var(--pre-dark-900), var(--pre-dark-900)) padding-box,
                linear-gradient(45deg, var(--pre-amber), var(--pre-teal)) border-box;
}
@keyframes linkEnter {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.btn-whatsapp-pulse {
    animation: pulseWhatsapp 2s infinite;
}
@keyframes pulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(31, 175, 84, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(31, 175, 84, 0); }
    100% { box-shadow: 0 0 0 0 rgba(31, 175, 84, 0); }
}
.copy-feedback.show {
    opacity: 1;
}

/* 5. LGPD & Cookie Consent Center (Enterprise Level) */
.lgpd-consent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 16, 31, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.6);
    z-index: 1070;
    padding: 1.25rem 0;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}
.lgpd-consent-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
}
.lgpd-cookie-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(245, 165, 36, 0.12);
    border: 1px solid rgba(245, 165, 36, 0.3);
    color: var(--pre-amber);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.cookie-category-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.15rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.cookie-category-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}
.form-check-input:checked {
    background-color: var(--pre-amber);
    border-color: var(--pre-amber);
}

/* ==========================================================================
   6. WCAG 2.2 AAA ACCESSIBILITY & MOBILE ERGONOMICS (~44PX TOUCH TARGETS)
   ========================================================================== */

/* Touch Target Size (Mínimo 44px em botões, links de ação e controles táteis) */
.btn,
.btn-fusion,
.btn-fsn,
.mobbin-bar-btn,
.nav-link,
.form-control,
.form-select,
.accordion-button,
.page-link,
.quiz-option-btn,
.calc-counter-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Foco Visível de Teclado (Keyboard Navigation Accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.form-check-input:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--pre-amber) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.25) !important;
    border-radius: 8px;
}

/* Alto Contraste de Texto sobre Fundos Amarelo / Dourado (WCAG AAA >= 7:1) */
.badge.bg-warning,
.btn-fusion,
.bg-warning {
    color: #0A101F !important;
    font-weight: 800 !important;
}
.badge-fusion {
    background: #FEF3C7;
    border: 1px solid rgba(217, 119, 6, 0.32);
    color: #78350F !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    padding: 0.42rem 0.85rem;
    border-radius: 9999px;
}
.hero-dark .badge-fusion,
.fusion-hero .badge-fusion,
.bg-dark .badge-fusion,
.bento-tall-dark .badge-fusion,
.cta-banner-fusion .badge-fusion,
.blog-editorial-hero .badge-fusion {
    background: rgba(245, 165, 36, 0.16) !important;
    color: #FCD34D !important;
    border: 1px solid rgba(245, 165, 36, 0.42) !important;
}
.badge-fusion a,
.btn-fusion a {
    color: inherit !important;
}

/* Rótulos e Mensagens de Feedback em Formulários */
.form-label {
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.88rem;
    color: #1E293B;
}
.dark-mode-form .form-label {
    color: #E2E8F0;
}
.form-feedback-error {
    color: #EF4444;
    font-size: 0.82rem;
    margin-top: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
}

/* ==========================================================================
   7. RESPONSIVE BREAKPOINTS HARMONIZATION (360px -> 390px -> 430px -> 768px -> 1024px -> 1366px -> 1920px)
   ========================================================================== */

/* Breakpoint 360px & 390px (iPhone 12/13/14/15 & Android Moderno - Ponto Principal de Conversão) */
@media (max-width: 430px) {
    .display-4, .display-5 {
        font-size: 2.15rem !important;
        line-height: 1.18 !important;
    }
    .display-6 {
        font-size: 1.75rem !important;
        line-height: 1.25 !important;
    }
    .container {
        padding-left: 1.15rem !important;
        padding-right: 1.15rem !important;
    }
    .hero-metric-card, .bento-card, .service-card-v2 {
        padding: 1.25rem 1.1rem !important;
    }
    .mobbin-bottom-bar {
        padding-bottom: max(10px, env(safe-area-inset-bottom)) !important;
    }
    .btn-fusion:not(.agency-navbar *):not(.btn-sm):not(.flex-fill),
    .btn-fsn:not(.agency-navbar *):not(.btn-sm):not(.flex-fill) {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Breakpoint 768px (Tablets / iPad Portrait) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Breakpoint 1024px (iPad Pro / Laptops Compactos) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .agency-navbar .nav-link {
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
        font-size: 0.9rem !important;
    }
}

/* Breakpoint 1920px (Desktop Full HD & Monitores Ultrawide) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* ==========================================================================
   8. HERO INTERNO CLÍNICA FSN (.hero-dark-fsn) & COMPONENTES PREMIUM
   ========================================================================== */

.hero-dark-fsn {
    background-color: var(--pre-dark-950);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
        radial-gradient(at 85% 0%, rgba(16, 185, 129, 0.14) 0px, transparent 52%),
        radial-gradient(at 15% 100%, rgba(13, 148, 136, 0.1) 0px, transparent 50%);
    background-size: 56px 56px, 56px 56px, 100% 100%, 100% 100%;
    border-bottom: 1px solid var(--pre-line) !important;
    position: relative;
}
.hero-dark-fsn h1,
.hero-dark-fsn h2,
.hero-dark-fsn h3,
.hero-dark-fsn h4,
.hero-dark-fsn h5,
.hero-dark-fsn h6 {
    color: #F4F7FB !important;
}
.hero-dark-fsn .text-dark,
.hero-dark-fsn .text-muted,
.hero-dark-fsn p.text-muted,
.hero-dark-fsn .small,
.hero-dark-fsn .text-white-50 {
    color: #E2E8F0 !important;
}
.hero-dark-fsn .badge-fsn,
.hero-dark-fsn .badge-fsn-pill {
    background: rgba(20, 184, 166, 0.14) !important;
    color: #2DD4BF !important;
    border: 1px solid rgba(20, 184, 166, 0.4) !important;
}
.hero-dark-fsn .breadcrumb {
    --bs-breadcrumb-divider-color: #94A3B8;
}
.hero-dark-fsn .breadcrumb-item a {
    color: #B6C2D4 !important;
    text-decoration: none;
    transition: color var(--transition-fast);
}
.hero-dark-fsn .breadcrumb-item a:hover {
    color: #2DD4BF !important;
}
.hero-dark-fsn .breadcrumb-item.active {
    color: #F8FAFC !important;
}
.hero-dark-fsn a:not(.btn):not(.btn-fsn):not(.btn-whatsapp):not(.btn-outline-white):not(.breadcrumb-item *) {
    color: #2DD4BF;
}
.hero-dark-fsn a:not(.btn):not(.btn-fsn):not(.btn-whatsapp):not(.btn-outline-white):hover {
    color: #FFFFFF;
}

/* Filter Pills & Review Cards (/depoimentos & /consulta-laudo) */
.filter-pill-dark {
    border-radius: 9999px;
    padding: 0.55rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #FFFFFF;
    color: #334155;
    transition: all 0.22s ease;
    cursor: pointer;
}
.filter-pill-dark:hover {
    border-color: var(--pre-amber);
    color: #0F172A;
    transform: translateY(-1px);
}
.filter-pill-dark.active {
    background: #0F172A;
    color: #FBBF24;
    border-color: #0F172A;
    box-shadow: 0 6px 16px -4px rgba(15, 23, 42, 0.25);
}
.review-card-premium {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px -6px rgba(10, 25, 47, 0.06);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.review-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -14px rgba(10, 25, 47, 0.16);
    border-color: rgba(245, 165, 36, 0.35);
}
.review-card-premium.fsn-accent:hover {
    border-color: rgba(20, 184, 166, 0.4);
}
.star-rating-picker {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 0.35rem;
}
.star-rating-picker input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}
.star-rating-picker input:focus-visible + label {
    outline: 2px solid var(--pre-amber);
    outline-offset: 3px;
    border-radius: 4px;
}
.star-rating-picker label {
    font-size: 1.75rem;
    color: #CBD5E1;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}
.star-rating-picker label:hover,
.star-rating-picker label:hover ~ label,
.star-rating-picker input:checked ~ label {
    color: #F59E0B;
}
.star-rating-picker label:hover {
    transform: scale(1.12);
}

/* ==========================================================================
   24. RUFLO SWARM ELEVATION — BOUTIQUE DESIGN, COMMAND PALETTE & INTERACTIVE HUB
   ========================================================================== */

/* 24.1 Utilitários Tipográficos (Trava Outfit + Inter + DM Serif Display) e Beacons */
.font-serif-italic {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
}
.transition-smooth {
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}
.hover-elevate:hover,
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px -16px rgba(10, 25, 47, 0.18) !important;
    border-color: rgba(245, 165, 36, 0.38) !important;
}

.beacon-live {
    position: relative;
    display: inline-flex;
    width: 10px;
    height: 10px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.beacon-live .beacon-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    background: #10B981;
    opacity: 0.75;
    animation: rufloBeaconPing 1.9s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.beacon-live .beacon-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: #10B981;
}
@keyframes rufloBeaconPing {
    75%, 100% {
        transform: scale(2.35);
        opacity: 0;
    }
}

/* 24.2 Isolamento de Identidade Clínica FSN (Teal Scoping) */
body.fsn-layout .agency-navbar-fsn .nav-link:hover {
    border-bottom-color: #2DD4BF !important;
}
body.fsn-layout .agency-navbar-fsn .nav-link.active {
    color: #2DD4BF !important;
    border-bottom-color: #14B8A6 !important;
}
body.fsn-layout a:focus-visible,
body.fsn-layout button:focus-visible,
body.fsn-layout input:focus-visible,
body.fsn-layout select:focus-visible,
body.fsn-layout textarea:focus-visible {
    outline-color: #14B8A6 !important;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.25) !important;
}
body.fsn-layout .btn-scroll-top {
    background: linear-gradient(135deg, #0D9488 0%, #14B8A6 100%) !important;
    color: #04211E !important;
}
body.fsn-layout #faqFsnAccordion .accordion-button:not(.collapsed) {
    color: #0F766E !important;
    background: #F0FDFA !important;
}

/* 24.3 Live Belém Status Indicator Pill */
.live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.2rem 0.68rem;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #E2E8F0;
    white-space: nowrap;
}
.live-status-pill .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #94A3B8;
    flex-shrink: 0;
}
.live-status-pill.is-open {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: #A7F3D0;
}
.live-status-pill.is-open .status-dot {
    background: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
}
.live-status-pill.is-closing {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.4);
    color: #FDE68A;
}
.live-status-pill.is-closing .status-dot {
    background: #F59E0B;
}

/* 24.4 Navbar Search Pill (Ctrl+K) & Frosted Mega-Dropdown Ferramentas */
.cmd-trigger-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 38px;
    padding: 0.32rem 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #CBD5E1;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.cmd-trigger-pill:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(245, 165, 36, 0.45);
    color: #FFFFFF;
}
body.fsn-layout .cmd-trigger-pill:hover {
    border-color: rgba(45, 212, 191, 0.5);
}
.cmd-trigger-pill kbd {
    background: rgba(5, 8, 15, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #94A3B8;
    border-radius: 6px;
    padding: 0.08rem 0.4rem;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
}

.agency-mega-menu {
    background: rgba(8, 13, 26, 0.98) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 20px !important;
    padding: 1.15rem !important;
    min-width: 580px;
    box-shadow: 0 32px 70px -15px rgba(0, 0, 0, 0.85) !important;
    margin-top: 0.65rem !important;
}
@media (max-width: 991.98px) {
    .agency-mega-menu {
        min-width: 100%;
        background: rgba(255, 255, 255, 0.03) !important;
        box-shadow: none !important;
        margin-top: 0.35rem !important;
        padding: 0.5rem !important;
    }
}
.mega-tool-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    text-decoration: none;
    color: #F8FAFC !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.mega-tool-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(245, 165, 36, 0.35);
    transform: translateY(-1px);
}
.mega-tool-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 165, 36, 0.14);
    color: #FBBF24;
    border: 1px solid rgba(245, 165, 36, 0.3);
    flex-shrink: 0;
    font-size: 1.05rem;
}
.mega-tool-icon.is-fsn {
    background: rgba(20, 184, 166, 0.15);
    color: #2DD4BF;
    border-color: rgba(20, 184, 166, 0.35);
}

/* 24.5 Global Command Palette (Ctrl+K / Cmd+K) */
.cmd-palette-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 15, 0.76);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1090;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 8vh 1rem 2rem;
}
.cmd-palette-overlay.is-open {
    display: flex;
    animation: cmdFadeIn 0.18s ease forwards;
}
@keyframes cmdFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.cmd-palette-dialog {
    width: 100%;
    max-width: 640px;
    background: #0A101F;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    box-shadow: 0 32px 70px -15px rgba(0, 0, 0, 0.85);
    overflow: hidden;
    color: #F8FAFC;
}
.cmd-palette-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cmd-palette-input {
    flex: 1;
    background: transparent !important;
    border: 0 !important;
    color: #FFFFFF !important;
    font-size: 1rem;
    font-family: var(--font-sans);
    outline: none !important;
    box-shadow: none !important;
    min-height: 36px;
}
.cmd-palette-input::placeholder {
    color: #94A3B8;
}
.cmd-palette-body {
    max-height: 58vh;
    overflow-y: auto;
    padding: 0.65rem;
}
.cmd-group-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94A3B8;
    padding: 0.5rem 0.75rem 0.3rem;
}
.cmd-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    width: 100%;
    text-align: left;
    padding: 0.68rem 0.85rem;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    color: #E2E8F0;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.14s ease, border-color 0.14s ease;
}
.cmd-result-item:hover,
.cmd-result-item.is-active {
    background: rgba(245, 165, 36, 0.12);
    border-color: rgba(245, 165, 36, 0.35);
    color: #FFFFFF;
}
body.fsn-layout .cmd-result-item:hover,
body.fsn-layout .cmd-result-item.is-active {
    background: rgba(20, 184, 166, 0.14);
    border-color: rgba(45, 212, 191, 0.38);
}
.cmd-palette-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1.15rem;
    background: rgba(5, 8, 15, 0.65);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.74rem;
    color: #94A3B8;
}

/* 24.6 Smart WhatsApp Concierge Popover (Desktop) */
.whatsapp-floating-widget {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1055;
    align-items: center;
    gap: 0.65rem;
}
.wa-concierge-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 14px);
    width: 340px;
    background: #0A101F;
    color: #F8FAFC;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    box-shadow: 0 26px 55px -12px rgba(0, 0, 0, 0.75);
    padding: 1.1rem;
    display: none;
    transform-origin: bottom right;
}
.wa-concierge-panel.is-open {
    display: block;
    animation: waConciergeIn 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes waConciergeIn {
    from { opacity: 0; transform: translateY(10px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.wa-topic-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #F1F5F9 !important;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.wa-topic-chip:hover {
    background: rgba(37, 211, 102, 0.14);
    border-color: rgba(37, 211, 102, 0.45);
    color: #FFFFFF !important;
    transform: translateX(3px);
}
.wa-topic-chip.is-fsn:hover {
    background: rgba(20, 184, 166, 0.16);
    border-color: rgba(45, 212, 191, 0.45);
}

/* 24.7 Asymmetric Bento Grid 2.0 Hub & Architectural 6-Step CNH Roadmap */
.bento-grid-hub {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}
.bento-span-7 { grid-column: span 7; }
.bento-span-5 { grid-column: span 5; }
.bento-span-4 { grid-column: span 4; }
.bento-span-3 { grid-column: span 3; }
@media (max-width: 991.98px) {
    .bento-span-7, .bento-span-5 { grid-column: span 12; }
    .bento-span-4, .bento-span-3 { grid-column: span 6; }
}
@media (max-width: 575.98px) {
    .bento-span-4, .bento-span-3 { grid-column: span 12; }
}

.bento-dark-hero {
    background: radial-gradient(circle at 88% 12%, rgba(245, 165, 36, 0.22) 0%, transparent 55%), #0A101F !important;
    color: #F8FAFC !important;
    border: 1px solid rgba(245, 165, 36, 0.32) !important;
    border-radius: 22px;
    padding: 2rem;
}
.bento-fsn-hero {
    background: radial-gradient(circle at 88% 12%, rgba(20, 184, 166, 0.24) 0%, transparent 55%), #062825 !important;
    color: #F8FAFC !important;
    border: 1px solid rgba(45, 212, 191, 0.32) !important;
    border-radius: 22px;
    padding: 2rem;
}

.cnh-roadmap-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 1.75rem 1.6rem;
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.cnh-roadmap-card > * {
    position: relative;
    z-index: 1;
}
.cnh-roadmap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 38px -16px rgba(10, 25, 47, 0.16);
    border-color: rgba(245, 165, 36, 0.42);
}
.cnh-watermark-num {
    position: absolute;
    right: 1.25rem;
    bottom: 0.5rem;
    top: auto;
    font-family: var(--font-display);
    font-size: 4.8rem;
    line-height: 1;
    color: rgba(15, 23, 42, 0.04);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    transition: color 0.3s ease, transform 0.3s ease;
}
.cnh-roadmap-card:hover .cnh-watermark-num {
    color: rgba(245, 165, 36, 0.08);
    transform: scale(1.05);
}

/* 24.8 Interactive Practical Exam Percurso Visualizer & Journey Cards */
.percurso-stage-card {
    background: #0A101F;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 1.5rem;
    color: #F8FAFC;
    box-shadow: 0 28px 60px -20px rgba(0, 0, 0, 0.65);
}
.percurso-svg-wrap {
    background: radial-gradient(circle at 50% 50%, rgba(30, 41, 59, 0.55), rgba(5, 8, 15, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 1rem;
}
.percurso-checkpoint-btn {
    border-radius: 12px;
    padding: 0.6rem 0.95rem;
    font-size: 0.84rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #E2E8F0;
    cursor: pointer;
    transition: all 0.2s ease;
}
.percurso-checkpoint-btn.is-active,
.percurso-checkpoint-btn:hover {
    background: #F5A524;
    border-color: #F5A524;
    color: #0A101F;
}
.journey-step-interactive {
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}
.journey-step-interactive.is-completed {
    background: #F0FDF4 !important;
    border-color: rgba(16, 185, 129, 0.45) !important;
}
.journey-step-interactive.is-next {
    border-color: #F59E0B !important;
    box-shadow: 0 12px 28px -12px rgba(245, 158, 11, 0.32);
}

/* 24.9 Editorial Blog Reading Progress Bar, Auto-TOC & Inline CTA */
#articleReadingProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    z-index: 1085;
    background: linear-gradient(90deg, #F5A524 0%, #FBBF24 100%);
    transition: width 0.08s linear;
    pointer-events: none;
}
#articleReadingProgress.is-fsn {
    background: linear-gradient(90deg, #0D9488 0%, #2DD4BF 100%);
}
.article-toc-card {
    background: #F8FAFC;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-left: 4px solid #F5A524;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
}
.article-toc-card.is-fsn {
    border-left-color: #0D9488;
}
.article-toc-link {
    display: block;
    padding: 0.3rem 0;
    color: #334155;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.15s ease, transform 0.15s ease;
}
.article-toc-link:hover,
.article-toc-link.is-active {
    color: #B45309;
    font-weight: 700;
    transform: translateX(3px);
}
.article-toc-card.is-fsn .article-toc-link:hover,
.article-toc-card.is-fsn .article-toc-link.is-active {
    color: #0F766E;
}

/* 24.10 Mobile Bottom-Sheet Lead Modal & Safe-Area Ergonomics */
@media (max-width: 767.98px) {
    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    }
    #leadModal .modal-dialog {
        margin: auto 0 0 0;
        max-width: 100%;
    }
    #leadModal .modal-content {
        border-radius: 24px 24px 0 0 !important;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .beacon-live .beacon-ping,
    .btn-whatsapp-pulse,
    .senatran-loading,
    .cmd-palette-overlay.is-open,
    .wa-concierge-panel.is-open {
        animation: none !important;
    }
    html {
        scroll-behavior: auto !important;
    }
}



