/*
  GROUND PROD. CSS

  ONDE EDITAR:
  Cores principais: variáveis abaixo
  Fonte principal: --font-main
  Tamanho dos títulos: blocos hero h1, hero h2 e media queries
*/

:root {
  --bg: #030303;
  --bg-soft: #0a0a0a;
  --text: #ffffff;
  --muted: #9b9b9b;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --card: rgba(255, 255, 255, 0.045);
  --card-hover: rgba(255, 255, 255, 0.075);
  --accent: #f05a28;
  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1680px;
  --page-pad: clamp(18px, 3vw, 52px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

img,
video {
  display: block;
  width: 100%;
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.08), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(240, 90, 40, 0.08), transparent 24%),
    linear-gradient(180deg, #060606 0%, #020202 52%, #050505 100%);
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.topbar {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 28px var(--page-pad);
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(3,3,3,.86), rgba(3,3,3,.36));
}

.brand {
  width: 126px;
  display: inline-flex;
  align-items: center;
}

.top-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 46px);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.top-info a {
  transition: color .35s var(--ease);
}

.top-info a:hover {
  color: var(--text);
}

.rolling-button,
.back-to-top {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.025);
  overflow: hidden;
  cursor: pointer;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}

.rolling-button:hover,
.back-to-top:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.48);
  background: rgba(255,255,255,.08);
}

.rolling-text {
  position: relative;
  display: inline-block;
  height: 1em;
  line-height: 1;
  overflow: hidden;
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 700;
}

.rolling-text::before,
.rolling-text::after {
  content: attr(data-text);
  display: block;
  transition: transform .48s var(--ease);
}

.rolling-text::after {
  position: absolute;
  left: 0;
  top: 100%;
}

.rolling-button:hover .rolling-text::before,
.back-to-top:hover .rolling-text::before {
  transform: translateY(-105%);
}

.rolling-button:hover .rolling-text::after,
.back-to-top:hover .rolling-text::after {
  transform: translateY(-100%);
}

.hero {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(76px, 9vw, 150px) var(--page-pad) clamp(36px, 5vw, 80px);
}

.hero-header {
  display: grid;
  grid-template-columns: 1fr clamp(76px, 11vw, 165px);
  gap: clamp(20px, 4vw, 70px);
  align-items: start;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: clamp(13px, 1.25vw, 19px);
  letter-spacing: .24em;
  text-transform: uppercase;
}

.hero h1,
.hero h2 {
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.095em;
  line-height: .78;
}

.hero h1 {
  font-size: clamp(78px, 20vw, 350px);
}

.hero h2 {
  font-size: clamp(58px, 13.8vw, 235px);
  color: rgba(255,255,255,.92);
}

.hero-seal {
  margin-top: clamp(16px, 3vw, 38px);
  opacity: .92;
  animation: slowSpin 18s linear infinite;
}

.hero-copy {
  margin-top: clamp(34px, 4vw, 72px);
  max-width: 770px;
  margin-left: auto;
}

.hero-copy p {
  margin: 0;
  color: #d4d4d4;
  font-size: clamp(20px, 2.15vw, 38px);
  line-height: 1.12;
  letter-spacing: -.045em;
}

.visual-banner {
  width: min(calc(100% - var(--page-pad) * 2), calc(var(--max-width) - var(--page-pad) * 2));
  margin: 0 auto;
  position: relative;
  border-radius: clamp(24px, 3vw, 54px);
  overflow: hidden;
  min-height: clamp(340px, 55vw, 790px);
  border: 1px solid var(--line);
  background: #101010;
  isolation: isolate;
}

.visual-banner img,
.visual-banner video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(.9) contrast(1.08);
}

.visual-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.46));
  z-index: 1;
}

.banner-mark {
  position: absolute;
  left: clamp(22px, 4vw, 64px);
  bottom: clamp(20px, 4vw, 58px);
  z-index: 2;
  font-size: clamp(22px, 5vw, 84px);
  font-weight: 900;
  letter-spacing: -.07em;
  text-transform: uppercase;
  opacity: .92;
}

.marquee-section {
  width: 100%;
  margin: clamp(36px, 6vw, 96px) 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255,255,255,.02);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
}

.marquee-content span {
  padding: 0 32px;
  color: #d9d9d9;
  font-size: clamp(13px, 1.2vw, 18px);
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-content span::before {
  content: "•";
  color: var(--accent);
  margin-right: 32px;
}

.products {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(38px, 5vw, 90px) var(--page-pad) clamp(52px, 8vw, 130px);
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: clamp(32px, 5vw, 76px);
  color: var(--muted);
}

.section-title-row h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(18px, 1.45vw, 26px);
  letter-spacing: .24em;
  text-transform: uppercase;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.4vw, 24px);
}

.product-card {
  min-height: clamp(430px, 37vw, 620px);
  border: 1px solid var(--line);
  border-radius: clamp(22px, 2vw, 38px);
  overflow: hidden;
  background: var(--card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .55s var(--ease), background .55s var(--ease), border-color .55s var(--ease);
}

.product-card:hover {
  transform: translateY(-10px);
  background: var(--card-hover);
  border-color: rgba(255,255,255,.28);
}

.card-visual {
  min-height: 58%;
  overflow: hidden;
}

.card-visual img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  opacity: .82;
  transform: scale(1.02);
  transition: transform .7s var(--ease), opacity .7s var(--ease);
}

.product-card:hover .card-visual img {
  transform: scale(1.08);
  opacity: 1;
}

.card-content {
  padding: clamp(22px, 2.4vw, 38px);
}

.card-content h3 {
  margin: 0;
  font-size: clamp(29px, 3.3vw, 58px);
  line-height: .88;
  letter-spacing: -.075em;
  text-transform: uppercase;
}

.card-content p {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 260px;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.28;
}

.reverse-card .card-content {
  display: flex;
  min-height: 42%;
  flex-direction: column;
  justify-content: space-between;
}

.reverse-card .card-content p {
  margin: 0 0 28px;
}

.final-cta {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(78px, 10vw, 180px) var(--page-pad);
  text-align: center;
  border-top: 1px solid var(--line);
}

.cta-icon {
  width: clamp(62px, 7vw, 112px);
  margin: 0 auto clamp(30px, 4vw, 62px);
  opacity: .94;
  animation: slowSpin 20s linear infinite;
}

.final-cta h2 {
  max-width: 1050px;
  margin: 0 auto;
  font-size: clamp(46px, 8vw, 138px);
  line-height: .88;
  letter-spacing: -.085em;
  text-transform: uppercase;
}

.final-cta p {
  margin: clamp(22px, 3vw, 44px) auto clamp(28px, 4vw, 58px);
  color: #d8d8d8;
  font-size: clamp(19px, 2vw, 32px);
  letter-spacing: -.035em;
}

.rolling-button.large {
  min-height: 54px;
  padding-inline: 32px;
}

.footer {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 34px var(--page-pad) 48px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  text-transform: lowercase;
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer-links a {
  transition: color .35s var(--ease);
}

.footer-links a:hover {
  color: var(--text);
}

.back-to-top {
  justify-self: end;
  background: transparent;
}

.section-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: 140px 1fr;
  }

  .top-info {
    justify-content: flex-end;
  }

  .topbar > .rolling-button {
    grid-column: 1 / -1;
    justify-self: end;
  }

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

@media (max-width: 760px) {
  :root {
    --page-pad: 18px;
  }

  .topbar {
    padding-top: 20px;
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  .brand {
    width: 112px;
  }

  .top-info {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 10px;
    font-size: 10px;
    letter-spacing: .08em;
    flex-wrap: wrap;
  }

  .topbar > .rolling-button {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    min-height: 38px;
    padding: 0 14px;
  }

  .rolling-text {
    font-size: 11px;
    letter-spacing: .14em;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-header {
    grid-template-columns: 1fr 64px;
    gap: 14px;
  }

  .eyebrow {
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: clamp(74px, 25vw, 138px);
    letter-spacing: -.105em;
  }

  .hero h2 {
    font-size: clamp(55px, 18vw, 94px);
  }

  .hero-copy {
    margin-left: 0;
  }

  .visual-banner {
    border-radius: 24px;
    min-height: 460px;
  }

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

  .product-card {
    min-height: 420px;
  }

  .card-content h3 {
    font-size: clamp(42px, 14vw, 72px);
  }

  .footer {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .back-to-top {
    justify-self: center;
  }
}

@media (max-width: 430px) {
  .top-info a {
    width: 100%;
    text-align: left;
  }

  .hero-header {
    grid-template-columns: 1fr;
  }

  .hero-seal {
    width: 70px;
    margin-top: 10px;
  }

  .visual-banner {
    min-height: 380px;
  }

  .marquee-content span {
    padding: 0 22px;
  }

  .final-cta h2 {
    font-size: clamp(42px, 16vw, 76px);
  }
}

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