/* ============================================================
   NÚCLEO PARCEIRO — link na bio · scroll narrativo
   ============================================================ */

/* Fonte da marca (Grocky, local — sem Google Fonts: mais rápido e sem bloqueio de render).
   Sem o ficheiro, cai em system-ui. */
@font-face {
  font-family: "Grocky";
  src: url("../assets/fonts/Grocky.woff2") format("woff2"),
       url("../assets/fonts/Grocky.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

:root {
  /* Família I — Azuis · Tecnologia */
  --blue:        #22315D;
  --blue-steel:  #284270;
  --blue-ocean:  #31558A;
  --blue-sky:    #416EA3;
  --blue-serene: #568CC1;
  --blue-light:  #7FB4DE;
  /* Família II — Dourados · Branding */
  --gold:        #CCB803;
  --gold-solar:  #D5BE11;
  --gold-soft:   #E2CA3A;
  --gold-pale:   #F4E08D;
  --gold-cream:  #F8EAB5;
  /* Família III — Escuros e Neutros · Diferenciação */
  --black:       #0A0E13;
  --night:       #0F1623;
  --navy:        #1D2C4D;
  --royal:       #37538B;
  --grayblue:    #6C8CC1;
  --light:       #E7E9E6;

  --ink:         #EEF1F6;
  --ink-soft:    rgba(238, 241, 246, 0.62);
  --ink-faint:   rgba(238, 241, 246, 0.38);
  --hair:        rgba(127, 180, 222, 0.16);

  --font: "Grocky", system-ui, -apple-system, sans-serif;
  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 50% -10%, #0c1730 0%, rgba(12,23,48,0) 55%),
    radial-gradient(90% 60% at 80% 110%, rgba(204,184,3,0.06) 0%, rgba(204,184,3,0) 50%),
    linear-gradient(180deg, #05070b 0%, var(--black) 35%, #070b14 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* WebGL canvas de fundo */
#gl {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  display: block;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.9s ease;
}
#gl.ready { opacity: 1; }

/* Tela de carregamento — segura até tudo estar pronto (assets + shaders) */
html.loading, html.loading body { overflow: hidden; height: 100%; }
.preloader {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  background: radial-gradient(120% 85% at 50% 42%, #0c1730 0%, #060912 58%, #05070b 100%);
  transition: opacity 0.6s ease;
}
.preloader.is-done { opacity: 0; pointer-events: none; }
.preloader__logo {
  width: clamp(170px, 44vw, 300px); height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 2px 22px rgba(2,4,8,0.5));
  opacity: 0.95; animation: npPulse 1.8s ease-in-out infinite;
}
.preloader__bar { width: clamp(150px, 48vw, 240px); height: 2px; border-radius: 2px; background: rgba(255,255,255,0.12); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 6%; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold-pale)); transition: width 0.35s ease; }
@keyframes npPulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .preloader__logo { animation: none; } }

/* Grão sutil sobre tudo */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.02; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Vinheta sutil — só escurece levemente os cantos extremos (legibilidade), sem cobrir o céu/oceano */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(135% 110% at 50% 42%, transparent 72%, rgba(2,4,8,0.32) 100%);
}

main { position: relative; z-index: 2; }

/* Coreografia: libera espaço para o vidro (peça principal) em cada seção */
#pilares, #contacto { justify-content: flex-end; }
@media (min-width: 821px) {
  #contacto { align-items: flex-start; }            /* links à esquerda, vidro à direita */
  #contacto .links { max-width: 560px; }
}

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 26px; height: 1px; margin-right: 14px;
  vertical-align: middle; background: var(--gold);
  opacity: 0.8;
}

em { font-style: normal; color: var(--gold-pale); }

/* ---------- Barra superior ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.1rem, 4vw, 2.6rem);
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.topbar.scrolled {
  background: rgba(5, 8, 13, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair);
}
.topbar__brand {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em;
}
.topbar__brand .mark {
  width: 26px; height: 26px; object-fit: contain;
  filter: brightness(0) invert(1);
}
.topbar__brand span { opacity: 0.95; text-shadow: 0 1px 16px rgba(4,8,16,0.55); }
.link__meta { color: rgba(255,255,255,0.6); }
.topbar__cta {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--black);
  background: var(--gold);
  font-weight: 600; font-size: 0.82rem; letter-spacing: 0.01em;
  padding: 0.62rem 1.1rem; border-radius: 100px;
  transition: transform 0.3s var(--ease), background 0.3s ease;
}
.topbar__cta:hover { transform: translateY(-2px); background: var(--gold-solar); }
.topbar__cta .arrow { transition: transform 0.3s var(--ease); }
.topbar__cta:hover .arrow { transform: translateX(4px); }
@media (max-width: 620px) { .topbar__cta { display: none; } }

/* ---------- Estrutura de cena ---------- */
.scene {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(4rem, 10vh, 9rem) clamp(1.4rem, 6vw, 5rem);
  max-width: var(--maxw); margin: 0 auto; width: 100%;
}

/* ---------- HERO ---------- */
.hero { align-items: center; text-align: center; justify-content: flex-end; padding-bottom: clamp(4rem, 12vh, 7.5rem); }
.hero__copy { max-width: 720px; position: relative; }
.hero__copy::before {
  content: ""; position: absolute; inset: -40% -45% -60%; z-index: -1; pointer-events: none;
  background: radial-gradient(58% 100% at 50% 62%, rgba(6,10,18,0.5), rgba(6,10,18,0.18) 55%, transparent 75%);
}
.hero__copy .eyebrow,
.hero__title,
.hero__lead { text-shadow: 0 2px 34px rgba(4,8,16,0.55), 0 1px 4px rgba(4,8,16,0.4); }
.hero__title {
  font-weight: 700;
  font-size: clamp(1.9rem, 5.2vw, 3.5rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 0%, var(--blue-light) 130%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead {
  font-size: clamp(1.02rem, 2.4vw, 1.32rem);
  color: var(--ink-soft); font-weight: 300;
  max-width: 30ch; margin: 0 auto;
}

.scrollcue {
  position: absolute; bottom: clamp(1.6rem, 5vh, 3rem); left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink-faint);
  font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase;
}
.scrollcue__line {
  width: 1px; height: 52px;
  background: linear-gradient(180deg, var(--gold), transparent);
  position: relative; overflow: hidden;
}
.scrollcue__line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--gold-pale);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0% { top: -55%; } 100% { top: 120%; } }

/* ---------- Cenas de afirmação ---------- */
.statement { max-width: 1040px; }
.statement.alt { align-items: flex-end; text-align: right; }
.statement__big {
  font-weight: 600;
  font-size: clamp(1.9rem, 5.4vw, 4.4rem);
  line-height: 1.06; letter-spacing: -0.018em;
  max-width: 18ch; margin-bottom: 1.8rem;
}
.statement.alt .statement__big { margin-left: auto; }
.statement__sub {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--ink-soft); font-weight: 300; max-width: 52ch;
}
.statement.alt .statement__sub { margin-left: auto; }

/* ---------- Pilares ---------- */
.pillars { gap: clamp(2.5rem, 6vh, 4rem); }
.pillars__head h2 {
  font-weight: 600; font-size: clamp(1.9rem, 5vw, 3.4rem);
  line-height: 1.05; letter-spacing: -0.015em; max-width: 16ch;
}
.pillars__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.9rem, 2vw, 1.4rem);
}
.pillar {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  min-height: 270px;
  border: 1px solid var(--hair); border-radius: 20px;
  background: rgba(255, 255, 255, 0.018);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  text-decoration: none; color: var(--ink);
  overflow: hidden; isolation: isolate;
  transition: transform 0.5s var(--ease), border-color 0.5s ease, background 0.5s ease;
}
.pillar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  transition: opacity 0.5s ease;
}
.pillar--tech::before { background: radial-gradient(120% 90% at 0% 0%, rgba(49,85,138,0.35), transparent 60%); }
.pillar--brand::before { background: radial-gradient(120% 90% at 0% 0%, rgba(204,184,3,0.22), transparent 60%); }
.pillar--diff::before { background: radial-gradient(120% 90% at 0% 0%, rgba(108,140,193,0.22), transparent 60%); }
.pillar:hover {
  transform: translateY(-8px);
  border-color: rgba(127, 180, 222, 0.4);
  background: rgba(255, 255, 255, 0.045);
}
.pillar:hover::before { opacity: 0.95; }
.pillar__index {
  font-size: 0.78rem; letter-spacing: 0.3em; color: var(--gold-soft);
  font-weight: 600;
}
.pillar h3 {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600;
  margin: auto 0 0.7rem; letter-spacing: -0.01em;
}
.pillar p { color: var(--ink-soft); font-weight: 300; font-size: 0.98rem; }
.pillar__more {
  margin-top: 1.4rem; font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue-light);
  transition: transform 0.4s var(--ease);
}
.pillar:hover .pillar__more { transform: translateX(6px); }

/* ---------- Contacto / Links ---------- */
.contact { gap: clamp(2.2rem, 5vh, 3.4rem); }
.contact__head h2 {
  font-weight: 600; font-size: clamp(2rem, 5.5vw, 3.8rem);
  line-height: 1.05; letter-spacing: -0.015em; max-width: 14ch;
}
.contact__lead { color: var(--ink-soft); font-weight: 300; margin-top: 0.8rem; font-size: 1.05rem; }

.links { display: flex; flex-direction: column; gap: 0.85rem; max-width: 640px; width: 100%; }
.link {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px;
  background: rgba(10, 14, 22, 0.42);
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 8px 30px rgba(4, 8, 16, 0.28);
  text-decoration: none; color: #fff;
  transition: transform 0.4s var(--ease), border-color 0.4s ease, background 0.4s ease;
}
.link:hover { transform: translateY(-3px); border-color: rgba(204,184,3,0.5); background: rgba(14, 20, 30, 0.55); }
.link__icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(127, 180, 222, 0.1); color: var(--blue-light);
  transition: background 0.4s ease, color 0.4s ease;
}
.link:hover .link__icon { background: rgba(127,180,222,0.18); }
.link__body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.link__title { font-weight: 600; font-size: 1.02rem; }
.link__meta { font-size: 0.82rem; color: var(--ink-faint); }
.link__chev { color: var(--ink-faint); transition: transform 0.4s var(--ease), color 0.4s ease; }
.link:hover .link__chev { transform: translateX(5px); color: var(--gold-soft); }

.link--primary {
  background: linear-gradient(100deg, rgba(204,184,3,0.16), rgba(204,184,3,0.04));
  border-color: rgba(204, 184, 3, 0.4);
}
.link--primary .link__icon { background: var(--gold); color: var(--black); }
.link--primary:hover { background: linear-gradient(100deg, rgba(204,184,3,0.26), rgba(204,184,3,0.08)); border-color: var(--gold); }

/* ---------- Rodapé ---------- */
.foot {
  position: relative; z-index: 2;
  text-align: center;
  padding: clamp(3.5rem, 9vh, 7rem) 1.4rem clamp(2.5rem, 6vh, 4rem);
  border-top: 1px solid var(--hair);
}
.foot__lockup {
  height: clamp(28px, 5vw, 40px); width: auto;
  filter: brightness(0) invert(1); opacity: 0.85; margin-bottom: 1.6rem;
}
.foot__meta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft);
}
.foot__meta .dot { color: var(--gold); }
.foot__fine { margin-top: 1rem; font-size: 0.72rem; color: var(--ink-faint); letter-spacing: 0.04em; }

/* ---------- Reveal (JS) ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 820px) {
  .hero__title { white-space: normal; }
  .pillars__grid { grid-template-columns: 1fr; }
  .pillar { min-height: 200px; }
  .statement.alt { align-items: flex-start; text-align: left; }
  .statement.alt .statement__big,
  .statement.alt .statement__sub { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__mark { animation: none; }
  .scrollcue__line::after { animation: none; }
  [data-reveal] { transition: opacity 0.4s ease; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   GALERIA — UI (nav pílula de vidro, intro, links/obras)
   ============================================================ */
html, body { height: auto; }
body { background: #05070d; }
.scroller { height: 620vh; pointer-events: none; }

.nav {
  position: fixed; top: calc(14px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); z-index: 70;
  display: flex; align-items: center; gap: 10px;
  padding: 7px 7px 7px 16px; border-radius: 9999px;
  background: linear-gradient(180deg, rgba(48,60,84,0.24), rgba(14,20,30,0.28));
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(24px) saturate(1.65); -webkit-backdrop-filter: blur(24px) saturate(1.65);
  box-shadow: 0 16px 44px -16px rgba(0,0,0,0.42), inset 0 1.5px 1px rgba(255,255,255,0.34), inset 0 -2px 4px rgba(0,0,0,0.14);
  transition: background 0.4s ease;
}
.nav--solid { background: linear-gradient(180deg, rgba(40,52,76,0.34), rgba(10,15,24,0.42)); }
.nav__logo img { height: 20px; display: block; filter: brightness(0) invert(1); opacity: 0.95; }

/* Botão hambúrguer — modelo do site nucleoparceiro.com (ícone limpo de vidro) */
.navbtn {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18);
  -webkit-tap-highlight-color: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.navbtn:hover, .navbtn:focus-visible { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.32); outline: none; }
/* rótulo só p/ leitores de tela */
.navbtn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.navbtn__bars { position: relative; width: 16px; height: 11px; flex: 0 0 auto; }
.navbtn__bars i {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: rgba(255,255,255,0.92);
  transition: transform 0.32s var(--ease), opacity 0.2s ease, top 0.32s var(--ease);
}
.navbtn__bars i:nth-child(1) { top: 0; }
.navbtn__bars i:nth-child(2) { top: 4.5px; }
.navbtn__bars i:nth-child(3) { top: 9px; }
body.menu-open .navbtn__bars i:nth-child(1) { top: 4.5px; transform: rotate(45deg); }
body.menu-open .navbtn__bars i:nth-child(2) { opacity: 0; }
body.menu-open .navbtn__bars i:nth-child(3) { top: 4.5px; transform: rotate(-45deg); }

/* ===== Painel de ligações — desce da pílula, no mesmo vidro do site ===== */
.menu { position: fixed; inset: 0; z-index: 60; }
.menu[hidden] { display: none; }
.menu__backdrop {
  position: absolute; inset: 0; background: rgba(4,7,13,0.42);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity 0.4s ease;
}
.menu.is-open .menu__backdrop { opacity: 1; }
.menu__handle { display: none; }
.menu__sheet {
  position: absolute; top: calc(74px + env(safe-area-inset-top)); left: 50%;
  width: min(92vw, 372px); max-height: 72vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 12px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(40,52,74,0.50), rgba(10,15,24,0.60));
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: 0 28px 64px -22px rgba(0,0,0,0.7), inset 0 1.5px 1px rgba(255,255,255,0.26), inset 0 -2px 5px rgba(0,0,0,0.16);
  transform-origin: top center; transform: translateX(-50%) translateY(-10px) scale(0.96); opacity: 0;
  transition: transform 0.42s var(--ease), opacity 0.3s ease;
}
.menu.is-open .menu__sheet { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
.menu__head { display: flex; align-items: center; justify-content: space-between; margin: 2px 6px 12px; }
.menu__title { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.menu__close {
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer; line-height: 1; font-size: 0.82rem;
  border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.05); color: var(--ink);
  -webkit-tap-highlight-color: transparent; transition: background 0.3s ease;
}
.menu__close:hover { background: rgba(255,255,255,0.12); }
.menu__list { display: flex; flex-direction: column; gap: 8px; }
.menu__item {
  display: flex; align-items: center; gap: 13px; padding: 11px 13px; border-radius: 14px;
  text-decoration: none; color: var(--ink);
  background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.10);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.menu__item:active { transform: scale(0.985); }
.menu__item:hover, .menu__item:focus-visible {
  border-color: rgba(255,255,255,0.22); outline: none; background: rgba(255,255,255,0.09);
}
.menu__ic {
  flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); color: #fff;
}
.menu__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.menu__name { font-weight: 600; font-size: 1.0rem; line-height: 1.12; }
.menu__sub { font-size: 0.72rem; color: rgba(255,255,255,0.5); overflow-wrap: anywhere; line-height: 1.3; }
.menu__go { flex: 0 0 auto; color: rgba(255,255,255,0.4); font-size: 1.1rem; }

/* CTA dourado — modelo "Marcar Conversa" do site (aplicado ao WhatsApp/Agendar) */
.menu__item--cta {
  background: linear-gradient(180deg, #F4E9C4, #E1C97C); border: 0; color: #0F1623;
  box-shadow: 0 8px 20px -8px rgba(226,202,58,0.5), inset 0 1px 1px rgba(255,255,255,0.4);
}
.menu__item--cta:hover, .menu__item--cta:focus-visible { background: linear-gradient(180deg, #F7EECF, #E6CF86); border: 0; }
.menu__item--cta .menu__ic { background: rgba(15,22,35,0.10); border-color: rgba(15,22,35,0.22); color: #0F1623; }
.menu__item--cta .menu__name { color: #0F1623; }
.menu__item--cta .menu__sub { color: rgba(15,22,35,0.62); }
.menu__item--cta .menu__go { color: rgba(15,22,35,0.55); }

body.menu-open { overflow: hidden; }

.intro {
  position: fixed; left: 0; right: 0; top: 34%; transform: translateY(-50%); z-index: 20;
  text-align: center; pointer-events: none; transition: opacity 0.35s ease;
}
@media (max-width: 720px) {
  .intro { top: calc(21% + env(safe-area-inset-top)); }
}
/* (sem "listra"/scrim atrás da logo — a legibilidade vem da sombra da própria logo/slogan) */
.intro__eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.1rem; }
.intro__eyebrow::before { content: ""; display: inline-block; width: 26px; height: 1px; margin-right: 14px; vertical-align: middle; background: var(--gold); opacity: 0.8; }
.intro__brand { margin: 0; line-height: 0; }
.intro__logo {
  display: block; margin: 0 auto; width: clamp(248px, 42vw, 540px); height: auto;
  /* sombra que abraça a logo (contraste sem "faixa"): uma curta+escura e uma macia */
  filter: brightness(0) invert(1)
          drop-shadow(0 1px 6px rgba(2,4,8,0.9))
          drop-shadow(0 4px 26px rgba(2,4,8,0.6));
  opacity: 0.98;
}
.intro__slogan {
  margin: 1.5rem auto 0; max-width: 540px; padding: 0 1.2rem;
  font-size: clamp(0.82rem, 1.7vw, 1.06rem); font-weight: 400; line-height: 1.55;
  letter-spacing: 0.03em; color: rgba(242,244,248,0.82);
  text-shadow: 0 1px 3px rgba(2,4,8,0.92), 0 2px 16px rgba(2,4,8,0.6);
}
.intro__hint { margin-top: 1.8rem; display: inline-flex; flex-direction: column; align-items: center; gap: 12px; font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.intro__line { width: 1px; height: 50px; background: linear-gradient(var(--gold), transparent); }

/* Pista de scroll PERSISTENTE — fixa no rodapé, some só no fim (controlada por main.js) */
.scrollcue {
  position: fixed; left: 50%; bottom: calc(2.4vh + env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: 26; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--gold-soft); text-shadow: 0 1px 18px rgba(2,4,8,0.85);
  transition: opacity 0.45s ease;
}
.scrollcue__arrow { color: var(--gold); animation: cueBounce 1.7s var(--ease) infinite; filter: drop-shadow(0 1px 10px rgba(2,4,8,0.7)); }
.scrollcue__txt { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; }
@keyframes cueBounce { 0%,100% { transform: translateY(2px); opacity: 0.55; } 50% { transform: translateY(-5px); opacity: 1; } }

#hotspots { position: fixed; inset: 0; z-index: 15; pointer-events: none; }
.art {
  position: fixed; left: 0; top: 0; will-change: transform, opacity;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: 212px; padding: 22px 20px 18px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(14,20,32,0.62), rgba(6,9,16,0.68));
  border: 1px solid rgba(214,190,17,0.26);
  backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 24px 70px rgba(2,4,8,0.55), inset 0 1px 0 rgba(255,255,255,0.08);
  text-decoration: none; color: #fff; overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.art__glow { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.45s ease;
  background: radial-gradient(72% 60% at 50% 0%, rgba(204,184,3,0.22), transparent 70%); }
.art__medal { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(204,184,3,0.18), rgba(127,180,222,0.10));
  border: 1px solid rgba(214,190,17,0.4); color: #f2e6a8; margin-bottom: 14px;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease; }
.art__name { font-weight: 600; font-size: 1.12rem; letter-spacing: 0.01em; line-height: 1.1; }
.art__rule { width: 34px; height: 1px; margin: 10px 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.art__sub { font-size: 0.7rem; color: rgba(255,255,255,0.6); max-width: 100%; line-height: 1.34; overflow-wrap: anywhere; }
.art__cta { margin-top: 15px; font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.42);
  display: inline-flex; align-items: center; gap: 7px; transition: color 0.4s ease; }
.art__cta i { font-style: normal; transition: transform 0.4s var(--ease); }
.art--focus { border-color: rgba(214,190,17,0.62); box-shadow: 0 30px 90px rgba(2,4,8,0.6), 0 0 54px rgba(204,184,3,0.15), inset 0 1px 0 rgba(255,255,255,0.1); }
.art--focus .art__glow { opacity: 1; }
.art--focus .art__medal { color: #0a0e13; background: var(--gold); border-color: var(--gold); }
.art--focus .art__cta { color: var(--gold-soft); }
.art--focus .art__cta i { transform: translateX(4px); }

@media (max-width: 720px) {
  .art { width: 174px; padding: 18px 16px 15px; }
  .art__name { font-size: 1.04rem; }
  .art__cta { font-size: 0.66rem; }
}
