/* ============================================================
   ClaudinhoCode — Design System (estilo editorial "paper/swiss")
   Sistema visual compartilhado por todas as páginas.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,400;1,500;1,600&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --paper:      #efe7d2;
  --paper-warm: #ece4cf;
  --paper-dark: #ddd2b6;
  --ink:        #15140f;
  --ink-soft:   #2a2620;
  --ink-mute:   #5a5448;
  --ink-faint:  #8b8676;
  --coral:      #ed6f5c;
  --coral-soft: #f08e7c;
  --mustard:    #e9b94a;
  --olive:      #6e7448;
  --bone:       #f7f1de;
  --line:       rgba(21, 20, 15, .16);
  --line-soft:  rgba(21, 20, 15, .08);
  --line-faint: rgba(21, 20, 15, .05);
  --shadow:     0 30px 60px -30px rgba(21, 20, 15, .18);

  --serif: "Playfair Display", "Times New Roman", serif;
  --sans:  "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --body:  "Inter", -apple-system, system-ui, sans-serif;
  --mono:  "JetBrains Mono", "SF Mono", Menlo, monospace;
}

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

html, body {
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
  max-width: 100%;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-wrap: break-word;
}
img, video, canvas { max-width: 100%; height: auto; }
a { color: inherit; }

/* textura de ruído sobre toda a página */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 3;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(106,92,56,.07) 0, transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(106,92,56,.06) 0, transparent 32%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.18  0 0 0 0 0.16  0 0 0 0 0.12  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: auto, auto, 240px 240px;
  mix-blend-mode: multiply;
  opacity: .9;
}

.shell { position: relative; z-index: 2; }
.container { max-width: 1360px; padding: 0 64px; margin: 0 auto; position: relative; }

/* trilhos verticais nas bordas */
.side-rail {
  position: fixed; top: 0; bottom: 0; width: 36px; z-index: 3;
  pointer-events: none; display: flex; align-items: center; justify-content: center;
}
.side-rail.right { right: 0; border-left: 1px solid var(--line-faint); }
.side-rail.left  { left: 0;  border-right: 1px solid var(--line-faint); }
.side-rail .rail-text {
  font-family: var(--sans); font-size: 10px; font-weight: 600;
  letter-spacing: .42em; text-transform: uppercase; color: var(--ink-faint);
  writing-mode: vertical-rl; white-space: nowrap;
}
.side-rail.right .rail-text { transform: rotate(180deg); }

/* ── TOPBAR ─────────────────────────────────────────────── */
.topbar {
  border-bottom: 1px solid var(--line);
  padding: 10px 0; background: var(--paper);
  position: relative; z-index: 4;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-faint);
}
.topbar-inner b { color: var(--ink); font-weight: 600; }
.topbar-inner .coral { color: var(--coral); }
.topbar-inner > span { white-space: nowrap; }
.topbar-inner .mid { display: inline-flex; gap: 26px; }
.topbar-inner .right { display: inline-flex; gap: 18px; align-items: center; }
.pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--coral);
  display: inline-block; margin-right: 6px; animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  padding: 22px 0; position: sticky; top: 0; z-index: 50;
  background: var(--paper); transform: translateY(0);
  transition: transform .36s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease;
  border-bottom: 1px solid transparent; will-change: transform;
}
.nav.is-hidden { transform: translateY(-100%); pointer-events: none; }
.nav.is-stuck { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-weight: 700; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none; font-size: 18px;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-size: 19px;
}
.brand em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--coral); }
.brand-meta {
  font-family: var(--sans); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-faint); line-height: 1.3;
  margin-left: 4px; border-left: 1px solid var(--line); padding-left: 14px;
}
.brand-meta b { display: block; color: var(--ink); font-weight: 600; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
  color: var(--ink); text-decoration: none; font-family: var(--sans);
  font-size: 14px; font-weight: 500; transition: color .18s ease; position: relative;
}
.nav-links a:hover, .nav-links a.current { color: var(--coral); }
.nav-side { display: inline-flex; align-items: center; gap: 14px; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px; background: var(--ink);
  color: var(--paper); font-family: var(--sans); font-size: 13px; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  transition: transform .16s ease, background .16s ease;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--ink-soft); }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 50%; background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { width: 16px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* ── TIPOGRAFIA / ELEMENTOS BASE ────────────────────────── */
.label {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--coral);
  display: inline-flex; align-items: center; gap: 12px;
}
.label::before { content: ""; width: 18px; height: 1px; background: var(--coral); display: inline-block; }
.label .ix { color: var(--ink-faint); font-weight: 500; margin-left: 4px; }

.display {
  font-family: var(--sans); font-weight: 800; letter-spacing: -.028em;
  color: var(--ink); line-height: 1;
  font-size: clamp(40px, 4.8vw, 66px);
}
.display em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.018em; }
.display .dot { color: var(--coral); }

.lead { font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 42ch; text-wrap: pretty; }
.meta { font-family: var(--sans); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }
.coord { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; color: var(--ink-faint); }
.roman { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--coral); }
.code-inline { font-family: var(--mono); font-size: 14px; background: var(--bone); padding: 1px 6px; border-radius: 4px; }

/* ── BOTÕES ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  text-decoration: none; border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 14px 26px -16px #ed6f5c; }
.btn-primary:hover { transform: translateY(-1px); background: #e25e4a; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(21,20,15,.2); }
.btn-ghost:hover { background: rgba(21,20,15,.05); }
.btn .arrow {
  width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center;
}
.btn .arrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* ── SEÇÕES ─────────────────────────────────────────────── */
section { position: relative; padding: 120px 0; }
section.tight { padding: 84px 0; }

.sec-rule {
  border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 56px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-faint); gap: 20px;
}
.sec-rule .roman { font-size: 14px; letter-spacing: .05em; text-transform: none; }
.sec-rule .meta-grp { display: inline-flex; gap: 26px; }
.sec-rule .dot-mark { color: var(--coral); }

.section-head { margin-bottom: 56px; }
.section-head .label { margin-bottom: 26px; }
.section-head h2 { font-size: clamp(36px, 4.4vw, 62px); max-width: 20ch; }
.section-head .lead { margin-top: 24px; max-width: 50ch; }

/* ── HERO ───────────────────────────────────────────────── */
.hero { padding: 90px 0 110px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 56px; align-items: center; }
.hero .label { margin-bottom: 28px; }
.hero h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: 1; margin-bottom: 28px; }
.hero .lead { margin-bottom: 32px; max-width: 40ch; }
.hero-actions { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.hero-stats { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-stats .stat { display: inline-flex; align-items: center; gap: 10px; }
.hero-stats .ring {
  width: 38px; height: 38px; border-radius: 50%; border: 1px dashed var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.hero-stats .ring.solid { border-style: solid; }
.hero-stats .ring.coral { border-color: var(--coral); color: var(--coral); }
.hero-stats .stat-label {
  font-family: var(--sans); font-size: 11px; line-height: 1.25; color: var(--ink-soft);
  letter-spacing: .04em; text-transform: uppercase;
}
.hero-stats .stat-label b { display: block; font-weight: 700; color: var(--ink); font-size: 12px; }

/* moldura editorial usada no lugar de imagem */
.plate {
  position: relative; aspect-ratio: 4 / 5; background: var(--bone);
  border-radius: 16px; box-shadow: var(--shadow), inset 0 0 0 1px rgba(21,20,15,.06);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.plate-mark { font-family: var(--serif); font-style: italic; font-size: clamp(60px,9vw,140px); color: var(--coral); line-height: 1; }
.plate img { width: 100%; height: 100%; object-fit: cover; display: block; }
.plate.ratio-1 { aspect-ratio: 1 / 1; }
.plate .corner { position: absolute; width: 22px; height: 22px; border-color: var(--ink-faint); border-style: solid; border-width: 0; z-index: 2; }
.plate .corner.tl { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.plate .corner.tr { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.plate .corner.bl { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.plate .corner.br { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.plate .annot {
  position: absolute; font-family: var(--mono); font-size: 10px;
  letter-spacing: .04em; color: var(--ink-faint);
}
.plate .annot.tl { top: 18px; left: 42px; }
.plate .annot.br { bottom: 18px; right: 42px; }
.plate .annot { z-index: 2; background: rgba(239,231,210,.72); padding: 3px 7px; border-radius: 4px; }

/* figura editorial solta (sem moldura) com nota e legenda */
.fig { position: relative; aspect-ratio: 1 / 1; max-width: 620px; margin-left: auto; }
.fig img { width: 100%; height: 100%; object-fit: contain; display: block; }
.fig-note {
  position: absolute; right: -8px; top: 26px; text-align: right;
  font-family: var(--sans); font-size: 10.5px; line-height: 1.55;
  color: var(--ink-faint); letter-spacing: .04em; max-width: 17ch;
  background: rgba(239,231,210,.86); padding: 10px 12px; border-radius: 6px;
  backdrop-filter: blur(2px);
}
.fig-note b { display: block; width: 36px; height: 1px; background: var(--coral); margin: 0 0 10px auto; }
.fig-caption {
  position: absolute; right: 6px; bottom: 6px; text-align: right;
  font-family: var(--sans); font-size: 9.5px; color: var(--ink-faint);
  letter-spacing: .06em; line-height: 1.45;
  background: rgba(239,231,210,.86); padding: 8px 10px; border-radius: 6px;
  backdrop-filter: blur(2px);
}
.fig-caption b { color: var(--ink); display: block; }
.fig--left { margin-left: 0; margin-right: auto; }
.fig .corner {
  position: absolute; width: 24px; height: 24px;
  border-color: var(--ink-faint); border-style: solid; border-width: 0;
}
.fig .corner.tl { top: -10px; left: -10px; border-top-width: 1px; border-left-width: 1px; }
.fig .corner.br { bottom: -10px; right: -10px; border-bottom-width: 1px; border-right-width: 1px; }
.fig-ribbon {
  position: absolute; right: -34px; top: 50%; transform: translateY(-50%) rotate(180deg);
  font-family: var(--sans); font-size: 10px; letter-spacing: .38em;
  text-transform: uppercase; color: var(--ink-faint); writing-mode: vertical-rl;
}
.fig-ribbon b { color: var(--coral); }

/* foto emoldurada em box escuro */
.photo-box {
  background: #15140f; border-radius: 18px; padding: 24px;
  box-shadow: var(--shadow); color: var(--paper);
}
.photo-box img { width: 100%; display: block; border-radius: 10px; }
.photo-box .pb-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-family: var(--sans); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(247,241,222,.5); margin-bottom: 16px;
}
.photo-box .pb-head .coral { color: var(--coral); font-weight: 600; }
.photo-box .pb-cap {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  margin-top: 16px; font-family: var(--sans); font-size: 11px;
  letter-spacing: .04em; color: rgba(247,241,222,.55);
}
.photo-box .pb-cap .mono { font-family: var(--mono); font-size: 10px; }

/* imagem no topo de um card */
.card-img {
  margin: -30px -28px 20px; aspect-ratio: 16 / 11; overflow: hidden;
  background: var(--paper-dark); border-bottom: 1px solid rgba(21,20,15,.06);
}
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── HERO DE PÁGINAS INTERNAS ────────────────────────────── */
.page-hero { padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero .label { margin-bottom: 24px; }
.page-hero h1.display { margin-bottom: 24px; max-width: 18ch; }
.page-hero .lead { max-width: 56ch; font-size: 17px; }
.page-hero .crumb {
  font-family: var(--mono); font-size: 11px; color: var(--ink-faint);
  letter-spacing: .04em; margin-bottom: 26px;
}
.page-hero .crumb a { color: var(--ink-faint); text-decoration: none; }
.page-hero .crumb a:hover { color: var(--coral); }
.page-hero--center { text-align: center; }
.page-hero--center .label { justify-content: center; }
.page-hero--center h1.display, .page-hero--center .lead { margin-left: auto; margin-right: auto; }
.page-hero-meta {
  display: flex; gap: 36px; flex-wrap: wrap; margin-top: 34px;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.page-hero--center .page-hero-meta { justify-content: center; }
.page-hero-meta .pm { font-family: var(--sans); }
.page-hero-meta .pm b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.page-hero-meta .pm span { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }

/* destaque / quote editorial */
.pull {
  font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3vw, 38px);
  line-height: 1.3; color: var(--ink); max-width: 24ch;
}
.pull .coral { color: var(--coral); }

/* lista simples com bolinha coral */
.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li {
  font-family: var(--body); font-size: 15px; color: var(--ink-soft);
  padding-left: 26px; position: relative; line-height: 1.55;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--coral);
}

/* ── GRID DE CARDS ──────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  padding: 30px 28px 34px; background: var(--bone); border-radius: 18px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(21,20,15,.06);
  position: relative; overflow: hidden; transition: transform .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); }
.card .num {
  font-family: var(--serif); font-style: italic; font-size: 22px; font-weight: 500;
  color: var(--coral); margin-bottom: 16px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.card .num .tag {
  font-family: var(--sans); font-size: 9.5px; color: var(--ink-faint);
  letter-spacing: .18em; text-transform: uppercase; font-style: normal; font-weight: 500;
}
.card h3 {
  font-family: var(--sans); font-size: 21px; font-weight: 700;
  line-height: 1.1; letter-spacing: -.014em; margin-bottom: 12px;
}
.card p { font-family: var(--body); font-size: 14px; color: var(--ink-mute); line-height: 1.6; }
.card .card-link {
  margin-top: 18px; font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .04em; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--coral); padding-bottom: 3px; width: fit-content;
}
.card .card-link::after { content: " →"; color: var(--coral); }

/* card sobre fundo escuro */
.panel-dark { background: #15140f; color: var(--paper); border-radius: 28px; padding: 96px 64px; }
.panel-dark .sec-rule { border-color: rgba(247,241,222,.16); color: rgba(247,241,222,.55); }
.panel-dark .display { color: var(--paper); }
.panel-dark .lead { color: rgba(247,241,222,.7); }
.panel-dark .card { background: rgba(247,241,222,.05); box-shadow: inset 0 0 0 1px rgba(247,241,222,.1); }
.panel-dark .card h3 { color: var(--paper); }
.panel-dark .card p { color: rgba(247,241,222,.62); }
.panel-dark .card .card-link { color: var(--paper); }

/* ── LISTA NUMERADA / ETAPAS ────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.step .step-n {
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 68px;
  color: var(--coral); line-height: .85; margin-bottom: 20px;
}
.step h4 { font-family: var(--sans); font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.step p { font-family: var(--body); font-size: 14px; color: var(--ink-mute); line-height: 1.6; }

/* passos numerados com imagem (estilo "From signals to systems") */
.method-head {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px;
  align-items: start; margin-bottom: 72px;
}
.method-head .display { margin-top: 26px; }
.method-head .note { display: flex; gap: 14px; padding-top: 14px; }
.method-head .note .plus { color: var(--coral); font-size: 24px; line-height: 1; }
.method-head .note p {
  font-family: var(--sans); font-size: 13px; color: var(--ink-soft);
  line-height: 1.55; max-width: 26ch;
}
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; position: relative; }
.method-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.method-grid::before {
  content: ""; position: absolute; top: 34px; left: 40px; right: 40px;
  height: 1px; background: var(--line-soft);
}
.method-step { position: relative; }
.method-step .m-num {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 72px; color: var(--coral); line-height: .85; margin-bottom: 22px;
  background: var(--paper); display: inline-block; padding-right: 14px;
  position: relative; z-index: 1;
}
.method-step h4 {
  font-family: var(--sans); font-size: 26px; font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 14px;
  display: flex; justify-content: space-between; align-items: center; padding-right: 12px;
}
.method-step h4 .arrow-r { color: var(--ink-faint); font-size: 20px; line-height: 1; }
.method-step:last-child h4 .arrow-r { display: none; }
.method-step p {
  font-family: var(--body); font-size: 13.5px; color: var(--ink-mute);
  line-height: 1.6; margin-bottom: 22px; max-width: 28ch;
}
.method-step .m-img {
  aspect-ratio: 1 / 1; background: var(--bone); border-radius: 12px;
  overflow: hidden; box-shadow: var(--shadow);
}
.method-step .m-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.method-foot {
  margin-top: 72px; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; border-top: 1px dashed var(--line); padding-top: 24px;
  font-family: var(--sans); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-faint);
}
.method-foot .left { display: inline-flex; align-items: center; gap: 12px; }
.method-foot .left .ring { width: 20px; height: 20px; border: 1px dashed var(--ink-faint); border-radius: 50%; flex-shrink: 0; }
.method-foot b { color: var(--ink); }
.method-foot a { color: var(--ink); text-decoration: none; }
.method-foot a:hover { color: var(--coral); }

/* lista de linhas (hierarquia / tabela editorial) */
.rows { display: flex; flex-direction: column; }
.row {
  display: grid; grid-template-columns: 70px 1fr; gap: 28px;
  padding: 28px 0; border-top: 1px solid var(--line); align-items: start;
}
.row:last-child { border-bottom: 1px solid var(--line); }
.row .row-n { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--coral); line-height: 1; }
.row .row-tag { font-family: var(--sans); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.row h4 { font-family: var(--sans); font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.row p { font-family: var(--body); font-size: 14px; color: var(--ink-mute); line-height: 1.6; max-width: 70ch; }

/* ── BLOCO DE NEWSLETTER / CTA ──────────────────────────── */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(40px, 5.4vw, 84px); margin-bottom: 22px; }
.cta-band .lead { margin: 0 auto 32px; text-align: center; }
.signup { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.signup input {
  font-family: var(--body); font-size: 14px; padding: 14px 20px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--bone);
  color: var(--ink); min-width: 280px;
}
.signup input:focus { outline: none; border-color: var(--coral); }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  font-family: var(--sans); font-size: 18px; font-weight: 700; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { font-family: var(--body); font-size: 14px; color: var(--ink-mute); line-height: 1.65; margin-top: 14px; max-width: 70ch; }

/* ── TABELA EDITORIAL ───────────────────────────────────── */
.dtable-wrap { overflow-x: auto; }
.dtable { width: 100%; border-collapse: collapse; font-family: var(--body); font-size: 14px; min-width: 460px; }
.dtable thead th {
  text-align: left; font-family: var(--sans); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-faint); font-weight: 600;
  padding: 0 18px 13px 0; border-bottom: 1px solid var(--line);
}
.dtable td {
  padding: 15px 18px 15px 0; border-bottom: 1px solid var(--line-soft);
  color: var(--ink-mute); vertical-align: top; line-height: 1.5;
}
.dtable tr:last-child td { border-bottom: none; }
.dtable td:first-child { color: var(--ink); font-weight: 700; font-family: var(--sans); white-space: nowrap; }
.dtable .price { font-family: var(--mono); color: var(--coral); white-space: nowrap; }
.panel-dark .dtable thead th { color: rgba(247,241,222,.5); border-color: rgba(247,241,222,.18); }
.panel-dark .dtable td { color: rgba(247,241,222,.62); border-color: rgba(247,241,222,.1); }
.panel-dark .dtable td:first-child { color: var(--paper); }

/* ── CALLOUT / DICA ─────────────────────────────────────── */
.callout {
  border-left: 2px solid var(--coral); background: var(--bone);
  padding: 18px 22px; border-radius: 0 10px 10px 0;
  font-family: var(--body); font-size: 14px; color: var(--ink-mute); line-height: 1.6;
}
.callout b { color: var(--ink); }
.callout .c-label {
  display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--coral); font-weight: 600; margin-bottom: 6px;
}
.panel-dark .callout { background: rgba(247,241,222,.05); color: rgba(247,241,222,.7); }
.panel-dark .callout b { color: var(--paper); }

/* ── BLOCO DE CÓDIGO ────────────────────────────────────── */
.codeblock {
  font-family: var(--mono); font-size: 13px; line-height: 1.8;
  background: #15140f; color: #f7f1de; border-radius: 12px;
  padding: 22px 24px; overflow-x: auto; white-space: pre;
}
.codeblock .c { color: #8b8676; }
.codeblock .k { color: var(--coral-soft); }
.codeblock.flow { white-space: pre-wrap; word-break: normal; }

/* ── LABORATÓRIO DE PROMPT ──────────────────────────────── */
.lab {
  background: var(--bone); border-radius: 18px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(21,20,15,.06);
  padding: 38px;
}
.lab-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; }
.lab-h {
  font-family: var(--sans); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-faint); font-weight: 600;
  display: block; margin-bottom: 18px;
}
.lab-field { display: block; margin-bottom: 16px; }
.lab-field span {
  font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--ink-soft);
}
.lab input, .lab textarea {
  width: 100%; margin-top: 7px; font-family: var(--body); font-size: 14px;
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper); color: var(--ink);
}
.lab input:focus, .lab textarea:focus { outline: none; border-color: var(--coral); }
.lab textarea { min-height: 156px; resize: vertical; line-height: 1.6; }
.lab-actions { display: flex; align-items: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.lab-meta { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }
.lab-coach { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.lab-score { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.lab-score b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 52px; line-height: 1; color: var(--coral); }
.lab-score span { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.lab-checks { list-style: none; display: grid; gap: 11px; }
.lab-checks li {
  font-family: var(--sans); font-size: 13px; color: var(--ink-faint);
  display: flex; gap: 11px; align-items: flex-start; transition: color .2s;
}
.lab-checks li .mark {
  width: 19px; height: 19px; border-radius: 50%; border: 1px solid var(--line);
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; color: transparent; transition: all .2s;
}
.lab-checks li.ok { color: var(--ink); }
.lab-checks li.ok .mark { background: var(--coral); border-color: var(--coral); color: #fff; }
.lab-tip {
  margin-top: 18px; font-family: var(--body); font-size: 13px; color: var(--ink-mute);
  line-height: 1.6; border-left: 2px solid var(--coral); padding-left: 14px;
}

/* ── FÓRMULA DE PROMPT ──────────────────────────────────── */
.formula { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.formula .ftok {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  background: var(--bone); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px; color: var(--ink); white-space: nowrap;
}
.formula .fplus { color: var(--coral); font-family: var(--serif); font-style: italic; font-size: 16px; }

/* ── ARTIGO / LEITURA ───────────────────────────────────── */
.article-head { max-width: 860px; margin: 0 auto; text-align: center; }
.article-head .label { justify-content: center; margin-bottom: 22px; }
.article-head h1 {
  font-family: var(--sans); font-weight: 800; letter-spacing: -.028em;
  font-size: clamp(32px, 4.4vw, 58px); line-height: 1.05; color: var(--ink);
}
.article-head h1 em { font-family: var(--serif); font-style: italic; font-weight: 500; }
.article-head h1 .dot { color: var(--coral); }
.article-head .sub {
  font-family: var(--serif); font-style: italic; font-size: clamp(17px, 2vw, 22px);
  color: var(--ink-mute); margin: 20px auto 0; max-width: 48ch; line-height: 1.5;
}
.article-byline {
  display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line);
}
.article-byline .ab b { display: block; font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--ink); }
.article-byline .ab span { font-family: var(--sans); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }
.article-figure {
  margin: 52px 0; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 16 / 8; background: var(--bone);
}
.article-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

.prose { max-width: 720px; margin: 0 auto; }
.prose p { font-family: var(--body); font-size: 17px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 24px; }
.prose p strong { color: var(--ink); font-weight: 700; }
.prose .lead-in { font-size: 19px; color: var(--ink); }
.prose h2 {
  font-family: var(--sans); font-size: clamp(24px, 2.6vw, 32px); font-weight: 800;
  letter-spacing: -.022em; color: var(--ink); margin: 54px 0 16px;
}
.prose h2 .n { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--coral); margin-right: 12px; }
.prose h3 { font-family: var(--sans); font-size: 19px; font-weight: 700; color: var(--ink); margin: 34px 0 10px; }
.prose ul { list-style: none; margin: 0 0 24px; display: grid; gap: 12px; }
.prose ul li { font-family: var(--body); font-size: 16px; color: var(--ink-soft); line-height: 1.6; padding-left: 24px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.prose blockquote {
  margin: 34px 0; font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 2.4vw, 27px); line-height: 1.4; color: var(--ink);
  border-left: 2px solid var(--coral); padding-left: 24px;
}
.prose .codeblock { margin: 8px 0 28px; }

/* ── FOOTER ─────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 60px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.foot-brand p { font-family: var(--body); font-size: 13.5px; color: var(--ink-mute); line-height: 1.6; max-width: 40ch; margin-top: 16px; }
.foot-col h5 { font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { font-family: var(--body); font-size: 13.5px; color: var(--ink-soft); text-decoration: none; }
.foot-col a:hover { color: var(--coral); }
.foot-bottom {
  border-top: 1px solid var(--line); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--sans); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-faint); flex-wrap: wrap;
}
.foot-bottom a { color: var(--ink-faint); text-decoration: none; transition: color .16s ease; }
.foot-bottom a:hover { color: var(--coral); }
.foot-legal { display: inline-flex; gap: 12px; }
.foot-mega { margin-top: 50px; border-top: 1px solid var(--line); overflow: hidden; }
.foot-mega .word {
  font-family: var(--sans); font-weight: 900; font-size: clamp(40px, 10vw, 140px);
  letter-spacing: -.04em; line-height: 1.1; color: var(--ink); white-space: nowrap;
  margin-top: 24px; padding-bottom: .14em;
}
.foot-mega .word em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--coral); }

/* ── REVEAL NO SCROLL ───────────────────────────────────── */
[data-reveal] {
  opacity: 0; translate: 0 28px;
  transition: opacity .9s cubic-bezier(.22,1,.36,1) var(--reveal-delay,0ms),
              translate .9s cubic-bezier(.22,1,.36,1) var(--reveal-delay,0ms);
}
[data-reveal="left"]  { translate: -36px 0; }
[data-reveal="right"] { translate: 36px 0; }
[data-reveal][data-revealed="true"] { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; translate: 0 0; transition: none; }
}

/* ── UTILITÁRIOS ────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; margin-bottom: 48px; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }

/* ── RESPONSIVO ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .container { padding: 0 40px; }
  .cards, .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .method-grid, .method-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .method-grid::before { display: none; }
}
@media (max-width: 860px) {
  .container { padding: 0 22px; }
  .side-rail { display: none; }
  .topbar-inner .mid { display: none; }
  .nav-links, .nav-side .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.menu-open .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 8px 22px 20px;
  }
  .nav.menu-open .nav-links li { border-top: 1px solid var(--line-soft); }
  .nav.menu-open .nav-links a { display: block; padding: 14px 0; font-size: 16px; }
  section { padding: 80px 0; }
  .hero { padding: 56px 0 72px; }
  .hero-grid, .grid-2, .split-head { grid-template-columns: 1fr; gap: 40px; }
  .cards, .cards.cols-2, .cards.cols-4, .steps { grid-template-columns: 1fr; }
  .method-grid, .method-grid.cols-3 { grid-template-columns: 1fr; }
  .method-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .method-foot { flex-wrap: wrap; }
  .panel-dark { padding: 64px 28px; border-radius: 20px; }
  .sec-rule { flex-wrap: wrap; gap: 10px; }
  .sec-rule .meta-grp { gap: 14px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .row { grid-template-columns: 48px 1fr; gap: 16px; }
  .lab { padding: 24px; }
  .lab-grid { grid-template-columns: 1fr; gap: 28px; }
  .fig { aspect-ratio: auto; max-width: none; }
  .fig-note, .fig-caption { position: static; text-align: left; max-width: none; background: none; padding: 0; backdrop-filter: none; }
  .fig-note { margin-top: 16px; }
  .fig-note b { margin: 0 0 8px 0; }
  .fig-caption { margin-top: 10px; }
  .fig-ribbon { display: none; }
  .fig .corner { display: none; }
}
