/* Cores e fonte herdadas do felipefalkiner.xyz */
:root {
  --ink: #272625;
  --paper: #f9f9f9;
  --orange: #f0a030;
  --whatsapp: #25d366;
  --telegram: #229ed9;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--orange);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Fundo fixo, inclusive no iOS */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--orange) url("/assets/bg.jpg") center / cover no-repeat;
}

a { color: inherit; }
p { margin: 0; }

svg { width: 1em; height: 1em; fill: currentColor; flex: none; }

.wrap {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 20px 56px;
  display: grid;
  gap: 48px;
  align-items: center;
  align-content: center;
}

/* ---------- Texto ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: .85rem;
  letter-spacing: .02em;
}
.eyebrow a { font-weight: 500; text-underline-offset: 3px; }

h1 {
  margin: 18px 0 0;
  font-size: clamp(2.75rem, 10vw, 5rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.04em;
  max-width: 10ch;
}

.lead {
  margin-top: 24px;
  max-width: 32em;
  font-size: 1.15rem;
  font-weight: 500;
}

.topics {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: .85rem;
}

/* ---------- Botões ---------- */

.actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  font-size: 1.075rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 0 var(--ink);
  transition: transform .12s, box-shadow .12s, background-color .15s, color .15s;
}
.btn svg { font-size: 1.4rem; }

/* WhatsApp em destaque, Telegram como alternativa (mesmo padrão do site principal) */
.btn--whatsapp { background: var(--ink); color: var(--paper); }
.btn--whatsapp svg { color: var(--whatsapp); }
.btn--whatsapp:hover { background: #3a3836; }

.btn--telegram { background: var(--paper); color: var(--ink); }
.btn--telegram svg { color: var(--telegram); }
.btn--telegram:hover { background: #fff; }

.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); }
.btn:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }

.fine {
  margin-top: 18px;
  font-size: .9rem;
  font-weight: 500;
}

/* ---------- Foto ---------- */

.portrait {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 340px;
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 16px;
  transform: rotate(2deg);
}

/* Etiqueta de preço */
.tag {
  position: absolute;
  left: -14px;
  bottom: 28px;
  display: grid;
  padding: 10px 16px 10px 28px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 6px 14px 14px 6px;
  transform: rotate(-6deg);
  line-height: 1.15;
  font-family: var(--mono);
}
.tag::before { /* furinho da etiqueta */
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
}
.tag s { font-size: .8rem; opacity: .6; }
.tag strong { font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; }
.tag span { font-size: .75rem; }

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

.footer {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 20px 28px;
  font-size: .85rem;
  font-weight: 500;
}
.footer > * { max-width: 60em; }
.footer::before {
  content: "";
  display: block;
  height: 2px;
  margin-bottom: 20px;
  background: var(--ink);
}

.footer nav {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.footer nav a { font-weight: 700; text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }

/* ---------- Telas maiores ---------- */

@media (min-width: 860px) {
  .wrap {
    grid-template-columns: 1.3fr 1fr;
    gap: 72px;
    padding-top: 88px;
    padding-bottom: 88px;
  }
  .portrait { max-width: 380px; margin-right: 12px; }
}

@media (max-width: 480px) {
  .btn { flex: 1 1 100%; }
  .portrait { max-width: 280px; }
}

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