/* Trajeria: site de apresentação.
   Paleta: rosado de papel de seda, vinho de vestido de festa, o rosa do sistema
   e o dourado do cordão da etiqueta. Verde só para o WhatsApp. */

@font-face {
  font-family: "Bodoni Moda";
  src: url("fontes/bodoni-moda.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("fontes/hanken-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --papel: #fbf1f3;
  --papel-fundo: #f4e1e7;
  --vinho: #3d0c20;
  --vinho-suave: #6e3a4e;
  --linha: rgba(61, 12, 32, 0.16);
  --linha-forte: rgba(61, 12, 32, 0.32);
  --rosa: #e11d48;
  --ouro: #b88d3e;
  --verde: #15803d;
  --verde-escuro: #0f6a31;
  --branco: #ffffff;
  --serifa: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --largura: 1160px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--papel);
  color: var(--vinho);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  /* Tamanho óptico fixo da Bodoni Moda (eixo de 6 a 96). No automático, os
     títulos grandes usam o desenho de cartaz, com hastes finas como fio de
     cabelo; o 9 é o desenho de texto da mesma fonte, com as partes finas
     mais grossas. Vale para todo texto em Bodoni, porque a propriedade é
     herdada; a Hanken Grotesk não tem esse eixo e não muda. */
  font-variation-settings: "opsz" 9;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serifa);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p,
figure,
dl {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--rosa);
  outline-offset: 3px;
  border-radius: 6px;
}

.envoltorio {
  width: min(100% - 32px, var(--largura));
  margin-inline: auto;
}

.pular {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--branco);
  font-weight: 600;
}

.pular:focus {
  top: 12px;
}

/* Topo */

.topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serifa);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.marca svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.menu-link {
  font-weight: 500;
  text-decoration: none;
}

.menu-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 760px) {
  .menu-link {
    display: none;
  }
}

/* Botões */

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.botao svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.botao-whats {
  background: var(--verde);
  color: var(--branco);
}

.botao-whats:hover {
  background: var(--verde-escuro);
}

.botao-compacto {
  min-height: 44px;
  padding: 0 18px;
  font-size: 1rem;
}

.link-forte {
  font-weight: 600;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}

.acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 36px;
}

/* Abertura com a etiqueta pendurada */

.abertura {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 48px;
  padding-block: clamp(32px, 6vw, 80px) clamp(72px, 9vw, 128px);
}

.abertura h1 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.abertura-texto {
  max-width: 32em;
  margin-top: 28px;
  color: var(--vinho-suave);
  font-size: 1.25rem;
}

.cena {
  justify-self: center;
  width: min(100%, 340px);
}

.arara {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--vinho);
}

.balanco {
  transform: rotate(-3deg);
  transform-origin: 50% 0;
  filter: drop-shadow(0 22px 26px rgba(61, 12, 32, 0.18));
}

@media (prefers-reduced-motion: no-preference) {
  .balanco {
    animation: balanco 2.6s ease-in-out 0.3s both;
  }
}

@keyframes balanco {
  0% { transform: rotate(10deg); }
  28% { transform: rotate(-8deg); }
  52% { transform: rotate(3deg); }
  74% { transform: rotate(-5deg); }
  100% { transform: rotate(-3deg); }
}

.cordao {
  position: relative;
  z-index: 1;
  display: block;
  width: 40px;
  height: 120px;
  margin: 0 auto -34px;
  overflow: visible;
}

.com-ilhos {
  position: relative;
  background: var(--branco);
}

/* O furo da etiqueta mostra o fundo da página, com o aro dourado em volta. */
.com-ilhos::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  background: var(--papel);
  box-shadow: 0 0 0 4px var(--ouro), inset 0 2px 3px rgba(61, 12, 32, 0.3);
}

.etiqueta {
  padding: 64px 28px 26px;
  clip-path: polygon(24% 0, 76% 0, 100% 15%, 100% 100%, 0 100%, 0 15%);
}

.etiqueta-codigo {
  color: var(--vinho-suave);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.etiqueta-peca {
  margin-top: 6px;
  font-family: var(--serifa);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
}

.etiqueta-datas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
  padding-block: 14px;
  border-block: 1.5px dashed var(--linha-forte);
}

.etiqueta-datas dt {
  color: var(--vinho-suave);
  font-size: 0.8125rem;
}

.etiqueta-datas dd {
  margin: 0;
  font-family: var(--serifa);
  font-size: 1.3rem;
  font-weight: 700;
}

.etiqueta-pe {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.etiqueta-cliente {
  font-size: 0.95rem;
  line-height: 1.4;
}

.etiqueta-cliente strong {
  display: block;
}

.etiqueta-qr {
  width: 84px;
  height: 84px;
  flex: none;
}

@media (max-width: 899px) {
  .abertura {
    grid-template-columns: minmax(0, 1fr);
  }

  .cena {
    width: min(100%, 300px);
  }
}

/* Seções */

.secao {
  padding-block: clamp(72px, 10vw, 128px);
}

.secao-fundo {
  background: var(--papel-fundo);
}

.secao h2,
.contato h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
}

.secao-intro {
  max-width: 34em;
  margin-top: 16px;
  color: var(--vinho-suave);
  font-size: 1.1875rem;
}

/* Fita métrica: os dias em volta do evento */

.fita {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 28px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}

.fita::before {
  content: "";
  position: absolute;
  top: 0;
  left: -16px;
  right: -16px;
  height: 48px;
  border: 1px solid var(--linha);
  border-radius: 4px;
  background:
    repeating-linear-gradient(to right, rgba(61, 12, 32, 0.5) 0 1px, transparent 1px 10px) left bottom / 100% 9px no-repeat,
    repeating-linear-gradient(to right, rgba(61, 12, 32, 0.75) 0 1.5px, transparent 1.5px 50px) left bottom / 100% 16px no-repeat,
    var(--branco);
}

.fita li {
  position: relative;
  padding-top: 76px;
}

/* O marcador rosa atravessa a fita no ponto de cada etapa. */
.fita li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 3px;
  height: 64px;
  border-radius: 2px;
  background: var(--rosa);
}

.quando {
  position: absolute;
  top: 7px;
  left: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.fita h3 {
  font-size: 1.5rem;
}

.fita p {
  margin-top: 8px;
  color: var(--vinho-suave);
  font-size: 1rem;
}

@media (max-width: 899px) {
  .fita {
    grid-template-columns: minmax(0, 1fr);
  }

  .fita::before {
    left: 0;
    right: auto;
    bottom: 0;
    width: 44px;
    height: auto;
    background:
      repeating-linear-gradient(to bottom, rgba(61, 12, 32, 0.5) 0 1px, transparent 1px 10px) right top / 9px 100% no-repeat,
      repeating-linear-gradient(to bottom, rgba(61, 12, 32, 0.75) 0 1.5px, transparent 1.5px 50px) right top / 16px 100% no-repeat,
      var(--branco);
  }

  .fita li {
    padding: 0 0 36px 68px;
  }

  .fita li:last-child {
    padding-bottom: 8px;
  }

  .fita li::before {
    top: 10px;
    left: -6px;
    width: 58px;
    height: 3px;
  }

  .quando {
    position: static;
    display: block;
    margin-bottom: 2px;
    color: var(--vinho-suave);
  }
}

/* Telas */

.navegador {
  overflow: hidden;
  border: 1px solid var(--linha);
  border-radius: 14px;
  background: var(--branco);
  box-shadow: 0 40px 70px -40px rgba(61, 12, 32, 0.45);
}

.navegador-barra {
  display: flex;
  justify-content: center;
  padding: 10px;
  border-bottom: 1px solid var(--linha);
  background: #f8eef1;
}

.navegador-endereco {
  padding: 3px 16px;
  border: 1px solid var(--linha);
  border-radius: 999px;
  background: var(--branco);
  color: var(--vinho-suave);
  font-size: 0.875rem;
}

.legenda {
  max-width: 46em;
  margin-top: 16px;
  color: var(--vinho-suave);
  font-size: 1rem;
}

.tela-principal {
  margin-top: 56px;
}

.telefones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 88px;
}

.telefone {
  justify-self: center;
  width: 100%;
  max-width: 290px;
}

.telefone-moldura {
  overflow: hidden;
  aspect-ratio: 390 / 760;
  border: 8px solid var(--vinho);
  border-radius: 36px;
  background: var(--branco);
}

.telefone-moldura img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.tela-larga {
  margin-top: 88px;
}

.tela-dupla {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  margin-top: 88px;
}

.tela-dupla h3 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.tela-dupla p {
  margin-top: 14px;
  color: var(--vinho-suave);
}

@media (max-width: 899px) {
  .tela-dupla {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .telefones {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78%, 280px);
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
  }

  .telefone {
    scroll-snap-align: start;
  }
}

/* Outros recursos */

.recursos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 64px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.recursos li {
  position: relative;
  padding-left: 36px;
}

.recursos li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 16px;
  height: 21px;
  background: var(--rosa);
  clip-path: polygon(24% 0, 76% 0, 100% 22%, 100% 100%, 0 100%, 0 22%);
}

.recursos h3 {
  font-family: var(--sans);
  font-size: 1.1875rem;
  letter-spacing: 0;
  line-height: 1.3;
}

.recursos p {
  margin-top: 4px;
  color: var(--vinho-suave);
  font-size: 1rem;
}

@media (max-width: 760px) {
  .recursos {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

/* Preço */

.preco-grade {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: start;
  gap: 64px;
}

.preco-texto h3 {
  margin-top: 40px;
  font-size: 1.5rem;
}

.preco-texto h3 + p {
  max-width: 32em;
  margin-top: 10px;
  color: var(--vinho-suave);
}

.preco-sombra {
  filter: drop-shadow(0 26px 30px rgba(61, 12, 32, 0.16));
}

/* Nesta seção o fundo é mais rosado; o furo acompanha. */
.preco-etiqueta::before {
  background: var(--papel-fundo);
}

.preco-etiqueta {
  padding: 72px 36px 36px;
  clip-path: polygon(20% 0, 80% 0, 100% 11%, 100% 100%, 0 100%, 0 11%);
}

.preco-nome {
  font-family: var(--serifa);
  font-size: 1.5rem;
  font-weight: 700;
}

.preco-valor {
  margin-top: 6px;
  font-family: var(--serifa);
  font-size: clamp(3.4rem, 8vw, 4.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.preco-valor small {
  color: var(--vinho-suave);
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0;
}

.preco-implantacao {
  margin-top: 12px;
  color: var(--vinho-suave);
  font-size: 1rem;
}

.preco-inclui {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 20px 0 0;
  border-top: 1.5px dashed var(--linha-forte);
  font-size: 1rem;
  list-style: none;
}

.preco-inclui li {
  position: relative;
  padding-left: 28px;
}

.preco-inclui li::before {
  content: "";
  position: absolute;
  top: 0.42em;
  left: 2px;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--verde);
  border-left: 2px solid var(--verde);
  transform: rotate(-45deg);
}

.preco-etiqueta .botao {
  width: 100%;
}

@media (max-width: 899px) {
  .preco-grade {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .preco-sombra {
    max-width: 420px;
  }
}

/* Contato e rodapé */

.contato {
  background: var(--vinho);
  color: var(--papel);
}

.contato :focus-visible {
  outline-color: var(--papel);
}

.contato h2 {
  color: var(--branco);
}

.contato-grade {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
}

.contato-texto {
  max-width: 32em;
  margin-top: 16px;
  color: rgba(251, 241, 243, 0.85);
  font-size: 1.1875rem;
}

.contato-numero {
  font-size: 1.125rem;
  font-weight: 600;
}

.contato-qr img {
  width: 180px;
  height: 180px;
  padding: 12px;
  border-radius: 12px;
  background: var(--branco);
}

.contato-qr figcaption {
  margin-top: 10px;
  color: rgba(251, 241, 243, 0.85);
  font-size: 0.9375rem;
  text-align: center;
}

.rodape {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 28px;
  border-top: 1px solid rgba(251, 241, 243, 0.18);
  color: rgba(251, 241, 243, 0.8);
  font-size: 0.9375rem;
}

.rodape a {
  color: var(--papel);
  font-weight: 600;
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .contato-grade {
    grid-template-columns: minmax(0, 1fr);
  }

  .contato-qr {
    display: none;
  }
}
