/* ==============================================================================
   ESTILOS - JANKINGS LANDING PAGE (PADRÃO HIGH-TICKET / JOEL JOTA)
   ==============================================================================
   - Fundo preto sólido (#000000)
   - Animações de entrada suaves em cascata (fade-in + slide-up staggered)
   - Banner Principal com ícones sociais (TikTok, Instagram, YouTube) sobre o banner
   - No Celular: 100% preservado no formato aprovado
   - No Computador: Banner principal amplo e imponente, maior que os cards
   - Cards com curvatura generosa (border-radius: 18px), borda sutil e microiluminação
   - Rodapé com copyright e links institucionais
   - 100% responsivo, sem scroll horizontal
   ============================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    min-height: 100%;
    background-color: #000000;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Container Principal */
.page-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 16px 44px 16px;
    background-color: #000000;
}

/* Coluna Central (Padrão Mobile) */
.content-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ------------------------------------------------------------------------------
   HERO / BANNER PRINCIPAL
   ------------------------------------------------------------------------------ */
.hero-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
}

.hero-banner-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Degrade sutil na borda inferior da foto */
.hero-banner-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 16%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 70%, #000000 100%);
    pointer-events: none;
    z-index: 5;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

/* ------------------------------------------------------------------------------
   ÍCONES SOCIAIS EM CIMA DO BANNER (BEM ABAIXO DA LOGO, SEM SOBREPOSIÇÃO)
   ------------------------------------------------------------------------------ */
.hero-social-bar {
    position: absolute;
    right: 8.5%;
    top: 67%;
    display: flex;
    align-items: center;
    gap: clamp(12px, 3.2vw, 18px);
    z-index: 10;
    animation: fadeSlideUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0.95;
    text-decoration: none;
    padding: 3px;
    transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

/* Ícones no mobile */
.social-icon svg {
    width: clamp(23px, 5.8vw, 28px);
    height: clamp(23px, 5.8vw, 28px);
    display: block;
    filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.9));
}

.social-icon:hover {
    opacity: 1;
    transform: scale(1.22);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.75));
}

.social-icon:active {
    transform: scale(0.95);
}

/* Frase de Chamada Centralizada */
.cta-subtitle {
    font-size: clamp(12px, 2.8vw, 13px);
    font-weight: 500;
    color: #f0f0f0;
    text-align: center;
    margin: 14px 0 16px 0;
    letter-spacing: 0.015em;
    line-height: 1.4;
    animation: fadeSlideUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

/* ------------------------------------------------------------------------------
   BANNERS COM CARDS ARREDONDADOS (ESTILO JOEL JOTA)
   ------------------------------------------------------------------------------ */
.banners-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.banner-link {
    display: block;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
    border-radius: 18px;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

/* Entrada em cascata (stagger) para cada banner */
.banners-section .banner-link:nth-child(1) {
    animation: fadeSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}

.banners-section .banner-link:nth-child(2) {
    animation: fadeSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.banners-section .banner-link:nth-child(3) {
    animation: fadeSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.62s both;
}

/* Card Arredondado com borda sutil e sombreamento refinado */
.banner-card {
    width: 100%;
    aspect-ratio: 1474 / 494;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a0a0a;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Enquadramento da imagem interna */
.banner-card img {
    position: absolute;
    width: 108.55%;
    max-width: none;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50.43%);
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

/* Sutil reflexo de vidro na parte superior do card */
.banner-glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 35%);
    pointer-events: none;
    border-radius: 18px;
}

/* Efeito Hover Moderno e Sofisticado */
@media (hover: hover) and (pointer: fine) {
    .banner-link:hover {
        transform: translateY(-3px) scale(1.015);
    }

    .banner-link:hover .banner-card {
        border-color: rgba(255, 255, 255, 0.42);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.85), 0 0 22px rgba(255, 255, 255, 0.08);
    }

    .banner-link:hover .banner-card img {
        filter: brightness(1.06);
    }
}

.banner-link:active {
    transform: translateY(-1px) scale(0.99);
}

.banner-link:focus-visible .banner-card {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* ------------------------------------------------------------------------------
   RODAPÉ NO ESTILO JOEL JOTA
   ------------------------------------------------------------------------------ */
.page-footer {
    width: 100%;
    margin-top: 44px;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #727272;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.74s both;
}

.copyright {
    letter-spacing: 0.02em;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a {
    color: #727272;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-links .divider {
    color: #404040;
}

/* ------------------------------------------------------------------------------
   KEYFRAMES DE ANIMAÇÃO DE ENTRADA (HIGH-TICKET STAGGER)
   ------------------------------------------------------------------------------ */
@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.97) translateY(-6px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Acessibilidade: Respeita preferências de redução de movimento */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ------------------------------------------------------------------------------
   ACESSIBILIDADE
   ------------------------------------------------------------------------------ */
.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;
}

/* ------------------------------------------------------------------------------
   AJUSTES RESPONSIVOS (MOBILE PEQUENO - PRESERVADO 100%)
   ------------------------------------------------------------------------------ */
@media (max-width: 380px) {
    .page-wrapper {
        padding: 0 12px 32px 12px;
    }

    .hero-social-bar {
        right: 7.5%;
        top: 66%;
        gap: 10px;
    }

    .banners-section {
        gap: 13px;
    }

    .banner-card {
        border-radius: 14px;
    }

    .banner-glass-overlay {
        border-radius: 14px;
    }

    .cta-subtitle {
        margin: 12px 0 14px 0;
        font-size: 12px;
    }

    .page-footer {
        margin-top: 36px;
        font-size: 10px;
    }
}

/* ==============================================================================
   COMPUTADOR / DESKTOP (>= 768px):
   - Banner principal bem maior e ocupando um bom espaço da tela
   - Cards de conversão estreitos e centralizados logo abaixo
   - No celular nada foi alterado!
   ============================================================================== */
@media (min-width: 768px) {
    .page-wrapper {
        padding: 28px 24px 64px 24px;
    }

    /* Container amplo que permite a expansão do banner principal */
    .content-container {
        max-width: 860px;
    }

    /* O Banner Principal agora se expande e ganha proporção de destaque cinematográfico */
    .hero-section {
        width: 100%;
        max-width: 860px;
        margin-bottom: 12px;
    }

    .hero-banner-wrapper {
        border-radius: 14px;
    }

    /* Ícones sociais proporcionais à escala maior do banner no desktop */
    .hero-social-bar {
        right: 8%;
        top: 67%;
        gap: 20px;
    }

    .social-icon svg {
        width: 32px;
        height: 32px;
    }

    .cta-subtitle {
        font-size: 14px;
        margin: 20px 0 24px 0;
        letter-spacing: 0.02em;
    }

    /* Os cards dos cursos e mentorias permanecem com largura focada e centralizada */
    .banners-section {
        width: 100%;
        max-width: 440px;
        gap: 18px;
    }

    .page-footer {
        width: 100%;
        max-width: 440px;
        margin-top: 52px;
    }
}
