/* Tá Prontinho — manual de marca (paleta, Bree Serif 400, Source Sans 3).
   Sem movimento, sem degradê, sem vidro, sem emoji, sem urgência falsa. */

@font-face {
  font-family: "Bree Serif";
  src: url("/fonts/bree-serif-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-italic.woff") format("woff");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --papel: #F7F1E5;
  --kraft: #D6B98C;
  --tinta: #2F302B;
  --verde: #28564A;
  --azul: #315C78;
  --vermelho: #A23D32;
  --papel-fundo: #F3ECDE;
  --wrap: 68rem;
  --measure: 40rem;
  --font-serif: "Bree Serif", Georgia, "Palatino Linotype", Palatino, serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  /* Tabela de tipos do manual (desktop / celular / entrelinha) */
  --t-h1: 3.25rem;       /* 52px desktop */
  --t-h1-m: 2.25rem;     /* 36px celular */
  --t-h1-lh: 1.10;
  --t-h2: 2.25rem;       /* 36px desktop */
  --t-h2-m: 1.75rem;     /* 28px celular */
  --t-h2-lh: 1.20;
  --t-h3: 1.5rem;        /* 24px desktop */
  --t-h3-m: 1.375rem;    /* 22px celular */
  --t-h3-lh: 1.25;
  --t-lede: 1.25rem;     /* 20px desktop (apresentação) */
  --t-lede-m: 1.125rem;  /* 18px celular */
  --t-lede-lh: 1.50;
  --t-body: 1.125rem;    /* 18px desktop */
  --t-body-m: 1.0625rem; /* 17px celular */
  --t-body-lh: 1.55;
  --t-btn: 1.0625rem;    /* 17px botões e nav */
  --t-btn-lh: 1.20;
  --t-small: 0.875rem;   /* 14px auxiliar */
  --t-small-lh: 1.45;
  --btn-h: 3rem;         /* 48px */
  --t-price: 1.5rem;
  --border: 1.75px solid var(--tinta);
  --radius: 3px 5px 4px 3px;
  --page-pad: 1.25rem;   /* 20px mínimo */
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background-color: var(--papel);
  background-image: url("/assets/papel-grain.webp");
  background-size: 256px 256px;
  background-repeat: repeat;
  color: var(--tinta);
  font-family: var(--font-sans);
  font-size: var(--t-body-m);
  font-weight: 400;
  line-height: var(--t-body-lh);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
@media (min-width: 48rem) {
  body { font-size: var(--t-body); }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); text-decoration: underline; text-underline-offset: 0.18em; }
a:hover { color: var(--tinta); }
:focus-visible {
  outline: 2px solid var(--verde);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - (2 * var(--page-pad)), var(--wrap));
  margin-inline: auto;
}
.measure { width: min(100%, var(--measure)); }

/* Header */
.site-header {
  background: var(--papel);
  border-bottom: 1.5px solid var(--kraft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding: 0.65rem 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex: 0 1 auto;
}
.logo img {
  width: 160px;
  height: auto;
}
@media (min-width: 48rem) {
  .logo img { width: 200px; }
}
.nav-check { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--papel);
  color: var(--tinta);
  min-height: 2.5rem;
  padding: 0 0.85rem;
  font: inherit;
  font-size: var(--t-small);
  cursor: pointer;
}
.nav {
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 4.35rem;
  left: 0;
  right: 0;
  background: var(--papel);
  border-bottom: 1.5px solid var(--kraft);
  padding: 0.5rem 1rem 1rem;
}
.nav a {
  color: var(--tinta);
  text-decoration: none;
  padding: 0.7rem 0.4rem;
  font-size: var(--t-btn);
  line-height: var(--t-btn-lh);
  font-weight: 600;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--verde); }
.nav-check:focus-visible + .nav-toggle { outline: 2px solid var(--verde); outline-offset: 3px; }
.nav-check:checked ~ .nav { display: flex; }

@media (min-width: 48rem) {
  .nav-toggle { display: none; }
  .nav {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    border: 0;
    padding: 0;
    gap: 1.75rem;
  }
  .nav a { padding: 0.25rem 0; }
}

/* Type — escala exata do manual. Títulos só em Bree Serif 400 (sem negrito artificial). */
h1, h2, h3, .logo-word {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--tinta);
}
h1 {
  font-size: var(--t-h1-m);
  line-height: var(--t-h1-lh);
  margin: 0 0 1rem;
}
h2 {
  font-size: var(--t-h2-m);
  line-height: var(--t-h2-lh);
  margin: 0 0 1.15rem;
  color: var(--verde);
  font-weight: 400;
}
h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--t-h3-m);
  line-height: var(--t-h3-lh);
  margin: 0 0 0.45rem;
  color: var(--verde);
}
@media (min-width: 48rem) {
  h1 { font-size: var(--t-h1); }
  h2 { font-size: var(--t-h2); }
  h3 { font-size: var(--t-h3); }
}

.lede {
  font-size: var(--t-lede-m);
  line-height: var(--t-lede-lh);
  max-width: 36rem; /* cerca de 45–70 caracteres */
  margin: 0 0 1.5rem;
}
@media (min-width: 48rem) {
  .lede, .apresentacao .lede { font-size: var(--t-lede); }
}

/* Buttons — 48px, verde, cantos irregulares */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-h);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: var(--t-btn);
  font-weight: 600;
  line-height: var(--t-btn-lh);
  border: 1.75px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}
.btn-primary {
  background: var(--verde);
  color: var(--papel);
  border-color: var(--verde);
}
.btn-primary:hover { color: var(--papel); background: #1f433a; border-color: #1f433a; }
.btn-secondary {
  background: transparent;
  color: var(--tinta);
  border: var(--border);
}
.btn-secondary:hover { color: var(--tinta); background: var(--papel-fundo); }

/* Hero / apresentação */
.apresentacao {
  padding: 3rem 0 2.75rem;
}
.apresentacao h1 {
  color: var(--verde);
  max-width: 16ch;
}
@media (min-width: 64rem) {
  .apresentacao .wrap {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 3rem;
    align-items: center;
  }
}
.apresentacao-visual {
  margin-top: 2rem;
}
@media (min-width: 64rem) {
  .apresentacao-visual { margin-top: 0; }
}
.apresentacao-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sections */
.section { padding: 2.5rem 0 2.75rem; }
.section + .section { border-top: 1.5px solid var(--kraft); }

.grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 64rem) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--papel);
  border: var(--border);
  border-radius: var(--radius);
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.card a.card-cover { text-decoration: none; color: inherit; }
.card img.cover,
.card img.cover.preview {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: var(--papel);
  border-bottom: none;
  display: block;
}
.card-body {
  padding: 1.15rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card p { margin: 0 0 0.75rem; }
.card .meta {
  color: var(--tinta);
  font-size: var(--t-small);
  line-height: var(--t-small-lh);
  margin-bottom: 1rem;
}
.card .btn { margin-top: auto; align-self: flex-start; }

.price {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--t-price);
  color: var(--vermelho);
  margin: 0 0 0.35rem;
  letter-spacing: 0;
}
.price span {
  display: block;
  font-size: var(--t-small);
  font-weight: 400;
  color: var(--tinta);
  margin-top: 0.1rem;
}

.steps { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  border: var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.3rem;
  background: var(--papel);
}
.step-num {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--verde);
  margin-bottom: 0.4rem;
}
.step h3 { margin: 0 0 0.35rem; }
.step p { margin: 0; }

.demo-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 48rem) {
  .demo-grid { grid-template-columns: repeat(3, 1fr); }
}
.demo-item figcaption {
  font-size: var(--t-small);
  line-height: var(--t-small-lh);
  margin-top: 0.6rem;
}
.demo-item img {
  width: 100%;
  height: auto;
  display: block;
}

.note, .aviso {
  background: var(--papel-fundo);
  border: 1.5px solid var(--kraft);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}
.aviso { margin-top: 1.5rem; }

/* Product */
.product-hero { padding: 2.2rem 0 0.5rem; }
.product-hero .kicker {
  font-size: var(--t-small);
  margin: 0 0 0.7rem;
}
.product-layout {
  display: grid;
  gap: 1.75rem;
  padding-bottom: 3rem;
}
@media (min-width: 64rem) {
  .product-layout { grid-template-columns: 1.45fr 0.8fr; align-items: start; }
}
.product-visual {
  margin: 0 0 1.75rem;
}
.product-visual img,
.gallery-main img {
  width: 100%;
  height: auto;
  display: block;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.gallery-thumbs button {
  appearance: none;
  background: var(--papel);
  border: 1.5px solid transparent;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius);
}
.gallery-thumbs button[aria-current="true"],
.gallery-thumbs button:focus-visible {
  border-color: var(--verde);
}
.gallery-thumbs img {
  width: 100%;
  height: auto;
  display: block;
}
.panel {
  background: var(--papel);
  border: var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.4rem;
}
.buy-box { position: sticky; top: 1rem; }
.buy-box .price { margin-bottom: 0.15rem; }
.buy-box .btn { width: 100%; margin-top: 0.7rem; }
.buy-box .hint { font-size: var(--t-small); line-height: var(--t-small-lh); margin: 0.4rem 0 0; }
.split { height: 0; border: 0; border-top: 1.5px solid var(--kraft); margin: 1.15rem 0; }

ul.check, .legal ul, .pain-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
ul.check li, .pain-list li {
  position: relative;
  padding-left: 1.35rem;
  margin: 0 0 0.5rem;
}
ul.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.28rem;
  border-left: 1.75px solid var(--verde);
  border-bottom: 1.75px solid var(--verde);
  transform: rotate(-45deg);
}
.pain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.45rem;
  height: 1.5px;
  background: var(--vermelho);
}

.faq details {
  border: var(--border);
  border-radius: var(--radius);
  padding: 0 1rem;
  background: var(--papel);
}
.faq details + details { margin-top: 0.55rem; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.85rem 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0 0 0.95rem; }

.draft-banner {
  display: none;
  background: var(--kraft);
  color: var(--tinta);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: var(--t-small);
  line-height: var(--t-small-lh);
  border-bottom: 1.5px solid var(--tinta);
}
body.is-draft .draft-banner { display: block; }

.page-hero { padding: 2.2rem 0 0.5rem; }
.legal { padding-bottom: 3rem; }
.legal h1 { color: var(--verde); }
.legal h2 { margin-top: 2rem; }
.legal ul li { position: relative; padding-left: 1.2rem; margin-bottom: 0.45rem; }
.legal ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--verde);
}

.contact-card {
  background: var(--papel);
  border: var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  max-width: 36rem;
}
.contact-card a { font-weight: 600; }

.site-footer {
  margin-top: auto;
  border-top: 1.5px solid var(--kraft);
  background: var(--papel-fundo);
  padding: 2.2rem 0 1.5rem;
  font-size: var(--t-small);
  line-height: var(--t-small-lh);
  font-weight: 400;
}
.footer-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 48rem) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
.site-footer h2 {
  font-family: var(--font-sans);
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--tinta);
  margin: 0 0 0.55rem;
}
.site-footer a { color: var(--tinta); text-decoration: none; }
.site-footer a:hover { color: var(--azul); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.3rem; }
.tagline {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--verde);
  margin: 0.45rem 0 0.6rem;
}
.legal-line {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1.5px solid var(--kraft);
  color: var(--tinta);
}

.thanks { padding: 3rem 0 4rem; max-width: 36rem; }
.thanks h1 { color: var(--verde); }

.logo, .logo:hover, .nav a, .nav a:hover, .btn, .btn:hover, .card-cover, .card-cover:hover, .demo-item a, .demo-item a:hover {
  text-decoration: none;
}
/* tp-headers */
