:root {
  --tinta: #2D231A;
  --tinta3: #1f1812;
  --cobre: #C99473;
  --cobre-claro: #CF9F7C;
  --cobre-fundo: #C08262;
  --cobre-luz: #E6C2A6;
  --creme: #D4C5B9;
  --col: min(100vw, 520px);
  --g: clamp(20px, 6.1vw, 32px);
  --colw: calc(var(--col) - 2 * var(--g));
  --pad-topo: clamp(30px, 5.5svh, 60px);
  --logo-w: clamp(130px, 40vw, 158px);
  --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% 40%;
  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(--cobre-fundo) 25%, var(--cobre-claro) 50%, var(--cobre-fundo) 75%, 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;
  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: calc(-1 * var(--pad-topo));
  bottom: -70px;
  width: var(--col);
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 46% 40% at 50% 58%, rgba(45, 35, 26, .32) 0%, rgba(45, 35, 26, 0) 100%),
    linear-gradient(180deg,
      rgba(45, 35, 26, .94) 0%,
      rgba(45, 35, 26, .82) 30%,
      rgba(45, 35, 26, .6) 60%,
      rgba(45, 35, 26, .26) 82%,
      rgba(45, 35, 26, 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: -120px;
  bottom: -40px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 64% 26% at 50% 30%, rgba(45, 35, 26, .8) 0%, rgba(45, 35, 26, .55) 60%, rgba(45, 35, 26, 0) 100%),
    linear-gradient(180deg,
      rgba(45, 35, 26, 0) 0,
      rgba(45, 35, 26, .45) 60px,
      rgba(45, 35, 26, .78) 130px,
      rgba(45, 35, 26, .82) 200px,
      rgba(45, 35, 26, .7) 260px,
      rgba(45, 35, 26, .72) 100%);
  pointer-events: none;
}
.baixo::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: calc((100% - var(--col)) / 2 - 40px);
  bottom: -60px;
  width: 260px;
  aspect-ratio: 674 / 832;
  background: url(../img/simbolo.webp) center / contain no-repeat;
  opacity: .05;
  pointer-events: none;
}
.marca {
  position: relative;
  display: block;
  width: var(--logo-w);
  aspect-ratio: 640 / 673;
  filter: drop-shadow(0 0 1px rgba(45, 35, 26, .95)) drop-shadow(0 0 2.5px rgba(45, 35, 26, .7)) drop-shadow(0 2px 8px rgba(45, 35, 26, .35));
}
.marca > i {
  position: absolute;
  inset: 0;
  display: block;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.marca > .marca__predios { background-image: url(../img/logo-predios.webp); animation: jfmPredios .9s cubic-bezier(.65, 0, .35, 1) .15s both; }
.marca > .marca__letras  { background-image: url(../img/logo-letras.webp);  animation: jfmLetras .9s cubic-bezier(.65, 0, .35, 1) .75s both; }
.marca > .marca__sub     { background-image: url(../img/logo-sub.webp);     animation: jfmSub .7s var(--ease) 1.35s both; }
@keyframes jfmPredios { from { opacity: 0; clip-path: inset(100% 0 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes jfmLetras  { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes jfmSub     { from { opacity: 0; transform: translateY(6%); } to { opacity: 1; transform: translateY(0); } }
.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, 236, 220, .18) 43%, rgba(255, 240, 228, .95) 50%,
    rgba(255, 236, 220, .18) 57%, transparent 64%) 140% 0 / 300% 100% no-repeat;
  opacity: 0;
  animation: ondaLuz 7s cubic-bezier(.4, .05, .35, 1) 2.2s 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(45, 35, 26, .6), 0 2px 18px rgba(45, 35, 26, .85);
}
.ganho b { font-weight: 700; color: #fff; }
.ganho em {
  font-style: normal;
  font-weight: 700;
  color: transparent;
  background-image: linear-gradient(100deg, #F2D2B6 0%, #E8C2A2 50%, #DDB08D 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
  text-shadow: none;
  filter: drop-shadow(0 1px 8px rgba(45, 35, 26, .7));
}
.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(--cobre-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, .55), 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, #E3BC9C 0%, var(--cobre-claro) 22%, var(--cobre) 50%, var(--cobre-claro) 78%, #E3BC9C 100%) 0% 50% / 240% 100%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 245, 236, .65),
    0 0 0 2px rgba(236, 205, 180, .95),
    0 0 40px rgba(201, 148, 115, .45),
    0 22px 46px -12px rgba(201, 148, 115, .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, 245, 236, .85),
    0 0 0 2px #F6E3D3,
    0 0 48px rgba(201, 148, 115, .58),
    0 26px 52px -12px rgba(201, 148, 115, .85);
}
.btn--prin::after { background: linear-gradient(100deg, transparent, rgba(255, 250, 245, .75), transparent); }
.btn--prin > .btn__ic { background: var(--tinta); stroke: var(--cobre-claro); }
.btn--prin .btn__tx small { color: #33271c; }
.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, .45),
    0 22px 46px -12px rgba(37, 211, 102, .75);
  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, .6),
    0 26px 52px -12px rgba(37, 211, 102, .9);
}
.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(--cobre-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, .pe { animation: revela .8s var(--ease) backwards; }
.ganho { animation-delay: .2s; }
.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(18px, 3.2svh, 28px); --logo-w: clamp(108px, 30vw, 122px); }
  .conteudo { padding-bottom: 18px; }
  .janela { min-height: 40px; }
  .ganho { font-size: clamp(14.5px, calc(var(--colw) / 22.5), 16px); line-height: 1.45; }
  .links { margin-top: 22px; 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; }
  .capa__foto { object-position: 50% 60%; }
}
@media (min-width: 700px) {
  .ambiente {
    position: fixed;
    inset: 0;
    display: block;
    background:
      linear-gradient(90deg, rgba(45, 35, 26, .93) 0%, rgba(45, 35, 26, .6) 50%, rgba(45, 35, 26, .93) 100%),
      linear-gradient(180deg, rgba(45, 35, 26, .55) 0%, rgba(31, 24, 18, .88) 100%),
      url(../img/capa-d.webp) center / cover no-repeat;
  }
  .pagina { box-shadow: 0 0 0 1px rgba(201, 148, 115, .16), 0 30px 90px rgba(0, 0, 0, .6); }
  .capa__foto { object-position: 50% 43%; }
}
@media (min-width: 700px) and (max-height: 820px) {
  :root { --logo-w: 124px; }
  .janela { min-height: 56px; }
}
@media (min-width: 700px) and (max-height: 700px) {
  :root { --pad-topo: 22px; --logo-w: 118px; }
  .janela { min-height: 40px; }
  .links { margin-top: 24px; }
  .pe { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .marca > i { clip-path: none; opacity: 1; transform: none; }
  .marca > .marca__onda { opacity: 0; }
}
