/* Variáveis de Cores */
:root {
    --header-and-footer-blue: #2c3e50;
    --dark-blue-text: #2c3e50;
    --accent-green: #25D366;
    --light-gray: #f4f4f4;
    --medium-gray: #ddd;
    --white: #ffffff;
    --black: #000000;
}

/* Reset Básico e Box Sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--light-gray);
    color: var(--dark-blue-text);
}

/* --- Header --- */
.main-header {
    width: 100%;
    background-color: var(--header-and-footer-blue);
    color: var(--white);
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}
.header-content h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.header-content p {
    font-size: 1.5em;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

/* --- Área do Aluno --- */
.aluno-area-container {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--white);
    border-bottom: 1px solid var(--medium-gray);
}
.aluno-area-link {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--dark-blue-text);
    color: var(--white);
    text-decoration: none;
    font-size: 1.8em;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.aluno-area-link:hover {
    background-color: #34495e;
    transform: translateY(-3px);
}

/* --- Vídeos em Destaque --- */
.featured-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 40px;
    background-color: var(--light-gray);
}
.video-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}
.video-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background-color: var(--black);
}
.video-placeholder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-item h3 {
    font-size: 1.8em;
    padding: 20px;
    margin-bottom: 5px;
    color: var(--dark-blue-text);
}
.video-item p {
    font-size: 1.1em;
    padding: 0 20px 20px;
    color: #555;
}

/* --- Grid de Vídeos Pequenos --- */
.small-videos-grid {
    padding: 60px 40px;
    background-color: var(--white);
    text-align: center;
    border-top: 1px solid var(--medium-gray);
}
.small-videos-grid h2 {
    font-size: 2.5em;
    color: var(--dark-blue-text);
    margin-bottom: 40px;
}
.small-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.small-video-item {
    background-color: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    padding-bottom: 15px;
}
.small-video-item:hover { transform: translateY(-3px); }
.small-video-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background-color: var(--black);
    margin-bottom: 15px;
}
.small-video-placeholder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.small-video-item h4 {
    font-size: 1.3em;
    color: var(--dark-blue-text);
    margin-bottom: 8px;
    padding: 0 15px;
}
.small-video-item p {
    font-size: 0.95em;
    color: #666;
    padding: 0 15px;
}

/* --- SEÇÃO DE NÍVEIS (SEÇÃO AZUL) - CORRIGIDA E ALINHADA --- */
.free-lessons-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--header-and-footer-blue) 0%, #4a69bd 100%);
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center; /* <<< CENTRALIZA O TÍTULO E OS BOTÕES */
}

/* TÍTULO DENTRO DA SEÇÃO AZUL */
.lessons-title {
    color: #f9fafb;
    text-align: center;
    font-size: clamp(1.8em, 4vw, 2.5em); /* Fonte MAIOR */
    font-weight: 700; /* BOLD */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px; /* Espaço para os botões */
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 900px;
}

/* CONTAINER DOS BOTÕES */
.free-lessons-buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 1200px;
}
.free-lessons-button {
    background-color: var(--white);
    color: var(--dark-blue-text);
    border: none;
    padding: 25px 40px;
    font-size: 1.8em;
    font-weight: bold;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), inset 0 3px 5px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-grow: 1;
    max-width: 300px;
    text-decoration: none; /* Adicionado para remover sublinhado do link */
}
.free-lessons-button:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4), inset 0 3px 5px rgba(255, 255, 255, 0.7);
    background-color: #f0f0f0;
}
.free-lessons-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.7s ease;
}
.free-lessons-button:hover::before { left: 100%; }
.flash-icon { font-size: 1.2em; color: gold; animation: flash 1s infinite alternate; }
@keyframes flash { from { opacity: 1; } to { opacity: 0.5; } }

/* --- Footer --- */
.main-footer { background-color: var(--white); padding-top: 50px; text-align: center; }
.whatsapp-promo {
    background-color: var(--accent-green);
    color: var(--white);
    padding: 40px 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}
.whatsapp-promo p {
    font-size: 1.4em;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--white);
    color: var(--accent-green);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.6em;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.whatsapp-button i { font-size: 1.5em; margin-right: 10px; }
.whatsapp-button:hover {
    background-color: #e0e0e0;
    color: #1aae55;
    transform: translateY(-3px);
}
.copyright-bar {
    background-color: var(--header-and-footer-blue);
    color: var(--white);
    padding: 20px 20px;
    font-size: 0.9em;
    margin-top: 0;
}

/* --- Responsividade --- */
@media (max-width: 1024px) {
    .header-content h1 { font-size: 2.8em; }
    .header-content p { font-size: 1.3em; }
    .aluno-area-link { font-size: 1.5em; padding: 12px 30px; }
    .featured-videos, .small-videos-grid { padding: 40px 20px; }
    .video-item h3 { font-size: 1.5em; }
    .video-item p { font-size: 1em; }
    .small-videos-grid h2 { font-size: 2em; }
    .small-video-item h4 { font-size: 1.1em; }
    .small-video-item p { font-size: 0.85em; }
    .free-lessons-button { font-size: 1.5em; padding: 20px 30px; max-width: 250px; }
    .whatsapp-promo p { font-size: 1.2em; }
    .whatsapp-button { font-size: 1.4em; padding: 12px 25px; }
}
@media (max-width: 767px) {
    .main-header { min-height: 120px; padding: 20px 15px; }
    .header-content h1 { font-size: 2.2em; }
    .header-content p { font-size: 1em; }
    .aluno-area-container { padding: 30px 15px; }
    .aluno-area-link { font-size: 1.2em; padding: 10px 25px; }
    .featured-videos, .small-videos-grid { padding: 30px 15px; grid-template-columns: 1fr; }
    .video-item h3 { font-size: 1.3em; }
    .video-item p { font-size: 0.9em; }
    .small-videos-grid h2 { font-size: 1.8em; }
    .small-video-item h4 { font-size: 1em; }
    .small-video-item p { font-size: 0.8em; }
    .free-lessons-section { padding: 50px 15px; }
    .free-lessons-buttons-container { flex-direction: column; align-items: center; }
    .free-lessons-button { font-size: 1.3em; padding: 15px 30px; width: 100%; max-width: 300px; }
    .whatsapp-promo { padding: 30px 15px; }
    .whatsapp-promo p { font-size: 1em; margin-bottom: 20px; }
    .whatsapp-button { font-size: 1.2em; padding: 10px 20px; }
    .whatsapp-button i { font-size: 1.2em; margin-right: 8px; }
    .copyright-bar { padding: 15px 15px; font-size: 0.8em; }
}
@media (min-width: 1921px) {
    .header-content h1 { font-size: 4.5em; }
    .header-content p { font-size: 1.8em; }
    .aluno-area-link { font-size: 2.5em; padding: 20px 50px; }
    .featured-videos, .small-videos-grid { padding: 80px 80px; }
    .video-item h3 { font-size: 2.2em; }
    .video-item p { font-size: 1.3em; }
    .small-videos-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
    .small-videos-grid h2 { font-size: 3.5em; }
    .small-video-item h4 { font-size: 1.5em; }
    .small-video-item p { font-size: 1.1em; }
    .free-lessons-section { padding: 100px 40px; }
    .free-lessons-button { font-size: 2.2em; padding: