/* As medidas seguem a arte original (tela de 2000 x 1108): 1 "u" = 1 px da arte. */
:root {
  --fundo: #fff8ee;
  --verde: #1b672d;
  --texto: #1d1d1b;
  /* acompanha a tela como a arte; no celular amplia para continuar legível */
  --u: max(min(0.05vw, 0.09025vh), min(0.15vw, 0.55px));
}

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

body {
  background: var(--fundo);
  color: var(--texto);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
}

main {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(32 * var(--u)) 16px;
}

.marca {
  width: calc(621 * var(--u));
  height: calc(160 * var(--u));
  display: grid;
  place-items: center;
  border: 1px solid var(--texto);
  border-radius: calc(24 * var(--u));
  animation: surgir .8s ease-out both;
}

.marca img {
  display: block;
  width: calc(454 * var(--u));
  height: auto;
  transform: translateY(calc(1 * var(--u)));
}

.contatos {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: calc(128 * var(--u));
  font-style: normal;
  font-size: calc(36 * var(--u));
  line-height: 1.2;
}

.contato {
  display: flex;
  align-items: center;
  gap: calc(20 * var(--u));
  min-height: max(44px, calc(73 * var(--u))); /* área de toque confortável */
  padding: 0 calc(24 * var(--u));
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
  transition: color .2s, background-color .2s, transform .2s;
  animation: surgir .8s ease-out .15s backwards;
}

.contato + .contato { animation-delay: .3s; }

.contato span { letter-spacing: .21em; margin-right: -.21em; }

.contato svg {
  flex: none;
  width: calc(26 * var(--u));
  height: calc(26 * var(--u));
  color: var(--verde);
  transition: transform .2s;
}

.contato:hover,
.contato:focus-visible {
  color: var(--verde);
  background: rgb(27 103 45 / .08);
  transform: translateY(-2px);
}

.contato:hover svg,
.contato:focus-visible svg { transform: scale(1.2); }

.contato:focus-visible { outline: 2px solid var(--verde); outline-offset: 2px; }

.contato:active { transform: translateY(0); }

@keyframes surgir {
  from { opacity: 0; translate: 0 12px; }
  to   { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
