/* ==========================================================================
   AUDITOR IA • CGU 2026 — APPLE DESIGN SYSTEM
   Aesthetics: Apple Keynote, Pro Hardware Spotlight & VisionOS Glass
   ========================================================================== */

:root {
    --apple-black: #000000;
    --apple-dark-bg: #0a0a0c;
    --apple-dark-card: #16161a;
    --apple-white: #ffffff;
    --apple-light-bg: #fbfbfd;
    --apple-light-card: #ffffff;
    --apple-gray-100: #f5f5f7;
    --apple-gray-200: #e8e8ed;
    --apple-gray-400: #86868b;
    --apple-gray-700: #333336;
    --apple-gray-900: #1d1d1f;
    --apple-blue: #0071e3;
    --apple-blue-hover: #0077ed;
    --apple-blue-glow: rgba(0, 113, 227, 0.35);
    --apple-gold: #f5a623;
    --apple-red: #ff3b30;
    --apple-green: #34c759;
    --font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-stack);
    background-color: var(--apple-black);
    color: var(--apple-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.5;
}

/* ==========================================================================
/* ==========================================================================
   NAVBAR ULTRA-MINIMALISTA DE ALTO PADRÃO (ESTILO APPLE KEYNOTE)
   ========================================================================== */
.apple-nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(10, 10, 14, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
}

.apple-nav {
    max-width: 1200px;
    height: 52px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--apple-white);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-brand .brand-badge {
    background: linear-gradient(135deg, #0071e3, #38bdf8);
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 980px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.35);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 450;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: color 0.2s ease, opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-links a:hover {
    color: var(--apple-white);
}

.nav-link-planos {
    color: #2997ff !important;
    font-weight: 600 !important;
}

.nav-discount-badge {
    font-size: 0.65rem;
    background: rgba(41, 151, 255, 0.18);
    color: #70b4ff;
    border: 1px solid rgba(41, 151, 255, 0.35);
    padding: 1px 6px;
    border-radius: 980px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.nav-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-cta-btn {
    background: var(--apple-blue);
    color: var(--apple-white);
    text-decoration: none;
    padding: 6px 18px;
    border-radius: 980px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    display: inline-block;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 10px rgba(0, 113, 227, 0.3);
}

.nav-cta-btn:hover {
    background: var(--apple-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.45);
}

/* Sub-banner de status da prova (Estilo Apple Announcement) */
.exam-ribbon {
    background: rgba(18, 18, 22, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 9px 24px;
    margin-top: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exam-ribbon-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    text-align: center;
    font-size: 0.81rem;
    color: var(--apple-gray-400);
}

.exam-ribbon-pill {
    background: rgba(245, 166, 35, 0.15);
    border: 1px solid rgba(245, 166, 35, 0.38);
    color: #f5a623;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 980px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.exam-ribbon-text {
    color: #b0b0b8;
}

.exam-ribbon-text strong {
    color: #ffffff;
    font-weight: 600;
}

.exam-ribbon-link {
    color: #2997ff;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.exam-ribbon-link:hover {
    color: #70b4ff;
    text-decoration: underline;
}

/* ==========================================================================
   HERO 1: DEEP SPACE BLACK ("AUDITOR PRO")
   ========================================================================== */
.hero-pro-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px 80px;
    background: radial-gradient(circle at 50% 30%, #171720 0%, #000000 70%);
    overflow: hidden;
}

.hero-pro-eyebrow {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f5a623;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-pro-title {
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 14px;
    background: linear-gradient(180deg, #ffffff 40%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-pro-subhead {
    font-size: clamp(1.2rem, 2.8vw, 1.7rem);
    color: var(--apple-gray-400);
    font-weight: 400;
    letter-spacing: -0.015em;
    max-width: 680px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 54px;
    flex-wrap: wrap;
}

.btn-apple-primary {
    background: var(--apple-blue);
    color: var(--apple-white);
    padding: 12px 28px;
    border-radius: 980px;
    font-size: 0.98rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 18px var(--apple-blue-glow);
}

.btn-apple-primary:hover {
    background: var(--apple-blue-hover);
    transform: scale(1.02);
}

.btn-apple-outline {
    background: transparent;
    color: #2997ff;
    padding: 12px 28px;
    border-radius: 980px;
    font-size: 0.98rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(41, 151, 255, 0.45);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-apple-outline:hover {
    background: rgba(41, 151, 255, 0.12);
    border-color: #2997ff;
}

/* ==========================================================================
   APPLE PRO DEVICE SPOTLIGHT & 3D TITANIUM TYPOGRAPHY (AFFC)
   ========================================================================== */
.chrome-letters-container {
    position: relative;
    width: 100%;
    max-width: 980px;
    margin: 36px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Letras 3D Titanium Metálicas (Estilo "PRO" do Keynote) - 100% Desobstruídas */
.chrome-letters-bg {
    font-size: clamp(4.8rem, 14vw, 10.5rem);
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1;
    background: linear-gradient(180deg, 
        #ffffff 0%, 
        #d1d1d6 25%, 
        #48484a 45%, 
        #8e8e93 60%, 
        #ffffff 80%, 
        #2c2c2e 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.88;
    filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.25)) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.9));
    user-select: none;
    transform: none;
    margin: 0 auto 32px;
    text-align: center;
    display: block;
    width: 100%;
    z-index: 1;
}

/* Moldura de Hardware de Luxo (Apple Studio Titanium Slate) - Abaixada e Centralizada */
.apple-hardware-device {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    background: linear-gradient(145deg, #18181c 0%, #0d0d0f 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 28px;
    padding: 6px;
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.8),
        0 25px 70px rgba(0, 0, 0, 0.95),
        0 0 90px rgba(0, 113, 227, 0.18);
    transition: var(--transition-smooth);
}

.apple-hardware-device:hover {
    transform: translateY(-4px) scale(1.006);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.3),
        0 30px 85px rgba(0, 0, 0, 0.95),
        0 0 110px rgba(0, 113, 227, 0.28);
}

/* Tela de Vidro Interna (Retina Glass Screen) */
.apple-device-screen {
    background: radial-gradient(circle at 50% 0%, #1f2029 0%, #0e0e11 80%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 24px 28px 22px;
    position: relative;
    overflow: hidden;
}

/* Reflexo chanfrado de vidro (Specular Glass Shine) */
.apple-device-screen::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

/* Barra Superior da Tela (Apple Menu Bar) */
.device-screen-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.device-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #e5e5ea;
    letter-spacing: 0.02em;
}

.device-topbar-left .system-status-dot {
    width: 8px;
    height: 8px;
    background: #34c759;
    border-radius: 50%;
    box-shadow: 0 0 8px #34c759;
    display: inline-block;
}

.device-topbar-right {
    font-size: 0.75rem;
    color: #86868b;
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 10px;
    border-radius: 980px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Grid de Widgets de Métricas */
.device-widgets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.device-widget-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    padding: 16px 14px;
    text-align: left;
    transition: var(--transition-smooth);
}

.device-widget-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(41, 151, 255, 0.4);
    transform: translateY(-2px);
}

.widget-pill-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #86868b;
    margin-bottom: 8px;
    display: block;
}

.device-widget-card .widget-value {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 4px;
}

.device-widget-card .widget-value.gold {
    color: #f5a623;
}

.device-widget-card .widget-value.green {
    color: #34c759;
}

.device-widget-card .widget-detail {
    font-size: 0.72rem;
    color: #86868b;
    line-height: 1.35;
}

/* Rodapé do Display da Tela */
.device-screen-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    color: #a1a1a6;
}

.device-screen-footer a {
    color: #2997ff;
    text-decoration: none;
    font-weight: 500;
}

.device-screen-footer a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   CONTAGEM REGRESSIVA APPLE STYLE
   ========================================================================== */
.countdown-section {
    background: #000000;
    padding: 40px 24px 60px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.countdown-title {
    font-size: 1.1rem;
    color: var(--apple-gray-400);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.countdown-block {
    background: #111114;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 20px;
    min-width: 90px;
}

.countdown-number {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--apple-white);
}

.countdown-label {
    font-size: 0.72rem;
    color: var(--apple-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* ==========================================================================
   HERO 2: PURE WHITE APPLE CONTRAST ("AS 4 ESPECIALIDADES")
   ========================================================================== */
.specialties-light-section {
    background-color: var(--apple-light-bg);
    color: var(--apple-gray-900);
    padding: 100px 24px;
    text-align: center;
}

.section-eyebrow {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0071e3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.section-title-light {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.section-subtitle-light {
    font-size: 1.15rem;
    color: #6e6e73;
    max-width: 650px;
    margin: 0 auto 40px;
}

/* Segmented Control Pill Tabs */
.apple-segmented-control {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.06);
    padding: 4px;
    border-radius: 980px;
    margin-bottom: 48px;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.segmented-pill {
    background: transparent;
    border: none;
    color: #515154;
    padding: 8px 18px;
    border-radius: 980px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.segmented-pill.active {
    background: #ffffff;
    color: #1d1d1f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Specialty Showcase Card */
.specialty-showcase {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    padding: 48px 40px;
    text-align: left;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.showcase-content h3 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.showcase-badge {
    display: inline-block;
    background: #e0e7ff;
    color: #3730a3;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 980px;
    margin-bottom: 16px;
}

.showcase-desc {
    font-size: 1rem;
    color: #424245;
    line-height: 1.6;
    margin-bottom: 24px;
}

.showcase-disciplinas-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.showcase-disciplinas-list {
    list-style: none;
}

.showcase-disciplinas-list li {
    font-size: 0.88rem;
    color: #1d1d1f;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.showcase-disciplinas-list li::before {
    content: "●";
    color: #0071e3;
    font-size: 0.7rem;
    margin-top: 4px;
}

.showcase-widget {
    background: #f5f5f7;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid #e5e5ea;
}

.widget-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 6px;
}

.widget-sub {
    font-size: 0.85rem;
    color: #86868b;
    margin-bottom: 20px;
}

/* ==========================================================================
   TUTORES DE IA ESPECIALISTAS (CARDS APPLE DARK)
   ========================================================================== */
.tutors-section {
    background: #000000;
    padding: 100px 24px;
    text-align: center;
}

.tutors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    max-width: 1140px;
    margin: 50px auto 0;
}

.tutor-card {
    background: #111114;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.tutor-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 113, 227, 0.6);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.tutor-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.tutor-avatar {
    width: 56px;
    height: 56px;
    background: #1c1c22;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.tutor-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--apple-white);
    letter-spacing: -0.01em;
}

.tutor-role {
    font-size: 0.78rem;
    color: #2997ff;
    font-weight: 500;
}

.tutor-cargo-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #93c5fd;
    background: rgba(0, 113, 227, 0.15);
    border: 1px solid rgba(0, 113, 227, 0.3);
    padding: 2px 8px;
    border-radius: 980px;
    margin-top: 4px;
    line-height: 1.3;
}

.tutor-bordao-box {
    margin: 14px 0 18px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.08), rgba(56, 189, 248, 0.04));
    border-left: 3px solid #0071e3;
    border-radius: 12px;
    font-size: 0.82rem;
    color: #bae6fd;
    line-height: 1.45;
}

.tutor-bordao-box strong {
    color: #38bdf8;
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.alert-cebraspe {
    margin: 12px 0;
    padding: 12px 14px;
    background: rgba(245, 166, 35, 0.1);
    border-left: 4px solid #f5a623;
    border-radius: 8px;
    color: #fef08a;
    font-size: 0.85rem;
    line-height: 1.5;
}

.tutor-quote {
    font-size: 0.88rem;
    color: #a1a1a6;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 14px;
    border-radius: 12px;
    border-left: 3px solid rgba(255, 255, 255, 0.2);
}

.tutor-topics-title {
    font-size: 0.75rem;
    color: #86868b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.tutor-topics {
    list-style: none;
    margin-bottom: 28px;
}

.tutor-topics li {
    font-size: 0.82rem;
    color: #d1d1d6;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tutor-topics li::before {
    content: "✓";
    color: #34c759;
    font-weight: 700;
}

.btn-tutor-chat {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--apple-white);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 10px;
    border-radius: 980px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tutor-card:hover .btn-tutor-chat {
    background: var(--apple-blue);
    border-color: var(--apple-blue);
}

/* ==========================================================================
   SIMULADOR CEBRASPE (METODO CESPE C/E)
   ========================================================================== */
.simulator-section {
    background: #0a0a0c;
    padding: 100px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.simulator-container {
    max-width: 860px;
    margin: 40px auto 0;
}

.simulator-box {
    background: #141418;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 36px 32px;
}

.simulator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sim-item-badge {
    background: #2a2a32;
    color: #f5a623;
    padding: 4px 12px;
    border-radius: 980px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sim-score-counter {
    font-size: 0.9rem;
    color: var(--apple-gray-400);
}

.sim-question-text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #e5e5ea;
    margin-bottom: 32px;
}

.sim-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-sim-option {
    flex: 1;
    max-width: 220px;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-sim-certo {
    background: rgba(52, 199, 89, 0.15);
    color: #34c759;
    border: 1px solid rgba(52, 199, 89, 0.4);
}

.btn-sim-certo:hover {
    background: #34c759;
    color: #000;
}

.btn-sim-errado {
    background: rgba(255, 59, 48, 0.15);
    color: #ff3b30;
    border: 1px solid rgba(255, 59, 48, 0.4);
}

.btn-sim-errado:hover {
    background: #ff3b30;
    color: #fff;
}

.btn-sim-branco {
    background: rgba(255, 255, 255, 0.06);
    color: #86868b;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-sim-branco:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.sim-feedback {
    margin-top: 24px;
    padding: 20px;
    border-radius: 16px;
    display: none;
    text-align: left;
    animation: fadeIn 0.3s ease;
}

.sim-feedback.correto {
    background: rgba(52, 199, 89, 0.12);
    border: 1px solid #34c759;
}

.sim-feedback.incorreto {
    background: rgba(255, 59, 48, 0.12);
    border: 1px solid #ff3b30;
}

.sim-feedback h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.sim-feedback p {
    font-size: 0.9rem;
    color: #d1d1d6;
    line-height: 1.5;
}

/* ==========================================================================
   LABORATÓRIO DE DISCURSIVAS P4 (100 PONTOS)
   ========================================================================== */
.discursive-section {
    background: var(--apple-light-bg);
    color: var(--apple-gray-900);
    padding: 100px 24px;
    text-align: center;
}

.discursive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 50px auto 0;
    text-align: left;
}

.discursive-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.discursive-pill {
    background: #fef3c7;
    color: #92400e;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 980px;
    display: inline-block;
    margin-bottom: 12px;
}

.discursive-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #1d1d1f;
}

.discursive-card p {
    font-size: 0.92rem;
    color: #515154;
    line-height: 1.55;
    margin-bottom: 20px;
}

.discursive-formula-box {
    background: #f5f5f7;
    border-radius: 12px;
    padding: 12px 16px;
    font-family: monospace;
    font-size: 0.85rem;
    color: #1d1d1f;
    margin-bottom: 24px;
    border: 1px solid #e5e5ea;
}

/* ==========================================================================
   MODAL DIALOG (NATIVO APPLE GLASS)
   ========================================================================== */
dialog.apple-dialog {
    margin: auto;
    background: rgba(18, 18, 22, 0.95);
    backdrop-filter: blur(35px) saturate(180%);
    -webkit-backdrop-filter: blur(35px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    width: 90%;
    max-width: 600px;
    color: var(--apple-white);
    padding: 0;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

dialog::backdrop {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dialog-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.dialog-close-btn {
    background: transparent;
    border: none;
    color: #86868b;
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dialog-close-btn:hover {
    color: var(--apple-white);
}

.dialog-body {
    padding: 24px;
    max-height: 480px;
    overflow-y: auto;
}

.dialog-chat-feed {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.chat-bubble {
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 85%;
}

.chat-bubble.tutor {
    background: #232328;
    color: #e5e5ea;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble.user {
    background: var(--apple-blue);
    color: var(--apple-white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.dialog-input-row {
    display: flex;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dialog-input {
    flex: 1;
    background: #1c1c20;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 980px;
    padding: 10px 18px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
}

.dialog-input:focus {
    border-color: var(--apple-blue);
}

/* ==========================================================================
   FOOTER APPLE MINIMALISTA
   ========================================================================== */
.apple-footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 24px;
    text-align: center;
    color: var(--apple-gray-400);
    font-size: 0.78rem;
}

.apple-footer p {
    margin-bottom: 8px;
}

.apple-footer a {
    color: #2997ff;
    text-decoration: none;
}

.apple-footer a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   PAINEL OFICIAL: FAIXA DE SELOS E GARANTIAS (TRUST BADGES)
   ========================================================================== */
.cgu-trust-strip {
    background: #09090b;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 32px 24px;
    position: relative;
    z-index: 5;
}

.cgu-trust-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.cgu-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition-smooth);
}

.cgu-trust-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(41, 151, 255, 0.35);
    transform: translateY(-2px);
}

.cgu-trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.22), rgba(96, 165, 250, 0.1));
    border: 1px solid rgba(41, 151, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.cgu-trust-info h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--apple-white);
    margin-bottom: 2px;
}

.cgu-trust-info p {
    font-size: 0.74rem;
    color: var(--apple-gray-400);
    line-height: 1.35;
}

/* ==========================================================================
   PAINEL OFICIAL: COMPARADOR TÉCNICO DE ESPECIALIDADES (ED. 2026)
   ========================================================================== */
.cgu-compare-section {
    background: #000000;
    padding: 100px 24px;
    color: #ffffff;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cgu-compare-table-wrapper {
    max-width: 1180px;
    margin: 44px auto 0;
    overflow-x: auto;
    border-radius: 24px;
    background: #111115;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9);
}

.cgu-compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 860px;
}

.cgu-compare-table th,
.cgu-compare-table td {
    padding: 20px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.87rem;
    vertical-align: middle;
}

.cgu-compare-table thead th {
    background: #18181e;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 2px solid rgba(41, 151, 255, 0.45);
    letter-spacing: -0.01em;
}

.cgu-compare-table thead th.col-feature {
    text-align: left;
    width: 220px;
    color: var(--apple-gray-400);
    font-weight: 500;
    font-size: 0.84rem;
}

.cgu-compare-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.025);
}

.cgu-compare-table .feature-title {
    font-weight: 600;
    color: #e5e5ea;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
}

.cgu-compare-table .cell-center {
    text-align: center;
}

.cgu-badge-primary {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 980px;
    background: rgba(0, 113, 227, 0.18);
    color: #2997ff;
    font-weight: 700;
    font-size: 0.74rem;
    border: 1px solid rgba(41, 151, 255, 0.35);
}

.cgu-badge-success {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 980px;
    background: rgba(52, 199, 89, 0.16);
    color: #34c759;
    font-weight: 700;
    font-size: 0.74rem;
    border: 1px solid rgba(52, 199, 89, 0.35);
}

.cgu-badge-gold {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 980px;
    background: rgba(245, 166, 35, 0.16);
    color: #f5a623;
    font-weight: 700;
    font-size: 0.74rem;
    border: 1px solid rgba(245, 166, 35, 0.35);
}

.cgu-btn-compare-action {
    background: var(--apple-blue);
    color: #fff;
    border: none;
    border-radius: 980px;
    padding: 8px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-smooth);
}

.cgu-btn-compare-action:hover {
    background: var(--apple-blue-hover);
    transform: scale(1.04);
}

/* ==========================================================================
   PAINEL OFICIAL: DIFERENCIAIS TECNOLÓGICOS (CANCELAMENTO DE RUÍDO & MODO PROVA)
   ========================================================================== */
.cgu-features-section {
    background: radial-gradient(circle at 50% 30%, #15151e 0%, #000000 85%);
    padding: 100px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cgu-features-grid {
    max-width: 1180px;
    margin: 48px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.cgu-feature-card {
    background: #111115;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 34px 26px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.cgu-feature-card:hover {
    border-color: rgba(41, 151, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(0, 113, 227, 0.16);
}

.cgu-feature-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #f5a623;
    margin-bottom: 14px;
}

.cgu-feature-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    display: block;
}

.cgu-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.015em;
}

.cgu-feature-card p {
    font-size: 0.88rem;
    color: #8e8e93;
    line-height: 1.5;
}

/* ==========================================================================
   PAINEL OFICIAL: AVALIAÇÕES COM ESTRELAS ⭐⭐⭐⭐⭐ & PROVA SOCIAL
   ========================================================================== */
.cgu-reviews-section {
    background: #0c0c0f;
    padding: 100px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cgu-reviews-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 166, 35, 0.12);
    border: 1px solid rgba(245, 166, 35, 0.35);
    padding: 7px 18px;
    border-radius: 980px;
    color: #f5a623;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cgu-reviews-grid {
    max-width: 1180px;
    margin: 48px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 22px;
}

.cgu-review-card {
    background: #141418;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 30px 26px;
    text-align: left;
    transition: var(--transition-smooth);
}

.cgu-review-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.cgu-review-stars {
    color: #f5a623;
    font-size: 1.05rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.cgu-review-text {
    font-size: 0.92rem;
    color: #d1d1d6;
    line-height: 1.55;
    margin-bottom: 22px;
    font-style: italic;
}

.cgu-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cgu-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0071e3, #60a5fa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.cgu-author-info h4 {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 2px;
}

.cgu-author-info span {
    font-size: 0.72rem;
    color: #34c759;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   PAINEL OFICIAL: FAQ ACCORDION (CENTRAL DE DÚVIDAS DO EDITAL CGU)
   ========================================================================== */
.cgu-faq-section {
    background: #000000;
    padding: 100px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cgu-faq-container {
    max-width: 860px;
    margin: 46px auto 0;
    text-align: left;
}

.cgu-faq-item {
    background: #111115;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.cgu-faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.cgu-faq-item.active {
    border-color: rgba(41, 151, 255, 0.45);
    background: #15151c;
}

.cgu-faq-question {
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 600;
    color: #ffffff;
    user-select: none;
}

.cgu-faq-icon {
    font-size: 1.35rem;
    color: #2997ff;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 400;
    width: 24px;
    text-align: center;
}

.cgu-faq-item.active .cgu-faq-icon {
    transform: rotate(45deg);
    color: #f5a623;
}

.cgu-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
    color: #a1a1a6;
    font-size: 0.9rem;
    line-height: 1.6;
}

.cgu-faq-item.active .cgu-faq-answer {
    max-height: 320px;
    padding: 0 24px 22px;
}

/* ==========================================================================
   PAINEL OFICIAL: STICKY FLOATING QUICK ACTION BAR
   ========================================================================== */
.cgu-sticky-bar {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    z-index: 990;
    background: rgba(18, 18, 22, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 980px;
    padding: 8px 16px 8px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 113, 227, 0.25);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

.cgu-sticky-bar.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cgu-sticky-text {
    font-size: 0.84rem;
    color: #ffffff;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.cgu-sticky-text strong {
    color: #f5a623;
}

.cgu-sticky-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================================================
   PAINEL OFICIAL: PLANOS DE PRECIFICAÇÃO (RETA FINAL)
   ========================================================================== */
.cgu-pricing-section {
    background: radial-gradient(circle at 50% 20%, #171722 0%, #000000 85%);
    padding: 100px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cgu-pricing-grid {
    max-width: 1180px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: stretch;
}

.cgu-pricing-card {
    background: #111115;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 28px;
    padding: 38px 28px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: var(--transition-smooth);
}

.cgu-pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.cgu-pricing-card.featured {
    background: linear-gradient(180deg, #181926 0%, #0f1017 100%);
    border: 2px solid #0071e3;
    box-shadow: 0 0 45px rgba(0, 113, 227, 0.28), 0 25px 70px rgba(0, 0, 0, 0.9);
    transform: scale(1.02);
}

.cgu-pricing-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 0 60px rgba(0, 113, 227, 0.4), 0 30px 80px rgba(0, 0, 0, 0.95);
}

.cgu-pricing-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0071e3, #60a5fa);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 5px 16px;
    border-radius: 980px;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.5);
    white-space: nowrap;
}

.cgu-plan-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f5a623;
    margin-bottom: 8px;
    display: block;
}

.cgu-plan-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.cgu-plan-price-wrap {
    margin: 20px 0 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cgu-price-original {
    font-size: 0.85rem;
    color: #86868b;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.cgu-price-main {
    font-size: 2.7rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1;
}

.cgu-price-main small {
    font-size: 1rem;
    font-weight: 500;
    color: #a1a1a6;
}

.cgu-price-installment {
    font-size: 0.85rem;
    color: #34c759;
    font-weight: 600;
    margin-top: 6px;
}

.cgu-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cgu-plan-features li {
    font-size: 0.88rem;
    color: #d1d1d6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.cgu-plan-features li strong {
    color: #ffffff;
}

.cgu-plan-check {
    color: #34c759;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.cgu-btn-plan {
    width: 100%;
    padding: 14px 20px;
    border-radius: 980px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
    display: block;
}

.cgu-btn-plan.primary {
    background: var(--apple-blue);
    color: #fff;
    box-shadow: 0 4px 18px var(--apple-blue-glow);
}

.cgu-btn-plan.primary:hover {
    background: var(--apple-blue-hover);
    transform: scale(1.02);
}

.cgu-btn-plan.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cgu-btn-plan.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.cgu-guarantee-strip {
    max-width: 820px;
    margin: 48px auto 0;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.cgu-guarantee-seal {
    font-size: 2.4rem;
    flex-shrink: 0;
}

.cgu-guarantee-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.cgu-guarantee-text p {
    font-size: 0.82rem;
    color: #a1a1a6;
    line-height: 1.45;
}

/* ==========================================================================
   SEÇÃO OFICIAL: COMO ESTUDAR NO AUDITOR IA (O MÉTODO DE 4 PASSOS)
   ========================================================================== */
.cgu-method-section {
    padding: 100px 24px;
    background: radial-gradient(circle at 50% 0%, #151520 0%, #000000 70%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    text-align: center;
}

.cgu-method-container {
    max-width: 1240px;
    margin: 0 auto;
}

.cgu-method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    text-align: left;
}

.cgu-step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
}

.cgu-step-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(41, 151, 255, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(41, 151, 255, 0.15);
}

.cgu-step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.cgu-step-number {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #2997ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cgu-step-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 980px;
    background: rgba(255, 255, 255, 0.08);
    color: #a1a1a6;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cgu-step-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.cgu-step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.cgu-step-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #f5a623;
    font-weight: 600;
    margin-bottom: 12px;
}

.cgu-step-desc {
    font-size: 0.85rem;
    color: #a1a1a6;
    line-height: 1.55;
    flex-grow: 1;
    margin-bottom: 18px;
}

.cgu-step-pill {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(41, 151, 255, 0.1);
    color: #70b4ff;
    border: 1px solid rgba(41, 151, 255, 0.25);
    text-align: center;
}

/* BOX COMPARATIVO: CURSINHO TRADICIONAL vs AUDITOR IA */
.cgu-compare-box {
    margin-top: 56px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 36px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    text-align: left;
    backdrop-filter: blur(20px);
}

.cgu-compare-col {
    padding: 8px 12px;
}

.cgu-compare-col.traditional {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding-right: 32px;
}

.cgu-compare-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.cgu-compare-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.cgu-compare-tag {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 980px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cgu-compare-tag.bad {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.cgu-compare-tag.good {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.cgu-compare-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cgu-compare-list li {
    font-size: 0.88rem;
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #a1a1a6;
}

.cgu-compare-list.traditional li strong {
    color: #fca5a5;
}

.cgu-compare-list.modern li {
    color: #d1d5db;
}

.cgu-compare-list.modern li strong {
    color: #70b4ff;
}

.cgu-compare-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 1080px) {
    .nav-links {
        gap: 16px;
    }
    .nav-hide-compact {
        display: none !important;
    }
    .cgu-method-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cgu-compare-box {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .cgu-compare-col.traditional {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-right: 0;
        padding-bottom: 28px;
    }
}

@media (max-width: 860px) {
    .cgu-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    .cgu-pricing-card.featured {
        transform: none;
    }
    .cgu-pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    .cgu-guarantee-strip {
        flex-direction: column;
        text-align: center;
    }
    .device-widgets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .nav-links {
        display: none;
    }
    .apple-nav {
        height: 50px;
        padding: 0 16px;
    }
    .exam-ribbon {
        margin-top: 50px;
        padding: 8px 14px;
    }
    .exam-ribbon-content {
        font-size: 0.74rem;
        gap: 6px;
    }
    .specialty-showcase {
        grid-template-columns: 1fr;
        padding: 28px 20px;
    }
    .device-screen-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .countdown-grid {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .cgu-method-grid {
        grid-template-columns: 1fr;
    }
    .cgu-compare-box {
        padding: 24px 18px;
    }
}

@media (max-width: 520px) {
    .device-widgets-grid {
        grid-template-columns: 1fr;
    }
    .device-screen-footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ==========================================================================
   LABORATÓRIO DE DISCURSIVAS P4 (FOLHA PAUTADA & ESPELHO CEBRASPE)
   ========================================================================== */
dialog.dialog-discursivas-modal {
    max-width: 1600px;
    width: 96vw;
    max-height: 94vh;
    overflow-y: auto;
    padding: 24px 32px;
    text-align: left;
}

.disc-tabs-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
    flex-wrap: wrap;
}

.disc-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 980px;
    color: #a1a1a6;
    padding: 9px 20px;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.disc-tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #f5f5f7;
}

.disc-tab-btn.active {
    background: #0071e3;
    border-color: #0071e3;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
}

.disc-workbench-grid {
    display: grid;
    grid-template-columns: 390px 1fr;
    gap: 28px;
    align-items: stretch;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.disc-workbench-grid.focus-mode {
    grid-template-columns: 1fr;
}

.disc-workbench-grid.focus-mode .disc-caderno-col {
    display: none;
}

@media (max-width: 960px) {
    .disc-workbench-grid {
        grid-template-columns: 1fr;
    }
}

.disc-caderno-col {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: calc(52vh + 50px);
    overflow-y: auto;
}

.disc-theme-tag {
    display: inline-block;
    background: rgba(0, 113, 227, 0.15);
    color: #70b4ff;
    border: 1px solid rgba(0, 113, 227, 0.3);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 980px;
    margin-bottom: 8px;
}

.disc-theme-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f5f5f7;
    margin: 0 0 14px 0;
    line-height: 1.35;
}

.disc-cenario-box {
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid #0071e3;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.86rem;
    color: #d1d1d6;
    line-height: 1.55;
    margin-bottom: 14px;
}

.disc-cenario-box strong {
    display: block;
    color: #70b4ff;
    margin-bottom: 4px;
}

.disc-cenario-box p {
    margin: 0;
}

.disc-comandos-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 14px;
}

.disc-comandos-box strong {
    display: block;
    color: #f5f5f7;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.disc-comandos-list {
    margin: 0;
    padding-left: 20px;
    font-size: 0.83rem;
    color: #a1a1a6;
    line-height: 1.6;
}

.disc-comandos-list li {
    margin-bottom: 6px;
}

.disc-formula-card {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.08), rgba(0, 0, 0, 0.4));
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 12px;
    padding: 14px 16px;
}

.formula-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: #f5a623;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.formula-math {
    font-family: 'SF Mono', Consolas, monospace;
    font-size: 1.05rem;
    font-weight: 700;
    color: #f5f5f7;
    margin-bottom: 6px;
}

.formula-legend {
    font-size: 0.74rem;
    color: #86868b;
    line-height: 1.4;
}

/* Coluna 2: Folha Pautada */
.disc-folha-col {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.disc-folha-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
}

.disc-folha-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f5f5f7;
    display: flex;
    align-items: center;
    gap: 10px;
}

.disc-counter-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #2997ff;
    padding: 2px 10px;
    border-radius: 980px;
    font-size: 0.76rem;
    font-weight: 700;
}

.disc-counter-pill.exceeded {
    background: rgba(255, 69, 58, 0.2);
    border-color: #ff453a;
    color: #ff453a;
}

.disc-toolbar-actions {
    display: flex;
    gap: 8px;
}

.btn-disc-tool {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #d1d1d6;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-disc-tool:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.disc-pautada-wrapper {
    display: flex;
    background: #0b0b0e;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 3px 25px rgba(0, 0, 0, 0.75);
    min-height: 480px;
    height: 52vh;
    max-height: 600px;
    transition: all 0.25s ease;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
}

.disc-pautada-wrapper:focus-within {
    border-color: rgba(41, 151, 255, 0.45);
    box-shadow: inset 0 3px 25px rgba(0, 0, 0, 0.75), 0 0 20px rgba(0, 113, 227, 0.2);
}

.disc-ruler-lines {
    width: 52px;
    background: rgba(255, 255, 255, 0.025);
    border-right: 1.5px solid rgba(255, 255, 255, 0.1);
    padding: 16px 8px 16px 0;
    text-align: right;
    color: #71717a;
    font-family: ui-monospace, 'SF Mono', Consolas, monospace;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 34px;
    user-select: none;
    overflow-y: hidden;
}

.disc-textarea {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px 20px;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
    font-size: 1.05rem;
    line-height: 34px;
    letter-spacing: 0.012em;
    resize: none;
    outline: none;
    overflow-y: auto;
    background-image: repeating-linear-gradient(transparent, transparent 33px, rgba(255, 255, 255, 0.05) 33px, rgba(255, 255, 255, 0.05) 34px);
    background-attachment: local;
}

.disc-textarea::placeholder {
    color: #515154;
}

.disc-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
    width: 100%;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.disc-meta-info {
    font-size: 0.78rem;
    color: #86868b;
}

.btn-submeter-disc {
    padding: 10px 22px;
    font-size: 0.88rem;
    font-weight: 600;
}

/* Loading Area */
.disc-loading-area {
    padding: 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    margin-top: 10px;
}

/* Result Area */
.disc-result-area {
    background: rgba(18, 18, 24, 0.9);
    border: 1px solid rgba(41, 151, 255, 0.3);
    border-radius: 16px;
    padding: 22px;
    margin-top: 14px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.disc-result-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.disc-score-badge {
    font-size: 1.4rem;
    font-weight: 800;
    color: #34c759;
}

.disc-status-tag {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 980px;
}

.disc-status-tag.aprovado {
    background: rgba(52, 199, 89, 0.15);
    color: #34c759;
    border: 1px solid rgba(52, 199, 89, 0.4);
}

.disc-status-tag.reprovado {
    background: rgba(255, 69, 58, 0.15);
    color: #ff453a;
    border: 1px solid rgba(255, 69, 58, 0.4);
}

.disc-formula-result-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.disc-espelho-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    margin-bottom: 18px;
}

.disc-espelho-table th {
    background: rgba(255, 255, 255, 0.05);
    color: #a1a1a6;
    text-align: left;
    padding: 8px 12px;
    font-weight: 600;
}

.disc-espelho-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #d1d1d6;
}

.disc-erros-box {
    background: rgba(255, 69, 58, 0.06);
    border: 1px solid rgba(255, 69, 58, 0.2);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 18px;
}

.disc-parecer-box {
    background: rgba(168, 85, 247, 0.08);
    border-left: 3px solid #a855f7;
    border-radius: 8px;
    padding: 14px;
    font-size: 0.86rem;
    color: #e9d5ff;
    line-height: 1.5;
}


/* ==========================================================================
   ÁREA DO ALUNO (STUDENT HUB) STYLES - CGU 2026
   ========================================================================== */
.hub-glass {
  background: rgba(10, 18, 22, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hub-glass:hover {
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.15);
}

.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}


/* ==========================================================================
   ÁREA DO ALUNO (STUDENT HUB) - APPLE CUPERTINO DESIGN SYSTEM (VERSÃO 01)
   Harmonização total com a estética preta, vidro fosco e azul Apple
   ========================================================================== */
.apple-hub-wrapper {
    min-height: 100vh;
    background-color: var(--apple-black);
    color: var(--apple-white);
    display: flex;
    flex-direction: column;
    font-family: var(--font-stack);
}

.apple-hub-header {
    width: 100%;
    padding: 10px 28px;
    background: rgba(10, 10, 14, 0.88);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.apple-hub-card {
    background: rgba(20, 20, 24, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    transition: var(--transition-smooth);
}

.apple-hub-card:hover {
    border-color: rgba(41, 151, 255, 0.35);
    box-shadow: 0 14px 40px rgba(0, 113, 227, 0.15);
}

.apple-hub-nav-tab {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 980px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.apple-hub-nav-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.apple-hub-nav-tab.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    border-bottom: 2px solid var(--apple-blue);
    border-radius: 6px 6px 0 0;
}

.apple-hub-badge-blue {
    background: rgba(0, 113, 227, 0.18);
    color: #2997ff;
    border: 1px solid rgba(41, 151, 255, 0.35);
    border-radius: 980px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    letter-spacing: 0.02em;
}

.apple-hub-badge-green {
    background: rgba(52, 199, 89, 0.18);
    color: #30d158;
    border: 1px solid rgba(52, 199, 89, 0.35);
    border-radius: 980px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    letter-spacing: 0.02em;
}

.apple-hub-badge-purple {
    background: rgba(168, 85, 247, 0.18);
    color: #d8b4fe;
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 980px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    letter-spacing: 0.02em;
}

.apple-hub-badge-gold {
    background: rgba(245, 166, 35, 0.18);
    color: #ff9f0a;
    border: 1px solid rgba(245, 166, 35, 0.35);
    border-radius: 980px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    letter-spacing: 0.02em;
}

.apple-hub-tutor-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(28, 28, 32, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.apple-hub-tutor-circle:hover {
    transform: scale(1.08);
    border-color: var(--apple-blue);
    box-shadow: 0 0 16px rgba(0, 113, 227, 0.4);
}


/* Apple Cupertino Extra Hub Utilities */
.apple-hub-pill-btn {
    background: linear-gradient(135deg, #0071e3, #2563eb);
    color: #ffffff;
    border-radius: 980px;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 7px 18px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
    text-decoration: none;
}
.apple-hub-pill-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.55);
    color: #ffffff;
}
.apple-hub-pill-btn-outline {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f5f5f7;
    border-radius: 980px;
    font-weight: 500;
    font-size: 0.82rem;
    padding: 6px 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
}
.apple-hub-pill-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}
.apple-hub-rank-row-active {
    background: rgba(0, 113, 227, 0.18) !important;
    border: 1px solid rgba(41, 151, 255, 0.4) !important;
    border-radius: 12px;
    color: #ffffff !important;
}
.apple-hub-terminal-box {
    background: rgba(10, 10, 12, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 18px;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}
.apple-hub-bottom-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: rgba(20, 20, 24, 0.9);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 980px;
    padding: 10px 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   CHECKOUT MODAL EXPANDIDO DE ALTA CONVERSÃO (PADRÃO STRIPE / APPLE 2-COLUMN)
   ========================================================================== */
dialog.apple-dialog.checkout-dialog {
    max-width: 900px !important;
    width: 95% !important;
    max-height: 94vh !important;
    border-radius: 26px !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 113, 227, 0.15) !important;
    background: rgba(18, 19, 26, 0.97) !important;
}

dialog.apple-dialog.checkout-dialog .dialog-header {
    padding: 22px 30px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

dialog.apple-dialog.checkout-dialog .dialog-body {
    padding: 26px 30px !important;
    max-height: calc(94vh - 90px) !important;
    overflow-y: auto !important;
}

dialog.apple-dialog.checkout-dialog .dialog-body::-webkit-scrollbar {
    width: 6px;
}
dialog.apple-dialog.checkout-dialog .dialog-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}
dialog.apple-dialog.checkout-dialog .dialog-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 8px;
}
dialog.apple-dialog.checkout-dialog .dialog-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.32);
}

.checkout-grid-layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 26px;
    align-items: start;
    width: 100%;
}

.checkout-pix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: center;
    width: 100%;
}

@media (max-width: 820px) {
    dialog.apple-dialog.checkout-dialog {
        max-width: 96% !important;
        width: 96% !important;
        margin: 12px auto !important;
        border-radius: 20px !important;
    }
    dialog.apple-dialog.checkout-dialog .dialog-header {
        padding: 16px 20px !important;
    }
    dialog.apple-dialog.checkout-dialog .dialog-body {
        padding: 18px 20px !important;
    }
    .checkout-grid-layout,
    .checkout-pix-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* ==========================================================================
   DROPDOWN DE PERFIL DO USUÁRIO & CEO (PADRÃO MATCH IA / APPLE DARK GLASS)
   ========================================================================== */
.user-profile-menu-container {
    position: relative;
    display: inline-block;
}

.user-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 10px 0 4px;
    border-radius: 980px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.user-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 320px;
    background: rgba(15, 20, 32, 0.98);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 113, 227, 0.2);
    padding: 10px;
    z-index: 10005;
    animation: fadeInDown 0.18s ease-out;
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px 12px;
}

.user-dropdown-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0071e3, #6366f1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.35);
}

.user-dropdown-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.user-dropdown-info strong {
    font-size: 0.90rem;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-info span {
    font-size: 0.76rem;
    color: #94a3b8;
}

.dropdown-plan-tag {
    display: inline-block;
    margin-top: 3px;
    font-size: 0.72rem !important;
    font-weight: 700;
}

.user-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 6px 0;
}

.user-dropdown-section-title {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    padding: 6px 10px 4px;
}

.user-dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
}

.user-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.user-dropdown-item.ceo-item {
    background: rgba(0, 113, 227, 0.10);
    border: 1px solid rgba(0, 113, 227, 0.3);
    margin-bottom: 4px;
}

.user-dropdown-item.ceo-item:hover {
    background: rgba(0, 113, 227, 0.20);
    border-color: rgba(0, 113, 227, 0.5);
}

.user-dropdown-item.admin-item {
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.25);
}

.user-dropdown-item.admin-item:hover {
    background: rgba(168, 85, 247, 0.18);
    border-color: rgba(168, 85, 247, 0.45);
}

.user-dropdown-item .item-icon {
    font-size: 1.15rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.user-dropdown-item .item-text {
    display: flex;
    flex-direction: column;
}

.user-dropdown-item .item-text strong {
    font-size: 0.84rem;
    color: #f1f5f9;
}

.user-dropdown-item .item-text small {
    font-size: 0.72rem;
    color: #94a3b8;
}

.user-dropdown-item.logout-item:hover {
    background: rgba(239, 68, 68, 0.15);
}

/* Modal de Perfil Amplo & Elegante */
dialog.apple-dialog.profile-dialog {
    max-width: 660px !important;
    width: 94% !important;
    border-radius: 24px !important;
    background: #0c101d !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85) !important;
}

dialog.apple-dialog.profile-dialog .dialog-body {
    padding: 24px 28px !important;
}




/* =============================================================================
   BANNER DE MANUTENÇÃO PROGRAMADA DIÁRIA (00:00 ÀS 09:00 BRT - PADRÃO MATCH IA)
   ============================================================================= */
.maintenance-alert-banner {
    background: linear-gradient(90deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    color: #e0e7ff;
    border-bottom: 1px solid rgba(129, 140, 248, 0.35);
    font-size: 0.84rem;
    position: relative;
    z-index: 10001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.maintenance-alert-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    text-align: center;
    line-height: 1.4;
}

.maintenance-pill {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.maintenance-text {
    font-size: 0.84rem;
    color: #cbd5e1;
    font-weight: 500;
}

.maintenance-live-badge {
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
}

.maintenance-live-badge.in-maintenance {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.45);
    animation: maintenancePulse 2s infinite;
}

@keyframes maintenancePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.98); }
}


.btn-maintenance-blocked {
    opacity: 0.75 !important;
    background: #334155 !important;
    color: #e2e8f0 !important;
    border: 1px solid #475569 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

.btn-maintenance-blocked:hover {
    transform: none !important;
    box-shadow: none !important;
    background: #334155 !important;
    color: #e2e8f0 !important;
}
