/* ========================================
   SUBLIMAÇÃO + IA - MODERN DARK THEME
   ======================================== */

:root {
    --primary-blue: #00d2ff;
    --primary-purple: #7a28cb;
    --accent-orange: #ff6b6b;
    --dark-bg: #0f0f13;
    --card-bg: rgba(25, 25, 30, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --white: #ffffff;
    --gradient-hero: linear-gradient(135deg, #0f0f13 0%, #1a1025 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), #3a7bd5);
    --gradient-accent: linear-gradient(135deg, var(--accent-orange), #ff4757);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--text-primary);
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   UTILITIES
   ======================================== */
.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-accent);
    color: var(--text-primary);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    color: var(--text-primary);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 210, 255, 0.1);
    transform: translateY(-3px);
}

/* ========================================
   HEADER
   ======================================== */
header {
    background: rgba(15, 15, 19, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.cta-button {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* Grid Animado */
.hero::before {
    content: '';
    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: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    animation: gridMove 20s linear infinite;
    z-index: 0;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* ========================================
   DO ZERO SECTION
   ======================================== */
.do-zero {
    padding: 60px 0;
    background: #15151a;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.do-zero-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.do-zero-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.do-zero-item i {
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.do-zero-item span {
    font-weight: 600;
    color: var(--text-primary);
}

/* ========================================
   METODOLOGIA (FEATURES)
   ======================================== */
.features {
    padding: 100px 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 210, 255, 0.3);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* ========================================
   IA SECTION
   ======================================== */
.ai-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0f0f13 0%, #171020 100%);
    position: relative;
}

.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ai-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.ai-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.ai-list {
    list-style: none;
    margin-bottom: 2rem;
}

.ai-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1rem;
}

.ai-list li i {
    color: var(--primary-purple);
    font-size: 1.2rem;
    margin-top: 5px;
}

.ai-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(122, 40, 203, 0.2);
    border: 1px solid rgba(122, 40, 203, 0.3);
}

/* ========================================
   AI GALLERY (CAROUSEL)
   ======================================== */
.ai-gallery {
    padding: 80px 0 100px;
    background: #171020;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px 20px 80px 20px;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 19, 0.9);
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(5px);
    border-top: 1px solid var(--border-color);
}

.carousel-caption h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 210, 255, 0.2);
    color: var(--primary-blue);
    border: 1px solid rgba(0, 210, 255, 0.4);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.carousel-btn:hover {
    background: var(--primary-blue);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev { left: 20px; }
.carousel-btn-next { right: 20px; }

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.indicator {
    width: 30px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-blue);
    width: 50px;
}

/* ========================================
   BONUS SECTION
   ======================================== */
.bonus-section {
    padding: 100px 0;
    background: var(--dark-bg);
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.bonus-card {
    background: linear-gradient(145deg, #1a1a24, #121218);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.bonus-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-orange);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.1);
}

.bonus-icon {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
}

/* ========================================
   PROFESSOR SECTION
   ======================================== */
.professor-section {
    padding: 100px 0;
    background: #15151a;
}

.professor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.professor-image {
    position: relative;
}

.professor-image img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.professor-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-blue);
    border-radius: 20px;
    z-index: -1;
}

.professor-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.professor-content .tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary-blue);
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.timeline {
    margin-bottom: 2rem;
}

.timeline-item {
    padding-left: 20px;
    border-left: 2px solid var(--primary-blue);
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-blue);
}

.timeline-item strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 5px;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
    padding: 100px 0;
    background: var(--dark-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: 100px 0;
    background: #15151a;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-icon {
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 300px; /* Suficiente para o texto */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ========================================
   FINAL CTA
   ======================================== */
.cta-final {
    padding: 100px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-final p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-final .btn-primary {
    background: #ffffff;
    color: #3a7bd5;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-final .btn-primary:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .ai-grid, .professor-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .professor-image::after { display: none; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn-primary, .hero-buttons .btn-secondary { width: 100%; }
    .section-title { font-size: 2rem; }
}

/* ========================================
   ANIMATIONS & OTHERS
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
