/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
   :root {
    --bg-dark: #0a0b10;
    --bg-darker: #050608;
    --accent-primary: #00f0ff;
    --accent-secondary: #ff003c;
    --text-main: #e0e2e8;
    --text-muted: #8b92a5;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-darker);
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-accent {
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

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

.section-heading {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-secondary);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
}

.text-center.section-heading::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ==========================================================================
   Buttons (Sharp Design)
   ========================================================================== */
.btn-primary-sharp, .btn-secondary-sharp {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    border: none;
    background: transparent;
    z-index: 1;
}

.btn-primary-sharp {
    color: var(--bg-darker);
}

.btn-primary-sharp::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--accent-primary);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    z-index: -1;
    transition: var(--transition-smooth);
}

.btn-primary-sharp:hover::before {
    background: #fff;
    transform: scale(1.05);
}

.btn-primary-sharp:disabled, .btn-primary-sharp[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary-sharp {
    color: var(--text-main);
}

.btn-secondary-sharp::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
    z-index: -1;
    transition: var(--transition-smooth);
}

.btn-secondary-sharp:hover::before {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-primary);
}

.btn-secondary-sharp:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==========================================================================
   Header Navbar
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 6, 8, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo img {
    height: 40px;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--accent-primary);
}

.nav-menu .btn-nav {
    border: 1px solid var(--accent-secondary);
    padding: 0.5rem 1.5rem;
    color: var(--accent-secondary);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.nav-menu .btn-nav:hover {
    background: var(--accent-secondary);
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 300px; height: 100vh;
    background: var(--bg-dark);
    z-index: 2000;
    padding: 4rem 2rem;
    transition: right 0.3s ease;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: none; border: none;
    color: #fff; font-size: 2rem;
    cursor: pointer;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #1a1c29 0%, var(--bg-darker) 100%);
}

.grid-overlay {
    position: absolute;
    width: 200%; height: 200%;
    top: -50%; left: -50%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(40px) translateZ(-200px); }
}

.glow {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.glow-1 { top: -200px; left: -200px; background: var(--accent-primary); }
.glow-2 { bottom: -200px; right: -200px; background: var(--accent-secondary); }

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    background: rgba(255, 0, 60, 0.1);
    color: var(--accent-secondary);
    border: 1px solid var(--accent-secondary);
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-title .highlight {
    color: transparent;
    -webkit-text-stroke: 2px var(--accent-primary);
    position: relative;
}

.hero-title .highlight::after {
    content: 'ROTA PARA O FUTURO';
    position: absolute;
    left: 4px; top: 4px;
    color: var(--accent-primary);
    opacity: 0.5;
    z-index: -1;
    filter: blur(8px);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
}

.hero-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==========================================================================
   Sobre Section
   ========================================================================== */
.sobre-section {
    padding: 8rem 0;
    background: var(--bg-dark);
    position: relative;
}

.sobre-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sharp-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    clip-path: polygon(0 20px, 20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
    border-left: 4px solid var(--accent-primary);
}

.sharp-card p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.sharp-card p:last-child {
    margin-bottom: 0;
}

.visual-box {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(0,240,255,0.1), rgba(255,0,60,0.1));
    border: 1px solid rgba(255,255,255,0.1);
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.visual-icon {
    font-size: 5rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.visual-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    line-height: 1.1;
    color: rgba(255,255,255,0.9);
}

/* ==========================================================================
   O Que Aprender Section
   ========================================================================== */
.aprender-section {
    padding: 8rem 0;
    background: var(--bg-darker);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-block {
    background: rgba(255,255,255,0.02);
    padding: 3rem 2rem;
    border-top: 2px solid transparent;
    transition: var(--transition-smooth);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.feature-block:hover {
    background: rgba(255,255,255,0.05);
    border-top-color: var(--accent-primary);
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-secondary);
    margin-bottom: 1.5rem;
}

.feature-block h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
}

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

/* ==========================================================================
   Argumentos Section
   ========================================================================== */
.argumentos-section {
    padding: 8rem 0;
    background: url('../imagens/bg-pattern.svg') center/cover, var(--bg-dark);
    position: relative;
}

.argumentos-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.argumentos-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 2rem;
}

.gratuito-badge {
    background: var(--accent-secondary);
    color: #fff;
    padding: 1.5rem 2rem;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    text-align: right;
}

.gratuito-badge h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.gratuito-badge p {
    margin: 0;
    font-size: 0.9rem;
    font-family: var(--font-heading);
}

.argumentos-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.argumentos-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.03);
    border-left: 2px solid var(--accent-primary);
}

.argumentos-list i {
    color: var(--accent-primary);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

/* ==========================================================================
   Cronograma Section
   ========================================================================== */
.cronograma-section {
    padding: 8rem 0;
    background: var(--bg-darker);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 2px;
    height: 100%;
    background: rgba(255,255,255,0.1);
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    transform: translateX(-50%);
    width: 40px; height: 40px;
    background: var(--bg-dark);
    border: 2px solid var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--accent-primary);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); /* Rhombus */
    z-index: 2;
}

.timeline-content {
    background: rgba(255,255,255,0.02);
    padding: 2rem;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.timeline-content h4 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   Matrícula Section
   ========================================================================== */
.matricula-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255,255,255,0.03);
    padding: 4rem;
    clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
    border: 1px solid rgba(255,255,255,0.05);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    letter-spacing: 1px;
}

.custom-form input[type="text"],
.custom-form input[type="email"],
.custom-form input[type="tel"],
.custom-form input[type="date"] {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 1.5rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    /* Sharp edges */
    border-radius: 0;
}

.custom-form input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(0, 240, 255, 0.05);
}

/* Custom Radio */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    background: rgba(0,0,0,0.3);
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition-fast);
}

.radio-label:hover {
    border-color: rgba(255,255,255,0.3);
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    display: inline-block;
    position: relative;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); /* Rhombus */
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--accent-primary);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 10px; height: 10px;
    background: var(--accent-primary);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.termos-group {
    margin-top: 1rem;
    background: rgba(0,0,0,0.4);
    padding: 2rem;
    border-left: 4px solid var(--accent-secondary);
}

.btn-termos {
    background: transparent;
    border: 1px solid var(--accent-secondary);
    color: var(--accent-secondary);
    padding: 0.8rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-fast);
    align-self: flex-start;
    margin-bottom: 1.5rem;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-termos:hover {
    background: var(--accent-secondary);
    color: #fff;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 20px; height: 20px;
    accent-color: var(--accent-primary);
}

.checkbox-wrapper label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-submit {
    margin-top: 2rem;
    text-align: center;
}

.btn-submit {
    width: 100%;
    font-size: 1.2rem;
    padding: 1.5rem;
}

.submit-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Modal
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-dark);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.sharp-box {
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    border: 1px solid rgba(255,255,255,0.1);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #fff;
}

.close-modal {
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
}

.close-modal:hover {
    color: #fff;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.modal-body h4 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.modal-body ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: right;
}

.scroll-instruction {
    text-align: center;
    color: var(--accent-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .layout-split {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .argumentos-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .gratuito-badge {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .form-wrapper {
        padding: 2rem;
    }
}
