:root {
    --primary: #1e3a5f;
    --primary-dark: #0f1f33;
    --secondary: #c9a227;
    --secondary-light: #e8c94d;
    --accent: #2c5282;
    --dark: #1a202c;
    --light: #f7fafc;
    --gray: #4a5568;
    --light-gray: #e2e8f0;
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
}

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

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Header com efeito glass */
header {
    background: rgba(30, 58, 95, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s;
}

header.scrolled {
    padding: 0.7rem 0;
    background: rgba(30, 58, 95, 0.98);
}

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

.logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease;
}

.logo i {
    font-size: 1.9rem;
    animation: pulse 2s infinite;
}

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

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

nav a:hover {
    color: var(--secondary);
}

nav a:hover::after {
    width: 100%;
}

/* Hero com parallax e overlay */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--primary-dark) 100%);
    color: white;
    padding: 160px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle, rgba(201,162,39,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 80px 80px;
    opacity: 0.5;
}

.hero .container {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.since-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--primary);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(201,162,39,0.4);
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero .subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--primary);
    padding: 18px 50px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.4s;
    border: none;
    box-shadow: 0 6px 20px rgba(201,162,39,0.4);
    animation: fadeInUp 1s ease 0.6s both;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(201,162,39,0.6);
}

.cta:hover::before {
    left: 100%;
}

.cta-outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    box-shadow: 0 6px 20px rgba(201,162,39,0.2);
}

.cta-outline:hover {
    background: var(--secondary);
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(201,162,39,0.5);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* Cards com efeito 3D */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    perspective: 1000px;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.4s;
    border-top: 4px solid var(--secondary);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease both;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(201,162,39,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(30,58,95,0.3);
    transition: transform 0.3s;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(10deg);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Cursos */
.cursos-section {
    background: linear-gradient(180deg, var(--light) 0%, white 100%);
}

.cursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.curso-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.4s;
    border: 1px solid var(--light-gray);
    animation: fadeInUp 0.8s ease both;
}

.curso-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.curso-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.curso-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 4s ease-in-out infinite;
}

.curso-header i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
    position: relative;
    z-index: 1;
}

.curso-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.curso-body {
    padding: 2rem;
}

.curso-body p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.curso-btn {
    display: block;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--primary);
    text-align: center;
    padding: 16px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(201,162,39,0.3);
}

.curso-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201,162,39,0.5);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--secondary);
}

/* Sobre com efeito parallax */
.sobre-section {
    background: white;
    position: relative;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.sobre-imagem {
    position: relative;
    animation: fadeInUp 1s ease;
}

.sobre-imagem::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 4px solid var(--secondary);
    border-radius: 50%;
    z-index: 0;
    animation: pulse 3s infinite;
}

.foto-perfil {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid white;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    transition: transform 0.4s;
}

.foto-perfil:hover {
    transform: scale(1.05) rotate(3deg);
}

.sobre-texto {
    animation: fadeInUp 1s ease 0.2s both;
}

.sobre-texto h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.sobre-texto p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1.1rem;
}

.experiencia-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--secondary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 1rem;
    box-shadow: 0 6px 20px rgba(30,58,95,0.3);
    animation: pulse 2s infinite;
}

/* Depoimento */
.depoimento-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.depoimento-section::before {
    content: '"';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 300px;
    opacity: 0.05;
    font-family: Georgia, serif;
}

.depoimento-section blockquote {
    font-size: 2rem;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.depoimento-section .autor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.depoimento-section .foto-autor {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid var(--secondary);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* CTA */
.cta-section {
    background: linear-gradient(180deg, white 0%, var(--light) 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-section p {
    color: var(--gray);
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--dark) 0%, #0d1117 100%);
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light), var(--secondary));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

footer h4 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

footer p {
    color: #a0aec0;
    line-height: 1.8;
}

footer a {
    color: #a0aec0;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: all 0.3s;
}

footer a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    font-size: 1.4rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-5px) scale(1.1);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
    color: #718096;
}

/* Responsive */
@media (max-width: 968px) {
    .sobre-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .sobre-imagem::before {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .depoimento-section blockquote {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
}
