/* ============================================================
   styles.css — Nexus Platform
   Tema: Deep Space Luxury
   Paleta: Preto sideral + Dourado genuíno + Branco quente
   Tipografia: Cormorant Garamond (títulos) + Outfit (corpo)
   ============================================================ */


/* ============================================================
   1. CSS CUSTOM PROPERTIES — TEMAS
   ============================================================ */

/* TEMA ESCURO (padrão) — azul sideral profundo */
:root,
[data-tema="escuro"] {
  /* Backgrounds */
  --bg:           #080810;   /* preto sideral — fundo principal */
  --bg-alt:       #0d0d1a;   /* preto levemente mais claro — seções alternadas */
  --bg-card:      #0f0f1e;   /* superfície de cards */
  --bg-nav:       rgba(8, 8, 16, 0.82); /* nav com transparência */
  --bg-topbar:    rgba(8, 8, 16, 0.75); /* topbar */
  --bg-overlay:   rgba(8, 8, 16, 0.72); /* overlay do vídeo */

  /* Textos */
  --txt:          #f5f0e8;   /* texto principal — branco quente */
  --txt-2:        #9090a8;   /* texto secundário — cinza azulado */
  --txt-3:        #55556a;   /* texto terciário — mais apagado */

  /* Ouro */
  --ouro:         #c9a84c;   /* dourado base */
  --ouro-claro:   #e8c97a;   /* dourado iluminado */
  --ouro-escuro:  #9a7a32;   /* dourado sombra */
  --ouro-brilho:  rgba(201, 168, 76, 0.15); /* glow/brilho */
  --ouro-borda:   rgba(201, 168, 76, 0.25); /* bordas douradas */

  /* Bordas e superfícies */
  --borda:        rgba(255, 255, 255, 0.07);
  --borda-hover:  rgba(255, 255, 255, 0.14);

  /* Sombras */
  --sombra-card:  0 1px 1px rgba(0,0,0,0.4), 0 4px 24px rgba(0,0,0,0.5);
  --sombra-ouro:  0 0 40px rgba(201, 168, 76, 0.18);

  /* Blur do glassmorphism */
  --blur-nav:     blur(20px) saturate(180%);
}

/* TEMA CLARO — dia nublado premium */
[data-tema="claro"] {
  --bg:           #f8f6f0;
  --bg-alt:       #f0ede4;
  --bg-card:      #ffffff;
  --bg-nav:       rgba(248, 246, 240, 0.88);
  --bg-topbar:    rgba(248, 246, 240, 0.88);
  --bg-overlay:   rgba(20, 18, 12, 0.55);

  --txt:          #141210;
  --txt-2:        #6a6458;
  --txt-3:        #aaa090;

  --ouro:         #b8922a;
  --ouro-claro:   #d4a83e;
  --ouro-escuro:  #8a6c1e;
  --ouro-brilho:  rgba(184, 146, 42, 0.12);
  --ouro-borda:   rgba(184, 146, 42, 0.3);

  --borda:        rgba(0, 0, 0, 0.08);
  --borda-hover:  rgba(0, 0, 0, 0.16);

  --sombra-card:  0 1px 2px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.08);
  --sombra-ouro:  0 0 40px rgba(184, 146, 42, 0.15);

  --blur-nav:     blur(20px) saturate(160%);
}


/* ============================================================
   2. RESET MODERNO + BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--txt);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Transição suave ao trocar de tema */
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* Scroll customizado (browsers que suportam) */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--ouro-escuro); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ouro); }

/* Seleção de texto */
::selection {
  background: var(--ouro);
  color: var(--bg);
}

/* Foco visível — acessibilidade */
:focus-visible {
  outline: 2px solid var(--ouro);
  outline-offset: 3px;
  border-radius: 4px;
}

img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* Headings: Cormorant Garamond para elegância editorial */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--txt);
  transition: color 0.5s ease;
}

/* Itálico nos headings: dourado — diferencial visual */
h1 em, h2 em {
  font-style: italic;
  color: var(--ouro);
  font-weight: 300;
}

p { transition: color 0.5s ease; }


/* ============================================================
   3. CANVAS DE ESTRELAS (fundo de toda a página)
   ============================================================ */

#estrelas {
  position: fixed;
  inset: 0;
  z-index: 0;          /* atrás de tudo */
  pointer-events: none;
  opacity: 1;
  /* No tema claro, o canvas fica invisível */
  transition: opacity 0.6s ease;
}

[data-tema="claro"] #estrelas {
  opacity: 0;
}


/* ============================================================
   4. SKIP NAV (acessibilidade)
   ============================================================ */

.skip-nav {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 8px 18px;
  background: var(--ouro);
  color: var(--bg);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 40px;
  transform: translateY(calc(-100% - 20px));
  transition: transform 0.25s ease;
}
.skip-nav:focus { transform: translateY(0); }


/* ============================================================
   5. TOPBAR
   ============================================================ */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  height: 64px;
  background: var(--bg-topbar);
  backdrop-filter: var(--blur-nav);
  -webkit-backdrop-filter: var(--blur-nav);
  border-bottom: 1px solid var(--borda);
  transition: background 0.5s ease, border-color 0.5s ease;
}

.topbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.12em;
}

.logo__glifo {
  color: var(--ouro);
  font-size: 1.4rem;
  line-height: 1;
  transition: color 0.5s ease;
  /* Rotação suave ao hover */
  display: inline-block;
  transition: transform 0.6s ease, color 0.5s ease;
}

.logo:hover .logo__glifo {
  transform: rotate(60deg);
}

.logo__glifo--sm {
  font-size: 1.1rem;
  color: var(--ouro);
}

.logo__nome {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  color: var(--txt);
  transition: color 0.5s ease;
}

/* Toggle tema */
.toggle-tema {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 40px;
  border: 1px solid var(--borda);
  background: transparent;
  color: var(--txt-2);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.toggle-tema:hover {
  border-color: var(--ouro-borda);
  color: var(--ouro);
}

/* Ícones do toggle: só um aparece de cada vez */
.t-sol { display: none; }
.t-lua { display: block; }

[data-tema="claro"] .t-sol { display: block; }
[data-tema="claro"] .t-lua { display: none; }


/* ============================================================
   6. HERO
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100svh;   /* svh: Small Viewport Height — ideal para mobile */
  min-height: 520px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;   /* conteúdo ao fundo, nav no rodapé */
  z-index: 1;
}

/* Vídeo: cobre toda a área do hero */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Overlay: gradiente sideral sobre o vídeo */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Escurece o centro suavemente */
    radial-gradient(ellipse 80% 60% at 50% 50%, transparent 30%, rgba(8,8,16,0.5) 100%),
    /* Gradiente de base: mais escuro no topo e no fundo */
    linear-gradient(
      to bottom,
      rgba(8,8,16,0.6) 0%,
      rgba(8,8,16,0.1) 35%,
      rgba(8,8,16,0.2) 55%,
      rgba(8,8,16,0.85) 100%
    );
}

/* Conteúdo textual do hero */
.hero__conteudo {
  position: relative;
  z-index: 5;
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 5rem) clamp(3rem, 5vw, 4rem);
  max-width: 760px;
}

/* Label acima do h1 */
.hero__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ouro);
  margin-bottom: 1.5rem;
  animation: fadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.1s both;
}

.hero__label-linha {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--ouro);
  flex-shrink: 0;
}

/* H1 do hero */
.hero__h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.0;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  animation: fadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.25s both;
}

.hero__h1 em {
  font-style: italic;
  color: var(--ouro-claro);
}

/* Subtítulo do hero */
.hero__subtitulo {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(245, 240, 232, 0.72);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  animation: fadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.4s both;
}

/* CTA button do hero */
.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--ouro-claro);
  border: 1px solid var(--ouro-borda);
  border-radius: 40px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  animation: fadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.55s both;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.hero__btn:hover {
  background: var(--ouro-brilho);
  border-color: var(--ouro);
  color: var(--ouro-claro);
  transform: translateY(-3px);
  box-shadow: var(--sombra-ouro);
}

/* Indicador de scroll */
.scroll-hint {
  position: absolute;
  bottom: 90px;   /* acima da nav */
  right: clamp(1.5rem, 4vw, 4rem);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-hint__fio {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--ouro));
  animation: pulsoFio 2s ease-in-out infinite;
}


/* ============================================================
   7. NAV (barra ao fundo do hero)
   ============================================================ */

.nav {
  position: relative;
  z-index: 10;
  background: var(--bg-nav);
  backdrop-filter: var(--blur-nav);
  -webkit-backdrop-filter: var(--blur-nav);
  border-top: 1px solid var(--borda);
  transition: background 0.5s ease, border-color 0.5s ease;
}

.nav__lista {
  display: flex;
  max-width: 1280px;
  margin: 0 auto;
}

.nav__item {
  flex: 1;
  position: relative;
}

/* Divisor entre itens */
.nav__item + .nav__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  height: 64%;
  width: 1px;
  background: var(--borda);
}

/* Link do nav */
.nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 14px 8px;
  color: var(--txt-2);
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s, background 0.25s;
  position: relative;
}

/* Linha de destaque no topo do link ativo */
.nav__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--ouro);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.nav__link:hover,
.nav__link.ativo {
  color: var(--ouro);
  background: var(--ouro-brilho);
}

.nav__link:hover::before,
.nav__link.ativo::before {
  transform: scaleX(1);
}

.nav__icone {
  display: flex;
  align-items: center;
  color: currentColor;
  transition: transform 0.25s;
}

.nav__link:hover .nav__icone {
  transform: translateY(-2px);
}

/* Texto do nav: oculto em mobile (<768px), visível em desktop */
.nav__texto {
  display: none; /* mobile: sem texto */
  white-space: nowrap;
}

/* Item especial "Clique Certo" */
.nav__item--ouro .nav__link {
  color: var(--ouro);
}

.nav__item--ouro .nav__link:hover,
.nav__item--ouro .nav__link.ativo {
  background: var(--ouro-brilho);
}


/* ============================================================
   8. SEÇÕES — BASE
   ============================================================ */

.s {
  position: relative;
  z-index: 1;
  background: var(--bg);
  transition: background 0.5s ease;
}

/* Seção alternada: fundo ligeiramente diferente */
.s--alt {
  background: var(--bg-alt);
}

/* Wrapper interno: limita largura e centraliza */
.s__w {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 3rem);
}

.s__w--centro {
  text-align: center;
}

/* Header de seção */
.s__header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  max-width: 640px;
}

/* Label/etiqueta da seção */
.s__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ouro);
  margin-bottom: 1rem;
  transition: color 0.5s ease;
}

.s__label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.s__label--dk {
  color: rgba(8,8,16,0.6);
}

.s__label--dk::before { background: rgba(8,8,16,0.4); }

/* Título da seção h2 */
.s__h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
  font-weight: 300;
}

.s__h2--dk {
  color: #0f0d08;
}

.s__h2--dk em {
  color: rgba(8,8,16,0.7);
}

/* Subtítulo de seção */
.s__sub {
  color: var(--txt-2);
  font-size: 1rem;
  max-width: 520px;
  transition: color 0.5s ease;
}

.s__sub--dk {
  color: rgba(8,8,16,0.65);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

/* Parágrafo lead */
.p-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--txt);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-weight: 300;
  transition: color 0.5s ease;
}

p:not(.p-lead):not(.s__label):not(.s__sub):not([class*="mini"]):not([class*="app"]):not([class*="stat"]):not([class*="card"]):not([class*="footer"]):not([class*="logo"]) {
  color: var(--txt-2);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-size: 0.975rem;
  transition: color 0.5s ease;
}


/* ============================================================
   9. SOBRE — layout
   ============================================================ */

.sobre-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.sobre-layout__texto {
  max-width: 600px;
}

/* Stats numéricos */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;    /* gap de 1.5px cria efeito de "bordas entre células" */
  background: var(--borda);
  border: 1px solid var(--borda);
  border-radius: 16px;
  overflow: hidden;
  align-self: start;
  transition: border-color 0.5s ease, background 0.5s ease;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  gap: 0.4rem;
  transition: background 0.4s ease;
}

.stat:hover {
  background: var(--ouro-brilho);
}

.stat__n {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--ouro);
  line-height: 1;
  transition: color 0.5s ease;
}

.stat__n sup {
  font-size: 0.5em;
  vertical-align: super;
}

.stat__l {
  font-size: 0.8rem;
  color: var(--txt-3);
  letter-spacing: 0.04em;
  transition: color 0.5s ease;
}


/* ============================================================
   10. CARDS (Templates)
   ============================================================ */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;      /* gap de 1px + background cria grade elegante */
  background: var(--borda);
  border: 1px solid var(--borda);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.5s ease, background 0.5s ease;
}

.card {
  position: relative;
  background: var(--bg-card);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  overflow: hidden;
  cursor: default;
  transition: background 0.4s ease;
}

.card:focus {
  outline: 2px solid var(--ouro);
  outline-offset: -2px;
}

.card:hover {
  background: color-mix(in srgb, var(--bg-card) 80%, var(--ouro-brilho) 20%);
}

/* Numeração do card */
.card__idx {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  color: var(--ouro-escuro);
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  font-style: italic;
  transition: color 0.5s ease;
}

.card__h {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 300;
  margin-bottom: 0.75rem;
  transition: color 0.5s ease;
}

.card__p {
  color: var(--txt-2) !important;
  font-size: 0.9rem !important;
  margin-bottom: 1.5rem !important;
  max-width: 460px;
}

.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ouro);
  transition: gap 0.25s, color 0.25s;
}

.card:hover .card__cta {
  gap: 12px;
}

/* Glow decorativo no canto do card */
.card__glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ouro-brilho) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover .card__glow {
  opacity: 1;
}


/* ============================================================
   11. PROGRAMAS — layout
   ============================================================ */

.prog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.prog-layout__intro {
  max-width: 520px;
}

/* Link com seta dourada */
.link-ouro {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ouro);
  margin-top: 0.75rem;
  transition: gap 0.25s, color 0.25s;
}

.link-ouro:hover { gap: 14px; }

/* Lista de programas com numeração romana */
.prog-lista {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.prog-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--borda);
  transition: border-color 0.5s ease;
}

.prog-item:first-child { border-top: 1px solid var(--borda); }

.prog-item:hover .prog-item__titulo { color: var(--ouro); }

/* Numeração romana */
.prog-item__n {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ouro-escuro);
  min-width: 28px;
  flex-shrink: 0;
  transition: color 0.5s ease;
}

.prog-item__titulo {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--txt);
  margin-bottom: 0.3rem;
  transition: color 0.3s ease;
}

.prog-item__desc {
  font-size: 0.855rem;
  color: var(--txt-3) !important;
  margin: 0 !important;
  line-height: 1.6;
  transition: color 0.5s ease;
}


/* ============================================================
   12. APLICATIVOS — layout
   ============================================================ */

.apps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Card destaque do app principal */
.app-hero {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--ouro-borda);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  transition: border-color 0.4s, background 0.5s ease;
}

.app-hero::before {
  /* Gradiente decorativo no fundo do card */
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at top right, var(--ouro-brilho), transparent 70%);
  pointer-events: none;
}

.app-hero:hover {
  border-color: var(--ouro);
  box-shadow: var(--sombra-ouro);
}

.app-hero__badge {
  display: inline-block;
  padding: 3px 12px;
  background: var(--ouro-brilho);
  border: 1px solid var(--ouro-borda);
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ouro);
  margin-bottom: 1.25rem;
  transition: color 0.5s, background 0.5s, border-color 0.5s;
}

.app-hero__cat {
  font-size: 0.75rem;
  color: var(--txt-3) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem !important;
}

.app-hero__h {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.app-hero__p {
  color: var(--txt-2) !important;
  font-size: 0.9rem !important;
  max-width: 480px;
  margin-bottom: 1.5rem !important;
}

.app-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Tag genérica */
.tag {
  padding: 4px 14px;
  background: var(--ouro-brilho);
  border: 1px solid var(--ouro-borda);
  border-radius: 40px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ouro);
  letter-spacing: 0.05em;
  transition: color 0.5s, background 0.5s, border-color 0.5s;
}

/* Grade de apps menores */
.apps__grade {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--borda);
  border: 1px solid var(--borda);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.5s, background 0.5s;
}

.app-mini {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  transition: background 0.3s ease;
}

.app-mini:hover {
  background: color-mix(in srgb, var(--bg-card) 85%, var(--ouro-brilho) 15%);
}

.app-mini__ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ouro-brilho);
  border-radius: 10px;
  color: var(--ouro);
  transition: color 0.5s, background 0.5s;
}

.app-mini__h {
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  color: var(--txt);
  margin-bottom: 3px;
  transition: color 0.5s;
}

.app-mini__p {
  font-size: 0.8rem;
  color: var(--txt-3) !important;
  margin: 0 !important;
  transition: color 0.5s;
}


/* ============================================================
   13. SEÇÃO CTA (Clique Certo) — fundo dourado
   ============================================================ */

.s--cta {
  background: linear-gradient(135deg, #c9a84c 0%, #e8c97a 40%, #c9a84c 70%, #9a7a32 100%);
}

.s--cta .s__w {
  padding-block: clamp(5rem, 10vw, 9rem);
}

/* CTA Botões */
.cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 40px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.cta-btn:hover { transform: translateY(-3px); }

.cta-btn--solid {
  background: #0f0d08;
  color: var(--ouro-claro);
  border: 1px solid transparent;
}

.cta-btn--solid:hover {
  box-shadow: 0 12px 40px rgba(8,8,8,0.35);
}

.cta-btn--ghost {
  background: transparent;
  color: #1a1508;
  border: 1px solid rgba(10,8,4,0.35);
}

.cta-btn--ghost:hover {
  background: rgba(10,8,4,0.1);
}


/* ============================================================
   14. FOOTER
   ============================================================ */

.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--borda);
  padding: 3rem 0 2rem;
  position: relative;
  z-index: 1;
  transition: background 0.5s, border-color 0.5s;
}

.footer__w {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.footer__topo {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__marca {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__nome {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  color: var(--txt);
  margin-bottom: 3px;
  transition: color 0.5s;
}

.footer__desc {
  font-size: 0.8rem;
  color: var(--txt-3);
  margin: 0;
  transition: color 0.5s;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: center;
}

.footer__link {
  font-size: 0.82rem;
  color: var(--txt-3);
  transition: color 0.25s;
}

.footer__link:hover { color: var(--ouro); }

.footer__div {
  border: none;
  border-top: 1px solid var(--borda);
  margin-bottom: 1.5rem;
  transition: border-color 0.5s;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.78rem;
  color: var(--txt-3);
  transition: color 0.5s;
}

.footer__versao {
  font-size: 0.72rem;
  color: var(--txt-3);
  letter-spacing: 0.06em;
  opacity: 0.6;
  transition: color 0.5s;
}


/* ============================================================
   15. ANIMAÇÕES E KEYFRAMES
   ============================================================ */

/* Entrada: fade + slide up */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Pulso do fio do scroll hint */
@keyframes pulsoFio {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50%       { transform: scaleY(0.6); opacity: 1; }
}

/* Classe aplicada pelo IntersectionObserver (JS) */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s cubic-bezier(0.16,1,0.3,1),
    transform 0.8s cubic-bezier(0.16,1,0.3,1);
}

.reveal.visivel {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger: atraso para filhos em sequência */
.reveal.visivel:nth-child(1) { transition-delay: 0s; }
.reveal.visivel:nth-child(2) { transition-delay: 0.1s; }
.reveal.visivel:nth-child(3) { transition-delay: 0.2s; }
.reveal.visivel:nth-child(4) { transition-delay: 0.3s; }


/* ============================================================
   16. MEDIA QUERIES
   ============================================================ */

/* Tablet (≥ 640px) */
@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .sobre-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* Desktop (≥ 1024px): texto completo no nav, layouts 2-col */
@media (min-width: 1024px) {

  /* NAV: exibe ícone + texto em linha */
  .nav__link {
    flex-direction: row;
    gap: 9px;
    padding: 18px 12px;
    font-size: 0.75rem;
  }

  .nav__texto {
    display: inline; /* visível em desktop */
  }

  /* Seções: layouts 2 colunas */
  .sobre-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
  }

  .prog-layout {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
  }

  .apps {
    grid-template-columns: 1fr 1fr;
  }

  /* Cards de templates: 4 colunas */
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Header de seção alinhado com o texto */
  .s__header {
    max-width: 560px;
  }
}

/* Wide (≥ 1280px) */
@media (min-width: 1280px) {
  .nav__link {
    padding: 18px 24px;
    font-size: 0.8rem;
  }
}


/* ============================================================
   17. PREFERS REDUCED MOTION — Acessibilidade
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__video { animation: none; }
}
