/* ============================================================
   tokens.css
   Design tokens (cores, espaçamentos, tipografia).
   Toda a paleta da marca vive aqui — nenhum valor hard-coded
   deve aparecer em outros arquivos.
   ============================================================ */

:root {
  /* Paleta — preto absoluto, azuis profundos, bronze e branco gelo */
  --ink: #0A0A0A;
  /* fundo principal */
  --deep: #081924;
  /* azul profundo  */
  --petrol: #10273F;
  /* azul petróleo  */
  --bronze: #A27C52;
  /* metálico discreto (apenas detalhes) */
  --bronze-soft: rgba(162, 124, 82, 0.18);
  --bronze-glow: #C89968;
  --ice: #F5F5F5;
  /* branco gelo    */

  /* Aliases semânticos */
  --bg: var(--ink);
  --fg: var(--ice);
  --muted-fg: rgba(245, 245, 245, 0.55);
  --rule: rgba(162, 124, 82, 0.18);

  /* Tipografia */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Espaçamento — base 8 + valores fluidos para respiro generoso */
  --gutter: clamp(1.25rem, 4.5vw, 2.5rem);
  /* padding lateral mobile-first */
  --section-y: clamp(6rem, 14vh, 10rem);
  /* respiro vertical entre seções */
  --container: 1320px;

  /* Curvas e tempos de animação */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 0.9s;
}

/* Cor de seleção condizente com a marca */
::selection {
  background: var(--bronze);
  color: var(--ink);
}

/* ============================================================
   reset.css
   Reset mínimo e moderno, voltado para projetos editoriais.
   ============================================================ */

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

html,
body {
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100svh;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

/* ============================================================
   base.css
   Estilos globais de tipografia e elementos básicos.
   ============================================================ */

body {
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--bg);
  font-weight: 300;
}

/* Tipografia display (serifa elegante) */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

.display em {
  font-style: italic;
  color: var(--bronze);
}

/* Eyebrow — pequenas labels com tracking forte */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
}

/* Texto auxiliar */
.muted {
  color: var(--muted-fg);
}

.small {
  font-size: 0.875rem;
}

.accent {
  color: var(--bronze);
}

/* Container central com gutter mobile-first */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-x {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

/* Espaçamento padrão das seções */
.section {
  padding-block: var(--section-y);
}

/* Hairline horizontal com fade nas bordas (linha de bronze) */
.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bronze) 50%, transparent);
  opacity: 0.55;
}

.hairline--short {
  max-width: 60px;
  margin-block: 1.25rem;
}

/* Ambient blur — auras radiais usadas como fundo decorativo */
.amb {
  position: absolute;
  pointer-events: none;
  width: 80vmax;
  height: 80vmax;
  max-width: 600px;
  max-height: 600px;
  border-radius: 9999px;
  background: radial-gradient(closest-side, rgba(16, 39, 63, 0.6), transparent 70%);
  filter: blur(20px);
}

.amb--hero {
  top: -20vmax;
  right: -30vmax;
}

.amb--bottom {
  bottom: -30vmax;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.35;
}

/* ============================================================
   layout.css
   Cabeçalho, hero, grids de seções específicas, rodapé.
   ============================================================ */

/* ---------------- HEADER ---------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--gutter);
  background: rgba(10, 10, 10, 0.35);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.75);
  border-bottom-color: var(--rule);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark .dot {
  width: 8px;
  height: 8px;
  background: var(--bronze);
  border-radius: 9999px;
}

.site-nav {
  display: none;
  gap: 2rem;
}

.site-nav a {
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: var(--ice);
}

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(7rem, 14vh, 9rem) var(--gutter) 6rem;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0;
}

.hero__copy>*+* {
  margin-top: 1.5rem;
}

.hero__title {
  font-size: clamp(2.75rem, 8vw, 6.75rem);
  margin-top: 1.5rem;
}

.hero__lead {
  max-width: 32rem;
  color: rgba(245, 245, 245, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.hero__video {
  width: 100%;
}

/* Indicador de scroll */
.scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.scroll-ind {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, var(--bronze), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-ind::after {
  content: "";
  position: absolute;
  top: -56px;
  left: 0;
  width: 100%;
  height: 56px;
  background: linear-gradient(180deg, transparent, var(--ice));
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% {
    top: -56px;
  }

  100% {
    top: 100%;
  }
}

/* ---------------- MARQUEE ---------------- */
.marquee-wrap {
  padding-block: 1.5rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: rgba(8, 25, 36, 0.4);
  overflow: hidden;
}

.marquee {
  display: flex;
  white-space: nowrap;
  width: max-content;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  color: rgba(245, 245, 245, 0.4);
  animation: marquee 20s linear infinite;
  /* Fallback caso o JS não rode: usa -50% como antes */
  --marquee-w: 50%;
}

.marquee span {
  flex: 0 0 auto;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-1 * var(--marquee-w)));
  }
}

/* ---------------- SOBRE ---------------- */
.grid-12 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.about__photo {
  width: 100%;
  max-width: 420px;
  margin-top: 1.5rem;
  filter: grayscale(100%);
  transition: filter 1s ease;
}

.about__photo:hover {
  filter: grayscale(0%);
}

.about__copy>*+* {
  margin-top: 1.75rem;
}

.about__copy {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  color: rgba(245, 245, 245, 0.8);
}

.about__lead {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: var(--ice);
  line-height: 1.15;
}

/* ---------------- FILOSOFIA ---------------- */
.philosophy__slide {
  min-height: 80svh;
  display: flex;
  align-items: center;
  padding-inline: var(--gutter);
  padding-block: clamp(4rem, 10vh, 6rem);
  position: relative;
  overflow: hidden;
}

.philosophy-line {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 9vw, 8.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ice);
  margin-top: 2rem;
}

.philosophy-line em {
  font-style: italic;
  color: var(--bronze);
}



/* ---------------- EMPRESAS ---------------- */
/* ---------------- EMPRESAS — BOLHAS ---------------- */
.brands-bubble-section {
  position: relative;
  padding-block: var(--section-y);
  overflow: hidden;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(8, 25, 36, 0.6) 50%, var(--ink) 100%);
}

.bubble img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9999px;
}

.brands__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  position: relative;
  z-index: 2;
}

.brands__title {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
}

.brands__sub {
  max-width: 30rem;
  align-self: end;
  font-size: 1rem;
}

/* -------------------------------------------------------
   Arena responsiva: no mobile usa grid fluido de bolhas,
   no desktop mantém o posicionamento absoluto animado.
   O JS deve checar window.innerWidth > 768 antes de
   aplicar posições absolutas às bolhas.
------------------------------------------------------- */

/* Mobile-first: arena como flex-wrap (bolhas se auto-organizam) */
.bubbles-arena {
  position: relative;
  width: 100%;
  z-index: 1;

  /* mobile: grid fluido — nenhuma bolha fica cortada */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.75rem, 3vw, 1.25rem);
  padding-block: 1rem;
}

/* Desktop: grid centralizado */
@media (min-width: 769px) {
  .bubbles-arena {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    height: auto;
    padding-block: 2rem;
  }
}

/* Bolha base */
.bubble {
  border-radius: 9999px;
  background: rgba(8, 25, 36, 0.55);
  border: 1px solid rgba(162, 124, 82, 0.45);
  box-shadow:
    0 0 0 1px rgba(162, 124, 82, 0.08) inset,
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(162, 124, 82, 0.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: grid;
  position: relative;
  /* já existe no desktop, adiciona no base */
  place-items: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
  flex-shrink: 0;
  /* evita que flex comprima as bolhas */
}

/* No mobile bolhas ficam com tamanho relativo ao viewport */
@media (max-width: 768px) {
  .bubble {
    /* posição absoluta do JS não deve se aplicar no mobile —
       o script deve adicionar a classe .bubble--placed apenas acima de 768px */
    position: static !important;
    /* tamanhos adaptados por vw para caber sempre na tela */
  }

  .bubble--sm {
    width: clamp(72px, 20vw, 100px);
    height: clamp(72px, 20vw, 100px);
  }

  .bubble--md {
    width: clamp(90px, 24vw, 130px);
    height: clamp(90px, 24vw, 130px);
  }

  .bubble--lg {
    width: clamp(108px, 28vw, 160px);
    height: clamp(108px, 28vw, 160px);
  }

  .bubble--xl {
    width: clamp(120px, 32vw, 190px);
    height: clamp(120px, 32vw, 190px);
  }
}

/* Tamanhos desktop (posicionamento absoluto) */
@media (min-width: 769px) {
  .bubble {
    position: relative;
  }

  .bubble--sm {
    width: 110px;
    height: 110px;
  }

  .bubble--md {
    width: 150px;
    height: 150px;
  }

  .bubble--lg {
    width: 190px;
    height: 190px;
  }

  .bubble--xl {
    width: 230px;
    height: 230px;
  }
}

/* Texto dentro da bolha */
.bubble span {
  font-family: var(--font-display);
  font-size: clamp(0.65rem, 2.5vw, 0.95rem);
  color: rgba(245, 245, 245, 0.85);
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.3;
  pointer-events: none;
  user-select: none;
}

/* Hover apenas em dispositivos com ponteiro fino (desktop) */
@media (hover: hover) and (pointer: fine) {
  .bubble:hover {
    transform: scale(1.03) !important;
    box-shadow:
      0 0 0 1px rgba(162, 124, 82, 0.2) inset,
      0 12px 48px rgba(0, 0, 0, 0.6),
      0 0 80px rgba(162, 124, 82, 0.12);
  }
}

/* -------------------------------------------------------
   Animações de flutuação (8 variações)
   Usam transform: translateY para funcionar tanto no
   layout flex do mobile quanto no absolute do desktop.
------------------------------------------------------- */
@keyframes float1 {

  0%,
  100% {
    transform: translate(0px, 0px);
  }

  33% {
    transform: translate(6px, -10px);
  }

  66% {
    transform: translate(-4px, 8px);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translate(0px, 0px);
  }

  33% {
    transform: translate(-8px, 6px);
  }

  66% {
    transform: translate(5px, -9px);
  }
}

@keyframes float3 {

  0%,
  100% {
    transform: translate(0px, 0px);
  }

  33% {
    transform: translate(7px, 5px);
  }

  66% {
    transform: translate(-6px, -7px);
  }
}

@keyframes float4 {

  0%,
  100% {
    transform: translate(0px, 0px);
  }

  33% {
    transform: translate(-5px, -8px);
  }

  66% {
    transform: translate(8px, 6px);
  }
}

@keyframes float5 {

  0%,
  100% {
    transform: translate(0px, 0px);
  }

  33% {
    transform: translate(4px, 9px);
  }

  66% {
    transform: translate(-7px, -4px);
  }
}

@keyframes float6 {

  0%,
  100% {
    transform: translate(0px, 0px);
  }

  33% {
    transform: translate(-9px, 4px);
  }

  66% {
    transform: translate(6px, -8px);
  }
}

@keyframes float7 {

  0%,
  100% {
    transform: translate(0px, 0px);
  }

  33% {
    transform: translate(5px, -6px);
  }

  66% {
    transform: translate(-8px, 9px);
  }
}

@keyframes float8 {

  0%,
  100% {
    transform: translate(0px, 0px);
  }

  33% {
    transform: translate(-6px, -9px);
  }

  66% {
    transform: translate(9px, 5px);
  }
}

/* No mobile, reduz o deslocamento para não empurrar bolhas vizinhas */
@media (max-width: 768px) {
  @keyframes float1 {

    0%,
    100% {
      transform: translate(0, 0)
    }

    50% {
      transform: translateY(-6px)
    }
  }

  @keyframes float2 {

    0%,
    100% {
      transform: translate(0, 0)
    }

    50% {
      transform: translateY(-5px)
    }
  }

  @keyframes float3 {

    0%,
    100% {
      transform: translate(0, 0)
    }

    50% {
      transform: translateY(-7px)
    }
  }

  @keyframes float4 {

    0%,
    100% {
      transform: translate(0, 0)
    }

    50% {
      transform: translateY(-4px)
    }
  }

  @keyframes float5 {

    0%,
    100% {
      transform: translate(0, 0)
    }

    50% {
      transform: translateY(-6px)
    }
  }

  @keyframes float6 {

    0%,
    100% {
      transform: translate(0, 0)
    }

    50% {
      transform: translateY(-5px)
    }
  }

  @keyframes float7 {

    0%,
    100% {
      transform: translate(0, 0)
    }

    50% {
      transform: translateY(-7px)
    }
  }

  @keyframes float8 {

    0%,
    100% {
      transform: translate(0, 0)
    }

    50% {
      transform: translateY(-4px)
    }
  }
}

.bubble[data-float="1"] {
  animation: float1 7s ease-in-out infinite;
}

.bubble[data-float="2"] {
  animation: float2 9s ease-in-out infinite;
}

.bubble[data-float="3"] {
  animation: float3 6s ease-in-out infinite;
}

.bubble[data-float="4"] {
  animation: float4 11s ease-in-out infinite;
}

.bubble[data-float="5"] {
  animation: float5 8s ease-in-out infinite;
}

.bubble[data-float="6"] {
  animation: float6 10s ease-in-out infinite;
}

.bubble[data-float="7"] {
  animation: float7 7.5s ease-in-out infinite;
}

.bubble[data-float="8"] {
  animation: float8 9.5s ease-in-out infinite;
}

/* Partículas de fundo */
.bubble-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bubble-particles span {
  position: absolute;
  border-radius: 9999px;
  background: rgba(162, 124, 82, 0.18);
  animation: particleDrift 14s ease-in-out infinite;
}

.bubble-particles span:nth-child(1) {
  width: 3px;
  height: 3px;
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.bubble-particles span:nth-child(2) {
  width: 2px;
  height: 2px;
  top: 70%;
  left: 20%;
  animation-delay: 2s;
  animation-duration: 16s;
}

.bubble-particles span:nth-child(3) {
  width: 4px;
  height: 4px;
  top: 40%;
  left: 80%;
  animation-delay: 4s;
  animation-duration: 10s;
}

.bubble-particles span:nth-child(4) {
  width: 2px;
  height: 2px;
  top: 85%;
  left: 65%;
  animation-delay: 1s;
  animation-duration: 18s;
}

.bubble-particles span:nth-child(5) {
  width: 3px;
  height: 3px;
  top: 25%;
  left: 55%;
  animation-delay: 3s;
  animation-duration: 14s;
}

.bubble-particles span:nth-child(6) {
  width: 2px;
  height: 2px;
  top: 60%;
  left: 40%;
  animation-delay: 5s;
  animation-duration: 11s;
}

.bubble-particles span:nth-child(7) {
  width: 3px;
  height: 3px;
  top: 10%;
  left: 75%;
  animation-delay: 0.5s;
  animation-duration: 15s;
}

.bubble-particles span:nth-child(8) {
  width: 2px;
  height: 2px;
  top: 50%;
  left: 90%;
  animation-delay: 2.5s;
  animation-duration: 13s;
}

.bubble-particles span:nth-child(9) {
  width: 4px;
  height: 4px;
  top: 80%;
  left: 5%;
  animation-delay: 6s;
  animation-duration: 17s;
}

@keyframes particleDrift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }

  50% {
    transform: translate(8px, -12px) scale(1.3);
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bubble {
    animation: none !important;
  }

  .bubble-particles span {
    animation: none !important;
  }
}

/* ---------------- BASTIDORES ---------------- */
.bts__head {
  margin-bottom: 3rem;
}

.bts__title {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  margin-top: 1rem;
}

.bts__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 0.75rem;
}

.tile--a {
  grid-column: span 12;
  grid-row: span 2;
}

.tile--b {
  grid-column: span 6;
  grid-row: span 2;
}

.tile--c {
  grid-column: span 6;
  grid-row: span 2;
}

.tile--d {
  grid-column: span 12;
  grid-row: span 2;
}

.tile--e {
  grid-column: span 12;
  grid-row: span 2;
}

/* ---------------- VIDEO ---------------- */
.video-section {
  background: var(--ink);
  text-align: center;
}

.video-section__head {
  max-width: 900px;
  margin: 0 auto 3rem;
}

.video-section__head h2 {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
}

.video-section__frame {
  max-width: 420px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------------- PROCESSO ---------------- */
.process__head {
  margin-bottom: 4rem;
  max-width: 36rem;
}

.process__title {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  margin-top: 1rem;
}

.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
}

.process__card {
  display: flex;
  gap: 1.5rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--ink);
}

.process__num {
  font-family: var(--font-display);
  color: var(--bronze);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  flex-shrink: 0;
}

.process__card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.875rem);
  color: var(--ice);
  margin-bottom: 0.75rem;
}

/* ---------------- SOCIAL ---------------- */
.social {
  background: linear-gradient(180deg, transparent, rgba(8, 25, 36, 0.4));
}

.social__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 4rem;
}

.social__head h2 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  margin-top: 1rem;
}

.social__head p {
  margin-top: 1.5rem;
}

.social__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* ---------------- CLOSING ---------------- */
.closing {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-y) var(--gutter);
  text-align: center;
  overflow: hidden;
}

.closing__inner {
  position: relative;
  z-index: 1;
  max-width: 64rem;
}

.closing__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.closing__chip .rule {
  width: 1.5rem;
  height: 1px;
  background: var(--bronze);
}

.closing__line {
  font-size: clamp(2.25rem, 7vw, 6.75rem);
}

.closing__sig {
  margin-top: 4rem;
}

.closing__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 2rem;
}

.closing__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  padding: 2.5rem var(--gutter);
  border-top: 1px solid var(--rule);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(245, 245, 245, 0.4);
}

/* ============================================================
   components.css
   Componentes reutilizáveis: botões, frames, cards, etc.
   ============================================================ */

/* -------- Botão fantasma -------- */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.375rem;
  border: 1px solid rgba(162, 124, 82, 0.45);
  color: var(--ice);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  background: transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  border-radius: 10px;
}

.btn-ghost:hover {
  background: var(--bronze);
  color: var(--ink);
  border-color: var(--bronze);
}

.btn-ghost .arrow {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.2;
  fill: none;
  stroke-linecap: square;
}

/* -------- Frame vertical 9:16 (foto/vídeo) -------- */
.vframe {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--deep);
  border: 1px solid rgba(162, 124, 82, 0.20);
}

.vframe iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vframe.is-playing .play-btn,
.vframe.is-playing img,
.vframe.is-playing::after {
  display: none;
}

.vframe img,
.vframe video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vframe::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 10, 0.65));
  pointer-events: none;
}

.vframe__hud {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.85);
  z-index: 1;
}

.vframe--shadow {
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9);
}

/* Pequeno indicador "ao vivo" */
.pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--bronze);
  border-radius: 9999px;
  margin-right: 0.5rem;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.4);
  }
}

/* -------- Tile de bastidores -------- */
.tile {
  position: relative;
  overflow: hidden;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease), filter 0.8s ease;
  filter: brightness(0.85) contrast(1.05);
}

.tile:hover img {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.05);
}

/* -------- Tile de logo (mural de marcas) -------- */
.logo-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  border: 1px solid var(--rule);
  background: rgba(8, 25, 36, 0.30);
  color: rgba(245, 245, 245, 0.7);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.6rem);
  letter-spacing: 0.04em;
  transition: transform 0.6s var(--ease), background 0.6s var(--ease),
    border-color 0.6s var(--ease), color 0.6s var(--ease);
}

.logo-tile:hover,
.logo-tile.is-active {
  color: var(--ice);
  border-color: var(--bronze);
  background: rgba(16, 39, 63, 0.55);
  transform: translateY(-4px);
}

/* Descrição da parceria, criada dinamicamente em JS */
.logo-tile__desc {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(10, 10, 10, 0.85);
  color: var(--ice);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  line-height: 1.55;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.logo-tile:hover .logo-tile__desc,
.logo-tile.is-active .logo-tile__desc {
  opacity: 1;
}

/* -------- Card de rede social -------- */
.social-card {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(162, 124, 82, 0.25);
  background: var(--deep);
  transition: transform 0.8s var(--ease), border-color 0.4s ease;
  border-radius: 10px;
}

.social-card:hover {
  transform: translateY(-8px);
  border-color: var(--bronze);
}

.social-card__cover {
  position: absolute;
  inset: 0;
  background-image: var(--cover);
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) saturate(0.85);
  transition: transform 1.2s var(--ease), filter 0.8s ease;
}

.social-card:hover .social-card__cover {
  transform: scale(1.06);
  filter: brightness(0.7) saturate(1);
}

.social-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 25, 36, 0.2) 0%, rgba(10, 10, 10, 0.95) 90%);
}

.social-card__body {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

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

.social-card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(162, 124, 82, 0.4);
  color: var(--bronze);
}

.social-card__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.social-card__count {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  color: var(--ice);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.social-card__handle {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ice);
  margin: 1.25rem 0 0.5rem;
}

.social-card__follow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--bronze);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.social-card__follow .arrow {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 1.2;
  fill: none;
}

/* -------- Botão de play -------- */
.play-btn {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
}

.play-btn svg {
  width: 22px;
  height: 22px;
  margin-left: 4px;
  stroke: var(--ice);
  fill: var(--ice);
  stroke-width: 1;
  transition: stroke 0.5s ease, fill 0.5s ease;
  position: relative;
  /* ← adicionar */
  z-index: 1;
}

.play-btn::before {
  content: "";
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  border: 1px solid rgba(162, 124, 82, 0.7);
  background: rgba(10, 10, 10, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: absolute;
  transition: background 0.5s ease, border-color 0.5s ease;
}

.play-btn:hover::before {
  background: var(--bronze);
  border-color: var(--bronze);
}

.play-btn:hover svg {
  stroke: var(--ink);
  fill: var(--ink);
}

/* ============================================================
   animations.css
   Loader, reveal-on-scroll, cursor customizado e progresso.
   ============================================================ */

/* ---------------- LOADER ---------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #050505;
  transition: opacity 0.9s ease, visibility 0.9s;
}

.loader.gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.25rem, 4vw, 2.25rem);
  color: var(--ice);
  text-align: center;
  line-height: 1.2;
  padding-inline: 1.5rem;
}

.loader-text span {
  display: block;
  opacity: 0;
  animation: loadFade 2s ease forwards;
}

.loader-text span:nth-child(1) {
  animation-delay: 0.2s;
}

.loader-text span:nth-child(2) {
  animation-delay: 1.3s;    
}

@keyframes loadFade {
  0% {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(6px);
  }

  50% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-8px);
    filter: blur(6px);
  }
}

.loader-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0%;
  background: var(--bronze);
  animation: loaderFill 2.6s var(--ease) forwards;
}

@keyframes loaderFill {
  to {
    width: 100%;
  }
}

/* ---------------- REVEAL ON SCROLL ----------------
   Combina fade + blur + translate Y; a classe .in é
   adicionada por JS via IntersectionObserver.
*/
.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition:
    opacity 1.2s var(--ease),
    transform 1.2s var(--ease),
    filter 1.2s var(--ease);
  will-change: opacity, transform, filter;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Delays para criar cascata */
.reveal--1 {
  transition-delay: 0.12s;
}

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

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

/* ---------------- CURSOR CUSTOMIZADO ---------------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 9999px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--bronze-glow);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--bronze);
  transition: width 0.25s ease, height 0.25s ease;
}

/* ---------------- PROGRESS BAR ---------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 100;
}

/* Acessibilidade: respeita prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .marquee,
  .scroll-ind::after,
  .pulse-dot {
    animation: none !important;
  }
}

/* ============================================================
   responsive.css
   Breakpoints mobile-first. Tudo acima cresce gradualmente.
   ============================================================ */

/* ---------- ≥ 640px (tablets pequenos) ---------- */
@media (min-width: 640px) {

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

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

  .social-card {
    aspect-ratio: 5 / 6;
  }

  .bts__grid {
    grid-auto-rows: 160px;
  }

  .tile--a {
    grid-column: span 7;
    grid-row: span 3;
  }

  .tile--b {
    grid-column: span 5;
    grid-row: span 2;
  }

  .tile--c {
    grid-column: span 5;
    grid-row: span 2;
  }

  .tile--d {
    grid-column: span 7;
    grid-row: span 3;
  }

  .tile--e {
    grid-column: span 12;
    grid-row: span 2;
  }
}

/* ---------- ≥ 900px (tablets / laptops) ---------- */
@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }

  .brands__head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .brands__grid,
  .impact__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bts__grid {
    grid-auto-rows: 180px;
  }

  .tile--e {
    grid-column: span 6;
    grid-row: span 2;
  }

  .tile--d {
    grid-column: span 6;
    grid-row: span 3;
  }

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

/* ---------- ≥ 1100px (desktop) ---------- */
@media (min-width: 1100px) {
  .hero__inner {
    grid-template-columns: 1fr minmax(280px, 420px);
  }

  .grid-12 {
    grid-template-columns: 5fr 7fr;
  }

  .about__media {
    position: sticky;
    top: 8rem;
    align-self: start;
  }

  .impact__grid,
  .brands__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}



/* ---------- desativa cursor customizado no touch ---------- */
@media (hover: none),
(pointer: coarse) {

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}