:root {
    --primary-red: #BF4E4E; /* Cor solicitada */
    --bg-white: #F2F2F2;    /* Cor solicitada */
    --text-dark: #333333;
    --text-black: #000000;
    --text-white: #FFFFFF;
    --font-main: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-white);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-container {
    display: flex;
    flex-direction: column; /* Layout vertical empilhado */
    min-height: 100vh;
    width: 100%;
}

/* --- Cores Utilitárias --- */
.text-red {
    color: var(--primary-red);
    font-weight: 800;
}

.text-black {
    color: var(--text-black);
    font-weight: 800;
}

/* --- Coluna Esquerda (Hero) --- */
.hero-section {
    width: 100%; /* Ocupa largura total */
    background-color: var(--bg-white);
    color: var(--text-dark); /* Cor base alterada para escuro pois o vermelho agora é destaque */
    padding: 40px 20px 20px 20px; /* Reduzido padding inferior */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; /* Centraliza texto */
    position: relative;
    z-index: 2; /* Garante que fique acima da próxima seção evitando cortes */
}

.hero-section .content-wrapper {
    max-width: 800px; /* Largura controlada para leitura */
    width: 100%;
}

.hero-title {
    font-size: 3.4rem;
    line-height: 1.1;
    font-weight: 600; /* Alterado para negrito conforme solicitado */
    margin-bottom: 5px;
    text-transform: uppercase;
    color: var(--text-dark);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.hero-title2 {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 600; /* Alterado para negrito conforme solicitado */
    text-transform: uppercase;
    color: var(--text-dark);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}
.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.1;
    font-weight: 400; /* Alterado para negrito conforme solicitado */
    margin-bottom: 60px;
    color: var(--text-dark);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;

}

.hero-title span {
    display: inline-block;
}

/* Container do Vídeo */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    height: 0;
    margin-bottom: 50px;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #000;
    /* Borda removida conforme solicitado */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Botão de Matrícula (Hero) */
.cta-container-hero {
    text-align: center;
    margin-bottom: 50px;
}

.btn-matricula {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--text-white);
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(191, 78, 78, 0.4);
}

.btn-matricula:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(191, 78, 78, 0.6);
}

/* --- Seção Para Quem É (Substitui Benefits) --- */
.target-audience-container {
    margin-bottom: 50px;
    text-align: center;
    width: 100%;
}

.section-title-small {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.target-audience-desc {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Box de Destaque Final */
.highlight-box {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    border-radius: 10px;
    border-left: none; /* Remove borda lateral antiga */
}

.highlight-text {
    color: var(--text-black);
    font-weight: 500;
}

.professor-tag {
    margin-top: 40px;
    font-size: 1.2rem;
}

/* --- Coluna Direita (Detalhes) --- */
.details-section {
    width: 100%; /* Ocupa largura total */
    background-color: var(--bg-white); /* Fundo branco conforme solicitado */
    color: var(--text-dark); /* Texto escuro */
    padding: 40px 20px 80px 20px; /* Padding superior reduzido */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -20px; /* Margem negativa ajustada */
    position: relative;
    z-index: 1;
}

.details-section .content-wrapper {
    max-width: 800px;
    width: 100%;
}
#professor-tag {
    margin-top: 10px;
    margin-bottom: 15px;
}
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 50px;
    line-height: 1.2;
    color: var(--text-dark);
 /* Título escuro por padrão */
}

/* Layout vertical restaurado: Disciplinas em cima, Recursos embaixo */
.subjects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

/* Estilo dos novos Cards de Disciplina */
.subject-card {
    background: white; /* Cor dos primeiros cards */
    padding: 25px 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #555; /* Cor do texto dos primeiros cards */
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Sombra dos primeiros cards */
    transition: transform 0.2s ease;
}

.subject-card:hover {
    transform: translateY(-5px);
    background: white; /* Mantém branco no hover */
}

.subject-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: var(--text-black); /* Alterado para preto conforme solicitado */
}

.prof-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid var(--primary-red); /* Borda vermelha para destaque */
    background: #ccc; /* Placeholder bg */
}

.prof-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prof-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333; /* Nome escuro */
}

.subject-desc {
    font-size: 0.9rem;
    opacity: 1; /* Opacidade removida para legibilidade */
    line-height: 1.4;
    max-width: 90%;
    color: #555;
}

/* Estilo para os cards de features (Agora Lista) */
.features-list .feature-item {
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center; /* Alinha verticalmente com o ícone */
    justify-content: flex-start;
    gap: 15px;
    font-size: 1.1rem; /* Texto levemente maior */
    font-weight: 500;
    color: #555;
    box-shadow: none;
    text-align: left;
    line-height: 1.4;
}

.feature-item::before {
    content: "✔"; /* Ícone de check */
    color: var(--primary-red);
    font-weight: 800;
    font-size: 1.4rem;
    flex-shrink: 0; /* Impede que o ícone encolha */
}

/* Remover efeito de hover exagerado */
.feature-item:hover {
    color: var(--text-dark);
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Duas colunas de tamanho igual */
    gap: 15px 40px; /* Gap vertical de 15px, horizontal de 40px */
    margin-bottom: 40px;
    list-style: none; /* Remove bolinhas padrão de lista */
    max-width: 900px; /* Largura aumentada para acomodar duas colunas */
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* .target-grade removido pois foi incorporado como feature-item, 
   mas o estilo ainda está aqui caso necessário reverter */
.target-grade {
    margin-top: 40px;
    margin-bottom: 20px;
    background: white;
    color: #555;
    padding: 20px 40px;
    border-radius: 12px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: inline-block;
    transition: transform 0.2s ease;
}

/* Botão de Matrícula Secundário (Vermelho sobre Branco) */
.cta-container-secondary {
    text-align: center;
    margin: 0; /* Margem zerada para aproximar do carrossel */
    position: relative;
    z-index: 3;
}

.btn-matricula-white {
    display: inline-block;
    background-color: var(--primary-red); /* Fundo VERMELHO para contraste com o fundo branco da página */
    color: var(--text-white); /* Texto BRANCO */
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(191, 78, 78, 0.4);
}

.btn-matricula-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(191, 78, 78, 0.6);
}

/* Botão Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 50px;
    right: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    /* fill: white; Removido pois agora é uma imagem */
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
        transform: scale(1.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
}

/* --- Seção de Oferta Especial (Countdown + Preço) --- */
.special-offer-container {
    background: #fff;
    border: 3px solid var(--primary-red);
    border-radius: 15px;
    padding: 30px;
    margin: 0 auto 30px auto;
    max-width: 600px;
    box-shadow: 0 10px 25px rgba(191, 78, 78, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.price-section {
    text-align: center;
}

.old-price {
    display: block;
    font-size: 1.2rem;
    color: #999;
    
    margin-bottom: 5px;
    font-weight: 500;
}
.price {
    text-decoration: line-through;
}
.current-price-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--text-dark);
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 5px;
}

.current-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
}

.period {
    font-size: 1.2rem;
    font-weight: 600;
    color: #555;
    align-self: flex-end;
    margin-bottom: 10px;
}

.countdown-section {
    width: 100%;
    text-align: center;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
}

.countdown-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.timer-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    font-variant-numeric: tabular-nums; /* Evita pulo dos números */
}

.timer-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #777;
    font-weight: 600;
    margin-top: 5px;
}

.timer-separator {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-top: -15px; /* Ajuste visual */
}

/* --- Responsividade --- */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.5rem;
        font-weight: 600; /* Garante o negrito no mobile */
    }
    .hero-title2 {
        font-size: 2.0rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    /* Remove centralização especial no mobile */
    .subjects-grid .subject-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }

    .subjects-grid, .features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .current-price {
        font-size: 2.8rem;
    }
    
    .timer-value {
        font-size: 1.5rem;
    }
    
    .timer-box {
        min-width: 45px;
    }
    
    .special-offer-container {
        padding: 20px;
    }
}