/* ===== Tuniko Tech — tema escuro + dourado ===== */
:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --surface: #17171a;
  --surface-2: #1e1e22;
  --line: rgba(216, 179, 108, 0.14);
  --text: #f2eee6;
  --muted: #9a958c;
  --gold: #d8b36c;
  --gold-2: #f1d79c;
  --gold-3: #a8843f;
  --gold-grad: linear-gradient(135deg, #f6e3b4 0%, #d8b36c 40%, #a8843f 70%, #f1d79c 100%);
  --radius: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: #111; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.gold-text {
  background: var(--gold-grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.eyebrow {
  font-family: var(--mono);
  font-size: .85rem;
  color: var(--gold);
  letter-spacing: .04em;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin-bottom: 1.2em;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(216,179,108,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(216,179,108,0); } 100% { box-shadow: 0 0 0 0 rgba(216,179,108,0); } }

/* ===== Preloader ===== */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: grid; place-content: center; justify-items: center; gap: 28px;
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__logo { width: 96px; animation: float 2.4s ease-in-out infinite; filter: drop-shadow(0 0 30px rgba(216,179,108,.35)); }
.preloader__bar { width: 160px; height: 2px; background: var(--surface-2); border-radius: 2px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 40%; background: var(--gold-grad); animation: load 1.1s var(--ease) infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ===== Efeitos de fundo ===== */
.cursor-glow {
  position: fixed; width: 520px; height: 520px; border-radius: 50%;
  pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(216,179,108,.09), transparent 65%);
  transform: translate(-50%, -50%);
  left: -999px; top: -999px;
  transition: opacity .4s;
}
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 999; opacity: .045;
  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='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Botões ===== */
.btn {
  --pad: 15px 28px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad);
  border-radius: 999px;
  font: 700 .95rem/1 var(--font);
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s, border-color .35s;
  will-change: transform;
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

.btn--gold {
  color: #15120b;
  background: var(--gold-grad);
  background-size: 200% auto;
  box-shadow: 0 8px 30px -10px rgba(216,179,108,.55), inset 0 1px 0 rgba(255,255,255,.4);
  transition: background-position .6s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn--gold:hover { background-position: right center; box-shadow: 0 14px 40px -10px rgba(216,179,108,.75), inset 0 1px 0 rgba(255,255,255,.5); }
/* brilho que atravessa o botão */
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn--gold:hover::after { transform: translateX(120%); transition: transform .9s var(--ease); }

.btn--ghost {
  color: var(--text);
  border-color: rgba(216,179,108,.35);
  background: rgba(255,255,255,.02);
  backdrop-filter: blur(6px);
}
/* preenchimento que sobe */
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold-grad);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn--ghost:hover { color: #15120b; border-color: var(--gold); }
.btn--ghost:hover::before { transform: translateY(0); }

.btn--sm { --pad: 10px 20px; font-size: .88rem; }
.btn--block { width: 100%; }

/* ===== Navegação ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px 0;
  transition: padding .4s var(--ease), background .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 10px 0;
  background: rgba(11,11,12,.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.brand img { transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand__name b { color: var(--gold); font-weight: 800; }
.brand__name em { font-style: normal; font-family: var(--mono); font-weight: 500; font-size: .8em; color: var(--muted); margin-left: 2px; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 70svh; display: flex; align-items: center; padding: 110px 0 40px; overflow: hidden; }
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__title { font-size: clamp(2.8rem, 8vw, 5.2rem); font-weight: 800; margin: 8px 0 6px; }
.hero__code { font-family: var(--mono); color: var(--gold); font-size: clamp(.95rem, 2vw, 1.15rem); margin-bottom: 36px; }
.hero__lead { color: var(--muted); font-size: 1.1rem; max-width: 460px; margin-bottom: 34px; }

.hero__grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(216,179,108,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216,179,108,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 30%, transparent 75%);
}
.hero__orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .3; }
.orb--1 { width: 520px; height: 520px; background: #a8843f; top: -200px; left: 50%; margin-left: -260px; animation: drift 14s ease-in-out infinite alternate; }
.orb--2 { width: 340px; height: 340px; background: #5a4520; top: 30%; left: -180px; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 60px) scale(1.1); } }

.logo-stage { position: relative; width: min(260px, 62vw); aspect-ratio: 1; display: grid; place-items: center; transition: transform .2s ease-out; }
.logo-stage__img { width: 60%; position: relative; z-index: 2; filter: drop-shadow(0 20px 50px rgba(216,179,108,.3)); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.ring--1 { inset: 0; border-color: rgba(216,179,108,.22); animation: spin 30s linear infinite; }
.ring--1::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px var(--gold); }
.ring--2 { inset: 12%; border-style: dashed; animation: spin 40s linear infinite reverse; }
.ring--3 { inset: 22%; background: radial-gradient(circle, rgba(216,179,108,.12), transparent 70%); border: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Seções ===== */
.section { position: relative; padding: clamp(40px, 7vw, 80px) 0 clamp(80px, 10vw, 120px); }
.section--alt { background: var(--bg-2); }
.section__head { max-width: 640px; margin-bottom: 56px; }
.section__sub { color: var(--muted); font-size: 1.1rem; }

/* Projetos */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
  font: 600 .9rem var(--font); color: var(--muted);
  padding: 10px 20px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--line);
  transition: all .35s var(--ease);
}
.filter:hover { color: var(--text); border-color: rgba(216,179,108,.45); }
.filter.is-active { color: #15120b; background: var(--gold-grad); border-color: transparent; }

.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 26px; }
.project {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.project::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(216,179,108,.13), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.project:hover { border-color: rgba(216,179,108,.45); box-shadow: 0 30px 60px -30px rgba(216,179,108,.3); }
.project:hover::before { opacity: 1; }
.project:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 4px; }
.project.is-hidden { display: none; }

.project__media {
  position: relative; aspect-ratio: 16/10; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, #3a2e17, #121214 70%);
  border-bottom: 1px solid var(--line);
}
.project__media > img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.1s var(--ease); }
.project:hover .project__media > img { transform: scale(1.05); }
.project__placeholder { font-family: var(--mono); font-size: 1.1rem; color: var(--gold-2); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--mono); font-size: .72rem; color: var(--gold-2);
  padding: 5px 11px; border-radius: 999px;
  background: rgba(11,11,12,.75); border: 1px solid rgba(216,179,108,.35); backdrop-filter: blur(8px);
}

.project__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.project__cat { font-family: var(--mono); font-size: .75rem; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
.project__body h3 { margin: 8px 0 8px; font-size: 1.4rem; }
.project__body p { color: var(--muted); font-size: .97rem; margin: 0 0 16px; }
.project__tags { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.project__tags li { font-family: var(--mono); font-size: .72rem; color: #cfc6b2; padding: 4px 10px; border-radius: 999px; background: rgba(216,179,108,.08); border: 1px solid var(--line); }
.project__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold-2); }
.project__more svg { transition: transform .4s var(--ease); }
.project:hover .project__more svg { transform: translateX(5px); }
.project__soon { display: inline-flex; align-items: center; gap: .6em; font-family: var(--mono); font-size: .85rem; color: var(--muted); }
.empty { color: var(--muted); text-align: center; }

/* Galeria / visualizador */
.gal { position: relative; cursor: zoom-in; background: radial-gradient(circle at 50% 50%, #1a1712, #0b0b0c 75%); }
.gal img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: scale(1.03);
  transition: opacity .7s var(--ease), transform 1.2s var(--ease);
}
.gal img.is-active { opacity: 1; transform: none; }
.gal__arrow, .gal__zoom {
  position: absolute; z-index: 3; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  color: var(--gold-2); background: rgba(11,11,12,.7); border: 1px solid rgba(216,179,108,.35);
  backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .35s, transform .35s var(--ease), background .3s, color .3s;
}
.gal__arrow { top: 50%; margin-top: -20px; }
.gal__arrow--l { left: 14px; transform: translateX(-8px); }
.gal__arrow--r { right: 14px; transform: translateX(8px); }
.gal__zoom { top: 14px; right: 14px; width: 36px; height: 36px; }
.gal:hover .gal__arrow, .gal:hover .gal__zoom, .gal:focus-within .gal__arrow { opacity: 1; transform: none; }
.gal__arrow:hover, .gal__zoom:hover { background: var(--gold); color: #15120b; }

/* Tela cheia */
.lightbox {
  position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 24px 72px;
  background: rgba(6,6,7,.92); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; display: grid; gap: 14px; justify-items: center; transform: scale(.96); transition: transform .45s var(--ease); }
.lightbox.is-open .lightbox__fig { transform: none; }
.lightbox__fig img { max-width: 100%; max-height: calc(100svh - 110px); border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 40px 100px -30px rgba(0,0,0,.9); }
.lightbox__fig figcaption { font-family: var(--mono); font-size: .85rem; color: var(--gold-2); text-align: center; }
.lightbox__close, .lightbox__arrow {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  color: var(--gold-2); background: rgba(23,23,26,.85); border: 1px solid rgba(216,179,108,.35);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.lightbox__close { top: 18px; right: 18px; }
.lightbox__arrow { top: 50%; margin-top: -24px; }
.lightbox__arrow--l { left: 14px; }
.lightbox__arrow--r { right: 14px; }
.lightbox__close:hover, .lightbox__arrow:hover { background: var(--gold); color: #15120b; transform: scale(1.08); }

@media (max-width: 900px) {
  .gal__arrow { opacity: 1; transform: none; }
  .lightbox { padding: 64px 12px 24px; }
  .lightbox__arrow { top: auto; bottom: 18px; margin: 0; }
}

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer p { margin: 0; }
.footer__code { font-family: var(--mono); color: var(--gold-3); }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(216,179,108,.4);
  background: rgba(23,23,26,.85); color: var(--gold); cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .4s, transform .4s var(--ease), background .3s, color .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold); color: #15120b; }

/* ===== Reveal ao rolar ===== */
.reveal { opacity: 0; transform: translateY(36px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* ===== Página do projeto ===== */
.phero { position: relative; padding: 130px 0 40px; overflow: hidden; }
.phero .container { position: relative; z-index: 2; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: .92rem; margin-bottom: 34px; transition: color .3s, gap .3s var(--ease); }
.back:hover { color: var(--gold-2); gap: 12px; }
.phero__grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.phero__title { font-size: clamp(2.6rem, 7vw, 4.8rem); font-weight: 800; margin-bottom: .25em; }
.phero__lead { color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 620px; margin-bottom: 30px; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.meta { margin: 0; display: grid; gap: 0; min-width: 250px; border: 1px solid var(--line); border-radius: 16px; background: rgba(23,23,26,.6); backdrop-filter: blur(8px); overflow: hidden; }
.meta div { display: flex; justify-content: space-between; gap: 24px; padding: 13px 18px; }
.meta div + div { border-top: 1px solid var(--line); }
.meta dt { color: var(--muted); font-size: .85rem; }
.meta dd { margin: 0; font-weight: 700; font-size: .9rem; color: var(--text); text-align: right; }

.viewer { margin-top: 10px; }
.viewer__stage { aspect-ratio: 16/10; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 50px 100px -50px rgba(216,179,108,.35); }
.viewer__stage .gal__arrow { width: 48px; height: 48px; margin-top: -24px; }
.viewer__caption { text-align: center; font-family: var(--mono); font-size: .88rem; color: var(--gold-2); margin: 16px 0 14px; min-height: 1.4em; }
.viewer__thumbs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.viewer__thumbs button {
  width: 132px; aspect-ratio: 16/10; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); background: #0b0b0c; opacity: .5;
  transition: opacity .3s, border-color .3s, transform .4s var(--ease);
}
.viewer__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.viewer__thumbs button:hover { opacity: .85; transform: translateY(-3px); }
.viewer__thumbs button.is-active { opacity: 1; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,179,108,.18); }

.about-p__text { max-width: 760px; }
.about-p__text p { color: #c9c3b8; font-size: 1.1rem; line-height: 1.8; }
.about-p__text .project__tags { margin-top: 26px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  position: relative; padding: 30px 26px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.feature::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(216,179,108,.13), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.feature:hover { border-color: rgba(216,179,108,.45); box-shadow: 0 30px 60px -30px rgba(216,179,108,.3); }
.feature:hover::before { opacity: 1; }
.feature__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: rgba(216,179,108,.08); border: 1px solid var(--line); color: var(--gold); transition: transform .5s var(--ease), background .4s; }
.feature__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature:hover .feature__icon { transform: translateY(-4px) rotate(-6deg); background: rgba(216,179,108,.16); }
.feature p { color: var(--muted); font-size: .96rem; margin: 0; }

.usage { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(23,23,26,.5); transition: border-color .3s, transform .4s var(--ease); }
.steps li:hover { border-color: rgba(216,179,108,.45); transform: translateX(6px); }
.steps li span { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-family: var(--mono); color: #15120b; background: var(--gold-grad); font-weight: 500; }
.steps li p { margin: 8px 0 0; color: #d5cfc4; }
.reqs { padding: 30px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--surface), var(--bg-2)); position: sticky; top: 90px; }
.reqs h3 { font-size: 1.25rem; margin-bottom: 18px; }
.reqs ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.reqs li { display: flex; gap: 12px; color: #d5cfc4; font-size: .96rem; }
.reqs li::before { content: "✓"; flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: .7rem; color: #15120b; background: var(--gold-grad); margin-top: 2px; }
.reqs__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.mini-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 18px; }
.mini { display: flex; align-items: center; gap: 18px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, transform .4s var(--ease); }
.mini:hover { border-color: rgba(216,179,108,.45); transform: translateY(-4px); }
.mini img { width: 140px; aspect-ratio: 16/10; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line); flex-shrink: 0; }
.mini h3 { margin: 0 0 4px; }
.mini p { margin: 0; color: var(--muted); font-size: .9rem; }
.mini__arrow { margin-left: auto; color: var(--gold); transition: transform .4s var(--ease); }
.mini:hover .mini__arrow { transform: translateX(5px); }

.notfound { padding: 180px 0 120px; text-align: center; }
.notfound p { color: var(--muted); margin-bottom: 28px; }

@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .usage { grid-template-columns: 1fr; gap: 40px; }
  .reqs { position: static; }
  .phero__grid { grid-template-columns: 1fr; gap: 28px; }
  .meta { min-width: 0; }
}
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
  .phero { padding-top: 104px; }
  .viewer__stage { border-radius: 14px; }
  .viewer__thumbs button { width: 74px; }
  .mini img { width: 96px; }
  .mini__arrow { display: none; }
}

/* ===== Tour anotado ===== */
.tour { padding-top: clamp(30px, 5vw, 60px); }
.annot { margin: 0 0 clamp(70px, 9vw, 120px); }
.annot:last-child { margin-bottom: 0; }
.annot__title { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 28px; font-weight: 700; font-size: 1.15rem; text-align: center; }
.annot__title span { font-family: var(--mono); font-size: .8rem; color: #15120b; background: var(--gold-grad); padding: 4px 9px; border-radius: 999px; }

.annot__body { position: relative; display: grid; grid-template-columns: minmax(170px, 230px) minmax(0, 1fr) minmax(170px, 230px); gap: 44px; align-items: stretch; }
.annot__shot { position: relative; z-index: 1; align-self: center; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 50px 100px -50px rgba(216,179,108,.35); cursor: zoom-in; }
.annot__shot img { width: 100%; border-radius: 15px; display: block; }

.annot__col { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-around; gap: 14px; position: relative; z-index: 2; }
.annot__col--esq { text-align: right; }
.annot__label {
  display: flex; gap: 10px; align-items: flex-start; cursor: default;
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--k, 0) * .12s + .35s);
}
.annot__col--esq .annot__label { flex-direction: row-reverse; }
.annot__label strong { display: block; font-size: .95rem; line-height: 1.3; color: var(--text); transition: color .3s; }
.annot__label p { margin: 3px 0 0; font-size: .82rem; line-height: 1.45; color: var(--muted); }
.annot__num { flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-family: var(--mono); font-size: .72rem; color: var(--gold-2); border: 1px solid rgba(216,179,108,.5); background: var(--bg); transition: background .3s, color .3s; }

.annot__dot {
  position: absolute; z-index: 3; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: #15120b;
  box-shadow: 0 0 0 3px rgba(11,11,12,.75), 0 0 18px rgba(216,179,108,.8);
  transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1), box-shadow .3s;
  transition-delay: calc(var(--k, 0) * .12s + .6s);
}
.annot__dot i { font-style: normal; font-family: var(--mono); font-size: .66rem; font-weight: 500; }
.annot__dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2); opacity: 0; } }

.annot__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.annot__lines path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.annot__path { stroke: var(--gold); stroke-width: 1.4; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.1s var(--ease), stroke .3s, stroke-width .3s; transition-delay: calc(var(--i) * .12s + .2s); }
.annot__glow { stroke: rgba(216,179,108,.25); stroke-width: 6; filter: blur(3px); stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.1s var(--ease), opacity .3s; transition-delay: calc(var(--i) * .12s + .2s); }
.annot__lines circle { fill: var(--gold); opacity: 0; transition: opacity .4s; transition-delay: calc(var(--i) * .12s + .2s); }

.annot.is-drawn .annot__path, .annot.is-drawn .annot__glow { stroke-dashoffset: 0; }
.annot.is-drawn .annot__lines circle { opacity: 1; }
.annot.is-drawn .annot__label { opacity: 1; transform: none; }
.annot.is-drawn .annot__dot { transform: scale(1); }

/* destaque ao passar o mouse */
.annot.has-hot .annot__lines g:not(.is-hot) { opacity: .25; }
.annot.has-hot .annot__label:not(.is-hot) { opacity: .45; }
.annot.has-hot .annot__dot:not(.is-hot) { opacity: .4; }
.annot__lines g { transition: opacity .3s; }
.annot__label.is-hot strong { color: var(--gold-2); }
.annot__label.is-hot .annot__num { background: var(--gold); color: #15120b; }
.annot__lines g.is-hot .annot__path { stroke: var(--gold-2); stroke-width: 2; }
.annot__dot.is-hot { transform: scale(1.25); box-shadow: 0 0 0 3px rgba(11,11,12,.75), 0 0 28px rgba(241,215,156,1); }
.annot.is-settled .annot__label, .annot.is-settled .annot__dot, .annot.is-settled .annot__path, .annot.is-settled .annot__glow { transition-delay: 0s; }

@media (max-width: 980px) {
  .annot__body { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
  .annot__shot { grid-column: 1 / -1; order: -1; margin-bottom: 8px; }
  .annot__lines { display: none; }
  .annot__col, .annot__col--esq { text-align: left; justify-content: flex-start; }
  .annot__col--esq .annot__label { flex-direction: row; }
}
@media (max-width: 600px) {
  .annot__body { grid-template-columns: 1fr; }
  .annot__dot { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
  .annot__dot i { font-size: .58rem; }
}

/* tour mais largo para as prints ficarem maiores */
.tour .container { width: min(1440px, 100% - 32px); }
.tour .section__head { width: min(1180px, 100%); margin-inline: auto; }
@media (min-width: 981px) {
  .annot__body { grid-template-columns: 200px minmax(0, 1fr) 200px; gap: 40px; }
  .annot__dot { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
  .annot__dot i { font-size: .6rem; }
}
.annot__col.is-abs { display: block; }
.annot__col.is-abs .annot__label { position: absolute; left: 0; right: 0; }
