@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --black: #080808;
  --black-2: #111111;
  --black-3: #171717;
  --paper: #f3f0ea;
  --white: #ffffff;
  --red: #e32930;
  --text: #171717;
  --muted: #6e6e6e;
  --line: rgba(255,255,255,.14);
  --line-dark: rgba(0,0,0,.12);
  --max: 1240px;
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

img { width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.icon-sprite { display: none; }

.icon {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

/* =========================
   BASE / MOBILE FIRST
========================= */
.container {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.7px;
  color: var(--red);
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 23px;
  height: 3px;
  background: var(--red);
}

.section-title {
  margin-top: 8px;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(48px, 15vw, 72px);
  line-height: .86;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.section-title span { color: var(--red); }

.body-copy {
  color: #c9c9c9;
  font-size: 14px;
  line-height: 1.65;
  max-width: 620px;
}

.paper .body-copy { color: #555; }

/* =========================
   HEADER
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(8,8,8,.92);
  transition: .3s ease;
}

.site-header.scrolled {
  background: rgba(8,8,8,.98);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: max-content;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-copy { line-height: .9; }

.brand-wordmark {
  width: 102px;
  height: auto;
}

.brand-copy span {
  display: block;
  margin-top: 0;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .7px;
  color: #cfcfcf;
}

.nav-links {
  position: fixed;
  top: 73px;
  left: 15px;
  right: 15px;
  margin: 0;
  padding: 18px;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  background: rgba(10,10,10,.985);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0,0,0,.38);
}

.nav-links.open { display: flex; }

.nav-links a {
  width: 100%;
  padding: 12px 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ddd;
  letter-spacing: .5px;
}

.nav-links a::after { display: none; }

.nav-cta { display: none; }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  color: #fff;
  border-radius: 9px;
  font-size: 19px;
  cursor: pointer;
}

/* =========================
   BUTTONS
========================= */
.btn-red,
.btn-outline,
.btn-whatsapp,
.btn-instagram {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 7px;
  padding: 13px 18px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .45px;
}

.btn-red {
  background: var(--red);
  color: #fff;
  border: 0;
  box-shadow: 0 12px 25px rgba(227,41,48,.15);
}

.btn-outline {
  gap: 9px;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(0,0,0,.12);
  color: #fff;
}

.btn-whatsapp,
.btn-instagram {
  width: 100%;
}

.btn-whatsapp {
  background: #25d366;
  color: #071b0e;
}

.btn-instagram {
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.06);
  color: #fff;
}

.btn-whatsapp .icon,
.btn-instagram .icon,
.nav-cta .icon,
.social .icon,
.modality-social .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* =========================
   HERO
========================= */
.hero {
  min-height: 720px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 58px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.66) 43%, rgba(0,0,0,.98) 100%),
    url('../assets/images/equipe-gracie-barra-limpa.png') center 46%/cover no-repeat;
}

.hero-whatsapp {
  position: fixed;
  z-index: 30;
  left: 16px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  max-width: calc(100% - 32px);
  padding: 0 15px 0 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: linear-gradient(180deg, #32e077, #20b95a);
  color: #071b0e;
  box-shadow: 0 12px 28px rgba(21,93,48,.32);
  cursor: pointer;
}

.hero-whatsapp-label {
  display: inline;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.hero-whatsapp-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(7,27,14,.12);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.hero-whatsapp .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 70px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero-location {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: #d4d4d4;
}

.hero h1 {
  margin-top: 0;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(78px, 24vw, 125px);
  line-height: .78;
  letter-spacing: .3px;
  text-transform: uppercase;
  max-width: 520px;
}

.hero h1 span { color: var(--red); }

.hero p {
  margin-top: 0;
  max-width: 520px;
  color: #dedede;
  font-size: 14px;
  line-height: 1.6;
}

.actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  margin-top: 0;
  max-width: 360px;
}

.hero-side-note { display: none; }

/* =========================
   BENEFITS
========================= */
.benefits {
  background: var(--paper);
  color: var(--text);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.benefit {
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}

.benefit:last-child { border-bottom: 0; }

.benefit-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(227,41,48,.1);
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 12px;
}

.benefit h3 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 24px;
  letter-spacing: .35px;
}

.benefit p {
  margin-top: 5px;
  font-size: 12px;
  color: #636363;
}

/* =========================
   SECTION HEAD
========================= */
.section-head {
  display: block;
  margin-bottom: 27px;
}

.section-head .micro-link {
  display: none;
}

.section-head .micro-link.gallery-note {
  display: block;
  margin-top: 12px;
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .6px;
}

/* =========================
   MODALITIES
========================= */
.modalities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
}

.modality {
  position: relative;
  min-height: 390px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
}

.modality::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.94), rgba(0,0,0,.04) 68%);
}

.modality.muay {
  background: url('../assets/images/muay-thai-turma.png') center/cover no-repeat;
}

.modality.jiu {
  background: url('../assets/images/jiu-jitsu-equipe-a.png') center 42%/cover no-repeat;
}

.modality-content {
  position: absolute;
  left: 21px;
  right: 21px;
  bottom: 22px;
  z-index: 2;
}

.modality-tag {
  color: var(--red);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.modality h3 {
  margin-top: 5px;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 54px;
  line-height: .82;
}

.modality p {
  margin-top: 10px;
  max-width: 510px;
  color: #dedede;
  font-size: 12px;
  line-height: 1.55;
}

.modality-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 13px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
}

.modality-social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  margin-top: 11px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 6px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .45px;
  text-transform: uppercase;
}

.modality-social:hover {
  background: rgba(255,255,255,.12);
}

/* =========================
   ACADEMY SPLIT
========================= */
.paper {
  background: var(--paper);
  color: var(--text);
}

.split {
  display: grid;
  grid-template-columns: 1fr;
}

.split-media {
  min-height: 340px;
  background: url('../assets/images/jiu-jitsu-treino.png') center/cover no-repeat;
  position: relative;
}

.split-content {
  padding: 56px 28px;
}

.split-content p + p { margin-top: 15px; }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 27px;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.stat {
  padding: 16px 14px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.stat strong {
  display: block;
  font-family: 'Bebas Neue', Impact, sans-serif;
  color: var(--red);
  font-size: 40px;
  line-height: .85;
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 8px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 800;
  color: #555;
}

/* =========================
   MASTER
========================= */
.master {
  background: linear-gradient(180deg, #111, #080808);
}

.master-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
}

.master-content {
  padding: 7px 0;
}

.master-content p { margin-top: 17px; }

.master-credentials {
  margin-top: 25px;
  border-left: 2px solid var(--red);
  padding-left: 16px;
  display: grid;
  gap: 13px;
}

.credential {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 9px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .65px;
  text-transform: uppercase;
  color: #d8d8d8;
}

.credential-mark {
  flex: 0 0 auto;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  color: var(--red);
  font-size: 11px;
}

/* =========================
   SCHEDULE
========================= */
.schedule {
  background: var(--paper);
  color: var(--text);
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 46px;
}

.schedule-box h3 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 42px;
}

.schedule-line {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
}

.schedule-day {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 1px;
}

.schedule-time {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.schedule-note {
  margin-top: 17px;
  font-size: 10px;
  line-height: 1.55;
  color: #666;
}

/* =========================
   GALLERY
========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 170px;
  gap: 8px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 9px;
  position: relative;
  background: var(--black-3);
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
}

.gallery-item:first-child {
  grid-column: 1 / -1;
  grid-row: span 1;
}

.gallery-label {
  position: absolute;
  left: 9px;
  bottom: 9px;
  z-index: 2;
  background: rgba(0,0,0,.65);
  border: 1px solid rgba(255,255,255,.12);
  padding: 7px 9px;
  border-radius: 6px;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 900;
}

/* =========================
   FINAL CTA
========================= */
.final-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #171717, #080808);
}

.final-cta::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  right: -95px;
  top: -100px;
  background: rgba(227,41,48,.18);
  filter: blur(22px);
}

.cta-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
  padding: 70px 0;
}

.final-cta h2 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(57px, 18vw, 92px);
  line-height: .82;
  max-width: 700px;
  margin-bottom: 0;
}

.final-cta h2 span { color: var(--red); }

.cta-side {
  width: 100%;
  max-width: 380px;
  margin-top: 6px;
}

.cta-side p {
  color: #d2d2d2;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.cta-side .btn-red {
  width: 100%;
}

.cta-actions {
  display: grid;
  gap: 14px;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 45px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 22px;
}

.footer-grid .footer-col:first-child {
  grid-column: 1 / -1;
}

.footer-col h4 {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #9b9b9b;
  margin-bottom: 12px;
}

.footer-col p,
.footer-col a {
  color: #cfcfcf;
  font-size: 10px;
}

.location-link {
  display: inline-block;
  margin-top: 8px;
  color: #fff !important;
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 13px;
}

.social {
  min-height: 34px;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}

.social .icon {
  width: 14px;
  height: 14px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #777;
  font-size: 8px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* =========================
   SIMPLE REVEAL
========================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================
   TABLET / DESKTOP ENHANCEMENTS
   Base stays mobile-first.
========================= */
@media (min-width: 680px) {
  .container {
    width: min(var(--max), calc(100% - 48px));
  }

  .hero-content {
    width: 100%;
  }

  .hero {
    background-image:
      linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.66) 43%, rgba(0,0,0,.98) 100%),
      url('../assets/images/equipe-gracie-barra-limpa.png');
    background-position: center 46%;
  }

  .section {
    padding: 90px 0;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit {
    padding: 25px;
    border-right: 1px solid var(--line-dark);
  }

  .benefit:nth-child(2) { border-right: 0; }
  .benefit:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }

  .modalities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .split-media {
    min-height: 520px;
  }

  .split-content {
    padding: 70px 48px;
  }

  .schedule-grid {
    grid-template-columns: 1fr 1fr;
    gap: 55px;
  }

  .gallery-grid {
    grid-template-columns: 1.4fr .8fr .8fr;
    grid-template-rows: 220px 220px;
  }

  .gallery-item:first-child {
    grid-column: auto;
    grid-row: span 2;
  }

  .cta-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .cta-side {
    min-width: 290px;
    margin-top: 0;
  }

  .footer-grid {
    grid-template-columns: 1.3fr .8fr .9fr 1fr;
    gap: 32px;
  }

  .footer-grid .footer-col:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 960px) {
  html { scroll-padding-top: 84px; }

  .site-header {
    background: linear-gradient(to bottom, rgba(0,0,0,.92), rgba(0,0,0,0));
  }

  .nav {
    min-height: 84px;
    gap: 26px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-wordmark { width: 124px; }
  .brand-copy span { font-size: 8px; }

  .nav-links {
    position: static;
    margin-left: auto;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 28px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-links a {
    position: relative;
    width: auto;
    padding: 0;
    font-size: 12px;
    color: #dbdbdb;
  }

  .nav-links a::after {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: .25s ease;
  }

  .nav-links a:hover::after {
    transform: scaleX(1);
  }

  .nav-cta {
    display: inline-flex;
    min-height: auto;
    padding: 13px 18px;
    border-radius: 7px;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .menu-toggle { display: none; }

  .hero-whatsapp {
    position: absolute;
    top: 110px;
    right: max(28px, calc((100% - var(--max)) / 2));
    left: auto;
    bottom: auto;
    width: auto;
    height: 38px;
    min-height: 38px;
    gap: 8px;
    padding: 0 13px;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0,0,0,.24);
  }

  .hero-whatsapp-label,
  .hero-whatsapp-arrow {
    display: inline-flex;
  }

  .hero-whatsapp-label {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .45px;
    text-transform: uppercase;
  }

  .hero-whatsapp-arrow {
    width: 18px;
    height: 18px;
    background: rgba(7,27,14,.1);
  }

  .hero {
    min-height: 860px;
    align-items: center;
    padding-bottom: 0;
  }

  .hero-content {
    padding-top: 80px;
  }

  .hero h1 {
    font-size: clamp(100px, 11vw, 156px);
  }

  .hero p {
    font-size: 17px;
  }

  .actions {
    display: flex;
    max-width: none;
  }

  .cta-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .hero-side-note {
    display: block;
    position: absolute;
    right: 30px;
    bottom: 38px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
  }

  .section-title {
    font-size: clamp(54px, 6vw, 82px);
  }

  .section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
  }

  .section-head .micro-link {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: #9f9f9f;
  }

  .section-head .micro-link.gallery-note { margin-top: 0; }

  .section-head .micro-link span { color: var(--red); }
}

/* Larger desktop still uses same component proportions */
@media (min-width: 1200px) {
  .hero h1 { font-size: 156px; }
  .modality { min-height: 430px; }
  .split-media { min-height: 580px; }
  .split-content { padding: 85px 90px; }
  .gallery-grid { grid-template-rows: 250px 250px; }
  .cta-wrap { padding: 84px 0; }
  .final-cta h2 { font-size: 110px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}