/* ============================================================
   Schōla Bēllica — site_v2.css
   "Cinematic recruit" alternative design. Same brand DNA
   (dark / green / gold, macrons, Latin motto, real BannerFont +
   SubtextFont), but a taller dramatic hero, editorial rhythm,
   more negative space, fewer hard card borders. Reuses the same
   element IDs as home.js so System 8 lights it up identically.
   Self-contained: does NOT import site.css.
   ============================================================ */

/* --- Fonts (real files, now committed) --- */
@font-face { font-family: 'LeagueSpartan'; src: url('/assets/LeagueSpartan-ExtraLight.ttf'); font-display: swap; }
@font-face { font-family: 'Hanken';        src: url('/assets/HankenGrotesk-Regular.ttf'); font-display: swap; }
@font-face { font-family: 'PoppinsItalic'; src: url('/assets/Poppins-LightItalic.ttf'); font-display: swap; }
@font-face { font-family: 'BannerFont';    src: url('/assets/BannerFont.otf'); font-display: swap; }
@font-face { font-family: 'SubtextFont';   src: url('/assets/SubtextFont.ttf'); font-display: swap; }

:root {
    --bg-site: #070807;
    --bg-card: #101410;
    --bg-card-2: #0c0f0c;
    --accent-green: #7AC142;
    --accent-green-bright: #8FD954;
    --accent-blue: #2A85C6;
    --accent-gold: #E5BA22;
    --accent-green-dark: #3B8224;
    --accent-danger: #ef4444;
    --text-main: #FFFFFF;
    --text-secondary: #9BA39B;
    --hairline: rgba(122, 193, 66, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* anchor target breathing room so the section title isn't flush to the top */
#alistamento { scroll-margin-top: 24px; }

body {
    background-color: var(--bg-site);
    color: var(--text-main);
    font-family: 'Hanken', sans-serif;
    line-height: 1.65;
    margin: 0; padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* subtle vertical atmosphere behind everything */
    background-image:
        radial-gradient(circle at 50% -10%, rgba(59, 130, 36, 0.12), transparent 45%),
        linear-gradient(180deg, #070807 0%, #050605 100%);
    background-attachment: fixed;
}

h1, h2, h3, h4 { font-family: 'LeagueSpartan', sans-serif; text-transform: uppercase; letter-spacing: 2px; margin-top: 0; }
.subtext { font-family: 'PoppinsItalic', sans-serif; color: var(--text-secondary); }
a { color: var(--accent-green); }

/* section eyebrow + heading rhythm */
.eyebrow { font-family: 'LeagueSpartan', sans-serif; text-transform: uppercase; letter-spacing: 4px; font-size: 0.72rem; color: var(--accent-green); opacity: 0.85; margin-bottom: 8px; }
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: 3px; }
.section-head .subtext { font-size: 0.95rem; }

/* --- scrollbars --- */
.scroll-panel { max-height: 520px; overflow-y: auto; padding-right: 10px; }
.scroll-panel::-webkit-scrollbar { width: 6px; }
.scroll-panel::-webkit-scrollbar-track { background: transparent; }
.scroll-panel::-webkit-scrollbar-thumb { background: var(--accent-green-dark); border-radius: 4px; }

/* ============================================================
   HERO — full-bleed cinematic
   ============================================================ */
.hero-v2 {
    position: relative;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px 60px;
    overflow: hidden;
    border-bottom: 1px solid var(--hairline);
}
/* layered banner background with heavy cinematic scrim */
.hero-v2::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(180deg, rgba(7,8,7,0.55) 0%, rgba(7,8,7,0.75) 55%, rgba(7,8,7,0.98) 100%),
        radial-gradient(ellipse at 50% 35%, rgba(59,130,36,0.22), transparent 60%),
        url('/assets/banner_bg_v2.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1.04);
    animation: heroDrift 28s ease-in-out infinite alternate;
}
@keyframes heroDrift {
    from { transform: scale(1.04) translateY(0); }
    to   { transform: scale(1.10) translateY(-12px); }
}
.hero-v2 > * { position: relative; z-index: 1; }

.hero-logo {
    width: clamp(170px, 26vw, 340px);
    height: auto;
    filter: drop-shadow(0 14px 30px rgba(0,0,0,0.85));
    animation: fadeUp 0.9s ease both;
}
.hero-title {
    font-family: 'BannerFont', 'LeagueSpartan', sans-serif;
    font-size: clamp(2.6rem, 8vw, 6.2rem);
    color: #ECECEC;
    margin: 0.1em 0 0;
    letter-spacing: 0.18em; margin-right: -0.18em;
    line-height: 0.95;
    text-shadow: 0 4px 24px rgba(0,0,0,0.95), 0 0 60px rgba(59,130,36,0.25);
    animation: fadeUp 0.9s ease 0.1s both;
}
.hero-rule { width: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-green), transparent); margin: 22px auto 18px; animation: ruleGrow 1.1s ease 0.5s both; }
@keyframes ruleGrow { to { width: min(420px, 70vw); } }

.hero-motto-latin {
    font-family: 'SubtextFont', 'LeagueSpartan', sans-serif;
    font-size: clamp(0.85rem, 1.7vw, 1.25rem);
    letter-spacing: 3px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.9);
    animation: fadeUp 0.9s ease 0.25s both;
}
.hero-motto-pt {
    font-family: 'SubtextFont', 'LeagueSpartan', sans-serif;
    font-size: clamp(0.72rem, 1.3vw, 0.95rem);
    letter-spacing: 1.5px;
    color: var(--accent-green-bright);
    margin-top: 6px;
    animation: fadeUp 0.9s ease 0.35s both;
}

/* hero live counters — glassy chips */
.hero-stats { display: flex; gap: 18px; margin-top: 38px; flex-wrap: wrap; justify-content: center; animation: fadeUp 0.9s ease 0.5s both; }
.hero-stat {
    background: rgba(12, 16, 12, 0.55);
    backdrop-filter: blur(8px);
    border: 1px solid var(--hairline);
    border-radius: 10px;
    padding: 14px 26px;
    min-width: 150px;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.hero-stat .num { font-family: 'LeagueSpartan', sans-serif; font-size: 2.1rem; font-weight: bold; line-height: 1; }
.hero-stat .lbl { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-secondary); }
.hero-stat .dot { height: 9px; width: 9px; border-radius: 50%; display: inline-block; margin-right: 6px; vertical-align: middle; }
.dot.online { background: var(--accent-green); box-shadow: 0 0 10px var(--accent-green); }
.dot.voice  { background: var(--accent-blue);  box-shadow: 0 0 10px var(--accent-blue); }

/* hero CTA */
.hero-cta {
    margin-top: 36px;
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--accent-green);
    color: #06250a;
    border: none; border-radius: 10px;
    padding: 17px 44px;
    font-family: 'LeagueSpartan', sans-serif; text-transform: uppercase;
    letter-spacing: 2.5px; font-size: 1.05rem; font-weight: bold;
    text-decoration: none; cursor: pointer;
    box-shadow: 0 8px 30px rgba(122,193,66,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    animation: fadeUp 0.9s ease 0.6s both;
}

/* Three-button hero row (approved preview 2026-05-30): green center flanked by
   a blue "Atividades Agendadas" and a gold "Ranking", both with a metal sheen. */
.hero-actions {
    margin-top: 36px;
    display: flex; gap: 12px; flex-wrap: wrap;
    align-items: stretch; justify-content: center;
    max-width: 760px; margin-left: auto; margin-right: auto;
    animation: fadeUp 0.9s ease 0.6s both;
}
/* All three buttons share one size: equal width (flex:1 1 0) + equal height
   (same padding/font), so the row is symmetric and visually centered regardless
   of label length. Overrides the per-button padding/font below via specificity. */
.hero-actions .hero-cta,
.hero-actions .hero-cta-side {
    box-sizing: border-box;
    flex: 1 1 0; min-width: 0;
    margin-top: 0; animation: none;
    justify-content: center; text-align: center;
    padding: 14px 14px;
    font-size: 0.8rem; letter-spacing: 1px;
    line-height: 1.2;
}
.hero-cta-side {
    display: inline-flex; align-items: center; gap: 8px;
    border-radius: 10px; padding: 15px 24px;
    font-family: 'LeagueSpartan', sans-serif; text-transform: uppercase;
    letter-spacing: 1.6px; font-size: 0.9rem; font-weight: bold;
    text-decoration: none; cursor: pointer;
    border: 1px solid rgba(255,255,255,0.18);
    /* metal sheen: top highlight → mid → bottom shade, over the base color */
    background-image: linear-gradient(180deg, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0.05) 18%, rgba(0,0,0,0.18) 82%, rgba(0,0,0,0.34) 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.hero-cta-side .hca-ico { font-size: 0.95em; }
.hero-cta-blue {
    background-color: var(--accent-blue); color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.45);
    box-shadow: 0 8px 24px rgba(42,133,198,0.34), inset 0 1px 0 rgba(255,255,255,0.35);
}
.hero-cta-gold {
    background-color: var(--accent-gold); color: #2a2102;
    text-shadow: 0 1px 1px rgba(255,255,255,0.25);
    box-shadow: 0 8px 24px rgba(229,186,34,0.34), inset 0 1px 0 rgba(255,255,255,0.5);
}
.hero-cta-side:hover, .hero-cta:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* Floating sticky enlist pill — hidden until home.js reveals it on scroll */
.enlist-sticky {
    position: fixed; top: 14px; left: 50%; transform: translateX(-50%) translateY(-12px);
    z-index: 1000;
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--accent-green); color: #06250a;
    border-radius: 999px; padding: 10px 24px;
    font-family: 'LeagueSpartan', sans-serif; text-transform: uppercase;
    letter-spacing: 2px; font-size: 0.8rem; font-weight: bold; text-decoration: none;
    box-shadow: 0 8px 22px rgba(0,0,0,0.5);
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.enlist-sticky.visible { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }

/* Member dossier — lifetime/all-time stat band (Bundle A) */
.dossier-lifetime {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin: 16px 0 4px;
}
.dossier-lifetime .dl-stat {
    flex: 1 1 0; min-width: 90px; text-align: center;
    background: rgba(12,16,12,0.55);
    border: 1px solid rgba(122,193,66,0.16);
    border-radius: 10px; padding: 10px 8px;
}
.dossier-lifetime .dl-num {
    font-size: 1.3rem; font-weight: bold; color: var(--accent-green);
    font-family: 'LeagueSpartan', monospace;
}
.dossier-lifetime .dl-lbl {
    font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase;
    color: var(--text-secondary); margin-top: 2px;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(122,193,66,0.5); background: var(--accent-green-bright); }
.hero-cta.disabled { opacity: 0.45; pointer-events: none; box-shadow: none; }

.scroll-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--text-secondary); font-size: 1.4rem; animation: bob 2s ease-in-out infinite; z-index: 1; text-decoration: none; cursor: pointer; }
.scroll-hint:hover { color: var(--accent-green); }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); opacity: 0.5; } 50% { transform: translate(-50%, 8px); opacity: 1; } }

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

/* ============================================================
   CONTENT WRAPPER + SECTIONS
   ============================================================ */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; flex: 1 0 auto; }
.section { padding: 72px 0; border-bottom: 1px solid var(--hairline); }
.section:last-of-type { border-bottom: none; }

/* recruit pitch — the emotional core, two columns */
.pitch { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.pitch-lead { font-size: 1.15rem; color: var(--text-main); margin: 0 0 24px; }
.pitch-lead .em { color: var(--accent-green-bright); font-weight: bold; }
.pillars { list-style: none; padding: 0; margin: 0; }
.pillar { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.pillar:last-child { border-bottom: none; }
.pillar .ico { font-size: 1.5rem; flex-shrink: 0; width: 34px; text-align: center; }
.pillar .t { font-family: 'LeagueSpartan', sans-serif; letter-spacing: 1px; text-transform: uppercase; font-size: 0.92rem; color: var(--text-main); }
.pillar .d { font-size: 0.9rem; color: var(--text-secondary); }

.enlist-panel {
    background: linear-gradient(160deg, rgba(122,193,66,0.08), rgba(12,16,12,0.4));
    border: 1px solid var(--hairline);
    border-radius: 14px;
    padding: 30px;
    position: sticky; top: 24px;
}
.enlist-panel h3 { border: none; font-size: 1.2rem; margin-bottom: 6px; }
.enlist-expect { list-style: none; padding: 0; margin: 18px 0 0; }
.enlist-expect li { font-size: 0.9rem; color: var(--text-secondary); padding: 9px 0 9px 26px; position: relative; border-top: 1px solid var(--hairline); }
.enlist-expect li:first-child { border-top: none; }
.enlist-expect li::before { content: "▸"; color: var(--accent-green); position: absolute; left: 4px; }
.enlist-cta {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-top: 22px; width: 100%;
    background: transparent; color: var(--accent-green);
    border: 2px solid var(--accent-green); border-radius: 10px;
    padding: 14px; font-family: 'LeagueSpartan', sans-serif;
    text-transform: uppercase; letter-spacing: 2px; font-weight: bold; font-size: 1rem;
    text-decoration: none; cursor: pointer; transition: all 0.25s ease;
}
.enlist-cta:hover { background: var(--accent-green); color: #06250a; }
.enlist-cta.disabled { opacity: 0.45; pointer-events: none; }

/* stat band — three big numbers, no boxes */
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.stat-band .stat .n { font-family: 'LeagueSpartan', sans-serif; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: bold; line-height: 1; }
.stat-band .stat .l { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-secondary); margin-top: 8px; }
.stat-band .green .n { color: var(--accent-green); }
.stat-band .blue .n { color: var(--accent-blue); }
.stat-band .gold .n { color: var(--accent-gold); font-size: clamp(1.4rem, 3vw, 2rem); }
.stat-band .gold .weapon-row { display: flex; align-items: center; justify-content: center; gap: 10px; }
.stat-band .gold img { width: 42px; height: 42px; border-radius: 6px; border: 1px solid var(--accent-gold); }

/* soft panel (replaces hard cards) */
.panel { background: var(--bg-card-2); border: 1px solid var(--hairline); border-radius: 14px; padding: 26px; }
.panel h3 { border: none; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* empty state */
.soon { text-align: center; padding: 38px 16px; color: var(--text-secondary); }
.soon .soon-badge { display: inline-block; font-family: 'LeagueSpartan', sans-serif; letter-spacing: 1.5px; font-size: 0.7rem; text-transform: uppercase; color: var(--accent-gold); border: 1px solid var(--accent-gold); border-radius: 20px; padding: 4px 14px; margin-bottom: 12px; }

/* tables (event radar) */
table { width: 100%; border-collapse: collapse; margin-top: 6px; }
th, td { text-align: left; padding: 13px 12px; border-bottom: 1px solid var(--hairline); }
th { color: var(--text-secondary); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; font-family: 'LeagueSpartan', sans-serif; }
tr:hover td { background: rgba(122,193,66,0.04); }
.table-responsive { width: 100%; }
.live-pulse { color: var(--accent-danger); font-weight: bold; font-family: 'LeagueSpartan', sans-serif; font-size: 0.8rem; letter-spacing: 1px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* badges */
.badges-container { display: flex; gap: 5px; flex-wrap: wrap; }
.badge { padding: 4px 8px; border-radius: 20px; font-size: 0.68rem; font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px; font-family: 'Hanken', sans-serif; }
.badge-school { background: rgba(122,193,66,0.15); color: var(--accent-green); border: 1px solid var(--accent-green); }
.badge-farm { background: rgba(229,186,34,0.15); color: var(--accent-gold); border: 1px solid var(--accent-gold); }
.badge-seal { background: rgba(42,133,198,0.15); color: var(--accent-blue); border: 1px solid var(--accent-blue); }
.badge-standard { background: #1a201a; color: var(--text-secondary); border: 1px solid #2a322a; }

/* live squads / activity items */
.activity-item { padding: 12px; background: rgba(255,255,255,0.02); border-radius: 10px; border: 1px solid var(--hairline); margin-bottom: 10px; }
.activity-icon { font-size: 1.6em; width: 45px; text-align: center; }
.activity-details { flex-grow: 1; }
.activity-title { font-weight: bold; color: var(--text-main); }
.activity-meta { font-size: 0.85em; color: var(--text-secondary); display: flex; justify-content: space-between; align-items: center; }
.recent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fireteam-size { background: #1a201a; padding: 2px 6px; border-radius: 4px; font-weight: bold; color: var(--accent-blue); font-family: monospace; }
.player-chip { background: rgba(122,193,66,0.12); color: var(--accent-green); border: 1px solid var(--accent-green-dark); border-radius: 20px; padding: 4px 10px; font-size: 0.85em; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 5px; font-weight: bold; }
.player-chip:hover { background: var(--accent-green); color: #000; }

/* leaderboard */
.rank-header { background: rgba(122,193,66,0.08); color: var(--accent-green); padding: 8px 12px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 14px; font-weight: bold; border-radius: 6px; border-left: 3px solid var(--accent-green); }
.rank-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--hairline); cursor: pointer; transition: background 0.2s; }
.rank-row:hover { background: rgba(122,193,66,0.08); }
.rank-name { color: var(--text-main); font-weight: 500; }
.rank-xp { color: var(--accent-gold); font-weight: bold; font-family: monospace; }

/* arsenal */
.arsenal-category { font-family: 'LeagueSpartan'; color: var(--text-secondary); margin: 14px 0 8px; font-size: 0.85rem; letter-spacing: 1px; }
.arsenal-item { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; background: rgba(255,255,255,0.02); padding: 7px; border-radius: 8px; }
.arsenal-item img { width: 36px; height: 36px; border-radius: 6px; }
.arsenal-item div { flex-grow: 1; font-weight: bold; font-size: 0.9em; }
.arsenal-item span { font-family: monospace; color: var(--accent-green); font-size: 0.85em; }

/* charts */
.chart-wrap { position: relative; height: 300px; width: 100%; }
.social-card { text-align: center; }
.social-num { font-size: 2.6rem; font-family: 'LeagueSpartan'; font-weight: bold; color: var(--text-main); line-height: 1; }

/* member profile modal */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.88); backdrop-filter: blur(6px); justify-content: center; align-items: center; z-index: 9000; }
.modal-content { background: var(--bg-card); width: 90%; max-width: 760px; max-height: 88vh; overflow-y: auto; border-radius: 16px; border: 1px solid var(--accent-green); box-shadow: 0 0 60px rgba(122,193,66,0.18); padding: 32px; position: relative; }
.modal-close { position: absolute; top: 16px; right: 22px; font-size: 2em; cursor: pointer; color: var(--text-secondary); }
.modal-close:hover { color: var(--accent-danger); }
.dossier-header { border-bottom: 1px solid var(--hairline); padding-bottom: 18px; margin-bottom: 18px; }
.dossier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dossier-box { background: rgba(10,12,10,0.5); padding: 16px; border-radius: 10px; border: 1px solid var(--hairline); }
.weapon-item { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; background: rgba(255,255,255,0.02); padding: 10px; border-radius: 8px; }
.weapon-icon { width: 46px; height: 46px; border: 1px solid #444; border-radius: 6px; background: #000; object-fit: cover; }
.weapon-stats { flex-grow: 1; }
.weapon-name { font-weight: bold; font-size: 0.9em; }
.wingman-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--hairline); }
.wingman-item:last-child { border-bottom: none; }

/* footer */
.site-footer { flex-shrink: 0; border-top: 1px solid var(--hairline); background: #050605; padding: 30px 20px; text-align: center; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.footer-slogan { font-family: 'LeagueSpartan', sans-serif; text-transform: uppercase; letter-spacing: 3px; color: var(--accent-green); font-size: 1.1rem; }
.footer-motto { font-size: 0.85rem; }

/* responsive */
@media (max-width: 860px) {
    .pitch { grid-template-columns: 1fr; gap: 28px; }
    .enlist-panel { position: static; }
    .stat-band { grid-template-columns: 1fr; gap: 28px; }
    .two-col, .three-col { grid-template-columns: 1fr; }
    .recent-grid { grid-template-columns: 1fr; }
    .dossier-grid { grid-template-columns: 1fr; }
    .section { padding: 52px 0; }
    .hero-v2 { min-height: 88vh; }
}
