/* ===== Fontes self-hosted ===== */
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/marcellus-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/albertsans-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Albert Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/albertsans-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibmplexmono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibmplexmono-500.woff2') format('woff2');
}

/* ===== Tokens ===== */
:root {
  --ink:        #10222E;
  --ink-deep:   #0B1922;
  --paper:      #F3F1EB;
  --paper-2:    #ECE9E0;
  --brass:      #B4913F;
  --brass-dark: #7E6224;
  --brass-soft: #C9AB63;
  --slate:      #56646E;
  --muted-dark: #93A3AD;
  --line:       #D9D4C6;
  --line-dark:  rgba(243,241,235,.16);
  --blue-link:  #1A5FA8;

  --font-display: 'Marcellus', Georgia, serif;
  --font-body: 'Albert Sans', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --max-w: 1180px;
}

/* ===== Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 440px) { body { font-size: 18px; } }
@media (min-width: 768px) { body { font-size: 19px; } }

/* ===== Utility ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }

.section {
  position: relative;
  padding: 72px 0;
}
@media (min-width: 768px) { .section { padding: 112px 0; } }

.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink-deep { background: var(--ink-deep); color: var(--paper); }
.bg-paper { background: var(--paper); color: var(--ink); }
.bg-paper-2 { background: var(--paper-2); color: var(--ink); }

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}
@media (min-width: 768px) { .eyebrow { font-size: 12px; } }

.bg-paper .eyebrow, .bg-paper-2 .eyebrow { color: var(--brass-dark); }
.bg-ink .eyebrow, .bg-ink-deep .eyebrow { color: var(--brass-soft); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 24px;
  max-width: 18ch;
}
@media (min-width: 768px) { h2 { margin-bottom: 32px; } }

.lede {
  font-size: 1.05em;
  max-width: 62ch;
}
.bg-paper .lede, .bg-paper-2 .lede { color: var(--slate); }
.bg-ink .lede, .bg-ink-deep .lede { color: var(--muted-dark); }

.mono {
  font-family: var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.num-display {
  font-family: var(--font-mono);
  font-weight: 500;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brass);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 18px 32px;
  border-radius: 2px;
  min-height: 44px;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover, .btn:focus-visible { background: #9c7d35; }
.btn:active { transform: scale(0.98); }

/* ===== Header ===== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.brand span { color: var(--brass-soft); }
.topbar .mono { font-size: 10px; color: var(--muted-dark); }

/* ===== Hero / S1 ===== */
.hero h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  max-width: 16ch;
  margin-bottom: 28px;
}
.hero h1 .accent { color: var(--brass-soft); }
.hero .lede { margin-bottom: 48px; }

/* Régua da assimetria */
.ruler {
  max-width: 560px;
  margin: 0 0 48px;
}
.ruler-bar-track {
  position: relative;
  height: 14px;
  background: rgba(243,241,235,.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}
.ruler-bar-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brass-dark), var(--brass-soft));
  transition: width 1.2s cubic-bezier(.2,.7,.2,1);
}
.ruler-bar-fill.short {
  background: rgba(148,163,173,.55);
}
.ruler.in-view .ruler-bar-fill.full { width: 100%; }
.ruler.in-view .ruler-bar-fill.short { width: 24%; }
.ruler-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 20px;
}
.ruler-gap {
  border: 1px dashed var(--brass);
  border-radius: 2px;
  text-align: center;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass-soft);
  opacity: 0;
  transition: opacity .6s ease .6s;
}
.ruler.in-view .ruler-gap { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .ruler-bar-fill.full { width: 100% !important; transition: none; }
  .ruler-bar-fill.short { width: 24% !important; transition: none; }
  .ruler-gap { opacity: 1 !important; transition: none; }
}

.hero-cta-note {
  margin-top: 18px;
  font-size: 11px;
  color: var(--muted-dark);
}

/* ===== Fade-in on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== S2 — As três quebras ===== */
.breaks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 900px) {
  .breaks-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.break-card .num {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--brass-dark);
  margin-bottom: 16px;
}
.break-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 12px;
  line-height: 1.4;
}
.break-card p { color: var(--slate); font-size: 16px; }

.pull-quote {
  border-left: 3px solid var(--brass);
  padding: 8px 0 8px 24px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.4;
  max-width: 48ch;
}

/* ===== S3 — Diagnóstico ===== */
.diag-intro { margin-bottom: 56px; }
.instrument { margin-bottom: 64px; }
.instrument:last-child { margin-bottom: 0; }
.instrument h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: var(--paper);
  margin-bottom: 14px;
}
.instrument p { color: var(--muted-dark); max-width: 62ch; margin-bottom: 20px; }

/* mock de busca */
.search-mock {
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 4px;
  padding: 24px;
  box-shadow: 8px 8px 0 rgba(0,0,0,.18);
  max-width: 560px;
  margin-bottom: 14px;
}
.search-bar {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 14px;
  margin-bottom: 18px;
}
.search-cursor {
  display: inline-block;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .search-cursor { animation: none; }
}
.search-result { padding: 10px 0; border-bottom: 1px solid var(--line); }
.search-result:last-child { border-bottom: none; }
.search-result .r-title { color: var(--blue-link); font-size: 15px; font-weight: 600; }
.search-result .r-url { font-family: var(--font-mono); font-size: 11px; color: var(--slate); }
.search-result.you {
  border: 1px solid var(--brass);
  border-radius: 3px;
  padding: 12px;
  margin-top: 6px;
  background: rgba(180,145,63,.06);
}
.search-result.you .r-title { color: var(--brass-dark); }
.legend-mono {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* tabela do relógio */
.table-wrap { overflow-x: auto; margin-bottom: 10px; }
.clock-table {
  min-width: 560px;
  background: var(--ink-deep);
  border-radius: 4px;
  overflow: hidden;
}
.clock-table th, .clock-table td {
  padding: 16px 18px;
  text-align: left;
  font-size: 14px;
}
.clock-table thead th {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-dark);
  border-bottom: 1px solid var(--line-dark);
}
.clock-table tbody td {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}
.clock-table tbody tr:last-child td { border-bottom: none; }
.clock-table tr.you td {
  background: rgba(180,145,63,.12);
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  font-weight: 700;
  color: var(--brass-soft);
}
.illustrative-note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 8px;
}

@media (max-width: 767px) {
  .clock-table { display: none; }
  .clock-cards { display: block; }
}
@media (min-width: 768px) {
  .clock-cards { display: none; }
}
.clock-card {
  background: var(--ink-deep);
  border-radius: 4px;
  padding: 18px;
  margin-bottom: 14px;
}
.clock-card.you { border: 1px solid var(--brass); background: rgba(180,145,63,.12); }
.clock-card .ccol { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.clock-card .ccol .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
.clock-card .ccol .v { font-family: var(--font-mono); color: var(--paper); font-weight: 600; }
.clock-card.you .ccol .v { color: var(--brass-soft); }
.clock-card .cname { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 8px; }

.instrument .pull-quote {
  color: var(--paper);
  border-color: var(--brass);
  margin-top: 40px;
}

/* ===== S4 — Inversão ===== */
.inversion-lead {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.55;
  color: var(--paper);
  max-width: 68ch;
  margin-bottom: 56px;
  border-left: 3px solid var(--brass);
  padding-left: 24px;
}
.compare-table-wrap { overflow-x: auto; }
.compare-table { min-width: 620px; }
.compare-table th {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: left;
  padding-bottom: 16px;
  color: var(--muted-dark);
}
.compare-table th:last-child { color: var(--brass-soft); }
.compare-table td {
  padding: 14px 18px 14px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 15px;
  color: var(--muted-dark);
}
.compare-table td:last-child { color: var(--paper); }
.compare-table .arrow { color: var(--brass); margin-right: 8px; }

@media (max-width: 640px) {
  .compare-table, .compare-table thead, .compare-table tbody, .compare-table tr, .compare-table td { display: block; width: 100%; }
  .compare-table thead { display: none; }
  .compare-table tr { border-top: 1px solid var(--line-dark); padding: 16px 0; }
  .compare-table td { border: none; padding: 4px 0; }
  .compare-table td:first-child::before { content: "— "; color: var(--muted-dark); }
}

/* ===== S5 — Escopo ===== */
.scope-intro { max-width: 62ch; margin-bottom: 48px; color: var(--slate); }
.scope-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 0;
}
@media (min-width: 700px) {
  .scope-grid { grid-template-columns: 1fr 1fr; gap: 36px 48px; }
}
.scope-item { border-top: 2px solid var(--brass); padding-top: 16px; }
.scope-item h3 { font-family: var(--font-body); font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.scope-item p { color: var(--slate); font-size: 15.5px; }

.scope-closing {
  margin-top: 56px;
  background: var(--paper-2);
  border-top: 2px solid var(--ink);
  padding: 28px 32px;
  font-family: var(--font-display);
  font-size: 19px;
}

/* ===== S6 — Bio ===== */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
@media (min-width: 860px) {
  .bio-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
}
.bio-photo {
  aspect-ratio: 4/5;
  background: var(--paper-2) center/cover no-repeat;
  filter: grayscale(1) sepia(.15) contrast(1.05);
  border: 1px solid var(--line);
}
.bio-photo img { width: 100%; height: 100%; object-fit: cover; }
.bio-stats { display: flex; flex-direction: column; gap: 28px; margin-bottom: 8px; }
.bio-stat .num { font-family: var(--font-display); font-size: 40px; color: var(--brass-dark); line-height: 1; }
.bio-stat p { font-size: 15.5px; color: var(--slate); margin-top: 6px; }
.bio-link-text { color: var(--slate); margin-top: 24px; max-width: 64ch; }
.bio-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--slate);
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.bio-timeline em { font-style: italic; color: var(--brass-dark); }

.bio-quote {
  background: var(--ink);
  color: var(--paper);
  padding: 40px 36px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vw, 25px);
  line-height: 1.5;
}

/* ===== S7 — Prova ===== */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 860px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
}
.proof-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px;
}
.proof-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin-bottom: 18px;
  display: block;
}
.proof-block { margin-bottom: 16px; }
.proof-block .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate);
  display: block;
  margin-bottom: 4px;
}
.proof-block p { font-size: 15.5px; color: var(--ink); }
.proof-result {
  background: var(--ink);
  color: var(--paper);
  border-radius: 3px;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-size: 17px;
  margin-top: 20px;
}
.proof-quote {
  font-family: var(--font-display);
  font-size: 18px;
  margin-top: 20px;
  color: var(--ink);
}

/* ===== S8 — Método ===== */
.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 56px;
}
@media (min-width: 760px) {
  .method-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; }
}
.method-step { border-top: 2px solid var(--ink); padding-top: 16px; }
.method-step .step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--brass-dark);
  display: block;
  margin-bottom: 10px;
}
.method-step p { color: var(--slate); font-size: 15px; }

.method-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 18px;
}
.method-band .mono { font-size: 10.5px; color: var(--brass-soft); }
.method-band-2 {
  font-size: 16px;
  color: var(--slate);
  max-width: 68ch;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.no-price-note {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ===== S9 — Para quem é ===== */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 760px) {
  .fit-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}
.fit-col h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}
.fit-col ul { list-style: none; }
.fit-col li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  color: var(--slate);
  font-size: 16px;
}
.fit-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.fit-yes li::before { background: var(--brass); }
.fit-no li::before { background: transparent; border: 1.5px solid var(--slate); }

/* ===== S10 — CTA final ===== */
.cta-final { text-align: left; }
.cta-final h2 { max-width: 20ch; }
.cta-final .lede { margin-bottom: 40px; }
.cta-final .btn { margin-bottom: 18px; }
.cta-phone { font-size: 13px; color: var(--muted-dark); margin-bottom: 40px; }
.capacity-note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 48px;
}
footer.site-footer {
  border-top: 1px solid var(--line-dark);
  padding-top: 28px;
  font-size: 13px;
  color: var(--muted-dark);
}

/* ===== Faixa brass lateral (desktop) ===== */
.brass-rail {
  display: none;
}
@media (min-width: 1024px) {
  .brass-rail {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 7px;
    height: 100vh;
    background: linear-gradient(180deg, var(--brass-dark), var(--brass), var(--brass-soft));
    z-index: 50;
  }
}

/* ===== Skip link ===== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brass);
  color: var(--ink);
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }
