:root {
    --red: #34937a;
    --green: #34937a;
    --yellow: #ffcc00;
    --black: #171719;
    --ink: #232124;
    --paper: #e6e7e8;
    --muted: #aeb3b1;
    --line: rgba(23, 23, 25, .14);
}

.site-header .brand img {
    display: block;
    width: 76px;
    height: 67px;
    object-fit: contain;
}

.footer-brand img {
    width: 130px;
    height: auto;
    object-fit: contain;
}

.btn-red:hover,
.btn-red:focus {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

.hero-title span,
.display-title em,
.impact em {
    color: var(--yellow);
}

.eyebrow::before {
    background: var(--yellow);
}

.section-kicker span {
    color: var(--green);
}

.section-kicker.light span {
    color: var(--yellow);
}

.challenge,
.red-side {
    background: var(--green);
}

.challenge h2 em {
    color: var(--yellow);
}

.challenge-number strong {
    color: #1c5647;
}

.exchange-mark,
.venue-body i {
    color: var(--green);
}

.direct-contact i {
    color: #fff;
}

.impact-list span:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.team {
    position: relative;
    overflow: hidden;
    background: #101513;
    color: #fff;
}

.team::before {
    content: "RHINNOS";
    position: absolute;
    top: 45px;
    right: -3vw;
    color: rgba(52, 147, 122, .06);
    font: 800 clamp(120px, 19vw, 310px)/1 Arial, sans-serif;
    letter-spacing: -.07em;
}

.team .section-kicker::after {
    background: rgba(230, 231, 232, .16);
}

.team-head {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 60px;
}

.team-head p {
    width: 360px;
    color: var(--muted);
    line-height: 1.7;
}

.team-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.player-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    margin: 0;
    background: #242826;
}

.player-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s, filter .5s;
}

.player-card::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(0deg, rgba(8, 12, 10, .9), transparent);
    opacity: 0;
    transition: opacity .35s;
}

.player-card figcaption {
    position: absolute;
    z-index: 2;
    bottom: 18px;
    left: 20px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .35s, transform .35s;
}

.player-card figcaption span {
    color: var(--yellow);
    font-size: 8px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.player-card figcaption strong {
    font: 700 20px Arial, sans-serif;
    text-transform: uppercase;
}

.player-card:hover img {
    transform: scale(1.035);
    filter: saturate(1.1);
}

.player-card:hover::after,
.player-card:hover figcaption {
    opacity: 1;
    transform: none;
}

@media (max-width: 900px) {
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .team-head { display: block; }
    .team-head p { width: auto; max-width: 560px; margin-top: 25px; }
}

@media (max-width: 600px) {
    .site-header .brand img { width: 62px; height: 55px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .player-card figcaption { display: none; }
}

/* Carrossel da equipe */
.team-intro {
    width: 360px;
}

.team-intro > p {
    width: auto;
}

.carousel-controls {
    display: flex;
    gap: 8px;
    margin-top: 24px;
}

.carousel-button {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(230, 231, 232, .35);
    background: transparent;
    color: #fff;
    transition: background .2s, border-color .2s, color .2s, opacity .2s;
}

.carousel-button:hover:not(:disabled),
.carousel-button:focus-visible {
    border-color: var(--yellow);
    background: var(--yellow);
    color: var(--black);
}

.carousel-button:disabled {
    cursor: not-allowed;
    opacity: .25;
}

.team-carousel {
    position: relative;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    outline: none;
}

.team-carousel::-webkit-scrollbar {
    display: none;
}

.team-carousel:focus-visible {
    box-shadow: 0 0 0 2px var(--yellow);
}

.team-carousel-track {
    display: flex;
    gap: 14px;
    width: max-content;
}

.team-carousel-track .player-card {
    flex: 0 0 clamp(230px, 23vw, 292px);
    width: clamp(230px, 23vw, 292px);
    scroll-snap-align: start;
}

.carousel-progress {
    height: 2px;
    margin-top: 28px;
    overflow: hidden;
    background: rgba(230, 231, 232, .17);
}

.carousel-progress span {
    display: block;
    width: 20%;
    height: 100%;
    background: var(--yellow);
    transition: width .15s linear;
}

@media (max-width: 900px) {
    .team-intro { width: auto; max-width: 560px; }
    .team-carousel-track .player-card { flex-basis: min(42vw, 300px); width: min(42vw, 300px); }
}

@media (max-width: 600px) {
    .team-carousel-track { gap: 8px; }
    .team-carousel-track .player-card { flex-basis: 78vw; width: 78vw; }
    .carousel-controls { margin-top: 18px; }
}

/* Ampliação de fotos */
.lightbox-trigger {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
    cursor: zoom-in;
}

.lightbox-trigger:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: -3px;
}

.player-card::after {
    pointer-events: none;
}

.gallery-strip .lightbox-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-lightbox {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(5, 8, 7, .96);
    color: #fff;
}

.photo-lightbox::backdrop {
    background: rgba(5, 8, 7, .88);
    backdrop-filter: blur(8px);
}

.lightbox-shell {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 68px 90px 45px;
}

.lightbox-shell figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
}

.lightbox-shell figure img {
    display: block;
    max-width: min(1200px, 100%);
    max-height: calc(100vh - 145px);
    object-fit: contain;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .35);
}

.lightbox-shell figcaption {
    padding-top: 12px;
    color: #c8cdcb;
    font-size: 12px;
    text-align: center;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .34);
    background: rgba(10, 14, 12, .72);
    color: #fff;
    transition: background .2s, color .2s, border-color .2s;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
    border-color: var(--yellow);
    background: var(--yellow);
    color: var(--black);
}

.lightbox-close {
    top: 22px;
    right: 24px;
}

.lightbox-previous { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 600px) {
    .lightbox-shell { padding: 70px 15px 70px; }
    .lightbox-shell figure img { max-height: calc(100vh - 165px); }
    .lightbox-nav { top: auto; bottom: 14px; }
    .lightbox-previous { left: calc(50% - 56px); }
    .lightbox-next { right: calc(50% - 56px); }
    .lightbox-close { top: 14px; right: 15px; }
}
