:root {
    --fs-bg: #101617;
    --fs-bg-2: #202829;
    --fs-bg-3: #3c4141;
    --fs-card: #151d1f;
    --fs-card-soft: rgba(255, 255, 255, .055);
    --fs-border: rgba(255, 255, 255, .15);
    --fs-text: #f7f7f4;
    --fs-muted: #c8ccca;
    --fs-muted-2: #8f9694;
    --fs-gold: #f6b900;
    --fs-gold-2: #ffcf32;
    --fs-orange: #ff7a1a;
    --fs-red: #ee2f34;
    --app-bg: #f3f4f6;
    --app-card: #ffffff;
    --app-border: #d7dde5;
    --app-green: #4f9d45;
    --app-yellow: #fff200;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--app-bg);
    color: #1f2937;
    font-family: Arial, Helvetica, sans-serif;
}

img {
    max-width: 100%;
}

.app-main {
    padding-top: 92px;
    padding-bottom: 40px;
}

.app-navbar {
    background: linear-gradient(90deg, #121819 0%, #202829 55%, #111516 100%) !important;
    border-bottom: 1px solid rgba(246, 185, 0, .28) !important;
}

.app-navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
}

.app-navbar-logo {
    height: 42px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
}

.app-module-nav .nav-link {
    font-weight: 700;
    color: rgba(255, 255, 255, .78) !important;
    border-bottom: 2px solid transparent;
}

.app-module-nav .nav-link:hover,
.app-module-nav .nav-link.active {
    color: #ffffff !important;
    border-bottom-color: var(--fs-red);
}

.app-module-nav .dropdown-menu {
    border: 1px solid rgba(229, 57, 53, .22);
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.app-module-nav .dropdown-item.active,
.app-module-nav .dropdown-item:active {
    background: var(--fs-red);
}

.module-soon-badge {
    display: inline-flex;
    align-items: center;
    margin-left: .35rem;
    padding: .12rem .38rem;
    border: 1px solid rgba(229, 57, 53, .42);
    border-radius: 999px;
    color: #ffb3b0;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.module-placeholder-card {
    border: 1px solid #d8dee6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .06);
}

.card, .table, .form-control, .form-select, .btn {
    border-radius: .65rem;
}

.kpi-card {
    border: 1px solid var(--app-border);
    background: var(--app-card);
    min-height: 112px;
}

.kpi-label {
    color: #6b7280;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.kpi-value {
    font-size: 1.6rem;
    font-weight: 700;
}

.table-sheet th {
    background: #d9ead3;
    color: #111827;
    border-color: #334155 !important;
    vertical-align: middle;
    white-space: nowrap;
}

.table-sheet td {
    border-color: #9ca3af !important;
    vertical-align: middle;
}

.section-title {
    background: #2f5f39;
    color: #f9fafb;
    font-weight: 700;
    padding: .55rem .85rem;
    border-radius: .65rem .65rem 0 0;
}

.yellow-cell {
    background: var(--app-yellow) !important;
    font-weight: 700;
}

.text-negative {
    color: #b91c1c;
}

.text-positive {
    color: #047857;
}

.nowrap {
    white-space: nowrap;
}

.table-responsive {
    border-radius: .75rem;
}

/* Login */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(90deg, rgba(12, 17, 18, .92), rgba(18, 24, 25, .78)),
        url('../img/fundo-fire-schoen.png') center center / cover no-repeat,
        #111819;
}

.login-card {
    width: 100%;
    max-width: 440px;
    border: 1px solid rgba(246, 185, 0, .24);
    border-radius: 22px;
    background: rgba(15, 22, 24, .92);
    box-shadow: 0 24px 80px rgba(0,0,0,.44);
    backdrop-filter: blur(16px);
}

.login-logo {
    max-width: 270px;
    height: auto;
}

.login-card .form-control {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .18);
    color: #fff;
}

.login-card .form-control:focus {
    box-shadow: 0 0 0 .2rem rgba(246, 185, 0, .15);
    border-color: var(--fs-gold);
}

.btn-fire {
    background: linear-gradient(135deg, var(--fs-gold), var(--fs-orange));
    border-color: var(--fs-gold);
    color: #151515;
    font-weight: 700;
}

.btn-fire:hover,
.btn-fire:focus {
    background: linear-gradient(135deg, var(--fs-gold-2), var(--fs-orange));
    border-color: var(--fs-gold-2);
    color: #111;
}

/* Landing page */
.fs-site {
    min-height: 100vh;
    background:
        radial-gradient(circle at 16% 8%, rgba(238, 47, 52, .20), transparent 25%),
        radial-gradient(circle at 82% 14%, rgba(246, 185, 0, .14), transparent 28%),
        linear-gradient(135deg, #111819 0%, #202829 44%, #3c4141 100%);
    color: var(--fs-text);
    overflow-x: hidden;
}

.fs-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(17, 24, 25, .88);
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    backdrop-filter: blur(16px);
}

.fs-header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.fs-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.fs-brand-logo {
    height: 56px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

.fs-nav {
    display: flex;
    align-items: center;
    gap: 1.55rem;
}

.fs-nav a {
    color: #f4f4ef;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .01em;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.fs-nav a:hover {
    color: var(--fs-gold-2);
}

.fs-admin-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 42px;
    padding: .65rem 1rem;
    border: 1px solid var(--fs-gold);
    border-radius: 10px;
    color: #fff !important;
    background: rgba(246, 185, 0, .05);
}

.fs-admin-link:hover {
    background: rgba(246, 185, 0, .14);
    color: #fff !important;
}

.fs-menu-btn {
    display: none;
    width: 46px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    background: rgba(255,255,255,.06);
}

.fs-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 5px auto;
}

.fs-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.fs-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(12, 17, 18, .96) 0%, rgba(16, 22, 23, .88) 44%, rgba(16, 22, 23, .45) 100%),
        url('../img/fundo-fire-schoen.png') right center / cover no-repeat;
    opacity: .95;
}

.fs-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(90deg, rgba(0,0,0,.55), transparent 80%);
    pointer-events: none;
}

.fs-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    align-items: center;
    gap: 3rem;
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
}

.fs-eyebrow,
.fs-section-heading span,
.fs-section-kicker,
.fs-card-label {
    display: inline-flex;
    color: var(--fs-gold);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .82rem;
    font-weight: 800;
}

.fs-hero h1 {
    margin: 1.15rem 0 .35rem;
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: .92;
    font-weight: 800;
    letter-spacing: -.055em;
    text-shadow: 0 18px 60px rgba(0,0,0,.42);
}

.fs-hero h2 {
    max-width: 760px;
    color: #d5d8d7;
    font-size: clamp(2rem, 4.2vw, 4.25rem);
    line-height: 1.04;
    font-weight: 750;
    letter-spacing: -.035em;
}

.fs-hero h2::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    margin: 1.15rem 0 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--fs-gold), var(--fs-red));
}

.fs-hero p {
    max-width: 660px;
    margin-top: 1.35rem;
    color: var(--fs-muted);
    font-size: 1.06rem;
    line-height: 1.72;
}

.fs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 1.75rem;
}

.fs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 50px;
    padding: .82rem 1.35rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.fs-btn:hover {
    transform: translateY(-1px);
}

.fs-btn-primary {
    background: linear-gradient(135deg, var(--fs-gold), var(--fs-orange));
    color: #171717;
    box-shadow: 0 18px 48px rgba(246, 185, 0, .22);
}

.fs-btn-primary:hover {
    color: #111;
    box-shadow: 0 22px 58px rgba(246, 185, 0, .30);
}

.fs-btn-outline {
    border: 1px solid var(--fs-gold);
    color: #fff;
    background: rgba(255,255,255,.04);
}

.fs-btn-outline:hover {
    color: #fff;
    background: rgba(246, 185, 0, .14);
}

.fs-hero-card {
    justify-self: end;
    max-width: 430px;
    padding: 1.5rem;
    border: 1px solid rgba(246, 185, 0, .25);
    border-radius: 28px;
    background: rgba(16, 23, 24, .78);
    backdrop-filter: blur(16px);
    box-shadow: 0 28px 100px rgba(0,0,0,.38);
}

.fs-hero-card-logo {
    margin: 1rem 0 1.25rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,.045);
}

.fs-hero-card-logo img {
    width: 100%;
    height: auto;
}

.fs-hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fs-hero-card li {
    position: relative;
    padding-left: 1.45rem;
    color: var(--fs-muted);
    line-height: 1.55;
    margin-top: .7rem;
}

.fs-hero-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .52rem;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--fs-gold), var(--fs-red));
}

.fs-section {
    padding: 5rem 0;
}

.fs-section-heading {
    max-width: 840px;
    margin: 0 auto 2.4rem;
}

.fs-section-heading h2,
.fs-about h2,
.fs-contact-card h2 {
    margin: .45rem 0 .75rem;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.025em;
}

.fs-section-heading p,
.fs-about p,
.fs-contact-card p {
    color: var(--fs-muted);
    line-height: 1.72;
    margin-bottom: 0;
}

.fs-services {
    background: linear-gradient(180deg, rgba(17, 24, 25, .98), rgba(27, 36, 37, .96));
}

.fs-service-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.fs-service-card {
    min-height: 240px;
    padding: 1.35rem;
    border: 1px solid var(--fs-border);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.032));
    box-shadow: 0 24px 80px rgba(0,0,0,.16);
}

.fs-service-card h3 {
    margin: 1rem 0 .65rem;
    color: #fff;
    font-size: 1.06rem;
    font-weight: 800;
}

.fs-service-card p {
    margin: 0;
    color: var(--fs-muted);
    line-height: 1.6;
    font-size: .94rem;
}

.fs-service-icon,
.fs-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--fs-gold);
}

.fs-service-icon svg {
    width: 48px;
    height: 48px;
}

.fs-icon svg,
.fs-service-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fs-icon svg {
    width: 28px;
    height: 28px;
}

.fs-icon-small svg {
    width: 20px;
    height: 20px;
}

.fs-about {
    background:
        radial-gradient(circle at 88% 70%, rgba(246, 185, 0, .12), transparent 24%),
        linear-gradient(180deg, #202829, #151d1f);
}

.fs-about-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(300px, 1.05fr);
    gap: 4rem;
    align-items: start;
}

.fs-feature-list {
    display: grid;
    gap: 1rem;
}

.fs-feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--fs-border);
    border-radius: 18px;
    background: rgba(255,255,255,.055);
}

.fs-feature-item strong {
    display: block;
    color: #fff;
    font-size: 1.03rem;
    margin-bottom: .35rem;
}

.fs-feature-item small {
    display: block;
    color: var(--fs-muted);
    line-height: 1.55;
}

.fs-contact-section {
    padding: 5rem 0;
    background:
        linear-gradient(90deg, rgba(16, 23, 24, .96), rgba(26, 34, 35, .9)),
        url('../img/fundo-fire-schoen.png') center center / cover no-repeat;
}

.fs-contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr);
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border: 1px solid rgba(246, 185, 0, .22);
    border-radius: 26px;
    background: rgba(16, 23, 24, .82);
    backdrop-filter: blur(14px);
}

.fs-contact-list {
    display: grid;
    gap: .85rem;
}

.fs-contact-list a {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: rgba(255,255,255,.055);
    color: #fff;
    text-decoration: none;
}

.fs-contact-list a:hover {
    border-color: rgba(246, 185, 0, .42);
}

.fs-footer {
    border-top: 1px solid rgba(255,255,255,.11);
    background: rgba(12, 16, 17, .96);
}

.fs-footer-inner {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    color: var(--fs-muted-2);
    font-size: .92rem;
}

.fs-footer-logo {
    height: 50px;
    width: auto;
    max-width: 245px;
    object-fit: contain;
}

.fs-admin-link-footer {
    min-height: 38px;
}

@media (max-width: 1199.98px) {
    .fs-service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .fs-menu-btn {
        display: block;
    }

    .fs-header-inner {
        min-height: 72px;
        flex-wrap: wrap;
    }

    .fs-brand-logo {
        height: 48px;
        max-width: 230px;
    }

    .fs-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: .3rem;
        padding: 0 0 1rem;
    }

    .fs-nav.is-open {
        display: flex;
    }

    .fs-nav a {
        padding: .75rem .2rem;
    }

    .fs-admin-link {
        margin-top: .4rem;
    }

    .fs-hero-grid,
    .fs-about-grid,
    .fs-contact-card {
        grid-template-columns: 1fr;
    }

    .fs-hero {
        min-height: auto;
    }

    .fs-hero-grid {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .fs-hero-card {
        justify-self: stretch;
        max-width: none;
    }

    .fs-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fs-footer-inner {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .fs-hero-actions {
        flex-direction: column;
    }

    .fs-btn,
    .fs-admin-link {
        width: 100%;
    }

    .fs-service-grid {
        grid-template-columns: 1fr;
    }

    .fs-section {
        padding: 3.75rem 0;
    }

    .fs-contact-card {
        padding: 1.25rem;
    }

    .login-page {
        align-items: stretch;
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }
}


/* Correções v4: evita layout quebrado quando imagens/SVGs usam tamanho nativo. */
*, *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; min-width: 0; }
body { margin: 0; overflow-x: hidden; }
svg { max-width: 100%; vertical-align: middle; }
.fs-site svg, .login-page svg, .app-navbar svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fs-icon svg, .fs-service-icon svg { display: block; }
.login-card { overflow: hidden; }
.login-logo { display: block !important; width: min(100%, 260px) !important; max-width: 260px !important; height: auto !important; margin-left: auto; margin-right: auto; }
.fs-brand-logo { display: block; width: auto; height: 56px; max-width: min(280px, 72vw); }
.fs-footer-logo, .app-navbar-logo { display: block; width: auto; }
.btn-fire { opacity: 1 !important; }
button:disabled, .btn:disabled { opacity: .65; }
@media (max-width: 575.98px) { .login-logo { max-width: 230px !important; } }

/* Plataforma de cursos - landing editável */
.fs-red-theme {
    --fs-gold: #e53935;
    --fs-gold-2: #ff4a45;
    --fs-orange: #d62828;
    --fs-red: #e53935;
    --fs-bg: #0b0f10;
    --fs-bg-2: #171d1f;
    --fs-bg-3: #2f3537;
    --fs-card: #121819;
    --fs-muted: #d3d6d6;
    background:
        radial-gradient(circle at 14% 12%, rgba(229, 57, 53, .22), transparent 25%),
        linear-gradient(135deg, #060808 0%, #151b1d 42%, #303638 100%);
}

.fs-red-theme .fs-header {
    background: rgba(7, 10, 11, .88);
    border-bottom: 1px solid rgba(255,255,255,.11);
}

.fs-red-theme .fs-nav a:hover,
.fs-red-theme .fs-eyebrow,
.fs-red-theme .fs-section-heading span,
.fs-red-theme .fs-section-kicker,
.fs-red-theme .fs-card-label {
    color: #e53935;
}

.fs-red-theme .fs-hero h2::after,
.fs-red-theme .fs-hero-card li::before {
    background: linear-gradient(90deg, #ffffff, #e53935);
}

.fs-hero-clean .fs-hero-bg {
    background:
        linear-gradient(90deg, rgba(7, 10, 11, .98) 0%, rgba(15, 20, 21, .94) 48%, rgba(24, 28, 29, .76) 100%),
        url('../img/fundo-fire-schoen.png') right center / cover no-repeat;
}

.fs-red-theme .fs-btn-primary,
.fs-red-theme .btn-fire {
    background: linear-gradient(135deg, #e53935, #a61216);
    color: #fff;
    border-color: #e53935;
    box-shadow: 0 18px 48px rgba(229,57,53,.22);
}

.fs-red-theme .fs-btn-primary:hover,
.fs-red-theme .btn-fire:hover {
    color: #fff;
    background: linear-gradient(135deg, #ff4a45, #be171c);
    box-shadow: 0 22px 58px rgba(229,57,53,.30);
}

.fs-red-theme .fs-btn-outline {
    border-color: rgba(255,255,255,.50);
    color: #fff;
}

.fs-red-theme .fs-btn-outline:hover {
    background: rgba(229,57,53,.14);
    border-color: #e53935;
}

.fs-hero-card-red {
    border-color: rgba(229,57,53,.32);
    background: rgba(12, 16, 17, .82);
}

.fs-section-white {
    background:
        linear-gradient(90deg, rgba(255,255,255,.95), rgba(245,246,247,.94)),
        url('../img/fundo-fire-schoen.png') right center / cover no-repeat;
    color: #202629;
}

.fs-section-white .fs-section-kicker,
.fs-section-white .fs-icon {
    color: #e53935;
}

.fs-section-white h2,
.fs-section-white .fs-feature-item strong {
    color: #202629;
}

.fs-section-white p,
.fs-section-white .fs-feature-item small {
    color: #4b5255;
}

.fs-section-white .fs-feature-item {
    background: rgba(255,255,255,.78);
    border-color: rgba(0,0,0,.10);
    box-shadow: 0 16px 55px rgba(0,0,0,.08);
}

.fs-services-red {
    background: linear-gradient(180deg, #111718, #1e2426);
}

.fs-service-grid-six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fs-red-theme .fs-service-card {
    border-color: rgba(255,255,255,.14);
    background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.028));
}

.fs-red-theme .fs-service-icon {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(229,57,53,.45);
    border-radius: 14px;
    background: rgba(229,57,53,.10);
    color: #fff;
    font-weight: 800;
}

.fs-benefits {
    background: #f5f6f7;
    color: #1f2729;
}

.fs-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.fs-benefits h2 {
    color: #1f2729;
    font-weight: 800;
    letter-spacing: -.02em;
}

.fs-benefits p {
    color: #4b5255;
    line-height: 1.72;
}

.fs-projects {
    background: linear-gradient(180deg, #111718, #080b0c);
}

.fs-carousel {
    max-width: 1080px;
    margin: 0 auto;
}

.fs-carousel-window {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 24px;
    background: #0b0f10;
    box-shadow: 0 30px 95px rgba(0,0,0,.36);
}

.fs-carousel-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(.992);
    z-index: 0;
    transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}

.fs-carousel-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
    z-index: 1;
}

.fs-carousel-slide img {
    width: 100%;
    height: 100%;
    min-height: 610px;
    object-fit: contain;
    background: #f2f3f4;
}

.fs-carousel-slide figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: 1rem 1.25rem;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.84));
}

.fs-carousel-slide figcaption strong {
    font-size: 1.1rem;
}

.fs-carousel-slide figcaption span {
    color: #d7dbdc;
}

.fs-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.2rem;
}

.fs-carousel-controls > button {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
}

.fs-carousel-counter {
    min-width: 64px;
    padding: .5rem .75rem;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255,255,255,.06);
    font-weight: 800;
    text-align: center;
}

.fs-carousel-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .45rem;
}

.fs-carousel-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.35);
}

.fs-carousel-dots button.is-active {
    width: 28px;
    background: #e53935;
}

.fs-empty-projects {
    padding: 2rem;
    border: 1px dashed rgba(255,255,255,.25);
    border-radius: 18px;
    color: #d3d6d6;
    text-align: center;
}

.fs-contact-red {
    background:
        linear-gradient(90deg, rgba(9,12,13,.98), rgba(27,32,34,.94)),
        url('../img/fundo-fire-schoen.png') center center / cover no-repeat;
}

.fs-contact-red .fs-contact-card {
    border-color: rgba(229,57,53,.32);
}

.fs-contact-list span {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: rgba(255,255,255,.055);
    color: #fff;
}

.site-image-admin-item {
    padding: 1rem 0;
    border-bottom: 1px solid #dee2e6;
}

.site-image-admin-item:last-child {
    border-bottom: 0;
}

.site-image-admin-item > img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    border: 1px solid #dee2e6;
    border-radius: .75rem;
    background: #f8f9fa;
    margin-bottom: .85rem;
}

@media (max-width: 1199.98px) {
    .fs-service-grid-six {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .fs-benefits-grid {
        grid-template-columns: 1fr;
    }
    .fs-carousel-window,
    .fs-carousel-slide img {
        min-height: 460px;
    }
}

@media (max-width: 575.98px) {
    .fs-service-grid-six {
        grid-template-columns: 1fr;
    }
    .fs-carousel-window,
    .fs-carousel-slide img {
        min-height: 330px;
    }
}

/* Blocos administrativos legados */
.commercial-section-list .list-group-item.active {
    background: #ef3038;
    border-color: #ef3038;
    color: #fff;
}
.commercial-price-table-wrap {
    max-height: 68vh;
}
.commercial-price-table th,
.commercial-price-table td {
    white-space: nowrap;
    vertical-align: middle;
}
.commercial-cell-input {
    min-width: 150px;
}
.proposal-print-page {
    background: #111819;
    min-height: 100vh;
    padding: 24px;
}
.proposal-toolbar {
    max-width: 960px;
    margin: 0 auto 16px auto;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
.proposal-sheet {
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    color: #1f2933;
    padding: 44px;
    border-radius: 6px;
    box-shadow: 0 20px 80px rgba(0,0,0,.32);
}
.proposal-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    border-bottom: 3px solid #ef3038;
    padding-bottom: 24px;
}
.proposal-logo {
    max-width: 310px;
    height: auto;
}
.proposal-company-meta {
    color: #5f6873;
    margin-top: 8px;
    font-size: 14px;
}
.proposal-number-box {
    min-width: 190px;
    text-align: right;
    padding: 14px;
    background: #f2f4f7;
    border-radius: 8px;
}
.proposal-small-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #6b7280;
    letter-spacing: .08em;
}
.proposal-title-block {
    margin: 34px 0 24px 0;
}
.proposal-title-block h1 {
    font-size: 30px;
    margin: 0 0 8px;
    color: #111819;
}
.proposal-title-block p {
    font-size: 18px;
    color: #4b5563;
    margin: 0;
}
.proposal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}
.proposal-info-grid div {
    border: 1px solid #d7dce2;
    border-radius: 8px;
    padding: 12px;
}
.proposal-info-grid span {
    display: block;
    color: #6b7280;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.proposal-info-grid strong {
    display: block;
    margin-top: 4px;
}
.proposal-text-block {
    margin-top: 26px;
}
.proposal-text-block h2 {
    font-size: 18px;
    color: #111819;
    border-left: 4px solid #ef3038;
    padding-left: 10px;
    margin-bottom: 12px;
}
.proposal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.proposal-table th {
    background: #111819;
    color: #fff;
    padding: 10px;
    border: 1px solid #111819;
}
.proposal-table td {
    padding: 10px;
    border: 1px solid #d7dce2;
}
.proposal-service-description {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
}
.proposal-service-description h3 {
    font-size: 15px;
    margin-bottom: 6px;
    color: #ef3038;
}
.proposal-service-description p {
    margin: 0;
    color: #374151;
}
.proposal-totals {
    max-width: 360px;
    margin-left: auto;
    margin-top: 26px;
    border-top: 2px solid #111819;
}
.proposal-totals div {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}
.proposal-total-final {
    font-size: 20px;
    color: #ef3038;
}
.proposal-footer {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid #d7dce2;
    color: #4b5563;
    font-size: 13px;
    text-align: center;
}
@media print {
    body {
        background: #fff !important;
    }
    .no-print,
    .proposal-toolbar {
        display: none !important;
    }
    .proposal-print-page {
        background: #fff;
        padding: 0;
    }
    .proposal-sheet {
        box-shadow: none;
        border-radius: 0;
        max-width: none;
        width: 100%;
        padding: 18mm;
    }
    .proposal-table th {
        background: #111819 !important;
        color: #fff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* Ajustes administrativos */
.commercial-summary-cards .card {
    border-left: 4px solid #ef3038;
}
.proposal-step-nav .nav-link {
    border: 1px solid #d7dce2;
    color: #111819;
    margin-right: 8px;
    margin-bottom: 8px;
    border-radius: 999px;
}
.proposal-step-nav .nav-link.active {
    background: #ef3038;
    border-color: #ef3038;
    color: #fff;
}
.proposal-step-nav .nav-link.disabled {
    opacity: .45;
    pointer-events: none;
}
.commercial-cell-input {
    min-width: 150px;
}
.commercial-price-table-wrap {
    max-height: 620px;
}
.nowrap {
    white-space: nowrap;
}
@media (max-width: 991px) {
    .proposal-step-nav .nav-link {
        font-size: 13px;
        padding: 8px 10px;
    }
}

/* Plataforma de cursos */
.fs-course-site .fs-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1rem 0;
}
.fs-course-site .fs-course-meta span {
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    padding: .25rem .55rem;
    color: rgba(255,255,255,.86);
    font-size: .8rem;
}
.fs-btn-small {
    padding: .55rem .95rem;
    font-size: .88rem;
}
.edu-auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 16px;
    background:
        linear-gradient(90deg, rgba(12, 17, 18, .92), rgba(18, 24, 25, .82)),
        url('../img/fundo-fire-schoen.png') center center / cover no-repeat,
        #111819;
}
.edu-auth-card {
    width: 100%;
    max-width: 880px;
    border: 1px solid rgba(246,185,0,.25);
    border-radius: 22px;
    background: rgba(15,22,24,.94);
    color: #fff;
    box-shadow: 0 24px 80px rgba(0,0,0,.44);
    padding: 28px;
}
.edu-auth-card-small {
    max-width: 460px;
}
.edu-auth-card h1 {
    font-size: 1.9rem;
    margin-bottom: .35rem;
}
.edu-auth-card p {
    color: rgba(255,255,255,.72);
}
.edu-auth-card .form-control,
.edu-auth-card .form-select {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.18);
    color: #fff;
}
.edu-auth-card .form-select option {
    color: #111;
}
.edu-auth-card .form-label {
    color: rgba(255,255,255,.86);
}
.edu-auth-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}
.edu-auth-links a {
    color: var(--fs-gold);
    text-decoration: none;
    font-weight: 700;
}
.edu-portal {
    min-height: 100vh;
    background: #f3f4f6;
}
.edu-portal-header {
    background: linear-gradient(90deg, #121819 0%, #202829 55%, #111516 100%);
    border-bottom: 1px solid rgba(246,185,0,.28);
    padding: 14px 0;
}
.edu-portal-header img {
    max-height: 44px;
    width: auto;
}
.edu-portal-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    font-weight: 700;
}
.edu-page-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.edu-page-title h1 {
    margin: 0 0 .25rem;
    font-size: 1.85rem;
}
.edu-page-title p {
    margin: 0;
    color: #6b7280;
}
.edu-course-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}
.edu-course-row:last-child {
    border-bottom: 0;
}
.edu-course-row h3 {
    font-size: 1.08rem;
    margin-bottom: .25rem;
}
.edu-course-row p {
    margin-bottom: .5rem;
    color: #6b7280;
}
.edu-progress {
    height: .65rem;
    border-radius: 999px;
    margin-bottom: .35rem;
}
.edu-status-line {
    margin-top: .35rem;
    color: #6b7280;
    font-size: .85rem;
}
.edu-available-course {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .85rem 0;
    border-bottom: 1px solid #e5e7eb;
}
.edu-available-course:last-child {
    border-bottom: 0;
}
.edu-available-course small {
    display: block;
    color: #6b7280;
}
.edu-module-title {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #374151;
    margin: 1.5rem 0 .75rem;
}
.edu-lesson-card h3 {
    font-size: 1.16rem;
}
.edu-lesson-content {
    color: #374151;
    line-height: 1.65;
}
.edu-sidebar-card {
    position: sticky;
    top: 18px;
}
.edu-exam-card h3,
.edu-question-box h3 {
    font-size: 1.08rem;
}
.edu-question-box {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    margin-bottom: 1rem;
    background: #fff;
}
.edu-option {
    display: block;
    padding: .55rem .65rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-top: .5rem;
    cursor: pointer;
}
.edu-option:hover {
    background: #f9fafb;
}
.edu-admin-inline-form,
.edu-admin-details {
    display: block;
    padding: .85rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: .85rem;
    background: #fff;
}
.edu-admin-details summary {
    cursor: pointer;
}
.edu-question-select-list {
    max-height: 260px;
    overflow: auto;
    padding: .75rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
}
.edu-question-select-list label {
    display: block;
    margin-bottom: .5rem;
    font-size: .9rem;
}
@media (max-width: 767px) {
    .edu-page-title,
    .edu-course-row,
    .edu-available-course {
        flex-direction: column;
        align-items: stretch;
    }
}
