/* =========================================================
   ON66 Motion Pack (leve, FSE-friendly)
   ========================================================= */

:root{
  --on66-bg: #181A19;
  --on66-white: #FFFFFF;
  --on66-orange: #E25A36;
  --on66-blue: #283842;

  --on66-radius-card: 12px;
  --on66-radius-btn: 999px; /* “pill” estilo referência */
  --on66-shadow-soft: 0 10px 35px rgba(0,0,0,.35);
}

/* Garantir fundo escuro sempre (evita “tela branca” quando algo falha) */
html, body{
  background: var(--on66-bg) !important;
}

/* Base tipográfica (você pode manter no theme.json também) */
body{
  color: var(--on66-white);
  font-family: "nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,h2,h3,h4,h5,h6{
  font-family: "all-round-gothic", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: -0.02em;
}

/* Botão “pill” (seu hover “mexer” é pouco — aqui fica mais perceptível) */
.wp-block-button .wp-block-button__link{
  border-radius: var(--on66-radius-btn) !important;
  padding: 14px 26px !important;
  background: var(--on66-orange);
  color: var(--on66-white);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transform: translateY(0);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.wp-block-button .wp-block-button__link:hover{
  transform: translateY(-2px);
  box-shadow: var(--on66-shadow-soft);
  filter: brightness(1.02);
}

.wp-block-button .wp-block-button__link:active{
  transform: translateY(0);
}

/* Cards */
.on66-card{
  border-radius: var(--on66-radius-card);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.on66-card:hover{
  transform: translateY(-3px);
  box-shadow: var(--on66-shadow-soft);
  background: rgba(255,255,255,.06);
}

/* =========================================================
   REVEALS (IntersectionObserver)
   Use no bloco: "Classes CSS adicionais" -> on66-reveal
   Variações: on66-up | on66-left | on66-right | on66-fade
   ========================================================= */
.on66-reveal{
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}

.on66-reveal.on66-left{ transform: translate3d(-18px, 0, 0); }
.on66-reveal.on66-right{ transform: translate3d(18px, 0, 0); }
.on66-reveal.on66-fade{ transform: translate3d(0, 0, 0); }

.on66-reveal.is-in{
  opacity: 1;
  transform: translate3d(0,0,0);
}

/* =========================================================
   Marquee (linha “CREATE, INSPIRE” etc.)
   Estrutura:
   <div class="on66-marquee">
     <div class="on66-marquee__track"> ...texto... </div>
   </div>
   No FSE: use Grupo + HTML personalizado ou Pattern.
   ========================================================= */
.on66-marquee{
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: transparent;
}

.on66-marquee__track{
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  padding: 18px 0;
  will-change: transform;
}

.on66-marquee__item{
  font-family: "all-round-gothic", system-ui, sans-serif;
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .9;
}

.on66-dot{
  opacity: .35;
}

/* =========================================================
   Hero “sensório” com leve depth
   Use no bloco Cover/Group: class on66-hero
   ========================================================= */
.on66-hero{
  position: relative;
}

.on66-hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(800px 400px at 25% 35%, rgba(226,90,54,.12), transparent 60%),
    radial-gradient(700px 420px at 80% 55%, rgba(40,56,66,.35), transparent 60%);
  mix-blend-mode: screen;
  opacity: .9;
}

/* Acessibilidade: reduz motion se usuário pedir */
@media (prefers-reduced-motion: reduce){
  .on66-reveal{ transition: none; opacity: 1; transform:none; }
  .wp-block-button .wp-block-button__link{ transition:none; }
}
