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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #08054B 60%, #CF035C 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}


.logo h1 {
    font-size: 28px;
    /* ajuste principal */
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

.logo img {
    height: 40px;
    margin-right: 15px;
    filter: brightness(0) invert(1);
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #f8f9fa;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #08054B 50%, #CF035C 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    background: #CF035C;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.title {
    color: #f8f9fa;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Rules Section */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.rule-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.rule-card:hover {
    transform: translateY(-5px);
}

.rule-card h3 {
    color: #08054B;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Prizes Section */
.prizes {
    background: linear-gradient(135deg, #08054B 50%, #CF035C 100%);
    color: white;
}

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

.prize-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.prize-amount {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #CF035C;
}

/* Timeline Section */
.timeline {
    background: #f8f9fa;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    align-items: center;
}

.timeline-date {
    background: #CF035C;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    min-width: 150px;
    text-align: center;
    font-weight: bold;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-left: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
}

/* Footer */
footer {
    background: #08054B;
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #f8f9fa;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 20%;
    background: #CF035C;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #1a1464;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Team Section */
#team {
    padding-top: 60px;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #08054B 10%, #CF035C 100%);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.team-image img {

    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f8f9fa;
    transition: transform 0.3s;
}

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

.team-info h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: #08054B;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.team-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: #08054B;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    line-height: 35px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
    transition: background 0.3s, transform 0.3s;
}

.team-social a:hover {
    background: #1a1464;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: #08054B;
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .nav-item {
        margin: 16px 0;
    }

    .nav-links.active {
        left: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
    }

    .timeline-content {
        margin-left: 0;
        margin-top: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-card {
        padding: 1.5rem;
    }

    .team-image img {
        width: 120px;
        height: 120px;
    }

    .logo h1 {
        font-size: 22px;
    }

    .logo h1 {
        font-size: 18px;
    }

    .logo img {
        width: 36px;
        height: auto;
    }


}

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

/* Historia Timeline (vertical alternada) */
#historia {
    background: #ffffff;
    padding-bottom: 40px;
}

#historia .text-center .section-heading {
    color: #08054B;
}

#historia .text-center .section-subheading {
    color: #666;
    margin-top: -1rem;
}

#historia .timeline {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 3rem auto 0;
    max-width: 1000px;
    background: transparent; /* sobrescreve .timeline global */
}

#historia .timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #08054B 0%, #CF035C 100%);
    border-radius: 4px;
    opacity: 0.15;
}

#historia .timeline > li {
    position: relative;
    margin: 3.5rem 0;
}

#historia .timeline > li::after {
    content: '';
    display: block;
    clear: both;
}

#historia .timeline .timeline-image {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #08054B;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border: 6px solid #f8f9fa;
    z-index: 2;
    overflow: hidden;
}

#historia .timeline .timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#historia .timeline .timeline-panel {
    position: relative;
    width: 42%;
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Lado esquerdo (default) */
#historia .timeline > li .timeline-panel {
    float: left;
    text-align: right;
}

#historia .timeline > li .timeline-panel:before {
    content: '';
    position: absolute;
    top: 42px;
    right: -12px;
    border-width: 12px;
    border-style: solid;
    border-color: transparent transparent transparent #ffffff;
}

/* Lado direito (inverted) */
#historia .timeline > li.timeline-inverted .timeline-panel {
    float: right;
    text-align: left;
}

#historia .timeline > li.timeline-inverted .timeline-panel:before {
    content: '';
    position: absolute;
    top: 42px;
    left: -12px;
    border-width: 12px;
    border-style: solid;
    border-color: transparent #ffffff transparent transparent;
}

#historia .timeline .timeline-heading h4 {
    color: #08054B;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

#historia .timeline .timeline-heading .subheading {
    color: #CF035C;
    font-weight: 700;
    letter-spacing: 0.3px;
}

#historia .timeline .timeline-body p {
    color: #555;
}

#historia .timeline > li .timeline-image h4 {
    padding: 0 12px;
    text-transform: uppercase;
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: center;
}

/* Hover sutil nos cards */
#historia .timeline .timeline-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
}

/* Responsividade */
@media (max-width: 992px) {
    #historia .timeline .timeline-panel {
        width: 46%;
    }
}

@media (max-width: 768px) {
    #historia .timeline:before {
        left: 32px;
        transform: none;
    }

    #historia .timeline .timeline-image {
        left: 32px;
        width: 64px;
        height: 64px;
        border-width: 4px;
    }

    #historia .timeline .timeline-panel,
    #historia .timeline > li.timeline-inverted .timeline-panel {
        float: none;
        width: auto;
        margin-left: 100px;
        text-align: left;
    }

    #historia .timeline > li .timeline-panel:before,
    #historia .timeline > li.timeline-inverted .timeline-panel:before {
        left: -12px;
        right: auto;
        border-color: transparent #ffffff transparent transparent;
    }
}