: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);
    display: flex;
    overflow-x: hidden;
}

/* ===== NAVEGAÇÃO VERTICAL ===== */
.capoeira-nav {
    width: 200px;
    background: var(--dark-black);
    color: var(--pure-white);
    padding: 40px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.nav-brand {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.nav-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 3px solid var(--primary-yellow);
}

.nav-brand h3 {
    font-size: 1.4em;
    color: var(--primary-yellow);
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    margin-bottom: 40px;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    color: var(--pure-white);
    text-decoration: none;
    transition: all 0.3s ease;
    border-right: 3px solid transparent;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 215, 0, 0.1);
    border-right-color: var(--primary-yellow);
    color: var(--primary-yellow);
    padding-left: 30px;
}

.nav-footer {
    text-align: center;
    padding: 0 20px;
    color: var(--primary-yellow);
    font-weight: 700;
}

/* ===== MAIN CONTENT ===== */
.capoeira-main {
    margin-left: 200px;
    width: calc(100% - 200px);
    padding: 0;
}

.hero-roda {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--dark-black) 100%);
    color: var(--pure-white);
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roda-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    
    /* --- PROPRIEDADES PARA A IMAGEM DE FUNDO --- */
    background-image: url('../img/carrousel2.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
    /* Overlay para escurecer a imagem e manter o texto legível */
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5);
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 900;
    color: var(--primary-yellow);
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-content p {
    font-size: clamp(1rem, 4vw, 1.6rem);
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Tablet (768px a 1024px) */
@media (max-width: 1024px) {
    .hero-roda {
        padding: 80px 30px;
        min-height: 55vh;
    }

    .hero-content h1 {
        letter-spacing: 2px;
    }
}

/* Mobile (até 768px) */
@media (max-width: 768px) {
    .hero-roda {
        padding: 60px 20px;
        min-height: 50vh;
    }

    .roda-circle {
        background-attachment: scroll;
    }

    .hero-content h1 {
        letter-spacing: 1px;
        margin-bottom: 8px;
    }

    .hero-content p {
        margin-bottom: 20px;
    }
}

/* Mobile pequeno (até 480px) */
@media (max-width: 480px) {
    .hero-roda {
        padding: 50px 15px;
        min-height: 45vh;
    }

    .hero-content h1 {
        letter-spacing: 0.5px;
    }
}

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

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

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

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

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

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

.timeline-year {
    display: block;
    font-size: 1.8em;
    font-weight: 900;
    color: var(--primary-yellow);
    margin-bottom: 10px;
}

.timeline-item p {
    color: var(--dark-gray);
}

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

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

.element {
    background: var(--light-gray);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 4px solid var(--primary-yellow);
}

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

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

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

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

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

.style-card {
    background: var(--pure-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary-yellow);
    transition: all 0.3s ease;
}

.style-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

.style-card h3 {
    font-size: 1.8em;
    color: var(--primary-yellow);
    margin-bottom: 15px;
}

.style-card p {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.style-card ul {
    list-style: none;
    text-align: left;
}

.style-card ul li {
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.style-card ul li::before {
    content: '▪ ';
    color: var(--primary-yellow);
    margin-right: 10px;
}

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

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

.instrument {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

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

.instrument h4 {
    font-size: 1.1em;
    color: var(--dark-black);
} 

/* ===== SEÇÃO COLABORADORES E PARCERIAS ===== */
.partners {
    padding: 80px 20px;
    background: var(--light-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

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

.partners-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--dark-gray);
    margin-bottom: 60px;
    font-style: italic;
}

.partners-section {
    margin-bottom: 80px;
}

.partners-section h3 {
    font-size: 28px;
    color: var(--dark-black);
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-yellow);
}

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

.partner-card {
    background: var(--pure-white);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
}

.partner-logo {
    width: 100%;
    height: auto;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: var(--dark-black);
}

.partner-card h4 {
    font-size: 20px;
    color: var(--dark-black);
    margin-bottom: 10px;
}

.partner-card p {
    color: var(--dark-gray);
    font-size: 14px;
}

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

.instructor-card {
    background: var(--pure-white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.instructor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
}

.instructor-avatar {
    font-size: 80px;
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.rost-h {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    max-width: 100%;
    height: auto;
}

.instructor-card h4 {
    font-size: 22px;
    color: var(--dark-black);
    margin-bottom: 10px;
}

.instructor-card p {
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.instructor-social {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.instructor-social a {
    width: 40px;
    height: 40px;
    background: var(--primary-yellow);
    color: var(--dark-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.instructor-social a:hover {
    background: var(--dark-black);
    color: var(--primary-yellow);
    transform: scale(1.1);
}

.logo-gas {
    width: 100%;
    max-width: 120px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

/* ===== GALERIA ===== */
.gallery {
    padding: 50px 20px;
    background: var(--pure-white);
}

.gallery-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--dark-gray);
    margin-bottom: 50px;
    font-style: italic;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--light-gray);
    color: var(--dark-black);
    padding: 12px 30px;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-yellow);
    color: var(--dark-black);
    border-color: var(--primary-yellow);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

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

.gallery-item {
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.gallery-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--dark-gray);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-btn {
    width: 60px;
    height: 60px;
    background: var(--primary-yellow);
    color: var(--dark-black);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn:hover {
    background: var(--pure-white);
    transform: scale(1.1);
}

.gallery-info {
    padding: 20px;
    text-align: center;
}

.gallery-info h4 {
    font-size: 18px;
    color: var(--dark-black);
    margin-bottom: 8px;
}

.gallery-info p {
    font-size: 14px;
    color: var(--dark-gray);
}

/* ===== CTA FINAL ===== */
.cta-final {
    background: var(--dark-black);
    color: var(--pure-white);
    text-align: center;
    padding: 80px 50px;
}

.cta-final h2 {
    color: var(--primary-yellow);
    font-size: 2.5em;
    margin-bottom: 20px;
}

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

.cta-final h3 {
    color: var(--primary-yellow);
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 10px;
}

.cta-btn-large {
    background: var(--primary-yellow);
    color: var(--dark-black);
    padding: 18px 50px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

.capoeira-footer p {
    margin: 5px 0;
}

/* ===== RESPONSIVIDADE ===== */

/* Tablet (768px a 1024px) */
@media (max-width: 1024px) {
    section {
        padding: 60px 30px;
    }

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

    .cta-final {
        padding: 60px 30px;
    }

    .capoeira-footer {
        padding: 20px 30px;
    }
}

/* Mobile (até 768px) */
@media (max-width: 768px) {
    body {
        flex-direction: column;
        overflow-x: hidden;
    }

    .capoeira-nav {
        width: 100%;
        height: auto;
        position: relative;
        padding: 20px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .nav-brand h3 {
        font-size: 1.2em;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 20px;
        gap: 0;
    }

    .nav-links li {
        flex: 0 1 auto;
    }

    .nav-links a {
        border-right: none;
        border-bottom: 2px solid transparent;
        padding: 10px 12px;
        font-size: 0.9em;
    }

    .nav-links a:hover,
    .nav-links a.active {
        border-right: none;
        border-bottom-color: var(--primary-yellow);
        padding-left: 12px;
    }

    .capoeira-main {
        margin-left: 0;
        width: 100%;
    }

    section {
        padding: 40px 20px;
    }

    section h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .gallery {
        padding: 40px 15px;
    }

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

    .gallery-image {
        height: 200px;
    }

    .cta-final {
        padding: 40px 20px;
    }

    .cta-final h2 {
        font-size: 1.8em;
    }

    .cta-final p {
        font-size: 1.1em;
    }

    .capoeira-footer {
        padding: 20px 15px;
        font-size: 0.9em;
    }

    .rost-h {
        width: 200px;
        height: 200px;
    }

    .logo-gas {
        width: 80px;
    }

    .partners {
        padding: 40px 15px;
    }

    .partners-section h3 {
        font-size: 1.5em;
    }
}

/* Mobile pequeno (até 480px) */
@media (max-width: 480px) {
    .nav-brand h3 {
        font-size: 1em;
    }

    .nav-links a {
        padding: 8px 10px;
        font-size: 0.8em;
        gap: 5px;
    }

    section {
        padding: 30px 15px;
    }

    section h2 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

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

    .gallery-image {
        height: 200px;
    }

    .cta-final {
        padding: 30px 15px;
    }

    .cta-final h2 {
        font-size: 1.5em;
    }

    .cta-final p {
        font-size: 1em;
    }

    .cta-btn-large {
        padding: 12px 30px;
        font-size: 1em;
    }

    .capoeira-footer {
        padding: 15px 10px;
        font-size: 0.85em;
    }

    .rost-h {
        width: 150px;
        height: 150px;
    }

    .logo-gas {
        width: 70px;
    }

    .partners-grid,
    .instructors-grid {
        grid-template-columns: 1fr;
    }

    .partners-section h3 {
        font-size: 1.3em;
    }

    .partner-logo {
        width: 100%;
        max-width: 80px;
        height: auto;
        font-size: 30px;
    }
}