/* 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;
  --erro: #A2443A;
  --ok: #4F6B4A;

  --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;
}

/* ---------- Faixa de aviso no topo ---------- */

.faixa {
  display: block;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--papel);
  background: var(--tinta);
  transition: background .3s;
}
.faixa b { font-weight: 600; white-space: nowrap; }
.faixa:hover { background: var(--marca-escura); }
.faixa:focus-visible { outline: 2px solid var(--marca); outline-offset: -4px; }

/* ---------- 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: center 20%;
  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; }
.vitrine--dir .foto--a img { object-position: 50% 15%; }

@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, 76px);
  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; }

.telefone {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--suave);
}
.telefone a {
  display: inline-block;
  padding: 10px 4px;
  margin: -10px 0;
  font-weight: 600;
  color: var(--tinta);
  text-decoration: none;
  white-space: nowrap;
}
.telefone a:hover { color: var(--marca-escura); }

.divisor {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 460px;
  margin: 30px 0 14px;
  font-size: 12px;
  color: var(--suave);
}
.divisor::before,
.divisor::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--linha);
}

/* 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)); }
}

/* ---------- Formulário ---------- */

.aviso { width: 100%; max-width: 460px; }

.aviso__linha {
  display: flex;
  gap: 8px;
}

.aviso input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  font: inherit;
  font-size: 14px;
  color: var(--tinta);
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: 2px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.aviso input[type="email"]::placeholder { color: var(--suave); }
.aviso input[type="email"]:focus {
  border-color: var(--marca);
  box-shadow: 0 0 0 3px rgba(132, 113, 107, .15);
}
.aviso input[aria-invalid="true"] { border-color: var(--erro); }

.isca { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.botao {
  position: relative;
  overflow: hidden;
  height: 50px;
  padding: 0 24px;
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tinta);
  background: transparent;
  border: 1px solid var(--tinta);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  isolation: isolate;
  transition: color .3s;
}
.botao:hover, .botao:focus-visible { color: var(--papel); }
/* preenchimento que corre da esquerda no hover */
.botao::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--marca);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--entrada);
  z-index: -1;
}
.botao:hover::before,
.botao:focus-visible::before { transform: scaleX(1); }
.botao:focus-visible { outline: 2px solid var(--marca); outline-offset: 3px; }
.botao[disabled] { cursor: progress; opacity: .85; }
.botao[disabled] .botao__texto::after {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  margin-left: 10px;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -1px;
  animation: girar .7s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }

.consentimento {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--suave);
  text-align: left;
  cursor: pointer;
}
.consentimento input {
  flex: none;
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  accent-color: var(--marca);
  cursor: pointer;
}
.consentimento a { color: var(--marca-escura); text-underline-offset: 2px; }
.consentimento.faltando { color: var(--erro); }

.aviso__status {
  min-height: 20px;
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--erro);
}

/* ---------- Depois de enviar ---------- */

.obrigada {
  max-width: 440px;
  padding: 22px 26px;
  background: var(--papel);
  border: 1px solid var(--linha);
  border-radius: 2px;
  outline: none;
  animation: subir .7s var(--entrada) both;
}
.obrigada p { margin: 0; font-size: 14px; }
.obrigada__titulo {
  margin-bottom: 6px !important;
  font-family: var(--serif);
  font-size: 26px !important;
  color: var(--tinta);
}

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

.selos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  margin: 28px -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; } }

/* ---------- 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; }
  /* no celular a foto fica presa pelo topo, pra não cortar cabeça */
  .vitrine .foto img { object-position: 50% 0; transform-origin: 50% 0; }
  .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; }
  h1 { font-size: clamp(36px, 11.2vw, 56px); white-space: nowrap; }
  .chamada { margin: 12px 0 20px; font-size: 14px; line-height: 1.55; }
  .divisor { margin-top: 26px; }
  .selos { margin: 30px 0 0; }
}

@media (max-width: 480px) {
  .aviso__linha { flex-direction: column; }
  .aviso input[type="email"] { flex: none; font-size: 16px; } /* 16px evita zoom automático no iPhone */
  .botao { width: 100%; }
  .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; }
  .faixa { font-size: 10px; letter-spacing: .1em; padding: 9px 12px; }
  .faixa__longo { display: none; }
}

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