/*
Theme Name: Instituto Ives Gandra Completo 19
Theme URI: https://institutoivesgandra.com.br
Author: Instituto Ives Gandra
Description: Tema oficial do Instituto Ives Gandra - Versão 19.2.0 (Correção Texto Parcerias)
Version: 19.2.0
Text Domain: instituto-ives-gandra
*/

/* ===== FONTS ===== */
@font-face {
    font-family: 'Playfair Display';
    src: url('./assets/fonts/playfair-display-normal-var.woff2') format('woff2');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('./assets/fonts/playfair-display-italic-var.woff2') format('woff2');
    font-weight: 400 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url('./assets/fonts/source-sans-3-normal-var.woff2') format('woff2');
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url('./assets/fonts/source-sans-3-italic-400.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* ===== CSS VARIABLES - CORES EXATAS DO REACT ===== */
:root {
    /* Navy Colors - Exatas do React */
    --navy-dark: hsl(222, 55%, 9%);
    --navy-light: hsl(224, 54%, 11%);
    
    /* Gold Colors - Exatas do React */
    --gold-light: hsl(45, 50%, 75%);
    --gold-medium: hsl(42, 40%, 55%);
    
    /* Other Colors */
    --white: #FFFFFF;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-80: rgba(255, 255, 255, 0.8);
    --white-60: rgba(255, 255, 255, 0.6);
    --off-white: hsl(0, 0%, 98%);
    --gray-light: hsl(0, 0%, 88%);
    --gray-dark: hsl(0, 0%, 20%);
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --container-max: 1280px;
    --section-padding: 80px;
    --header-height: 80px;
    
    /* Shadows */
    --shadow-elegant: 0 20px 60px -15px hsla(222, 55%, 9%, 0.3);
    --shadow-card: 0 10px 40px -10px hsla(222, 55%, 9%, 0.15);
    --shadow-gold: 0 10px 40px -10px hsla(45, 50%, 75%, 0.3);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--navy-dark);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 48px;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary-gold {
    background: var(--gold-light);
    color: var(--navy-dark);
    box-shadow: var(--shadow-gold);
}

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

.btn-outline-gold {
    background: transparent;
    color: var(--gold-light);
    border: 2px solid var(--gold-light);
}

.btn-outline-gold:hover {
    background: var(--gold-light);
    color: var(--navy-dark);
}

/* ===== SITE HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: hsla(222, 55%, 9%, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid hsla(45, 50%, 75%, 0.1);
    height: var(--header-height);
}

.site-header .container {
    height: 100%;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 32px;
}

.site-logo img {
    height: 48px;
    width: auto;
}

/* Logo branca no header */
.site-logo img.logo-white {
    filter: brightness(0) invert(1);
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-navigation a {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white-80);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-light);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 100%;
}

.main-navigation a:hover {
    color: var(--gold-light);
}

.header-cta {
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* Mobile Navigation */
@media (max-width: 1024px) {
    .main-navigation {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--navy-dark);
        padding: 24px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid hsla(45, 50%, 75%, 0.2);
    }

    .main-navigation.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 16px;
    }

    .main-navigation a {
        font-size: 1rem;
        display: block;
        padding: 12px 0;
    }

    .menu-toggle {
        display: block;
    }

    .header-cta {
        display: none;
    }
}

/* ===== HERO SECTION - ALTURA REDUZIDA 10% (de 130vh para 117vh), CONTEÚDO CENTRALIZADO ===== */
.hero-section {
    position: relative;
    min-height: 117vh; /* Reduzido 10% de 130vh */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-dark);
    overflow: hidden;
}

/* Background Pattern */
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle at 2px 2px, var(--gold-light) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 10;
    padding-top: 180px; /* Mais espaço superior para centralizar melhor */
    padding-bottom: 120px; /* Mais espaço inferior para balancear */
}

.hero-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: center;
}

/* Hero Left - Video */
.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-card {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid var(--gold-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: var(--navy-light);
}

.video-container img,
.video-container video,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* YouTube iframe específico */
.video-container iframe {
    border: none;
}

/* ===== HERO YOUTUBE (PLACEHOLDER + DELAY) - IGUAL AO PREVIEW REACT ===== */
.hero-youtube {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-youtube-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.hero-youtube-loader {
    width: 80px;
    height: 80px;
    border-radius: 9999px;
    background: hsla(45, 50%, 75%, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: hero-pulse 1.4s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-youtube-spinner {
    width: 16px;
    height: 16px;
    border-radius: 9999px;
    border: 2px solid var(--navy-dark);
    border-top-color: transparent;
    animation: hero-spin 0.9s linear infinite;
}

@keyframes hero-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes hero-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.95;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

/* Play Button com Pulse - Idêntico ao React */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 24px hsla(45, 50%, 75%, 0.4);
    z-index: 10;
}

.video-play-button:hover {
    background: var(--gold-medium);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 32px hsla(45, 50%, 75%, 0.6);
}

.video-play-button svg {
    width: 32px;
    height: 32px;
    fill: var(--navy-dark);
    margin-left: 4px;
}

/* Pulse Ring Animation */
.play-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    border: 2px solid var(--gold-light);
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
    pointer-events: none;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

/* Hero Right - Content */
.hero-right {
    text-align: left;
}

/* Logos Mobile (fora do grid) - escondido no desktop */
.hero-logos-mobile {
    display: none;
}

/* Logos Desktop (dentro do hero-right) */
.hero-logos,
.hero-logos-desktop {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.hero-logos .logo-fac,
.hero-logos-mobile .logo-fac {
    height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.hero-logos .logo-divider,
.hero-logos-mobile .logo-divider {
    width: 1px;
    height: 48px;
    background: hsla(45, 50%, 75%, 0.3);
}

.hero-logos .logo-ives,
.hero-logos-mobile .logo-ives {
    height: 48px;
    object-fit: contain;
}

/* Hero Title - TEXTO 10% MENOR */
.hero-title {
    font-family: var(--font-display);
    font-size: 3.15rem; /* 3.5rem - 10% */
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-title .gold {
    color: var(--gold-light);
}

/* Hero Subtitle - 10% MENOR */
.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.24rem; /* 1.375rem - 10% */
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 24px;
}

.hero-subtitle.gold {
    color: var(--gold-light);
}

/* Hero Description - 10% MENOR */
.hero-description {
    font-family: var(--font-body);
    font-size: 0.9rem; /* 1rem - 10% */
    line-height: 1.7;
    color: var(--white-80);
    margin-bottom: 32px;
    max-width: 560px;
}

/* Hero Actions - BOTÕES 10% MENORES */
.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-actions .btn {
    font-size: 0.84rem; /* 10% menor */
    padding: 14px 28px; /* 10% menor */
}

/* Hero Info - 10% MENOR */
.hero-info {
    font-family: var(--font-body);
    font-size: 0.79rem; /* 0.875rem - 10% */
    color: var(--white-60);
}

/* Mobile Hero */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding-top: calc(var(--header-height) + 24px);
    }
    
    .hero-section .container {
        padding-top: 20px;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 2rem; /* Mobile: menor proporcionalmente */
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions .btn {
        font-size: 0.8rem;
        padding: 12px 24px;
    }
    
    .hero-logos-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .hero-logos-mobile .logo-fac {
        height: 38px;
    }
    
    .hero-logos-mobile .logo-divider {
        height: 28px;
    }
    
    .hero-logos-mobile .logo-ives {
        height: 22px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-left {
        order: 1;
        width: 100%;
        align-items: stretch;
    }
    
    .hero-right {
        order: 2;
        text-align: center;
    }
    
    .hero-logos-desktop {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-description {
        font-size: 0.9375rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .video-card {
        max-width: 100%;
    }
    
    .video-play-button {
        width: 60px;
        height: 60px;
    }
    
    .video-play-button svg {
        width: 24px;
        height: 24px;
    }
    
    .play-pulse {
        width: 90px;
        height: 90px;
    }
}

/* ===== PILLARS SECTION ===== */
.pillars-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.pillars-header {
    text-align: center;
    margin-bottom: 48px;
}

.pillars-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 16px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pillar-card {
    background: #f8f4ed;
    padding: 32px;
    border-radius: 8px;
    border-left: 4px solid var(--gold-medium);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elegant);
}

.pillar-icon {
    width: 56px;
    height: 56px;
    background: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.pillar-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--navy-dark);
    fill: none;
    stroke-width: 2;
}

.pillar-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.pillar-card p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-dark);
}

@media (max-width: 768px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .pillars-title {
        font-size: 1.75rem;
    }
}

/* ===== INSTITUTIONAL SECTION ===== */
.institutional-section {
    padding: var(--section-padding) 0;
    background: var(--navy-dark);
}

.institutional-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.institutional-card {
    background: var(--navy-light);
    padding: 48px;
    border-radius: 12px;
    border: 1px solid hsla(45, 50%, 75%, 0.1);
}

.institutional-logo {
    margin-bottom: 24px;
}

.institutional-logo img {
    height: 60px;
    object-fit: contain;
}

.institutional-logo img.logo-fac-white {
    filter: brightness(0) invert(1);
}

.institutional-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 24px;
    line-height: 1.3;
}

.institutional-content p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--white-80);
    margin-bottom: 16px;
}

.institutional-quote {
    margin-top: 24px;
    padding: 24px;
    background: hsla(45, 50%, 75%, 0.05);
    border-left: 3px solid var(--gold-light);
    border-radius: 0 8px 8px 0;
}

.institutional-quote p {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--white);
    margin-bottom: 8px;
}

.institutional-quote cite {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--gold-light);
    font-style: normal;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.stat-item {
    text-align: center;
    padding: 16px;
    background: hsla(45, 50%, 75%, 0.05);
    border-radius: 8px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
    display: block;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--white-60);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .institutional-grid {
        grid-template-columns: 1fr;
    }
    
    .institutional-card {
        padding: 32px 24px;
    }
}

/* ===== WHY CHOOSE SECTION ===== */
.why-choose-section {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.why-choose-header {
    text-align: center;
    margin-bottom: 48px;
}

.why-choose-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-dark);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.why-choose-card {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.why-choose-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elegant);
}

.why-choose-icon {
    width: 64px;
    height: 64px;
    background: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.why-choose-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--navy-dark);
    fill: none;
    stroke-width: 1.5;
}

.why-choose-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.why-choose-card p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-dark);
}

@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-title {
        font-size: 1.75rem;
    }
}

/* ===== COURSES SECTION ===== */
.courses-section {
    padding: var(--section-padding) 0;
    background: var(--navy-dark);
}

.courses-header {
    text-align: center;
    margin-bottom: 48px;
}

.courses-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.courses-subtitle {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--gold-light);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.course-card {
    background: var(--navy-light);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid hsla(45, 50%, 75%, 0.1);
    transition: all 0.3s ease;
}

.course-card:hover {
    border-color: var(--gold-light);
    box-shadow: 0 0 30px hsla(45, 50%, 75%, 0.1);
}

.course-number {
    width: 48px;
    height: 48px;
    background: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 24px;
}

.course-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.3;
}

.course-description {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--white-80);
    margin-bottom: 24px;
}

.course-progress {
    margin-bottom: 24px;
}

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

.progress-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white-60);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 70px;
    flex-shrink: 0;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: hsla(0, 0%, 100%, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-fill.progress-white {
    background: var(--white);
}

.progress-fill.progress-gold {
    background: var(--gold-light);
}

.progress-fill.progress-gray {
    background: var(--gray-light);
}

.progress-value {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    width: 40px;
    text-align: right;
}

.course-topics {
    margin-bottom: 24px;
    padding: 16px;
    background: hsla(0, 0%, 100%, 0.03);
    border-radius: 8px;
}

.course-topics p {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--white-60);
    margin-bottom: 8px;
}

.course-topics p:last-child {
    margin-bottom: 0;
}

.course-topics strong {
    color: var(--gold-light);
}

.course-btn {
    width: 100%;
    background: transparent;
    color: var(--gold-light);
    border: 1px solid var(--gold-light);
    padding: 14px 24px;
    font-size: 0.875rem;
}

.course-btn:hover {
    background: var(--gold-light);
    color: var(--navy-dark);
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-title {
        font-size: 1.75rem;
    }
}

/* ===== GRADES SECTION (Curriculum Tabs) ===== */
.grades-section {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.grades-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--gray-dark);
}

.grades-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.grades-tab {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--navy-dark);
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.grades-tab:hover,
.grades-tab.active {
    background: var(--navy-dark);
    color: var(--white);
}

.grades-contents {
    position: relative;
}

.grades-content {
    display: none;
}

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

.grades-content-inner {
    background: var(--white);
    padding: 48px;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

.grades-course-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 8px;
}

.grades-course-info {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--gray-dark);
    margin-bottom: 32px;
}

.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.discipline-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--off-white);
    border-radius: 8px;
    border-left: 3px solid var(--gold-medium);
}

.discipline-number {
    width: 32px;
    height: 32px;
    background: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy-dark);
    flex-shrink: 0;
}

.discipline-content h4 {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 4px;
}

.discipline-content p {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--gray-dark);
    margin-bottom: 8px;
}

.discipline-hours {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-medium);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .disciplines-grid {
        grid-template-columns: 1fr;
    }
    
    .grades-content-inner {
        padding: 24px;
    }
    
    .grades-tabs {
        gap: 8px;
    }
    
    .grades-tab {
        padding: 10px 16px;
        font-size: 0.75rem;
    }
}

/* ===== DISTRIBUTION SECTION (Seção 7) ===== */
.distribution-section {
    padding: var(--section-padding) 0;
    background: var(--navy-dark);
}

.distribution-header {
    text-align: center;
    margin-bottom: 48px;
}

.distribution-header .section-title {
    color: var(--white);
}

.distribution-header .section-subtitle {
    color: var(--white-60);
}

/* Desktop Chart */
.chart-desktop {
    display: block;
}

.chart-wrapper {
    background: var(--navy-light);
    padding: 48px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.chart-grid {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 320px;
    gap: 24px;
}

.chart-bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 120px;
}

.chart-bars {
    display: flex;
    gap: 4px;
    height: 250px;
    align-items: flex-end;
    margin-bottom: 16px;
}

.chart-bar {
    width: 28px;
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease;
}

.chart-bar.direito {
    background: var(--white);
}

.chart-bar.economia {
    background: var(--gold-light);
}

.chart-bar.filosofia {
    background: var(--gray-light);
}

.chart-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--white-60);
    text-align: center;
    max-width: 100px;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-color.direito {
    background: var(--white);
}

.legend-color.economia {
    background: var(--gold-light);
}

.legend-color.filosofia {
    background: var(--gray-light);
}

.legend-item span {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--white-80);
}

/* Mobile Chart */
.chart-mobile {
    display: none;
}

.mobile-subtitle {
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--white-60);
    margin-bottom: 24px;
}

.course-selector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.course-selector-btn {
    padding: 14px 16px;
    background: var(--navy-light);
    border: 1px solid hsla(45, 50%, 75%, 0.2);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--white-80);
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-selector-btn:hover,
.course-selector-btn.active {
    background: var(--gold-light);
    color: var(--navy-dark);
    border-color: var(--gold-light);
}

.distribution-card {
    background: var(--navy-light);
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.distribution-card-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    text-align: center;
}

.progress-row {
    margin-bottom: 20px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.progress-bar-container {
    height: 12px;
    background: hsla(0, 0%, 100%, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease;
}

.progress-bar-fill.direito {
    background: var(--white);
}

.progress-bar-fill.economia {
    background: var(--gold-light);
}

.progress-bar-fill.filosofia {
    background: var(--gray-light);
}

.chart-legend-mobile {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.direito {
    background: var(--white);
}

.legend-dot.economia {
    background: var(--gold-light);
}

.legend-dot.filosofia {
    background: var(--gray-light);
}

.distribution-text {
    text-align: center;
    max-width: 800px;
    margin: 48px auto 0;
}

.distribution-text p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--white-80);
    margin-bottom: 16px;
}

.distribution-text .highlight-text {
    color: var(--gold-light);
    font-style: italic;
}

@media (max-width: 768px) {
    .chart-desktop {
        display: none;
    }
    
    .chart-mobile {
        display: block;
    }
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works-section {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.how-it-works-header {
    text-align: center;
    margin-bottom: 48px;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.how-it-works-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

.hiw-icon {
    width: 56px;
    height: 56px;
    background: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.hiw-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--navy-dark);
}

.how-it-works-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 20px;
}

.hiw-list {
    list-style: none;
}

.hiw-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
}

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

.hiw-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hiw-value {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy-dark);
    text-align: right;
}

@media (max-width: 768px) {
    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== COORDINATION SECTION ===== */
.coordination-section {
    padding: var(--section-padding) 0;
    background: var(--navy-dark);
}

.coordination-header {
    text-align: center;
    margin-bottom: 48px;
}

.coordination-header .section-title {
    color: var(--white);
}

.coordination-header .section-subtitle {
    color: var(--gold-light);
}

.coordinators-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.coordinator-card {
    background: var(--navy-light);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid hsla(45, 50%, 75%, 0.1);
}

.coordinator-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.coordinator-role {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--gold-light);
    margin-bottom: 16px;
}

.coordinator-bio {
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--white-80);
    margin-bottom: 16px;
}

.coordinator-areas {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--white-60);
}

.areas-label {
    display: block;
    margin-bottom: 8px;
}

.areas-tags a {
    color: var(--gold-light);
}

.areas-tags a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .coordinators-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PROFESSOR SECTION ===== */
.professor-section {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.professor-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: center;
}

.professor-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: var(--shadow-elegant);
}

.professor-name {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 8px;
}

.professor-title {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--gold-medium);
    margin-bottom: 24px;
}

.professor-bio p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-dark);
    margin-bottom: 16px;
}

.professor-achievements {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-light);
}

.achievement {
    text-align: center;
}

.achievement-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-medium);
    display: block;
}

.achievement-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .professor-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .professor-image {
        order: -1;
    }
    
    .professor-image img {
        margin: 0 auto;
    }
    
    .professor-name {
        font-size: 1.75rem;
    }
    
    .professor-achievements {
        justify-content: center;
    }
}

/* ===== FAC SECTION ===== */
.fac-section {
    padding: var(--section-padding) 0;
    background: var(--navy-dark);
}

.fac-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}

.fac-content {
    padding-right: 32px;
}

.fac-logo {
    margin-bottom: 24px;
}

.fac-logo img {
    height: 80px;
    filter: brightness(0) invert(1);
}

.fac-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.3;
}

.fac-description p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--white-80);
    margin-bottom: 16px;
}

.fac-highlights {
    margin-top: 32px;
}

.fac-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.fac-highlights svg {
    width: 20px;
    height: 20px;
    stroke: var(--gold-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.fac-highlights span {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--white-80);
}

.fac-highlights strong {
    color: var(--gold-light);
}

.fac-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.fac-stat-card {
    background: var(--navy-light);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid hsla(45, 50%, 75%, 0.1);
}

.fac-stat-card .stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.fac-stat-card .stat-unit {
    font-size: 0.875rem;
    margin-left: 4px;
}

.fac-stat-card .stat-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--white-60);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

@media (max-width: 768px) {
    .fac-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .fac-content {
        padding-right: 0;
    }
}

/* ===== METHODOLOGY WORKERS SECTION ===== */
.methodology-workers-section {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.workers-header {
    text-align: center;
    margin-bottom: 48px;
}

.workers-header .section-subtitle {
    max-width: 700px;
    margin: 0 auto;
}

.workers-list {
    max-width: 800px;
    margin: 0 auto;
}

.worker-item {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-card);
}

.worker-arrow {
    color: var(--gold-medium);
    font-size: 1.25rem;
    font-weight: 700;
}

.worker-text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--navy-dark);
}

/* ===== INVESTMENT SECTION ===== */
.investment-section {
    padding: var(--section-padding) 0;
    background: var(--navy-dark);
}

.investment-header {
    text-align: center;
    margin-bottom: 48px;
}

.investment-header .section-title {
    color: var(--white);
}

.investment-header .section-subtitle {
    color: var(--white-60);
}

.investment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto 48px;
}

.investment-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid hsla(45, 50%, 75%, 0.3);
    position: relative;
    box-shadow: var(--shadow-card);
}

.investment-card.scholarship {
    border-color: var(--gold-medium);
    border-width: 2px;
}

.investment-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--navy-dark);
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.investment-badge.gold {
    background: var(--gold-medium);
    color: var(--navy-dark);
}

.investment-price {
    margin-bottom: 16px;
}

.price-main {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--navy-dark);
}

.price-main.scholarship {
    color: var(--gold-medium);
}

.price-cents {
    font-size: 1.5rem;
}

.price-installment {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gray-dark);
    margin-top: 8px;
}

.investment-description {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-dark);
    margin-bottom: 24px;
}

.btn-investment-primary {
    display: block;
    width: 100%;
    padding: 16px 32px;
    background: var(--gold-light);
    color: var(--navy-dark);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.btn-investment-primary:hover {
    background: var(--gold-medium);
    transform: translateY(-2px);
}

.btn-investment-outline {
    display: block;
    width: 100%;
    padding: 16px 32px;
    background: transparent;
    color: var(--gold-light);
    border: 2px solid var(--gold-light);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.btn-investment-outline:hover {
    background: var(--gold-light);
    color: var(--navy-dark);
}

.investment-info {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--gray-dark);
}

/* Partnership Text Box - Substitui logos */
.partnership-text-box {
    background: rgba(248, 244, 237, 0.5);
    border: 1px solid rgba(196, 164, 105, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.partnership-text-main {
    text-align: center;
    color: #080d25 !important;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.partnership-text-highlight {
    text-align: center;
    color: #bfa05a !important;
    font-size: 14px;
    font-weight: 600;
}

/* Legacy Scholarship Logos - mantido para compatibilidade */
.scholarship-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.scholarship-logos img {
    height: 40px;
    object-fit: contain;
}

.scholarship-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.btn-scholarship {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--navy-dark);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--white);
    transition: all 0.3s ease;
}

.btn-scholarship img {
    height: 20px;
    filter: brightness(0) invert(1);
}

.btn-scholarship:hover {
    background: var(--navy-light);
}

.payment-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    background: var(--navy-light);
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.payment-icon {
    font-size: 2rem;
}

.payment-content {
    text-align: left;
}

.payment-content strong {
    display: block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--gold-light);
    margin-bottom: 4px;
}

.payment-content span {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--white-60);
}

@media (max-width: 768px) {
    .investment-grid {
        grid-template-columns: 1fr;
    }
    
    .investment-card {
        padding: 32px 24px;
    }
    
    .price-main {
        font-size: 2.5rem;
    }
}

/* ===== LEGACY VIDEOS SECTION (7 EPISÓDIOS) - COM PLAY CUSTOMIZADO ===== */
.legacy-videos-section {
    padding: 80px 0 100px;
    background: var(--navy-dark);
}

.legacy-videos-header {
    text-align: center;
    margin-bottom: 64px;
}

.legacy-videos-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .legacy-videos-header h2 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .legacy-videos-header h2 {
        font-size: 3.5rem;
    }
}

.legacy-videos-header p {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--white-80);
    max-width: 800px;
    margin: 0 auto;
}

/* Featured Video Card */
.featured-video-card {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 48px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid hsla(45, 50%, 75%, 0.2);
    cursor: pointer;
}

.featured-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background: var(--navy-light);
}

/* Video Placeholder (thumbnail) */
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 2;
}

/* Iframe container (hidden until play) */
.video-iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 3;
}

.video-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Play Button - Centered (Featured) */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border: none;
    box-shadow: 0 8px 32px hsla(45, 50%, 75%, 0.4);
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background: var(--gold-medium);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 40px hsla(45, 50%, 75%, 0.6);
}

.video-play-btn svg {
    width: 32px;
    height: 32px;
    fill: var(--navy-dark);
    margin-left: 4px;
}

@media (max-width: 768px) {
    .video-play-btn {
        width: 56px;
        height: 56px;
    }
    
    .video-play-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* Featured Video Overlay (text) */
.featured-video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, var(--navy-dark) 0%, rgba(8, 13, 37, 0.8) 60%, transparent 100%);
    pointer-events: none;
    z-index: 5;
}

.video-badge {
    display: inline-block;
    background: var(--gold-light);
    color: var(--navy-dark);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.featured-video-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .featured-video-overlay h3 {
        font-size: 1.75rem;
    }
}

.featured-video-overlay p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--white-80);
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (min-width: 1024px) {
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Grid Video Card */
.video-grid-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid hsla(45, 50%, 75%, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-grid-card:hover {
    border-color: hsla(45, 50%, 75%, 0.3);
    transform: translateY(-4px);
}

.video-grid-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background: var(--navy-light);
}

/* Play Button - Corner (Grid) */
.video-play-btn-corner {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
    background: hsla(45, 50%, 75%, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.video-play-btn-corner:hover {
    background: var(--gold-light);
    transform: scale(1.1);
}

.video-play-btn-corner svg {
    width: 20px;
    height: 20px;
    fill: var(--navy-dark);
    margin-left: 2px;
}

@media (max-width: 768px) {
    .video-play-btn-corner {
        width: 40px;
        height: 40px;
    }
    
    .video-play-btn-corner svg {
        width: 16px;
        height: 16px;
    }
}

/* Grid Video Overlay (text) */
.video-grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, var(--navy-dark) 0%, rgba(8, 13, 37, 0.8) 60%, transparent 100%);
    pointer-events: none;
    z-index: 5;
}

.video-episode {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.video-grid-overlay h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
    line-height: 1.3;
}

.video-grid-overlay p {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--white-60);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== TRANSITION SECTION ===== */
.transition-section-navy {
    padding: 60px 0;
    background: var(--navy-light);
    text-align: center;
}

.transition-content-navy h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.transition-content-navy p {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--gold-light);
}

/* ===== FREE COURSE SECTION ===== */
.free-course-section-new {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.free-course-header-new {
    text-align: center;
    margin-bottom: 48px;
}

.free-course-header-new h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 16px;
}

.free-course-subtitle {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--gray-dark);
}

.free-course-intro {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.free-course-intro p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-dark);
}

.free-course-modules {
    margin-bottom: 48px;
}

.modules-title {
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.module-card {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-card);
    border-top: 4px solid var(--gold-medium);
}

.module-number {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.module-title {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 16px;
}

.module-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.module-items span {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--gray-dark);
}

.free-course-contents {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.content-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.content-icon {
    width: 64px;
    height: 64px;
    background: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.content-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--navy-dark);
}

.content-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.content-card p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-dark);
    margin-bottom: 16px;
}

.content-details {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--gold-medium);
}

.free-course-calendar {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 32px;
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 24px;
}

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

.calendar-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--gray-dark);
    margin-bottom: 8px;
}

.calendar-value {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-dark);
}

.free-course-certification {
    text-align: center;
}

.certification-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gold-light);
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy-dark);
}

.certification-badge svg {
    stroke: var(--navy-dark);
}

@media (max-width: 768px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .free-course-contents {
        grid-template-columns: 1fr;
    }
    
    .free-course-calendar {
        flex-direction: column;
        gap: 24px;
    }
}

/* ===== FREE COURSE INVESTMENT ===== */
.free-course-investment-section {
    padding: var(--section-padding) 0;
    background: var(--navy-dark);
}

.free-investment-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 48px;
}

.free-investment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.free-investment-card {
    background: var(--navy-light);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid hsla(45, 50%, 75%, 0.1);
}

.free-investment-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.price-multiplier {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white-60);
}

.price-currency {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.price-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
}

.free-investment-price.convenio .price-value {
    color: var(--gold-light);
}

.free-investment-total {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--white-60);
    margin-bottom: 16px;
}

.free-investment-total.gold {
    color: var(--gold-light);
}

.free-investment-desc {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--white-80);
    margin-bottom: 24px;
}

.btn-full {
    width: 100%;
}

@media (max-width: 768px) {
    .free-investment-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CONTACT SECTION ===== */
.contact-section-new {
    background: var(--navy-dark);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contact-form-side {
    background: var(--off-white);
    padding: 80px 64px;
}

.contact-form-container {
    max-width: 480px;
    margin: 0 auto;
}

.contact-form-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 16px;
}

.contact-form-subtitle {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--gray-dark);
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-form-new {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy-dark);
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--navy-dark);
    transition: all 0.3s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--gold-medium);
    box-shadow: 0 0 0 3px hsla(42, 40%, 55%, 0.1);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--gold-medium);
}

.form-checkbox label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--gray-dark);
}

.btn-submit-gold {
    padding: 16px 32px;
    background: var(--gold-light);
    color: var(--navy-dark);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-gold:hover {
    background: var(--gold-medium);
    transform: translateY(-2px);
}

.contact-info-side {
    background: var(--navy-dark);
    padding: 80px 64px;
}

.contact-info-container {
    max-width: 480px;
}

.contact-info-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 32px;
}

.contact-methods-new {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.contact-method-item {
    display: flex;
    gap: 16px;
}

.method-icon {
    width: 48px;
    height: 48px;
    background: hsla(45, 50%, 75%, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--gold-light);
}

.method-details strong {
    display: block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.method-value {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gold-light);
}

.method-note {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--white-60);
    margin-top: 4px;
}

.faq-section {
    padding-top: 32px;
    border-top: 1px solid hsla(45, 50%, 75%, 0.1);
}

.faq-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--navy-light);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    stroke: var(--gold-light);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 20px 16px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--white-80);
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-form-side,
    .contact-info-side {
        padding: 48px 24px;
    }
}

/* ===== CONTACT SECTION NEW - SEM FORMULÁRIO ===== */
.contact-section-new {
    background: var(--navy-dark);
    padding: 80px 0;
}

.contact-header-centered {
    text-align: center;
    margin-bottom: 48px;
}

.contact-header-centered h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.contact-header-centered p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--white-90);
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info-card,
.faq-card {
    background: hsla(0, 0%, 100%, 0.05);
    border-radius: 16px;
    padding: 32px;
}

.contact-info-card h3,
.faq-card h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.contact-methods-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-method-link,
.contact-method-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.contact-method-link:hover {
    background: hsla(0, 0%, 100%, 0.05);
}

.contact-methods-list .method-icon {
    width: 40px;
    height: 40px;
    background: hsla(45, 50%, 75%, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-methods-list .method-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--gold-light);
}

.contact-methods-list .method-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-methods-list .method-details strong {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
}

.contact-methods-list .method-value {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--white-90);
}

.contact-methods-list .method-note {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--white-60);
}

.contact-methods-list .method-cta {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--gold-light);
    text-decoration: underline;
    margin-top: 4px;
}

.btn-full {
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .contact-grid-new {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER COMPACTO v16 ===== */
.site-footer {
    background: var(--navy-dark);
    padding: 48px 0 32px;
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Footer Logos - Ambos brancos */
.site-footer .footer-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

@media (min-width: 640px) {
    .site-footer .footer-logos {
        flex-direction: row;
    }
}

.site-footer .footer-logos .logo-fac {
    height: 48px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.site-footer .footer-logos .logo-instituto {
    height: 48px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Footer Social */
.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--white-60);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: hsla(0, 0%, 100%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--gold-light);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.social-icon:hover svg {
    fill: var(--navy-dark);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--white-60);
    margin-bottom: 4px;
}

.footer-bottom .footer-tagline {
    font-size: 0.8125rem;
    color: var(--gold-light);
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: fade-in 0.35s ease both;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20BD5A;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: #FFFFFF;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

@media (min-width: 768px) {
    .whatsapp-float {
        width: 64px;
        height: 64px;
    }
}

/* ===== COORDINATION ACCENT ===== */
.coordination-accent {
    width: 64px;
    height: 4px;
    background: var(--gold);
    margin: 0 auto 24px;
}

/* ===== COORDINATORS GRID 2 COLUMNS ===== */
.coordinators-2col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .coordinators-2col {
        grid-template-columns: 1fr;
    }
}

/* ===== COORDINATORS GRID 3 COLUMNS ===== */
.coordinators-3col {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .coordinators-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .coordinators-3col {
        grid-template-columns: 1fr;
    }
}