/* EVOW — site. Lei do visual: ../DESIGN.md */

@font-face { font-family: "Geist"; src: url("/assets/fontes/Geist_200ExtraLight.ttf") format("truetype"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fontes/Geist_300Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fontes/Geist_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fontes/Geist_500Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fontes/GeistMono_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --fundo: #0A0706;
  --texto: #F4ECE4;
  --texto-suave: #CDBFB3;
  --rotulo: #A89A8E;
  --apagado: #8F8276;
  --laranja: #F26A1B;
  --laranja-claro: #FFD2B3;
  --brilho: #FFE6D2;
  --linha: rgba(255, 255, 255, 0.09);
  --perigo: #FF9C8A;
  --perigo-fundo: rgba(230, 86, 64, 0.16);
  --perigo-borda: rgba(230, 86, 64, 0.42);

  --curva: cubic-bezier(.22, 1, .36, 1);
  --ida-volta: cubic-bezier(.45, 0, .55, 1);

  --margem: clamp(24px, 5vw, 48px);
  --largura: 1120px;
  --secao: clamp(96px, 14vw, 168px);

  --horizonte: 56px;
  --anel-w: clamp(280px, 48vw, 640px);
  --anel-h: calc(var(--anel-w) * 0.5333);
  --anel-x: 50%;
}

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

html {
  background: var(--fundo);
  color: var(--texto);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

/* Grão de filme a 7% */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
}

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

a { color: inherit; }

::selection { background: rgba(242, 106, 27, 0.35); color: var(--texto); }

:focus-visible {
  outline: 1.5px solid var(--laranja-claro);
  outline-offset: 4px;
  border-radius: 6px;
}

.pular {
  position: absolute;
  left: var(--margem);
  top: 12px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--texto);
  color: #140C08;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .25s var(--curva);
}
.pular:focus { transform: none; }

.caixa {
  width: 100%;
  max-width: calc(var(--largura) + var(--margem) * 2);
  margin-inline: auto;
  padding-inline: var(--margem);
}

.rotulo {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rotulo);
  margin: 0;
}

/* ---------- Topo ---------- */

.topo {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
}
.topo .caixa {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}
.marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--texto);
  min-height: 44px;
}
.marca svg { width: 30px; height: 30px; }
.topo__link {
  font-size: 15px;
  color: var(--texto-suave);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color .25s var(--curva);
}
.topo__link:hover { color: var(--laranja-claro); }

/* ---------- Abertura ---------- */

.abertura {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: clamp(128px, 22vh, 210px);
  padding-bottom: calc(var(--horizonte) + var(--anel-h) + 32px);
  overflow: hidden;
  isolation: isolate;
}

.abertura__texto { position: relative; z-index: 2; }

.selo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.selo__ponto {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--laranja);
  box-shadow: 0 0 12px rgba(242, 106, 27, 0.7);
}

.abertura h1 {
  margin: 26px 0 0;
  font-weight: 300;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 14ch;
}
.abertura h1 .linha { display: block; }
.abertura h1 .meia { color: var(--rotulo); }

.abertura__sub {
  margin: 28px 0 0;
  max-width: 34rem;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--texto-suave);
}

.lojas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.lojas li {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
  color: var(--texto-suave);
}

/* A cena: brilho, anel nascendo e horizonte */
.cena {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.cena__brilho {
  position: absolute;
  left: var(--anel-x);
  bottom: var(--horizonte);
  width: 170vmax;
  height: 170vmax;
  transform: translate(-50%, 50%);
}
.cena__brilho span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(232, 80, 2, 0.46) 0%,
    rgba(232, 80, 2, 0.20) 11%,
    rgba(193, 8, 1, 0.10) 22%,
    rgba(10, 7, 6, 0) 46%);
}
.cena__anel {
  position: absolute;
  left: var(--anel-x);
  bottom: var(--horizonte);
  width: var(--anel-w);
  height: var(--anel-h);
  transform: translateX(-50%);
  overflow: hidden;
}
.cena__anel svg { width: 100%; height: 100%; }
.cena__horizonte {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--horizonte);
  height: 1px;
  background: linear-gradient(90deg,
    rgba(255, 210, 179, 0) 0%,
    rgba(255, 230, 210, 0.85) var(--anel-x),
    rgba(255, 210, 179, 0) 100%);
}
.cena__chao {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--horizonte);
  background: linear-gradient(180deg, rgba(10, 7, 6, 0.55), var(--fundo));
}

/* ---------- Seções ---------- */

.secao { padding-block: var(--secao); position: relative; }
.secao + .secao { border-top: 1px solid var(--linha); }

.secao__titulo {
  margin: 18px 0 0;
  font-weight: 300;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

/* O que tem no app */
.recursos {
  list-style: none;
  margin: clamp(48px, 7vw, 80px) 0 0;
  padding: 0;
  border-bottom: 1px solid var(--linha);
}
.recursos li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 6px 16px;
  padding: 28px 0 30px;
  border-top: 1px solid var(--linha);
}
.recursos__num {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--apagado);
  padding-top: 6px;
}
.recursos h3 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.recursos p {
  grid-column: 2;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--texto-suave);
  max-width: 36rem;
}

.fe {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin: 36px 0 0;
  color: var(--texto-suave);
  font-size: 16px;
}
.fe .rotulo { color: var(--laranja-claro); }

/* Um dia de cada vez */
.um-dia .caixa {
  display: grid;
  gap: 24px;
  align-items: end;
}
.um-dia__numero {
  margin: 0;
  font-weight: 200;
  font-size: clamp(180px, 30vw, 380px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--texto);
}
.um-dia__texto p {
  margin: 22px 0 0;
  max-width: 32rem;
  color: var(--texto-suave);
}

/* Privacidade */
.pontos {
  display: grid;
  gap: 0;
  margin: clamp(48px, 7vw, 80px) 0 0;
  padding: 0;
  list-style: none;
}
.pontos li {
  padding: 26px 0 28px;
  border-top: 1px solid var(--linha);
}
.pontos h3 {
  margin: 0;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.pontos p {
  margin: 8px 0 0;
  font-size: 16px;
  color: var(--texto-suave);
  max-width: 30rem;
}
.nota {
  margin: 40px 0 0;
}

/* Em breve */
.breve { text-align: left; }
.breve p {
  margin: 22px 0 0;
  color: var(--texto-suave);
  max-width: 32rem;
}
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  margin-top: 36px;
  border-radius: 999px;
  background: var(--texto);
  color: #140C08;
  font-weight: 500;
  font-size: 17px;
  text-decoration: none;
  transition: background-color .25s var(--curva), transform .25s var(--curva);
}
.botao:hover { background: #FFFFFF; }
.botao:active { transform: scale(0.98); }
.botao--perigo {
  background: var(--perigo-fundo);
  border: 1.5px solid var(--perigo-borda);
  color: var(--perigo);
}
.botao--perigo:hover { background: rgba(230, 86, 64, 0.24); }

/* ---------- Rodapé ---------- */

.rodape {
  border-top: 1px solid var(--linha);
  padding-top: 56px;
  overflow: hidden;
}
.rodape__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rodape__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--texto-suave);
  text-decoration: none;
  transition: color .25s var(--curva);
}
.rodape__links a:hover { color: var(--laranja-claro); }
.rodape__fino {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--apagado);
  max-width: 44rem;
}
.rodape__marca {
  margin: clamp(40px, 6vw, 64px) 0 0;
  font-weight: 300;
  font-size: clamp(96px, 26vw, 340px);
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: rgba(244, 236, 228, 0.07);
  white-space: nowrap;
  user-select: none;
  transform: translateY(0.12em);
}

/* ---------- Páginas legais ---------- */

.pagina .topo { position: relative; }
.pagina .topo .caixa { border-bottom: 1px solid var(--linha); }

.doc {
  max-width: calc(680px + var(--margem) * 2);
  margin-inline: auto;
  padding: clamp(48px, 8vw, 96px) var(--margem) clamp(80px, 10vw, 128px);
  color: var(--texto-suave);
}
.doc h1 {
  margin: 18px 0 0;
  color: var(--texto);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.doc .atualizado { margin: 16px 0 0; font-size: 15px; color: var(--rotulo); }
.doc .preliminar {
  margin: 28px 0 0;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(242, 106, 27, 0.32);
  background: rgba(242, 106, 27, 0.07);
  color: var(--laranja-claro);
  font-size: 15px;
  line-height: 1.5;
}
.doc h2 {
  margin: 56px 0 0;
  padding-top: 36px;
  border-top: 1px solid var(--linha);
  color: var(--texto);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 27px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  scroll-margin-top: 24px;
}
.doc h3 {
  margin: 32px 0 0;
  color: var(--texto);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.35;
}
.doc p, .doc li { font-size: 17px; line-height: 1.65; }
.doc p { margin: 16px 0 0; }
.doc ul, .doc ol { margin: 14px 0 0; padding-left: 1.3em; }
.doc li { margin-top: 8px; padding-left: 4px; }
.doc li::marker { color: var(--apagado); }
.doc strong { color: var(--texto); font-weight: 500; }
.doc a:not(.botao) {
  color: var(--laranja-claro);
  text-decoration: underline;
  text-decoration-color: rgba(255, 210, 179, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color .25s var(--curva);
  overflow-wrap: anywhere;
}
.doc a:not(.botao):hover { text-decoration-color: var(--laranja-claro); }
.doc .resumo {
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--linha);
  background: rgba(255, 255, 255, 0.04);
}
.doc .tabela { margin: 20px 0 0; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}
.doc th {
  text-align: left;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rotulo);
  padding: 0 12px 10px 0;
  border-bottom: 1px solid var(--linha);
  vertical-align: bottom;
}
.doc td {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--linha);
  vertical-align: top;
}
/* No celular, cada linha da tabela vira um bloco, com o nome da coluna em cima */
@media (max-width: 759px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; }
  .doc thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .doc tr { padding: 16px 0; border-bottom: 1px solid var(--linha); }
  .doc tr:first-child { border-top: 1px solid var(--linha); }
  .doc td { padding: 0; border: 0; }
  .doc td + td { margin-top: 12px; }
  .doc td:first-child { color: var(--texto); font-weight: 500; }
  .doc td + td::before {
    content: attr(data-rotulo);
    display: block;
    margin-bottom: 2px;
    font-family: "Geist Mono", ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rotulo);
  }
}
.doc hr { display: none; }
.doc .acoes { margin: 24px 0 0; }
.doc .acoes .botao { margin-top: 0; }

.erro {
  min-height: 70vh;
  display: grid;
  align-content: center;
  padding-block: 96px;
}
.erro p { color: var(--texto-suave); }

/* ---------- Telas maiores ---------- */

@media (min-width: 760px) {
  :root { --horizonte: clamp(88px, 17vh, 190px); }
  .recursos li {
    grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 24px;
    padding: 34px 0 36px;
  }
  .recursos p { grid-column: auto; padding-top: 3px; }
  .pontos { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 72px); }
  .um-dia .caixa { grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); }
  .um-dia__texto { padding-bottom: 0.6em; }
}

@media (min-width: 960px) {
  :root { --anel-x: 70%; }
  .abertura { padding-bottom: var(--secao); justify-content: flex-start; }
}

/* ---------- Movimento ---------- */
/* Só esconde o que vai entrar se o JavaScript estiver ligado. */

.js [data-onda] .linha {
  opacity: 0;
  transform: translateY(14px);
}
[data-onda].na-tela .linha {
  opacity: 1;
  transform: none;
  transition:
    opacity .7s var(--curva),
    transform .7s var(--curva);
  transition-delay: calc(var(--i, 0) * 80ms + var(--atraso, 0ms));
}
.abertura [data-onda] { --atraso: 500ms; }

.js .cena__horizonte { transform: scaleX(0); opacity: 0; transform-origin: var(--anel-x) 50%; }
.js .cena__anel svg { transform: translateY(30%); opacity: 0; }
.js .cena__brilho { opacity: 0; transform: translate(-50%, 50%) scale(.92); }

.pronto .cena__horizonte {
  transform: none;
  opacity: 1;
  transition: transform 1.2s var(--curva), opacity 1.2s var(--curva);
}
.pronto .cena__anel svg {
  transform: none;
  opacity: 1;
  transition: transform 1.6s var(--curva) .15s, opacity 1.6s var(--curva) .15s;
}
.pronto .cena__brilho {
  opacity: 1;
  transform: translate(-50%, 50%) scale(1);
  transition: transform 2s var(--curva) .1s, opacity 2s var(--curva) .1s;
}
.pronto .cena__brilho span {
  animation: respirar 6s var(--ida-volta) 2.1s infinite alternate;
}
@keyframes respirar {
  from { opacity: 1; }
  to { opacity: .85; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-onda] .linha,
  .js .cena__horizonte,
  .js .cena__anel svg,
  .js .cena__brilho { transform: none; }
  .js .cena__brilho { transform: translate(-50%, 50%); }
  [data-onda].na-tela .linha,
  .pronto .cena__horizonte,
  .pronto .cena__anel svg,
  .pronto .cena__brilho {
    transition: opacity .3s linear;
    transition-delay: 0s;
  }
  .pronto .cena__brilho span { animation: none; }
  .pular, .botao, .topo__link, .rodape__links a { transition: none; }
}
