:root {
  --black: #0c0806;
  --maroon: #2a0a06;
  --red: #c81f1f;
  --red-dark: #8a1414;
  --cream: #f3ede1;
  --page-bg: #d9d1c2;
  --white-soft: #f4eee0;
  --gray: #8f8a82;
  --gray-dark: #4a453f;
  --white: #ffffff;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch' result='noise'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='2.2' intercept='-0.35'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Textura granulada reutilizável para os fundos claros (--page-bg) */
body,
.sinopse,
.autora,
.trabalhos {
  background-color: var(--page-bg);
  background-image: var(--grain);
  background-repeat: repeat;
  background-blend-mode: overlay;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--black);
  overflow-x: hidden;
  cursor: default;
}

h1,
h2,
h3,
.display {
  font-family: 'Bitter', serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

@media(max-width:480px) {
  .container {
    padding: 0 22px;
  }
}

::selection {
  background: var(--red);
  color: var(--white);
}

/* ---------- Click spark canvas ---------- */
#sparkCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  transform: scaleX(var(--scroll, 0));
  transform-origin: 0 50%;
  z-index: 1000;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    display: none;
  }
}

/* ---------- Nav ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}

nav.scrolled {
  background: rgba(12, 8, 6, 0.92);
  padding: 14px 40px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}

.nav-name {
  font-family: 'Bitter', serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--white);
  text-transform: uppercase;
}

@media(max-width:480px) {

  nav,
  nav.scrolled {
    padding: 16px 20px;
  }

  .nav-name {
    font-size: 13px;
  }
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .8;
  transition: opacity .25s ease, color .25s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--red);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 600;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .35s cubic-bezier(.19, 1, .22, 1), opacity .25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 8, 6, .55);
  z-index: 499;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

@media(max-width:960px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 550;
    height: 100vh;
    height: 100dvh;
    width: min(78vw, 320px);
    background: rgba(12, 8, 6, .98);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 100px 44px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .45s cubic-bezier(.19, 1, .22, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, .4);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 16px;
    letter-spacing: .08em;
  }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  filter: blur(12px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.from-left {
  transform: translateX(-70px) translateY(20px) rotate(-1deg);
}

.reveal.from-right {
  transform: translateX(70px) translateY(20px) rotate(1deg);
}

.reveal.from-bottom {
  transform: translateY(65px) scale(0.96);
}

.reveal.from-center {
  transform: scale(.88) translateY(30px);
}

.reveal.in-view {
  opacity: 1;
  filter: blur(0);
  transform: translate(0, 0) scale(1) rotate(0deg);
  will-change: auto;
}

/* Image zoom & smooth hover effect */
img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

@media (hover: hover) and (pointer: fine) {

  .quote-photo-inner img:hover,
  .autora-photo img:hover,
  .pub-item:hover img {
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    filter: none;
    transition: opacity 0.5s ease;
  }
}


@media(max-width:720px) {
  .reveal {
    filter: none;
    transition-duration: .88s;
  }

  .reveal.in-view {
    filter: none;
  }

  .reveal.from-left {
    transform: translateX(-28px) translateY(10px);
  }

  .reveal.from-right {
    transform: translateX(28px) translateY(10px);
  }

  .reveal.from-bottom {
    transform: translateY(32px);
  }

  .reveal-sequence .reveal-sequence-item {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity .86s cubic-bezier(.16, 1, .3, 1),
      transform .9s cubic-bezier(.16, 1, .3, 1);
    transition-delay: calc(.05s + var(--sequence-index, 0) * .14s);
  }

  .reveal-sequence.in-view .reveal-sequence-item {
    opacity: 1;
    transform: none;
  }

  .mobile-reveal-item {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity .84s cubic-bezier(.16, 1, .3, 1),
      transform .9s cubic-bezier(.16, 1, .3, 1);
    transition-delay: var(--mobile-item-delay, 0ms);
  }

  .mobile-reveal-item.mobile-in-view {
    opacity: 1;
    transform: none;
  }

}

/* ---------- Ambient glow (seções escuras) ----------
   Dois brilhos radiais vermelhos, borrados, que se deslocam
   suavemente conforme a página é rolada — usa a variável
   --scroll (0 a 1, atualizada via JS) para dar continuidade
   visual entre as seções escuras do site. */
.ambient-glow {
  position: relative;
  overflow: hidden;
}

.ambient-glow::before {
  content: '';
  position: absolute;
  inset: -20% -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(480px circle at calc(15% + var(--scroll, 0) * 55%) calc(15% + var(--scroll, 0) * 70%), rgba(200, 31, 31, .20), transparent 65%),
    radial-gradient(560px circle at calc(88% - var(--scroll, 0) * 50%) calc(85% - var(--scroll, 0) * 55%), rgba(138, 20, 20, .16), transparent 70%);
  filter: blur(70px);
  will-change: background;
}

.ambient-glow>* {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .ambient-glow::before {
    background:
      radial-gradient(480px circle at 30% 30%, rgba(200, 31, 31, .18), transparent 65%),
      radial-gradient(560px circle at 75% 70%, rgba(138, 20, 20, .14), transparent 70%);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: brightness(.55) saturate(0.9);
  transform: scale(1.08);
  animation: heroIntro 2.8s cubic-bezier(.16, .72, .23, 1) forwards;
}

@keyframes heroIntro {
  0% {
    transform: scale(2);
  }

  100% {
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    animation: none;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 8, 6, .55) 0%, rgba(12, 8, 6, .25) 40%, rgba(12, 8, 6, .85) 100%);
}

/* Cortinas que se abrem na carga do hero, revelando o fundo e o título
   em vez de simplesmente deixar o texto surgir sobre a cena já visível. */
.hero-curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 51%;
  background: var(--black);
  z-index: 3;
}

.hero-curtain--left {
  left: 0;
  animation: curtainOpenLeft 1.15s cubic-bezier(.76, 0, .24, 1) forwards;
  border-right: 1px solid rgba(200, 31, 31, .35);
}

.hero-curtain--right {
  right: 0;
  animation: curtainOpenRight 1.15s cubic-bezier(.76, 0, .24, 1) forwards;
  border-left: 1px solid rgba(200, 31, 31, .35);
}

@keyframes curtainOpenLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes curtainOpenRight {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-curtain {
    display: none;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 24px;
  max-width: 980px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
  font-weight: 600;
}

.fold-perspective {
  perspective: 700px;
  perspective-origin: 50% 100%;
}

.fold-title {
  font-size: clamp(2.6rem, 8vw, 6rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--white);
}

.fold-title .line2 {
  color: var(--red);
}

@media(max-width:480px) {
  .fold-title {
    font-size: clamp(1.5rem, 8vw, 6rem);
  }
}

@media(max-width:360px) {
  .fold-title {
    font-size: clamp(1.3rem, 7.6vw, 6rem);
  }
}

.fold-char {
  display: inline-block;
  opacity: 0;
  transform: rotateX(-90deg) translateY(30px);
  transform-origin: 50% 100%;
  position: relative;
}

.fold-char.play {
  animation: foldIn 0.55s cubic-bezier(.22, 1, .36, 1) forwards;
}

/* Crease shading — subtle dark gradient simulating a fold crease */
.fold-char::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, transparent 60%);
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.55s cubic-bezier(.22, 1, .36, 1);
}

.fold-char.play::after {
  animation: creaseOut 0.55s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes foldIn {
  to {
    opacity: 1;
    transform: rotateX(0) translateY(0);
  }
}

@keyframes creaseOut {
  to {
    opacity: 0;
  }
}

.hero-sub {
  font-family: 'Bitter', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: var(--cream);
  margin-top: 26px;
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 1s cubic-bezier(.22, 1, .36, 1) 1.05s forwards;
}

.hero-tagline {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s cubic-bezier(.22, 1, .36, 1) 1.35s forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- RotatingText ---------- */
.rotating-text-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.rotating-text-static {
  color: var(--gray);
}

.rotating-text {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  vertical-align: middle;
  background: var(--red);
  color: var(--white);
  padding: 4px 22px;
  border-radius: 4px;
  height: 1.7em;
  min-width: 160px;
  justify-content: center;
  align-items: center;
}

.rotating-text__item {
  position: absolute;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(.175, .885, .32, 1.275),
    opacity 0.35s ease;
}

.rotating-text__item.is-active {
  transform: translateY(0);
  opacity: 1;
}

.rotating-text__item.is-exiting {
  transform: translateY(-120%);
  opacity: 0;
}

@media(max-width:480px) {
  .hero-tagline {
    font-size: 11px;
  }

  .rotating-text-wrapper {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .rotating-text {
    min-width: 145px;
    padding: 4px 14px;
  }

  .rotating-text__item {
    font-size: 11px;
  }
}

/* ---------- SplitText (scroll-triggered char animation) ---------- */
.split-word {
  display: inline-block;
  white-space: nowrap;
}

.split-text .split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(45px) rotateX(-50deg) scale(0.9);
  transform-origin: 50% 100%;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-text.split-animated .split-char {
  opacity: 1;
  transform: translateY(0) rotateX(0deg) scale(1);
}

/* ---------- Countdown ---------- */
.countdown-wrap {
  position: relative;
  z-index: 2;
  margin-top: 44px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.cd-box {
  min-width: 100px;
  padding: 16px 14px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, .25);
  border-radius: 2px;
}

.cd-num {
  font-family: 'Bitter', serif;
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--white);
}

.cd-label {
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

.cd-caption {
  font-size: 12px;
  color: var(--cream);
  opacity: .7;
  margin-top: 16px;
  letter-spacing: .05em;
}

/* ---------- Quote blocks scattered ---------- */
.quote-section {
  padding: 110px 0;
  position: relative;
}

.quote-section--tight {
  padding-top: 0;
}

@media(max-width:720px) {
  .quote-section--tight {
    padding-top: 0;
  }
}

.quote-section.dark {
  background: var(--black);
  color: var(--cream);
}

.cursor-grid-bg {
  overflow: hidden;
}

.quote-section.dark.goal-bg {
  background-image: linear-gradient(rgba(12, 8, 6, .7), rgba(12, 8, 6, .78)), url('assets/quote-goal-bg.webp');
  background-size: cover;
  background-position: center 55%;
  background-attachment: scroll;
}

@media(min-width:900px) {
  .quote-section.dark.goal-bg {
    background-attachment: fixed;
  }
}

.cursor-grid-bg .container {
  position: relative;
  z-index: 1;
}

.cursor-grid-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.quote-block {
  max-width: 640px;
  font-family: 'Bitter', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.5;
  font-weight: 400;
  position: relative;
}

.quote-block::before {
  content: '\201C';
  position: absolute;
  top: -.5em;
  left: -.3em;
  font-size: 3em;
  color: var(--red);
  opacity: .5;
  font-family: 'Bitter', serif;
}

.quote-mark {
  color: var(--red);
  font-weight: 700;
}

.quote-left {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.quote-right {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

.quote-center {
  margin: 0 auto;
  text-align: center;
}

.quote-attr {
  margin-top: 20px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .6;
}

.quote-block--photo-bg {
  padding: 56px 60px;
  border-radius: 6px;
  background-image: linear-gradient(rgba(12, 8, 6, .72), rgba(12, 8, 6, .72)), url('assets/quote-goal-bg.webp');
  background-size: cover;
  background-position: center 60%;
}

@media(max-width:600px) {
  .quote-block--photo-bg {
    padding: 36px 26px;
  }
}

/* quote paired with a photo (Quote 1 and Quote 5) */
.quote-photo-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: center;
}

.quote-photo-grid--reverse {
  grid-template-columns: .85fr 1.15fr;
}

.quote-photo-grid--reverse .quote-photo-frame {
  order: 1;
}

.quote-photo-grid--reverse .quote-block {
  order: 2;
}

/* ---------- Marca d'água "Um pouco sobre mim" ---------- */
.sobre-mim-section {
  overflow: hidden;
}

.sobre-mim-section .quote-photo-grid {
  position: relative;
  z-index: 0;
}

.autora-watermark {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
  transform: translateY(80px);
  pointer-events: none;
  user-select: none;
}

.autora-watermark span {
  font-family: 'Bitter', serif;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: clamp(4.5rem, 13vw, 11rem);
  line-height: 1;
  letter-spacing: .01em;
  color: rgba(12, 8, 6, .14);
}

.quote-photo-frame {
  position: relative;
  max-width: 380px;
  justify-self: end;
}

.quote-photo-grid--reverse .quote-photo-frame {
  justify-self: start;
  width: 100%;
  aspect-ratio: 1200 / 1213;
}

.quote-photo-grid--reverse .quote-photo-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 2px;
}


.sobre-mim-label {
  display: block;
  font-family: 'Bitter', serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--black);
  margin-bottom: 30px;
}

.sobre-mim-label em {
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}

.sobre-mim {
  position: relative;
  padding-left: 26px;
}

.sobre-mim::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1s cubic-bezier(.22, 1, .36, 1) .3s;
}

.sobre-mim.reveal.in-view::before {
  transform: scaleY(1);
}

.sobre-mim p {
  max-width: 520px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--gray-dark);
  margin-bottom: 18px;
}

.sobre-mim p:last-child {
  margin-bottom: 0;
}

.quote-photo-frame::after {
  content: '';
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--red);
  z-index: -1;
  transform: scale(.85);
  opacity: 0;
  transition: transform 1s cubic-bezier(.22, 1, .36, 1) .15s, opacity 1s ease .15s;
}

.quote-photo-frame.reveal.in-view::after {
  transform: scale(1);
  opacity: 1;
}

.quote-photo-frame {
  border-radius: 2px;
}

.quote-photo-inner {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
}

.quote-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  border-radius: 2px;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1.06);
  transition: filter .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.quote-photo-frame {
  box-shadow: 0 30px 70px rgba(0, 0, 0, .2);
}

@media (hover: hover) and (pointer: fine) {
  .quote-photo-frame:hover .quote-photo-inner img {
    filter: grayscale(.1) contrast(1.02) saturate(1.05);
    transform: scale(1.1);
  }
}

.quote-photo-grid--reverse .quote-photo-frame::after {
  inset: 16px 16px -16px -16px;
}

@media(max-width:880px) {

  .quote-photo-grid,
  .quote-photo-grid--reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .quote-photo-grid--reverse .quote-photo-frame,
  .quote-photo-grid--reverse .quote-block {
    order: initial;
  }

  .quote-photo-frame,
  .quote-photo-grid--reverse .quote-photo-frame {
    justify-self: center;
    max-width: 300px;
  }
}

/* ---------- Section generic ---------- */
section {
  position: relative;
  padding: 120px 0;
  scroll-margin-top: 110px;
}

.section-label {
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 18px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 28px;
}

@media(max-width:480px) {
  .section-title {
    font-size: clamp(1.6rem, 7vw, 3.2rem);
  }
}

@media(max-width:720px) {
  section {
    padding: 80px 0;
  }

  .quote-section {
    padding: 70px 0;
  }
}

@media(max-width:480px) {
  section {
    padding: 64px 0;
  }

  .quote-section {
    padding: 56px 0;
  }
}

/* ---------- Sinopse ---------- */
.sinopse-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.sinopse-grid .sinopse-text {
  order: 1;
}

.sinopse-grid .sinopse-mockup {
  order: 2;
}

.sinopse-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--gray-dark);
  margin-bottom: 20px;
}

@media(max-width:880px) {
  .sinopse-text p {
    font-size: .88rem;
    line-height: 1.65;
  }
}

.sinopse-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  border: 1px solid var(--gray);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 22px;
}

@media(max-width:880px) {
  .sinopse-grid {
    display: block;
  }

  .sinopse-mockup {
    float: right;
    width: 34%;
    max-width: 125px;
    margin: 46px 4px 16px 20px;
    padding: 0;
  }

  .sinopse-text .section-title {
    font-size: clamp(1.25rem, 6vw, 2rem);
    margin-bottom: 16px;
  }
}

.sinopse-mockup img {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.sinopse-mockup {
  position: relative;
  z-index: 0;
  padding: 40px 20px;
  overflow: hidden;
}

.book3d-shadow {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: calc(var(--book-w, 300px) * .8);
  height: 30px;
  margin: 0;
  background: radial-gradient(ellipse at center, rgba(20, 14, 8, .4), rgba(20, 14, 8, .12) 55%, transparent 78%);
  filter: blur(10px);
  transform: translateX(-50%) scaleX(var(--shadow-scale, 1));
  transition: transform .1s linear;
  z-index: 0;
}

.book3d-wrap {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 26px 32px rgba(30, 20, 12, .2));
  opacity: 0;
  transform: translateX(100vw) scale(.85);
  will-change: transform, opacity;
}

.book3d-wrap.is-visible {
  animation: bookSlideIn 3.2s forwards;
}

@keyframes bookSlideIn {
  0% {
    opacity: 0;
    transform: translateX(100vw) scale(.85);
    animation-timing-function: cubic-bezier(.16, 1, .3, 1);
  }

  60% {
    opacity: 1;
    transform: translateX(-70px) scale(1.06);
    animation-timing-function: cubic-bezier(.45, 0, .2, 1);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .book3d-wrap.is-visible {
    animation: none;
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.sinopse {
  padding-bottom: 50px;
}

.sinopse+.quote-section {
  padding-top: 30px;
}

/* ---------- Livro ---------- */
.livro {
  background: var(--black);
  color: var(--cream);
}

.livro-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.book-cover-wrap {
  position: relative;
}

.book-cover-wrap > img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06);
  border-radius: 2px;
}

/* ---------- Livro 3D interativo ---------- */
.book3d-wrap {
  --book-w: min(300px, 74vw);
  --book-h: calc(var(--book-w) * 1.57);
  --book-d: calc(var(--book-w) * 0.046);
  --bulge: calc(var(--book-w) * 0.018);
  --ry: -26deg;
  width: var(--book-w);
  height: var(--book-h);
  margin: 0 auto;
  perspective: 1600px;
  touch-action: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

@media(max-width:880px) {
  .book3d-wrap {
    --book-w: min(115px, 30vw);
  }
}

.book3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 18deg)) rotateY(var(--ry));
  cursor: grab;
  will-change: auto;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.book3d:active {
  cursor: grabbing;
}

.book3d__face {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-user-select: none;
  user-select: none;
}

.book3d__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  border-radius: 0;
  box-shadow: none;
  -webkit-user-drag: none;
  user-select: none;
}

.book3d__front,
.book3d__back {
  width: var(--book-w);
  height: var(--book-h);
}

.book3d__front {
  transform: translateZ(calc(var(--book-d) / 2));
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .25);
}

.book3d__front::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, 0) 9%),
    linear-gradient(255deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 14%),
    linear-gradient(115deg, rgba(255, 255, 255, 0) 55%, rgba(0, 0, 0, .22) 100%);
}

.book3d__back {
  transform: rotateY(180deg) translateZ(calc(var(--book-d) / 2));
}

.book3d__back::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(260deg, rgba(0, 0, 0, .36) 0%, rgba(0, 0, 0, 0) 9%),
    linear-gradient(105deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, 0) 12%);
}

.book3d__spine,
.book3d__pages {
  width: var(--book-d);
  height: var(--book-h);
  left: calc((var(--book-w) - var(--book-d)) / 2);
}

.book3d__spine {
  transform: rotateY(-90deg) translateZ(calc(var(--book-w) / 2));
}

.book3d__spine::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .3) 0%, rgba(255, 255, 255, .12) 45%, rgba(0, 0, 0, .3) 100%);
}

.book3d__pages {
  transform: rotateY(90deg) translateZ(calc(var(--book-w) / 2 + var(--bulge)));
  top: calc(var(--bulge) * -1);
  height: calc(var(--book-h) + var(--bulge) * 2);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .18) 0%, rgba(255, 255, 255, .5) 12%, transparent 45%),
    repeating-linear-gradient(180deg,
      #efe9db 0px,
      #efe9db 2px,
      #d9d0b8 2px,
      #d9d0b8 3px);
  box-shadow: inset 8px 0 14px rgba(0, 0, 0, .3), inset -2px 0 6px rgba(0, 0, 0, .15);
}

.book3d__top,
.book3d__bottom {
  width: calc(var(--book-w) + var(--bulge) * 2);
  height: var(--book-d);
  left: calc(var(--bulge) * -1);
  top: calc((var(--book-h) - var(--book-d)) / 2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, transparent 30%),
    repeating-linear-gradient(90deg,
      #efe9db 0px,
      #efe9db 2px,
      #d9d0b8 2px,
      #d9d0b8 3px);
}

.book3d__top {
  transform: rotateX(90deg) translateZ(calc(var(--book-h) / 2 + var(--bulge)));
  box-shadow: inset 0 8px 12px rgba(0, 0, 0, .25);
}

.book3d__bottom {
  transform: rotateX(-90deg) translateZ(calc(var(--book-h) / 2 + var(--bulge)));
  box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .32);
}

.book3d-hint {
  text-align: center;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 26px;
  opacity: .7;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  .book3d {
    transition: none;
  }
}

.livro-cta {
  margin-top: 32px;
  text-align: center;
}

.livro-cta .countdown-wrap {
  margin-top: 0;
}

.livro-cta .cd-caption {
  margin-bottom: 22px;
}

.livro-cta .amazon-btn {
  margin-top: 6px;
}

.livro-cta .spotify-btn {
  margin-top: 10px;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, .24);
  font-family: inherit;
  cursor: pointer;
}

.livro-cta .amazon-btn {
  transition: transform .4s cubic-bezier(.16, 1, .3, 1),
    background-color .35s cubic-bezier(.22, 1, .36, 1),
    color .35s cubic-bezier(.22, 1, .36, 1),
    border-color .35s cubic-bezier(.22, 1, .36, 1);
}

.spotify-icon { width: 20px; height: 20px; flex-shrink: 0; }

.spotify-btn[aria-disabled="true"] { cursor: not-allowed; opacity: .72; }

@media (hover: hover) and (pointer: fine) {
  .livro-cta .amazon-btn:not(.spotify-btn):hover,
  .livro-cta .amazon-btn:not(.spotify-btn):focus-visible {
    background: #2563eb;
    border-color: #2563eb;
    color: var(--white);
    outline: none;
  }

  .livro-cta .spotify-btn:hover,
  .livro-cta .spotify-btn:focus-visible {
    background: #1ed760;
    border-color: #1ed760;
    color: #071b10;
    outline: none;
  }
}

.livro-cta .amazon-btn:not(.spotify-btn):active {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: var(--white);
}

.livro-cta .spotify-btn:active {
  background: #169c46;
  border-color: #169c46;
  color: var(--white);
}

.livro-newsletter {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.ln-caption {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--cream);
  opacity: 1;
  margin-bottom: 16px;
}

.livro-newsletter .nl-form {
  max-width: 100%;
  border-bottom-color: rgba(255, 255, 255, .35);
}

.livro-newsletter .nl-form input {
  font-size: .92rem;
}

.livro-newsletter .nl-msg {
  color: var(--cream);
  opacity: .8;
  max-width: 34rem;
  margin: 10px auto 0;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.livro-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 10px;
}

@media(max-width:480px) {
  .livro-title {
    font-size: clamp(1.5rem, 7vw, 2.6rem);
  }
}

@media(max-width:360px) {
  .livro-title {
    font-size: clamp(1.3rem, 6.6vw, 2.6rem);
  }
}

.livro-title .red {
  color: var(--red);
}

.livro-subtitle {
  font-family: 'Bitter', serif;
  font-style: italic;
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.livro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 36px;
}

.meta-pill {
  font-size: 12px;
  letter-spacing: .05em;
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 8px 16px;
  border-radius: 20px;
  color: var(--cream);
  opacity: .85;
}

.amazon-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--black);
  padding: 15px 26px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .03em;
  transition: transform .3s ease, background .3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .amazon-btn:hover {
    background: var(--red);
    color: var(--white);
    transform: translateY(-2px);
  }
}

.amazon-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media(max-width:880px) {
  .livro-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media(max-width:480px) {
  .amazon-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Book spread preview (páginas abertas lado a lado, com zoom) ---------- */
.book-spread-wrap {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.book-spread-viewport {
  position: relative;
  display: block;
  width: min(100%, 560px);
  overflow: hidden;
  border: none;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  transition: transform .3s ease, filter .3s ease;
  filter: drop-shadow(0 26px 50px rgba(0, 0, 0, .55));
}

.book-spread-viewport:hover,
.book-spread-viewport:focus-visible {
  transform: translateY(-3px);
  filter: drop-shadow(0 32px 60px rgba(0, 0, 0, .6));
  outline: none;
}

.book-spread-track {
  display: flex;
  gap: 24px;
  transition: transform .7s cubic-bezier(.65, 0, .35, 1);
  will-change: auto;
}

.spread-img {
  flex: 0 0 85%;
  width: 85%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  opacity: .45;
  filter: saturate(.7);
  transition: opacity .5s ease, filter .5s ease;
}

.spread-img.is-current {
  opacity: 1;
  filter: none;
}

.book-spread__zoom-hint {
  position: absolute;
  right: 8%;
  bottom: 10%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(12, 8, 6, .6);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease;
}

.book-spread__zoom-hint svg {
  width: 16px;
  height: 16px;
}

.book-spread-viewport:hover .book-spread__zoom-hint,
.book-spread-viewport:focus-visible .book-spread__zoom-hint {
  opacity: 1;
}

/* ---------- Book lightbox (zoom em tela cheia) ---------- */
.book-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: var(--black);
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.book-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.book-lightbox__stage {
  width: min(92vw, 980px);
  height: min(78vh, 680px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  user-select: none;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .6));
  cursor: zoom-in;
  transition: transform .35s ease;
}

.book-lightbox__img.zoomed {
  transform: scale(2.2);
  cursor: zoom-out;
}


.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .05);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .3s ease, border-color .3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .35);
}

.lightbox-close svg {
  width: 18px;
  height: 18px;
}

.book-lightbox__controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.book-flip__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 18px;
  transform: translateX(-50px);
}

.flip-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .3s ease, border-color .3s ease, transform .2s ease;
}

.flip-btn svg {
  width: 18px;
  height: 18px;
}

.flip-btn:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .35);
}

.flip-btn:active {
  transform: scale(.92);
}

.flip-btn:disabled {
  opacity: .3;
  cursor: default;
}

.flip-btn:disabled:hover {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .18);
}

/* Compact audiobook excerpt, kept within the page-preview component. */
.audiobook-intro {
  width: min(100%, 560px);
  margin-bottom: -4px;
  color: var(--cream);
}

.audiobook-intro__eyebrow {
  margin-bottom: 9px;
  color: var(--cream);
  font: 600 10px/1.3 'Inter', sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.audiobook-intro__eyebrow::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  margin: 0 8px 3px 0;
  background: var(--red);
}

.audiobook-intro__description {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font: 400 14px/1.65 'Inter', sans-serif;
}

.audiobook-player {
  width: min(100%, 560px);
  padding: 16px 18px 17px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px;
  background: rgba(255, 255, 255, .035);
  color: var(--cream);
}

.audiobook-player__eyebrow {
  margin-bottom: 11px;
  color: var(--gray);
  font: 600 10px/1.2 'Inter', sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.audiobook-player__main { display: flex; align-items: center; gap: 14px; }
.audiobook-player__play {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3); background: var(--white); color: var(--black);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), background .3s ease, color .3s ease;
}
.audiobook-player__play:hover:not(:disabled), .audiobook-player__play:focus-visible:not(:disabled) { transform: scale(1.05); background: var(--red); color: var(--white); outline: none; }
.audiobook-player__play:disabled { opacity: .45; cursor: not-allowed; }
.audio-icon { width: 19px; height: 19px; }
.audio-icon--pause { display: none; }
.audiobook-player.is-playing .audio-icon--play { display: none; }
.audiobook-player.is-playing .audio-icon--pause { display: block; }
.audiobook-player__body { min-width: 0; flex: 1; }
.audiobook-player__title { margin-bottom: 9px; font: 600 13px/1.3 'Inter', sans-serif; letter-spacing: .01em; }
.audiobook-player__progress-row { display: flex; align-items: center; gap: 11px; }
.audiobook-player__progress { min-width: 0; flex: 1; height: 4px; accent-color: var(--red); cursor: pointer; }
.audiobook-player__progress:disabled { opacity: .45; cursor: not-allowed; }
.audiobook-player__times { display: flex; gap: 6px; color: var(--gray); font: 10px/1 'Inter', sans-serif; white-space: nowrap; }
.audiobook-player__times span + span::before { content: '/'; margin-right: 6px; color: rgba(255,255,255,.35); }

.flip-indicator {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  min-width: 70px;
  text-align: center;
}

@media(max-width:720px) {
  .book-spread-viewport {
    width: min(88vw, 380px);
  }

  .audiobook-player {
    width: min(88vw, 380px);
    padding: 14px 14px 15px;
  }

  .audiobook-intro {
    width: min(88vw, 380px);
  }

  .audiobook-intro__description {
    font-size: 13px;
    line-height: 1.6;
  }

  .audiobook-player__main { gap: 11px; }
  .audiobook-player__play { width: 38px; height: 38px; flex-basis: 38px; }
  .audiobook-player__title { font-size: 12px; }

  .book-spread-track {
    gap: 14px;
  }

  .book-lightbox {
    padding: 50px 16px;
    gap: 18px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}

/* ---------- Autora ---------- */
.autora {
  background-color: transparent;
  background-image: none;
  overflow: visible;
  isolation: isolate;
}

/* Gradient Waves decorative background (behind content only) */
.autora-gradient-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
}

.autora-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.autora-photo-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.autora-photo {
  position: relative;
  aspect-ratio: 1;
}

.autora-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  border-radius: 2px;
  filter: grayscale(1) contrast(1.05);
}

.autora-photo::after {
  content: '';
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--red);
  z-index: -1;
}

/* ---------- Orbit images (mockups do livro girando) ---------- */
.orbit {
  position: relative;
  width: 100%;
  height: 400px;
  margin-top: 40px;
}

.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 192px;
  pointer-events: auto;
  cursor: pointer;
  will-change: auto;
}

.orbit-item img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .35));
  opacity: 1;
  transition: filter .65s cubic-bezier(.16, 1, .3, 1),
    opacity .55s ease;
}

@media (hover: hover) and (pointer: fine) {
  .orbit.is-interacting .orbit-item:not(.is-orbit-active) img {
    opacity: .68;
    filter: grayscale(.28) contrast(.94) drop-shadow(0 9px 15px rgba(0, 0, 0, .22));
  }

  .orbit.is-interacting .orbit-item.is-orbit-active img {
    filter: saturate(1.08) contrast(1.04) drop-shadow(0 25px 34px rgba(0, 0, 0, .48));
  }
}

@media(max-width:880px) {
  .orbit {
    height: 320px;
    margin-top: 24px;
  }

  .orbit-item {
    width: 160px;
  }
}

@media(max-width:480px) {
  .orbit {
    height: 260px;
    margin-top: 16px;
  }

  .orbit-item {
    width: 132px;
  }
}

.autora-kicker {
  font-family: 'Bitter', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--red-dark);
  margin-bottom: 18px;
}

.autora-name {
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 22px;
}

.autora-bio p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--gray-dark);
  margin-bottom: 16px;
}

.formacao-list {
  list-style: none;
  margin: 30px 0;
  padding: 0;
}

.formacao-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  font-size: .95rem;
  color: var(--gray-dark);
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.formacao-list li::before {
  content: '▪';
  color: var(--red);
  font-weight: 700;
}

.contatos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  scroll-margin-top: 110px;
}

.contato-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--gray-dark);
  border-radius: 24px;
  font-size: 13px;
  color: var(--black);
  transition: .3s;
}

@media (hover: hover) and (pointer: fine) {
  .contato-chip:hover {
    background: var(--black);
    color: var(--cream);
    border-color: var(--black);
  }
}

.chip-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media(max-width:880px) {
  .autora-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* ---------- Depoimentos ---------- */
.depoimentos {
  background: var(--black);
  color: var(--cream);
  overflow: hidden;
}

/* ==========================================
   DEPOIMENTOS — seção temporariamente oculta
   Manter estas regras para futura reativação
   ========================================== */
.dep-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.dep-track {
  display: flex;
  gap: 26px;
  width: max-content;
  padding-bottom: 10px;
  animation: dep-scroll 36s linear infinite;
}

.dep-track.paused,
.dep-track.offscreen {
  animation-play-state: paused;
}

@keyframes dep-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.dep-card {
  min-width: 340px;
  max-width: 340px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
  padding: 34px;
  cursor: pointer;
}

@media(max-width:480px) {
  .dep-track {
    gap: 16px;
    animation-duration: 26s;
  }

  .dep-card {
    min-width: 82vw;
    max-width: 82vw;
    padding: 26px;
  }
}

.dep-quote {
  font-family: 'Bitter', serif;
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 22px;
  color: var(--cream);
}

.dep-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
}

.dep-role {
  font-size: 12px;
  color: var(--gray);
  margin-top: 2px;
}

.dep-note {
  font-size: 12px;
  color: var(--gray);
  margin-top: 26px;
  opacity: .7;
}

/* ---------- Colaboradores ---------- */
.colaboradores {
  background: var(--black);
  color: var(--cream);
}

.colab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  perspective: 1200px;
}

/* Card inspirado no ProfileCard (react-bits): retrato alto, nome/função
   numa barra de vidro fosco no rodapé, com leve inclinação 3D e um
   brilho discreto (tons de vermelho/creme da marca) seguindo o cursor. */
.colab-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --pointer-x: 50%;
  --pointer-y: 30%;
  position: relative;
  aspect-ratio: .72;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(circle at 35% 28%, var(--red-dark), var(--black) 78%);
  border: 1px solid rgba(255, 255, 255, .08);
  transform: perspective(900px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)) translateY(0);
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.19, 1, .22, 1),
    box-shadow .5s cubic-bezier(.19, 1, .22, 1),
    border-color .5s ease;
}

@media (hover: hover) and (pointer: fine) {
  .colab-card:hover {
    box-shadow: 0 24px 50px rgba(0, 0, 0, .5);
    border-color: rgba(200, 31, 31, .4);
  }
}

.colab-photo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.colab-photo svg {
  width: 34%;
  height: 34%;
  color: var(--cream);
  opacity: .32;
}

/* Brilho discreto que acompanha o cursor, só dentro do card */
.colab-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, .16), transparent 45%);
  opacity: 0;
  transition: opacity .4s ease;
  mix-blend-mode: overlay;
}

.colab-card:hover .colab-shine {
  opacity: 1;
}

.colab-info {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: left;
}

.colab-mini-avatar {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, var(--red-dark), var(--black) 75%);
  border: 1px solid rgba(255, 255, 255, .15);
}

.colab-mini-avatar svg {
  width: 16px;
  height: 16px;
  color: var(--cream);
  opacity: .85;
}

.colab-text {
  min-width: 0;
}

.colab-name {
  font-family: 'Bitter', serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  color: var(--cream);
}

.colab-role {
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 3px;
}

/* Entrada em cascata: cada card some/aparece com um pequeno atraso e leve
   inclinação 3D, em vez de os quatro surgirem juntos. */
.colab-card.reveal {
  transform: perspective(900px) rotateX(10deg) translateY(36px) scale(.94);
  transition: opacity .9s cubic-bezier(.19, 1, .22, 1),
    transform .9s cubic-bezier(.19, 1, .22, 1),
    filter .9s cubic-bezier(.19, 1, .22, 1),
    box-shadow .5s cubic-bezier(.19, 1, .22, 1),
    border-color .5s ease;
}

.colab-card.reveal.in-view {
  transform: perspective(900px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)) translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .colab-card {
    transform: none !important;
  }
}

.colab-note {
  font-size: 12px;
  color: var(--gray);
  margin-top: 36px;
  opacity: .7;
}

@media(max-width:880px) {
  .colab-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media(max-width:480px) {
  .colab-grid {
    grid-template-columns: 1fr;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
    gap: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .colab-avatar::after {
    animation: none;
    opacity: 0;
  }

  .colab-card {
    transition-delay: 0s !important;
  }
}

/* ---------- Trabalhos ---------- */
.pub-list {
  position: relative;
  margin-top: 46px;
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  counter-reset: pubcounter;
}

/* linha do tempo: cresce de cima pra baixo quando a seção entra na tela */
.pub-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 2.4s cubic-bezier(.65, 0, .35, 1);
}

.pub-list.in-view::before {
  transform: scaleY(1);
}

.pub-item {
  position: relative;
  display: block;
  padding: 30px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
  counter-increment: pubcounter;
  transition: padding-left .3s ease, border-color .3s ease, opacity 1.3s ease;
}

/* bolinha marcando cada trabalho na linha do tempo */
.pub-dot {
  position: absolute;
  left: -32px;
  top: 34px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  transform: scale(0);
  transition: transform .8s cubic-bezier(.34, 1.56, .64, 1);
}

.pub-item.in-view .pub-dot {
  transform: scale(1);
}

/* numeral grande de fundo, só decorativo */
.pub-item::after {
  content: counter(pubcounter, decimal-leading-zero);
  position: absolute;
  right: 8px;
  top: 24px;
  font-family: 'Bitter', serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: rgba(0, 0, 0, .05);
  line-height: 1;
  pointer-events: none;
}

.pub-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, .12);
}

.pub-item:hover {
  border-color: var(--red);
}

@media (hover: hover) and (pointer: fine) {
  .pub-item:hover {
    padding-left: 18px;
  }
}

/* textos internos entram em cascata, cada um com seu próprio atraso (definido via JS) */
.pub-tag,
.pub-title,
.pub-desc,
.pub-link {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s cubic-bezier(.19, 1, .22, 1), transform 1.1s cubic-bezier(.19, 1, .22, 1);
}

.pub-item.in-view .pub-tag,
.pub-item.in-view .pub-title,
.pub-item.in-view .pub-desc,
.pub-item.in-view .pub-link {
  opacity: 1;
  transform: translateY(0);
}

.pub-tag {
  display: block;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 10px;
}

.pub-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--black);
  margin-bottom: 10px;
  max-width: 720px;
}

.pub-desc {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--gray-dark);
  max-width: 680px;
  margin-bottom: 14px;
}

.pub-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--black);
}

.pub-item:hover .pub-link {
  color: var(--red);
}

.pub-link span {
  transition: transform .3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .pub-item:hover .pub-link span {
    transform: translateX(4px);
  }
}

@media(max-width:600px) {
  .pub-list {
    padding-left: 24px;
  }

  .pub-list::before {
    left: 3px;
  }

  .pub-dot {
    left: -24px;
    width: 8px;
    height: 8px;
  }

  .pub-item {
    padding: 24px 4px;
  }

  .pub-item::after {
    font-size: 1.8rem;
    top: 20px;
  }
}

@media (max-width:600px) and (hover: hover) and (pointer: fine) {
  .pub-item:hover {
    padding-left: 12px;
  }
}

/* ---------- Newsletter (embutida no bloco de compra do livro) ---------- */
.nl-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  gap: 0;
  border-bottom: 2px solid rgba(255, 255, 255, .6);
}

.nl-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 6px;
  color: var(--white);
  font-size: 1rem;
  outline: none;
}

.nl-form input::placeholder {
  color: rgba(255, 255, 255, .6);
}

.nl-form button {
  background: transparent;
  border: none;
  color: var(--white);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 14px 6px;
  cursor: pointer;
}

.input--hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nl-msg.is-success { color: #91d5a8; }
.nl-msg.is-error { color: #f2a3a3; }
.nl-form button:disabled { opacity: .6; cursor: wait; }

.nl-msg {
  margin-top: 16px;
  font-size: 13px;
  opacity: .85;
  min-height: 18px;
}

@media(max-width:480px) {
  .nl-form {
    flex-direction: column;
    gap: 14px;
    border-bottom: none;
  }

  .nl-form input {
    border-bottom: 2px solid rgba(255, 255, 255, .6);
    padding: 12px 4px;
    text-align: center;
  }

  .nl-form button {
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 4px;
    padding: 14px;
  }

}

/* ---------- Régua de marcas (apoio institucional) ---------- */
.apoio {
  background: var(--black);
  padding: 50px 0 30px;
}

.apoio-label {
  text-align: center;
  color: var(--gray);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 30px;
}

/* box branco: exigido pelo manual de marca sempre que a régua colorida for aplicada
   sobre fundo escuro, colorido ou com textura/imagem */
.regua-marcas {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .35);
}

.regua-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.regua-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.regua-col img {
  height: 42px;
  width: auto;
  max-width: 100%;
  display: block;
}

.regua-col--wide img {
  height: 34px;
}

.regua-divider {
  width: 1px;
  align-self: stretch;
  background: #d8d8d8;
}

.apoio-credito {
  max-width: 620px;
  margin: 26px auto 0;
  text-align: center;
  color: var(--gray);
  font-size: 12.5px;
  line-height: 1.6;
}

@media(max-width:640px) {
  .apoio {
    padding: 34px 0 18px;
  }

  .apoio-label {
    margin-bottom: 18px;
    font-size: 9px;
  }

  .regua-marcas {
    display: grid;
    grid-template-columns: minmax(0, .75fr) 1px minmax(0, 1.6fr);
    gap: clamp(8px, 3vw, 14px);
    align-items: stretch;
    padding: 16px 12px;
    margin-left: 24px;
    margin-right: 24px;
  }

  .regua-col {
    min-width: 0;
    justify-content: center;
    gap: 7px;
  }

  .regua-tag {
    font-size: clamp(7px, 2.1vw, 9px);
    letter-spacing: .11em;
  }

  .regua-col img {
    width: clamp(64px, 20vw, 88px);
    height: auto;
    max-width: 100%;
  }

  .regua-col--wide img {
    width: clamp(145px, 45vw, 205px);
    height: auto;
  }

  .regua-divider {
    width: 1px;
    height: auto;
    align-self: stretch;
  }

  .apoio-credito {
    padding: 0 24px;
  }
}

/* ---------- Footer ---------- */
footer {
  background: var(--black);
  color: var(--gray);
  padding: 34px 0 24px;
  text-align: center;
}

footer .foot-name {
  font-family: 'Bitter', serif;
  color: var(--cream);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

footer .foot-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 14px 0;
  flex-wrap: wrap;
}

footer .foot-links a {
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .75;
}

footer .foot-links a:hover {
  color: var(--red);
  opacity: 1;
}

footer .foot-legal {
  font-size: 11px;
  opacity: .5;
  margin-top: 12px;
}

/* APPROVED VISUAL LAYER — deliberately scoped to three areas only. */

/* Navigation */
#mainNav {
  height: 78px;
  padding: 0 clamp(24px, 4vw, 64px);
  background: rgba(12, 8, 6, .96);
  border-bottom: 1px solid rgba(243, 237, 225, .14);
  transition: height .6s cubic-bezier(.16, 1, .3, 1), background-color .4s ease, border-color .4s ease;
}
#mainNav.scrolled {
  height: 62px;
  padding: 0 clamp(24px, 4vw, 64px);
  background: rgba(12, 8, 6, .9);
  border-bottom-color: rgba(243, 237, 225, .2);
  backdrop-filter: blur(12px);
  box-shadow: none;
}
#mainNav .nav-name { font-size: 12px; font-weight: 600; letter-spacing: .13em; }
#mainNav .nav-links { gap: clamp(20px, 2.5vw, 40px); }
#mainNav .nav-links a {
  position: relative;
  padding: 10px 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  opacity: .68;
  transition: color .25s ease, opacity .25s ease;
}
#mainNav .nav-links a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .55s cubic-bezier(.16, 1, .3, 1);
}
#mainNav .nav-links a:hover,
#mainNav .nav-links a.active { color: var(--cream); opacity: 1; }
#mainNav .nav-links a:hover::after,
#mainNav .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

/* Publications */
.trabalhos { padding: clamp(100px, 10vw, 150px) 0; }
.trabalhos .section-label,
.colaboradores .section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 10px;
  letter-spacing: .28em;
}
.trabalhos .section-label::before,
.colaboradores .section-label::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--red);
}
.trabalhos .section-title,
.colaboradores .section-title {
  max-width: 920px;
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.045em;
}
.trabalhos .pub-list {
  margin-top: clamp(50px, 7vw, 90px);
  padding-left: 0;
  border-top: 1px solid rgba(12, 8, 6, .17);
  counter-reset: approved-publication;
}
.trabalhos .pub-list::before { display: none; }
.trabalhos .pub-item {
  display: grid;
  grid-template-columns: minmax(180px, .38fr) minmax(0, 1fr) 85px;
  column-gap: clamp(25px, 5vw, 75px);
  padding: 34px 0;
  border-top: 0;
  border-bottom: 1px solid rgba(12, 8, 6, .17);
  counter-increment: approved-publication;
  transition: padding .6s cubic-bezier(.16, 1, .3, 1), border-color .25s ease, opacity 1s ease;
}
.trabalhos .pub-item::after {
  content: '0' counter(approved-publication);
  position: static;
  grid-column: 3;
  grid-row: 1 / 5;
  align-self: start;
  color: rgba(12, 8, 6, .12);
  font-family: 'Bitter', serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 600;
  line-height: 1;
  text-align: right;
}
.trabalhos .pub-dot {
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 0;
  transition: width 1.2s cubic-bezier(.16, 1, .3, 1);
}
.trabalhos .pub-item.in-view .pub-dot { width: 100%; transform: none; }
.trabalhos .pub-tag {
  grid-column: 1;
  grid-row: 1 / 4;
  margin: 0;
  padding-right: 10px;
  font-size: 10px;
  line-height: 1.65;
}
.trabalhos .pub-title,
.trabalhos .pub-desc,
.trabalhos .pub-link { grid-column: 2; }
.trabalhos .pub-title {
  max-width: 760px;
  margin-bottom: 13px;
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.trabalhos .pub-desc { max-width: 690px; margin-bottom: 0; font-size: .92rem; line-height: 1.72; }
.trabalhos .pub-link { width: max-content; margin-top: 18px; font-size: 10px; letter-spacing: .1em; }

/* Collaborators */
.colaboradores { padding: clamp(100px, 10vw, 150px) 0; }
.colaboradores .colab-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 70px;
  border-top: 1px solid rgba(243, 237, 225, .16);
  border-left: 1px solid rgba(243, 237, 225, .16);
  perspective: none;
}
.colaboradores .colab-card,
.colaboradores .colab-card.reveal,
.colaboradores .colab-card.reveal.in-view {
  position: relative;
  min-height: 390px;
  aspect-ratio: auto;
  overflow: hidden;
  border: 0;
  border-right: 1px solid rgba(243, 237, 225, .16);
  border-bottom: 1px solid rgba(243, 237, 225, .16);
  border-radius: 0;
  background: linear-gradient(145deg, rgba(200, 31, 31, .08), transparent 58%);
  transform: translateY(35px);
  transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
}
.colaboradores .colab-card.reveal.in-view { transform: none; }
.colaboradores .colab-photo { inset: 0; }
.colaboradores .colab-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 42%, rgba(12, 8, 6, .82) 100%);
  pointer-events: none;
}
.colaboradores .colab-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  transition: transform .9s cubic-bezier(.16, 1, .3, 1), filter .5s ease;
}
.colaboradores .colab-card:nth-child(2) .colab-photo img { object-position: 50% 38%; }
.colaboradores .colab-card:nth-child(3) .colab-photo img { object-position: 50% 25%; }
.colaboradores .colab-card:nth-child(4) .colab-photo img { object-position: 50% 15%; }
.colaboradores .colab-card:nth-child(5) .colab-photo img { object-position: 50% 30%; }
.colaboradores .colab-photo svg {
  width: 32%;
  height: auto;
  opacity: .11;
  transition: transform .9s cubic-bezier(.16, 1, .3, 1), opacity .5s ease;
}
.colaboradores .colab-shine,
.colaboradores .colab-mini-avatar { display: none; }
.colaboradores .colab-info {
  right: 25px;
  bottom: 25px;
  left: 25px;
  display: block;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid rgba(243, 237, 225, .16);
  border-radius: 0;
  background: none;
  backdrop-filter: none;
}
.colaboradores .colab-name { font-size: 1rem; font-weight: 600; }
.colaboradores .colab-role { margin-top: 5px; font-size: 9px; letter-spacing: .12em; }
.colaboradores .colab-note { margin-top: 26px; }

@media (hover: hover) and (pointer: fine) {
  .trabalhos .pub-item:hover {
    padding-right: 15px;
    padding-left: 15px;
    border-color: var(--red);
    transform: none;
  }
  .colaboradores .colab-card:hover { box-shadow: none; border-color: rgba(243, 237, 225, .16); }
  .colaboradores .colab-card:hover .colab-photo svg { opacity: .19; transform: scale(1.08); }
  .colaboradores .colab-card:hover .colab-photo img { transform: scale(1.035); }
}

@media (max-width: 880px) {
  .colaboradores .colab-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .colaboradores .colab-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 50%;
    justify-self: center;
  }
  .trabalhos .pub-item { grid-template-columns: 145px minmax(0, 1fr) 55px; column-gap: 25px; }
}

@media (max-width: 720px) {
  #mainNav,
  #mainNav.scrolled { height: 64px; padding: 0 20px; }
  #mainNav .nav-links { gap: 0; }
  #mainNav .nav-links a { width: 100%; padding: 13px 0; font-size: 16px; }
  #mainNav .nav-links a::after { bottom: 5px; }
  .trabalhos .section-title,
  .colaboradores .section-title { font-size: clamp(2.25rem, 10vw, 3.8rem); }
  .trabalhos .pub-item { grid-template-columns: minmax(0, 1fr) 42px; column-gap: 18px; }
  .trabalhos .pub-tag { grid-column: 1; grid-row: auto; margin-bottom: 15px; }
  .trabalhos .pub-title,
  .trabalhos .pub-desc,
  .trabalhos .pub-link { grid-column: 1; }
  .trabalhos .pub-item::after { grid-column: 2; grid-row: 1 / 5; font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .trabalhos,
  .colaboradores { padding: 80px 0; }
  .colaboradores .colab-grid {
    grid-template-columns: 1fr;
    max-width: none;
    margin: 52px 0 0;
  }
  .colaboradores .colab-card,
  .colaboradores .colab-card.reveal,
  .colaboradores .colab-card.reveal.in-view { min-height: 310px; }
  .colaboradores .colab-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: auto;
  }
}

/* Micro-interaction & floating animations */
.contato-chip,
.pub-item,
.dep-card,
.colab-card,
.amazon-btn {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {

  .contato-chip:hover,
  .amazon-btn:hover {
    transform: translateY(-3px) scale(1.02);
  }

  .pub-item:hover {
    transform: translateX(6px);
  }
}

/* ---------- O Livro: scroll entrance choreography (animation only) ---------- */
.livro-title-line {
  display: block;
  width: 100%;
  overflow: hidden;
}

.livro-title-line__inner {
  display: block;
  width: 100%;
  white-space: nowrap;
}

.livro-entrance-ready .livro-grid > .reveal {
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}

.livro-entrance-ready .book-cover-wrap > img,
.livro-entrance-ready .section-label,
.livro-entrance-ready .livro-title-line__inner,
.livro-entrance-ready .livro-subtitle,
.livro-entrance-ready .meta-pill,
.livro-entrance-ready .cd-box,
.livro-entrance-ready .cd-caption,
.livro-entrance-ready .amazon-btn,
.livro-entrance-ready .spotify-btn,
.livro-entrance-ready .livro-newsletter,
.livro-entrance-ready .livro-newsletter .ln-caption,
.livro-entrance-ready .livro-newsletter .nl-form,
.livro-entrance-ready .book-spread-viewport,
.livro-entrance-ready .audiobook-intro,
.livro-entrance-ready .audiobook-player,
.livro-entrance-ready .book-flip__controls > * {
  opacity: 0;
}

.livro-entrance-ready > .cursor-grid-canvas {
  opacity: 0;
  transition: opacity 1.15s cubic-bezier(.16, 1, .3, 1) .05s;
}

.livro-entrance-ready .book-cover-wrap > img {
  transform: translate3d(-20px, 30px, 0) scale(.96) rotateY(2deg);
  transform-origin: 50% 70%;
  transition: opacity 1s cubic-bezier(.16, 1, .3, 1),
    transform 1.1s cubic-bezier(.16, 1, .3, 1);
}

.livro-entrance-ready .section-label {
  transform: translate3d(0, 13px, 0);
  transition: opacity .75s cubic-bezier(.22, 1, .36, 1) .18s,
    transform .82s cubic-bezier(.22, 1, .36, 1) .18s;
}

.livro-entrance-ready .livro-title-line__inner {
  transform: translate3d(0, 108%, 0);
  transition: opacity .85s cubic-bezier(.16, 1, .3, 1),
    transform 1s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(.34s + var(--livro-line, 0) * 140ms);
}

.livro-entrance-ready .livro-subtitle {
  transform: translate3d(0, 12px, 0);
  transition: opacity .78s cubic-bezier(.22, 1, .36, 1),
    transform .9s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(.52s + var(--livro-lines, 4) * 120ms);
}

.livro-entrance-ready .meta-pill {
  transform: translate3d(0, 16px, 0) scale(.985);
  transition: opacity .72s cubic-bezier(.22, 1, .36, 1),
    transform .86s cubic-bezier(.22, 1, .36, 1);
}

.livro-entrance-ready .meta-pill:nth-child(1) { transition-delay: 1.14s; }
.livro-entrance-ready .meta-pill:nth-child(2) { transition-delay: 1.29s; }
.livro-entrance-ready .meta-pill:nth-child(3) { transition-delay: 1.44s; }

.livro-cover-active .book-cover-wrap > img,
.livro-intro-active .section-label,
.livro-intro-active .livro-title-line__inner,
.livro-intro-active .livro-subtitle,
.livro-intro-active .meta-pill {
  opacity: 1;
  transform: none;
}

.livro-cover-active > .cursor-grid-canvas {
  opacity: 1;
}

.livro-entrance-ready .cd-box,
.livro-entrance-ready .cd-caption,
.livro-entrance-ready .amazon-btn,
.livro-entrance-ready .spotify-btn,
.livro-entrance-ready .livro-newsletter {
  transform: translate3d(0, 24px, 0);
  transition: opacity .78s cubic-bezier(.16, 1, .3, 1),
    transform .92s cubic-bezier(.16, 1, .3, 1);
}

.livro-entrance-ready .cd-box:nth-child(1) { transition-delay: 0s; }
.livro-entrance-ready .cd-box:nth-child(2) { transition-delay: .14s; }
.livro-entrance-ready .cd-box:nth-child(3) { transition-delay: .28s; }
.livro-entrance-ready .cd-box:nth-child(4) { transition-delay: .42s; }
.livro-entrance-ready .cd-caption { transition-delay: .3s; }
.livro-entrance-ready .amazon-btn { transition-delay: .44s; }
.livro-entrance-ready .livro-newsletter { transition-delay: .58s; }
.livro-entrance-ready .spotify-btn { transition-delay: .58s; }

.livro-entrance-ready .livro-newsletter .ln-caption,
.livro-entrance-ready .livro-newsletter .nl-form {
  transform: translate3d(0, 16px, 0);
  transition: opacity .72s cubic-bezier(.16, 1, .3, 1),
    transform .84s cubic-bezier(.16, 1, .3, 1);
}

.livro-entrance-ready .livro-newsletter .ln-caption { transition-delay: .73s; }
.livro-entrance-ready .livro-newsletter .nl-form { transition-delay: .87s; }

.livro-secondary-active .cd-box,
.livro-secondary-active .cd-caption,
.livro-secondary-active .amazon-btn,
.livro-secondary-active .spotify-btn,
.livro-secondary-active .livro-newsletter,
.livro-secondary-active .livro-newsletter .ln-caption,
.livro-secondary-active .livro-newsletter .nl-form {
  opacity: 1;
  transform: none;
}

.livro-entrance-ready .book-spread-viewport {
  clip-path: inset(14% 0 0 0);
  transform: translate3d(0, 46px, 0) scale(.975);
  transition: opacity .95s cubic-bezier(.16, 1, .3, 1),
    transform 1.08s cubic-bezier(.16, 1, .3, 1),
    clip-path 1.08s cubic-bezier(.16, 1, .3, 1),
    filter .3s ease;
}

.livro-entrance-ready .audiobook-intro,
.livro-entrance-ready .audiobook-player {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .82s cubic-bezier(.16, 1, .3, 1), transform .92s cubic-bezier(.16, 1, .3, 1);
}

.livro-entrance-ready .audiobook-intro {
  transition-delay: .28s;
}

.livro-entrance-ready .audiobook-player {
  transition-delay: .38s;
}

.livro-entrance-ready .book-flip__controls > * {
  transform: translate3d(0, 18px, 0);
  transition: opacity .72s cubic-bezier(.16, 1, .3, 1),
    transform .86s cubic-bezier(.16, 1, .3, 1);
}

.livro-entrance-ready .book-flip__controls > :nth-child(1) { transition-delay: .12s; }
.livro-entrance-ready .book-flip__controls > :nth-child(2) { transition-delay: .22s; }
.livro-entrance-ready .book-flip__controls > :nth-child(3) { transition-delay: .32s; }

.livro-spread-active .book-spread-viewport,
.livro-spread-active .audiobook-intro,
.livro-spread-active .audiobook-player,
.livro-spread-active .book-flip__controls > * {
  opacity: 1;
  clip-path: inset(0);
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .livro-secondary-active .amazon-btn:hover {
    transform: translateY(-2px);
  }

  .livro-spread-active .book-spread-viewport:hover,
  .livro-spread-active .book-spread-viewport:focus-visible {
    transform: translateY(-3px);
    filter: drop-shadow(0 32px 60px rgba(0, 0, 0, .6));
  }
}

@media (max-width: 880px) {
  .livro-entrance-ready .book-cover-wrap > img {
    transform: translate3d(-10px, 20px, 0) scale(.975);
    transition-duration: .85s;
  }

  .livro-entrance-ready .livro-title-line__inner {
    transition-duration: .9s;
    transition-delay: calc(.18s + var(--livro-line, 0) * 140ms);
  }

  .livro-entrance-ready .section-label { transition-delay: .08s; }
  .livro-entrance-ready .livro-subtitle { transition-delay: .58s; }

  .livro-entrance-ready .book-spread-viewport {
    transform: translate3d(0, 30px, 0) scale(.985);
    transition-duration: .82s;
  }

  .livro-entrance-ready .meta-pill:nth-child(1) { transition-delay: .62s; }
  .livro-entrance-ready .meta-pill:nth-child(2) { transition-delay: .76s; }
  .livro-entrance-ready .meta-pill:nth-child(3) { transition-delay: .90s; }

  .livro-entrance-ready .cd-box:nth-child(1) { transition-delay: 0s; }
  .livro-entrance-ready .cd-box:nth-child(2) { transition-delay: .14s; }
  .livro-entrance-ready .cd-caption { transition-delay: .24s; }
  .livro-entrance-ready .amazon-btn { transition-delay: .38s; }
  .livro-entrance-ready .spotify-btn { transition-delay: .52s; }
  .livro-entrance-ready .livro-newsletter { transition-delay: .66s; }
  .livro-entrance-ready .livro-newsletter .ln-caption { transition-delay: .76s; }
  .livro-entrance-ready .livro-newsletter .nl-form { transition-delay: .90s; }
  .livro-entrance-ready .audiobook-intro { transition-duration: .82s; transition-delay: .22s; }
  .livro-entrance-ready .audiobook-player { transition-duration: .86s; transition-delay: .30s; }
}

@media (prefers-reduced-motion: reduce) {
  .livro-entrance-ready .book-cover-wrap > img,
  .livro-entrance-ready .section-label,
  .livro-entrance-ready .livro-title-line__inner,
  .livro-entrance-ready .livro-subtitle,
  .livro-entrance-ready .meta-pill,
  .livro-entrance-ready .cd-box,
  .livro-entrance-ready .cd-caption,
  .livro-entrance-ready .amazon-btn,
  .livro-entrance-ready .spotify-btn,
  .livro-entrance-ready .livro-newsletter,
  .livro-entrance-ready .livro-newsletter .ln-caption,
  .livro-entrance-ready .livro-newsletter .nl-form,
  .livro-entrance-ready .book-spread-viewport,
  .livro-entrance-ready .audiobook-intro,
  .livro-entrance-ready .audiobook-player,
  .livro-entrance-ready .book-flip__controls > *,
  .livro-entrance-ready > .cursor-grid-canvas {
    opacity: 1;
    clip-path: none;
    transform: none;
    transition: none;
    will-change: auto;
  }
}
/* ---------- Responsive audit: progressive adaptations ---------- */
@media (max-width: 1199px) and (min-width: 881px) {
  .colaboradores .colab-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .colaboradores .colab-card,
  .colaboradores .colab-card.reveal,
  .colaboradores .colab-card.reveal.in-view {
    grid-column: span 2;
  }

  .colaboradores .colab-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
}

@media (max-width: 960px) {
  #mainNav,
  #mainNav.scrolled {
    height: 64px;
    padding: 0 clamp(20px, 4vw, 34px);
  }

  #mainNav .nav-links {
    gap: 0;
  }

  #mainNav .nav-links a {
    width: 100%;
    min-height: 44px;
    padding: 13px 0;
    font-size: 15px;
  }

  #mainNav .nav-links a::after {
    bottom: 5px;
  }

  #mainNav .nav-toggle {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 880px) {
  .reveal.from-left {
    transform: translate3d(-24px, 10px, 0);
  }

  .reveal.from-right {
    transform: translate3d(24px, 10px, 0);
  }

  .reveal.from-bottom {
    transform: translate3d(0, 30px, 0);
  }

  .reveal.in-view {
    transform: none;
  }

  .book3d-wrap.is-visible {
    animation: bookSlideInCompact 1.05s cubic-bezier(.16, 1, .3, 1) forwards;
  }

  .sinopse-mockup {
    overflow: visible;
  }

  .ambient-glow::before {
    filter: blur(38px);
  }

  .book-lightbox__stage {
    width: min(94vw, 720px);
    height: min(72dvh, 620px);
  }
}

@keyframes bookSlideInCompact {
  from {
    opacity: 0;
    transform: translate3d(28px, 24px, 0) scale(.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 600px) {
  .container {
    width: 100%;
    padding-inline: clamp(20px, 6vw, 26px);
  }

  .orbit {
    width: calc(100% - 28px);
    margin-right: auto;
    margin-left: auto;
  }

  .quote-block {
    max-width: calc(100vw - 48px);
    overflow-wrap: normal;
    word-break: normal;
  }

  .quote-right,
  .quote-left {
    margin-inline: auto;
  }

  .depoimentos .dep-viewport {
    width: 100%;
  }

  .depoimentos .dep-card {
    min-width: min(82vw, 340px);
    max-width: min(82vw, 340px);
  }

  .trabalhos .pub-item {
    grid-template-columns: minmax(0, 1fr) 36px;
    column-gap: 14px;
  }

  .trabalhos .pub-item::after {
    font-size: 1.55rem;
  }

  .trabalhos .pub-title,
  .trabalhos .pub-desc {
    min-width: 0;
    overflow-wrap: break-word;
  }

  .colaboradores .colab-grid {
    grid-template-columns: 1fr;
  }

  .colaboradores .colab-card,
  .colaboradores .colab-card.reveal,
  .colaboradores .colab-card.reveal.in-view,
  .colaboradores .colab-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
    min-width: 0;
  }

  .regua-marcas img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .book-lightbox {
    max-width: 100vw;
  }

  .flip-btn,
  .lightbox-close {
    width: 44px;
    height: 44px;
  }

  .book-flip__controls,
  .book-lightbox__controls,
  .book-lightbox__stage {
    max-width: 100%;
  }

  .book-lightbox__img {
    max-width: 100%;
    max-height: 100%;
  }
}

@media (max-width: 430px) {
  .nav-name {
    max-width: calc(100vw - 92px);
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-content {
    width: 100%;
  }

  .rotating-text-wrapper {
    max-width: 100%;
  }

  .book3d-wrap {
    --book-w: min(112px, 36vw);
  }

  .book-spread-wrap,
  .book-spread-viewport {
    max-width: 100%;
  }

  .book-lightbox {
    padding-inline: 12px;
  }

  .contatos {
    gap: 10px;
  }

  .contato-chip {
    min-height: 44px;
  }

  footer .foot-links {
    gap: 12px 18px;
  }

  footer .foot-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 340px) {
  .fold-title {
    font-size: 1.3rem;
  }

  .rotating-text {
    min-width: 136px;
  }

  .livro-title {
    font-size: 1.28rem;
  }

  .livro-title-line__inner {
    letter-spacing: -.02em;
  }

  .cd-box {
    min-width: 86px;
    padding-inline: 10px;
  }

  .regua-marcas {
    margin-inline: 18px;
  }
}

/* AUTORA — mantém a composição desktop e insere os materiais entre dados e citação no mobile */
@media (min-width: 881px) {
  .autora-grid {
    row-gap: 30px;
  }

  .autora-grid > .autora-photo-col {
    grid-column: 1;
    grid-row: 1;
  }

  .autora-grid > .orbit {
    grid-column: 1;
    grid-row: 2;
  }

  .autora-grid > .reveal.from-right {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

@media (max-width: 880px) {
  .autora-grid > .orbit {
    margin-top: 0;
  }
}

/* DEPOIMENTOS — proporções mais compactas somente em telas móveis */
@media (max-width: 600px) {
  .depoimentos .container + .container {
    margin-top: 34px !important;
  }

  .depoimentos .dep-track {
    gap: 12px;
    padding-bottom: 6px;
    animation-duration: 30s;
  }

  .depoimentos .dep-card {
    min-width: clamp(232px, 74vw, 286px);
    max-width: clamp(232px, 74vw, 286px);
    padding: 22px 20px;
  }

  .depoimentos .dep-quote {
    margin-bottom: 18px;
    font-size: clamp(.88rem, 3.8vw, .98rem);
    line-height: 1.58;
  }

  .depoimentos .dep-name {
    font-size: 12px;
  }

  .depoimentos .dep-role {
    font-size: 11px;
  }

  .depoimentos .dep-note {
    margin-top: 20px;
  }
}

@media (max-width: 720px) {
  .split-text .split-char {
    transition-duration: .85s;
  }

  .fold-char.play,
  .fold-char.play::after {
    animation-duration: .78s;
  }

  .hero-bg {
    animation-duration: 1.8s;
  }

  .hero-curtain--left,
  .hero-curtain--right {
    animation-duration: .8s;
  }

  .hero-sub {
    animation-duration: .85s;
    animation-delay: .85s;
  }

  .hero-tagline {
    animation-duration: .85s;
    animation-delay: 1.05s;
  }

  .ambient-glow::before {
    background:
      radial-gradient(380px circle at 30% 30%, rgba(200, 31, 31, .18), transparent 65%),
      radial-gradient(440px circle at 75% 70%, rgba(138, 20, 20, .14), transparent 70%);
    filter: blur(22px);
    will-change: auto;
  }

  #mainNav.scrolled {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .book3d-wrap,
  .book3d-wrap.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .reveal,
  .reveal.from-left,
  .reveal.from-right,
  .reveal.from-bottom,
  .reveal.from-center,
  .reveal.in-view,
  .reveal-sequence .reveal-sequence-item,
  .mobile-reveal-item,
  .mobile-reveal-item.mobile-in-view {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}
