@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --lime-green: #ccff00;
    --lime-green-hover: #b3e600;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   HERO SECTION
========================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    
    /* Imagem de fundo principal para Web */
    background-image: url('bgweb.png');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente para escurecer a imagem e deixar o texto legível */
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo com Shine Effect */
.logo-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    margin-bottom: 50px;
}

.logo-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shineSweep 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
    z-index: 10;
    mix-blend-mode: overlay; /* Essa mágica faz o brilho sumir no fundo escuro transparente e acender apenas na logo! */
}

@keyframes shineSweep {
    0% { left: -150%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.logo {
    max-width: 320px;
    height: auto;
    display: block;
}

/* Textos - Título com Animação Premium */
@keyframes premiumShine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.animated-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    
    /* Efeito de Brilho contínuo */
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, var(--lime-green) 50%, #ffffff 60%, #ffffff 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: premiumShine 5s linear infinite;
}

.subtitle {
    font-size: 1.15rem;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 650px;
}

/* Botão CTA Animado (Shimmer effect) */
.button-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.animated-cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    border-radius: 50px;
    background: transparent;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 25px rgba(204, 255, 0, 0.25); /* Glow base bem mais forte */
    z-index: 1;
}

.cta-shimmer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 40%, var(--lime-green) 100%);
    animation: spin-around 2.5s linear infinite;
    z-index: -2;
}

@keyframes spin-around {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-bg {
    position: absolute;
    inset: 3px; 
    /* Um fundo que já é claramente um botão (verde muito escuro) */
    background: linear-gradient(to bottom, #1f2600, #0a0a0a);
    border-radius: 47px;
    z-index: -1;
    /* Uma borda fixa e fina verde para desenhar o botão o tempo todo */
    border: 1px solid rgba(204, 255, 0, 0.3);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.cta-text {
    font-family: 'Inter', sans-serif;
    font-weight: 800; /* Mais grossa */
    font-size: 1.15rem; /* Um pouco maior */
    color: #ffffff; /* Branco contrasta incrivelmente bem e "salta" da tela */
    text-transform: uppercase;
    padding: 18px 45px;
    letter-spacing: 0px;
    text-shadow: 0 0 12px rgba(204, 255, 0, 0.6); /* Sombra neon */
    transition: letter-spacing 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.animated-cta-button:hover .cta-text {
    letter-spacing: 2px;
    color: var(--lime-green); /* Fica verde neon no hover */
    text-shadow: 0 0 20px rgba(204, 255, 0, 0.9);
}

.animated-cta-button:hover .cta-bg {
    background: linear-gradient(to bottom, #2a3300, #111111); 
    border-color: rgba(204, 255, 0, 0.6);
}

.animated-cta-button:hover {
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.5), 0 0 50px rgba(204, 255, 0, 0.3); 
    transform: translateY(-3px);
}

/* =========================================
   RESPONSIVIDADE (MOBILE)
========================================= */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px;
        background-image: url('bgmobile.png');
    }

    .logo-wrapper {
        margin-bottom: 40px;
    }

    .logo {
        max-width: 250px;
    }

    .animated-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 35px;
    }

    .animated-cta-button {
        width: 100%;
        max-width: 350px;
    }
    
    .cta-text {
        width: 100%;
        padding: 20px;
        font-size: 0.95rem;
    }
}

/* =========================================
   SPEAKER SECTION
========================================= */
.speaker-section {
    padding: 100px 20px;
    background-color: #050505; /* Fundo levemente diferente para dar um corte suave na página */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.speaker-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

/* Animação Sofisticada (Reflexo Prateado/Metálico) */
@keyframes metallicSweep {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.animated-metallic {
    background: linear-gradient(110deg, #888888 0%, #dddddd 40%, #ffffff 50%, #dddddd 60%, #888888 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: metallicSweep 5s ease-in-out infinite alternate;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 60px;
    text-align: center;
}

/* Card Principal (Apenas 1 Pessoa) */
.speaker-card {
    display: flex;
    flex-direction: row;
    background: #111111;
    border-radius: 20px;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    /* Transições suaves para animação de Hover */
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Efeito de levitação do Card */
.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(204, 255, 0, 0.08); /* Sombra neon bem sutil */
    border-color: rgba(204, 255, 0, 0.3); /* Borda ascende neon sutilmente */
}

/* Container da Foto */
.speaker-image-wrapper {
    flex: 1;
    min-width: 400px;
    position: relative;
    overflow: hidden;
}

/* Imagem P&B por padrão e colorida ao passar o mouse */
.speaker-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.speaker-card:hover .speaker-img {
    filter: grayscale(0%); /* Volta a cor original */
    transform: scale(1.05); /* Zoom sutil na foto */
}

/* Degrade da foto pro texto (fundo escuro unindo a imagem ao card) */
.speaker-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(17,17,17,0) 50%, rgba(17,17,17,1) 100%);
}

.speaker-info {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2; /* Fica acima do overlay da imagem */
}

.speaker-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--lime-green);
    margin-bottom: 10px;
}

.speaker-role {
    font-size: 1.1rem;
    color: var(--lime-green);
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.4;
}

.speaker-text {
    font-size: 1.05rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 25px;
}

.speaker-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
    width: 100%;
}

.speaker-text-small {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Pílula do Instagram */
.speaker-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--lime-green);
    color: #000;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.speaker-social:hover {
    background: var(--lime-green-hover);
    transform: scale(1.05);
}

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

/* =========================================
   RESPONSIVIDADE (MOBILE) - SPEAKER
========================================= */
@media (max-width: 900px) {
    .speaker-card {
        flex-direction: column;
        max-width: 500px;
    }
    
    .speaker-image-wrapper {
        min-width: 100%;
        height: 400px;
    }

    /* Ajuste do gradiente da imagem para o texto cair embaixo, e não do lado */
    .speaker-image-overlay {
        background: linear-gradient(to bottom, rgba(17,17,17,0) 60%, rgba(17,17,17,1) 100%);
    }

    .speaker-info {
        padding: 40px 30px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 500px) {
    .speaker-image-wrapper {
        height: 350px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .speaker-name {
        font-size: 1.8rem;
    }
}

/* =========================================
   MODULES SECTION (O Que Vai Aprender)
========================================= */
.modules-section {
    padding: 120px 20px;
    background-color: #020202; /* Fundo extremamente escuro */
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Efeito de luz de fundo ambiente para sofisticação */
.modules-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(204, 255, 0, 0.04) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.modules-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modules-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 60px;
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    width: 100%;
}

/* Card Ultra Moderno (Glassmorphism + Neon) */
.module-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: default;
}

/* Linha animada na esquerda no hover */
.module-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--lime-green);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.module-card:hover::after {
    transform: scaleY(1);
    transform-origin: top;
    box-shadow: 0 0 15px var(--lime-green);
}

.module-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(204, 255, 0, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(204, 255, 0, 0.05);
}

.module-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(204, 255, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--lime-green);
    transition: all 0.3s ease;
}

.module-icon svg {
    width: 18px;
    height: 18px;
}

.module-card:hover .module-icon {
    background: var(--lime-green);
    color: #000;
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.6);
    transform: scale(1.1);
}

.module-text {
    font-size: 1.1rem;
    color: #dddddd;
    line-height: 1.5;
    font-weight: 500;
    margin: 0;
    transition: color 0.3s ease;
}

.module-card:hover .module-text {
    color: #ffffff;
    font-weight: 600;
}

/* =========================================
   RESPONSIVIDADE (MOBILE) - MODULES
========================================= */
@media (max-width: 768px) {
    .modules-section {
        padding: 80px 20px;
    }
    
    .modules-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .module-card {
        padding: 25px;
        border-radius: 12px;
    }
    
    .module-text {
        font-size: 1.05rem;
    }
}

/* =========================================
   FOOTER SECTION
========================================= */
.footer-section {
    background-color: #111111;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-cta {
    padding: 100px 20px;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    max-width: 250px;
    margin-bottom: 30px;
    height: auto;
}

.footer-quote {
    font-size: 1.15rem;
    color: #a0a0a0;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 650px;
}

/* Botão Outline */
.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--lime-green);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 45px;
    border-radius: 50px;
    text-transform: uppercase;
    border: 2px solid var(--lime-green);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--lime-green);
    color: #000;
    box-shadow: 0 5px 20px rgba(204, 255, 0, 0.25);
    transform: translateY(-2px);
}

.footer-bottom {
    width: 100%;
    background-color: #050505; /* Faixa mais escura no final */
    padding: 25px 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* =========================================
   RESPONSIVIDADE (MOBILE) - FOOTER
========================================= */
@media (max-width: 768px) {
    .footer-cta {
        padding: 60px 20px;
    }

    .footer-quote {
        font-size: 1rem;
    }

    .btn-outline {
        width: 100%;
        max-width: 350px;
        padding: 20px;
        font-size: 0.95rem;
    }
}

/* =========================================
   ANIMAÇÃO TYPEWRITER (JS CURSOR)
========================================= */
.typing-subtitle::after {
    content: '|';
    color: var(--lime-green);
    animation: blinkCursor 0.8s infinite;
    margin-left: 2px;
}

/* Quando terminar, pisca um pouco mais devagar para não cansar */
.typing-subtitle.finished::after {
    animation: blinkCursor 1.5s infinite;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
