/*
 * ═══════════════════════════════════════════════════════════════════
 *  La Promotion — Landing Page · Design System
 *  Fonte única: Outfit  |  Paleta: azuis da logo  |  Ícones: Lucide + FA (inline sprite)
 *
 *  Regras de consistência (use SEMPRE os tokens abaixo):
 *   • Raios:    --radius-lg (20)  containers: cards grandes, modais
 *               --radius-md (14)  botões, tiles, linhas de FAQ, carrossel, tabs
 *               --radius-sm (10)  miniaturas, chips, abas internas
 *               --radius-full     pílulas e avatares
 *   • Sombras:  --shadow-sm (botões/itens) · --shadow-md (cards) · --shadow-lg (modais)
 *   • Espaços:  escala de 4px  (--space-1 … --space-8)
 * ═══════════════════════════════════════════════════════════════════
 */

/* ───────────────────────── 1. TOKENS ───────────────────────── */
:root {
    --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Azuis da marca (extraídos da logo) */
    --blue-100: #e3f0ff;
    --blue-200: #bcd9fb;
    --blue-300: #8fc0f6;
    --blue-400: #3d95f2;
    --blue-500: #0b77eb;
    /* primária da marca */
    --blue-600: #0764c5;
    --blue-700: #064da0;

    /* Navys (fundos) */
    --bg: #050f26;
    --surface: #0a1c40;
    --surface-2: #0e2556;

    --border: rgba(143, 192, 246, 0.16);
    --border-strong: rgba(143, 192, 246, 0.32);

    --text: #f3f8ff;
    --text-dim: #9db6dc;
    --text-faint: #7f9bc8;

    /* Cores de plataforma (SOMENTE em botões de plataforma) */
    --wa-from: #1fb157;
    --wa-to: #148f48;
    --tg-from: #2aa3dc;
    --tg-to: #1b86c0;
    --dc: #5865f2;
    --x: #0b0f14;

    /* Laranja (grupo de Moto) e acentos de apoio das seções de conteúdo */
    --moto-from: #f0780f;
    --moto-to: #c2530a;
    --accent-cyan: #35d0f0;
    --accent-green: #3ddc97;
    --accent-amber: #ffb340;

    /* Espaçamento (escala 4px) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 32px;
    --space-8: 48px;

    /* Raios */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 999px;

    /* Sombras (tingidas de navy) */
    --shadow-sm: 0 2px 8px rgba(2, 8, 23, 0.35);
    --shadow-md: 0 10px 30px -10px rgba(2, 8, 23, 0.6);
    --shadow-lg: 0 24px 60px -16px rgba(2, 8, 23, 0.8);
    --glow: 0 10px 28px -10px rgba(11, 119, 235, 0.7);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ───────────────────────── 2. RESET / BASE ───────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

html.modal-open {
    overflow: hidden;
}

body {
    position: relative;
    min-height: 100vh;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Glow azul ambiente + textura de pontos (sem imagens: custo zero) */
body::before,
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

body::before {
    background:
        radial-gradient(120% 70% at 50% -12%, rgba(11, 119, 235, 0.3), transparent 58%),
        radial-gradient(70% 50% at 92% 8%, rgba(61, 149, 242, 0.14), transparent 55%),
        radial-gradient(60% 45% at 6% 28%, rgba(6, 77, 160, 0.28), transparent 58%);
}

body::after {
    background-image: radial-gradient(rgba(143, 192, 246, 0.07) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(110% 70% at 50% 6%, #000 25%, transparent 75%);
    mask-image: radial-gradient(110% 70% at 50% 6%, #000 25%, transparent 75%);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

[hidden] {
    display: none !important;
}

h1,
h2,
h3,
h4 {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--blue-700);
    border-radius: 3px;
}

/* Acessibilidade: foco visível em tudo que é interativo */
:focus-visible {
    outline: 2px solid var(--blue-300);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Ícones (sprite inline Lucide / Font Awesome) */
.icon {
    display: inline-block;
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
    vertical-align: middle;
}

/* ───────────────────────── 3. LAYOUT ───────────────────────── */
.landing-wrapper {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-4) var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-7);
}

@media (max-width: 768px) {
    .landing-wrapper {
        padding-top: var(--space-7);
        /* espaço para o botão fixo mobile + área segura do iOS/Android */
        padding-bottom: calc(112px + var(--safe-bottom));
    }
}

.landing-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-7);
}

.section-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: var(--space-4);
}

/* Superfícies compartilhadas (mesmo raio / borda / sombra) */
.main-card,
.offers-section-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.step-card,
.stat-card,
.accordion-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* ───────────────────────── 4. HERO ───────────────────────── */
.hero-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.avatar-container {
    position: relative;
    width: 92px;
    height: 92px;
    margin: 0 auto var(--space-5);
}

.avatar-container::before {
    content: '';
    position: absolute;
    inset: -6px;
    z-index: -1;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--blue-500), var(--blue-300), var(--blue-700), var(--blue-500));
    filter: blur(14px);
    opacity: 0.85;
    animation: spinGlow 5s linear infinite;
}

@keyframes spinGlow {
    to {
        transform: rotate(360deg);
    }
}

.avatar-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg);
    box-shadow: 0 0 24px rgba(11, 119, 235, 0.5);
}

.verified-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--blue-500);
    border: 3px solid var(--bg);
    color: #fff;
}

.verified-badge .icon {
    width: 13px;
    height: 13px;
    stroke-width: 3.5;
}

.hero-title {
    font-size: clamp(2.2rem, 7vw, 3.3rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: var(--space-3);
    text-shadow: 0 4px 20px rgba(2, 8, 23, 0.5);
}

.hero-title span {
    background: linear-gradient(135deg, var(--blue-300) 0%, var(--blue-400) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--blue-400);
}

.hero-subtitle {
    max-width: 480px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--text-dim);
}

.hero-subtitle strong {
    color: var(--text);
    font-weight: 600;
}

/* ───────────────────────── 5. BOTÕES ───────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: var(--space-3) var(--space-5);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.2;
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.08);
}

.btn:active {
    transform: translateY(0) scale(0.99);
}

.btn--lg {
    width: 100%;
    min-height: 56px;
    font-size: 1.05rem;
}

.btn--sm {
    min-height: 44px;
    padding: var(--space-2) var(--space-3);
    font-size: 0.85rem;
}

.btn--wa {
    background: linear-gradient(180deg, var(--wa-from), var(--wa-to));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 10px 24px -10px rgba(31, 177, 87, 0.65);
}

.btn--tg {
    background: linear-gradient(180deg, var(--tg-from), var(--tg-to));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 10px 24px -10px rgba(42, 163, 220, 0.65);
}

.btn--dc {
    background: var(--dc);
}

.btn--x {
    background: var(--x);
    border-color: rgba(255, 255, 255, 0.18);
}

.btn--primary {
    background: linear-gradient(180deg, var(--blue-400), var(--blue-600));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), var(--glow);
}

.btn--moto {
    position: relative;
    background: linear-gradient(180deg, var(--moto-from), var(--moto-to));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 10px 24px -10px rgba(240, 120, 15, 0.7);
}

.btn-badge {
    padding: 2px var(--space-2);
    border-radius: var(--radius-full);
    background: #fff;
    color: var(--moto-to);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.4;
}

.btn .icon-arrow {
    width: 1.1em;
    height: 1.1em;
    transition: transform 0.25s var(--ease);
}

.btn:hover .icon-arrow {
    transform: translateX(3px);
}

/* Brilho passando no botão principal */
.btn-shimmer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.2) 45%, rgba(255, 255, 255, 0.42) 50%, rgba(255, 255, 255, 0.2) 55%, transparent 100%);
    transform: translateX(-130%) skewX(-22deg);
    animation: btn-shimmer 3.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes btn-shimmer {
    0% {
        transform: translateX(-130%) skewX(-22deg);
    }

    60%,
    100% {
        transform: translateX(230%) skewX(-22deg);
    }
}

/* ───────────────────────── 6. CARD PRINCIPAL (abas + CTA) ───────────────────────── */
.group-selector-label {
    display: block;
    margin-bottom: calc(var(--space-1) * -1);
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.segmented-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-1);
    padding: var(--space-1);
    background: rgba(143, 192, 246, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.seg-tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 var(--space-3);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-dim);
    transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}

.seg-tab-btn:hover {
    color: #fff;
    background: rgba(143, 192, 246, 0.1);
}

.seg-tab-btn[aria-selected="true"] {
    color: #fff;
    background: linear-gradient(180deg, var(--blue-500), var(--blue-600));
    box-shadow: var(--glow), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.category-stripe-box {
    padding: var(--space-1) 0;
}

.cat-panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.category-accent-title {
    margin-bottom: var(--space-2);
    padding-left: var(--space-3);
    border-left: 4px solid var(--blue-500);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #fff;
}

.category-accent-desc {
    padding-left: var(--space-4);
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text-dim);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    width: 100%;
}

.microcopy-anti-spam {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-top: calc(var(--space-1) * -1);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dim);
}

.microcopy-anti-spam .icon {
    width: 16px;
    height: 16px;
    color: var(--blue-300);
}

/* ───────────────────────── 7. PROVA SOCIAL ───────────────────────── */
.members-proof-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.stack-avatar {
    width: 38px;
    height: 38px;
    margin-left: -10px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg);
    background: var(--surface-2);
    box-shadow: var(--shadow-sm);
}

.avatar-stack .stack-avatar:first-child {
    margin-left: 0;
}

.proof-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.25;
}

.proof-count {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
}

.proof-sub {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ───────────────────────── 8. OFERTAS (carrossel) ───────────────────────── */
.offers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

.offers-header-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
}

.offers-header-title .icon {
    width: 20px;
    height: 20px;
    color: var(--blue-300);
}

.offers-header-tag,
.card-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px var(--space-2);
    border-radius: var(--radius-full);
    background: rgba(61, 149, 242, 0.14);
    border: 1px solid rgba(61, 149, 242, 0.3);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-300);
}

.offers-hint {
    margin-top: calc(var(--space-2) * -1);
    font-size: 0.85rem;
    color: var(--text-dim);
}

.carousel-container {
    display: flex;
    gap: var(--space-4);
    margin: -8px;
    padding: var(--space-3) var(--space-2) var(--space-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-container.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.carousel-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    width: 270px;
    padding: var(--space-4);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    scroll-snap-align: start;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.carousel-item:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.card-content {
    flex: 1;
    min-width: 0;
}

.card-tag {
    margin-bottom: var(--space-2);
}

.card-title {
    margin-bottom: 6px;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.card-desc {
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-dim);
}

.card-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--border);
    pointer-events: none;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: calc(var(--space-1) * -1);
}

.dot {
    position: relative;
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: var(--radius-full);
    background: rgba(143, 192, 246, 0.25);
    transition: width 0.3s var(--ease), background 0.3s;
}

.dot::after {
    content: '';
    position: absolute;
    inset: -10px -4px;
}

.dot.active {
    width: 22px;
    background: var(--blue-400);
}

/* ───────────────────────── 9. COMO FUNCIONA ───────────────────────── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

@media (max-width: 600px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.step-card {
    padding: var(--space-5);
}

.step-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.step-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: rgba(11, 119, 235, 0.18);
    border: 1px solid rgba(61, 149, 242, 0.25);
    color: var(--blue-300);
}

.step-icon .icon {
    width: 20px;
    height: 20px;
}

.step-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-dim);
}

/* ───────────────────────── 10. ESTATÍSTICAS ───────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-card {
    position: relative;
    overflow: hidden;
    padding: var(--space-5) var(--space-2);
    text-align: center;
    transition: transform 0.3s var(--ease), border-color 0.3s;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-400), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-2);
    color: var(--blue-300);
}

.stat-icon .icon {
    width: 28px;
    height: 28px;
}

.stat-value {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-1);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dim);
}

/* ───────── Vida nas seções de conteúdo: azul continua sendo a base,
   cada item ganha UM acento de apoio (ciano / verde / âmbar) ───────── */
.section-title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.section-title::before {
    content: '';
    width: 5px;
    height: 1.1em;
    border-radius: var(--radius-full);
    background: linear-gradient(180deg, var(--blue-300), var(--blue-500));
    box-shadow: 0 0 14px rgba(11, 119, 235, 0.6);
}

.step-card,
.stat-card {
    --accent: var(--blue-400);
    background:
        radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
        linear-gradient(180deg, var(--surface-2), var(--surface));
    border-color: color-mix(in srgb, var(--accent) 28%, transparent);
}

.step-card:nth-child(1),
.stat-card:nth-child(1) { --accent: var(--accent-cyan); }

.step-card:nth-child(2),
.stat-card:nth-child(2) { --accent: var(--accent-green); }

.step-card:nth-child(3),
.stat-card:nth-child(3) { --accent: var(--accent-amber); }

.stat-card:nth-child(4) { --accent: var(--blue-400); }

.step-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.step-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0.85;
}

.step-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--accent) 60%, transparent);
    box-shadow: var(--shadow-md), 0 0 28px -12px var(--accent);
}

.step-icon {
    background: color-mix(in srgb, var(--accent) 18%, transparent);
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
    color: var(--accent);
    box-shadow: 0 0 18px -6px var(--accent);
}

.stat-card::before {
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 1;
}

.stat-card:hover {
    border-color: color-mix(in srgb, var(--accent) 60%, transparent);
    box-shadow: var(--shadow-md), 0 0 28px -12px var(--accent);
}

.stat-icon {
    color: var(--accent);
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 60%, transparent));
}

.stat-value {
    background: linear-gradient(180deg, #fff 30%, color-mix(in srgb, var(--accent) 55%, #fff));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
}

/* ───────────────────────── 11. FAQ ───────────────────────── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.accordion-card {
    overflow: hidden;
    transition: border-color 0.3s;
}

.accordion-card.is-open {
    border-color: var(--blue-500);
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
    min-height: 56px;
    padding: var(--space-4) var(--space-5);
    text-align: left;
    color: #fff;
}

.faq-question {
    flex-grow: 1;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.accordion-chevron {
    width: 20px;
    height: 20px;
    color: var(--text-dim);
    transition: transform 0.3s var(--ease), color 0.3s;
}

.accordion-card.is-open .accordion-chevron {
    transform: rotate(180deg);
    color: var(--blue-300);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
}

.accordion-body {
    padding: 0 var(--space-5) var(--space-5);
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-dim);
}

.accordion-body strong {
    color: var(--text);
    font-weight: 600;
}

/* ───────────────────────── 12. MASCOTE ───────────────────────── */
.mascot-section {
    display: flex;
    justify-content: center;
}

.mascot-wrapper {
    position: relative;
}

.mascot-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(11, 119, 235, 0.5) 0%, rgba(6, 77, 160, 0.28) 45%, transparent 70%);
    filter: blur(30px);
    pointer-events: none;
    animation: mascotGlow 4s ease-in-out infinite alternate;
}

@keyframes mascotGlow {
    from {
        opacity: 0.55;
        transform: translate(-50%, -50%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.18);
    }
}

.mascot-img {
    position: relative;
    width: clamp(160px, 42vw, 195px);
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 0 22px rgba(11, 119, 235, 0.4)) drop-shadow(0 15px 30px rgba(2, 8, 23, 0.6));
    animation: floatMascot 4s ease-in-out infinite;
    user-select: none;
}

@keyframes floatMascot {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(1.5deg);
    }
}

/* ───────────────────────── 13. RODAPÉ ───────────────────────── */
.site-footer {
    padding-top: var(--space-4);
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-2);
}

.footer-links a {
    display: inline-block;
    padding: var(--space-1) 0;
    font-size: 0.88rem;
    color: var(--text-dim);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-faint);
}

/* CTA fixo — SOMENTE mobile, respeitando a área segura (notch / barra de gestos) */
.fixed-footer-btn {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: var(--space-3) var(--space-5) calc(var(--space-4) + var(--safe-bottom));
    padding-left: max(var(--space-5), env(safe-area-inset-left));
    padding-right: max(var(--space-5), env(safe-area-inset-right));
    background: rgba(5, 15, 38, 0.88);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    transform: translateY(100%);
    animation: footerIn 0.6s var(--ease) 1s forwards;
}

@media (max-width: 768px) {
    .fixed-footer-btn {
        display: flex;
    }
}

@keyframes footerIn {
    to {
        transform: translateY(0);
    }
}

.fixed-footer-btn .btn {
    max-width: 400px;
}

.fixed-footer-note {
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* ───────────────────────── 14. MODAIS (base) ───────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(var(--space-4), env(safe-area-inset-top)) max(var(--space-4), env(safe-area-inset-right)) max(var(--space-4), var(--safe-bottom)) max(var(--space-4), env(safe-area-inset-left));
    background: rgba(3, 9, 26, 0.78);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.modal-container {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    max-height: 90dvh;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(16px) scale(0.97);
    transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.modal-container:focus {
    outline: none;
}

.modal-overlay.active .modal-container {
    opacity: 1;
    transform: none;
}

.modal-close {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    z-index: 10;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(143, 192, 246, 0.14);
    color: #fff;
    transition: background 0.2s, transform 0.2s;
}

.modal-close:hover {
    background: rgba(143, 192, 246, 0.26);
    transform: scale(1.05);
}

.modal-close .icon {
    width: 20px;
    height: 20px;
}

.modal-scrollable {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
}

.modal-content-area {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.modal-scrollable::-webkit-scrollbar {
    display: none;
}

.modal-sticky-footer {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: center;
    padding: var(--space-4) var(--space-4) calc(var(--space-4) + var(--safe-bottom));
    background: rgba(8, 26, 61, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
}

.modal-sticky-footer .btn {
    max-width: 400px;
}

/* Artigos (cases) */
.article-header {
    padding: var(--space-6) var(--space-6) 0;
    margin-bottom: var(--space-6);
    border-bottom: 1px solid var(--border);
}

.article-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-300);
}

.article-title {
    margin: var(--space-3) 0;
    padding-right: var(--space-6);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #fff;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    font-size: 0.88rem;
    color: var(--text-dim);
}

.article-meta strong {
    display: block;
    color: #fff;
}

.article-author-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-strong);
}

.article-body {
    padding: 0 var(--space-6) var(--space-6);
    font-size: 1rem;
    line-height: 1.7;
    color: #cfe0f7;
}

.article-body p+p {
    margin-top: var(--space-4);
}

.article-body h2 {
    margin: var(--space-6) 0 var(--space-3);
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.article-body strong {
    color: #fff;
}

.article-body img {
    width: 100%;
    height: auto;
    margin: var(--space-4) 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.article-caption {
    margin-top: calc(var(--space-2) * -1);
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-dim);
}

.article-highlight {
    margin: var(--space-6) 0;
    padding: var(--space-4);
    background: rgba(61, 149, 242, 0.08);
    border-left: 3px solid var(--blue-500);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-cta {
    margin-top: var(--space-6);
    padding: var(--space-6);
    text-align: center;
    background: rgba(143, 192, 246, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.article-cta h3 {
    margin-bottom: var(--space-3);
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.article-cta p {
    margin-bottom: var(--space-5);
    font-size: 0.92rem;
    color: var(--text-dim);
}

.article-cta .btn {
    display: inline-flex;
}

/* Documentos (Termos / Quem somos) */
.doc-body {
    padding: var(--space-6);
}

.doc-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--space-5);
    text-align: center;
}

.doc-hero .avatar-container {
    width: 70px;
    height: 70px;
    margin-bottom: var(--space-3);
}

.doc-title {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #fff;
}

.doc-text {
    text-align: left;
    line-height: 1.7;
    color: var(--text-dim);
}

.doc-text p+p {
    margin-top: var(--space-4);
}

.doc-text h2 {
    margin: var(--space-6) 0 var(--space-3);
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}

.doc-text strong {
    color: #fff;
}

/* ───────────────────────── 15. MODAL "NOSSOS GRUPOS" ───────────────────────── */
/* Card-gatilho (opcional — use data-action="open-groups") */
.view-all-groups-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    width: 100%;
    padding: var(--space-3) var(--space-5);
    text-align: left;
    background: linear-gradient(135deg, rgba(11, 119, 235, 0.16), rgba(6, 77, 160, 0.16));
    border: 1px solid rgba(61, 149, 242, 0.4);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.view-all-groups-card:hover {
    transform: translateY(-2px);
    border-color: var(--blue-400);
    box-shadow: var(--shadow-md);
}

.view-all-groups-card .card-left {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.view-all-groups-card .card-icon-wrap {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
    color: #fff;
}

.view-all-groups-card .card-icon-wrap .icon {
    width: 20px;
    height: 20px;
}

.card-text-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.card-text-sub {
    display: block;
    font-size: 0.78rem;
    color: var(--text-dim);
}

.view-all-groups-card .card-arrow {
    color: var(--blue-300);
}

#groups-modal .modal-container {
    max-width: 540px;
}

.groups-modal-header {
    padding: var(--space-6) var(--space-6) var(--space-4);
    border-bottom: 1px solid var(--border);
}

.groups-modal-header h2 {
    margin-bottom: 2px;
    padding-right: var(--space-7);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.groups-modal-header p {
    font-size: 0.88rem;
    color: var(--text-dim);
}

.groups-modal-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: var(--space-4);
    min-height: 0;
    padding: var(--space-4) var(--space-4) calc(var(--space-6) + var(--safe-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
}

.groups-modal-body::-webkit-scrollbar {
    display: none;
}

.gcard {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.gcard:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.gcard-top {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.gcard-thumb {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--border);
    background: var(--surface);
}

.gcard-thumb-placeholder {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: rgba(61, 149, 242, 0.14);
    border: 1px solid rgba(61, 149, 242, 0.3);
    color: var(--blue-300);
}

.gcard-thumb-placeholder .icon {
    width: 26px;
    height: 26px;
}

.gcard-meta {
    flex: 1;
    min-width: 0;
}

.gcard-category {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-300);
}

.gcard-category .icon {
    width: 13px;
    height: 13px;
}

.gcard-name {
    margin-bottom: 2px;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.gcard-members {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.gcard-desc {
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--text-dim);
}

.gcard-btns {
    display: flex;
    gap: var(--space-3);
}

.gcard-btns .btn {
    flex: 1;
}

/* "ver mais": seta + texto, centralizados na mesma linha */
.gcard-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 36px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
    color: var(--text-dim);
    transition: color 0.2s;
}

.gcard-toggle:hover {
    color: #fff;
}

.gcard-toggle .icon {
    width: 14px;
    height: 14px;
    transition: transform 0.35s var(--ease);
}

.gcard-toggle[aria-expanded="true"] .icon {
    transform: rotate(180deg);
}

.gcard-extra {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.4s var(--ease), opacity 0.3s, visibility 0s linear 0.4s;
}

.gcard-extra.open {
    max-height: 160px;
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.gcard-extra-inner {
    display: flex;
    gap: var(--space-3);
    padding: 2px 0 var(--space-1);
}

.gcard-extra-inner .btn {
    flex: 1;
}

/* ───────────────────── ENTRADA SUAVE AO ROLAR ───────────────────── */
/* Só oculta quando o JS marcou a página (sem JS, tudo continua visível) */
.reveal-ready .reveal:not(.is-visible) {
    opacity: 0;
}

.reveal.is-visible {
    animation: reveal-up 0.65s var(--ease) var(--reveal-delay, 0ms) backwards;
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ───────────────────────── 16. MOVIMENTO REDUZIDO ───────────────────────── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fixed-footer-btn {
        transform: none;
    }
}
