
:root {
    --bg-dark: #0a0915;
    --purple-deep: #161233;
    --purple-card: #221c4e;
    --electric-blue: #00d2ff;
    --neon-purple: #9d4edd;
    --text-light: #f3f0ff;
    --text-muted: #b3a9e0;
    --gradient-main: linear-gradient(135deg, #1d1544 0%, #0d2b45 100%);
}


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


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background: rgba(10, 9, 21, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(157, 78, 221, 0.2);
    position: fixed;
    top: 0;
    width: 90%;
    z-index: 1000;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--electric-blue);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

.nav-links a:hover, .nav-links a.active {
    color: var(--electric-blue);
    background: rgba(0, 210, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}


.main-header {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    margin-top: 70px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.header-index {
    background-image: url('https://admin.cnnbrasil.com.br/wp-content/uploads/sites/12/2024/08/conjunto-brasileiro.jpg?w=1200&h=1200&crop=1');
}

.header-superacao {
    background-image: url('https://www.alagoas24horas.com.br/wp-content/uploads/2024/08/1_ginastica_ritmica_brasil_brasileiras2-730x487.webp');
}

.header-impacto {
    background-image: url('https://s2-ge.glbimg.com/as855UqDaqJFkDZAXL9aOn-XDOk=/0x0:3544x2437/984x0/smart/filters:strip_icc()/i.s3.glbimg.com/v1/AUTH_bc8228b6673f488aa253bbcb03c80ec5/internal_photos/bs/2024/5/w/L79y02RVO2HaejQeh3pw/ginastica1-reu.jpg');
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 9, 21, 0.5), var(--bg-dark));
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease forwards;
}

.header-content h1 {
    font-size: 3.5rem;
    margin: 1rem 0;
    text-shadow: 0 0 20px rgba(157, 78, 221, 0.6);
    color: #fff;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.tag {
    background: var(--neon-purple);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}


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


.card {
    background: var(--purple-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(157, 78, 221, 0.15);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 210, 255, 0.2);
    border-color: rgba(0, 210, 255, 0.4);
}


.card-horizontal {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1rem;
    margin-bottom: 4rem;
}

.card-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.card-content h2, .card-content h3 {
    color: var(--electric-blue);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
}


.image-wrapper, .image-wrapper-grid {
    width: 100%;
    height: 100%;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.image-wrapper img, .image-wrapper-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    transition: transform 0.6s ease;
}

.card:hover img {
    transform: scale(1.05); 
}


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

.details-grid .image-wrapper-grid {
    height: 250px;
}


footer {
    text-align: center;
    padding: 3rem;
    background: #06050d;
    border-top: 1px solid rgba(157, 78, 221, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}


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

@keyframes pulseEffect {
    0% { box-shadow: 0 0 0 0 rgba(157, 78, 221, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(157, 78, 221, 0); }
    100% { box-shadow: 0 0 0 0 rgba(157, 78, 221, 0); }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.pulse {
    animation: pulseEffect 2s infinite;
}


@media (max-width: 900px) {
    .card-horizontal {
        grid-template-columns: 1fr;
    }
    .details-grid {
        grid-template-columns: 1fr;
    }
    .navbar {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 1rem 0;
    }
    .main-header {
        margin-top: 110px;
        height: 50vh;
    }
    .header-content h1 {
        font-size: 2.2rem;
    }
}
