/* Variáveis e Reset */
:root {
    --navy-blue: #0a2647;
    --royal-blue: #144272;
    --sky-blue: #205295;
    --light-blue: #2c74b3;
    --grey-bg: #f0f4f8;
    --dark-grey: #2d3748;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --gradient-blue: linear-gradient(135deg, #0a2647 0%, #144272 100%);
    --gradient-light: linear-gradient(135deg, #2c74b3 0%, #205295 100%);
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Roboto', 'Inter', sans-serif;
    color: var(--dark-grey);
    background-color: var(--white);
    line-height: 1.7;
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Top Bar */
.top-bar {
    background: var(--gradient-blue);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}

.login-area a {
    color: var(--white);
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-area a:hover {
    color: var(--light-blue);
}

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.logo h1 {
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 36px;
    line-height: 1;
    font-weight: 900;
    transition: transform 0.3s ease;
    display: inline-block;
}

.logo:hover h1 {
    transform: scale(1.05);
}

.logo span {
    color: var(--light-blue);
}

.logo p {
    font-size: 12px;
    color: #718096;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 8px;
    font-weight: 600;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}

.main-nav a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--dark-grey);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -8px;
    left: 50%;
    background: var(--gradient-light);
    border-radius: 10px;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--light-blue);
}

.btn-contact {
    background: var(--gradient-light);
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Hero Banner */
.hero-banner {
    background: var(--gradient-blue);
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-text {
    max-width: 700px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text h2 {
    font-size: 56px;
    margin-bottom: 28px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-text p {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
}

.btn-primary {
    display: inline-block;
    background-color: var(--white);
    color: var(--navy-blue);
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Institutional */
.institutional-section {
    padding: 100px 0;
    background: var(--grey-bg);
}

h3 {
    color: var(--navy-blue);
    font-size: 42px;
    margin-bottom: 50px;
    font-weight: 900;
    position: relative;
    display: inline-block;
}

h3::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    bottom: -15px;
    left: 0;
    background: var(--gradient-light);
    border-radius: 10px;
}

.content-split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.content-split p {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 25px;
    color: var(--dark-grey);
}

.stats-block {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat {
    margin-bottom: 40px;
}

.stat:last-child {
    margin-bottom: 0;
}

.stat .number {
    display: block;
    font-size: 52px;
    font-weight: 900;
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat .label {
    font-size: 14px;
    text-transform: uppercase;
    color: #718096;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Courses */
.courses-section {
    background: var(--white);
    padding: 100px 0;
}

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

.course-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-soft);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--light-blue);
}

.course-header {
    background: var(--gradient-blue);
    color: var(--white);
    padding: 15px 25px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

.course-body {
    padding: 35px;
}

.course-body h4 {
    color: var(--navy-blue);
    font-size: 22px;
    margin-bottom: 15px;
    min-height: 55px;
    line-height: 1.4;
    font-weight: 700;
}

.course-details {
    list-style: none;
    margin: 25px 0;
    color: #718096;
    font-size: 15px;
}

.course-details li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.course-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--light-blue);
    font-weight: bold;
}

.btn-secondary {
    display: block;
    text-align: center;
    background: var(--gradient-light);
    color: var(--white);
    padding: 14px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Technical Standards */
.technical-standards {
    padding: 80px 0;
    text-align: center;
    background: var(--grey-bg);
}

.technical-standards h3 {
    display: block;
    text-align: center;
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.partners-logos a {
    font-size: 18px;
    font-weight: 700;
    color: #718096;
    border: 2px solid var(--border-color);
    padding: 15px 30px;
    border-radius: 12px;
    background: var(--white);
    transition: all 0.3s ease;
}

.partners-logos a:hover {
    color: var(--navy-blue);
    border-color: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Footer */
.main-footer {
    background: var(--gradient-blue);
    color: rgba(255, 255, 255, 0.9);
    padding: 80px 0 30px;
}

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

.footer-col h5 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
    display: inline-block;
}

.sub-footer {
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}
