
:root {
  --terracota: #813820;
  --escuro: #4b170e;
  --dourado: #e5bd86;
  --creme: #f8e8d2;
  --borda: rgba(239, 198, 143, .75);
}

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

body {
  min-height: 100vh;
  background: var(--terracota);
  color: var(--creme);
  font-family: "Montserrat", sans-serif;
}

.pagina {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.lancamento {
  position: relative;
  display: grid;
  grid-template-columns: 52% 48%;
  width: 100%;
  max-width: 1500px;
  min-height: min(900px, calc(100vh - 36px));
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--borda);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 70% 45%,
      #943b1c 0%, #692313 65%, #45140e 100%);
  box-shadow: 0 22px 70px rgba(30, 8, 4, .25);
}

/* FOTO ORIGINAL */
.foto {
  position: relative;
  min-height: 650px;
  overflow: hidden;
}

.foto-modelo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 70%,
    rgba(75, 23, 14, .28) 100%
  );
  pointer-events: none;
}

/* CONTEÚDO */
.conteudo {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 45px 30px;
  text-align: center;
  animation: aparecer 1.2s ease both;
}

.marca {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.logo {
  width: min(260px, 75%);
  height: 185px;
  object-fit: contain;
  mix-blend-mode: normal;
}

.assinatura {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(20px, 2vw, 30px);
  font-style: italic;
}

.ornamento {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 80%;
  color: var(--dourado);
  font-size: 20px;
}

.ornamento span {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg, transparent, var(--dourado));
}

.ornamento span:last-child {
  transform: rotate(180deg);
}

h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(48px, 5vw, 82px);
  line-height: 1;
}

.subtitulo {
  font-size: clamp(12px, 1.3vw, 18px);
  letter-spacing: .22em;
  line-height: 1.7;
}

.colecao {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(55px, 6vw, 95px);
  font-weight: 400;
  letter-spacing: .14em;
  line-height: .95;
}

.data {
  width: min(100%, 400px);
  padding: 8px 15px;
  border: 1.5px solid var(--dourado);
  border-radius: 22px;
  box-shadow: 0 0 24px rgba(245, 174, 94, .12);
}

.data span {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 4.2vw, 65px);
  line-height: 1;
  white-space: nowrap;
}

/* CONTAGEM REGRESSIVA */
.contador-area {
  width: min(100%, 440px);
}

.contador-titulo {
  margin-bottom: 10px;
  font-size: 10px;
  letter-spacing: .3em;
}

.contador {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.tempo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 10px 3px;
  border: 1px solid var(--borda);
  border-radius: 12px;
  background: rgba(80, 20, 9, .25);
}

.tempo strong {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(27px, 3vw, 46px);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.tempo small {
  font-size: clamp(7px, .8vw, 10px);
  letter-spacing: .04em;
}

.mensagem-lancamento {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-style: italic;
}

[hidden] {
  display: none !important;
}

/* INSTAGRAM */
.botao-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 370px);
  min-height: 49px;
  padding: 10px 16px;
  border: 1px solid var(--dourado);
  border-radius: 40px;
  color: var(--creme);
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  text-decoration: none;
  transition: background .3s, transform .3s;
}

.botao-instagram:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-3px);
}

.botao-instagram span {
  font-size: 27px;
}

.final {
  margin-top: 5px;
}

@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TABLET */
@media (max-width: 1050px) {
  .lancamento {
    grid-template-columns: 48% 52%;
  }

  .conteudo {
    padding: 30px 18px;
    gap: 12px;
  }

  .logo {
    height: 145px;
  }
}

/* MOBILE */
@media (max-width: 700px) {
  .pagina {
    padding: 0;
  }

  .lancamento {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    border: none;
    border-radius: 0;
  }

  .foto {
    position: absolute;
    top: 205px;
    left: 0;
    right: 0;
    height: 43%;
    min-height: 0;
    opacity: .92;
  }

  .foto-modelo {
    object-position: center 22%;
  }

  .foto::after {
    background: linear-gradient(
      to bottom,
      rgba(75, 23, 14, .05) 0%,
      rgba(75, 23, 14, .1) 45%,
      rgba(75, 23, 14, .95) 95%,
      var(--escuro) 100%
    );
  }

  .conteudo {
    flex: 1;
    justify-content: flex-start;
    gap: 12px;
    padding: 20px 20px 40px;
  }

  .marca {
    gap: 2px;
  }

  .logo {
    width: 175px;
    height: 115px;
  }

  .assinatura {
    font-size: 21px;
  }

  .ornamento:not(.final) {
    display: none;
  }

  h1 {
    margin-top: clamp(255px, 43vh, 390px);
    font-size: clamp(47px, 11vw, 65px);
  }

  .subtitulo {
    font-size: 12px;
  }

  .colecao {
    font-size: 65px;
  }

  .data {
    width: min(100%, 320px);
  }

  .data span {
    font-size: 49px;
  }

  .contador-area {
    max-width: 330px;
  }

  .tempo strong {
    font-size: 32px;
  }

  .tempo small {
    font-size: 8px;
  }

  .botao-instagram {
    max-width: 330px;
  }
}

@media (max-width: 380px) {
  .conteudo {
    padding-inline: 12px;
  }

  .data span {
    font-size: 42px;
  }

  .colecao {
    font-size: 55px;
  }
}

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