/* Taycan Cosméticos — Conceito 1 "Branco Clínico". Sem recursos externos. */

@font-face { font-family: "Outfit"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/outfit-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/outfit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --roxo: #5126b1;
  --roxo-escuro: #3d1a8c;
  --lilas: #ece6f8;
  --texto: #1f1635;
  --texto-corpo: #3a3350;
  --texto-suave: #5e5775;
  --branco: #ffffff;
  --titulo: "Outfit", "Inter", system-ui, sans-serif;
  --corpo: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--branco);
  color: var(--texto);
  font-family: var(--corpo);
  font-size: 1rem;
  line-height: 1.5;
}

a { color: var(--roxo); }
a:hover { color: var(--roxo-escuro); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--texto);
  outline-offset: 3px;
  border-radius: 4px;
}

.pagina {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.marca-dagua {
  position: absolute;
  width: 760px;
  height: auto;
  right: -200px;
  bottom: -240px;
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}

.moldura {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 1328px;
  margin: 0 auto;
  padding: 72px 64px 0;
  display: flex;
  flex-direction: column;
}

.logo {
  display: block;
  width: 560px;
  max-width: 100%;
  height: auto;
  margin-bottom: 112px;
}

.grade {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 48px;
  align-items: start;
}

.principal { grid-column: 1 / span 7; min-width: 0; }
.contagem { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 16px; }

h1 {
  margin: 0 0 24px;
  font-family: var(--titulo);
  font-weight: 600;
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--texto);
}

.destaque { color: var(--roxo); }

.mensagem {
  margin: 0;
  max-width: 36ch;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--texto-corpo);
}

.mensagem strong { font-weight: 600; color: var(--texto); }
.status:empty { display: none; }

.numero {
  display: block;
  text-align: right;
  font-family: var(--titulo);
  font-weight: 500;
  font-size: clamp(120px, 14vw, 200px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: var(--roxo);
  font-variant-numeric: tabular-nums;
}

.trilha { height: 2px; background: var(--lilas); overflow: hidden; }

.barra {
  height: 2px;
  background: var(--roxo);
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform 0.95s linear;
}

.legenda {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texto-suave);
}

.contagem-compacta { display: none; }

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

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--roxo);
  color: var(--branco);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.botao:hover { background: var(--roxo-escuro); color: var(--branco); }

.link-acao {
  min-height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--roxo);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}

.link-acao:hover { color: var(--roxo-escuro); }

.rodape {
  margin-top: auto;
  padding: 96px 0 32px;
}

.rodape-linha {
  border-top: 1px solid var(--lilas);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 32px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--texto-suave);
}

.destino {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.destino svg { flex: none; margin-top: 2px; }

.destino strong { font-weight: 600; color: var(--texto); overflow-wrap: anywhere; }

.link-rodape {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-underline-offset: 4px;
}

/* Tablet */
@media (max-width: 960px) {
  .principal, .contagem { grid-column: 1 / -1; }
  .numero { text-align: left; font-size: 120px; }
}

/* Celular */
@media (max-width: 600px) {
  .marca-dagua { width: 420px; right: -170px; bottom: -150px; }
  .moldura { padding: 40px 24px 0; }
  .logo { width: 300px; margin-bottom: 64px; }
  h1 { font-size: 2.125rem; line-height: 1.08; margin-bottom: 16px; }
  .mensagem { font-size: 1.0625rem; max-width: none; }

  .contagem { display: none; }
  .contagem-compacta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
  }
  .numero-compacto {
    flex: none;
    min-width: 64px;
    font-family: var(--titulo);
    font-weight: 500;
    font-size: 56px;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--roxo);
    font-variant-numeric: tabular-nums;
  }
  .contagem-info { flex: 1; display: flex; flex-direction: column; gap: 8px; }
  .contagem-info .legenda { font-size: 0.75rem; }

  .acoes { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 32px; }
  .botao { width: 100%; }
  .link-acao { width: 100%; min-height: 48px; }

  .rodape { padding: 40px 0 24px; }
  .rodape-linha { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 16px; font-size: 0.8125rem; }
}

@media (max-width: 359px) {
  .moldura { padding: 32px 16px 0; }
  .logo { width: 100%; }
  h1 { font-size: 1.875rem; }
}

@media (prefers-reduced-motion: reduce) {
  .barra, .botao { transition: none; }
}

@media (forced-colors: active) {
  .barra { background: Highlight; }
}
