:root {
    --primary: #00e5ff;
    --primary-glow: rgba(0, 229, 255, 0.15);
    --bg-dark: #0a0a0f;
    --bg-card: #111118;
    --bg-card-hover: #16161f;
    --text-light: #ffffff;
    --text-muted: #8a8a9a;
    --sidebar-width: 400px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&family=Space+Grotesk:wght@400;500;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #050508;
    color: var(--text-light);
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* =================== SIDEBAR =================== */
.app-container { display: flex; width: 100%; height: 100%; }

.sidebar {
    width: var(--sidebar-width);
    background-color: #0c0c12;
    border-right: 1px solid #1a1a25;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-shrink: 0;
}

.sidebar h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-top: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title input[type="checkbox"] {
    width: 16px; height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

hr { border: none; border-top: 1px solid #1a1a25; margin: 8px 0; }

.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-row { display: flex; gap: 8px; }
.form-row .form-group { flex: 1; }

label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input[type="text"], textarea, input[type="file"] {
    width: 100%;
    padding: 10px 12px;
    background-color: #14141e;
    border: 1px solid #222233;
    border-radius: 6px;
    color: #fff;
    font-size: 0.85rem;
    transition: border-color 0.2s;
    font-family: 'Inter', sans-serif;
}
input[type="file"] { padding: 6px 10px; font-size: 0.75rem; }
input[type="text"]:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
textarea { resize: vertical; }

.color-picker-wrapper { display: flex; align-items: center; gap: 10px; }
input[type="color"] {
    -webkit-appearance: none; border: none;
    width: 36px; height: 36px; border-radius: 8px;
    cursor: pointer; background-color: transparent;
}
input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
input[type="color"]::-webkit-color-swatch { border: 2px solid #333; border-radius: 6px; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #00b8d4);
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 25px var(--primary-glow); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* =================== PREVIEW =================== */
.preview-area {
    flex: 1;
    background: radial-gradient(ellipse at center, #0d0d15 0%, #050508 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    padding: 50px 0;
}

.presentation {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 100%;
    max-width: 540px;
}

/* =================== SLIDES BASE =================== */
.slide {
    background-color: var(--bg-dark);
    width: 100%;
    height: max-content;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
    display: flex;
    flex-direction: column;
    border-radius: 4px;
}

/* Decoração canto superior esquerdo */
.deco-corner-tl { display: none; }

/* Decoração canto inferior direito */
.deco-corner-br { display: none; }

/* Glow sutil no topo */
.deco-glow-top {
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 300px; height: 300px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Texto vertical lateral (branding sutil) */
.slide-watermark { display: none; }

.slide-content {
    position: relative;
    z-index: 3;
    padding: 55px 45px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* =================== TIPOGRAFIA =================== */
.title-mega {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -2px;
}

.title-outline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 6rem;
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -3px;
    -webkit-text-stroke: 2px var(--primary);
    color: transparent;
    opacity: 0.3;
    position: absolute;
}

.title-section {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1.5px;
}

.title-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.text-primary { color: var(--primary) !important; }

.text-body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #b0b0c0;
    font-weight: 300;
}

/* Badge / Tag */
.badge {
    display: inline-block;
    background: var(--primary);
    color: #000;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 18px;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: fit-content;
}

/* Logo / Triângulo */
.logo-triangle { display: none; }

/* =================== SLIDE: CAPA =================== */
.slide-cover .slide-content {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cover-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cover-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.cover-desc {
    font-size: 0.95rem;
    color: #8a8a9a;
    max-width: 85%;
    line-height: 1.6;
    margin-bottom: 50px;
}

.cover-box {
    border: 1.5px solid rgba(0,229,255,0.3);
    border-radius: 16px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0,229,255,0.05) 0%, rgba(0,0,0,0.4) 100%);
    backdrop-filter: blur(8px);
    width: 88%;
}

.cover-box-label {
    font-size: 0.75rem;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.cover-website {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
}

.cover-stats {
    font-size: 0.7rem;
    color: #555;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cover-logo-area {
    position: absolute;
    bottom: 25px; left: 45px;
    max-width: 120px; max-height: 50px;
    display: flex; align-items: center;
}

.logo-img { max-width: 100%; max-height: 100%; object-fit: contain; }

.cover-footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem; font-weight: 700; letter-spacing: 3px;
}
.cover-footer-logo span { color: var(--primary); }

/* =================== SLIDE: SOBRE O CURSO =================== */
.course-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
    display: inline-block;
    border-bottom: 4px solid var(--primary);
    padding-bottom: 8px;
}

.course-card {
    background: #111118;
    border-left: 6px solid var(--primary);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 40px;
}

.course-card-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.course-card-text {
    color: #d0d0d0;
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.target-list {
    list-style: none;
    margin-top: 10px;
}

.target-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.4;
}

.target-item::before {
    content: '';
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 6px;
    flex-shrink: 0;
}

/* =================== SLIDE: QUEM SOMOS =================== */
.about-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #b0b0c0;
    margin-top: 25px;
    margin-bottom: 40px;
    white-space: pre-wrap;
    font-weight: 300;
}

.stats-row {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.stat-card {
    flex: 1;
    background: linear-gradient(145deg, #111118, #0d0d14);
    border: 1px solid #1a1a25;
    padding: 20px 16px;
    border-radius: 12px;
    text-align: center;
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.65rem;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

/* =================== SLIDE: MÓDULOS =================== */
.modules-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.module-card {
    background: #111118;
    border-left: 6px solid var(--primary);
    border-radius: 4px;
    padding: 24px;
    break-inside: avoid;
}
.module-number {
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.module-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
}
.module-list {
    list-style: none;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.module-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: #d0d0d0;
    font-size: 0.95rem;
    line-height: 1.5;
}
.module-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #666;
    border-radius: 50%;
}
.module-list li.ia-item {
    color: var(--primary);
    display: flex;
    align-items: flex-start;
    padding-left: 0;
}
.module-list li.ia-item::before {
    display: none;
}
.ia-badge {
    background: var(--primary);
    color: #000;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 2px;
}
.ia-text {
    color: var(--primary);
}

/* =================== SLIDE: BÔNUS =================== */
.bonus-headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.bonus-cols {
    display: flex; gap: 10px; margin-top: 20px;
}

.bonus-col {
    flex: 1;
    background: #111118;
    border: 1px solid #1a1a25;
    border-radius: 12px;
    overflow: hidden;
}

.bonus-col-head {
    padding: 12px; text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 0.85rem;
    color: #fff;
    letter-spacing: 1px;
}

.col-color-1 { background: linear-gradient(135deg, #c9795e, #a05a40); }
.col-color-2 { background: linear-gradient(135deg, #14a37f, #0e7d5f); }
.col-color-3 { background: linear-gradient(135deg, #4b8df8, #3a6fd0); }

.bonus-col-body {
    padding: 14px; font-size: 0.78rem; color: #999;
    list-style: none;
}

.bonus-col-item {
    margin-bottom: 10px;
    display: flex; align-items: flex-start; gap: 8px;
    line-height: 1.35;
}

.bonus-col-item::before {
    content: '';
    width: 5px; height: 5px;
    background: #555; border-radius: 50%;
    margin-top: 5px; flex-shrink: 0;
}

.col-color-1 + .bonus-col-body .bonus-col-item::before { background: #c9795e; }
.bonus-col:nth-child(1) .bonus-col-body .bonus-col-item::before { background: #c9795e; }
.bonus-col:nth-child(2) .bonus-col-body .bonus-col-item::before { background: #14a37f; }
.bonus-col:nth-child(3) .bonus-col-body .bonus-col-item::before { background: #4b8df8; }

/* =================== SLIDE: MÉTODO RIV =================== */
.riv-title-wrapper { position: relative; margin-bottom: 20px; }

.riv-outline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 7rem;
    font-weight: 700;
    -webkit-text-stroke: 2px rgba(255,255,255,0.06);
    color: transparent;
    position: absolute;
    top: -30px; left: -10px;
    line-height: 0.8;
    z-index: 0;
    letter-spacing: -4px;
}

.riv-desc {
    font-size: 0.88rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 30px;
}

.riv-cards { display: flex; flex-direction: column; gap: 14px; }

.riv-card {
    background: linear-gradient(135deg, #111118, #0e0e16);
    border: 1px solid #1a1a25;
    border-radius: 14px;
    display: flex;
    overflow: hidden;
    transition: all 0.3s;
}

.riv-letter-box {
    background: linear-gradient(180deg, var(--primary), #009db5);
    color: #000;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.riv-card-body { padding: 18px; flex: 1; }

.riv-card-title {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.riv-card-desc {
    color: #888;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* =================== SLIDE: MENTOR =================== */
.mentor-layout {
    display: flex;
    gap: 24px;
    margin-top: 25px;
}

.mentor-photo-box {
    flex: 0 0 200px;
    background: linear-gradient(145deg, #111118, #0e0e16);
    border: 1px solid #1a1a25;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.mentor-photo-box img {
    width: 100%; height: 100%; object-fit: cover;
}

.mentor-photo-box .placeholder-text {
    color: #333; font-size: 0.8rem;
}

.mentor-details { flex: 1; display: flex; flex-direction: column; }

.mentor-name-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.mentor-handle-text {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.mentor-bio { list-style: none; }

.mentor-bio-point {
    margin-bottom: 10px;
    font-size: 0.85rem;
    display: flex; align-items: flex-start; gap: 10px;
    color: #999; line-height: 1.45;
}

.mentor-bio-point::before {
    content: '';
    width: 7px; height: 7px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 5px; flex-shrink: 0;
}

/* =================== SLIDE: INVESTIMENTO =================== */
.inv-box {
    background: linear-gradient(135deg, #111118, #0e0e16);
    border: 1px solid #1a1a25;
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 24px;
    color: #999;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 30px;
}

.prereq-list {
    list-style: none; color: #999; font-size: 0.92rem;
}

.prereq-item {
    margin-bottom: 14px;
    display: flex; align-items: center; gap: 14px;
}

.prereq-dot {
    width: 22px; height: 22px;
    background: linear-gradient(135deg, var(--primary), #009db5);
    border-radius: 6px;
    flex-shrink: 0;
}

.contact-info {
    font-size: 1rem;
    color: #ccc;
    line-height: 2;
}

/* =================== SLIDE: OBRIGADO =================== */
.slide-thanks .slide-content {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thanks-big {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 1;
    margin-bottom: 15px;
}

.thanks-site {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.thanks-sub {
    font-size: 0.85rem;
    color: #555;
}

.thanks-footer-text {
    position: absolute;
    bottom: 70px;
    font-size: 0.7rem;
    color: #444;
    letter-spacing: 2px;
    font-weight: 600;
}

/* =================== UNDERLINE ACCENT =================== */
.accent-underline {
    display: inline-block;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 8px;
}

/* =================== PRINT =================== */
@media print {
    @page { size: 1080px auto; margin: 0; }
    body, html { height: auto !important; overflow: visible !important; display: block !important; background: #0a0a0f !important; }
    .app-container { height: auto !important; display: block !important; overflow: visible !important; }
    .sidebar { display: none !important; }
    .preview-area { padding: 0; background: transparent; display: block; width: 1080px; height: auto; overflow: visible !important; }
    .presentation { max-width: 1080px; width: 1080px; gap: 0; display: block; }
    .slide {
        width: 1080px; height: max-content; aspect-ratio: auto;
        page-break-after: always; page-break-inside: avoid;
        box-shadow: none; border-radius: 0;
        -webkit-print-color-adjust: exact; print-color-adjust: exact;
        font-size: 150%;
    }
    .slide-content { padding: 100px 85px; }
}
