:root {
    --primary-navy: #1e3a8a;
    --primary-blue: #2563eb;
    --light-blue: #3b82f6;
    --accent-gold: #d97706;
    --light-gold: #f59e0b;
    --dark-slate: #0f172a;
    --medium-slate: #334155;
    --light-slate: #64748b;
    --cream: #fefcf3;
    --light-gray: #f8fafc;
    --white: #ffffff;
    --border-light: #e2e8f0;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-large: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark-slate);
    background-color: var(--light-gray);
}

.serif {
    font-family: 'Crimson Text', Georgia, serif;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
    color: var(--white);
    box-shadow: var(--shadow-medium);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--accent-gold);
}

.header-top {
    background: var(--dark-slate);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 2rem;
    color: #cbd5e1;
}

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

.accessibility-buttons {
    display: flex;
    gap: 0.5rem;
}

.a-button {
    background: var(--medium-slate);
    color: var(--white);
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: background 0.3s;
}

.a-button:hover {
    background: var(--light-slate);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.logo-icon {
    width: 4rem;
    height: 4rem;
    background: var(--white);
    color: var(--primary-navy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-soft);
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.logo-subtitle {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.025em;
    max-width: 300px;
    margin-top: 0.25rem;
}

.navigation ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.btn-access {
    background: var(--accent-gold);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.btn-access:hover {
    background: var(--light-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Hero Section */
.hero {
    background: var(--white);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-light);
}

.hero-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    flex: 1;
}

.hero-text .subtitle {
    font-size: 1.25rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Crimson Text', serif;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--medium-slate);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-media {
    flex: 1;
}

.video-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* Proporção 16:9 (altura / largura) */
  padding-top: 56.25%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--medium-slate);
    text-align: center;
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.video-placeholder p {
    font-weight: 500;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-navy);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

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

.btn-secondary {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}

.btn-secondary:hover {
    background: var(--primary-navy);
    color: var(--white);
}

.btn-tertiary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-tertiary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Section Styling */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    text-align: center;
    margin-bottom: 2.5rem;
    font-family: 'Crimson Text', serif;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 2rem;
    font-family: 'Crimson Text', serif;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--primary-navy);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-gold), var(--light-gold));
    opacity: 0.1;
    border-radius: 0 0 0 100px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-top-color: var(--accent-gold);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-family: 'Crimson Text', serif;
}

.feature-card p {
    color: var(--medium-slate);
    line-height: 1.6;
}

/* Courses Highlight */
.courses-highlight {
    padding: 5rem 0;
    background: var(--white);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.see-all {
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.see-all:hover {
    color: var(--primary-navy);
    transform: translateX(5px);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.course-image {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
    color: var(--white);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10rem;
}

.course-image::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: var(--accent-gold);
    opacity: 0.1;
    border-radius: 50%;
}

.course-image i {
    font-size: 3rem;
    color: var(--accent-gold);
}

.course-content {
    padding: 2rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.course-category {
    background: var(--accent-gold);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.course-duration {
    color: var(--medium-slate);
    font-weight: 500;
}

.course-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    font-family: 'Crimson Text', serif;
}

.course-card p {
    color: var(--medium-slate);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.course-link {
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.course-link:hover {
    color: var(--primary-navy);
}

/* News Section */
.news {
    padding: 5rem 0;
    background: var(--cream);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--accent-gold);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.news-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.news-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--light-gold));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.news-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.25rem;
    font-family: 'Crimson Text', serif;
}

.news-date {
    color: var(--light-slate);
    font-size: 0.875rem;
    font-weight: 500;
}

.news-content {
    color: var(--medium-slate);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-link {
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: var(--primary-navy);
    transform: translateX(3px);
}

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

/* Partners Section */
.partners {
    padding: 4rem 0;
    background: var(--white);
    border-top: 1px solid var(--border-light);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logo {
    width: 120px;
    height: 80px;
    background: var(--light-gray);
    border: 2px solid var(--border-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--medium-slate);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

/* Courses Page */
.courses-page {
    padding: 3rem 0;
}

.courses-filters {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
    border-top: 4px solid var(--primary-navy);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.filter-item label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-slate);
    margin-bottom: 0.5rem;
}

.filter-item input,
.filter-item select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.filter-item input:focus,
.filter-item select:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.courses-result {
    margin-bottom: 1.5rem;
    color: var(--medium-slate);
    font-weight: 500;
}

.courses-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.pagination-btn {
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border-light);
    background: var(--white);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination-btn:hover {
    background: var(--light-gray);
}

.pagination-btn.active {
    background: var(--primary-navy);
    color: var(--white);
    border-color: var(--primary-navy);
}

/* Register Page */
.register-page {
    padding: 3rem 0;
}

.registration-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 1rem;
    border-top: 4px solid var(--primary-navy);
}

.form-section {
    margin-bottom: 3rem;
}

.form-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    font-family: 'Crimson Text', serif;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 0.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-slate);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.form-check {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-top: 2rem;
}

.form-check input {
    margin-top: 0.25rem;
}

.form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.form-note {
    font-size: 0.875rem;
    color: var(--medium-slate);
    margin-top: 1rem;
    font-style: italic;
}

/* About Page */
.about-page {
    padding: 3rem 0;
}

.developers-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--primary-navy);
}

.developer-counter {
    font-weight: 700;
    color: var(--primary-navy);
    font-size: 1.1rem;
}

.developer-profile {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 3rem;
    min-height: 600px;
    border-top: 4px solid var(--primary-navy);
}

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

.profile-photo {
    width: 12rem;
    height: 12rem;
    background: var(--light-gray);
    border: 4px solid var(--accent-gold);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-photo i {
    font-size: 5rem;
    color: var(--medium-slate);
}

.profile-info h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
    font-family: 'Crimson Text', serif;
}

.profile-info .role {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.profile-social {
    margin: 1.5rem 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    background: var(--accent-gold);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.social-link:hover {
    background: var(--primary-navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.social-link i {
    margin-right: 0.5rem;
}

.update-date {
    font-size: 0.875rem;
    color: var(--medium-slate);
    margin-top: 1rem;
    font-style: italic;
}

.profile-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary-navy);
    border-bottom: 3px solid var(--accent-gold);
    padding-bottom: 0.5rem;
    font-family: 'Crimson Text', serif;
}

.profile-text {
    margin-bottom: 2rem;
}

.profile-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 1.7;
    color: var(--medium-slate);
}

.profile-text h4 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
    font-weight: 700;
}

.profile-text ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.profile-text li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--medium-slate);
}

.profile-video {
    margin-top: 2rem;
}

.profile-video h3 {
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-slate);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    font-family: 'Crimson Text', serif;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section ul a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: var(--accent-gold);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    color: var(--accent-gold);
}

.accessibility-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accessibility-links a {
    display: flex;
    align-items: center;
    color: #cbd5e1;
}

.accessibility-links a i {
    margin-right: 0.5rem;
}

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

.footer-bottom {
    border-top: 1px solid var(--medium-slate);
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: start;
    }
    
    .navigation ul {
        display: none;
    }
    
    .developer-profile {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    
    .profile-sidebar {
        text-align: center;
    }
    
    .profile-content {
        width: 100%;
    }
    
    .developers-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .developer-counter {
        order: -1;
    }
    
    .courses-grid,
    .features-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-grid,
    .form-grid,
    .courses-list {
        grid-template-columns: 1fr;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .developer-profile {
        flex-direction: row;
    }
    
    .profile-sidebar {
        width: 35%;
        text-align: left;
    }
    
    .profile-content {
        width: 65%;
        padding-left: 2rem;
    }
}