/* ===========================
   OMNI/AD - Design System
   =========================== */

:root {
  /* Cores - Brand */
  --black: #0a0a0a;
  --white: #ffffff;
  --volt: #ccff00;
  --gray-900: #141414;
  --gray-800: #1f1f1f;
  --gray-700: #2a2a2a;
  --gray-600: #3d3d3d;
  --gray-500: #6b6b6b;
  --gray-400: #9a9a9a;
  --gray-300: #c4c4c4;
  --gray-200: #e0e0e0;
  --gray-100: #f4f4f4;

  /* Cores - Produtos */
  --rp-bg: #000000;
  --rp-accent: #00b8b0;
  --rfc-bg: #1e5938;
  --rfc-bg-dark: #0a3a22;
  --rfc-accent: #ede4d0;

  /* Tipografia */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Espaçamento */
  --container-max: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Tamanhos */
  --display-xl: clamp(3rem, 11vw, 9rem);
  --display-lg: clamp(2.5rem, 8vw, 6rem);
  --display-md: clamp(2rem, 5vw, 4rem);
  --display-sm: clamp(1.5rem, 3.5vw, 2.5rem);

  /* Animação */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===========================
   Layout
   =========================== */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
}

section {
  padding-block: clamp(4rem, 10vw, 8rem);
}

/* ===========================
   Tipografia
   =========================== */
.display-xl,
.display-lg,
.display-md,
.display-sm {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.display-xl {
  font-size: var(--display-xl);
}
.display-lg {
  font-size: var(--display-lg);
}
.display-md {
  font-size: var(--display-md);
}
.display-sm {
  font-size: var(--display-sm);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--volt);
}

.eyebrow::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--volt);
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  line-height: 1.5;
  color: var(--gray-300);
  max-width: 60ch;
  text-wrap: pretty;
}

.volt {
  color: var(--volt);
}

/* ===========================
   Header
   =========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 1.25rem;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out);
}

.site-header.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand .slash {
  color: var(--volt);
  font-weight: 700;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 0.6rem 1.1rem;
  background: var(--volt);
  color: var(--black);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: transform 0.2s var(--ease-out), background 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: #d8ff33;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  padding: 6rem var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease-out);
  z-index: 99;
}

.mobile-menu[data-open='true'] {
  transform: translateY(0);
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease-out), background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--volt);
  color: var(--black);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #d8ff33;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-arrow::after {
  content: '→';
  display: inline-block;
  transition: transform 0.2s var(--ease-out);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ===========================
   Hero
   =========================== */
.hero {
  padding-top: clamp(8rem, 18vw, 14rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
}

.hero h1 {
  margin-block: 1.5rem 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hero-meta-item .label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.hero-meta-item .value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ===========================
   Marquee (palavras-chave)
   =========================== */
.marquee {
  background: var(--volt);
  color: var(--black);
  padding-block: 1.5rem;
  overflow: hidden;
  border-block: 1px solid var(--volt);
}

.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.marquee-item::after {
  content: '✦';
  margin-left: 4rem;
  opacity: 0.5;
}

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

/* ===========================
   Products Grid
   =========================== */
.products {
  background: var(--black);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4rem;
  max-width: 800px;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 540px;
  padding: 2.5rem;
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out);
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card.rp {
  background: var(--rp-bg);
  border: 1px solid rgba(0, 184, 176, 0.25);
}

.product-card.rp::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(0, 184, 176, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.product-card.rfc {
  background: linear-gradient(160deg, var(--rfc-bg) 0%, var(--rfc-bg-dark) 100%);
}

.product-card.rfc::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(237, 228, 208, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.product-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.product-card.rp .product-status {
  color: var(--rp-accent);
}

.product-card.rfc .product-status {
  color: var(--rfc-accent);
}

.product-body {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.product-card.rfc .product-name {
  color: var(--rfc-accent);
}

.product-desc {
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  max-width: 38ch;
}

.product-card.rfc .product-desc {
  color: rgba(237, 228, 208, 0.85);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag {
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

.product-card.rp .tag {
  background: rgba(0, 184, 176, 0.12);
  color: var(--rp-accent);
}

.product-card.rfc .tag {
  background: rgba(237, 228, 208, 0.12);
  color: var(--rfc-accent);
}

.product-cta {
  position: relative;
  z-index: 1;
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid currentColor;
  transition: gap 0.2s var(--ease-out);
  width: max-content;
}

.product-card:hover .product-cta {
  gap: 1rem;
}

.product-card.rp .product-cta {
  color: var(--rp-accent);
}

.product-card.rfc .product-cta {
  color: var(--rfc-accent);
}

/* ===========================
   How it works (process)
   =========================== */
.process {
  background: var(--gray-900);
  position: relative;
}

.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step {
  padding: 2rem;
  background: var(--black);
  border: 1px solid var(--gray-800);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.process-step:hover {
  border-color: var(--volt);
  transform: translateY(-4px);
}

.step-number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--volt);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.step-desc {
  color: var(--gray-400);
  line-height: 1.5;
}

/* ===========================
   CTA Final
   =========================== */
.cta-block {
  background: var(--white);
  color: var(--black);
}

.cta-block .display-lg {
  margin-bottom: 1.5rem;
}

.cta-block .lead {
  color: var(--gray-600);
  margin-bottom: 2.5rem;
}

.cta-block .btn-primary {
  background: var(--black);
  color: var(--white);
}

.cta-block .btn-primary:hover {
  background: var(--gray-800);
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--gray-800);
  padding-block: 4rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand .display-md {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray-400);
  max-width: 32ch;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: var(--gray-300);
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
  font-size: 0.85rem;
  color: var(--gray-500);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-legal {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* ===========================
   Reveal Animation
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ===========================
   Utilities
   =========================== */
.text-center {
  text-align: center;
}
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ===========================
   Responsive type adjustments
   =========================== */
@media (max-width: 480px) {
  body {
    font-size: 16px;
  }
  .hero-meta {
    gap: 1.5rem 2rem;
  }
}
