:root {
    --primary: #001245;
    --primary-container: #17285c;
    --primary-fixed: #dce1ff;
    --on-primary: #ffffff;
    --secondary: #555d7e;
    --secondary-container: rgba(208, 216, 255, 0.3);
    --tertiary: #390000;
    --tertiary-fixed: #ffdad4;
    --on-tertiary-container: #ff5b46;
    --background: #f7f9fb;
    --surface: #f7f9fb;
    --surface-container-low: #f2f4f6;
    --surface-card: #ffffff;
    --text-main: #0d1633;
    --text-muted: #64748b;
    --outline-variant: rgba(197, 198, 209, 0.3);
    --error: #17285c;
    --success: #10b981;
    --warning: #f59e0b;
    --gutter: 24px;
    --container-max: 1200px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: #191c1e;
    line-height: 1.5;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-headline {
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* TopNavBar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--outline-variant);
    height: 100px;
    display: flex;
    align-items: center;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    padding: 1rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    
}

.logo .custom-logo {
    max-height: 75px;
    width: auto;    
}

.nav-links {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 48px;
    }
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--tertiary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-test {
    display: none;
    padding: 12px 24px;
    background-color: var(--error);
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(90, 90, 90, 0.2);
    transition: transform 0.2s, background-color 0.2s;
}

@media (min-width: 1024px) {
    .btn-test {
        display: block;
    }
}

.btn-test:hover {
    transform: translateY(-2px);
    background-color: #1f1f1f;
}

.menu-mobile {
    display: flex;
    color: var(--primary);
    background: none;
    border: none;
    padding: 8px;
}

@media (min-width: 768px) {
    .menu-mobile {
        display: none;
    }
}

/* Hero Section */
.hero {
    padding: 48px 0 80px;
    display: grid;
    gap: 48px;
}

@media (min-width: 1024px) {
    .hero {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: rgba(0, 18, 69, 0.05);
    color: var(--primary);
    border-radius: 9999px;
    margin-bottom: 24px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-main);
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }
}

.hero h1 span {
    color: var(--primary-container);
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 640px) {
    .hero-btns {
        flex-direction: row;
    }
}

.btn-primary {
    padding: 20px 48px;
    border-radius: 12px;
    background-color: var(--error);
    color: white;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(53, 52, 52, 0.3);
    transition: transform 0.2s, background-color 0.2s;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #1f1f1f;
}

.btn-outline {
    padding: 20px 48px;
    border-radius: 12px;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 1rem;
    transition: background-color 0.2s;
    display: inline-block;
    text-align: center;
}

.btn-outline:hover {
    background-color: rgba(0, 18, 69, 0.05);
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -48px;
    right: -18px;
   /* width: 256px;
    height: 256px;*/
    background: rgba(208, 216, 255, 0.2);
    border-radius: 50%;
    filter: blur(48px);
}

.hero-img-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--outline-variant);
}

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

.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 18, 69, 0.4), transparent);
}

/* Quiz Section */
.quiz-section {
    background: white;
    padding: 80px 0;
    border-top: 1px solid var(--outline-variant);
    border-bottom: 1px solid var(--outline-variant);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface-container-low);
    border-radius: 16px;
    padding: 48px;
    border: 1px solid var(--outline-variant);
    position: relative;
    overflow: hidden;
}

#quiz-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--primary);
    width: 25%;
    transition: width 0.5s ease;
}

.quiz-step {
    transition: opacity 0.3s;
}

.quiz-step h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.quiz-options {
    display: grid;
    gap: 24px;
}

.quiz-option {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--outline-variant);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quiz-option:hover {
    border-color: var(--primary);
    background-color: #f0f4ff;
}

.quiz-option.active {
    border-color: var(--primary);
    border-width: 2px;
    background-color: var(--primary-fixed);
}

.quiz-option span:first-child {
    font-size: 1.125rem;
}

.quiz-option .material-symbols-outlined {
    color: var(--primary);
}

.quiz-footer {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
}

.btn-next {
    padding: 12px 24px;
    background-color: var(--error);
    color: white;
    border-radius: 8px;
}

/* Courses Section */
.courses-section {
    padding: 80px 0;
    background: var(--surface);
}

.courses-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .courses-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.courses-header-text {
    max-width: 500px;
}

.courses-header-text span {
    color: var(--on-tertiary-container);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.courses-header-text h2 {
    font-size: 2.25rem;
    color: var(--primary);
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-link:hover {
    text-decoration: underline;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

/* Course Cards */
.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--outline-variant);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.card-img-wrapper {
    height: 224px;
    position: relative;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
}

.card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.card-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-tag {
    color: var(--tertiary);
    font-weight: 700;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 18, 69, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Specific Grid Spans */
.col-kids { grid-column: span 12; }
.col-adults { grid-column: span 12; }
.col-teens { grid-column: span 12; }
.col-benefits { grid-column: span 12; }

@media (min-width: 768px) {
    .col-kids { grid-column: span 4; }
    .col-adults { grid-column: span 8; }
    .col-teens { grid-column: span 5; }
    .col-benefits { grid-column: span 7; }
}

/* Featured Card Adults */
.card-featured {
    background: var(--primary);
    color: white;
    flex-direction: row;
}

@media (max-width: 767px) {
    .card-featured {
        flex-direction: column;
    }
}

.card-featured .card-img-wrapper {
    height: auto;
    width: 50%;
}

@media (max-width: 767px) {
    .card-featured .card-img-wrapper {
        width: 100%;
        height: 250px;
    }
}

.card-featured .card-content {
    width: 50%;
    justify-content: center;
}

@media (max-width: 767px) {
    .card-featured .card-content {
        width: 100%;
    }
}

.card-featured h3 {
    color: white;
    font-size: 2.25rem;
}

.card-featured p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
}

.card-featured ul {
    list-style: none;
    margin-bottom: 24px;
}

.card-featured ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-featured .material-symbols-outlined {
    color: var(--success);
}

/* Kids Section */
.kids-section {
    padding: 80px 0;
    background: var(--primary-container);
    color: white;
    position: relative;
    overflow: hidden;
}

.kids-grid {
    display: grid;
    gap: 48px;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .kids-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.kids-section h2 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.kids-section h2 span {
    color: var(--tertiary-fixed);
}

.kids-section p {
    color: var(--primary-fixed);
    font-size: 1.125rem;
    margin-bottom: 48px;
    max-width: 500px;
}

.kids-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.btn-game {
    background: white;
    color: var(--primary);
    padding: 16px 32px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
}

.btn-game:hover {
    background: var(--tertiary-fixed);
}

.kids-demo-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    padding: 24px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    position: relative;
}

.kids-demo-content {
    background: white;
    border-radius: 32px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px;
}

.kids-demo-content h4 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.kids-demo-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1rem;
}

.btn-play {
    background: var(--primary);
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonial-grid {
    display: grid;
    gap: 48px;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    padding: 32px;
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid var(--outline-variant);
    display: flex;
    flex-direction: column;
}

.stars {
    display: flex;
    gap: 4px;
    color: var(--warning);
    margin-bottom: 24px;
}

.stars .material-symbols-outlined {
    font-variation-settings: 'FILL' 1;
    font-size: 20px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 24px;
    flex-grow: 1;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(0, 18, 69, 0.1);
}

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

.user-details span:first-child {
    display: block;
    font-weight: 600;
    color: var(--primary);
}

.user-details span:last-child {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--tertiary-container);
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
}

.footer-grid {
    display: grid;
    gap: 48px;
    padding: 80px 0;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: block;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

footer h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copyright {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-wa:hover {
    transform: scale(1.1);
}

.floating-wa svg {
    width: 40px;
    height: 40px;
}

/* Animation Classes */
.animate-bounce {
    animation: bounce 3s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* WordPress Fixes */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ============================================
   QUIZ SECTION - ESTILOS ADICIONAIS
   ============================================ */

/* Estados dos botões */
.btn-next:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-next:disabled:hover {
    transform: none;
    background-color: var(--error);
}

/* Transições suaves */
.quiz-step {
    transition: opacity 0.3s ease;
}

/* Estilo para os inputs do formulário */
#quiz-form input[type="text"],
#quiz-form input[type="tel"] {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

#quiz-form input[type="text"]:focus,
#quiz-form input[type="tel"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 18, 69, 0.1);
    outline: none;
}

#quiz-form input[type="text"]::placeholder,
#quiz-form input[type="tel"]::placeholder {
    color: var(--text-muted);
}

/* Ajustes para mobile */
@media (max-width: 768px) {
    .quiz-container {
        padding: 24px;
    }
    
    .quiz-option {
        padding: 16px;
        font-size: 0.95rem;
    }
    
    .quiz-option span:first-child {
        font-size: 1rem;
    }
    
    #quiz-form input[type="text"],
    #quiz-form input[type="tel"] {
        font-size: 16px; /* Evita zoom no iOS */
    }
}

/* Animações de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-step {
    animation: fadeInUp 0.4s ease;
}

/* Estilo para o progresso */
#quiz-progress {
    background: linear-gradient(90deg, var(--primary), var(--on-tertiary-container));
    border-radius: 0 2px 2px 0;
}

/* ============================================
   MODAL DO GABARITO
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 700px;
    width: 95%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--outline-variant);
    flex-shrink: 0;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    color: var(--text-main);
    margin: 0;
}

.modal-title .material-symbols-outlined {
    font-size: 28px;
}

.modal-close {
    background: var(--surface-container-low);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    color: var(--text-muted);
}

.modal-close:hover {
    background: var(--outline-variant);
}

.modal-close .material-symbols-outlined {
    font-size: 24px;
}

.modal-body {
    padding: 24px 32px;
    overflow-y: auto;
    flex: 1;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--surface-container-low);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--outline-variant);
    border-radius: 3px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 32px;
    border-top: 1px solid var(--outline-variant);
    flex-shrink: 0;
    flex-wrap: wrap;
}

.modal-footer .btn-primary,
.modal-footer .btn-outline {
    padding: 12px 24px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Estilo para os itens do gabarito no modal */
.gabarito-item {
    background: var(--surface-container-low);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    border-left: 4px solid var(--success);
    transition: all 0.2s ease;
}

.gabarito-item:hover {
    transform: translateX(4px);
}

.gabarito-item.errada {
    border-left-color: var(--error);
}

.gabarito-item .questao {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.gabarito-item .respostas {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.gabarito-item .respostas .user-resp {
    font-weight: 700;
}

.gabarito-item .respostas .user-resp.correta {
    color: var(--success);
}

.gabarito-item .respostas .user-resp.errada {
    color: var(--error);
}

.gabarito-item .respostas .correta {
    color: var(--success);
    font-weight: 700;
}

.gabarito-item .status-icon {
    float: right;
    font-size: 1.25rem;
}

/* Responsividade do Modal */
@media (max-width: 768px) {
    .modal-content {
        max-width: 100%;
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-body {
        padding: 16px 20px;
    }
    
    .modal-footer {
        padding: 16px 20px;
        flex-direction: column;
    }
    
    .modal-footer .btn-primary,
    .modal-footer .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .gabarito-item {
        padding: 12px 16px;
    }
}
/* ============================================
   COURSES SECTION - BENTO GRID
   ============================================ */

.courses-section {
    padding: 80px 0;
    background: var(--surface);
}

.courses-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .courses-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.courses-header-text {
    max-width: 500px;
}

.courses-header-text span {
    color: var(--on-tertiary-container);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.courses-header-text h2 {
    font-size: 2.25rem;
    color: var(--primary);
    margin: 0;
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

/* Course Cards */
.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--outline-variant);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.card-img-wrapper {
    height: 200px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
    z-index: 2;
}

.card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-tag {
    color: var(--tertiary);
    font-weight: 700;
    font-size: 0.875rem;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 18, 69, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-icon:hover {
    background: rgba(0, 18, 69, 0.1);
}

/* Grid Spans */
.col-kids { grid-column: span 12; }
.col-adults { grid-column: span 12; }
.col-teens { grid-column: span 12; }
.col-benefits { grid-column: span 12; }

@media (min-width: 768px) {
    .col-kids { grid-column: span 4; }
    .col-adults { grid-column: span 8; }
    .col-teens { grid-column: span 5; }
    .col-benefits { grid-column: span 7; }
}

/* Featured Card Adults */
.card-featured {
    background: var(--primary);
    color: white;
    flex-direction: row;
}

@media (max-width: 767px) {
    .card-featured {
        flex-direction: column;
    }
}

.card-featured .card-img-wrapper {
    height: auto;
    min-height: 200px;
    width: 40%;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .card-featured .card-img-wrapper {
        width: 100%;
        height: 200px;
    }
}

.card-featured .card-content {
    width: 60%;
    justify-content: center;
}

@media (max-width: 767px) {
    .card-featured .card-content {
        width: 100%;
    }
}

.card-featured h3 {
    color: white;
    font-size: 2rem;
}

.card-featured p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
}

.card-featured ul {
    list-style: none;
    margin: 0 0 16px 0;
    padding: 0;
}

.card-featured ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.card-featured .material-symbols-outlined {
    color: var(--success);
}

.card-featured .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: none;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.card-featured .btn-primary:hover {
    background: var(--tertiary-fixed);
    transform: none;
}

/* Benefits Card */
.col-benefits .card {
    border: 1px solid rgba(0,18,69,0.1);
    background: var(--secondary-container);
    padding: 32px 24px;
}

.col-benefits .card:hover {
    transform: none;
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .courses-header {
        text-align: center;
    }
    
    .courses-header-text {
        max-width: 100%;
    }
    
    .courses-header-text h2 {
        font-size: 1.75rem;
    }
    
    .col-benefits .card {
        padding: 24px 16px;
    }
}

/* ============================================
   KIDS SECTION - CORES VIVAS E DIVERTIDAS
   ============================================ */

.kids-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FFD700 100%);
    position: relative;
    overflow: hidden;
}

/* Fundo com padrão divertido */
.kids-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Elementos decorativos do fundo */
.kids-section::after {
    content: '🎈 🎉 ⭐ 🎨 🎵 🎮';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 40px;
    opacity: 0.15;
    letter-spacing: 20px;
    pointer-events: none;
    z-index: 0;
}

.kids-grid {
    display: grid;
    gap: 48px;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .kids-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* ============================================
   LADO ESQUERDO - CONTEÚDO
   ============================================ */

.kids-content {
    color: white;
}

.kids-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.kids-badge .material-symbols-outlined {
    font-size: 18px;
    color: #FFD700;
}

.kids-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 16px;
    font-weight: 800;
}

@media (max-width: 768px) {
    .kids-content h2 {
        font-size: 2.5rem;
    }
}

.kids-highlight {
    background: linear-gradient(135deg, #673AB7, #673AB7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.kids-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 500px;
    line-height: 1.7;
}

/* Benefícios Kids */
.kids-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .kids-benefits {
        grid-template-columns: 1fr 1fr;
    }
}

.kids-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.kids-benefit:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.kids-benefit-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.kids-benefit h4 {
    font-size: 0.95rem;
    margin: 0 0 2px 0;
    color: white;
}

.kids-benefit p {
    font-size: 0.8rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Botões Kids */
.kids-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.btn-kids-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: white;
    color: #FF6B35;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-kids-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    background: #FFF8E7;
}

.btn-kids-primary .material-symbols-outlined {
    color: #FF6B35;
    font-size: 22px;
}

.btn-kids-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-kids-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* ============================================
   LADO DIREITO - DEMO INTERATIVA
   ============================================ */

.kids-demo-container {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: 40px;
    padding: 24px;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.kids-demo-content {
    background: white;
    border-radius: 28px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Elementos flutuantes */
.kids-float {
    position: absolute;
    font-size: 32px;
    animation: float 3s ease-in-out infinite;
    opacity: 0.6;
}

.kids-float-1 {
    top: 10%;
    left: 8%;
    animation-delay: 0s;
}

.kids-float-2 {
    top: 15%;
    right: 10%;
    animation-delay: 0.5s;
}

.kids-float-3 {
    bottom: 20%;
    left: 12%;
    animation-delay: 1s;
}

.kids-float-4 {
    bottom: 25%;
    right: 8%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(10deg);
    }
}

.kids-demo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF6B35, #FFD700);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
    position: relative;
}

.kids-demo-icon .material-symbols-outlined {
    font-size: 48px;
    color: white;
}

.kids-demo-content h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.kids-demo-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
    max-width: 350px;
}

/* Botões de jogos */
.kids-demo-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
    width: 100%;
}

.btn-kids-game {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--surface-container-low);
    border: 2px solid var(--outline-variant);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-kids-game:hover {
    background: #FF6B35;
    border-color: #FF6B35;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-kids-game .material-symbols-outlined {
    font-size: 20px;
}

.btn-kids-play {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #FF6B35, #FFD700);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.btn-kids-play:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.btn-kids-play .material-symbols-outlined {
    font-size: 22px;
}

/* Responsividade Kids */
@media (max-width: 768px) {
    .kids-section {
        padding: 48px 0;
    }
    
    .kids-content h2 {
        font-size: 2rem;
    }
    
    .kids-demo-container {
        border-radius: 24px;
        padding: 16px;
    }
    
    .kids-demo-content {
        padding: 24px 16px;
        min-height: 300px;
    }
    
    .kids-float {
        font-size: 24px;
    }
    
    .kids-demo-icon {
        width: 60px;
        height: 60px;
    }
    
    .kids-demo-icon .material-symbols-outlined {
        font-size: 32px;
    }
    
    .kids-demo-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-kids-game {
        width: 100%;
        justify-content: center;
    }
    
    .btn-kids-play {
        width: 100%;
        justify-content: center;
    }
    
    .kids-buttons {
        flex-direction: column;
    }
    
    .btn-kids-primary,
    .btn-kids-secondary {
        width: 100%;
        justify-content: center;
    }
}