:root {
    /* Paleta de Cores Suaves - Tema Autismo / Educação Inclusiva */
    --primary: #0284c7; /* Azul Celeste Calmo */
    --primary-dark: #0f172a; /* Deep Slate (Alto Contraste Textos) */
    --primary-light: #e0f2fe; /* Azul Pastel Claro */

    --secondary: #f43f5e; /* Coral/Rosa Amigável para Destaques */
    --secondary-dark: #be123c; /* Rosa Escuro */
    --secondary-light: #ffe4e6; /* Rosa Pastel Claro */

    --accent: #fbbf24; /* Amarelo Quente para Distintivos/Contadores */
    --danger: #ef4444; 

    --success: #10b981; /* Verde Esmeralda para Elementos Positivos/Compra */
    --btn-green: #10b981; /* Verde do Botão Principal */
    --btn-green-dark: #059669; /* Verde Escuro Hover */

    --text-main: #0f172a; /* Azul Escuro Quase Preto para Leitura Saudável */
    --text-muted: #475569; /* Slate Gray para Textos Secundários */
    --bg-light: #f8fafc; /* Papel de Fundo Limpo e Suave */
    --bg-white: #ffffff;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(2 132 199 / 0.05), 0 4px 6px -4px rgb(2 132 199 / 0.05);
    --shadow-xl: 0 20px 25px -5px rgb(2 132 199 / 0.1), 0 8px 10px -6px rgb(2 132 199 / 0.1);

    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-xl: 2rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    /* Fundo sutil com pontilhados delicados para simular textura infantil/escolar premium */
    background-image: 
        radial-gradient(rgba(2, 132, 199, 0.07) 2px, transparent 2px);
    background-size: 50px 50px;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

/* Utilitários */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background-color: #f1f5f9;
}

.bg-white {
    background-color: var(--bg-white);
}

.full-width {
    width: 100%;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--primary-light);
    z-index: -1;
    transform: rotate(-0.5deg);
}

/* Estilos do Carrossel de Imagens (Marquee) */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    white-space: nowrap;
    padding: 1.5rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 1.5rem;
    animation: marquee-scroll 32s linear infinite;
    width: max-content;
}

.marquee-track.reverse {
    animation: marquee-scroll-reverse 32s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track img {
    flex: 0 0 auto;
    width: 260px;
    height: 360px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: white;
    border: 2px solid rgba(2, 132, 199, 0.15);
    padding: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-scroll-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@media (max-width: 768px) {
    .marquee-track img {
        width: 180px;
        height: 250px;
        padding: 5px;
    }
}

@media (max-width: 480px) {
    .marquee-track img {
        width: 140px;
        height: 195px;
    }
}

/* --- Top Bar / Barra do Topo --- */
.top-bar {
    background: linear-gradient(90deg, var(--primary), #0284c7);
    color: #ffffff;
    text-align: center;
    padding: 0.75rem 0;
    font-weight: 800;
    font-size: 0.9rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px -1px rgba(2, 132, 199, 0.2);
}

/* --- Hero Section --- */
.hero {
    padding: 4.5rem 0 3rem;
    background: radial-gradient(circle at top right, var(--primary-light) 0%, transparent 60%),
                radial-gradient(circle at top left, var(--secondary-light) 0%, transparent 60%);
    background-color: #FFFFFF;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.hero-content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
}

.hero-text {
    width: 100%;
}

/* Formas Flutuantes de Fundo */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.shape-1 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    top: -60px;
    left: -60px;
    animation: flowOrbit 22s linear infinite;
    opacity: 0.6;
}

.shape-2 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, var(--secondary-light) 0%, transparent 70%);
    bottom: 60px;
    right: -60px;
    animation: flowOrbit 18s linear infinite reverse;
    opacity: 0.6;
}

@keyframes flowOrbit {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.08); border-radius: 45% 55% 45% 55%; }
    100% { transform: rotate(360deg) scale(1); }
}

/* --- Botões --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.btn-lg {
    font-size: 1.1rem;
    padding: 1.3rem 2.8rem;
    border-radius: 3rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--btn-green) 0%, var(--btn-green-dark) 100%);
    color: white;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 6px 18px 0 rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.45);
    background: linear-gradient(135deg, var(--btn-green-dark) 0%, var(--btn-green) 100%);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 2px solid #cbd5e1;
}

.btn-secondary:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.pulse-animation {
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* --- Cabeçalhos de Seção --- */
.section-header {
    margin-bottom: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header h2 {
    font-size: 2.3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 900;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Etiqueta / Tag */
.tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    display: inline-block;
    letter-spacing: 0.75px;
    border: 1px solid rgba(2, 132, 199, 0.15);
}

/* --- Bônus --- */
.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.bonus-item {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.bonus-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.bonus-content h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    font-weight: 800;
}

/* --- Precificação / Cards --- */
.pricing-wrapper {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    align-items: stretch;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2.2rem;
    width: 100%;
    max-width: 410px;
    position: relative;
    border: 1px solid #cbd5e1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card.premium {
    border: 3px solid var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.03);
    z-index: 2;
}

.pricing-card.premium:hover {
    transform: scale(1.05);
}

.pricing-card.basic:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.best-seller-tag {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1.8rem;
    border-radius: 2rem;
    font-weight: 800;
    font-size: 0.8rem;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.card-header {
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
}

.price-display {
    margin: 1.2rem 0;
}

.old-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.95rem;
    display: block;
}

.final-price {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
}

.final-price.text-highlight {
    color: var(--primary-dark);
}

.badge-discount {
    background: var(--secondary-light);
    color: var(--secondary-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-block;
    margin-top: 0.6rem;
}

.payment-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.card-body ul {
    margin-bottom: 2rem;
    text-align: left;
}

.check-list-price li {
    margin-bottom: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.check-list-price li strong {
    color: var(--text-main);
}

.check-list-price i {
    color: var(--success);
    margin-top: 4px;
    flex-shrink: 0;
}

.check-list-price li.disabled {
    color: #cbd5e1;
    text-decoration: line-through;
}

.check-list-price li.disabled i {
    color: var(--danger);
}

.bonus-box {
    background: #fdfdf9;
    border: 2px dashed var(--primary);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    margin: 1.5rem 0;
    text-align: left;
}

.bonus-box strong {
    color: var(--primary-dark);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
}

.bonus-box .small-text li {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* --- FAQ / Dúvidas Frequentes --- */
.faq-container {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    background: white;
    margin-bottom: 0.8rem;
    border-radius: var(--radius-md);
    padding: 0 1.2rem;
    border: 1px solid #e2e8f0;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    padding: 1.3rem 0;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
}

.faq-answer {
    max-height: 0;
    aria-hidden: true;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding-bottom 0.3s ease;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.04);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* valor seguro para expansão */
    padding-bottom: 1.3rem;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: var(--secondary);
}

/* --- Rodapé --- */
.main-footer {
    background: var(--primary-dark);
    color: #94a3b8;
    padding: 4rem 0;
    border-top: 5px solid var(--primary);
}

.main-footer h3 {
    color: white;
    margin-bottom: 0.6rem;
    font-weight: 800;
}

.main-footer p {
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #64748b;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Lógica de Modais (Popup e Lightbox) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 92%;
    max-width: 420px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 2.2rem 1.8rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    position: relative;
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--danger);
}

.grid-img {
    cursor: pointer;
}

/* Responsividade Geral */
@media (max-width: 768px) {
    .pricing-card.premium {
        transform: scale(1);
        margin-top: 1.5rem;
    }
    
    .pricing-card.premium:hover {
        transform: scale(1.02);
    }

    .hero-text h1 {
        font-size: 2rem !important;
        margin-bottom: 1.2rem;
    }
    
    #countdown {
        padding: 0.8rem 1rem !important;
        gap: 0.5rem !important;
    }
    
    #countdown span {
        font-size: 1.7rem !important;
    }
    
    .pricing-wrapper {
        gap: 1.8rem;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 span {
        font-size: clamp(1.5rem, 8vw, 2.2rem) !important;
    }

    .btn-lg {
        padding: 1.1rem 1.5rem !important;
        font-size: 1rem !important;
    }

    .section-padding {
        padding: 3rem 0;
    }
}
