/* =========================================================
   O Último Sheikah — Landing Page
   Tema: The Legend of Zelda / Breath of the Wild (Sheikah)
   ========================================================= */

/* ---------- Fontes ---------- */
@font-face {
  font-family: "Hylia Serif";
  src: url("assets/fonts/HyliaSerif.ttf") format("truetype");
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: "Calamity";
  src: url("assets/fonts/Calamity-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Calamity";
  src: url("assets/fonts/Calamity-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Sheikah";
  src: url("assets/fonts/BotW_Sheikah.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Rogliano";
  src: url("assets/fonts/rogliano-extrabold.otf") format("opentype");
  font-display: swap;
}

/* ---------- Variáveis ---------- */
:root {
  --navy-900: #050b16;
  --navy-800: #081223;
  --navy-700: #0d1c33;
  --navy-600: #12263f;
  --blue:     #3fa9ff;
  --blue-rgb: 63, 169, 255; /* base RGB do azul — usada nos rgba() p/ ser tematizável (ex.: Konami) */
  --blue-glow:#5bc0ff;
  --cyan:     #8ef0ff;
  --ivory:    #eef4f7;
  --muted:    #9fb3c8;
  --gold:     #f0c674;
  --cream:    #fbf6dc;

  --maxw: 1120px;
  --radius: 14px;
  --glow: 0 0 18px rgba(var(--blue-rgb), 0.55);
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: "Calamity", "Segoe UI", system-ui, sans-serif;
  background: var(--navy-900);
  color: var(--ivory);
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: "Hylia Serif", "Calamity", serif;
  font-weight: normal;
  letter-spacing: 0.5px;
  line-height: 1.15;
  color: var(--cream);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Texto rúnico decorativo */
.runes {
  font-family: "Sheikah", sans-serif;
  color: var(--blue);
  opacity: 0.5;
  letter-spacing: 2px;
  text-shadow: var(--glow);
}

/* ---------- Eyebrow / títulos de seção ---------- */
.eyebrow {
  display: inline-block;
  font-family: "Calamity", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue-glow);
  margin-bottom: 14px;
}

.section {
  position: relative;
  padding: 96px 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}

.section-intro {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Separador horizontal de runas (padrão repetível) */
.rune-divider {
  height: 14px;
  background: url("assets/img/frame-round-runes.webp") repeat-x center;
  background-size: auto 14px;
  opacity: 0.85;
  filter: drop-shadow(0 0 6px rgba(var(--blue-rgb),0.35));
}

/* Easter egg bobo: Ganondorf dançando em cima da linha do topo do bloco CTA,
   pequeno e meio transparente (como se estivesse longe), encostado nos cantos. */
.cta { position: relative; }
.ganon-dance {
  position: absolute;
  bottom: 0;
  transform: translateY(-1px);   /* pés apoiados na borda de baixo do bloco */
  width: 52px;                   /* pequeno, "ao longe" */
  height: auto;
  opacity: 0.45;                 /* meio transparente */
  pointer-events: none;
  user-select: none;
  z-index: 2;
}
.ganon-dance--right { right: 6%; }
.ganon-dance--left { left: 6%; }
/* Quem pediu menos animação não vê o gif dançando. */
@media (prefers-reduced-motion: reduce) {
  .ganon-dance { display: none; }
}

/* Moldura ivory nas bordas de uma seção (separador decorativo entre blocos).
   Repetida como pattern horizontal (repeat-x), mantendo a proporção do desenho.
   --top usa o SVG com flip vertical. */
.section-frame {
  position: absolute;
  left: 0;
  width: 100%;
  height: 10px;
  pointer-events: none;
  z-index: 3;
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 10px;
}
.section-frame--bottom { bottom: 0; background-image: url("assets/img/frame-ivory.svg"); }
.section-frame--top { top: 0; background-image: url("assets/img/frame-ivory-top.svg"); }

/* Ornamento dourado centralizado — divisor inline entre dois blocos da mesma seção */
.section-divider {
  width: 200px;
  height: 14px;
  margin: 64px auto;
  background: url("assets/img/divider.svg") center / contain no-repeat;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Bloco da Biblioteca na home (acervo) — mesma seção do Conteúdo ---------- */
.library-home-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px 0;
  text-align: left;
}
.library-home-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid rgba(var(--blue-rgb), 0.18);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.library-home-rune {
  font-family: "Sheikah", sans-serif;
  color: var(--cyan);
  text-shadow: var(--glow);
  flex: none;
}
@media (max-width: 760px) {
  .library-home-points { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- Loja do canal ---------- */
.shop {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-600) 100%);
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.shop-card {
  display: flex;
  flex-direction: column;
  padding: 14px;
  background:
    url("assets/img/pattern-triforce.webp") repeat,
    linear-gradient(160deg, var(--navy-700), var(--navy-800));
  background-size: 110px auto, auto;
  border: 1px solid rgba(var(--blue-rgb), 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.shop-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--blue-rgb), 0.55);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), var(--glow);
}
.shop-card-photo {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--navy-900);
  border-radius: 10px;
  overflow: hidden;
}
.shop-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.shop-card:hover .shop-card-photo img { transform: scale(1.05); }
.shop-card-name {
  padding: 14px 8px 4px;
  text-align: center;
  font-family: "Hylia Serif", "Calamity", serif;
  font-size: 1.2rem;
  color: var(--cream);
  text-shadow: 0 2px 6px rgba(5, 11, 22, 0.85);
}
@media (max-width: 900px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .shop-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(5, 11, 22, 0);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  background: rgba(5, 11, 22, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(var(--blue-rgb), 0.2);
}
.navbar .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Hylia Serif", serif;
  font-size: 1.15rem;
  color: var(--cream);
}
.navbar .brand img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--cyan); }

.nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), #2b7fd6);
  color: #fff !important;
  font-weight: 700;
  box-shadow: var(--glow);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ivory);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Seletor de idiomas ---------- */
.lang-switcher {
  position: relative;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--blue-rgb), 0.35);
  background: rgba(13, 28, 51, 0.55);
  color: var(--ivory);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.lang-toggle:hover,
.lang-switcher.open .lang-toggle {
  border-color: var(--blue);
  box-shadow: var(--glow);
  background: rgba(18, 38, 63, 0.85);
}
.lang-toggle .lang-flag { font-size: 1.05rem; line-height: 1; }
.lang-toggle .lang-code { letter-spacing: 0.04em; color: var(--cyan); }
/* Ícone-imagem usado como "bandeira" (ex.: brasão Sheikah) */
.lang-flag-img {
  display: inline-block;
  height: 1.15em;
  width: auto;
  vertical-align: -0.2em;
}
.lang-toggle .lang-flag-img { height: 1.05em; }
.lang-caret {
  font-size: 0.7rem;
  color: var(--muted);
  transition: transform 0.2s ease;
}
.lang-switcher.open .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  list-style: none;
  padding: 6px;
  margin: 0;
  border-radius: 12px;
  background: rgba(8, 18, 35, 0.97);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--blue-rgb), 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), var(--glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}
.lang-switcher.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option { list-style: none; }
.lang-option a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-option a:hover { background: rgba(var(--blue-rgb), 0.12); color: var(--ivory); }
.lang-option.is-active a { color: var(--cyan); background: rgba(var(--blue-rgb), 0.1); }
.lang-option .lang-flag { font-size: 1.15rem; line-height: 1; }
.lang-flag--sheikah {
  font-family: "Sheikah", "Hylia Serif", serif;
  color: var(--blue-glow);
  text-shadow: var(--glow);
}

/* ---------- Modo Sheikah: o site inteiro na fonte Sheikah ---------- */
html.lang-sheikah body,
html.lang-sheikah h1,
html.lang-sheikah h2,
html.lang-sheikah h3,
html.lang-sheikah p,
html.lang-sheikah a,
html.lang-sheikah span,
html.lang-sheikah li,
html.lang-sheikah strong,
html.lang-sheikah .btn,
html.lang-sheikah .eyebrow,
html.lang-sheikah .section-title {
  font-family: "Sheikah", "Hylia Serif", serif !important;
}
/* ...exceto o próprio seletor de idiomas, pra continuar legível e permitir voltar */
html.lang-sheikah .lang-toggle,
html.lang-sheikah .lang-menu,
html.lang-sheikah .lang-menu * {
  font-family: "Calamity", "Segoe UI", system-ui, sans-serif !important;
}
html.lang-sheikah .lang-flag--sheikah { font-family: "Sheikah", serif !important; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* background: url("assets/img/hero-bg.webp") center/cover no-repeat; */
  background: url("assets/img/sheikah-wall-no-eye.webp") center/cover no-repeat;
}
/* .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(5,11,22,0.15), rgba(5,11,22,0.75) 70%),
    linear-gradient(to bottom, rgba(5,11,22,0.2), var(--navy-900) 92%);
} */
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  max-width: 820px;
}

/* Desktop: ancora o conteúdo do hero ~40px acima do bottom */
@media (min-width: 881px) {
  .hero { align-items: flex-end; }
  .hero-inner { padding-bottom: 60px; }
  .scroll-hint { display: none; }
}

/* Glifos Sheikah ambientes na lateral esquerda do hero (aparecem/somem) */
.hero-glyphs {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 32%;
  max-width: 340px;
  z-index: 1;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 8px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}
.hero-glyphs span {
  font-family: "Sheikah", sans-serif;
  font-size: 1rem;
  letter-spacing: 3px;
  white-space: nowrap;
  color: rgba(120, 200, 255, 0.75);
  text-shadow: 0 0 10px rgba(var(--blue-rgb), 0.6);
  opacity: 0;
  animation: glyphFade 9s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes glyphFade {
  0%, 100% { opacity: 0; }
  9%  { opacity: var(--o, 0.12); }   /* surge */
  33% { opacity: var(--o, 0.12); }   /* permanece ~2s */
  44% { opacity: 0; }     /* some */
}
.hero-glyphs--right {
  left: auto;
  right: 0;
  padding-left: 0;
  padding-right: 8px;
  text-align: right;
}
@media (max-width: 880px) {
  .hero-glyphs { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glyphs { display: none; }
}

/* Pulso do sensor Sheikah — anéis que expandem do centro, sutil e espaçado */
.hero-pulse {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-pulse span {
  position: absolute;
  top: 0; left: 0;
  width: 64vmin; height: 64vmin;
  margin: -32vmin 0 0 -32vmin;
  border: 1.5px solid rgba(91,192,255,0.5);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(var(--blue-rgb),0.25), inset 0 0 24px rgba(var(--blue-rgb),0.12);
  opacity: 0;
  transform: scale(0.12);
  animation: heroPulse 5.33s ease-out infinite;
}
/* Cada anel nasce quando o anterior está na metade do trajeto:
   ciclo de ~5.33s, novo pulso a cada ~1.33s (4 anéis encadeados). */
.hero-pulse span:nth-child(2) { animation-delay: 1.33s; }
.hero-pulse span:nth-child(3) { animation-delay: 2.67s; }
.hero-pulse span:nth-child(4) { animation-delay: 4s; }
@keyframes heroPulse {
  0%   { transform: scale(0.12); opacity: 0; }
  4%   { opacity: 0.55; }
  40%  { opacity: 0.18; }
  50%  { transform: scale(2.1);  opacity: 0; }
  100% { transform: scale(2.1);  opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-pulse { display: none; }
}
/* Wrapper: cuida SÓ da centralização (transform fixo, nunca animado).
   Separar isso da animação evita o brasão "cair" — Safari iOS tem bugs ao
   animar translate com porcentagens, e a centralização não pode depender disso. */
.hero-logo-wrap {
  position: absolute;
  top: calc(50% - 60px);
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(640px, 85vw);
  z-index: 1;
  pointer-events: none;
}
.hero-logo {
  display: block;
  width: 100%;
  filter: drop-shadow(0 0 22px rgba(var(--blue-rgb),0.45));
  /* fade de baixo pra cima: some na parte inferior, integrando ao fundo */
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 55%);
          mask-image: linear-gradient(to top, transparent 0%, #000 55%);
  /* a animação move SÓ em pixels (translateY), sem mexer na centralização */
  animation: float 6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo { animation: none; }
}
/* Mobile: brasão menor e um pouco mais acima pra não competir com o texto.
   O pulso acompanha o centro da imagem (mesmo offset). */
@media (max-width: 600px) {
  .hero-logo-wrap {
    width: min(420px, 62vw);
    top: calc(50% - 180px);
  }
  .hero-pulse { top: calc(50% - 180px); }
}
/* Tablet: brasão um pouco menor; pulso acompanha o centro da imagem */
@media (min-width: 601px) and (max-width: 880px) {
  .hero-logo-wrap {
    width: min(460px, 60vw);
    top: calc(50% - 160px);
  }
  .hero-pulse { top: calc(50% - 160px); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  text-shadow:
    0 0 12px rgba(91,192,255,0.8),
    0 0 28px rgba(var(--blue-rgb),0.7),
    0 0 55px rgba(var(--blue-rgb),0.5);
  margin-bottom: 8px;
}
.hero .runes { font-size: 1.1rem; display: block; margin-bottom: 22px; }
.hero p.tagline {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--cyan);
  max-width: 600px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-family: "Calamity", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #2b7fd6);
  color: #fff;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 28px rgba(var(--blue-rgb),0.8); }
.btn-ghost {
  background: rgba(var(--blue-rgb),0.06);
  border-color: rgba(var(--blue-rgb),0.4);
  color: var(--cyan);
}
.btn-ghost:hover { background: rgba(var(--blue-rgb),0.16); transform: translateY(-3px); }
/* Botão do YouTube (vermelho da marca) */
.btn-youtube {
  background: linear-gradient(135deg, #ff0000, #c4302b);
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.5);
}
.btn-youtube:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 28px rgba(255, 0, 0, 0.8);
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--blue);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* =========================================================
   STATS
   ========================================================= */
.stats {
  background: var(--navy-800);
  border-top: 1px solid rgba(var(--blue-rgb),0.15);
  border-bottom: 1px solid rgba(var(--blue-rgb),0.15);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-family: "Hylia Serif", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cyan);
  text-shadow: var(--glow);
}
.stat .label {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  background:
    linear-gradient(rgba(5,11,22,0.88), rgba(5,11,22,0.93)),
    url("assets/img/map.webp") center/cover;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.creator-photo {
  position: relative;
  z-index: 2;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(var(--blue-rgb),0.6);
  box-shadow: 0 0 50px rgba(var(--blue-rgb),0.5), inset 0 0 30px rgba(5,11,22,0.4);
}
.creator-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-art .ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.55;
  filter: drop-shadow(0 0 12px rgba(var(--blue-rgb),0.7));
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.about p { color: var(--muted); margin-bottom: 18px; }
.about p strong { color: var(--ivory); }

/* Zelda 8-bit pulando ao lado do CTA (13 frames de 16x16 → escala 3x) */
.about-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.zelda-sprite {
  width: 48px;
  height: 48px;
  flex: none;
  background: url("assets/img/zelda-pulando.png") 0 0 / auto 100% no-repeat;
  image-rendering: pixelated;
  animation: zelda-jump 0.9s steps(13) infinite;
}
@keyframes zelda-jump { to { background-position: -624px 0; } }
@media (prefers-reduced-motion: reduce) {
  .zelda-sprite { animation: none; }
}

/* Link 8-bit andando ao lado do CTA da loja (10 frames de 32x32 → escala 1.5x) */
.shop-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}
.link-sprite {
  width: 48px;
  height: 48px;
  flex: none;
  background: url("assets/img/link-andando.png") 0 0 / auto 100% no-repeat;
  image-rendering: pixelated;
  animation: link-walk 0.9s steps(10) infinite;
}
@keyframes link-walk { to { background-position: -480px 0; } }
@media (prefers-reduced-motion: reduce) {
  .link-sprite { animation: none; }
}

/* Trabalhador serrando ao lado do CTA do Discord (5 frames de 35x50, vaivém boomerang) */
.discord-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.workman-sprite {
  width: 35px;
  height: 50px;
  flex: none;
  background: url("assets/img/workman-serrando.png") 0 0 / auto 100% no-repeat;
  image-rendering: pixelated;
  /* jump-none exibe os 5 frames exatos (0 → -140px); alternate volta pelos mesmos */
  animation: workman-saw 0.7s steps(5, jump-none) infinite alternate;
}
@keyframes workman-saw { to { background-position: -140px 0; } }
@media (prefers-reduced-motion: reduce) {
  .workman-sprite { animation: none; }
}

/* =========================================================
   Formulário de contato
   ========================================================= */
/* Mesmo fundo da seção "Vídeos em destaque": textura de Triforce sobre o navy. */
.contact {
  background:
    url("assets/img/pattern-triforce.webp") repeat,
    var(--navy-800);
  background-size: 110px auto, auto;
}
.contact .container { max-width: 760px; }
.contact-form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.contact-label {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(5, 11, 22, 0.55);
  border: 1px solid rgba(var(--blue-rgb), 0.25);
  border-radius: var(--radius);
  color: var(--ivory);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-field textarea { resize: vertical; min-height: 120px; }
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: var(--glow);
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: rgba(159, 179, 200, 0.5); }
.contact-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.contact-status { margin: 0; font-size: 0.95rem; color: var(--muted); }
.contact-status.is-ok { color: var(--blue-glow); }
.contact-status.is-err { color: #ff8a8a; }
.contact-form button[disabled] { opacity: 0.6; cursor: default; }
/* Honeypot anti-spam: fora da tela, invisível pra humano (bot preenche) */
.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   CONTEÚDO / PILARES
   ========================================================= */
#conteudo {
  background:
    linear-gradient(rgba(5,11,22,0.85), rgba(5,11,22,0.85)),
    url("assets/img/blue.webp") center/cover;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.card {
  position: relative;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(var(--blue-rgb),0.18);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  top: -40%; right: -40%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(var(--blue-rgb),0.18), transparent 70%);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--blue-rgb),0.55);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), var(--glow);
}
.card .icon {
  font-size: 2rem;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(var(--blue-rgb),0.5));
}
/* padroniza ícones em imagem (independente do tamanho original) */
.card .icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin: 0 auto;
}
.card h3 { font-size: 1.45rem; margin-bottom: 10px; color: var(--cream); }
.card p { color: var(--muted); font-size: 0.98rem; }

/* =========================================================
   VÍDEOS EM DESTAQUE
   ========================================================= */
.videos {
  background:
    url("assets/img/pattern-triforce.webp") repeat,
    var(--navy-800);
  background-size: 110px auto, auto;
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(var(--blue-rgb),0.18);
  background: var(--navy-700);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.55); }
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-900));
  display: grid;
  place-items: center;
}
.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.video-card:hover .video-thumb img { opacity: 1; transform: scale(1.04); }
.video-thumb .play {
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(var(--blue-rgb),0.9);
  color: #fff; font-size: 1.5rem;
  box-shadow: var(--glow);
  transition: transform 0.2s ease;
}
.video-card:hover .play { transform: scale(1.12); }
.video-card .meta { padding: 18px 20px; }
.video-card .meta h3 { font-family: "Rogliano", serif; font-size: 1.15rem; margin-bottom: 6px; }
.video-card .meta span { font-size: 0.85rem; color: var(--muted); }

/* =========================================================
   LINKS / REDES (estilo beacons)
   ========================================================= */
.links {
  background:
    linear-gradient(rgba(5,11,22,0.85), rgba(5,11,22,0.85)),
    url("assets/img/blue.webp") center/cover;
}
/* Grade de runas — estilo menu da Tabuleta Sheikah */
.rune-grid {
  max-width: 960px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.rune-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  aspect-ratio: 1;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(13,28,51,0.9), rgba(5,11,22,0.95));
  border: 1px solid rgba(var(--blue-rgb),0.4);
  box-shadow:
    inset 0 0 22px rgba(var(--blue-rgb),0.12),
    0 6px 20px rgba(0,0,0,0.45);
  color: var(--cyan);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
/* moldura interna brilhante como nos botões da slate */
.rune-tile::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 9px;
  border: 1px solid rgba(var(--blue-rgb),0.35);
  pointer-events: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.rune-ico {
  width: 38%;
  max-width: 46px;
  display: grid;
  place-items: center;
  color: var(--brand, var(--cyan));
  filter: drop-shadow(0 0 8px rgba(0,0,0,0.4));
}
.rune-ico svg { width: 100%; height: auto; fill: currentColor; }
.rune-label {
  font-family: "Calamity", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--brand, var(--ivory));
}
/* rune selecionada (hover) — acende em azul como o botão ativo da slate */
.rune-tile:hover {
  transform: translateY(-5px);
  background: linear-gradient(160deg, #2f8de0, #1f6fc4);
  border-color: var(--blue-glow);
  box-shadow:
    inset 0 0 26px rgba(255,255,255,0.25),
    0 0 28px rgba(var(--blue-rgb),0.8);
  color: #fff;
}
.rune-tile:hover::before {
  border-color: rgba(255,255,255,0.7);
  box-shadow: 0 0 12px rgba(255,255,255,0.5);
}
.rune-tile:hover .rune-label { color: #fff; }
.rune-tile:hover .rune-ico {
  color: #fff;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.7));
}

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta {
  text-align: center;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  border-top: 1px solid rgba(var(--blue-rgb),0.2);
}
.cta h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto 34px; }

/* =========================================================
   DISCORD
   ========================================================= */
.discord {
  background:
    linear-gradient(rgba(5,11,22,0.92), rgba(5,11,22,0.97)),
    url("assets/img/sheikah-wall.webp") center/cover;
  border-top: 1px solid rgba(var(--blue-rgb),0.2);
}
.discord-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}
.discord-text .section-intro { margin-bottom: 28px; }

.discord-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 34px;
}
.discord-perks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.98rem;
}
.discord-perks li strong { color: var(--ivory); }
.discord-perks .ic {
  flex: 0 0 auto;
  font-size: 1.3rem;
  filter: drop-shadow(0 0 8px rgba(var(--blue-rgb),0.5));
}

/* Botão Discord (roxo blurple) */
.btn-discord {
  background: linear-gradient(135deg, #5865f2, #4049c9);
  color: #fff;
  box-shadow: 0 0 18px rgba(88, 101, 242, 0.55);
}
.btn-discord:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 28px rgba(88, 101, 242, 0.85);
}

/* Card lateral */
.discord-card {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.5);
}
.discord-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(var(--blue-rgb),0.15);
}
.discord-card-header img { height: 52px; width: auto; }
.discord-card-header h3 { font-size: 1.25rem; color: var(--cream); }
.discord-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}
.discord-status i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #3ba55d;
  box-shadow: 0 0 8px #3ba55d;
}
.discord-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0;
}
.discord-stats div {
  background: rgba(5,11,22,0.5);
  border: 1px solid rgba(var(--blue-rgb),0.12);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}
.discord-stats strong {
  display: block;
  font-family: "Hylia Serif", serif;
  font-size: 1.6rem;
  color: var(--cyan);
  text-shadow: var(--glow);
}
.discord-stats span {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.discord-quote {
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--navy-900);
  padding: 48px 0 32px;
  border-top: 1px solid rgba(var(--blue-rgb),0.12);
  text-align: center;
}
.footer > .container > img { height: 130px; width: auto; margin: 0 auto 18px; opacity: 0.9; }
.footer .social {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer .social a,
.footer .social button {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(var(--blue-rgb),0.3);
  color: var(--cyan);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
/* a ocarina é botão (abre a caixinha musical), não link: zera o visual nativo
   e centraliza o conteúdo (button não herda o place-items igual a um <a>) */
.footer .social button {
  padding: 0; background: none; cursor: pointer; line-height: 0;
  -webkit-appearance: none; appearance: none;
  display: flex; align-items: center; justify-content: center;
}
.footer .social a svg { width: 18px; height: 18px; fill: currentColor; }
.footer .social .oc-footer-btn img { display: block; width: 22px; height: 22px; margin: 0; object-fit: contain; }
.footer .social a:hover,
.footer .social button:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--glow);
}
.footer .copy { color: var(--muted); font-size: 0.85rem; }
.footer .copy .runes { display: block; margin-top: 10px; font-size: 0.9rem; }

/* Selo de versão do site (discreto, no rodapé) */
.site-version {
  display: block;
  margin-top: 12px;
  font-family: "Calamity", "Segoe UI", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  opacity: 0.55;
}

/* =========================================================
   NAVI — fada que segue o cursor (CSS puro)
   ========================================================= */
#navi {
  position: fixed;
  left: 0; top: 0;
  width: 0; height: 0;
  z-index: 65;
  pointer-events: none;
  will-change: transform;
}
/* no modo órbita ela é clicável; depois de seguir o mouse, deixa de bloquear cliques */
#navi:not(.following) { pointer-events: auto; cursor: pointer; }
#navi:not(.following) .navi-core,
#navi:not(.following) .navi-glow { pointer-events: auto; }
.navi-core {
  position: absolute;
  left: -5px; top: -5px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #d4f3ff 40%, #4fb4ff 100%);
  box-shadow:
    0 0 6px 2px #aee6ff,
    0 0 14px 5px rgba(79, 180, 255, 0.85),
    0 0 30px 12px rgba(var(--blue-rgb), 0.55);
  animation: navi-pulse 1.5s ease-in-out infinite;
}
.navi-glow {
  position: absolute;
  left: -22px; top: -22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 190, 255, 0.45) 0%, rgba(var(--blue-rgb), 0) 70%);
  animation: navi-pulse 1.5s ease-in-out infinite;
}
@keyframes navi-pulse {
  0%, 100% { transform: scale(1);    opacity: 0.95; }
  50%      { transform: scale(1.35); opacity: 1; }
}
/* asinhas translúcidas batendo */
.navi-wing {
  position: absolute;
  top: -10px;
  width: 20px; height: 13px;
  border-radius: 60% 60% 55% 55%;
  background: radial-gradient(circle at 70% 50%, rgba(214, 244, 255, 0.9), rgba(120, 200, 255, 0.3) 65%, transparent 80%);
  filter: blur(0.4px);
}
.navi-wing--l { left: -19px; transform-origin: 100% 60%; animation: navi-flap-l 0.16s ease-in-out infinite; }
.navi-wing--r { left: -1px;  transform-origin: 0% 60%;   animation: navi-flap-r 0.16s ease-in-out infinite; }
@keyframes navi-flap-l {
  0%, 100% { transform: rotate(-22deg) scaleX(1); }
  50%      { transform: rotate(-30deg) scaleX(0.45); }
}
@keyframes navi-flap-r {
  0%, 100% { transform: rotate(22deg) scaleX(1); }
  50%      { transform: rotate(30deg) scaleX(0.45); }
}
/* rastro de poeira mágica */
.navi-trail {
  position: fixed;
  left: 0; top: 0;
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: radial-gradient(circle, #eafbff 0%, rgba(99, 190, 255, 0.7) 50%, transparent 78%);
  pointer-events: none;
  z-index: 64;
  animation: navi-trail-fade 0.95s ease-out forwards;
}
@keyframes navi-trail-fade {
  0%   { opacity: 0.95; transform: scale(1); }
  100% { opacity: 0;    transform: scale(0.15) translateY(12px); }
}
/* pisca amarelo quando a galinha leva uma porrada */
#navi { transition: filter 0.3s ease; }
#navi.hit { animation: navi-hit 0.45s ease-out; }
@keyframes navi-hit {
  0%, 100% { filter: none; }
  25%      { filter: hue-rotate(-155deg) saturate(2.2) brightness(1.5); }
}
/* fica verde ao passar o mouse sobre um link */
#navi.link-hover { filter: hue-rotate(-80deg) saturate(1.6) brightness(1.1); }
/* fica amarela durante todo o ataque das galinhas (tem prioridade sobre o verde) */
#navi.alert { filter: hue-rotate(-155deg) saturate(2.2) brightness(1.3); }
@media (prefers-reduced-motion: reduce) {
  #navi { display: none !important; }
}

/* =========================================================
   EASTER EGG — CUCCO (galinha 8-bit)
   ========================================================= */
/* faixa no fim do site onde a galinha mora (só acha quem rola até embaixo) */
.cucco-ground {
  position: relative;
  width: 100%;
  height: 60px;
  overflow: hidden;
  background: var(--navy-900);
}
#cucco {
  position: absolute;
  bottom: 0;
  left: -80px;
  z-index: 2;
  width: 64px;
  height: 56px;
  display: none;            /* só aparece quando .active */
  cursor: pointer;
  transform: scaleX(-1);    /* entra virada pra direita */
}
#cucco.active {
  display: block;       /* movimento controlado via JS (comportamento natural) */
}
/* parada: pernas estáticas, só dando umas bicadas/olhadas */
#cucco.idle .cucco-body {
  animation: cucco-peck 1.6s ease-in-out infinite;
}
.cucco-body {
  width: 100%;
  height: 100%;
  background: url("assets/sprites/cucco-a.webp") center bottom / contain no-repeat;
  image-rendering: pixelated;
  transform-origin: 50% 100%;
  animation:
    cucco-step 0.6s steps(1) infinite,
    cucco-peck 2.6s ease-in-out infinite;
}
/* ciclo de caminhada — 4 frames da linha 2 */
@keyframes cucco-step {
  0%   { background-image: url("assets/sprites/cucco-a.webp"); }
  25%  { background-image: url("assets/sprites/cucco-b.webp"); }
  50%  { background-image: url("assets/sprites/cucco-c.webp"); }
  75%  { background-image: url("assets/sprites/cucco-d.webp"); }
}
/* ciscada: dá uma bicada pro chão de vez em quando */
@keyframes cucco-peck {
  0%, 80%, 100% { transform: rotate(0deg) translateY(0); }
  88%           { transform: rotate(-12deg) translateY(2px); }
  94%           { transform: rotate(0deg) translateY(0); }
}
/* enxame de cuccos bravos que perseguem o ponteiro */
.cucco-swarm {
  position: fixed;
  left: 0; top: 0;
  width: 64px; height: 56px;
  z-index: 61;
  pointer-events: none;
  will-change: transform;
}
.cucco-swarm > i {
  display: block;
  width: 100%; height: 100%;
  background: url("assets/sprites/cucco-fly-a.webp") center bottom / contain no-repeat;
  image-rendering: pixelated;
  animation: cucco-fly 0.32s steps(1) infinite;
}
@keyframes cucco-fly {
  0%   { background-image: url("assets/sprites/cucco-fly-a.webp"); }
  25%  { background-image: url("assets/sprites/cucco-fly-b.webp"); }
  50%  { background-image: url("assets/sprites/cucco-fly-c.webp"); }
  75%  { background-image: url("assets/sprites/cucco-fly-d.webp"); }
}

/* tomou a porrada: para de andar (tonta) e mostra a pose de dano */
#cucco.hurt {
  animation-play-state: paused;
}
#cucco.hurt .cucco-body {
  animation: none;
  background-image: url("assets/sprites/cucco-hurt.webp");
}
@media (prefers-reduced-motion: reduce) {
  #cucco { display: none !important; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(75vw, 320px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    background: rgba(5,11,22,0.98);
    backdrop-filter: blur(12px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid rgba(var(--blue-rgb),0.2);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; z-index: 60; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-art { order: -1; }
  .discord-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .pillars-grid,
  .videos-grid { grid-template-columns: 1fr; }
  .rune-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 480px) {
  .section { padding: 72px 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}

/* ============ BANNER DE COOKIES (LGPD) ============ */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(680px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: color-mix(in srgb, var(--navy-800) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--blue) 40%, transparent);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), var(--glow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cookie-banner[hidden] { display: none; }
.cookie-text {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ivory);
}
.cookie-text a { color: var(--cyan); }
.footer .copy a { color: var(--cyan); text-decoration: none; }
.footer .copy a:hover { text-decoration: underline; }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn--accept {
  background: var(--blue);
  color: var(--navy-900);
  box-shadow: var(--glow);
}
.cookie-btn--accept:hover { background: var(--blue-glow); }
.cookie-btn--reject {
  background: transparent;
  color: var(--muted);
  border-color: color-mix(in srgb, var(--muted) 40%, transparent);
}
.cookie-btn--reject:hover { color: var(--ivory); border-color: var(--ivory); }

@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
}

/* ============ MODAL DE DIVULGAÇÃO ============ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal[hidden] { display: none; }
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 15, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: modalFade 0.25s ease;
}
.video-modal__card {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  background: var(--navy-900);
  border: 1px solid color-mix(in srgb, var(--cyan) 35%, transparent);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(var(--blue-rgb), 0.35), 0 24px 60px rgba(0, 0, 0, 0.6);
  padding: 28px 28px 24px;
  text-align: center;
  animation: modalRise 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.video-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--muted) 40%, transparent);
  background: transparent;
  color: var(--ivory);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.video-modal__close:hover {
  background: color-mix(in srgb, var(--cyan) 18%, transparent);
  border-color: var(--cyan);
}
.video-modal__title {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  margin: 8px 0 18px;
  text-shadow: 0 0 18px rgba(var(--blue-rgb), 0.45);
}
.video-modal__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.video-modal__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalRise {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .video-modal__backdrop, .video-modal__card { animation: none; }
}
