/* =========================================
   1. VARIÁVEIS E RESET GERAL (CSS BASE)
   ========================================= */
:root {
    --color-bg: #0f1623;
    --color-card-bg: #1a2235;
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-primary: #f72585;
    --color-secondary: #7209b7;
    --color-accent: #3a0ca3;
    --gradient-primary: linear-gradient(135deg, #f72585 0%, #7209b7 100%);
    --gradient-dark: linear-gradient(135deg, #1a2235 0%, #0f1623 100%);

    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);

    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

html, body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Botões Gerais */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    opacity: 0.9;
}

/* =========================================
   2. HEADER E NAV
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background-color: rgba(15, 22, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 56px; /* Ajuste conforme seu logo */
}

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

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    color: var(--color-primary);
}

.nav-list a:hover {
    opacity: 0.8;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    z-index: 1001;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    text-align: center;
    background: radial-gradient(circle at top center, rgba(114, 9, 183, 0.15) 0%, transparent 70%);
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* =========================================
   4. NOVA SEÇÃO: MATEMÁTICA DA AUTOMAÇÃO (CRO)
   ========================================= */
.math-section {
    padding: 60px 20px;
    background: rgba(26, 34, 53, 0.4);
    border-top: 1px solid rgba(114, 9, 183, 0.1);
    border-bottom: 1px solid rgba(114, 9, 183, 0.1);
    /*margin-bottom: 60px;*/
}

/* =========================================
   4.1. SEÇÃO O QUE VOCÊ RECEBE (IMPACTO VISUAL)
   ========================================= */
.academy-content-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(58, 12, 163, 0.1) 0%, rgba(247, 37, 133, 0.05) 100%);
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.academy-content-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(114, 9, 183, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.academy-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: var(--color-card-bg);
    border: 1px solid rgba(114, 9, 183, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(247, 37, 133, 0.6);
    box-shadow: 0 15px 40px rgba(247, 37, 133, 0.2);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-description {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* =========================================
   4.2. PROVA SOCIAL (TESTEMUNHOS)
   ========================================= */
.testimonials-section {
    padding: 80px 20px;
    background: var(--color-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--color-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(247, 37, 133, 0.15);
    border-color: rgba(114, 9, 183, 0.3);
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    color: rgba(247, 37, 133, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 4px;
}

.testimonial-author p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    font-style: italic;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-top: 15px;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 1rem;
}

/* =========================================
   4.3. MÓDULOS DA ACADEMIA (PREVIEW)
   ========================================= */
.academy-modules-section {
    padding: 80px 20px;
    background: rgba(15, 22, 35, 0.8);
}

.modules-container {
    max-width: 900px;
    margin: 0 auto;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.module-item {
    background: var(--color-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.module-item:hover {
    border-color: rgba(114, 9, 183, 0.4);
    background: rgba(26, 34, 53, 0.8);
}

.module-icon {
    font-size: 2rem;
    min-width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.module-icon i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.module-content h4 {
    font-size: 1.05rem;
    color: var(--color-text);
    margin-bottom: 5px;
    font-weight: 600;
}

.module-content p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* =========================================
   4.4. URGÊNCIA E ESCASSEZ
   ========================================= */
.urgency-banner {
    background: linear-gradient(90deg, rgba(247, 37, 133, 0.1) 0%, rgba(114, 9, 183, 0.1) 100%);
    border: 1px solid rgba(247, 37, 133, 0.3);
    border-radius: var(--border-radius-md);
    padding: 20px 30px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.urgency-text {
    display: flex;
    align-items: center;
    gap: 15px;
}

.urgency-icon {
    font-size: 2rem;
    color: #f72585;
}

.urgency-text h4 {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 4px;
}

.urgency-text p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* =========================================
   4.5. ROI CALCULATOR
   ========================================= */
.roi-section {
    background: var(--color-card-bg);
    border: 2px solid rgba(114, 9, 183, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    margin: 40px 0;
    text-align: center;
}

.roi-calculation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0;
    font-size: 1.3rem;
}

.roi-item {
    padding: 15px 25px;
    background: rgba(15, 22, 35, 0.6);
    border-radius: var(--border-radius-md);
}

.roi-item.highlight {
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 20px 30px;
}

.roi-savings {
    font-size: 2.5rem;
    font-weight: 800;
    color: #00b894;
    margin: 20px 0;
}

.comparison-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: stretch; /* Cards mesma altura */
    max-width: 1000px;
    margin: 0 auto;
}

.math-card {
    flex: 1;
    min-width: 300px;
    background: var(--color-card-bg);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.math-card.winner {
    border: 2px solid #f72585;
    background: linear-gradient(145deg, rgba(26, 34, 53, 0.9), rgba(114, 9, 183, 0.15));
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(247, 37, 133, 0.15);
    position: relative;
    z-index: 2;
}

/* Label "Melhor Escolha" */
.math-card.winner::before {
    content: 'MELHOR ESCOLHA';
    position: absolute;
    top: -15px;
    background: #f72585;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.math-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.math-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 15px 0;
}

.math-price span {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.math-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    width: 100%;
    text-align: left;
}

.math-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 1rem;
}

.math-list li i.check { color: #00b894; }
.math-list li i.cross { color: #ff7675; }

/* Destaque para itens da lista winner */
.math-card.winner .math-list li {
    color: var(--color-text);
}

/* =========================================
   5. TEMPLATES GRID E CARDS
   ========================================= */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding-bottom: 60px;
}

.template-card {
    background-color: var(--color-card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(114, 9, 183, 0.5);
}

.template-thumbnail {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
}

.template-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.template-thumbnail:hover img {
    transform: scale(1.05);
}

/* Play Icon Overlay */
.template-thumbnail::after {
    content: '\f144'; /* FontAwesome Play Icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: white;
    opacity: 0.7;
    transition: all 0.3s ease;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.template-thumbnail:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    color: var(--color-primary);
}

.template-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.template-info h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.4;
}

.template-info p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.template-actions {
    margin-top: auto;
    padding: 0 24px 24px;
}

/* Tag: Incluído na Academia */
.academy-included-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #f72585;
    background: rgba(247, 37, 133, 0.08);
    border: 1px solid rgba(247, 37, 133, 0.2);
    padding: 8px;
    border-radius: var(--border-radius-md);
    margin-bottom: 15px;
    font-weight: 600;
}

.btn-buy-template {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--gradient-primary);
    color: white;
    border: 1px solid transparent;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(247, 37, 133, 0.4);
}

.btn-buy-template:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 37, 133, 0.5);
}

.btn-buy-template.disabled {
    background: rgba(255,255,255,0.05);
    color: var(--color-text-muted);
    border-color: rgba(255,255,255,0.1);
    cursor: not-allowed;
    pointer-events: none;
}

.btn-academia {
    background: rgba(163, 123, 163, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(58, 12, 163, 0.3);
    box-shadow: none;
}

.btn-academia:hover {
    background: rgba(58, 12, 163, 0.25);
    border-color: rgba(58, 12, 163, 0.5);
    color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(58, 12, 163, 0.2);
}

/* =========================================
   6. FEATURES SECTION & SUBSCRIPTION
   ========================================= */
.template-features-container {
    background: linear-gradient(180deg, rgba(114, 9, 183, 0.05) 0%, rgba(26, 34, 53, 0) 100%);
    border: 1px solid rgba(114, 9, 183, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 50px 30px;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.template-features-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.template-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    background-color: rgba(15, 22, 35, 0.6);
    border-radius: var(--border-radius-md);
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.feature-icon {
    font-size: 2rem;
    margin-right: 20px;
    min-width: 50px;
    display: flex;
    justify-content: center;
}

.feature-icon i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.template-features-cta {
    text-align: center;
    margin-top: 40px;
}

.template-features-cta h2 {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    margin-bottom: 10px;
}

/* Subscription Section */
.subscription-section {
    background: var(--gradient-dark);
    border: 1px solid rgba(114, 9, 183, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 60px 20px;
    text-align: center;
    max-width: 800px;
    margin: 60px auto 0;
    position: relative;
    box-shadow: 0 0 30px rgba(114, 9, 183, 0.1);
}

.subscription-section img {
    max-width: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    margin: 0 auto 30px;
}

/* =========================================
   7. FAQ SECTION
   ========================================= */
.faq {
    padding: 80px 0;
    background-color: rgba(15, 22, 35, 0.5);
}

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

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--border-radius-md);
    padding: 25px;
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--color-text);
}

.faq-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Item FAQ Destacado */
.faq-item-highlight {
    border-left: 4px solid #f72585;
    background: rgba(247, 37, 133, 0.05);
}

/* =========================================
   8. FOOTER
   ========================================= */
.footer {
    background-color: #05080f;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-links ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* =========================================
   9. STICKY BAR & LIGHTBOX
   ========================================= */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #3a0ca3, #f72585);
    color: white;
    padding: 15px 20px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
    transform: translateY(100%);
    animation: slideUp 0.5s forwards 2s;
}

.sticky-bar p {
    margin: 0;
    font-weight: 500;
    font-size: 1rem;
}

.sticky-btn {
    background: white;
    color: #3a0ca3;
    padding: 8px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.sticky-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* =========================================
   10. FILTROS DE CATEGORIA
   ========================================= */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: var(--color-text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(247, 37, 133, 0.3);
}

.template-card.hidden {
    display: none;
}

@keyframes slideUp {
    to { transform: translateY(0); }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.lightbox.active { display: flex; }

.lightbox-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/9;
}

.lightbox-close {
    position: absolute;
    top: -40px; right: 0;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

.lightbox iframe {
    width: 100%; height: 100%;
    border: none;
}

/* Responsividade */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        position: relative;
    }

    * {
        max-width: 100%;
    }

    .container {
        padding: 0 15px;
        overflow-x: hidden;
    }

    .hero h1 { font-size: 2.2rem; word-wrap: break-word; }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgba(15, 22, 35, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid rgba(114, 9, 183, 0.2);
        z-index: 999;
    }

    .nav.active {
        max-height: 300px;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .nav-list li {
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list a {
        display: block;
        font-size: 1.1rem;
    }

    .header .container {
        flex-direction: row;
        justify-content: space-between;
    }

    .math-card.winner { transform: scale(1); margin-top: 20px; }
    .sticky-bar { flex-direction: column; gap: 10px; text-align: center; }
    .comparison-wrapper { flex-direction: column; }

    /* Responsividade das novas seções */
    .stat-number { font-size: 2.5rem; }
    .academy-stats-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .modules-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr !important; }

    .urgency-banner {
        flex-direction: column;
        text-align: center;
    }

    .urgency-text {
        flex-direction: column;
        text-align: center;
    }

    .roi-calculation {
        flex-direction: column;
        font-size: 1.1rem;
    }

    .roi-savings { font-size: 2rem; }

    .roi-item.highlight {
        font-size: 1.3rem;
        padding: 15px 20px;
    }

    .section-title { font-size: 1.8rem; }

    .academy-content-section h2,
    .testimonials-section h2,
    .academy-modules-section h2 {
        font-size: 1.8rem !important;
    }

    /* Ajustes para seção de planos em mobile */
    #escolha-plano h2 {
        font-size: 2rem !important;
    }

    #escolha-plano > div > div > div > div[style*="transform: scale(1.05)"] {
        transform: scale(1) !important;
        margin-top: 30px;
    }
}
