/* CSS Jiu-Jitsu - Design Único com Header Flutuante */

:root {
    --primary-yellow: #FFD700;
    --dark-black: #000000;
    --pure-white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--pure-white);
}

/* ===== HEADER FLUTUANTE ===== */
.floating-header {
    background: var(--dark-black);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-yellow);
}

.header-title {
    font-size: 1.5em;
    color: var(--primary-yellow);
    font-weight: 700;
    letter-spacing: 2px;
}

.top-nav {
    display: flex;
    gap: 30px;
}

.top-nav a {
    color: var(--pure-white);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.top-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}

.top-nav a:hover::after,
.top-nav a.active::after {
    width: 100%;
}

.top-nav a:hover,
.top-nav a.active {
    color: var(--primary-yellow);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HERO GEOMÉTRICO ===== */
.hero-geometric {
    background: linear-gradient(135deg, var(--dark-black) 0%, #1a1a1a 100%);
    color: var(--pure-white);
    padding: 150px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/carrousel-1.jpeg'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    opacity: 0.3;
}

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

.hero-geometric h1 {
    font-size: 4.5em;
    font-weight: 900;
    color: var(--primary-yellow);
    margin-bottom: 10px;
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-geometric p {
    font-size: 1.6em;
    font-weight: 300;
}

/* ===== SEÇÕES ===== */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 60px;
    color: var(--dark-black);
    text-transform: uppercase;
}

/* ===== PHILOSOPHY SECTION ===== */
.philosophy-section {
    background: var(--light-gray);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.philosophy-item {
    background: var(--pure-white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-yellow);
}

.philosophy-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

.philosophy-icon {
    font-size: 3em;
    color: var(--primary-yellow);
    margin-bottom: 15px;
}

.philosophy-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--dark-black);
}

/* ===== BELT SYSTEM ===== */
.belt-system {
    background: var(--pure-white);
}

.belt-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 50px 0;
}

.belt-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-yellow);
}

.belt-item {
    position: relative;
    width: 18%;
    text-align: center;
}

.belt-color {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid var(--dark-black);
    position: relative;
    z-index: 1;
}

.belt-color.branca { background: var(--pure-white); }
.belt-color.azul { background: #0066CC; }
.belt-color.roxa { background: #9933CC; }
.belt-color.marrom { background: #8B4513; }
.belt-color.preta { background: var(--dark-black); }

.belt-item h4 {
    font-size: 1.3em;
    color: var(--dark-black);
    margin-bottom: 5px;
}

.belt-item p {
    color: var(--dark-gray);
    font-size: 0.9em;
}

/* ===== POSITIONS SECTION ===== */
.positions-section {
    background: var(--light-gray);
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.position-card {
    background: var(--pure-white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--primary-yellow);
}

.position-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.position-card i {
    font-size: 2.5em;
    color: var(--primary-yellow);
    margin-bottom: 10px;
}

.position-card h4 {
    font-size: 1.2em;
    color: var(--dark-black);
    margin-bottom: 8px;
}


/* ===== GALERIA DE FOTOS ===== */
.gallery-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.gallery-section h2 {
    color: var(--dark-black);
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 50px 0;
    }

    .gallery-section h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== BENEFITS SECTION ===== */
.benefits-section {
    background: var(--pure-white);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-black);
    font-weight: 700;
    flex-shrink: 0;
}

.benefit p {
    font-size: 1.1em;
    color: var(--dark-gray);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--dark-black);
    color: var(--pure-white);
    text-align: center;
}

.cta-section h2 {
    color: var(--primary-yellow);
}

.cta-section p {
    font-size: 1.3em;
    margin-bottom: 30px;
}

.cta-button {
    background: var(--primary-yellow);
    color: var(--dark-black);
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cta-button:hover {
    background: var(--pure-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.4);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-black);
    color: var(--pure-white);
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid var(--primary-yellow);
}

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

.footer-content p {
    margin: 8px 0;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .top-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-geometric h1 {
        font-size: 2.5em;
    }

    section {
        padding: 50px 0;
    }

    section h2 {
        font-size: 2em;
        margin-bottom: 40px;
    }

    .belt-timeline {
        flex-wrap: wrap;
        justify-content: center;
    }

    .belt-item {
        width: 45%;
        margin: 20px;
    }

    .belt-timeline::before {
        display: none;
    }

    .philosophy-grid,
    .positions-grid,
    .benefits-list {
        grid-template-columns: 1fr;
    }
}
