/* ===== VARIABLES ===== */
:root {
    --primary: #5e17eb;
    --primary-light: #7b3ff0;
    --primary-dark: #4010b0;
    --secondary: #76988a;
    --secondary-light: #93b5a6;
    --secondary-dark: #5a7a6d;
    --accent: #a855f7;
    --bg-light: #f7f8f7;
    --bg-dark: #1a0e2e;
    --text-dark: #1b1b1b;
    --text-light: #ffffff;
    --text-muted: #6b7280;
    --card-shadow: 0 4px 20px rgba(94, 23, 235, 0.06);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-light);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===== HEADER / NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--primary);
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 700;
}

.navbar-brand img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.navbar-nav {
    display: flex;
    gap: 2rem;
}

.navbar-nav a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
    width: 100%;
}

.nav-instagram {
    display: flex;
    align-items: center;
}

.nav-instagram:hover {
    opacity: 0.8;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    margin-top: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--bg-dark) 100%);
    color: var(--text-light);
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(118, 152, 138, 0.15) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-split {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    text-align: left;
    max-width: 1000px;
}

.hero-logo {
    width: 280px;
    min-width: 280px;
    height: 280px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.hero-text {
    flex: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero .badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--text-light);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--secondary);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(118, 152, 138, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--primary);
}

/* ===== SECTIONS ===== */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ===== INFO BOX ===== */
.info-box {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-item {
    text-align: center;
}

.info-item .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.info-item .value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

/* ===== CATEGORY CARDS ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.category-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-light);
    padding: 1.5rem;
    position: relative;
}

.category-header .sport-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.category-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.category-header .age-range {
    font-size: 0.9rem;
    opacity: 0.85;
}

.category-body {
    padding: 1.5rem;
}

.category-body h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.category-body h4:first-child {
    margin-top: 0;
}

.category-body ul {
    padding-left: 0;
}

.category-body ul li {
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.95rem;
}

.category-body ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.category-total {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 2px solid var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-total .total-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.category-total .total-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== VALUES ===== */
.values-section {
    background: linear-gradient(135deg, var(--primary), var(--bg-dark));
    color: var(--text-light);
    padding: 4rem 2rem;
}

.values-section .section-title {
    color: var(--text-light);
}

.values-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-item {
    text-align: center;
    padding: 1.5rem;
}

.value-item .icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.value-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.value-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== DISCOUNT BOX ===== */
.discount-box {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    color: var(--text-light);
    margin-top: 3rem;
}

.discount-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.discount-box .discount-amount {
    font-size: 2.5rem;
    font-weight: 800;
}

.discount-box p {
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* ===== INCLUDED SECTION ===== */
.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.included-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.included-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.included-card ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.included-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: 700;
}

/* ===== SPONSORS / COLABORADORES ===== */
.sponsors-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 2rem;
}

.sponsor-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.sponsor-item img {
    max-height: 80px;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: var(--transition);
}

.sponsor-item:hover img {
    filter: grayscale(0%);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--primary);
    color: var(--text-light);
    text-align: center;
    padding: 4rem 2rem;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    opacity: 0.85;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.contact-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-muted);
}

.contact-card a {
    color: var(--primary);
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--secondary);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 2;
}

.footer-section a:hover {
    color: var(--secondary);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 0.5rem;
    }

    .navbar-nav.active {
        display: flex;
    }

    .navbar-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-split {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-logo {
        width: 140px;
        height: 140px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 1rem;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
    }
}
