/* ============ RESET & TOKENS ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #c1121f;
  --red-dark: #8b0000;
  --black: #14100f;
  --ink: #1c1917;
  --gold: #f2c94c;
  --white: #ffffff;
  --paper: #f5f4f2;
  --muted: #ecebe8;
  --gray: #6b6560;
  --border: #e2e0dc;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(20, 16, 15, 0.08);
  --shadow: 0 12px 30px rgba(20, 16, 15, 0.12);
  --shadow-lg: 0 24px 60px rgba(20, 16, 15, 0.22);
  --header-h: 76px;

  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(193, 18, 31, 0.35);
}
.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(139, 0, 0, 0.45);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--red);
  transform: translateY(-3px);
}

.btn--outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn--outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--lg {
  font-size: 1.05rem;
  padding: 1rem 2.4rem;
}
.btn--sm {
  font-size: 0.78rem;
  padding: 0.6rem 1.2rem;
}
.btn--block {
  width: 100%;
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(20, 16, 15, 0.35);
  backdrop-filter: blur(6px);
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}
.header.scrolled {
  background: var(--black);
  box-shadow: var(--shadow);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  font-size: 1.15rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}
.nav__link {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--white);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__link:hover,
.nav__link.active {
  color: var(--gold);
}
.nav__link.active::after {
  transform: scaleX(1);
}
.nav__link--cta {
  background: var(--red);
  color: var(--white);
}
.nav__link--cta::after {
  display: none;
}
.nav__link--cta:hover {
  background: var(--red-dark);
  color: var(--white);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============ HERO / SLIDER ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
}
.slider {
  height: 100%;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.08);
  transition: opacity 0.9s ease, transform 6s ease;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 16, 15, 0.9) 0%, rgba(20, 16, 15, 0.6) 45%, rgba(139, 0, 0, 0.35) 100%);
}
.slide__content {
  position: relative;
  color: var(--white);
  max-width: 640px;
  padding-top: var(--header-h);
}
.slide__crest {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.slide__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.slide__subtitle {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  color: var(--gold);
  margin-top: 0.5rem;
  letter-spacing: 0.03em;
}
.slide__tag {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-top: 0.8rem;
}
.slide__content .btn {
  margin-top: 1.8rem;
}

.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(20, 16, 15, 0.4);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.slider__arrow:hover {
  background: var(--red);
  border-color: var(--red);
}
.slider__arrow--prev { left: 24px; }
.slider__arrow--next { right: 24px; }

.slider__dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.slider__dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.slider__dots button.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.15);
}

/* ============ SECTIONS ============ */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.section--dark {
  background: var(--red-dark);
}
.section--muted {
  background: var(--muted);
}

.section__head {
  text-align: center;
  margin-bottom: 3rem;
}
.section__kicker {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.section__kicker--light { color: var(--gold); }
.section__title {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.section__title--light { color: var(--white); }

/* ============ MATCHES ============ */
.matches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}
.match-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.match-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.match-card__league {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--red);
  background: rgba(193, 18, 31, 0.08);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}
.match-card__teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  width: 100%;
}
.match-card__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}
.match-card__team img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.match-card__team span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}
.match-card__x {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gray);
}
.match-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--gray);
}
.match-card__info span:first-child {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}

/* ============ NEWS ============ */
.news {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.news-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card__media img {
  transform: scale(1.08);
}
.news-card__body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.news-card__date {
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--red);
  text-transform: uppercase;
}
.news-card__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
}
.news-card__excerpt {
  font-size: 0.92rem;
  color: var(--gray);
  flex: 1;
}
.news-card__link {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--red);
  transition: gap 0.2s ease, color 0.2s ease;
}
.news-card__link:hover {
  color: var(--red-dark);
}

/* ============ SÓCIO ============ */
.socio {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: clamp(4rem, 10vw, 7rem) 0;
  text-align: center;
}
.socio__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(139, 0, 0, 0.88), rgba(20, 16, 15, 0.92));
}
.socio__content {
  position: relative;
  color: var(--white);
  max-width: 760px;
}
.socio__title {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.1;
  margin: 0.6rem 0 1.2rem;
  text-wrap: balance;
}
.socio__text {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  text-wrap: pretty;
}

/* ============ ACADEMIA ============ */
.academia {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.academia__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.academia__text {
  font-size: 1.05rem;
  color: var(--gray);
  margin: 1.2rem 0 2rem;
  text-wrap: pretty;
}

/* ============ SHOP ============ */
.shop {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.6rem;
}
.product {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}
.product:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.product__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--muted);
}
.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product:hover .product__media img {
  transform: scale(1.07);
}
.product__body {
  padding: 1.3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.product__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
}
.product__price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--red);
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.footer__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20, 16, 15, 0.9), rgba(20, 16, 15, 0.95));
}
.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 2.5rem;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}
.footer__crest {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 0.6rem;
}
.footer__brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.2rem;
}
.footer__brand-sub {
  color: var(--gold);
  font-size: 0.9rem;
}
.footer__heading {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.footer__contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.footer__contact a:hover {
  color: var(--gold);
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__links a {
  font-size: 0.95rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer__links a:hover {
  color: var(--gold);
  padding-left: 6px;
}
.footer__bar {
  position: relative;
  background: var(--black);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.85rem;
}
.footer__bar span {
  color: var(--gold);
  font-weight: 600;
}

/* ============ TO TOP ============ */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 90;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  background: var(--red-dark);
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .academia {
    grid-template-columns: 1fr;
  }
  .academia__media {
    order: -1;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .socio {
    background-attachment: scroll;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--black);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav.open {
    max-height: 480px;
    box-shadow: var(--shadow);
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1.2rem;
  }
  .nav__link {
    display: block;
    padding: 0.9rem 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav__link::after {
    display: none;
  }
  .nav__link--cta {
    text-align: center;
    margin-top: 0.6rem;
  }
  .hamburger {
    display: flex;
  }
  .slider__arrow {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }
  .slider__arrow--prev { left: 12px; }
  .slider__arrow--next { right: 12px; }
}

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__brand {
    align-items: center;
  }
  .footer__contact,
  .footer__links {
    align-items: center;
  }
  .brand__name {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    bottom: 100px; /* acima do botão de voltar ao topo */

    width: 65px;
    height: 65px;

    background: #25D366;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    text-decoration: none;

    box-shadow: 0 8px 25px rgba(0,0,0,.35);

    z-index: 9999;

    transition: .3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20b358;
}
