/* Buy Online, página "Em breve"
   Cores tiradas da logo: marrom #84716B e creme #FDFCF8. */

:root {
  --creme: #F4EFE9;
  --papel: #FBF8F4;
  --marca: #84716B;
  --marca-escura: #6E5D58;
  --tinta: #3A2F2B;
  --texto: #5E524D;
  --suave: #9A8D87;
  --linha: #E2D8CF;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --entrada: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--creme);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Estrutura: fotos | conteúdo | fotos ---------- */

.em-breve {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 640px) minmax(0, 1fr);
  min-height: 0;
}

.vitrine {
  position: relative;
  overflow: hidden;
  background: var(--linha);
}

.foto {
  position: absolute;
  inset: 0;
  margin: 0;
}

.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0; /* presa pelo topo: nunca corta cabeça */
  transform-origin: 50% 0;
  animation: respirar 18s ease-in-out infinite alternate;
}

/* Duas fotos por coluna, trocando devagar */
.foto--b { opacity: 0; animation: alternar 14s ease-in-out infinite; }
.vitrine--dir .foto--b { animation-delay: 7s; }

@keyframes alternar {
  0%, 42% { opacity: 0; }
  50%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes respirar {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

/* Véu suave que liga as fotos ao fundo creme */
.vitrine::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.vitrine--esq::after { background: linear-gradient(90deg, transparent 70%, rgba(244, 239, 233, .35)); }
.vitrine--dir::after { background: linear-gradient(270deg, transparent 70%, rgba(244, 239, 233, .35)); }

/* ---------- Conteúdo central ---------- */

.conteudo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 48px 26px;
  background:
    radial-gradient(ellipse 80% 55% at 50% 42%, var(--papel) 0%, rgba(251, 248, 244, 0) 70%),
    var(--creme);
}

.logo {
  width: 112px;
  height: 112px;
  margin-bottom: 22px;
  filter: drop-shadow(0 10px 24px rgba(110, 93, 88, .18));
}

.sobretitulo {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--marca);
  display: flex;
  align-items: center;
  gap: 14px;
}
.sobretitulo::before,
.sobretitulo::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .5;
  transform-origin: center;
  animation: traco 1.1s var(--entrada) .5s both;
}

@keyframes traco { from { transform: scaleX(0); } to { transform: scaleX(1); } }

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--tinta);
}

.chamada {
  max-width: 460px;
  margin: 18px 0 28px;
  font-size: 15px;
  color: var(--texto);
}

/* ---------- WhatsApp (ação principal) ---------- */

.whats {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 460px;
  height: 56px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--papel);
  background: var(--tinta);
  border-radius: 2px;
  box-shadow: 0 12px 28px -14px rgba(58, 47, 43, .55);
  transition: box-shadow .3s, transform .3s var(--entrada);
}
.whats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--marca);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--entrada);
  z-index: -1;
}
.whats:hover::before,
.whats:focus-visible::before { transform: scaleX(1); }
.whats:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(58, 47, 43, .6); }
.whats:focus-visible { outline: 2px solid var(--marca); outline-offset: 3px; }
.whats svg { flex: none; }

/* Botão flutuante: só no celular, quando o botão principal sai da tela */
.whats-flutuante {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  background: #25D366;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35);
  opacity: 0;
  transform: translateY(12px) scale(.9);
  pointer-events: none;
  transition: opacity .3s, transform .35s var(--entrada);
}
.whats-flutuante.visivel { opacity: 1; transform: none; pointer-events: auto; }
.whats-flutuante:focus-visible { outline: 2px solid var(--tinta); outline-offset: 3px; }
@media (max-width: 860px) {
  .whats-flutuante { display: flex; }
  .rodape { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ---------- Selos e Instagram ---------- */

.selos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  margin: 36px -30px 0;
  padding: 0;
  list-style: none;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .12em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--marca);
}
.selos li { position: relative; }
.selos li + li::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: currentColor;
  opacity: .35;
}

.insta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 12px 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--tinta);
  text-decoration: none;
  padding-bottom: 2px;
  background: linear-gradient(var(--marca), var(--marca)) left bottom / 0 1px no-repeat;
  transition: background-size .35s var(--entrada), color .2s;
}
.insta:hover { color: var(--marca-escura); background-size: 100% 1px; }

/* ---------- Rodapé ---------- */

.rodape {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 22px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  font-size: 11px;
  color: var(--suave);
  background: var(--papel);
  border-top: 1px solid var(--linha);
}
.rodape a { text-decoration: none; display: inline-block; padding: 8px 2px; margin: -8px 0; }
.rodape a:hover { color: var(--marca-escura); }
.rodape .z1 b { color: var(--tinta); font-weight: 600; }

/* ---------- Entrada da página ---------- */

.conteudo > * { animation: subir .9s var(--entrada) both; }
.conteudo > :nth-child(1) { animation-delay: .05s; }
.conteudo > :nth-child(2) { animation-delay: .15s; }
.conteudo > :nth-child(3) { animation-delay: .22s; }
.conteudo > :nth-child(4) { animation-delay: .3s; }
.conteudo > :nth-child(5) { animation-delay: .38s; }
.conteudo > :nth-child(n+6) { animation-delay: .46s; }
.vitrine { animation: aparecer 1.4s ease both; }

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

.conteudo h1 { white-space: nowrap; }

/* ---------- Telas menores ---------- */

@media (max-width: 1100px) {
  .em-breve { grid-template-columns: minmax(0, 1fr) minmax(0, 560px) minmax(0, 1fr); }
  .conteudo { padding: 48px 32px 36px; }
}

/* Celular e tablet em pé: faixa de fotos no topo, conteúdo embaixo */
@media (max-width: 860px) {
  .em-breve {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .vitrine { height: 34vh; height: 34svh; min-height: 200px; max-height: 360px; grid-row: 1; }
  .vitrine--esq { grid-column: 1; }
  .vitrine--dir { grid-column: 2; }
  .vitrine--esq::after, .vitrine--dir::after {
    background: linear-gradient(180deg, transparent 65%, rgba(244, 239, 233, .9));
  }
  .conteudo {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 0 20px 36px;
    margin-top: -52px;
    background: transparent;
    z-index: 1;
  }
  .logo { width: 96px; height: 96px; margin-bottom: 16px; }
  .conteudo h1 { font-size: clamp(36px, 11.2vw, 56px); }
  .chamada { margin: 12px 0 20px; font-size: 14px; line-height: 1.55; }
  .selos { margin: 30px 0 0; }
}

/* tablet em pé: sobra altura, então as fotos aparecem maiores */
@media (min-width: 600px) and (max-width: 860px) and (min-height: 900px) {
  .vitrine { height: 46svh; max-height: 520px; }
}

@media (max-width: 480px) {
  .selos { flex-direction: column; gap: 4px; margin: 28px 0 0; font-size: 10px; }
  .selos li + li::before { display: none; }
  .rodape { flex-direction: column; gap: 4px; text-align: center; }
}

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