/* ========================================
   VARIÁVEIS DE CORES
======================================== */
:root {
    --roxo-principal: #6B2C91;
    --roxo-escuro: #4A1D6B;
    --roxo-claro: #8E44AD;
    --roxo-suave: #B19CD9;
    --branco: #FFFFFF;
    --cinza-claro: #F8F9FA;
    --cinza-medio: #E9ECEF;
    --texto-escuro: #2C3E50;
    --sombra: rgba(107, 44, 145, 0.15);
}

/* ========================================
   RESET E CONFIGURAÇÕES GERAIS
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--texto-escuro);
    background-color: var(--branco);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   NAVBAR
======================================== */
.navbar {
    background: linear-gradient(135deg, var(--roxo-principal) 0%, var(--roxo-escuro) 100%);
    box-shadow: 0 4px 20px var(--sombra);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--branco) !important;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--branco) !important;
    transform: translateY(-2px);
}

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

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

/* ========================================
   HERO SECTION
======================================== */
.hero {
    background: linear-gradient(135deg, var(--roxo-principal) 0%, var(--roxo-claro) 100%);
    min-height: 100vh;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::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"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    animation: movePattern 20s linear infinite;
}

@keyframes movePattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero p.lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1.2s ease;
}

.hero .btn {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 1.4s ease;
}

.hero .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

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

/* ========================================
   SEÇÃO SOBRE
======================================== */
section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background-color: var(--cinza-claro);
}

section h2 {
    color: var(--roxo-principal);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--roxo-principal), var(--roxo-claro));
    border-radius: 2px;
}

section p {
    font-size: 1.1rem;
    color: var(--texto-escuro);
    margin-bottom: 1.5rem;
}

section ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

section ul li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--texto-escuro);
}

section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--roxo-principal);
    font-weight: bold;
    font-size: 1.3rem;
}

section .btn-primary {
    background: linear-gradient(135deg, var(--roxo-principal), var(--roxo-claro));
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 6px 20px var(--sombra);
    transition: all 0.3s ease;
}

section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--sombra);
}

section img {
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--sombra);
    transition: all 0.3s ease;
}

section img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px var(--sombra);
}

/* ========================================
   GALERIA
======================================== */
.galeria {
    background-color: var(--branco);
}

.galeria h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.galeria h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.galeria-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--sombra);
    transition: all 0.4s ease;
    cursor: pointer;
}

.galeria-img:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(107, 44, 145, 0.3);
}

/* ========================================
   CTA (CALL TO ACTION)
======================================== */
.cta {
    background: linear-gradient(135deg, var(--roxo-escuro) 0%, var(--roxo-principal) 100%);
    color: var(--branco);
    position: relative;
    overflow: hidden;
}

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

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

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: var(--branco);
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta h2::after {
    background: var(--branco);
    left: 50%;
    transform: translateX(-50%);
}

.cta p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta .btn-success {
    background-color: #28A745;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.cta .btn-success:hover {
    background-color: #218838;
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

/* ========================================
   FOOTER
======================================== */
footer {
    background: linear-gradient(135deg, var(--roxo-escuro) 0%, #2C1A40 100%);
    padding: 2rem 0;
}

footer p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

/* ========================================
   ANIMAÇÕES E RESPONSIVIDADE
======================================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p.lead {
        font-size: 1.2rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .galeria-img {
        height: 250px;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* ========================================
   EFEITOS ESPECIAIS
======================================== */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}