/* ==========================================================
   Renato Henriques — base compartilhada (hub + landing pages)
   Tipografia: Manrope (texto/UI) + Instrument Serif (acentos)
   ========================================================== */

:root {
  --ink: #171614;
  --ink-2: #211f1c;
  --graphite: #262625;
  --paper: #f1ebe2;
  --paper-2: #e8dfd2;
  --sand: #d9cab5;
  --sand-deep: #b9a487;
  --sea: #9cc9c8;
  --sea-soft: #cfe3e0;
  --sea-deep: #2c5f61;
  --sea-ink: #11282a;
  --clay: #7a4a40;
  --clay-2: #92594c;
  --text: #2a2723;
  --muted: #6f675d;
  --line: rgba(23, 22, 20, .13);
  --line-light: rgba(241, 235, 226, .16);

  --serif: "Instrument Serif", "Noto Serif Display", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
strong { font-weight: 700; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

/* grão de papel sutil, ecoando a textura da capa */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }

/* ---------- tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--clay);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.on-dark .eyebrow { color: var(--sea); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.01em;
}
.display em, .accent { font-style: italic; }
.h1 { font-size: clamp(46px, 7.2vw, 96px); }
.h2 { font-size: clamp(38px, 5.2vw, 68px); }
.h3 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--muted); }
.on-dark { color: rgba(241, 235, 226, .82); }
.on-dark .lead { color: rgba(241, 235, 226, .72); }
.on-dark .display, .on-dark h2, .on-dark h3 { color: var(--paper); }

/* caixa-alta espaçada — ecoa o lettering da capa */
.caps {
  font-family: var(--sans); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em;
}

/* ---------- botões ---------- */
.btn {
  --bg: var(--clay); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 58px; padding: 0 12px 0 28px;
  border-radius: 100px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 700 14px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background .3s, box-shadow .35s var(--ease);
}
.btn .arrow {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .14);
  transition: transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.45); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.btn--light .arrow { background: rgba(23, 22, 20, .08); }
.btn--sea { --bg: var(--sea); --fg: var(--sea-ink); }
.btn--sea .arrow { background: rgba(17, 40, 42, .1); }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; padding: 0 28px; }
.btn--block { width: 100%; }
.btn--lg { min-height: 66px; font-size: 15px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px;
}

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .4s, box-shadow .4s, color .4s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { text-decoration: none; line-height: 1.1; }
.brand b { display: block; font-family: var(--serif); font-weight: 400; font-size: 25px; letter-spacing: .01em; }
.brand span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; opacity: .65; }
.site-header .btn { min-height: 46px; font-size: 12px; padding: 0 8px 0 20px; }
.site-header .btn .arrow { width: 30px; height: 30px; }
.site-header.is-solid { background: rgba(241, 235, 226, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.site-header.is-solid.dark { background: rgba(23, 22, 20, .9); color: var(--paper); box-shadow: 0 1px 0 var(--line-light); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- placeholders de conteúdo pendente ---------- */
.ph {
  background: repeating-linear-gradient(-45deg, rgba(196, 156, 60, .18) 0 6px, rgba(196, 156, 60, .08) 6px 12px);
  outline: 1px dashed rgba(170, 128, 30, .7);
  border-radius: 4px; padding: 0 .3em;
}
body.hide-ph .ph { background: none; outline: none; padding: 0; }

/* ---------- rodapé ---------- */
.site-footer { background: var(--ink); color: rgba(241, 235, 226, .6); padding: 56px 0 40px; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.site-footer a { text-decoration: none; color: rgba(241, 235, 226, .85); }
.site-footer a:hover { color: var(--sea); }
.site-footer .brand b { color: var(--paper); }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---------- painel de wireframe (remover na versão WordPress) ---------- */
.wf-panel {
  position: fixed; left: 16px; bottom: 16px; z-index: 200;
  display: flex; gap: 6px; padding: 6px;
  background: rgba(23, 22, 20, .88); border-radius: 100px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font: 600 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
}
.wf-panel button {
  border: 0; cursor: pointer; border-radius: 100px; padding: 9px 13px;
  background: transparent; color: rgba(241, 235, 226, .75); font: inherit; letter-spacing: inherit;
}
.wf-panel button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
[data-section] { position: relative; }
body.show-sections [data-section] { outline: 1px dashed rgba(196, 156, 60, .9); outline-offset: -1px; }
body.show-sections [data-section]::before {
  content: attr(data-section);
  position: absolute; top: 12px; left: 12px; z-index: 40;
  background: #c49c3c; color: #171614; padding: 6px 10px; border-radius: 6px;
  font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
}
@media (max-width: 720px) { .wf-panel { bottom: 84px; } }
