/* ==========================================================================
   CSS Stylesheet for Macoratti Promotional Landing Page (V5 - Soft Yellow Gradient)
   File: css/styles_cursos.css
   ========================================================================== */

:root {
    --primary-color: #0d6efd;
    --primary-dark: #0b5ed7;
    --accent-color: #00d2ff;
    --orange-net: #e65100;
    --ai-accent: #8a2be2;
    --ai-gradient: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --dark-bg: #0b1329;
    --dark-card: #1e293b;
    --light-bg: #ffffff;
    --text-color: #334155;
    --text-muted: #64748b;
    --heading-color: #0f172a;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --radius: 16px;
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
}

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

/* Typography */
h1, h2, h3, h4 {
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.25;
}

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

/* LOGO STYLING */
.logo-brand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 1.45rem;
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.logo-m-box {
    background: #1d52bc;
    color: #ffffff;
    font-weight: 900;
    font-size: 1.25rem;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 2px;
}

.logo-text-bold {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-net-orange {
    color: #f95700;
    font-weight: 800;
}

.logo-ensino-italic {
    color: #94a3b8;
    font-style: italic;
    font-weight: 300;
    margin-left: 6px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.35);
}

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

.btn-header {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-header:hover {
    background-color: var(--white);
    color: var(--dark-bg);
}

.btn-cta {
    background: linear-gradient(135deg, #0d6efd, #00d2ff);
    color: var(--white);
    width: 100%;
    padding: 18px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.25);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

.btn-cta-ai {
    background: var(--ai-gradient);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.25);
}

.btn-cta-ai:hover {
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(11, 19, 41, 0.96);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    position: relative;
    background: radial-gradient(circle at top right, #1e293b, #0b1329);
    color: var(--white);
    padding: 100px 0 85px;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 880px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(0, 210, 255, 0.2);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #94a3b8;
    margin-bottom: 32px;
}

.hero-subtitle strong {
    color: var(--white);
}

.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.highlight-item {
    font-size: 0.95rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.highlight-item i {
    color: var(--accent-color);
}

/* --- SECTION COURSES (SOFT WARM YELLOW TO WHITE GRADIENT) --- */
.section-courses {
    background: linear-gradient(180deg, #fefce8 0%, #fffbeb 40%, #ffffff 100%);
    padding: 85px 0 90px;
    color: var(--text-color);
    border-top: 1px solid #fef08a;
    border-bottom: 1px solid var(--border-color);
}

.section-courses .section-title h2 {
    color: #0f172a;
    font-size: 2.3rem;
    margin-bottom: 12px;
}

.section-courses .section-title p {
    color: #475569;
    font-size: 1.1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

/* Course Card (Clean White Floating Box) */
.course-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid #fef08a;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    padding: 32px;
    color: var(--text-color);
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.course-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(13, 110, 253, 0.08);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.badge-ai {
    background: rgba(138, 43, 226, 0.08);
    color: var(--ai-accent);
}

.course-card-inner {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 36px;
    align-items: start;
}

.course-image-wrapper {
    width: 100%;
}

.course-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.course-details {
    display: flex;
    flex-direction: column;
}

.course-title {
    font-size: 1.8rem;
    margin-bottom: 6px;
    color: var(--heading-color);
    padding-right: 180px;
}

.course-subtitle {
    font-size: 1.05rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 16px;
}

.course-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* Tabs */
.tabs-container {
    margin-bottom: 24px;
}

.tab-buttons {
    display: flex;
    gap: 12px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.learn-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.learn-list li {
    font-size: 0.875rem;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.learn-list li i {
    color: #10b981;
    margin-top: 3px;
    flex-shrink: 0;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefits-list li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-list li i {
    color: var(--primary-color);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-bg);
}

/* Course Meta Pills */
.course-meta-pills {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.course-meta-pills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
}

/* Course CTA Only Container */
.course-cta-only {
    margin-top: 8px;
    width: 100%;
}

/* Instructor Section */
.section-instructor {
    background-color: var(--white);
    padding: 90px 0;
    border-bottom: 1px solid var(--border-color);
}

.instructor-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: center;
}

.instructor-img-box {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 0 auto;
}

.instructor-img-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
    outline: 2px solid var(--border-color);
}

.instructor-badge-mvp {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--dark-bg);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.instructor-badge-mvp i {
    color: #f59e0b;
    font-size: 1.3rem;
}

.instructor-badge-mvp span {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.1;
}

.sub-heading {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.instructor-info h2 {
    font-size: 2.2rem;
    margin: 8px 0 16px;
}

.instructor-bio {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.instructor-quote {
    border-left: 4px solid var(--primary-color);
    padding-left: 16px;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.instructor-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

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

/* FAQ Section */
.section-faq {
    padding: 90px 0;
    background-color: #fafafa;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--heading-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 20px 20px 20px;
    display: none;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: #94a3b8;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand p {
    margin-top: 12px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .course-card-inner {
        grid-template-columns: 1fr;
    }

    .course-title {
        padding-right: 0;
    }

    .instructor-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .instructor-quote {
        border-left: none;
        border-top: 2px solid var(--primary-color);
        padding-left: 0;
        padding-top: 12px;
    }

    .instructor-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .learn-list {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }
}
