/* =========================================================
   Paula Yunes | Vendas previsíveis para indústrias B2B
   ========================================================= */

:root {
  --ink: #15181d;
  --ink-2: #22262d;
  --paper: #f6f3ee;
  --sand: #ece6db;
  --white: #ffffff;
  --accent: #b4532a;
  --accent-dark: #93421f;
  --accent-soft: #f3e1d6;
  --muted: #5c626b;
  --muted-on-dark: #a9adb4;
  --line: rgba(21, 24, 29, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --shadow: 0 1px 2px rgba(21, 24, 29, .04), 0 8px 24px rgba(21, 24, 29, .06);
}

*, *::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(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Layout ---------- */

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.narrow { max-width: 760px; }

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .muted, .section--dark .lead { color: var(--muted-on-dark); }
.section--accent { background: var(--accent); color: var(--white); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.section--dark .eyebrow { color: #e08a5f; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 238, .88);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; }
.logo strong { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; letter-spacing: -0.01em; }
.logo span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--ink-2);
  padding: 8px 12px; border-radius: 999px; transition: background .15s, color .15s;
}
.nav a:hover { background: rgba(21, 24, 29, .06); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav .btn { margin-left: 10px; padding: 11px 20px; }
.nav .btn:hover { background: var(--accent-dark); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; margin-right: -10px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--paper); padding: 16px 24px 28px; border-bottom: 1px solid var(--line);
    gap: 2px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav a { padding: 14px 12px; font-size: 1.05rem; border-radius: var(--radius-sm); }
  .nav .btn { margin: 12px 0 0; text-align: center; justify-content: center; }
  .nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 1rem/1 var(--sans);
  padding: 17px 28px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
  background: var(--accent); color: var(--white);
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--dark { background: var(--ink); }
.btn--dark:hover { background: var(--ink-2); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--ink); }
.section--dark .btn--ghost { color: var(--paper); border-color: var(--line-dark); }
.section--dark .btn--ghost:hover { border-color: var(--paper); }
.btn--block { width: 100%; justify-content: center; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; color: var(--accent);
  border-bottom: 1.5px solid transparent; padding-bottom: 2px; transition: border-color .15s;
}
.text-link:hover { border-bottom-color: currentColor; }
.section--dark .text-link { color: #e08a5f; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }
.microcopy { font-size: .9rem; color: var(--muted); margin-top: 14px; }
.section--dark .microcopy, .section--accent .microcopy { color: inherit; opacity: .78; }

/* ---------- Hero ---------- */

.hero { padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 120px); position: relative; overflow: hidden; }
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 60ch; margin-top: 8px; }
.hero h1 em, h2 em { font-style: italic; color: var(--accent); }
.section--dark h2 em { color: #e08a5f; }

.credibility {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line);
  max-width: 720px; font-size: .95rem; color: var(--muted);
}
.credibility::before {
  content: ""; flex: 0 0 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--accent);
}

.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 64px; align-items: end; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-badge {
  background: var(--ink); color: var(--paper); border-radius: var(--radius);
  padding: 32px; position: relative; overflow: hidden;
}
.hero-badge::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px;
  border: 28px solid rgba(180, 83, 42, .5); border-radius: 50%;
}
.hero-badge .big { font-family: var(--serif); font-size: 3.4rem; line-height: 1; display: block; }
.hero-badge p { color: var(--muted-on-dark); margin-top: 10px; position: relative; z-index: 1; }

.page-hero { padding: clamp(64px, 8vw, 104px) 0 clamp(48px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 18ch; }
.page-hero .lead { max-width: 62ch; }

/* ---------- Cards ---------- */

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; height: 100%;
}
.section--white .card { background: var(--paper); }
.section--dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.section--dark .card p { color: var(--muted-on-dark); }
.card h3 { margin-bottom: .55em; }
.card p { color: var(--muted); }

.card-num {
  font-family: var(--serif); font-size: .95rem; color: var(--accent);
  display: inline-block; margin-bottom: 22px; font-variant-numeric: tabular-nums;
}
.section--dark .card-num { color: #e08a5f; }

.card--line { background: transparent; border: 0; border-top: 1.5px solid var(--ink); border-radius: 0; padding: 24px 0 0; }
.section--dark .card--line { background: transparent; border-top-color: var(--line-dark); }

.closing-line {
  margin-top: 48px; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.35;
  max-width: 36ch;
}
.section-head--center + * + .closing-line, .closing-line.center { margin-inline: auto; text-align: center; }

/* ---------- Thesis / quote ---------- */

.big-quote {
  font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.12; letter-spacing: -0.02em;
  margin: 0 0 40px; max-width: 20ch;
}
.pull {
  border-left: 3px solid var(--accent); padding: 6px 0 6px 24px; margin: 32px 0;
  font-family: var(--serif); font-size: 1.45rem; line-height: 1.4;
}
.stamp {
  display: inline-block; margin-top: 32px; padding: 14px 22px; border: 1.5px dashed currentColor;
  border-radius: var(--radius-sm); font-weight: 600; letter-spacing: .01em;
}

/* ---------- Five fronts ---------- */

.fronts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.front { padding: 32px 28px 8px 0; border-right: 1px solid var(--line); padding-left: 24px; }
.front:first-child { padding-left: 0; }
.front:last-child { border-right: 0; }
.front .card-num { margin-bottom: 18px; }
.front h3 { font-size: 1.25rem; }
.front p { font-size: .95rem; color: var(--muted); }
@media (max-width: 1040px) {
  .fronts { grid-template-columns: 1fr 1fr; }
  .front { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
}
@media (max-width: 640px) { .fronts { grid-template-columns: 1fr; } }

/* ---------- Paths table ---------- */

.paths { border-top: 1px solid var(--line-dark); }
.path {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none;
  transition: padding .2s;
}
.path:hover { padding-left: 12px; }
.path .label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-dark); display: block; margin-bottom: 4px; }
.path .need { font-size: 1.1rem; }
.path .way { font-family: var(--serif); font-size: 1.4rem; }
.path .go { color: #e08a5f; font-size: 1.4rem; }
@media (max-width: 760px) { .path { grid-template-columns: 1fr; gap: 10px; } .path .go { display: none; } }

/* ---------- Pains (dores recorrentes) ---------- */

.pains { border-top: 1.5px solid var(--ink); }
.pain-head, .pain { display: grid; grid-template-columns: 1.1fr 150px 1.3fr; gap: 28px; align-items: start; }
.pain-head { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pain { padding: 24px 0; border-bottom: 1px solid var(--line); }
.pain p { margin: 0; color: var(--muted); }
.pain .pain-q { font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; color: var(--ink); }
.tag { display: inline-block; justify-self: start; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent-dark); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 860px) {
  .pain-head { display: none; }
  .pain { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Stats ---------- */

.stats { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 56px; }
.stat { flex: 1 1 200px; padding: 28px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 2.6rem; line-height: 1; color: var(--accent); margin-bottom: 10px; }
.stat span { font-size: .93rem; color: var(--muted); }

.logos { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; margin-top: 24px; }
.logos span { font-family: var(--serif); font-size: 1.35rem; color: var(--muted); }

/* ---------- Portrait placeholder ---------- */

.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius); position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(180, 83, 42, .35), transparent 55%),
    linear-gradient(160deg, #2a2f37, #15181d);
  display: flex; align-items: flex-end; padding: 28px; color: var(--paper);
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
/* Foto que se dissolve no fundo da seção, sem moldura */
.portrait.has-photo { background: none; border-radius: 0; overflow: visible; padding: 0 0 8px; }
.portrait.has-photo img {
  -webkit-mask-image: radial-gradient(ellipse 50% 46% at 50% 46%, #000 42%, rgba(0, 0, 0, .55) 70%, transparent 98%);
          mask-image: radial-gradient(ellipse 50% 46% at 50% 46%, #000 42%, rgba(0, 0, 0, .55) 70%, transparent 98%);
}
.portrait.has-photo figcaption { z-index: 1; width: 100%; text-align: center; color: var(--muted); }
.portrait.has-photo figcaption strong { color: var(--ink); }
.portrait .mono {
  position: absolute; top: 24px; right: 28px; font-family: var(--serif); font-size: 5.5rem; line-height: 1;
  color: rgba(255, 255, 255, .1);
}
.portrait figcaption { position: relative; font-size: .92rem; color: var(--muted-on-dark); }
.portrait figcaption strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--paper); }
figure { margin: 0; }

/* ---------- Seção escura com foto em degradê ---------- */

.photo-section { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 640px; }
.photo-section .photo-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; }
.photo-section .photo-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%);
          mask-image: linear-gradient(to right, transparent 0%, #000 45%);
}
.photo-section .photo-bg::after {
  content: ""; position: absolute; inset: -2px;
  background:
    linear-gradient(to right, var(--ink) 0%, rgba(21, 24, 29, .75) 22%, rgba(21, 24, 29, 0) 60%),
    linear-gradient(to top, var(--ink) 0%, rgba(21, 24, 29, 0) 30%),
    linear-gradient(to bottom, rgba(21, 24, 29, .45) 0%, rgba(21, 24, 29, 0) 16%);
}
.photo-section .container { position: relative; z-index: 1; width: min(var(--container), 100% - 48px); }
.photo-section .photo-text { max-width: 560px; }
.photo-section h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.photo-section .lead { color: var(--muted-on-dark); }
.photo-section .photo-text > p:not(.lead) { color: var(--muted-on-dark); }

@media (max-width: 860px) {
  .photo-section { flex-direction: column; align-items: stretch; min-height: 0; padding-top: 0; }
  .photo-section .photo-bg { position: relative; width: 100%; height: min(115vw, 520px); }
  .photo-section .photo-bg img { -webkit-mask-image: none; mask-image: none; }
  .photo-section .photo-bg::after { background: linear-gradient(to top, var(--ink) 0%, rgba(21, 24, 29, 0) 45%); }
  .photo-section .container { margin-top: -72px; }
}

/* ---------- Case ---------- */

.case { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.case > div { padding: 32px; border-right: 1px solid var(--line); }
.case > div:last-child { border-right: 0; }
.case h3 { font-size: .78rem; font-family: var(--sans); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 760px) { .case { grid-template-columns: 1fr; } .case > div { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Event box ---------- */

.event {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: 36px;
  box-shadow: var(--shadow);
}
.event-tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent-dark); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.event h3 { font-size: 1.6rem; }
.event dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 24px 0 0; font-size: .97rem; }
.event dt { color: var(--muted); }
.event dd { margin: 0; font-weight: 500; }

/* ---------- Forms ---------- */

.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; width: 100%; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(180, 83, 42, .14); }
.section--dark .field label { color: var(--paper); }
.section--dark .field input, .section--dark .field textarea { background: var(--ink-2); border-color: var(--line-dark); color: var(--paper); }
/* Formulário dentro do painel branco: sempre claro, mesmo em seção escura */
.section--dark .form-panel .field label { color: var(--ink-2); }
.section--dark .form-panel .field input,
.section--dark .form-panel .field textarea,
.section--dark .form-panel .field select { background: var(--white); border-color: var(--line); color: var(--ink); }
.section--dark .form-panel .microcopy { color: var(--muted); opacity: 1; }

.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-success { display: none; text-align: center; padding: 32px 8px; }
.form-success h3 { font-size: 1.7rem; }
.form.sent { display: none; }
.form-error { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: #fbe9e4; color: #8a2f14; font-size: .9rem; }
.form-error a { color: inherit; }
.form button[disabled] { opacity: .6; cursor: wait; }
.form.sent + .form-success { display: block; }

.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 200px; }

/* ---------- Lists ---------- */

.check-list, .x-list, .plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li, .x-list li, .plain-list li { position: relative; padding-left: 34px; }
.check-list li::before, .x-list li::before, .plain-list li::before {
  position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem; font-weight: 700;
}
.check-list li::before { content: "✓"; background: var(--accent-soft); color: var(--accent-dark); }
.x-list li::before { content: "✕"; background: rgba(21, 24, 29, .07); color: var(--muted); }
.plain-list li::before { content: ""; width: 8px; height: 8px; top: 10px; left: 6px; background: var(--accent); }
.section--dark .x-list li::before { background: rgba(255, 255, 255, .1); color: var(--muted-on-dark); }

.steps { counter-reset: step; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 2.2rem; color: var(--accent); line-height: 1; }
.step h3 { margin-bottom: .4em; }
.step p { color: var(--muted); }

/* ---------- Offer blocks ---------- */

.offer { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 72px); padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.offer:first-of-type { border-top: 0; }
.offer-side h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.offer-side .card-num { margin-bottom: 14px; }
.offer h4 { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 28px 0 12px; }
.offer h4:first-child { margin-top: 0; }
.offer .rule { background: var(--sand); border-radius: var(--radius-sm); padding: 20px 24px; font-family: var(--serif); font-size: 1.2rem; margin-top: 28px; }
@media (max-width: 860px) { .offer { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1.5px; background: var(--line-dark); }
.timeline li { position: relative; padding: 0 0 36px 44px; display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 2px solid #e08a5f; }
.timeline li:last-child::before { background: #e08a5f; }
.timeline .when { font-family: var(--serif); font-size: 1.2rem; color: #e08a5f; }
.timeline .what { color: var(--muted-on-dark); }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Story ---------- */

.story { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 72px); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.story:first-child { border-top: 0; padding-top: 0; }
.story-label { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding-top: 10px; }
.story h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.story-body p { color: var(--ink-2); }
.story .lesson { margin-top: 28px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; color: var(--accent-dark); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-family: var(--serif); font-size: 1.25rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.6rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 64ch; }

/* ---------- Talks ---------- */

.talk { padding: 36px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 280px; gap: 40px; }
.talk:last-child { border-bottom: 1px solid var(--line); }
.talk h3 { font-size: 1.7rem; }
.talk p { color: var(--muted); }
.talk dl { margin: 0; display: grid; gap: 12px; font-size: .95rem; }
.talk dt { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.talk dd { margin: 2px 0 0; }
@media (max-width: 760px) { .talk { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Blog ---------- */

.post-card {
  display: flex; flex-direction: column; text-decoration: none; height: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-cover {
  aspect-ratio: 16 / 9; background: var(--ink); color: var(--paper); position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 24px;
}
.post-cover::before {
  content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -60px; border-radius: 50%;
  border: 34px solid rgba(180, 83, 42, .55);
}
.post-cover--sand { background: var(--sand); color: var(--ink); }
.post-cover--accent { background: var(--accent); }
.post-cover--accent::before { border-color: rgba(255, 255, 255, .22); }
.post-cover span { position: relative; font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; max-width: 16ch; }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 12px; font-size: .8rem; color: var(--muted); margin-bottom: 12px; flex-wrap: wrap; }
.post-meta .cat { color: var(--accent); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.post-card h3 { font-size: 1.3rem; margin-bottom: .5em; }
.post-card p { color: var(--muted); font-size: .96rem; }
.post-card .text-link { margin-top: auto; padding-top: 18px; }

.post-feature { display: grid; grid-template-columns: 1.1fr .9fr; }
.post-feature .post-cover { aspect-ratio: auto; min-height: 340px; }
.post-feature .post-cover span { font-size: 2rem; }
.post-feature .post-body { padding: 40px; justify-content: center; }
.post-feature h3 { font-size: 1.9rem; }
@media (max-width: 860px) { .post-feature { grid-template-columns: 1fr; } .post-feature .post-cover { min-height: 220px; } }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter {
  font: 500 .92rem var(--sans); padding: 10px 18px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1.5px solid var(--line); color: var(--ink-2); transition: all .15s;
}
.filter:hover { border-color: var(--ink); }
.filter.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.post-item.hidden { display: none; }
.empty-state { display: none; padding: 40px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--radius); }
.empty-state.show { display: block; }

.upcoming-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.upcoming-list li { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.upcoming-list .cat { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* Article */
.article-head { padding: clamp(56px, 8vw, 96px) 0 40px; }
.article-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 22ch; }
.article-body { font-size: 1.12rem; line-height: 1.75; padding-bottom: 80px; }
.article-body h2 { font-size: 1.85rem; margin-top: 1.8em; }
.article-body ol, .article-body ul { padding-left: 1.3em; margin: 0 0 1.2em; }
.article-body li { margin-bottom: .6em; }
.article-body blockquote { margin: 36px 0; border-left: 3px solid var(--accent); padding: 4px 0 4px 26px; font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; }
.video-slot {
  aspect-ratio: 16 / 9; background: var(--ink); border-radius: var(--radius); color: var(--muted-on-dark);
  display: grid; place-items: center; text-align: center; margin: 0 0 40px; padding: 24px;
}
.video-slot .play { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin: 0 auto 14px; color: var(--white); font-size: 1.4rem; }
.cta-box { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 36px; margin: 44px 0; }
.cta-box p { color: var(--muted-on-dark); font-size: 1.05rem; }
.cta-box .btn { margin-top: 18px; }
.cta-box--sand { background: var(--sand); color: var(--ink); }
.cta-box--sand p { color: var(--muted); }

/* ---------- Final CTA ---------- */

.final-cta { text-align: center; }
.final-cta h2 { max-width: 20ch; margin-inline: auto; font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.final-cta p { max-width: 60ch; margin-inline: auto; }
.final-cta .actions { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--muted-on-dark); padding: 80px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .logo strong { color: var(--paper); }
.site-footer .logo span { color: var(--muted-on-dark); }
.site-footer h4 { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--paper); }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Landing page avulsa (encontro) ---------- */

.header-cta { padding: 12px 22px; font-size: .93rem; }
.event--dark { background: rgba(255, 255, 255, .06); border-color: var(--line-dark); box-shadow: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.event--dark h3 { color: var(--paper); font-size: 1.4rem; }
.event--dark dt { color: var(--muted-on-dark); }
.event--dark dd { color: var(--paper); }
.vaga-aviso { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: .95rem; color: var(--paper); }
.vaga-aviso::before { content: "!"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 10px; border-radius: 50%; background: #e08a5f; color: var(--ink); font-weight: 700; font-size: .8rem; vertical-align: 1px; }
.passos-vaga { list-style: none; counter-reset: passo; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.passos-vaga li { counter-increment: passo; position: relative; padding-left: 44px; color: var(--muted-on-dark); }
.passos-vaga li strong { color: var(--paper); font-weight: 600; }
.passos-vaga li::before { content: counter(passo); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(224, 138, 95, .16); color: #f0b08e; font-weight: 700; font-size: .9rem; }
.btn--whatsapp { background: #1f8f4e; margin-top: 8px; }
.btn--whatsapp:hover { background: #18733e; }
.event--dark .event-tag { background: rgba(224, 138, 95, .16); color: #f0b08e; }
.header-cta { white-space: nowrap; }
.header-cta .cta-sm { display: none; }
@media (max-width: 480px) { .header-cta .cta-lg { display: none; } .header-cta .cta-sm { display: inline; } }
@media (max-width: 480px) {
  .header-cta { padding: 10px 16px; font-size: .84rem; }
  .header-inner:has(.header-cta) .logo span { white-space: nowrap; font-size: .58rem; letter-spacing: .1em; }
}
.footer-simple { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-simple ul { display: flex; gap: 24px; flex-wrap: wrap; }
.host { display: flex; gap: 20px; align-items: flex-start; }
.host img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: center 15%; flex: none; }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Conteúdo pendente de aprovação da Paula
   Fica oculto no site publicado. Para revisar, abra qualquer
   página com ?revisao no final do endereço.
   ========================================================= */

.pendente { display: none !important; }

body.modo-revisao .pendente {
  display: revert !important;
  outline: 2px dashed #d99a00; outline-offset: 6px; position: relative;
}
body.modo-revisao .pendente[data-nota]::before {
  content: "Pendente · " attr(data-nota);
  display: block; font: 600 .72rem/1.3 var(--sans); letter-spacing: .04em; text-transform: none;
  color: #5a3f00; background: #ffd666; padding: 6px 10px; border-radius: 4px; margin-bottom: 12px; width: fit-content;
}
.review-bar {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 99;
  background: #ffd666; color: #3d2b00; font: 600 .85rem var(--sans); padding: 10px 18px; border-radius: 999px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .2); display: flex; gap: 14px; align-items: center;
}
.review-bar a { color: inherit; white-space: nowrap; }
@media (max-width: 640px) { .review-bar { width: calc(100% - 24px); font-size: .78rem; justify-content: space-between; border-radius: 12px; } }
