/*
 * Página "em breve" da SISSE Joias: site à parte, sobe sozinho no domínio até a loja entrar no ar.
 * Só tipografia sobre o vinho chapado, como a arte aprovada; paleta e fontes iguais às da loja (tokens.css).
 */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fontes/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fontes/roboto-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --vinho-escuro: #4a0c15;
  --marfim: #f2e4e4;
  --linha: rgba(242, 228, 228, 0.7);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Roboto", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--marfim);
  font-family: var(--font-body);
  background: var(--vinho-escuro);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.capa {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 24px;
  text-align: center;
}

/* ---------- texto ---------- */
.marca { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; font-weight: 400; }
.marca__nome {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(64px, 9vw, 136px);
  line-height: 1;
  letter-spacing: 0.32em;
  /* O espaçamento das letras sobra à direita; o recuo igual à esquerda devolve o nome ao centro. */
  padding-left: 0.32em;
}
.marca__sub {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 32px);
  font-weight: 400;
  letter-spacing: 0.6em;
  padding-left: 0.6em;
  text-transform: uppercase;
}
.filete { display: block; width: clamp(80px, 8vw, 112px); height: 1px; margin: clamp(32px, 6vh, 64px) 0; background: var(--linha); }
.frase {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 64px);
  line-height: 1.15;
  color: var(--marfim);
}
.aviso {
  margin: clamp(40px, 8vh, 96px) 0 0;
  font-family: var(--font-display);
  font-size: clamp(15px, 2vw, 30px);
  font-weight: 400;
  letter-spacing: 0.24em;
  padding-left: 0.24em;
  text-transform: uppercase;
}

/* ---------- rodapé ---------- */
.rodape {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px max(20px, env(safe-area-inset-bottom));
  font-size: 13px;
}
.rodape__insta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(242, 228, 228, 0.72);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.rodape__insta:hover { color: var(--marfim); }
.rodape__insta:hover span { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible { outline: 1px solid var(--marfim); outline-offset: 4px; }

/* ---------- entrada: o nome primeiro, o resto em seguida ---------- */
@keyframes subir {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes abrir {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.marca__nome, .marca__sub, .frase, .aviso, .rodape { animation: subir 1.1s var(--ease) both; }
.marca__nome { animation-delay: 0.2s; }
.marca__sub { animation-delay: 0.4s; }
.filete { animation: abrir 0.9s var(--ease) 0.6s both; }
.frase { animation-delay: 0.75s; }
.aviso { animation-delay: 1s; }
.rodape { animation-delay: 1.3s; }

@media (prefers-reduced-motion: reduce) {
  .marca__nome, .marca__sub, .filete, .frase, .aviso, .rodape { animation: none; }
}
