:root {
  --tinta: #0b191e;
  --tinta2: #142d35;
  --tinta3: #071317;
  --azul: #3C8AA2;
  --azul-claro: #5FC0E0;
  --azul-gelo: #BFE9F7;
  --azul-fundo: #2F6C7F;
  --sobre: #EEF4F6;
  --sobre-mudo: #B9CBD2;
  --col: min(100vw, 520px);
  --g: clamp(20px, 6.1vw, 32px);
  --colw: calc(var(--col) - 2 * var(--g));
  --pad-topo: clamp(44px, 8.5svh, 88px);
  --logo-w: clamp(150px, 42vw, 190px);
  --sub: 9px;
  --modulo: 36px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--tinta); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--tinta3);
  color: #fff;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; }
p, ul { margin: 0; padding: 0; }
.pagina {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 520px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--tinta);
}
.ambiente { display: none; }
.capa {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  overflow: hidden;
}
.capa__foto {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  transform-origin: 50% 30%;
  animation: capaChega 2.8s var(--ease) both;
}
@keyframes capaChega { from { transform: scale(1.08); } to { transform: none; } }
.fio {
  position: absolute;
  z-index: 3;
  top: 0; left: 0; right: 0;
  height: 2px;
  display: block;
  background: linear-gradient(90deg, transparent, var(--azul) 30%, var(--azul-claro) 50%, var(--azul) 70%, transparent);
  transform-origin: center;
  animation: fioAbre 1.2s var(--ease) .1s both;
}
@keyframes fioAbre { from { transform: scaleX(0); } to { transform: none; } }
.conteudo {
  position: relative;
  z-index: 2;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--pad-topo) var(--g) 30px;
  justify-content: center;
  text-align: center;
}
.topo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.topo::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -34px;
  bottom: -26px;
  width: min(var(--col), calc(var(--logo-w) * 2.1));
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(11, 25, 30, .5) 0%, rgba(11, 25, 30, .3) 55%, rgba(11, 25, 30, 0) 100%);
  pointer-events: none;
}
.janela {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 64px;
}
.baixo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex: 0 0 auto;
}
.baixo::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  width: var(--col);
  top: -70px;
  bottom: -40px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 64% 30% at 50% 16%, rgba(11, 25, 30, .8) 0%, rgba(11, 25, 30, .55) 60%, rgba(11, 25, 30, 0) 100%),
    linear-gradient(180deg,
      rgba(11, 25, 30, 0) 0,
      rgba(11, 25, 30, .74) 36px,
      rgba(11, 25, 30, .78) 110px,
      rgba(11, 25, 30, .66) 260px,
      rgba(11, 25, 30, .7) 100%);
  pointer-events: none;
}
.baixo::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  width: var(--col);
  top: 30px;
  bottom: -40px;
  transform: translateX(-50%);
  background:
    repeating-linear-gradient(to right, rgba(255, 255, 255, .02) 0 1px, transparent 1px var(--modulo)),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, .02) 0 1px, transparent 1px var(--modulo)),
    repeating-linear-gradient(to right, rgba(255, 255, 255, .01) 0 1px, transparent 1px var(--sub)),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, .01) 0 1px, transparent 1px var(--sub));
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 160px, #000 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 160px, #000 100%);
  pointer-events: none;
}
.marca {
  position: relative;
  display: block;
  width: var(--logo-w);
  aspect-ratio: 640 / 418;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, .55));
}
.marca > i {
  position: absolute;
  inset: 0;
  display: block;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.marca > .marca__l1 { background-image: url(../img/logo-1.webp); }
.marca > .marca__l2 { background-image: url(../img/logo-2.webp); }
.marca > .marca__l3 { background-image: url(../img/logo-3.webp); }
.marca__l1, .marca__l2, .marca__l3 {
  clip-path: inset(0 100% 0 0);
  transform-origin: 8% 80%;
  animation: tracoOnda .82s cubic-bezier(.34, .78, .28, 1) .1s both;
}
.marca__l2 { animation-delay: .36s; }
.marca__l3 { animation-delay: .62s; }
@keyframes tracoOnda {
  0%   { clip-path: inset(0 100% 0 0); transform: translateY(7px)  rotate(-1.1deg); }
  45%  {                               transform: translateY(-3px) rotate(.5deg); }
  72%  { clip-path: inset(0 0 0 0);    transform: translateY(1.5px) rotate(-.2deg); }
  100% { clip-path: inset(0 0 0 0);    transform: translateY(0)    rotate(0); }
}
.marca > .marca__nome {
  background-image: url(../img/logo-nome.webp);
  animation: nomeEntra .6s var(--ease) 1.05s both;
}
@keyframes nomeEntra {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.marca > .marca__onda {
  -webkit-mask: url(../img/logo-tudo.png) center / contain no-repeat;
          mask: url(../img/logo-tudo.png) center / contain no-repeat;
  background: linear-gradient(104deg,
    transparent 36%, rgba(255, 255, 255, .18) 43%, rgba(233, 250, 255, 1) 50%,
    rgba(255, 255, 255, .18) 57%, transparent 64%) 140% 0 / 300% 100% no-repeat;
  opacity: 0;
  animation: ondaLuz 7s cubic-bezier(.4, .05, .35, 1) 1.9s infinite;
}
@keyframes ondaLuz {
  0%        { background-position: 140% 0; opacity: 0; }
  3%        { opacity: 1; }
  20%       { background-position: -40% 0; opacity: 1; }
  25%, 100% { background-position: -40% 0; opacity: 0; }
}
.ganho {
  max-width: 34ch;
  font-size: clamp(15.5px, calc(var(--colw) / 21), 18px);
  font-weight: 400;
  line-height: 1.5;
  text-wrap: pretty;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 2px rgba(11, 25, 30, .6), 0 2px 18px rgba(11, 25, 30, .85);
}
.ganho b { font-weight: 700; color: var(--azul-claro); }
.regua {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-evenly;
  column-gap: 8px;
  width: 100%;
  max-width: 360px;
  margin-top: 22px;
  list-style: none;
}
.regua li {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.regua b {
  display: block;
  font-size: clamp(28px, calc(var(--colw) / 10.5), 34px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.035em;
  white-space: nowrap;
  background: linear-gradient(100deg,
      var(--azul-claro) 0%, #8fd6ee 22%, var(--azul-gelo) 38%,
      #8fd6ee 54%, var(--azul-claro) 72%, #8fd6ee 100%) 0 50% / 260% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: numeroBrilho 7s linear infinite;
}
.regua b em { font-style: normal; font-size: .4em; font-weight: 600; margin-left: .12em; letter-spacing: 0; }
@keyframes numeroBrilho { from { background-position: 0% 50%; } to { background-position: 260% 50%; } }
.regua small {
  display: block;
  white-space: nowrap;
  margin-top: 9px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sobre-mudo);
}
.links {
  display: grid;
  gap: 14px;
  width: 100%;
  margin-top: 30px;
  text-align: left;
}
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 10px 16px 10px 12px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn > * { position: relative; z-index: 2; }
.btn:focus-visible { outline: 2px solid var(--azul-claro); outline-offset: 3px; }
.btn__tx {
  flex: 1 1 auto;
  white-space: nowrap;
  font-size: min(17px, calc((var(--colw) - 112px) / 14.2));
}
.btn__tx small {
  display: block;
  margin-top: 3px;
  font-size: clamp(11.5px, calc(var(--colw) / 27), 13px);
  font-weight: 500;
  line-height: 1.3;
  white-space: normal;
}
.btn__ic, .btn__seta {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn__ic { width: 42px; height: 42px; padding: 10px; stroke-width: 1.7; }
.btn__seta { width: 19px; height: 19px; stroke-width: 2.2; transition: transform .25s var(--ease); }
.btn:hover .btn__seta { transform: translateX(4px); }
@keyframes desliza { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.links > :nth-child(1) { --d: .3s; }
.links > :nth-child(2) { --d: .42s; }
.btn::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0; left: 0;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: translateX(-190%) skewX(-18deg);
  animation: btnShine 3.8s ease-in-out 1.6s infinite;
  pointer-events: none;
}
@keyframes btnShine {
  0%        { transform: translateX(-190%) skewX(-18deg); }
  55%, 100% { transform: translateX(260%) skewX(-18deg); }
}
.btn--prin {
  color: var(--tinta);
  background: linear-gradient(110deg, #e2f7fd 0%, #a9e3f5 24%, #66c6e5 50%, #a9e3f5 76%, #e2f7fd 100%) 0% 50% / 240% 100%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .7),
    0 0 0 2px rgba(226, 247, 253, .95),
    0 0 40px rgba(95, 192, 224, .48),
    0 22px 46px -12px rgba(95, 192, 224, .78);
  animation: revela .8s var(--ease) var(--d) backwards,
             desliza 7s ease-in-out infinite alternate;
}
.btn--prin:hover {
  filter: brightness(1.05);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .85),
    0 0 0 2px #fff,
    0 0 48px rgba(95, 192, 224, .6),
    0 26px 52px -12px rgba(95, 192, 224, .9);
}
.btn--prin::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .8), transparent); }
.btn--prin > .btn__ic { background: var(--tinta); stroke: var(--azul-claro); }
.btn--prin .btn__tx small { color: #16343e; }
.btn--zap {
  color: #04170c;
  background: linear-gradient(110deg, #2fe276 0%, #25d366 40%, #1fc25c 70%, #25d366 100%) 0% 50% / 220% 100%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .28),
    0 0 0 2px rgba(98, 240, 152, .9),
    0 0 40px rgba(37, 211, 102, .52),
    0 22px 46px -12px rgba(37, 211, 102, .82);
  animation: revela .8s var(--ease) var(--d) backwards,
             desliza 8s ease-in-out infinite alternate;
}
.btn--zap:hover {
  filter: brightness(1.04);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .4),
    0 0 0 2px #8ff5b6,
    0 0 48px rgba(37, 211, 102, .64),
    0 26px 52px -12px rgba(37, 211, 102, .95);
}
.btn--zap::after { animation-delay: 2.3s; }
.btn--zap .btn__tx small { color: #053019; }
.btn__zap {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #1ebe5a;
}
.btn__zap svg { width: 24px; height: 24px; fill: currentColor; }
.pe {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-top: 28px;
  font-size: 11.5px;
  line-height: 1.3;
  text-align: center;
}
.local {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
}
.local__pin {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--azul-claro);
  stroke-width: 1.9;
  stroke-linejoin: round;
}
.dev { color: rgba(255, 255, 255, .72); letter-spacing: .02em; }
.dev a { color: #fff; font-weight: 700; text-decoration: none; }
.dev a:hover { text-decoration: underline; }
.ganho, .regua, .pe { animation: revela .8s var(--ease) backwards; }
.ganho { animation-delay: .2s; }
.regua { animation-delay: .25s; }
.pe    { animation-delay: .6s; }
@keyframes revela { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (max-height: 760px) and (max-width: 699px) {
  :root { --pad-topo: clamp(26px, 5svh, 38px); --logo-w: clamp(128px, 36vw, 150px); }
  .conteudo { padding-bottom: 18px; }
  .janela { min-height: 48px; }
  .ganho { font-size: clamp(14.5px, calc(var(--colw) / 22.5), 16px); line-height: 1.45; }
  .regua { margin-top: 18px; }
  .regua b { font-size: clamp(25px, calc(var(--colw) / 12), 30px); }
  .regua small { margin-top: 7px; font-size: 9.5px; }
  .links { margin-top: 24px; gap: 12px; }
  .btn { min-height: 62px; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
  .btn__ic, .btn__zap { width: 38px; height: 38px; }
  .btn__ic { padding: 9px; }
  .pe { margin-top: 20px; }
}
@media (min-width: 700px) {
  .ambiente {
    position: fixed;
    inset: 0;
    display: block;
    background:
      linear-gradient(90deg, rgba(11, 25, 30, .92) 0%, rgba(11, 25, 30, .58) 50%, rgba(11, 25, 30, .92) 100%),
      linear-gradient(180deg, rgba(11, 25, 30, .5) 0%, rgba(11, 25, 30, .86) 100%),
      url(../img/capa-d.webp) center / cover no-repeat;
  }
  .pagina { box-shadow: 0 0 0 1px rgba(95, 192, 224, .14), 0 30px 90px rgba(0, 0, 0, .6); }
  .capa__foto { object-position: 50% 16%; }
}
@media (min-width: 700px) and (max-height: 820px) {
  :root { --logo-w: 170px; }
  .janela { min-height: 72px; }
}
@media (min-width: 700px) and (max-height: 700px) {
  :root { --pad-topo: 30px; --logo-w: 150px; }
  .janela { min-height: 40px; }
  .regua { margin-top: 16px; }
  .links { margin-top: 24px; }
  .pe { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .marca__l1, .marca__l2, .marca__l3 { clip-path: none; }
  .marca > .marca__onda { opacity: 0; }
}
