/* ===========================================================
   Diversão Intencional — Hubert Krause
   Palette extracted from the book cover:
   vivid lemon yellow #FFEE18 + deep indigo navy #2D2669
   =========================================================== */

:root {
  --yellow:      #FFEE18;
  --yellow-deep: #F2D200;
  --yellow-soft: #FFF6A6;
  --navy:        #2D2669;
  --navy-deep:   #201A4F;
  --navy-soft:   #5C5590;
  --navy-faint:  #8C87AD;

  --paper:      #FBF6E6;   /* warm near-white so the yellow pops */
  --paper-deep: #F4ECD6;
  --ink:        var(--navy);
  --ink-soft:   #565089;
  --ink-faint:  #8E89B0;
  --line:       #E5DCC1;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", -apple-system, system-ui, sans-serif;
  --cond:  "Saira Condensed", "Hanken Grotesk", sans-serif;

  --maxw: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

::selection { background: var(--navy); color: var(--yellow); }

a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ---------- grain overlay ---------- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9999;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 5vw, 3.4rem);
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  color: var(--navy);
}
/* the navy "eye" dot from the cover smiley */
.nav__mark {
  width: 15px; height: 17px;
  border-radius: 50%;
  background: var(--navy);
  flex: none;
}
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav__links a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color .25s var(--ease);
}
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 8px;
  background: var(--yellow);
  z-index: -1;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:not(.nav__cta):hover { color: var(--navy); }
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta {
  padding: .5rem 1.05rem;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  color: var(--navy) !important;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav__cta:hover { background: var(--navy); color: var(--yellow) !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .98rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  cursor: pointer;
}
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--solid {
  background: var(--navy);
  color: var(--yellow);
  box-shadow: 0 12px 30px -14px var(--navy);
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px var(--navy); }
.btn--ghost { color: var(--navy); border: 1.5px solid var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--yellow); transform: translateY(-2px); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 9vw, 7rem) clamp(1.2rem, 5vw, 3.4rem) clamp(3rem, 7vw, 5rem);
  display: grid;
  grid-template-columns: 1.25fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
/* the big yellow "sun" — echoes the full-yellow cover */
.hero__sun {
  position: absolute;
  top: -6%; right: 2%;
  width: min(48vw, 560px); aspect-ratio: 1;
  background: radial-gradient(circle, var(--yellow) 0%, var(--yellow) 30%, color-mix(in srgb, var(--yellow) 55%, transparent) 50%, transparent 70%);
  filter: blur(4px);
  z-index: 0;
  pointer-events: none;
  animation: breathe 9s var(--ease) infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .9; }
  50%      { transform: scale(1.05); opacity: 1; }
}
.hero__inner { position: relative; z-index: 1; }
.hero__kicker {
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  margin-bottom: 1.4rem;
}
.hero__title {
  font-family: var(--cond);
  font-weight: 800;
  font-size: clamp(3.6rem, 12vw, 8.2rem);
  line-height: .86;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--navy);
}
.hero__title span { display: block; }
.hero__title-em {
  font-weight: 800;
  position: relative;
  display: inline-block;
}
/* yellow swash under "Intencional" — nods to the cover's smile */
.hero__title-em::after {
  content: "";
  position: absolute; left: -.04em; right: -.04em; bottom: .08em;
  height: .2em;
  background: var(--yellow);
  z-index: -1;
  border-radius: 2px;
}
.hero__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  color: var(--ink-soft);
  margin-top: 1.2rem;
}
.hero__lede {
  max-width: 30rem;
  margin-top: 1.6rem;
  font-size: 1.06rem;
  color: var(--ink-soft);
}
.hero__lede em { color: var(--navy); font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* ---------- book object (replicates the real cover) ---------- */
.hero__book {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  perspective: 1600px;
}
.book {
  position: relative;
  width: clamp(210px, 24vw, 300px);
  transform: rotateY(-20deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform .8s var(--ease);
  border-radius: 3px 8px 8px 3px;
}
.hero__book:hover .book { transform: rotateY(-10deg) rotateX(1.5deg); }
.book__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px 8px 8px 3px;
  box-shadow:
    0 1px 0 var(--yellow-deep),
    38px 34px 70px -24px rgba(45, 38, 105, .5),
    0 6px 16px -6px rgba(45, 38, 105, .35);
}
/* faux page edge + spine for depth */
.book::before {
  content: "";
  position: absolute; top: 1.5%; right: -7px;
  width: 8px; height: 97%;
  background: linear-gradient(90deg, #efe4c2, #cdbf95);
  border-radius: 0 3px 3px 0;
  transform: rotateY(34deg);
  transform-origin: left;
  z-index: -1;
}
.book::after {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 14px; height: 100%;
  background: linear-gradient(var(--yellow-deep), #c9ae00);
  transform: translateX(-13px) rotateY(88deg);
  transform-origin: right;
  border-radius: 3px 0 0 3px;
}

/* ---------- manifesto ---------- */
.manifesto {
  max-width: 920px;
  margin: clamp(3rem, 8vw, 6rem) auto;
  padding: 0 clamp(1.2rem, 5vw, 3.4rem);
  text-align: center;
}
.manifesto__text {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  line-height: 1.32;
  letter-spacing: -.015em;
  font-weight: 400;
  color: var(--navy);
}
.manifesto__text .hl {
  background: linear-gradient(transparent 58%, var(--yellow) 58%);
  padding: 0 .1em;
}
.manifesto__lead {
  font-style: italic;
  font-family: var(--serif);
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  margin-top: 1.8rem;
}

/* ---------- section head ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.4rem); }
.section-head__num {
  display: inline-block;
  font-size: .82rem; letter-spacing: .2em; font-weight: 700;
  color: var(--navy);
  background: var(--yellow);
  padding: .15em .5em;
  border-radius: 4px;
  margin-bottom: .9rem;
}
.section-head__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.025em;
  color: var(--navy);
}
.section-head__intro {
  margin-top: 1.2rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

/* ---------- método ---------- */
.method, .book-index, .author {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.2rem, 5vw, 3.4rem);
}
.moves {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
}
.move {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.8rem 1.6rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.move:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 46px -28px rgba(45, 38, 105, .45);
  border-color: var(--navy);
}
.move__index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--navy);
  line-height: 1;
  display: inline-block;
  margin-bottom: 1rem;
  background: var(--yellow);
  width: 2.1em; height: 2.1em;
  text-align: center;
  line-height: 2.1em;
  border-radius: 50%;
}
.move__title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: .6rem;
  letter-spacing: -.01em;
  color: var(--navy);
}
.move__desc { color: var(--ink-soft); font-size: 1rem; }

/* ---------- pull quote ---------- */
.pull {
  background: var(--navy);
  color: var(--paper);
  padding: clamp(4rem, 11vw, 8rem) clamp(1.2rem, 5vw, 3.4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pull--alt { background: var(--yellow); }
.pull__quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 5vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -.02em;
  max-width: 32ch;
  margin: 0 auto;
}
.pull__em { font-style: italic; color: var(--yellow); }
.pull--alt .pull__quote { color: var(--navy); }
.pull--alt .pull__em { color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- book index / parts ---------- */
.parts { list-style: none; border-top: 2px solid var(--navy); }
.part {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: .4rem 1.6rem;
  padding: 1.5rem .4rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding-left .3s var(--ease), background .3s var(--ease);
}
.part:hover { padding-left: 1rem; background: var(--yellow); }
.part__num {
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--ink-faint);
}
.part:hover .part__num { color: var(--navy); }
.part__name {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -.015em;
  grid-column: 2;
  color: var(--navy);
}
.part__note { grid-column: 2; color: var(--ink-soft); font-size: .98rem; }
.part:hover .part__note { color: var(--navy-deep); }

/* ---------- prefácios ---------- */
.prefaces {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.2rem, 5vw, 3.4rem);
}
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 1.8rem);
}
.quote {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.2rem 2rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.quote:hover {
  transform: translateY(-4px);
  border-color: var(--navy);
  box-shadow: 0 26px 46px -28px rgba(45, 38, 105, .4);
}
.quote__mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 4.2rem;
  line-height: .7;
  color: var(--navy);
  display: block;
  height: 2.2rem;
}
.quote__text {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.36;
  letter-spacing: -.01em;
  color: var(--navy);
  font-weight: 500;
}
.quote__by {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.quote__name { font-weight: 700; color: var(--navy); font-size: 1.02rem; }
.quote__role { font-size: .9rem; color: var(--ink-soft); line-height: 1.4; }

/* ---------- author ---------- */
.author {
  display: grid;
  grid-template-columns: .8fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.author__media { display: flex; justify-content: center; align-items: center; }
/* author portrait — yellow background matches the brand palette */
.author__photo {
  flex: none;
  width: clamp(150px, 16vw, 200px);
  height: clamp(150px, 16vw, 200px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: var(--yellow);
  box-shadow: 0 26px 52px -28px var(--navy);
}
.author__name {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -.02em;
  margin: .6rem 0 1.1rem;
  color: var(--navy);
}
.author__bio { font-size: 1.12rem; color: var(--ink-soft); max-width: 40rem; }
.author__bio em { color: var(--navy); font-style: italic; }
.author__prefaces { margin-top: 1.2rem; color: var(--ink-faint); font-size: 1rem; }
.author__prefaces strong { color: var(--navy); }

/* ---------- buy ---------- */
.buy { padding: clamp(3rem, 7vw, 5rem) clamp(1.2rem, 5vw, 3.4rem); }
.buy__card {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--navy);
  color: var(--paper);
  border-radius: 22px;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.buy__card > * { position: relative; z-index: 1; }
/* book + glow share a centered container so the halo sits behind the book */
.buy__mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: -80px;
  margin-bottom: 30px;
}
.buy__sun {
  position: absolute;
  z-index: 0;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 150%; height: 120%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--yellow) 50%, transparent) 0%, color-mix(in srgb, var(--yellow) 18%, transparent) 34%, transparent 62%);
  pointer-events: none;
  filter: blur(6px);
}
.buy__mockup {
  display: block;
  position: relative;
  z-index: 1;
  width: clamp(300px, 52vw, 620px);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45));
  animation: float 6s var(--ease) infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) { .buy__mockup { animation: none; } }
.buy__eyebrow {
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--yellow); font-weight: 600;
}
.buy__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -.025em;
  margin: 1rem 0;
  color: var(--paper);
}
.buy__text { color: color-mix(in srgb, var(--paper) 80%, var(--navy)); font-size: 1.1rem; max-width: 32rem; margin: 0 auto 2rem; }
.buy__text em { color: var(--yellow); font-style: italic; }
.buy__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
/* on the navy card, the solid button flips to yellow */
.buy__card .btn--solid { background: var(--yellow); color: var(--navy); box-shadow: 0 12px 30px -14px rgba(0,0,0,.5); }
.buy__card .btn--ghost { color: var(--paper); border-color: var(--paper); }
.buy__card .btn--ghost:hover { background: var(--paper); color: var(--navy); }
.buy__isbn { margin-top: 2rem; font-size: .82rem; letter-spacing: .1em; color: var(--navy-soft); }

/* ---------- footer ---------- */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.2rem, 5vw, 3.4rem);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}
.footer__brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--serif); font-weight: 600; font-size: 1.1rem;
  color: var(--navy);
}
.footer__cols { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: .35rem; }
.footer__label {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700;
}
.footer__col a { color: var(--ink-soft); transition: color .25s var(--ease); }
.footer__col a:hover { color: var(--navy); }
.footer__fine { grid-column: 1 / -1; color: var(--ink-faint); font-size: .85rem; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; }
  .hero__book { order: -1; margin-bottom: 1rem; }
  .moves { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .buy__mockup-wrap { margin-top: 30px; }
  .author { grid-template-columns: 1fr; text-align: center; }
  .author__bio, .section-head__intro { margin-left: auto; margin-right: auto; }
}
@media (max-width: 620px) {
  .part { grid-template-columns: 1fr; }
  .part__name, .part__note { grid-column: 1; }
  .footer { grid-template-columns: 1fr; }
}

/* ===========================================================
   NEW SECTIONS — navigation upgrade, sub-pages, tools
   =========================================================== */

/* tighter desktop nav to fit more links */
.nav__links { gap: clamp(.7rem, 1.8vw, 1.4rem); }
.nav__links a { font-size: .9rem; }

/* hamburger toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border: 1.5px solid var(--navy);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.nav__toggle span {
  display: block; height: 2.5px; width: 20px; margin: 0 auto;
  background: var(--navy); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(45,38,105,.4);
    padding: .5rem clamp(1.2rem, 5vw, 3.4rem) 1.2rem;
    max-height: 0; overflow: hidden;
    opacity: 0; pointer-events: none;
    transition: max-height .35s var(--ease), opacity .25s var(--ease);
  }
  .nav__links.is-open { max-height: 80vh; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: .85rem .2rem; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.nav__cta)::after { display: none; }
  .nav__cta { text-align: center; margin-top: .8rem; border-width: 1.5px; }
}

/* ---------- sub-page hero band ---------- */
.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--paper);
  padding: clamp(3rem, 8vw, 6rem) clamp(1.2rem, 5vw, 3.4rem) clamp(2.6rem, 6vw, 4.5rem);
  overflow: hidden;
}
.page-hero__sun {
  position: absolute; top: -30%; right: -8%;
  width: min(46vw, 520px); aspect-ratio: 1;
  background: radial-gradient(circle, color-mix(in srgb, var(--yellow) 36%, transparent) 0%, transparent 62%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; }
.page-hero__kicker {
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--yellow); font-weight: 700; margin-bottom: 1rem;
}
.page-hero__title {
  font-family: var(--cond);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: .9;
  letter-spacing: -.005em;
}
.page-hero__lede {
  margin-top: 1.4rem;
  max-width: 46rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: color-mix(in srgb, var(--paper) 82%, var(--navy));
}
.page-hero__lede em { color: var(--yellow); font-style: italic; }

/* generic content wrapper */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.2rem, 5vw, 3.4rem);
}
.wrap--narrow { max-width: 880px; }

/* ---------- accordion (palestras / workshops) ---------- */
.talks { display: flex; flex-direction: column; gap: 0; border-top: 2px solid var(--navy); }
.talk {
  border-bottom: 1px solid var(--line);
}
.talk[open] { background: var(--paper-deep); }
.talk__summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.5rem .6rem;
  transition: padding-left .3s var(--ease), background .3s var(--ease);
}
.talk__summary::-webkit-details-marker { display: none; }
.talk[open] .talk__summary { padding-left: 1rem; }
.talk__index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--navy);
  background: var(--yellow);
  width: 2.4em; height: 2.4em; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
}
.talk__title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.8vw, 1.7rem);
  font-weight: 600; letter-spacing: -.015em;
  color: var(--navy);
  flex: 1;
}
.talk__chev {
  flex: none; width: 26px; height: 26px;
  border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy);
  transform: rotate(45deg); transition: transform .3s var(--ease);
  margin-right: .4rem;
}
.talk[open] .talk__chev { transform: rotate(-135deg); }
.talk__body {
  padding: 0 .6rem 1.8rem calc(2.4em + 1.2rem + .6rem);
  color: var(--ink-soft);
  font-size: 1.06rem; line-height: 1.6;
  max-width: 60rem;
}
@media (max-width: 620px) {
  .talk__body { padding-left: .6rem; }
}

/* ---------- downloads grid ---------- */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
}
.dl-card {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.dl-card:hover { transform: translateY(-5px); border-color: var(--navy); box-shadow: 0 26px 46px -28px rgba(45,38,105,.45); }
.dl-card__img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.dl-card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.dl-card__title { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--navy); }
.dl-card__desc { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.dl-card__btn { margin-top: .6rem; align-self: flex-start; }

/* ---------- fun fusion (roletas) ---------- */
.ff-wheels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: start;
}
.ff-wheel { text-align: center; }
.ff-wheel__label {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .04em;
  font-weight: 700; color: var(--navy); font-size: 1.05rem; margin-bottom: 1rem;
}
.ff-wheel__stage {
  position: relative; width: 100%; max-width: 340px; margin: 0 auto;
  aspect-ratio: 1;
}
.ff-wheel__pointer {
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; z-index: 3;
  border-left: 13px solid transparent; border-right: 13px solid transparent;
  border-top: 22px solid var(--navy);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.3));
}
.ff-wheel__img {
  width: 100%; height: 100%; display: block; border-radius: 50%;
  transform: rotate(0deg);
  transition: transform 4.5s cubic-bezier(.17,.67,.12,1);
}
.ff-wheel__result {
  margin-top: 1rem; min-height: 1.6em;
  font-weight: 700; color: var(--navy); font-size: 1.05rem;
}
.ff-wheel__result.is-empty { color: var(--ink-faint); font-weight: 500; }
.ff-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin: clamp(2rem,5vw,3rem) 0; }
.ff-combo {
  background: var(--navy); color: var(--paper);
  border-radius: 20px; padding: clamp(2rem,5vw,3rem);
  text-align: center; position: relative; overflow: hidden;
  opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.ff-combo.is-visible { opacity: 1; transform: none; }
.ff-combo__eyebrow { color: var(--yellow); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.ff-combo__line {
  font-family: var(--serif); font-size: clamp(1.3rem, 3.4vw, 2.1rem);
  line-height: 1.3; margin-top: 1rem;
}
.ff-combo__line strong { color: var(--yellow); font-weight: 600; font-style: italic; }
.ff-combo__hint { margin-top: 1.4rem; color: color-mix(in srgb, var(--paper) 80%, var(--navy)); font-size: 1rem; }

/* ---------- mapas list ---------- */
.map-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.map-card {
  display: flex; flex-direction: column; gap: .8rem;
  background: var(--paper-deep); border: 1px solid var(--line);
  border-radius: 18px; padding: 2rem 1.8rem;
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.map-card:hover { transform: translateY(-5px); border-color: var(--navy); box-shadow: 0 26px 46px -28px rgba(45,38,105,.45); }
.map-card__tag { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--navy); background: var(--yellow); align-self: flex-start; padding: .15em .5em; border-radius: 4px; }
.map-card__title { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 600; color: var(--navy); letter-spacing: -.015em; }
.map-card__desc { color: var(--ink-soft); font-size: 1rem; }
.map-card__cta { margin-top: auto; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: .4rem; }

/* ---------- test (mapa) form ---------- */
.test__block { margin-bottom: 2.4rem; }
.test__block-title {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .04em;
  font-weight: 700; color: var(--navy); font-size: 1rem;
  padding-bottom: .5rem; border-bottom: 2px solid var(--yellow); margin-bottom: 1rem;
}
.affirm {
  padding: 1.1rem 0; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto; gap: .8rem 1.2rem; align-items: center;
}
.affirm__text { color: var(--navy); font-size: 1.02rem; }
.scale { display: flex; gap: .4rem; }
.scale label {
  position: relative; cursor: pointer;
}
.scale input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.scale span {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--line); color: var(--ink-soft);
  font-weight: 700; font-size: .95rem;
  transition: all .2s var(--ease);
}
.scale label:hover span { border-color: var(--navy); }
.scale input:checked + span { background: var(--navy); color: var(--yellow); border-color: var(--navy); }
.scale__legend { display: flex; justify-content: space-between; color: var(--ink-faint); font-size: .82rem; margin-bottom: 1.4rem; }

.lead {
  background: var(--paper-deep); border: 1px solid var(--line);
  border-radius: 18px; padding: clamp(1.6rem, 4vw, 2.4rem); margin-top: 1rem;
}
.lead__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.lead__sub { color: var(--ink-soft); margin-bottom: 1.4rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font-weight: 600; color: var(--navy); font-size: .92rem; }
.field input, .field textarea {
  font: inherit; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--navy);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); margin: .4rem 0 1.4rem; }
.consent input { margin-top: .2rem; }
.form-msg { margin-top: 1rem; font-weight: 600; }
.form-msg.ok { color: #1f7a4d; }
.form-msg.err { color: #b3261e; }
.test__progress { position: sticky; top: 72px; z-index: 5; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 2rem; }
.test__progress span { display: block; height: 100%; width: 0; background: var(--navy); transition: width .3s var(--ease); }

/* ---------- depoimentos ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem); }
.testi {
  background: var(--paper-deep); border: 1px solid var(--line);
  border-radius: 16px; padding: 1.8rem 1.6rem;
  display: flex; flex-direction: column; gap: 1.2rem;
}
.testi__text { font-family: var(--serif); font-size: 1.1rem; line-height: 1.4; color: var(--navy); }
.testi__text::before { content: "“"; font-family: var(--serif); font-size: 2.4rem; color: var(--yellow); line-height: 0; display: block; height: .6em; }
.testi__by { display: flex; align-items: center; gap: .8rem; }
.testi__avatar {
  width: 100px; height: 100px; flex: none;
  border-radius: 50%; object-fit: cover; object-position: center top;
  border: 3px solid var(--yellow);
  background: var(--paper);
}
.testi__byline { display: flex; flex-direction: column; gap: .2rem; }
.testi__name { font-weight: 700; color: var(--navy); }
.testi__role { font-size: .88rem; color: var(--ink-soft); }
.testi__source { text-align: center; margin-top: 2rem; color: var(--ink-soft); }
.testi__source a { color: var(--navy); font-weight: 700; }

/* ---------- cross-reference callout ---------- */
.callout {
  display: flex; gap: 1.2rem; align-items: center;
  background: var(--yellow); color: var(--navy);
  border-radius: 16px; padding: 1.4rem 1.6rem; margin: 1.5rem 0;
}
.callout__icon { font-size: 1.8rem; flex: none; }
.callout p { font-size: 1rem; }
.callout a { font-weight: 700; text-decoration: underline; }

@media (max-width: 880px) {
  .dl-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .ff-wheels { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .map-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .affirm { grid-template-columns: 1fr; }
  .scale span { width: 34px; height: 34px; }
}

/* ---------- fun fusion AI suggestion ---------- */
.ff-suggestion { margin-top: 1.4rem; }
.ff-suggestion__loading { color: var(--yellow); font-weight: 600; }
.ff-suggestion__card {
  background: color-mix(in srgb, var(--paper) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--yellow) 35%, transparent);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  text-align: left;
  max-width: 640px;
  margin: 0 auto;
}
.ff-suggestion__h {
  font-family: var(--cond); text-transform: uppercase; letter-spacing: .05em;
  color: var(--yellow); font-size: .95rem; margin: 1rem 0 .3rem;
}
.ff-suggestion__h:first-child { margin-top: 0; }
.ff-suggestion__card p { color: color-mix(in srgb, var(--paper) 88%, var(--navy)); line-height: 1.55; }

/* ---------- WhatsApp CTA + modal ---------- */
.btn--wa { background: #25D366; color: #0b3d23; box-shadow: 0 12px 30px -14px rgba(37,211,102,.8); }
.btn--wa:hover { background: #1ebe5b; color: #0b3d23; transform: translateY(-2px); }
.btn--wa::before {
  content: ""; width: 20px; height: 20px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 .4C7.4.4.5 7.3.5 15.9c0 2.8.7 5.4 2 7.8L.4 31.6l8.1-2.1c2.3 1.3 4.9 1.9 7.5 1.9 8.6 0 15.5-6.9 15.5-15.5S24.6.4 16 .4zm0 28.3c-2.4 0-4.7-.6-6.7-1.8l-.5-.3-4.8 1.3 1.3-4.7-.3-.5c-1.3-2.1-2-4.5-2-7 0-7.2 5.9-13.1 13.1-13.1S29.1 8.8 29.1 16 23.2 28.7 16 28.7zm7.2-9.8c-.4-.2-2.3-1.1-2.7-1.3-.4-.1-.6-.2-.9.2-.3.4-1 1.3-1.2 1.5-.2.2-.4.3-.8.1-.4-.2-1.7-.6-3.2-2-1.2-1.1-2-2.4-2.2-2.8-.2-.4 0-.6.2-.8.2-.2.4-.4.5-.7.2-.2.2-.4.4-.6.1-.3 0-.5 0-.7-.1-.2-.9-2.1-1.2-2.9-.3-.8-.6-.7-.9-.7h-.7c-.2 0-.6.1-1 .5s-1.4 1.3-1.4 3.2 1.4 3.7 1.6 4c.2.3 2.8 4.3 6.8 6 .9.4 1.7.6 2.3.8.9.3 1.8.2 2.5.1.8-.1 2.3-.9 2.6-1.9.3-.9.3-1.7.2-1.9-.1-.1-.3-.2-.7-.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 .4C7.4.4.5 7.3.5 15.9c0 2.8.7 5.4 2 7.8L.4 31.6l8.1-2.1c2.3 1.3 4.9 1.9 7.5 1.9 8.6 0 15.5-6.9 15.5-15.5S24.6.4 16 .4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.callout .js-wa { cursor: pointer; }
.callout { flex-wrap: wrap; }

/* footer WhatsApp link with small icon */
.footer__col a.js-wa { cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; }
.footer__col a.js-wa::before {
  content: ""; width: 15px; height: 15px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 .4C7.4.4.5 7.3.5 15.9c0 2.8.7 5.4 2 7.8L.4 31.6l8.1-2.1c2.3 1.3 4.9 1.9 7.5 1.9 8.6 0 15.5-6.9 15.5-15.5S24.6.4 16 .4zm0 28.3c-2.4 0-4.7-.6-6.7-1.8l-.5-.3-4.8 1.3 1.3-4.7-.3-.5c-1.3-2.1-2-4.5-2-7 0-7.2 5.9-13.1 13.1-13.1S29.1 8.8 29.1 16 23.2 28.7 16 28.7zm7.2-9.8c-.4-.2-2.3-1.1-2.7-1.3-.4-.1-.6-.2-.9.2-.3.4-1 1.3-1.2 1.5-.2.2-.4.3-.8.1-.4-.2-1.7-.6-3.2-2-1.2-1.1-2-2.4-2.2-2.8-.2-.4 0-.6.2-.8.2-.2.4-.4.5-.7.2-.2.2-.4.4-.6.1-.3 0-.5 0-.7-.1-.2-.9-2.1-1.2-2.9-.3-.8-.6-.7-.9-.7h-.7c-.2 0-.6.1-1 .5s-1.4 1.3-1.4 3.2 1.4 3.7 1.6 4c.2.3 2.8 4.3 6.8 6 .9.4 1.7.6 2.3.8.9.3 1.8.2 2.5.1.8-.1 2.3-.9 2.6-1.9.3-.9.3-1.7.2-1.9-.1-.1-.3-.2-.7-.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 .4C7.4.4.5 7.3.5 15.9c0 2.8.7 5.4 2 7.8L.4 31.6l8.1-2.1c2.3 1.3 4.9 1.9 7.5 1.9 8.6 0 15.5-6.9 15.5-15.5S24.6.4 16 .4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.wa-modal { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 1.2rem; }
.wa-modal[hidden] { display: none; }
.wa-modal__backdrop { position: absolute; inset: 0; background: rgba(32,26,79,.55); backdrop-filter: blur(3px); }
.wa-modal__card {
  position: relative; z-index: 1;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; padding: clamp(1.6rem,4vw,2.4rem);
  width: 100%; max-width: 440px;
  box-shadow: 0 40px 80px -30px rgba(45,38,105,.6);
  animation: wa-pop .3s var(--ease);
}
@keyframes wa-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.wa-modal__close {
  position: absolute; top: .8rem; right: 1rem;
  background: transparent; border: 0; font-size: 1.8rem; line-height: 1;
  color: var(--ink-soft); cursor: pointer;
}
.wa-modal__close:hover { color: var(--navy); }
.wa-modal__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--navy); margin-bottom: .3rem; }
.wa-modal__sub { color: var(--ink-soft); margin-bottom: 1.2rem; font-size: .98rem; }
.wa-modal__go { width: 100%; justify-content: center; margin-top: .4rem; }
@media (prefers-reduced-motion: reduce) { .wa-modal__card { animation: none; } }

/* ---------- buy: chamada da versão impressa ---------- */
.buy__reserva {
  display: inline-block;
  margin: .7rem auto 0;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .5em .9em;
  border-radius: 999px;
}

/* ---------- reserva (formulário de pedido) ---------- */
.order { display: flex; flex-direction: column; gap: 1.4rem; }
.order__price {
  font-family: var(--serif); font-weight: 600; color: var(--navy);
  font-size: 1.05rem; white-space: nowrap;
}
.opt {
  display: flex; align-items: flex-start; gap: .8rem;
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 1rem 1.1rem; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.opt:hover { border-color: var(--navy); }
.opt input { margin-top: .25rem; accent-color: var(--navy); flex: none; }
.opt:has(input:checked) { border-color: var(--navy); background: color-mix(in srgb, var(--yellow) 22%, transparent); }
.opt__label { display: flex; flex-direction: column; gap: .15rem; }
.opt__title { font-weight: 700; color: var(--navy); }
.opt__desc { font-size: .9rem; color: var(--ink-soft); }
.order__options { display: flex; flex-direction: column; gap: .7rem; }
.field--inline { max-width: 200px; }
