/* =========================================================================
   Proposta de Palestra — Tiago Pedro × Luck Receptivo
   Sistema visual "sob medida": navy (Tiago) + litoral turquesa/areia/sol (Luck)
   Três direções alternáveis via [data-direction]: litoral | navy | editorial
   ========================================================================= */

:root {
  /* Brand primitives */
  --c-navy:      #0a1726;
  --c-navy-2:    #0e2336;
  --c-navy-3:    #14304a;
  --c-ink:       #15202b;
  --c-ink-soft:  #41535f;
  --c-turq:      #0a9aa6;
  --c-turq-deep: #07727b;
  --c-turq-glow: #34d0d8;
  --c-sun:       #f0a52b;
  --c-coral:     #f2603f;
  --c-sand:      #f4ecdd;
  --c-sand-2:    #efe5d2;
  --c-cream:     #fbf7ef;
  --c-paper:     #ffffff;
  --c-line:      #e4dac6;

  /* Default accent (overridable by tweak) */
  --accent:      var(--c-turq);
  --accent-deep: var(--c-turq-deep);
  --accent-glow: var(--c-turq-glow);

  /* Fonts (overridable by tweak) */
  --font-display: "Newsreader", Georgia, serif;
  --font-sans: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --head-font: var(--font-display);

  /* Semantic — overridden per direction */
  --page-bg:     var(--c-cream);
  --surface:     var(--c-paper);
  --surface-2:   var(--c-sand);
  --text:        var(--c-ink);
  --text-soft:   var(--c-ink-soft);
  --line:        var(--c-line);
  --hero-bg:     var(--c-navy);
  --hero-text:   #eef5f6;
  --hero-soft:   #9fb6c2;
  --invest-bg:   var(--c-navy);
  --invest-text: #eef5f6;
  --invest-soft: #9fb6c2;
  --footer-bg:   var(--c-navy);
  --chip-bg:     var(--c-paper);
}

/* ---- Direction: NAVY (keynote escuro) ---- */
[data-direction="navy"] {
  --page-bg:   var(--c-navy);
  --surface:   var(--c-navy-2);
  --surface-2: #0b1d2e;
  --text:      #eaf3f5;
  --text-soft: #93acba;
  --line:      rgba(255,255,255,0.10);
  --hero-bg:   #07111d;
  --hero-text: #eef5f6;
  --hero-soft: #8fa9b8;
  --invest-bg: #07111d;
  --invest-text: #eef5f6;
  --invest-soft: #8fa9b8;
  --footer-bg: #07111d;
  --chip-bg:   var(--c-navy-3);
}

/* ---- Direction: EDITORIAL (premium claro) ---- */
[data-direction="editorial"] {
  --page-bg:   var(--c-paper);
  --surface:   var(--c-paper);
  --surface-2: #f6f7f8;
  --text:      var(--c-ink);
  --text-soft: #5a6b76;
  --line:      #e7eaed;
  --hero-bg:   var(--c-paper);
  --hero-text: var(--c-ink);
  --hero-soft: #5a6b76;
  --invest-bg: var(--c-ink);
  --invest-text: #f4f7f8;
  --invest-soft: #9fb1bc;
  --footer-bg: var(--c-ink);
  --chip-bg:   #f6f7f8;
}

/* ===================== base ===================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--page-bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .4s ease, color .4s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--head-font); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.015em; }
[data-head="grotesk"] { --head-font: var(--font-sans); }
[data-head="grotesk"] h1, [data-head="grotesk"] h2, [data-head="grotesk"] h3 { font-weight: 700; letter-spacing: -0.03em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
}
[data-direction="navy"] .eyebrow { color: var(--accent-glow); }
.eyebrow::before {
  content: ""; width: 28px; height: 1.5px; background: var(--accent); display: inline-block; flex: none;
}

section { padding: 96px 0; }
section + section { border-top: 1px solid var(--line); }

/* ===================== HERO ===================== */
.hero {
  background: var(--hero-bg);
  color: var(--hero-text);
  border-top: none;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 88% -10%, color-mix(in oklab, var(--accent) 38%, transparent) 0%, transparent 55%),
    radial-gradient(80% 70% at 0% 110%, color-mix(in oklab, var(--c-sun) 22%, transparent) 0%, transparent 50%);
  pointer-events: none;
  opacity: .9;
}
[data-direction="editorial"] .hero::after { opacity: .5; }
.hero-inner { position: relative; z-index: 1; padding-block: 116px 104px; }

.hero-topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 78px;
}
.brandmark { display: flex; align-items: center; gap: 14px; }
.logo-chip {
  background: #fff; border-radius: 13px; padding: 12px 18px;
  display: inline-flex; align-items: center;
  box-shadow: 0 10px 28px -16px rgba(4, 12, 22, .6);
}
.logo-chip img { height: 38px; width: auto; display: block; }
[data-direction="editorial"] .logo-chip { border: 1px solid var(--line); box-shadow: 0 6px 18px -12px rgba(4, 12, 22, .22); }
.wordmark {
  font-family: var(--head-font); font-weight: 600; font-size: 27px; letter-spacing: -.02em;
  color: var(--hero-text); display: inline-flex; align-items: baseline; gap: 10px; line-height: 1;
}
.wordmark .wm-tag {
  font-family: var(--font-mono); font-weight: 400; font-size: 11.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent-glow);
}
[data-direction="editorial"] .wordmark .wm-tag { color: var(--accent-deep); }
[data-head="grotesk"] .wordmark { font-weight: 700; }
.brandmark-fallback {
  font-family: var(--head-font); font-weight: 600; font-size: 22px; letter-spacing: -.02em;
}
.hero-meta-pill {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--hero-soft);
  border: 1px solid color-mix(in oklab, var(--hero-soft) 40%, transparent);
  border-radius: 999px; padding: 8px 16px;
}

.hero h1 {
  font-size: clamp(40px, 6.4vw, 78px);
  max-width: 16ch;
  margin-bottom: 30px;
}
.hero h1 em { font-style: italic; color: var(--accent-glow); }
[data-direction="editorial"] .hero h1 em { color: var(--accent-deep); }
.hero-lede {
  font-size: clamp(18px, 2.1vw, 23px);
  color: var(--hero-soft);
  max-width: 52ch;
  line-height: 1.55;
  margin: 0;
}
[data-direction="editorial"] .hero-lede { color: var(--hero-soft); }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 56px;
  border-top: 1px solid color-mix(in oklab, var(--hero-soft) 30%, transparent);
}
.hero-fact {
  padding: 24px 36px 24px 0; margin-right: 36px;
  border-right: 1px solid color-mix(in oklab, var(--hero-soft) 22%, transparent);
}
.hero-fact:last-child { border-right: none; margin-right: 0; }
.hero-fact .k {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-glow); margin: 0 0 8px;
}
[data-direction="editorial"] .hero-fact .k { color: var(--accent-deep); }
.hero-fact .v { font-size: 17px; color: var(--hero-text); font-weight: 500; }
.hero-fact .v small { display: block; color: var(--hero-soft); font-weight: 400; font-size: 14px; margin-top: 2px; }

/* ===================== SECTION HEADINGS ===================== */
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 22px; }
.sec-head p { font-size: 19px; color: var(--text-soft); margin: 0; }

.lead-para { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.62; color: var(--text); max-width: 60ch; }
.lead-para strong { color: var(--text); font-weight: 600; border-bottom: 2px solid var(--accent); padding-bottom: 1px; }
.body-para { font-size: 18px; color: var(--text-soft); max-width: 62ch; margin: 22px 0 0; }

/* ===================== TOPIC CARDS ===================== */
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.topic {
  background: var(--surface); padding: 38px 36px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background-color .25s ease;
}
.topic:hover { background: var(--surface-2); }
.topic .num {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em;
  color: var(--accent-deep); font-weight: 500;
}
[data-direction="navy"] .topic .num { color: var(--accent-glow); }
.topic h3 { font-size: 23px; }
.topic p { margin: 0; font-size: 16.5px; color: var(--text-soft); line-height: 1.55; }
.topic .tag {
  margin-top: auto; align-self: flex-start;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-deep);
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  border-radius: 999px; padding: 5px 12px;
}
[data-direction="navy"] .topic .tag { color: var(--accent-glow); background: color-mix(in oklab, var(--accent) 18%, transparent); }

/* ===================== ABOUT / BIO ===================== */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.bio-photo {
  border-radius: 18px; overflow: hidden; background: var(--surface-2);
  aspect-ratio: 4 / 5; position: relative;
  box-shadow: 0 24px 60px -28px rgba(8,20,32,.5);
}
.bio-photo img { width: 100%; height: 100%; object-fit: cover; }
.bio-photo .ph-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: linear-gradient(160deg, var(--c-navy), var(--c-navy-3));
  color: #cfe0e6; text-align: center; padding: 24px;
}
.bio-photo .ph-fallback .mono-tp {
  font-family: var(--head-font); font-weight: 600; font-size: 60px; color: #fff; line-height: 1;
  width: 116px; height: 116px; border-radius: 26px; display: grid; place-items: center;
  background: var(--accent-deep);
}
.bio-photo .ph-fallback span:last-child {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.bio-caption {
  margin-top: 14px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-soft);
}
.bio-body h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 20px; }
.bio-body .lead-para { margin: 0 0 18px; }
.bio-quote {
  font-family: var(--head-font); font-style: italic; font-size: 22px; line-height: 1.4;
  color: var(--text); border-left: 3px solid var(--accent); padding-left: 22px; margin: 26px 0 0;
}

/* company chips */
.ventures { margin-top: 40px; }
.ventures .vh {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-soft); margin: 0 0 18px;
}
.venture-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.venture {
  display: flex; align-items: center; gap: 14px;
  background: var(--chip-bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px;
}
.venture .mono {
  flex: none; width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--head-font); font-weight: 600; font-size: 15px; letter-spacing: -.02em;
  color: #fff; background: var(--c-navy);
}
.venture .mono.a { background: var(--accent-deep); }
.venture .mono.b { background: var(--c-navy); }
.venture .mono.c { background: var(--c-sun); color: var(--c-navy); }
.venture .mono.d { background: var(--c-coral); }
.venture .info .n { font-weight: 600; font-size: 15.5px; line-height: 1.2; }
.venture .info .r { font-size: 12.5px; color: var(--text-soft); font-family: var(--font-mono); letter-spacing: .04em; margin-top: 2px; }

/* credibility badges */
.creds { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.cred {
  display: flex; align-items: baseline; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px;
  font-size: 14px; color: var(--text);
}
.cred b { font-weight: 600; }
.cred span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
[data-direction="navy"] .cred span { color: var(--accent-glow); }

/* ===================== FORMAT / DELIVERABLES ===================== */
.format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li {
  display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line);
}
.spec-list li:first-child { padding-top: 0; }
.spec-list .sk {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-soft); width: 130px; flex: none; padding-top: 3px;
}
.spec-list .sv { font-size: 17px; color: var(--text); font-weight: 500; }
.spec-list .sv small { display:block; font-weight: 400; color: var(--text-soft); font-size: 14.5px; margin-top: 3px; }

.deliver { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 34px 34px 30px; }
.deliver h3 { font-size: 21px; margin-bottom: 6px; }
.deliver .sub { font-size: 14.5px; color: var(--text-soft); margin: 0 0 22px; }
.deliver ul { list-style: none; margin: 0; padding: 0; }
.deliver li { display: flex; gap: 13px; padding: 11px 0; font-size: 16px; align-items: flex-start; }
.deliver li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 5px;
  background: color-mix(in oklab, var(--accent) 16%, transparent);
  border: 1.5px solid var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a9aa6' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}

/* ===================== INVESTMENT ===================== */
.invest { background: var(--invest-bg); color: var(--invest-text); position: relative; overflow: hidden; }
.invest::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 120% at 100% 0%, color-mix(in oklab, var(--accent) 26%, transparent) 0%, transparent 55%);
}
.invest .wrap { position: relative; z-index: 1; }
.invest .eyebrow { color: var(--accent-glow); }
.invest-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.price-tag .label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--invest-soft); margin: 0 0 14px;
}
.price-tag .amount {
  font-family: var(--head-font); font-size: clamp(54px, 8vw, 92px); line-height: .95; font-weight: 500;
  letter-spacing: -.02em; display: flex; align-items: flex-start; gap: 10px;
}
.price-tag .amount .cur { font-size: .42em; margin-top: .55em; color: var(--invest-soft); }
.price-tag .amount em { font-style: normal; color: var(--accent-glow); }
.price-tag .note { margin: 18px 0 0; color: var(--invest-soft); font-size: 16px; }

.pay-card {
  background: color-mix(in oklab, var(--invest-text) 7%, transparent);
  border: 1px solid color-mix(in oklab, var(--invest-text) 16%, transparent);
  border-radius: 18px; padding: 8px 28px;
}
.pay-row { display: flex; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid color-mix(in oklab, var(--invest-text) 12%, transparent); }
.pay-row:last-child { border-bottom: none; }
.pay-row .pct {
  font-family: var(--head-font); font-size: 30px; font-weight: 600; color: var(--accent-glow);
  width: 78px; flex: none;
}
.pay-row .pd .pt { font-weight: 600; font-size: 16.5px; }
.pay-row .pd .ps { font-size: 14px; color: var(--invest-soft); margin-top: 2px; }

/* ===================== NEXT STEPS ===================== */
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px;
}
.step .sn {
  font-family: var(--head-font); font-size: 30px; color: var(--accent); font-weight: 600; line-height: 1;
}
.step h3 { font-size: 18px; margin: 16px 0 8px; }
.step p { margin: 0; font-size: 15px; color: var(--text-soft); line-height: 1.5; }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 20px;
  padding: 40px 44px;
}
.cta-band .ct h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.cta-band .ct p { margin: 0; color: var(--text-soft); font-size: 16px; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: var(--c-navy); color: #fff; border-radius: 999px;
  padding: 17px 30px; font-weight: 600; font-size: 16.5px; white-space: nowrap;
  transition: transform .15s ease, background-color .2s ease;
}
.cta-btn:hover { transform: translateY(-2px); background: var(--accent-deep); }
.cta-btn svg { width: 18px; height: 18px; }
[data-direction="navy"] .cta-btn { background: var(--accent-deep); }
[data-direction="navy"] .cta-btn:hover { background: var(--accent); }

/* ===================== FOOTER ===================== */
.foot { background: var(--footer-bg); color: #9fb6c2; padding: 54px 0; border-top: none; }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot .brandmark-fallback { color: #eef5f6; }
.foot .fmeta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: #6f8997; text-align: right; }
.foot a { color: var(--accent-glow); text-decoration: none; }

/* ===================== responsive ===================== */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .wrap { padding: 0 24px; }
  section { padding: 68px 0; }
  .hero-inner { padding-block: 80px 72px; }
  .hero-topbar { margin-bottom: 52px; }
  .topics, .about-grid, .format-grid, .invest-grid, .venture-grid, .next-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 32px; }
  .bio-photo { max-width: 320px; }
  .invest-grid, .format-grid { gap: 36px; }
  .hero-fact { border-right: none; padding-right: 0; margin-right: 0; border-bottom: 1px solid color-mix(in oklab, var(--hero-soft) 20%, transparent); width: 100%; }
  .hero-fact:last-child { border-bottom: none; }
  .cta-band { padding: 30px; }
}

/* ===================== print / PDF ===================== */
@page { margin: 0; }
@media print {
  :root { --page-bg:#fff; }
  html, body { background: #fff !important; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .tweaks-host, #tweaks-root, .print-hide { display: none !important; }
  /* full-bleed: colored bands reach the paper edge, text stays inset via .wrap */
  section { padding: 16mm 0 !important; }
  .hero-inner { padding: 18mm 0 !important; }
  .foot { padding: 14mm 0 !important; }
  .wrap { max-width: 100%; padding: 0 16mm; }
  .topic, .venture, .step, .deliver, .pay-card { break-inside: avoid; }
  a[href]::after { content: ""; }
}
