/* =============================================
   MISSÃO 193 - TEMA BOMBEIROS
   Hero + Cursos Preto com transição Laranja
   ============================================= */

/* =============================================
   HERO M193 — REDESIGN MODERNO
   ============================================= */

.hero-m193 {
    background: #000000;
    position: relative;
    overflow: hidden;
    padding: calc(80px + 4rem) 0 4rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Camadas de glow laranja no fundo */
.hero-m193__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.hero-m193__glow--tl {
    width: 600px;
    height: 600px;
    top: -150px;
    left: -150px;
    background: radial-gradient(circle, rgba(255,119,0,0.14) 0%, transparent 65%);
}
.hero-m193__glow--br {
    width: 500px;
    height: 500px;
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(255,119,0,0.10) 0%, transparent 65%);
}

/* Grade de pontos decorativa */
.hero-m193__grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,119,0,0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

.hero-m193__wrap {
    position: relative;
    z-index: 1;
}

/* Grid principal 55/45 */
.hero-m193__grid-main {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

/* ── CONTEÚDO ESQUERDO ── */
.hero-m193__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Badge com ponto pulsante */
.hero-m193__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.1rem;
    background: rgba(255,119,0,0.12);
    border: 1px solid rgba(255,119,0,0.35);
    border-radius: 9999px;
    color: #ff7700;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    width: fit-content;
}

.hero-m193__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff7700;
    flex-shrink: 0;
    animation: heroPulse 2s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255,119,0,0.5); }
    50%       { opacity: 0.8; transform: scale(1.2); box-shadow: 0 0 0 5px rgba(255,119,0,0); }
}

/* Headline */
.hero-m193__title {
    color: #ffffff;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
}

.hero-m193__title-accent {
    background: linear-gradient(135deg, #ff7700 0%, #ff9544 50%, #ffb366 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-m193__tagline {
    color: rgba(255,255,255,0.45);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    margin: -0.75rem 0 0;
}

/* Descrição */
.hero-m193__text {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 480px;
    margin: 0;
}

/* Stats de credibilidade */
.hero-m193__stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,119,0,0.18);
    border-radius: 0.875rem;
    width: fit-content;
}

.hero-m193__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.hero-m193__stat-num {
    color: #ff7700;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero-m193__stat-lbl {
    color: rgba(255,255,255,0.5);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.hero-m193__stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(255,119,0,0.2);
    flex-shrink: 0;
}

.hero-m193__stars {
    display: flex;
    gap: 2px;
    justify-content: center;
    margin-bottom: 0.2rem;
}
.hero-m193__stars i {
    color: #ff7700;
    font-size: 0.75rem;
}

/* Botão CTA */
.hero-m193__actions {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.hero-m193__btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2.25rem;
    background: linear-gradient(135deg, #ff7700 0%, #cc5f00 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 0.75rem;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 30px rgba(255,119,0,0.45), 0 2px 8px rgba(0,0,0,0.3);
    transition: all 0.25s ease;
    text-decoration: none;
}

.hero-m193__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255,119,0,0.55), 0 4px 12px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #ff8c1a 0%, #e56700 100%);
    color: #ffffff;
}

.hero-m193__btn-primary i { font-size: 1.05rem; }

/* Botão secundário discreto */
.hero-m193__btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.6rem;
    background: transparent;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0.75rem;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.25s ease;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.hero-m193__btn-ghost i {
    color: #25D366;
    font-size: 1rem;
}

.hero-m193__btn-ghost:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.28);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ── VISUAL DIREITO ── */
.hero-m193__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Anel laranja animado ao redor do banner */
.hero-m193__img-ring {
    position: relative;
    border-radius: 1.25rem;
}

.hero-m193__img-ring::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 1.375rem;
    background: linear-gradient(135deg, #ff7700, #cc5f00, #ff9544, #ff7700);
    background-size: 300% 300%;
    animation: ringGlow 4s ease infinite;
    z-index: -1;
    opacity: 0.7;
}

.hero-m193__img-ring::after {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 1.75rem;
    background: radial-gradient(ellipse, rgba(255,119,0,0.25) 0%, transparent 70%);
    z-index: -2;
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringGlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.03); }
}

.hero-m193__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1.2rem;
    position: relative;
    z-index: 1;
}

.hero-m193__img-placeholder {
    width: 100%;
    min-height: 340px;
    background: rgba(255,119,0,0.06);
    border: 2px dashed rgba(255,119,0,0.3);
    border-radius: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: rgba(255,119,0,0.4);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hero-m193__img-placeholder i { font-size: 2.5rem; opacity: 0.4; }

/* ── BANNER RETANGULAR ── */
.hero-m193__rectangular {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,119,0,0.12);
}

.hero-m193__rect-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
    transition: transform 0.4s ease;
}

.hero-m193__rectangular:hover .hero-m193__rect-img {
    transform: scale(1.01);
}

/* Linha decorativa inferior */
.hero-m193::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff7700 25%, #ffb366 50%, #ff7700 75%, transparent);
}

/* ── RESPONSIVO ── */
@media (max-width: 992px) {
    .hero-m193__grid-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-m193__visual { order: -1; }
    .hero-m193__img-ring { max-width: 420px; margin: 0 auto; }
    .hero-m193 { min-height: auto; padding: calc(80px + 2.5rem) 0 3rem; }
    .hero-m193__title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
}

@media (max-width: 576px) {
    .hero-m193__stats {
        gap: 1rem;
        padding: 1rem 1.1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-m193__stat-sep { display: none; }
    .hero-m193__btn-primary { width: 100%; justify-content: center; }
    .hero-m193 { padding: calc(80px + 2rem) 0 2.5rem; }
}

/* =============================================
   HERO BANNER - FUNDO PRETO (legado — mantido)
   ============================================= */

.hero-banner {
    background: #000000 !important;
    padding-bottom: var(--spacing-16) !important;
    position: relative;
}

/* Efeito de brilho laranja sutil no fundo */
.hero-banner::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 119, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-banner .hero-banner-bg {
    display: none;
}

.hero-banner .container {
    position: relative;
    z-index: 1;
}

/* Tipografia Branca e Laranja do Hero */
.hero-banner .hero-banner-title {
    color: #ffffff !important;
}

.hero-banner .hero-banner-title .gradient-text {
    background: linear-gradient(135deg, #ff7700 0%, #ff9544 50%, #ffb366 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.hero-banner .hero-banner-text {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-banner .hero-banner-badge {
    color: #ff7700 !important;
    background: rgba(255, 119, 0, 0.15) !important;
    border: 1px solid rgba(255, 119, 0, 0.4) !important;
}

/* Botões do Hero */
.hero-banner .btn-hero.btn-primary,
.hero-banner .btn.btn-primary {
    background: linear-gradient(135deg, #ff7700 0%, #cc5f00 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(255, 119, 0, 0.4) !important;
    border: none !important;
}

.hero-banner .btn-hero.btn-primary:hover,
.hero-banner .btn.btn-primary:hover {
    background: linear-gradient(135deg, #ff9544 0%, #ff7700 100%) !important;
    box-shadow: 0 10px 30px rgba(255, 119, 0, 0.5) !important;
    transform: translateY(-2px);
}

.hero-banner .btn-hero.btn-outline {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 119, 0, 0.6) !important;
}

.hero-banner .btn-hero.btn-outline:hover {
    background: rgba(255, 119, 0, 0.15) !important;
    border-color: #ff7700 !important;
    color: #ff7700 !important;
}

/* =============================================
   TRANSIÇÃO HERO -> CURSOS
   Linha/Faixa Laranja Decorativa
   ============================================= */

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
            transparent 0%,
            #ff7700 20%,
            #ffb366 50%,
            #ff7700 80%,
            transparent 100%);
    z-index: 2;
}

/* =============================================
   SEÇÃO DE CURSOS - FUNDO PRETO
   ============================================= */

.courses {
    background: #000000 !important;
    padding: var(--spacing-16) 0 !important;
    position: relative;
    margin-top: 0 !important;
}

/* Efeito de brilho laranja no canto */
.courses::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 119, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.courses .container {
    position: relative;
    z-index: 1;
}

/* Header da seção de cursos */
.courses .section-header {
    text-align: center;
    margin-bottom: var(--spacing-12);
}

.courses .section-badge {
    display: inline-block;
    padding: var(--spacing-2) var(--spacing-4);
    background: rgba(255, 119, 0, 0.15) !important;
    color: #ff7700 !important;
    border: 1px solid rgba(255, 119, 0, 0.4) !important;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-4);
}

.courses .section-title {
    color: #ffffff !important;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-4);
}

.courses .section-title .text-highlight {
    color: #ff7700 !important;
}

.courses .section-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: var(--font-size-lg);
}

/* Cards de Cursos - Brancos com glow laranja sutil */
.courses .course-card {
    background: #ffffff !important;
    border-radius: var(--radius-xl);
    box-shadow:
        0 0 20px rgba(255, 119, 0, 0.08),
        0 0 40px rgba(255, 119, 0, 0.05),
        0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 420px;
}

.courses .course-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 0 30px rgba(255, 119, 0, 0.15),
        0 0 60px rgba(255, 119, 0, 0.08),
        0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Imagem do curso */
.courses .course-image {
    height: 180px;
    overflow: hidden;
}

.courses .course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Conteúdo do card */
.courses .course-content {
    padding: var(--spacing-5);
    display: flex;
    flex-direction: column;
    min-height: 240px;
}

.courses .course-title {
    color: #1e293b !important;
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: var(--spacing-3);
}

.courses .course-description {
    color: #64748b !important;
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Link dos cursos - Laranja */
.courses .course-link {
    color: #ff7700 !important;
    background: rgba(255, 119, 0, 0.1) !important;
}

.courses .course-link:hover {
    background: rgba(255, 119, 0, 0.2) !important;
}

/* Botão Ver Todos - Outline branco/laranja */
.courses .courses-cta .btn-outline {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 119, 0, 0.6) !important;
}

.courses .courses-cta .btn-outline:hover {
    background: #ff7700 !important;
    border-color: #ff7700 !important;
    color: #ffffff !important;
}

/* Text highlight laranja */
.text-highlight {
    color: #ff7700 !important;
}

/* =============================================
   TRANSIÇÃO CURSOS -> PLATFORM FEATURES
   ============================================= */

.courses::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
            transparent 0%,
            #ff7700 20%,
            #ffb366 50%,
            #ff7700 80%,
            transparent 100%);
    z-index: 2;
}

/* =============================================
   HEADER PRETO
   ============================================= */

.header {
    background: #000000 !important;
    border-bottom: 1px solid rgba(255, 119, 0, 0.2) !important;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.98) !important;
    box-shadow: 0 4px 20px rgba(255, 119, 0, 0.2) !important;
}

/* Links de Navegação */
.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.nav-link:hover {
    color: #ff7700 !important;
}

.nav-link.active {
    color: #ff7700 !important;
}

/* =============================================
   PLATFORM FEATURES - RECURSOS EXCLUSIVOS
   Fundo Preto com Cards Laranja/Branco
   ============================================= */

.platform-features {
    padding: 80px 0 !important;
    background: #000000 !important;
}

.platform-features .section-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Badge Laranja */
.platform-badge {
    display: inline-block;
    background: rgba(255, 119, 0, 0.15) !important;
    color: #ff7700 !important;
    border: 1px solid rgba(255, 119, 0, 0.4) !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Título Branco */
.platform-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.3;
    max-width: 700px;
    margin: 0 auto;
}

/* Grid */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Cards com fundo translúcido e bordas laranja */
.platform-card {
    background: linear-gradient(135deg, rgba(255, 119, 0, 0.08) 0%, rgba(255, 119, 0, 0.03) 100%) !important;
    border: 1px solid rgba(255, 119, 0, 0.25) !important;
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(255, 119, 0, 0.12) 0%, rgba(255, 119, 0, 0.06) 100%) !important;
    border-color: rgba(255, 119, 0, 0.5) !important;
    box-shadow: 0 20px 50px rgba(255, 119, 0, 0.2) !important;
}

/* Ícone em caixa laranja */
.platform-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ff7700 0%, #cc5f00 100%) !important;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 119, 0, 0.35);
}

.platform-icon i {
    font-size: 1.35rem;
    color: #ffffff !important;
}

/* Título do card - Branco */
.platform-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff !important;
}

/* Descrição - Branca com opacidade */
.platform-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75) !important;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .platform-card {
        padding: 25px;
    }

    .platform-features {
        padding: 60px 0 !important;
    }
}

/* =============================================
   TRANSIÇÕES ENTRE SEÇÕES
   ============================================= */

/* Hero -> Cursos */
.hero-banner+section,
.hero-banner+.courses {
    margin-top: 0 !important;
}

/* Cursos -> Platform Features */
.courses+.platform-features {
    margin-top: 0 !important;
}