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

/* ─────────────────────────────────────────
   TOKENS & RESET
───────────────────────────────────────── */
:root {
  --laranja: #ff7a00;
  --laranja-hover: #e06a00;
  --preto: #000000;
  --preto-2: #0c0c0c;
  --preto-3: #131313;
  --cinza: #2a2a2a;
  --cinza-borda: #222222;
  --branco: #ffffff;
  --texto-sub: #999999;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--preto);
  color: var(--branco);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

h1,
h2,
h3,
h4 {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.05;
}

/* ─────────────────────────────────────────
   UTILIDADES
───────────────────────────────────────── */
.text-laranja {
  color: var(--laranja);
}

.btn {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 2px solid var(--laranja);
  background: var(--laranja);
  color: var(--preto);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
  background: transparent;
  color: var(--laranja);
}

.btn-outline {
  background: transparent;
  color: var(--branco);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--laranja);
  color: var(--laranja);
  background: transparent;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--laranja);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
  line-height: 1.05;
}

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

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 4rem;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease), border-color 0.3s;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(10px);
  padding: 0.9rem 4rem;
  border-bottom-color: var(--cinza-borda);
}

.header-logo img {
  height: 44px;
}

nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--laranja);
  transition: width 0.25s var(--ease);
}

nav a:hover,
nav a.active {
  color: var(--branco);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.nav-sponsor-btn {
  background: var(--laranja);
  color: var(--preto) !important;
  padding: 0.6rem 1.4rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1px;
  transition: background 0.2s !important;
}

.nav-sponsor-btn::after {
  display: none;
}

.nav-sponsor-btn:hover {
  background: var(--laranja-hover) !important;
  color: var(--preto) !important;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--branco);
  cursor: pointer;
  padding: 4px;
}

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--preto);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

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

.nav-mobile a {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--laranja);
}

.nav-mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--branco);
  cursor: pointer;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  overflow: hidden;
  background: var(--preto-2);
}

/* Imagem de fundo (team.jpeg) */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../imagens/team.jpeg') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 10s ease-out;
}

/* Gradiente para leitura dos textos */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.85) 80%,
      rgba(0, 0, 0, 0.95) 100%),
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.5) 0%,
      transparent 20%,
      transparent 80%,
      rgba(0, 0, 0, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo flutuante e brilhante */
.hero-logo-wrapper {
  margin: 0;
  margin-bottom: 1.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  height: clamp(150px, 25vw, 220px);
  width: auto;
  filter: drop-shadow(0 0 30px rgba(255, 122, 0, 0.45));
  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {

  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 30px rgba(255, 122, 0, 0.45));
  }

  50% {
    transform: translateY(-8px) scale(1.02);
    filter: drop-shadow(0 0 40px rgba(255, 122, 0, 0.65));
  }
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--laranja);
  margin-bottom: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--laranja);
}

.hero-cta {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}



.stats-bar {
  background: var(--laranja);
  padding: 2rem 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  color: var(--preto);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 0.3rem;
}

/* ─────────────────────────────────────────
   SEÇÕES DE CONTEÚDO
───────────────────────────────────────── */
.section {
  padding: 7rem 4rem;
  border-bottom: 1px solid var(--cinza-borda);
}

.section-dark {
  background: var(--preto-2);
}

.section-darker {
  background: var(--preto-3);
}

/* Sobre / split */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.split-image-wrapper {
  position: relative;
}

.split-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--cinza-borda);
}

/* Accent line */
.split-image-wrapper::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 60px;
  height: 60px;
  border-top: 3px solid var(--laranja);
  border-left: 3px solid var(--laranja);
  z-index: 1;
}

.split-text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.split-text p {
  font-size: 1.05rem;
  color: var(--texto-sub);
  line-height: 1.8;
}

/* ─────────────────────────────────────────
   HOME — CONQUISTAS
───────────────────────────────────────── */
.home-conquistas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--cinza-borda);
  border: 1px solid var(--cinza-borda);
}

.hc-card {
  background: var(--preto-2);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: inherit;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background 0.2s var(--ease);
}

.hc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--laranja);
  transition: height 0.3s var(--ease);
}

.hc-card:hover {
  background: var(--preto-3);
}

.hc-card:hover::before {
  height: 100%;
}

.hc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.hc-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--laranja);
}

.hc-year {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--texto-sub);
  letter-spacing: 1px;
}

.hc-place {
  font-size: 4rem;
  font-weight: 900;
  color: var(--laranja);
  line-height: 1;
}

.hc-title {
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.3px;
  line-height: 1.15;
}

.hc-desc {
  font-size: 0.88rem;
  color: var(--texto-sub);
  line-height: 1.7;
  flex: 1;
}

.hc-cta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--laranja);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  margin-top: 0.5rem;
}

.hc-card:hover .hc-cta {
  opacity: 1;
  transform: translateX(0);
}

/* Responsivo */
@media (max-width: 1100px) {
  .home-conquistas {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .home-conquistas {
    grid-template-columns: 1fr;
  }

  .hc-place {
    font-size: 3rem;
  }
}


/* Cards de Conquistas */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--cinza-borda);
  border: 1px solid var(--cinza-borda);
}

.card-item {
  background: var(--preto-2);
  padding: 2.5rem;
  transition: background 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}

.card-item:hover {
  background: var(--preto-3);
}

.card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--laranja);
  transition: height 0.3s var(--ease);
}

.card-item:hover::before {
  height: 100%;
}

a.card-item {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--laranja);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

a.card-item:hover .card-link {
  opacity: 1;
  transform: translateX(0);
}

.card-year {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--laranja);
  margin-bottom: 0.6rem;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.card-place {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--laranja);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.card-desc {
  color: var(--texto-sub);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   TIMELINE (equipe.html)
───────────────────────────────────────── */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--cinza-borda);
  transform: translateX(-50%);
}

.tl-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  margin-bottom: 3rem;
  align-items: start;
}

.tl-item:nth-child(even) .tl-content {
  grid-column: 3;
  text-align: left;
}

.tl-item:nth-child(odd) .tl-content {
  grid-column: 1;
  text-align: right;
}

.tl-dot {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 1.5rem;
}

.tl-dot-inner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--laranja);
  border: 3px solid var(--preto-2);
  box-shadow: 0 0 0 3px var(--laranja);
}

.tl-content {
  padding: 0 2rem 0 2rem;
}

.tl-year {
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--laranja);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.tl-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.tl-desc {
  color: var(--texto-sub);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   PATROCINADORES TIERS
───────────────────────────────────────── */
.sponsor-tier {
  margin-bottom: 5rem;
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid;
  margin-bottom: 2.5rem;
}

.tier-ouro .tier-badge {
  color: #FFD700;
  border-color: #FFD700;
}

.tier-prata .tier-badge {
  color: #C0C0C0;
  border-color: #C0C0C0;
}

.tier-bronze .tier-badge {
  color: #CD7F32;
  border-color: #CD7F32;
}

.tier-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.tier-ouro .tier-logos img {
  height: 100px;
}

.tier-prata .tier-logos img {
  height: 75px;
}

.tier-bronze .tier-logos img {
  height: 55px;
  filter: grayscale(40%);
}

.tier-logos img {
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}

.tier-logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.sponsor-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 3rem;
  border: 1px dashed var(--cinza);
  color: var(--texto-sub);
  font-size: 1.1rem;
  font-weight: 600;
}

/* ─────────────────────────────────────────
   INSTAGRAM GRID
───────────────────────────────────────── */
.ig-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.ig-handle {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--laranja);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.ig-item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--preto-3);
  cursor: pointer;
}

.ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease), filter 0.4s;
  filter: grayscale(20%);
}

.ig-item:hover img {
  transform: scale(1.08);
  filter: grayscale(0%);
}

.ig-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.ig-overlay svg {
  width: 36px;
  height: 36px;
  fill: var(--branco);
}

.ig-item:hover .ig-overlay {
  opacity: 1;
}

.ig-placeholder {
  width: 100%;
  height: 100%;
  background: var(--preto-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--texto-sub);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.ig-placeholder svg {
  width: 32px;
  height: 32px;
  fill: var(--texto-sub);
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  background: var(--preto);
  border-top: 3px solid var(--laranja);
  padding: 5rem 4rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--cinza-borda);
  margin-bottom: 2rem;
}

/* Marca */
.footer-brand img {
  height: 50px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--texto-sub);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

/* Ícones sociais */
.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--cinza);
  /* sem border-radius — mantém o estilo reto do site */
  transition: border-color 0.2s, background 0.2s;
}

.footer-socials a:hover {
  border-color: var(--laranja);
  background: var(--laranja);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.7);
  transition: fill 0.2s;
}

.footer-socials a:hover svg {
  fill: var(--preto);
}

/* Colunas */
.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--texto-sub);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.7rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--laranja);
}

/* Endereço — texto simples, sem link */
.footer-addr {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Patrocinadores */
.footer-sponsors {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-sponsor-link {
  display: inline-flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.footer-sponsor-link:hover {
  opacity: 0.85;
}

.footer-sponsor-link img {
  height: 40px;
  object-fit: contain;
}

/* Rodapé inferior */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--texto-sub);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─────────────────────────────────────────
   CONTACT FAB + POPUP
───────────────────────────────────────── */
.contact-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  background: var(--laranja);
  color: var(--preto);
  border: none;
  cursor: pointer;
  padding: 1rem 1.8rem;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.35);
}

.contact-fab:hover {
  background: var(--laranja-hover);
}

.contact-fab svg {
  width: 18px;
  height: 18px;
  fill: var(--preto);
}

.contact-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  z-index: 9999;
  width: 90%;
  max-width: 400px;
  background: var(--preto-2);
  border: 1px solid var(--cinza);
  border-top: 3px solid var(--laranja);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  
  /* Sombra pro popup e 'overlay' escuro que cobre o resto da tela */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 0 100vmax rgba(0, 0, 0, 0.6);

  /* Animação de entrada */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Troca visibilidade animada */
.contact-popup.open {
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: all;
}

.contact-popup h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* Botão fechar */
.contact-popup__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--texto-sub);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
  transition: color 0.2s;
}

.contact-popup__close:hover {
  color: var(--branco);
}

.contact-popup input,
.contact-popup textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--preto-3);
  border: 1px solid var(--cinza);
  color: var(--branco);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
  resize: none;
}

.contact-popup input:focus,
.contact-popup textarea:focus {
  border-color: var(--laranja);
}

.contact-popup textarea {
  resize: vertical;
  min-height: 90px;
}

.contact-popup .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.form-error {
  display: none;
  font-size: 0.82rem;
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.35);
  border-radius: 6px;
  padding: 0.55rem 0.9rem;
  margin: 0;
  animation: fadeInShake 0.3s ease;
}

@keyframes fadeInShake {
  0%   { opacity: 0; transform: translateX(-6px); }
  50%  { transform: translateX(4px); }
  100% { opacity: 1; transform: translateX(0); }
}

.page-hero {
  padding: 10rem 4rem 5rem;
  border-bottom: 1px solid var(--cinza-borda);
}

.page-hero-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--laranja);
  margin-bottom: 1rem;
}

.page-hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
}



/* ─────────────────────────────────────────
   GALERIA DE CAMPEONATOS (equipe.html)
───────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--preto-3);
  cursor: pointer;
}

.gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.4s;
  filter: grayscale(30%);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  gap: 0.3rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--laranja);
}

.gallery-caption {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--branco);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--wide {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }
}

/* ─────────────────────────────────────────
   CARDS DE ROBÔS (robos.html)
───────────────────────────────────────── */
.robo-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--cinza-borda);
}

.robo-card:last-child {
  border-bottom: none;
}

.robo-card--reverse {
  direction: rtl;
}

.robo-card--reverse>* {
  direction: ltr;
}

.robo-img-wrap {
  position: relative;
}

.robo-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--cinza-borda);
  display: block;
}

.robo-year-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--laranja);
  color: var(--preto);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 0.35rem 0.9rem;
}

.robo-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.robo-name {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.robo-desc {
  color: var(--texto-sub);
  font-size: 1rem;
  line-height: 1.8;
}

.robo-specs {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--cinza-borda);
  margin-top: 0.5rem;
}

.robo-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.2rem;
  border-bottom: 1px solid var(--cinza-borda);
  font-size: 0.85rem;
}

.robo-spec-item:last-child {
  border-bottom: none;
}

.robo-spec-label {
  color: var(--texto-sub);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.robo-spec-value {
  font-weight: 700;
  color: var(--laranja);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.8rem;
}

@media (max-width: 900px) {

  .robo-card,
  .robo-card--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
    padding: 3rem 0;
  }
}


/* ─────────────────────────────────────────
   CONQUISTAS (conquistas.html)
───────────────────────────────────────── */
.conquest-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.conquest-highlight-img {
  position: relative;
}

.conquest-highlight-img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border: 1px solid var(--cinza-borda);
}

.conquest-highlight-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--laranja);
  color: var(--preto);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 0.35rem 0.9rem;
}

.conquest-highlight-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.conquest-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--laranja);
}

.conquest-highlight-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
}

.conquest-place-big {
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 900;
  color: var(--laranja);
  line-height: 1;
}

.conquest-highlight-desc {
  color: var(--texto-sub);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 480px;
}

/* Conquest Timeline */
.conquest-timeline {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.ct-item {
  display: grid;
  grid-template-columns: 160px 40px 1fr;
  align-items: start;
  gap: 0;
}

.ct-left {
  text-align: right;
  padding-right: 0;
  padding-top: 0.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ct-year {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--branco);
  line-height: 1;
}

.ct-comp {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--texto-sub);
}

.ct-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.3rem;
}

.ct-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--laranja);
  border: 3px solid var(--preto-2);
  box-shadow: 0 0 0 2px var(--laranja);
  flex-shrink: 0;
  z-index: 1;
}

.ct-dot--estreia {
  background: transparent;
  border-color: var(--laranja);
  box-shadow: 0 0 0 2px var(--laranja);
}

.ct-line {
  width: 1px;
  flex: 1;
  min-height: 60px;
  background: var(--cinza-borda);
  margin-top: 4px;
}

.ct-right {
  padding: 0 0 3rem 2rem;
  position: relative;
}

.ct-title {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.ct-desc {
  color: var(--texto-sub);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 480px;
}

.ct-place {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--laranja);
  line-height: 1;
}

.ct-place--estreia {
  color: var(--texto-sub);
  font-size: 1.8rem;
}

@media (max-width: 768px) {
  .conquest-highlight {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ct-item {
    grid-template-columns: 80px 30px 1fr;
  }

  .ct-year {
    font-size: 1rem;
  }

  .ct-place {
    position: static;
    display: block;
    font-size: 2rem;
    margin-top: 0.5rem;
  }
}

/* ─────────────────────────────────────────
   PROJETOS (projetos.html)
───────────────────────────────────────── */
.proj-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.proj-intro-text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.proj-intro-text p {
  color: var(--texto-sub);
  font-size: 1.05rem;
  line-height: 1.8;
}

.proj-intro-img {
  position: relative;
}

.proj-intro-img img {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--cinza-borda);
  display: block;
}

.proj-intro-stat {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--laranja);
  color: var(--preto);
  padding: 1.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.proj-stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.proj-stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Proj List */
.proj-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--cinza-borda);
  border: 1px solid var(--cinza-borda);
}

.proj-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--preto-2);
}

.proj-item--reverse {
  direction: rtl;
}

.proj-item--reverse>* {
  direction: ltr;
}

.proj-item-img {
  overflow: hidden;
}

.proj-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.4s;
  filter: grayscale(20%);
}

.proj-item:hover .proj-item-img img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.proj-item-content {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.proj-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--cinza);
  line-height: 1;
}

.proj-item-title {
  font-size: 1.6rem;
  line-height: 1.1;
}

.proj-item-desc {
  color: var(--texto-sub);
  font-size: 0.95rem;
  line-height: 1.8;
}

.proj-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.proj-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--laranja);
  color: var(--laranja);
}

/* Proj Numbers */
.proj-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--cinza-borda);
  border: 1px solid var(--cinza-borda);
}

.proj-num-item {
  background: var(--preto-3);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  transition: background 0.2s;
}

.proj-num-item:hover {
  background: var(--preto-2);
}

.proj-num-value {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--laranja);
  line-height: 1;
}

.proj-num-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--texto-sub);
}

/* ─────────────────────────────────────────
   REVEAL ANIMATIONS
───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ─────────────────────────────────────────
   PAGE HERO (páginas internas)
───────────────────────────────────────── */
.page-hero {
  padding: 10rem 4rem 5rem;
  border-bottom: 1px solid var(--cinza-borda);
}

.page-hero-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--laranja);
  margin-bottom: 1rem;
}

.page-hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
}

/* ─────────────────────────────────────────
   ROBO-NAV — Seletor de modalidade (robos.html)
───────────────────────────────────────── */
.robo-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--preto-2);
  border-bottom: 1px solid var(--cinza-borda);
  flex-wrap: wrap;
}

.robo-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 1.4rem 2.5rem;
  border-bottom: 3px solid transparent;
  text-decoration: none;
  color: var(--texto-sub);
  font-family: "Inter", sans-serif;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
  position: relative;
  cursor: pointer;
  min-width: 140px;
}

/* Logo da competição */
.robo-nav-logo-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
  flex-shrink: 0;
}

.robo-nav-btn span {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--branco);
  transition: color 0.25s;
}

.robo-nav-btn em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--texto-sub);
  display: block;
  text-transform: uppercase;
  opacity: 0.65;
  transition: opacity 0.25s, color 0.25s;
}

.robo-nav-btn:hover,
.robo-nav-btn--active {
  background: rgba(255, 122, 0, 0.05);
  border-bottom-color: var(--laranja);
}

.robo-nav-btn:hover>svg,
.robo-nav-btn--active>svg {
  opacity: 1;
  color: var(--laranja);
}

.robo-nav-btn:hover span,
.robo-nav-btn--active span {
  color: var(--laranja);
}

.robo-nav-btn:hover em,
.robo-nav-btn--active em {
  opacity: 1;
  color: var(--laranja);
}

@media (max-width: 600px) {
  .robo-nav-btn {
    flex: 1;
    padding: 1rem 0.5rem;
    min-width: unset;
  }

  .robo-nav-btn em {
    display: none;
  }
}

/* ═══════════════════════════════════════════
   BREAKPOINT: DESKTOP MÉDIO — max 1100px
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .robo-card {
    gap: 3rem;
  }

  .conquest-highlight {
    gap: 3.5rem;
  }

  .proj-intro {
    gap: 3.5rem;
  }

  .proj-item-content {
    padding: 2.5rem;
  }
}

/* ═══════════════════════════════════════════
   BREAKPOINT: TABLET — max 900px
═══════════════════════════════════════════ */
@media (max-width: 900px) {

  /* ── Navbar ── */
  header {
    padding: 1rem 2rem;
  }

  header.scrolled {
    padding: 0.8rem 2rem;
  }

  header nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  /* ── Seções ── */
  .section {
    padding: 5rem 2rem;
  }

  .page-hero {
    padding: 8rem 2rem 4rem;
  }

  /* ── Split grid (sobre, equipe, projetos intro) ── */
  .split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .split-image-wrapper {
    order: -1;
  }

  /* ── Robôs ── */
  .robo-card,
  .robo-card--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
    padding: 3rem 0;
  }

  /* ── Conquistas ── */
  .conquest-highlight {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .conquest-highlight-desc {
    max-width: 100%;
  }

  /* ── Projetos ── */
  .proj-intro {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .proj-intro-img {
    margin-bottom: 1.5rem;
    /* espaço pro stat badge que sai pra baixo */
  }

  .proj-intro-stat {
    bottom: -1.5rem;
    left: 1rem;
  }

  .proj-item,
  .proj-item--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .proj-item-img {
    aspect-ratio: 16/9;
  }

  .proj-item-content {
    padding: 2.5rem 2rem;
  }

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

  /* ── Footer ── */
  .footer {
    padding: 4rem 2rem 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* ═══════════════════════════════════════════
   BREAKPOINT: TABLET PEQUENO / MOBILE — max 768px
═══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Hero */
  .hero {
    min-height: 520px;
    padding: 5rem 1.5rem 3rem;
  }

  .hero-logo {
    height: clamp(120px, 32vw, 170px);
  }

  .hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  /* Seções & Headers */
  .section {
    padding: 4rem 1.5rem;
  }

  .page-hero {
    padding: 7rem 1.5rem 3rem;
  }

  .page-hero-title {
    font-size: clamp(2.2rem, 8vw, 3.8rem);
  }

  /* Home Conquistas */
  .home-conquistas {
    grid-template-columns: 1fr;
  }

  /* Galeria (A Equipe) */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item--wide {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }

  /* Contact FAB & Popup */
  .contact-fab {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.85rem 1.4rem;
    font-size: 0.75rem;
  }

  .contact-popup {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: 90%;
    padding: 2rem 1.5rem;
  }

  /* Patrocinadores Tiers */
  .tier-logos {
    gap: 1.5rem;
  }

  .tier-ouro .tier-logos img {
    height: 55px;
  }
}

/* ═══════════════════════════════════════════
   BREAKPOINT: MOBILE — max 600px
═══════════════════════════════════════════ */
@media (max-width: 600px) {

  /* Hero buttons */
  .hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  /* Cards Grid */
  .cards-grid {
    grid-template-columns: 1fr;
  }

  /* Robôs Specs */
  .robo-specs {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .robo-card {
    padding: 2rem 0;
  }

  /* Conquistas Destaque */
  .conquest-place-big {
    font-size: 3rem;
  }

  .conquest-highlight-info {
    padding: 1.5rem;
  }

  /* Timeline Conquistas */
  .ct-item {
    grid-template-columns: 55px 25px 1fr;
    gap: 0.5rem;
  }

  .ct-year {
    font-size: 0.85rem;
  }

  .ct-place {
    font-size: 1.8rem;
  }

  /* Projetos Números */
  .proj-numbers {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .proj-num-value {
    font-size: 2.5rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* Patrocinadores Placeholders */
  .sponsor-placeholder {
    padding: 1.5rem 1rem;
    font-size: 0.85rem;
  }
}

/* ═══════════════════════════════════════════
   BREAKPOINT: MOBILE PEQUENO — max 480px
═══════════════════════════════════════════ */
@media (max-width: 480px) {
  .section {
    padding: 3.5rem 1rem;
  }

  header {
    padding: 0.8rem 1rem;
  }

  /* Galeria em 1 coluna no mobile pequeno */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--wide {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }

  /* Stats Bar em 2 colunas compactas */
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.5rem 1rem;
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  /* Robôs Specs em 1 coluna */
  .robo-specs {
    grid-template-columns: 1fr;
  }

  /* Timeline em telas muito estreitas */
  .ct-item {
    grid-template-columns: 45px 20px 1fr;
  }

  .ct-title {
    font-size: 1.1rem;
  }

  /* Botões full width em telas pequenas */
  .btn {
    width: 100%;
    text-align: center;
  }
}