
:root {
    --black: #090909;
    --dark: #101010;
    --card: #171717;
    --white: #f5f3ef;
    --gray: #999999;
    --yellow: #f5d326;
    --red: #d93636;
    --red-dark: #842323;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* MENU */

.header {
    height: 82px;
    padding: 0 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(9, 9, 9, .96);
    border-bottom: 1px solid #292929;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 23px;
    letter-spacing: 1px;
}

.logo img {
    width: 43px;
    height: 43px;
    object-fit: contain;
}

.logo strong,
.footer-logo strong {
    color: var(--yellow);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    font-size: 12px;
    color: #c3c3c3;
    transition: .3s;
}

.nav a:hover {
    color: var(--yellow);
}

.nav .nav-contact {
    border: 1px solid var(--red);
    padding: 11px 18px;
    color: white;
}

.nav .nav-contact:hover {
    background: var(--red);
    color: white;
}

.menu-toggle {
    display: none;
}

/* ELEMENTOS GERAIS */

.section {
    padding: 110px 10%;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 70px;
}

.section-number,
.mini-label {
    color: var(--yellow);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.red-line {
    height: 1px;
    width: 55px;
    background: var(--red);
}

h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(44px, 6vw, 76px);
    line-height: .98;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: -.5px;
}

h2 span {
    color: var(--yellow);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 15px 22px;
    font-size: 12px;
    font-weight: 700;
    transition: .3s;
}

.button-primary {
    background: var(--yellow);
    color: var(--black);
}

.button-primary:hover {
    background: var(--red);
    color: white;
    transform: translateY(-3px);
}

.button-outline {
    border: 1px solid #666;
    color: white;
}

.button-outline:hover {
    border-color: var(--red);
    color: var(--yellow);
}

/* INÍCIO */

.hero {
    min-height: 690px;
    padding: 90px 10% 70px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 75% 50%, rgba(132,35,35,.15), transparent 40%),
        var(--black);
}

.hero::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border: 1px solid rgba(245,211,38,.08);
    border-radius: 50%;
    right: -150px;
    top: 100px;
}

.hero-stars,
.contact-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .45;
    background-image:
        radial-gradient(circle, white 1px, transparent 1.5px),
        radial-gradient(circle, var(--red) 1px, transparent 1.5px);
    background-size: 97px 97px, 151px 151px;
    background-position: 10px 20px, 60px 70px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
    color: #c5c5c5;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.red-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
}

.hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(65px, 8vw, 110px);
    line-height: .83;
    letter-spacing: -2px;
    font-weight: 800;
}

.hero h1 span {
    color: var(--yellow);
}

.hero-content > p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
    max-width: 400px;
    margin: 30px 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-caption {
    display: flex;
    gap: 25px;
    margin-top: 75px;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #777;
}

.hero-caption span:last-child {
    color: var(--red);
}

.hero-visual {
    position: relative;
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo {
    width: 75%;
    height: 360px;
    position: relative;
    z-index: 2;
    transform: rotate(2deg);
    border: none;
    border-radius: 20px;
    overflow: hidden; /* Mantém a imagem dentro dos cantos arredondados */
}

/* Cria uma camada preta transparente por cima da foto que faz as bordas sumirem */
.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: 20px;
    box-shadow: inset 0 0 40px 30px #090909; /* Sombra interna com a cor preta do seu fundo */
    pointer-events: none;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.orbit {
    position: absolute;
    width: 90%;
    height: 220px;
    border: 1px solid rgba(245,211,38,.35);
    border-radius: 50%;
    transform: rotate(-30deg);
}

.orbit-two {
    width: 100%;
    height: 300px;
    border-color: rgba(217,54,54,.35);
    transform: rotate(35deg);
}

.rocket-symbol {
    position: absolute;
    z-index: 3;
    right: 2%;
    top: 5%;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--red);
    color: white;
    display: grid;
    place-items: center;
    font-size: 28px;
    transform: rotate(-30deg);
}

.photo-label {
    position: absolute;
    z-index: 3;
    bottom: 15px;
    left: 3%;
    background: var(--yellow);
    color: var(--black);
    padding: 12px 18px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-bottom {
    position: absolute;
    bottom: 20px;
    left: 10%;
    right: 10%;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #666;
}

.hero-bottom a {
    color: var(--red);
}

/* QUEM SOMOS */

.about {
    background: #111;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-grid h2 span {
    color: var(--red);
}

.about-text p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-highlight {
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 2px solid var(--red);
    padding-left: 20px;
    margin-top: 35px;
    color: #aaa;
    font-size: 12px;
    line-height: 1.6;
}

.highlight-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 65px;
    color: var(--yellow);
}

.history-strip {
    margin-top: 100px;
    padding: 35px;
    background: #181818;
    border-left: 3px solid var(--red);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.history-strip h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    margin-top: 12px;
}

.history-strip p {
    color: #999;
    max-width: 440px;
    font-size: 13px;
    line-height: 1.8;
}

/* EQUIPE */

.team-section {
    background: var(--black);
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;
    margin-bottom: 55px;
}

.section-title-row h2 {
    margin-top: 15px;
}

.section-title-row p {
    max-width: 330px;
    color: #999;
    font-size: 13px;
    line-height: 1.8;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px 22px;
}

.member-photo {
    height: 260px;
    background: #191919;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--red);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.member:hover .member-photo img {
    transform: scale(1.06);
}

.member-number {
    position: absolute;
    bottom: 10px;
    left: 12px;
    color: var(--yellow);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
}

.member h3 {
    font-size: 14px;
    margin-top: 17px;
}

.member p {
    color: #888;
    font-size: 11px;
    margin-top: 6px;
}

.coach {
    margin-top: 75px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 25px;
    background: #171717;
    border-left: 3px solid var(--yellow);
}

.coach-symbol {
    font-size: 32px;
    color: var(--red);
}

.coach h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 25px;
    margin: 7px 0;
}

.coach p {
    color: #999;
    font-size: 12px;
}

/* COMPETIÇÕES */

.competitions {
    background: #111;
}

.competitions > h2 {
    margin: 20px 0 50px;
}

.competitions > h2 span {
    color: var(--red);
}

.competition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.competition-card {
    min-height: 400px;
    padding: 35px;
    background: #191919;
    border-top: 3px solid var(--red);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: .3s;
}

.competition-card:hover {
    transform: translateY(-7px);
    background: #202020;
}

.competition-card.obr {
    border-top-color: var(--yellow);
}

.competition-top {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 10px;
    letter-spacing: 2px;
}

.competition-icon {
    color: var(--yellow);
    font-size: 25px;
}

.competition-card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 48px;
    line-height: .95;
    margin-bottom: 25px;
}

.competition-card p {
    color: #999;
    font-size: 13px;
    line-height: 1.8;
    max-width: 390px;
    margin-bottom: 25px;
}

.text-link {
    display: inline-flex;
    gap: 15px;
    color: var(--yellow);
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid var(--red);
    padding-bottom: 8px;
}

/* ROTINA */

.routine {
    background: var(--black);
}

.gallery {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: none;
    background: #191919;
    cursor: pointer;
    text-align: left;
}

.gallery-large {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
}

.gallery-item span {
    position: absolute;
    bottom: 18px;
    left: 20px;
    z-index: 2;
    color: white;
    font-size: 10px;
    letter-spacing: 1.5px;
}

/* CONQUISTAS */

.achievements {
    background: #171717;
}

.achievement-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.achievement-content h2 {
    margin-top: 20px;
}

.achievement-content h2 span {
    color: var(--red);
}

.achievement-content p {
    color: #999;
    font-size: 14px;
    line-height: 2;
    border-left: 2px solid var(--yellow);
    padding-left: 25px;
}

/* VALORES */

.values {
    background: #101010;
}

.values > h2 {
    margin: 20px 0 55px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #333;
}

.values-grid > div {
    padding: 30px;
    background: #101010;
    min-height: 150px;
    transition: .3s;
}

.values-grid > div:hover {
    background: #1b1b1b;
}

.values-grid span {
    color: var(--red);
    font-size: 11px;
}

.values-grid h3 {
    margin: 18px 0 9px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 25px;
}

.values-grid p {
    color: #888;
    font-size: 11px;
    line-height: 1.7;
}

/* CONTATO */

.contact {
    min-height: 470px;
    padding: 100px 10%;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #111;
}

.contact h2 {
    margin: 25px 0;
    font-size: clamp(50px, 8vw, 90px);
}

.contact h2 span {
    color: var(--red);
}

.contact p {
    color: #999;
    font-size: 13px;
    margin-bottom: 30px;
}

.contact .button {
    position: relative;
    z-index: 2;
}

.contact-rocket {
    position: absolute;
    right: 10%;
    top: 30px;
    font-size: 65px;
    color: rgba(217,54,54,.4);
    transform: rotate(20deg);
}

/* RODAPÉ */

.footer {
    padding: 30px 10%;
    border-top: 1px solid #292929;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
}

.footer p,
.footer span {
    font-size: 10px;
    color: #777;
}

/* LIGHTBOX */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,.95);
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    right: 35px;
    top: 20px;
    color: white;
    font-size: 40px;
    background: none;
    border: none;
    cursor: pointer;
}

/* RESPONSIVIDADE */

@media (max-width: 950px) {
    .header {
        padding: 0 5%;
    }

    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: 10px;
    }

    .section {
        padding: 85px 7%;
    }

    .hero {
        padding-left: 7%;
        padding-right: 7%;
    }

    .members-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .header {
        height: 70px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 25px;
        height: 2px;
        background: var(--yellow);
    }

    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #111;
        flex-direction: column;
        align-items: stretch;
        padding: 25px;
        border-bottom: 2px solid var(--red);
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        font-size: 13px;
        padding: 10px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 70px;
        padding-bottom: 100px;
    }

    .hero h1 {
        font-size: 75px;
    }

    .hero-visual {
        min-height: 350px;
        margin-top: 35px;
    }

    .hero-photo {
        height: 280px;
    }

    .hero-bottom {
        left: 7%;
        right: 7%;
    }

    .about-grid,
    .achievement-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .history-strip,
    .section-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 15px;
    }

    .member-photo {
        height: 220px;
    }

    .competition-grid {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 160px;
    }

    .gallery-large {
        grid-column: span 2;
        grid-row: auto;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 400px) {
    .members-grid {
        grid-template-columns: 1fr 1fr;
    }

    .member-photo {
        height: 180px;
    }

    .hero h1 {
        font-size: 60px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

}