/* ============================================================
   Essência Cognitiva — Nova Home
   Paleta extraída do logo: petróleo, terracota, sálvia
   Tipografia: Newsreader (display) + Figtree (texto/UI)
   ============================================================ */

:root {
  --bg: #FAF7F1;
  --surface: #FFFFFF;
  --ink: #243843;
  --ink-soft: #54676F;
  --line: rgba(36, 56, 67, 0.12);

  --slate: #2E4756;
  --slate-deep: #20333E;
  --terracotta: #B05B3D;
  --terracotta-soft: #F3E2D8;
  --sage: #67937F;
  --sage-soft: #E2EBE4;
  --slate-soft: #DFE7EA;

  --accent: var(--terracotta);
  --accent-soft: var(--terracotta-soft);

  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --radius-card: 22px;
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.eyebrow.centered { justify-content: center; }

.lead {
  font-size: 19px;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.section-head {
  display: grid;
  gap: 18px;
  max-width: 680px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(34px, 4vw, 46px);
  letter-spacing: -0.01em;
}

em.tone {
  font-style: italic;
  color: var(--accent);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 30px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #FFF8F3;
  box-shadow: 0 8px 22px -10px var(--accent);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover { border-color: var(--ink); }

.btn-ink { background: var(--ink); color: #F6F3ED; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.brand img { height: 40px; width: auto; }

.brand .wordmark {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.35;
}

.site-nav {
  display: flex;
  gap: 30px;
}

.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav a:hover { color: var(--ink); }

.site-header .btn { padding: 11px 22px; font-size: 14.5px; }

@media (max-width: 900px) {
  .site-nav { display: none; }
}

/* ---------- hero ---------- */

.hero { padding: 88px 0 64px; }

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.hero-copy { display: grid; gap: 26px; justify-items: start; }

.hero h1 {
  font-size: clamp(42px, 5.2vw, 66px);
  letter-spacing: -0.015em;
}

.hero .lead { max-width: 50ch; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-note {
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-photo { position: relative; }

.hero-photo image-slot,
.hero-photo .photo {
  width: 100%;
  height: 520px;
  box-shadow: 0 30px 60px -30px rgba(36, 56, 67, 0.35);
}

.hero-dots {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(3, 14px);
  gap: 12px;
  z-index: 2;
}

.hero-dots span { width: 14px; height: 14px; border-radius: 50%; }

.hero-dots.tl { top: -26px; left: -26px; }
.hero-dots.br { bottom: -26px; right: -26px; }

.dot-terracotta { background: var(--terracotta); }
.dot-slate { background: var(--slate); }
.dot-sage { background: var(--sage); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo image-slot, .hero-photo .photo { height: 420px; }
}

/* ---------- trust strip ---------- */

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  background: var(--surface);
}

.trust .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.trust-item strong { color: var(--ink); display: block; font-size: 14.5px; }

.trust-item .mini-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
}

@media (max-width: 900px) {
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- quem somos ---------- */

.about { padding: 110px 0 90px; }

.about .wrap {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 80px;
  align-items: start;
}

.about-copy { display: grid; gap: 20px; }

.about-copy h2 { font-size: clamp(32px, 3.8vw, 44px); }

.about-copy p { color: var(--ink-soft); text-wrap: pretty; }

.about-copy p strong { color: var(--ink); font-weight: 600; }

.values {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.value {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.value-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
}

.value:nth-child(1) .value-mark { background: var(--terracotta-soft); color: var(--terracotta); }
.value:nth-child(2) .value-mark { background: var(--slate-soft); color: var(--slate); }
.value:nth-child(3) .value-mark { background: var(--sage-soft); color: var(--sage); }

.value h3 { font-family: var(--font-body); font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }

.value p { font-size: 15px; color: var(--ink-soft); }

@media (max-width: 900px) {
  .about .wrap { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- caminhos (hub) ---------- */

.paths { padding: 100px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.paths .section-head { margin-left: auto; margin-right: auto; text-align: center; }

.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.path-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 44px 40px 40px;
  display: grid;
  gap: 22px;
  align-content: start;
  overflow: hidden;
}

.path-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--path-color);
}

.path-card.bruno { --path-color: var(--slate); --path-soft: var(--slate-soft); }
.path-card.adriana { --path-color: var(--terracotta); --path-soft: var(--terracotta-soft); }

.path-head {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 20px;
  align-items: center;
}

.path-head image-slot, .path-head .photo { width: 84px; height: 84px; }

/* fotos de produção (background-image; sem foto = bloco neutro, sem ícone quebrado) */
.photo { background-size: cover; background-position: center top; background-color: var(--slate-soft); }
.photo--round { border-radius: 26px; }
.photo--circle { border-radius: 50%; }

.path-head h3 { font-size: 27px; }

.path-head .crp {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.path-for {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20.5px;
  line-height: 1.4;
  color: var(--path-color);
  text-wrap: pretty;
}

.path-card > p { color: var(--ink-soft); font-size: 15.5px; }

.path-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.path-tags span {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--path-soft);
  color: var(--path-color);
}

.path-card .btn { justify-self: start; background: var(--path-color); color: #FAF7F1; }

.path-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.path-whats {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--path-color);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

/* curso */

.course-card {
  margin-top: 28px;
  border: 1.5px dashed color-mix(in oklab, var(--sage) 55%, transparent);
  border-radius: var(--radius-card);
  background: color-mix(in oklab, var(--sage-soft) 45%, var(--surface));
  padding: 34px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.course-card .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}

.course-card .badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.course-card h3 { font-size: 24px; margin-bottom: 6px; }

.course-card p { color: var(--ink-soft); font-size: 15.5px; max-width: 56ch; }

.course-card .btn { border-color: var(--sage); color: var(--sage); white-space: nowrap; }

.course-card .btn:hover { background: var(--sage); color: #FFF; }

@media (max-width: 900px) {
  .path-grid { grid-template-columns: 1fr; }
  .course-card { grid-template-columns: 1fr; }
}

/* ---------- como funciona ---------- */

.how { padding: 110px 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}

.step {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.step::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
}

.step h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; }

.step p { font-size: 15px; color: var(--ink-soft); }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- abordagem ---------- */

.approach {
  background: var(--slate-deep);
  color: #EDF1EE;
  padding: 110px 0;
}

.approach .eyebrow { color: var(--sage); }
.approach .eyebrow::before { background: var(--sage); }

.approach .section-head h2 { color: #F4F1EA; }

.approach .section-head p { color: rgba(237, 241, 238, 0.72); font-size: 18px; }

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(244, 241, 234, 0.16);
}

.approach-item {
  padding: 36px 36px 8px 0;
  border-right: 1px solid rgba(244, 241, 234, 0.16);
  display: grid;
  gap: 12px;
  align-content: start;
}

.approach-item:last-child { border-right: none; padding-right: 0; }

.approach-item h3 { font-size: 22px; color: #F4F1EA; }

.approach-item p { font-size: 15px; color: rgba(237, 241, 238, 0.72); }

.approach-foot {
  margin-top: 64px;
  padding: 22px 28px;
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-radius: 14px;
  font-size: 14.5px;
  color: rgba(237, 241, 238, 0.78);
  display: flex;
  gap: 14px;
  align-items: center;
}

.approach-foot .mini-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
}

@media (max-width: 900px) {
  .approach-grid { grid-template-columns: 1fr; }
  .approach-item { border-right: none; border-bottom: 1px solid rgba(244, 241, 234, 0.16); padding: 28px 0; }
}

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

.faq { padding: 110px 0; }

.faq .wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }

.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  font-size: 18px;
  font-weight: 600;
  position: relative;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-list .answer { padding: 0 32px 26px 0; color: var(--ink-soft); font-size: 15.5px; }

@media (max-width: 900px) {
  .faq .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- CTA final ---------- */

.final-cta { padding: 0 0 110px; }

.final-cta .inner {
  background: var(--accent-soft);
  border-radius: 28px;
  padding: 72px 64px;
  display: grid;
  gap: 22px;
  justify-items: center;
  text-align: center;
}

.final-cta h2 { font-size: clamp(30px, 3.6vw, 42px); max-width: 22ch; }

.final-cta p { color: var(--ink-soft); max-width: 52ch; text-wrap: pretty; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 64px 0 48px;
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}

.footer-top img { height: 96px; width: auto; }

.disclaimer {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 72ch;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: var(--ink-soft);
}

@media (max-width: 700px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- tweak hooks ---------- */

html[data-accent="slate"] { --accent: var(--slate); --accent-soft: var(--slate-soft); }
html[data-accent="sage"] { --accent: var(--sage); --accent-soft: var(--sage-soft); }
html[data-bg="neutro"] { --bg: #F7F7F4; }
html[data-course="off"] .course-card { display: none; }
