:root {
  --navy: #182c43;
  --fundo: #172b42;
  --fundo2: #0f1d2e;
  --areia: #9c9280;
  --bege: #e5d7bc;
  --creme: #f1e6d4;
  --col: min(100vw, 520px);
  --g: clamp(20px, 6.1vw, 32px);
  --colw: calc(var(--col) - 2 * var(--g));
  --T: calc(var(--col) / 2);
  --TH: calc(var(--T) * 0.926);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--fundo2); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--fundo2);
  color: #fff;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; }
.pagina {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 520px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(180deg, var(--fundo) 0%, var(--fundo) 60%, var(--fundo2) 100%);
}
.ambiente { display: none; }
.capa {
  position: absolute;
  z-index: 0;
  top: 0; left: 0; right: 0;
  height: 74%;
  margin: 0;
  overflow: hidden;
}
.capa__foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 97% 0%;
  display: block;
  transform-origin: 60% 30%;
  animation: capaChega 2.8s var(--ease) both;
}
@keyframes capaChega { from { transform: scale(1.08); } to { transform: none; } }
.capa__tri {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: var(--TH);
  display: block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 540 500' preserveAspectRatio='none'%3E%3Cpath d='M0 0H540L270 500Z' fill='%23fff' fill-opacity='.07'/%3E%3Cpath d='M0 0L270 500H0ZM270 500L540 0V500Z' fill='%23182c43' fill-opacity='.24'/%3E%3C/svg%3E") 0 0 / var(--T) var(--TH) repeat-x;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 40%, transparent 96%);
          mask-image: linear-gradient(180deg, #000 0, #000 40%, transparent 96%);
  animation: triVarre 1.3s cubic-bezier(.45, 0, .2, 1) .05s both;
}
@keyframes triVarre {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
.capa__veu {
  position: absolute;
  inset: 0;
  display: block;
  background:
    linear-gradient(180deg, rgba(15, 29, 46, .3) 0%, rgba(15, 29, 46, .08) 40%,
                    rgba(15, 29, 46, .06) 64%, rgba(23, 43, 66, .55) 80%,
                    rgba(23, 43, 66, .92) 92%, var(--fundo) 100%);
}
.aba {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  width: 44%;
  height: 9px;
  display: block;
  background: var(--navy);
  transform: translateX(-50%);
}
.conteudo {
  position: relative;
  z-index: 2;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(44px, 8.5svh, 88px) var(--g) 30px;
  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%;
  width: var(--col);
  top: -110px;
  bottom: -60px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(15, 29, 46, .72) 0%, rgba(15, 29, 46, .6) 60%, rgba(15, 29, 46, 0) 100%);
  pointer-events: none;
}
.baixo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.baixo::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  width: var(--col);
  top: -150px;
  bottom: -40px;
  transform: translateX(-50%);
  background: linear-gradient(180deg,
    rgba(23, 43, 66, 0) 0,
    rgba(23, 43, 66, .5) 60px,
    rgba(23, 43, 66, .82) 110px,
    rgba(23, 43, 66, .95) 150px,
    var(--fundo) 184px,
    var(--fundo) 100%);
  pointer-events: none;
}
.janela {
  display: block;
  flex: 1 1 auto;
  min-height: 190px;
}
.marca {
  position: relative;
  display: block;
  width: clamp(168px, 50vw, 220px);
  aspect-ratio: 900 / 445;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, .5));
}
.marca > i {
  position: absolute;
  inset: 0;
  display: block;
  -webkit-mask: url(../img/logo-m.png) center / contain no-repeat;
          mask: url(../img/logo-m.png) center / contain no-repeat;
}
.marca > .marca__m {
  background: var(--creme);
  animation: marcaVarre .95s cubic-bezier(.45, 0, .2, 1) .15s both;
}
@keyframes marcaVarre {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
.marca > .marca__casa {
  background: #d3c6ab;
  -webkit-mask-image: url(../img/logo-casa.png);
          mask-image: url(../img/logo-casa.png);
  animation: casaSobe .7s var(--ease) .85s both;
}
@keyframes casaSobe {
  from { opacity: 0; transform: translateY(14%); }
  to   { opacity: 1; transform: none; }
}
.marca > .marca__nome {
  background: var(--bege);
  -webkit-mask-image: url(../img/logo-nome.png);
          mask-image: url(../img/logo-nome.png);
  animation: nomeSobe .8s var(--ease) .55s both;
}
.marca > .marca__tag {
  background: #fff;
  -webkit-mask-image: url(../img/logo-tag.png);
          mask-image: url(../img/logo-tag.png);
  animation: nomeSobe .8s var(--ease) .75s both;
}
@keyframes nomeSobe {
  from { opacity: 0; transform: translateY(8%); }
  to   { opacity: 1; transform: none; }
}
.marca > .marca__clarao {
  -webkit-mask-image: url(../img/logo-tudo.png);
          mask-image: url(../img/logo-tudo.png);
  background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .9) 50%, transparent 60%) 100% 0 / 300% 100% no-repeat;
  animation: marcaClarao 1.1s ease-in-out 1.45s both;
}
@keyframes marcaClarao {
  from { background-position: 100% 0; }
  to   { background-position: 0 0; }
}
.ganho {
  margin: 0;
  max-width: 31ch;
  font-size: clamp(17.5px, calc(var(--colw) / 16.5), 21px);
  font-weight: 400;
  line-height: 1.38;
  text-wrap: pretty;
  color: rgba(255, 255, 255, .94);
  text-shadow: 0 1px 2px rgba(15, 29, 46, .6), 0 2px 18px rgba(15, 29, 46, .85);
}
.ganho b { font-weight: 700; color: var(--bege); }
.links {
  display: grid;
  gap: 20px;
  width: 100%;
  margin-top: 46px;
  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-family: 'Poppins', system-ui, sans-serif;
  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__tx {
  flex: 1 1 auto;
  white-space: nowrap;
  font-size: min(16.5px, calc((var(--colw) - 112px) / 15.8));
}
.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--prin .btn__tx small { color: #2c3b4d; }
.btn--zap .btn__tx small { color: #0b3d22; }
.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: .5s; }
.links > :nth-child(2) { --d: .62s; }
.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.6s ease-in-out 1.5s infinite;
  pointer-events: none;
}
@keyframes btnShine {
  0%        { transform: translateX(-190%) skewX(-18deg); }
  55%, 100% { transform: translateX(260%) skewX(-18deg); }
}
.btn--prin {
  color: var(--navy);
  background: linear-gradient(110deg, #f8f1e3 0%, var(--bege) 26%, #cbb994 52%, var(--bege) 76%, #f8f1e3 100%) 0% 50% / 240% 100%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .55),
    0 0 0 1.5px rgba(241, 230, 212, .9),
    0 0 30px rgba(229, 215, 188, .26),
    0 20px 40px -14px rgba(229, 215, 188, .7);
  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, .7),
    0 0 0 1.5px #fff,
    0 0 38px rgba(229, 215, 188, .38),
    0 26px 48px -14px rgba(229, 215, 188, .85);
}
.btn--prin::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .78), transparent); }
.btn--prin > .btn__ic { background: var(--navy); stroke: var(--bege); }
.btn--zap {
  color: #062b16;
  background: linear-gradient(110deg, #4be08c 0%, #25d366 40%, #1ebe5a 65%, #3ddc80 100%) 0% 50% / 220% 100%;
  box-shadow:
    0 0 0 1.5px rgba(75, 224, 140, .6),
    0 0 32px rgba(37, 211, 102, .3),
    0 20px 40px -14px rgba(37, 211, 102, .72);
  animation: revela .8s var(--ease) var(--d) backwards,
             desliza 8s ease-in-out infinite alternate;
}
.btn--zap:hover {
  box-shadow:
    0 0 0 1.5px rgba(75, 224, 140, .85),
    0 0 40px rgba(37, 211, 102, .42),
    0 26px 48px -14px rgba(37, 211, 102, .85);
}
.btn--zap::after { animation-delay: 2.1s; }
.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 {
  position: relative;
  z-index: 2;
  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(--bege);
  stroke-width: 1.9;
  stroke-linejoin: round;
}
.dev { margin: 0; color: rgba(255, 255, 255, .7); letter-spacing: .02em; }
.dev a { color: #fff; font-weight: 700; text-decoration: none; }
.dev a:hover { text-decoration: underline; }
.barra {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 50%;
  width: 44%;
  height: 5px;
  display: block;
  background: rgba(255, 255, 255, .22);
  transform: translateX(-50%);
}
.barra > i {
  display: block;
  height: 100%;
  background: var(--bege);
  transform-origin: left center;
  animation: barraEnche 2.2s var(--ease) .3s both;
}
@keyframes barraEnche { from { transform: scaleX(0); } to { transform: none; } }
.grao {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: block;
  pointer-events: none;
  opacity: .1;
  mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E") 0 0 / 220px 220px;
}
.ganho, .pe { animation: revela .8s var(--ease) backwards; }
.ganho { animation-delay: .35s; }
.pe    { animation-delay: .8s; }
@keyframes revela { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (max-height: 760px) and (max-width: 699px) {
  .capa { height: 64%; }
  .conteudo { padding-top: clamp(30px, 6svh, 44px); padding-bottom: 24px; }
  .marca { width: clamp(150px, 44vw, 185px); }
  .janela { min-height: 150px; }
  .ganho { font-size: clamp(16.5px, calc(var(--colw) / 18.5), 19px); }
  .links { margin-top: 32px; gap: 16px; }
  .btn { min-height: 62px; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
  .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(15, 29, 46, .9) 0%, rgba(15, 29, 46, .55) 50%, rgba(15, 29, 46, .9) 100%),
      linear-gradient(180deg, rgba(15, 29, 46, .5) 0%, rgba(15, 29, 46, .85) 100%),
      url(../img/capa-d.webp) center / cover no-repeat;
  }
  .pagina { box-shadow: 0 0 0 1px rgba(229, 215, 188, .12), 0 30px 90px rgba(0, 0, 0, .6); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
