/* ============================================================
   THE MINIMAL — funil · styles.css
   Paleta e tipografia: 04-identidade-visual.md
   Mobile-first (tráfego 99% mobile / Instagram)
   ============================================================ */

:root {
  --petroleo: #0E1A18;   /* fundo primário / cor de marca */
  --arquivo:  #1B332C;   /* superfície secundária (cards) */
  --papel:    #EDEEE7;   /* fundo claro / texto sobre escuro */
  --grafite:  #7C8A85;   /* texto secundário, hairlines */
  --marca:    #D6FF3F;   /* único acento — CTA e grifo, nunca texto corrido sobre claro */

  /* GT Sectra → fallback serifada de sistema */
  --serif: "GT Sectra", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  /* Archivo → fallback sans de sistema */
  --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* JetBrains Mono → fallback mono de sistema */
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--petroleo);
  color: var(--papel);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
}

/* Página clara (obrigado.html) — "papel de laboratório" */
body.light {
  background: var(--papel);
  color: var(--petroleo);
}

img, svg { max-width: 100%; display: block; }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: 42rem;          /* coluna única, muita área negativa */
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 2.5rem 0; }

/* ---------- header ---------- */

header.site {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(124, 138, 133, 0.25); /* hairline grafite */
}

body.light header.site { border-bottom-color: rgba(124, 138, 133, 0.45); }

/* Logo em vetor real (SVG transparente, miolos furados via evenodd) —
   creme no fundo escuro, verde nas páginas claras. */
.logo {
  display: block;
  width: 190px;              /* wordmark oficial (w4, ago/2026) */
  height: 52px;
  background: url("assets/the-minimal-vetor-creme.svg") center / contain no-repeat;
}

/* páginas de fundo claro (Papel) usam a versão verde */
body.light .logo {
  background-image: url("assets/the-minimal-vetor-verde.svg");
}

/* ---------- tipografia ---------- */

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grafite);
  margin-bottom: 1rem;
}

h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.85rem;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.sub {
  font-size: 1.05rem;
  color: var(--grafite);
  margin-bottom: 0.5rem;
}

body.light .sub { color: #1B332C; } /* Verde Arquivo: contraste AA sobre Papel */

p + p { margin-top: 0.85rem; }

/* Grifo marca-texto — o gesto de edição da marca. Escasso por definição. */
mark {
  background: var(--marca);
  color: var(--petroleo);
  padding: 0 0.2em;
}

/* ---------- player (placeholder VTurb) ---------- */

.player {
  aspect-ratio: 16 / 9;
  background: var(--arquivo);
  border: 1px solid rgba(124, 138, 133, 0.35);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0 0.75rem;
}

.player .play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--papel);
  display: flex;
  align-items: center;
  justify-content: center;
}

.player .play::after {
  content: "";
  display: block;
  margin-left: 5px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--petroleo);
}

.player .label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--grafite);
}

.player-note {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--grafite);
  text-align: center;
  margin-bottom: 1rem;
}

/* ---------- cards / listas de entrega ---------- */

.card {
  background: var(--arquivo);
  border: 1px solid rgba(124, 138, 133, 0.3);
  border-radius: 6px;
  padding: 1.5rem 1.25rem;
  margin: 1.25rem 0;
}

body.light .card {
  background: #fff;
  border-color: rgba(124, 138, 133, 0.5);
  color: var(--petroleo);
}

ol.entrega { list-style: none; counter-reset: item; }

ol.entrega li {
  counter-increment: item;
  padding: 1rem 0 1rem 2.6rem;
  position: relative;
  border-top: 1px solid rgba(124, 138, 133, 0.25);
}

ol.entrega li:first-child { border-top: 0; padding-top: 0.25rem; }

ol.entrega li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.05rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--marca);
}

ol.entrega li:first-child::before { top: 0.3rem; }

body.light ol.entrega li::before { color: var(--petroleo); }

ol.entrega strong { display: block; margin-bottom: 0.2rem; }

ol.entrega .det { font-size: 0.92rem; color: var(--grafite); }

body.light ol.entrega .det { color: #1B332C; }

/* passos numerados (obrigado.html) */
ol.passos { list-style: none; counter-reset: passo; }

ol.passos li {
  counter-increment: passo;
  padding: 1.25rem 0 1.25rem 3rem;
  position: relative;
  border-top: 1px solid rgba(124, 138, 133, 0.35);
}

ol.passos li:first-child { border-top: 0; }

ol.passos li::before {
  content: counter(passo);
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--petroleo);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.9rem;
}

/* ---------- preço ---------- */

.preco {
  text-align: center;
  padding: 1.25rem 0 0.5rem;
}

.preco .valor {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1.1;
}

.preco .parcelas {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--grafite);
  margin-top: 0.35rem;
}

.preco .riscado {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--grafite);
  text-decoration: line-through;
  text-decoration-color: var(--marca);
  text-decoration-thickness: 2px;
}

/* ---------- botões ---------- */

.btn {
  display: block;
  width: 100%;
  background: var(--marca);
  color: var(--petroleo);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  text-decoration: none;
  padding: 1.15rem 1.25rem;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  margin: 1.25rem 0 0.5rem;
}

.btn:active { transform: translateY(1px); }

.btn-sec {
  display: block;
  width: 100%;
  background: transparent;
  color: var(--papel);
  border: 1px solid var(--grafite);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin: 0.75rem 0;
}

body.light .btn-sec { color: var(--petroleo); }

.micro {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--grafite);
  text-align: center;
  margin-top: 0.5rem;
}

/* recusa (link "não, obrigada") */
.recusa {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: var(--grafite);
  text-decoration: underline;
  margin: 1.5rem 0 0.5rem;
}

/* ---------- formulário (diagnostico.html) ---------- */

form .campo { margin-bottom: 1.25rem; }

form label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grafite);
  margin-bottom: 0.4rem;
}

form input,
form select,
form textarea {
  width: 100%;
  background: var(--arquivo);
  border: 1px solid rgba(124, 138, 133, 0.45);
  border-radius: 6px;
  color: var(--papel);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.85rem 0.9rem;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: 2px solid var(--marca);
  outline-offset: 1px;
}

form textarea { min-height: 7rem; resize: vertical; }

/* ---------- divisor / footer ---------- */

hr.regua {
  border: 0;
  border-top: 1px solid rgba(124, 138, 133, 0.3);
  margin: 0;
}

footer.site {
  border-top: 1px solid rgba(124, 138, 133, 0.25);
  padding: 2rem 0 3rem;
  margin-top: 2.5rem;
}

footer.site p {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--grafite);
}

/* ---------- desktop (progressive enhancement) ---------- */

@media (min-width: 720px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.65rem; }
  section { padding: 3.5rem 0; }
  .btn { font-size: 1.15rem; }
}

.garantia-nota {
  font-size: 0.9rem;
  color: var(--grafite);
  border-left: 3px solid var(--marca);
  padding-left: 0.9rem;
  margin: 1.2rem 0;
}

/* ---------- área de membros (/membros/) ---------- */

nav.membros {
  border-bottom: 1px solid rgba(124, 138, 133, 0.35);
  background: var(--papel);
  position: sticky;
  top: 0;
  z-index: 10;
}

nav.membros .wrap {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  -webkit-overflow-scrolling: touch;
}

nav.membros a {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a5652;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.15rem 0;
  border-bottom: 2px solid transparent;
}

nav.membros a[aria-current="page"] {
  color: var(--petroleo);
  font-weight: 700;
  border-bottom-color: var(--marca);
}

/* cards-link da home da área */
a.bloco {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(124, 138, 133, 0.5);
  border-radius: 6px;
  padding: 1.25rem 1.15rem;
  margin: 0.85rem 0;
}

a.bloco strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.25rem;
}

a.bloco .det { font-size: 0.92rem; color: #4a5652; }

a.bloco .ir {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--petroleo);
  margin-top: 0.6rem;
}

/* bloco de texto copiável (skill) */
.pre-skill {
  background: #fff;
  border: 1px solid rgba(124, 138, 133, 0.55);
  border-radius: 6px;
  padding: 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--petroleo);
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-x: auto;
  max-height: 30rem;
  overflow-y: auto;
  margin: 1rem 0 0.5rem;
}

/* FAQ (details/summary) */
details.faq {
  border-top: 1px solid rgba(124, 138, 133, 0.35);
  padding: 0.9rem 0;
}

details.faq:last-of-type { border-bottom: 1px solid rgba(124, 138, 133, 0.35); }

details.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 1.6rem;
}

details.faq summary::-webkit-details-marker { display: none; }

details.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 0;
  font-family: var(--mono);
  color: #4a5652;
}

details.faq[open] summary::after { content: "–"; }

details.faq .resposta { margin-top: 0.6rem; font-size: 0.95rem; color: #33403c; }
