/* ==========================================================================
   O SEU DNA É CRIATIVO — Editorial Minimalista + Livro 3D Interativo
   Identidade roxa da obra (#5E2CA5) · Papel neutro · Livro 3D Desktop & Mobile
   ========================================================================== */

@font-face {
  font-family: "Crimson Pro";
  src: url("assets/fonts/CrimsonPro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Crimson Pro";
  src: url("assets/fonts/CrimsonPro-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Crimson Pro";
  src: url("assets/fonts/CrimsonPro-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Crimson Pro";
  src: url("assets/fonts/CrimsonPro-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Superfícies editoriais neutras */
  --canvas-bg: #F3F2ED;
  --page-paper: #FAF8F2;
  --page-edge: #E5E1D4;
  --spine-beige: #C4C0B0;
  --footer-bg: #1B1924;

  /* Tintas e cor da marca */
  --ink: #171715;
  --ink-muted: rgba(23, 23, 21, 0.68);
  --ink-faint: rgba(23, 23, 21, 0.36);
  --rule-solid: rgba(23, 23, 21, 0.14);
  --rule-dotted: rgba(94, 44, 165, 0.32);

  --accent-dna: #5E2CA5;
  --accent-dna-deep: #461B86;
  --accent-dna-soft: rgba(94, 44, 165, 0.12);

  --footer-ink: #F1EEF8;
  --footer-accent: #C7AAFA;
  --footer-accent-strong: #E1CEFF;
  --footer-btn-bg: #7A47CC;
  --footer-btn-hover: #8C5AE0;
  --footer-muted: rgba(241, 238, 248, 0.72);
  --footer-rule: rgba(241, 238, 248, 0.2);

  /* Tipografia */
  --font-serif: "Crimson Pro", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Dimensões do Livro 3D (Desktop) */
  --page-w: clamp(270px, 24vw, 350px);
  --page-h: calc(var(--page-w) * 1.48);

  /* Container */
  --container-max: 1340px;
  --gutter: clamp(20px, 3.2vw, 44px);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--canvas-bg);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(124deg, #F6F5F1 0%, #EFECE5 58%, #EFE6DF 100%);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Sombra diagonal sutil de luz natural na mesa editorial */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    118deg,
    transparent 50%,
    rgba(23, 23, 21, 0.03) 56%,
    rgba(23, 23, 21, 0.045) 68%,
    transparent 74%
  );
}

h1, h2, h3, p, ul, ol, figure, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

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

:focus-visible {
  outline: 1.5px solid var(--accent-dna);
  outline-offset: 3px;
}

.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;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Rótulo limpo e direto (sem colchetes) apenas onde necessário */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-dna);
}

/* ==========================================================================
   Cabeçalho Fixo Minimalista
   ========================================================================== */

.press-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: rgba(244, 243, 238, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-solid);
}

.press-header__inner {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.press-brand {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
}

.press-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.press-nav a {
  padding: 6px 0;
  transition: color 0.18s ease;
  white-space: nowrap;
}

.press-nav a:hover,
.press-nav a.is-current {
  color: var(--accent-dna);
}

.press-nav__cta {
  color: var(--accent-dna) !important;
  font-weight: 500;
  border-bottom: 1px solid var(--accent-dna);
  padding-bottom: 2px !important;
}

/* Botões Editoriais Limpos */

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  background: var(--accent-dna);
  color: #FFFFFF;
  border: 1px solid var(--accent-dna);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
  background: var(--accent-dna-deep);
  border-color: var(--accent-dna-deep);
  box-shadow: 0 10px 24px -10px rgba(94, 44, 165, 0.55);
}

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

.cta-link-dotted {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  width: 100%;
  padding: 10px 0;
  border-top: 1px dotted var(--rule-dotted);
  border-bottom: 1px dotted var(--rule-dotted);
  font-family: var(--font-sans);
  font-size: 0.96875rem;
  font-weight: 600;
  color: var(--accent-dna);
  transition: padding-left 0.18s ease, opacity 0.18s ease;
}

.cta-link-dotted:hover {
  padding-left: 5px;
  opacity: 0.82;
}

.cta-link-dotted span:last-child {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--ink-muted);
  white-space: nowrap;
}

/* ==========================================================================
   TRILHA DE SCROLL CONTÍNUA — SESSÕES 1, 2 E 3 (DESKTOP >= 1024px)
   1: Hero (Texto Esq + Livro Dir)
   2: Sobre o Livro (Livro inclinado à esquerda + Texto Dir)
   3: Sobre o Autor (Texto some, Livro centraliza, aproxima e abre pp. 66–67)
   ========================================================================== */

.book-journey {
  position: relative;
  height: 460vh;
  z-index: 2;
}

.journey-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Indicador discreto de seção no canto inferior (Desktop) */
.journey-progress {
  position: absolute;
  bottom: 24px;
  left: var(--gutter);
  right: var(--gutter);
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 30;
}

.journey-steps {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.journey-steps span.is-active {
  color: var(--accent-dna);
  font-weight: 500;
}

.scroll-hint {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Camadas de Texto (Sessão 1 Hero & Sessão 2 Sobre o Livro) */

.journey-text-layer {
  position: absolute;
  inset: 58px 0 0 0;
  z-index: 15;
  pointer-events: none;
}

.journey-text-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.panel-hero {
  position: absolute;
  left: var(--gutter);
  width: min(555px, 47vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  pointer-events: auto;
  will-change: transform, opacity;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.55rem, 2rem + 2.2vw, 4.15rem);
  line-height: 1.03;
  letter-spacing: -0.024em;
  color: var(--accent-dna);
}

.hero-title strong {
  font-weight: 700;
  color: var(--accent-dna-deep);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);
  line-height: 1.64;
  color: var(--ink-muted);
  max-width: 48ch;
}

.hero-subtitle strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-actions {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero-caption-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.panel-about {
  position: absolute;
  right: var(--gutter);
  width: min(525px, 45vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
}

.about-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 1.65rem + 1.5vw, 3.05rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--accent-dna);
}

.about-title strong {
  font-weight: 700;
  color: var(--accent-dna-deep);
}

.about-prose {
  padding-top: 14px;
  border-top: 1px solid var(--rule-solid);
  font-family: var(--font-sans);
  font-size: 0.96875rem;
  line-height: 1.66;
  color: var(--ink);
}

.about-prose p {
  text-indent: 1.5em;
}

.about-prose p + p {
  margin-top: 5px;
}

.about-cta-wrap {
  margin-top: 8px;
  width: 100%;
}

/* ==========================================================================
   PALCO 3D DO LIVRO QUE SE MOVE E ABRE AS PÁGINAS (CSS 3D REAL)
   ========================================================================== */

.book-3d-stage {
  position: relative;
  z-index: 20;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 2200px;
  pointer-events: none;
}

.book-pivot {
  position: relative;
  width: var(--page-w);
  height: var(--page-h);
  transform-style: preserve-3d;
  will-change: transform;
  pointer-events: auto;
}

.book-center-offset {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

.book-rig {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

.book-shadow {
  position: absolute;
  inset: 6% 2% -5% -6%;
  background: radial-gradient(ellipse at center, rgba(35, 16, 68, 0.26) 0%, rgba(23, 23, 21, 0.08) 54%, transparent 74%);
  filter: blur(18px);
  transform: translateZ(-24px);
  pointer-events: none;
}

.book-spine {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: -14px;
  width: 14px;
  background: linear-gradient(90deg, #B5B0A0 0%, #CBC7B8 55%, #ACA797 100%);
  transform: rotateY(-90deg) translateZ(0);
  transform-origin: right center;
  border-top: 1px solid rgba(23, 23, 21, 0.14);
  border-bottom: 1px solid rgba(23, 23, 21, 0.14);
}

.book-pages-edge {
  position: absolute;
  top: 4px;
  bottom: 4px;
  right: -13px;
  width: 14px;
  background: repeating-linear-gradient(
    90deg,
    #FAF8F2 0px,
    #FAF8F2 2px,
    #DDD8C8 2px,
    #DDD8C8 3px
  );
  transform: rotateY(90deg);
  transform-origin: left center;
  border-top: 1px solid rgba(23, 23, 21, 0.15);
  border-bottom: 1px solid rgba(23, 23, 21, 0.15);
  border-right: 1px solid rgba(23, 23, 21, 0.22);
}

/* Base direita fixa: Página do Autor (aparece quando as folhas abrem) */
.book-right-base {
  position: absolute;
  inset: 0;
  transform: translateZ(0px);
  background: var(--page-paper);
  border: 1px solid rgba(23, 23, 21, 0.16);
  border-left: none;
  border-radius: 0 3px 3px 0;
  box-shadow: inset 18px 0 24px -14px rgba(23, 23, 21, 0.16);
  overflow: hidden;
  pointer-events: auto;
}

.book-leaf {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform-style: preserve-3d;
  will-change: transform;
  pointer-events: none;
}

.leaf-cover { z-index: 6; }
.leaf-1     { z-index: 5; }
.leaf-2     { z-index: 4; }
.leaf-3     { z-index: 3; }
.leaf-4     { z-index: 2; }

.leaf__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.leaf__front {
  transform: translateZ(0.35px);
  background: var(--page-paper);
  border: 1px solid rgba(23, 23, 21, 0.14);
  border-radius: 0 3px 3px 0;
  box-shadow: inset 16px 0 22px -14px rgba(23, 23, 21, 0.16);
}

.leaf__back {
  transform: rotateY(180deg) translateZ(0.35px);
  background: var(--page-paper);
  border: 1px solid rgba(23, 23, 21, 0.16);
  border-right: none;
  border-radius: 3px 0 0 3px;
  box-shadow: inset -18px 0 24px -14px rgba(23, 23, 21, 0.17);
}

.leaf-cover .leaf__front {
  background: #D1CEBF;
  border: 1px solid rgba(23, 23, 21, 0.2);
  box-shadow: none;
}

.leaf-cover .leaf__front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leaf-cover .leaf__front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(23, 23, 21, 0.11) 2.5%,
    rgba(255, 255, 255, 0.15) 4.8%,
    transparent 12%,
    rgba(23, 23, 21, 0.04) 97%,
    rgba(23, 23, 21, 0.16) 100%
  );
  pointer-events: none;
}

.leaf-cover .leaf__back {
  background: #E8E5DA;
}

/* Páginas intermediárias que passam na abertura */
.inner-page-preview {
  height: 100%;
  padding: 28px 26px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
}

.inner-page-preview__head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(23, 23, 21, 0.08);
}

.inner-page-preview__body {
  margin-block: auto;
}

.inner-page-preview__num {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  line-height: 1;
  color: var(--accent-dna);
  opacity: 0.85;
}

.inner-page-preview__title {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.15;
  color: var(--ink);
}

.inner-page-preview__lines {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.inner-page-preview__folio {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--ink-faint);
}

/* ==========================================================================
   PÁGINAS ABERTAS FINAIS — SOBRE O AUTOR (LIMPO, SEM MOLDURA NA FOTO)
   ========================================================================== */

.book-page-content {
  height: 100%;
  padding: clamp(20px, 2.2vw, 28px) clamp(20px, 2.3vw, 30px) clamp(18px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

/* Somente "Sobre o autor" no cabeçalho da página esquerda (foto) */
.book-page__running {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(23, 23, 21, 0.1);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dna);
}

/* Foto limpa sem moldura, sem borda e sem texto redundante abaixo */
.author-photo-clean {
  margin: auto 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-photo-clean img {
  width: 82%;
  max-width: 242px;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

/* Página Direita: Biografia limpa */
.book-page-content--right {
  padding-top: clamp(36px, 3.6vw, 48px);
}

.author-page-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.55vw, 1.9rem);
  line-height: 1.06;
  color: var(--accent-dna);
}

.author-page-location {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.author-page-rule {
  width: 30px;
  height: 2px;
  background: var(--accent-dna);
  margin: 12px 0 14px;
}

.author-page-bio {
  font-family: var(--font-serif);
  font-size: clamp(0.8rem, 0.86vw, 0.93rem);
  line-height: 1.56;
  color: var(--ink);
}

.author-page-bio p + p {
  margin-top: 10px;
  text-indent: 1.2em;
}

.author-page-cta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dotted var(--rule-dotted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-dna);
  transition: opacity 0.18s ease;
}

.author-page-cta:hover {
  opacity: 0.72;
}

/* Versão Mobile da Seção Sobre o Autor (oculta no Desktop, exibida < 1024px) */
.mobile-author-section {
  display: none;
}

/* ==========================================================================
   SESSÃO 4 — CONTATO COMPLETO (Lisboa, Portugal · Formulário + WhatsApp)
   ========================================================================== */

.contact-section {
  position: relative;
  z-index: 5;
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding-top: clamp(68px, 9.5vh, 112px);
  padding-bottom: 36px;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 18% 12%,
    rgba(94, 44, 165, 0.24) 0%,
    rgba(94, 44, 165, 0.06) 40%,
    transparent 70%
  );
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  padding-bottom: clamp(48px, 7vh, 80px);
}

.contact-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 1.7rem + 1.6vw, 3.25rem);
  line-height: 1.06;
  color: var(--footer-accent);
}

.contact-heading strong {
  font-weight: 700;
  color: var(--footer-accent-strong);
}

.contact-lead {
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: 0.96875rem;
  line-height: 1.62;
  color: var(--footer-muted);
  max-width: 44ch;
}

.contact-channels {
  margin-top: 28px;
  border-top: 1px solid var(--footer-rule);
}

.channel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 50px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--footer-rule);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--footer-ink);
  transition: opacity 0.18s ease, padding-left 0.18s ease;
}

a.channel-row:hover {
  padding-left: 5px;
  opacity: 0.85;
}

.channel-row__val {
  font-family: var(--font-mono);
  font-size: 0.78125rem;
  color: var(--footer-accent);
  text-align: right;
}

/* Formulário de Contato Minimalista */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--footer-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--footer-rule);
  border-radius: 0;
  padding: 10px 0;
  color: var(--footer-ink);
  font-family: var(--font-sans);
  font-size: 0.96875rem;
  transition: border-color 0.2s ease;
}

.field select option {
  background: var(--footer-bg);
  color: var(--footer-ink);
}

.field textarea {
  resize: vertical;
  min-height: 92px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(241, 238, 248, 0.34);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--footer-accent);
}

.form-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn-footer-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  background: var(--footer-btn-bg);
  color: #FFFFFF;
  border: 1px solid var(--footer-btn-bg);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.btn-footer-submit:hover {
  background: var(--footer-btn-hover);
  border-color: var(--footer-btn-hover);
}

.btn-footer-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  background: transparent;
  color: var(--footer-accent);
  border: 1px solid rgba(199, 170, 250, 0.45);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-footer-whatsapp:hover {
  background: var(--footer-accent);
  border-color: var(--footer-accent);
  color: #1B1924;
}

.form-feedback {
  padding: 14px 16px;
  border-left: 2px solid var(--footer-accent);
  background: rgba(199, 170, 250, 0.1);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--footer-ink);
}

.form-feedback a {
  color: var(--footer-accent-strong);
  text-decoration: underline;
}

.contact-bottom {
  position: relative;
  padding-top: 20px;
  border-top: 1px dotted var(--footer-rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--footer-muted);
}

/* ==========================================================================
   RESPONSIVIDADE MOBILE & TABLET (< 1024px) — EXPERIÊNCIA 3D ANIMADA NO SCROLL
   1) Livro 3D na Hero gira e inclina à esquerda ao rolar para Sobre o Livro
   2) Sessão Sobre o Autor abre em 3D (capa + páginas virando) revelando a bio
   ========================================================================== */

@media (max-width: 1023px) {
  .book-journey {
    height: auto;
  }

  .journey-viewport {
    position: relative;
    height: auto;
    overflow: visible;
    flex-direction: column;
    padding-top: 86px;
    padding-bottom: 52px;
    gap: 40px;
  }

  .journey-progress {
    display: none;
  }

  .journey-text-layer {
    position: static;
    pointer-events: auto;
    width: 100%;
  }

  .journey-text-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 58px;
    height: auto;
  }

  .panel-hero,
  .panel-about {
    position: static;
    width: 100%;
    left: auto;
    right: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Livro 3D livre para coreografia GSAP no mobile (sem !important bloqueando) */
  .book-3d-stage {
    order: -1;
    height: auto;
    padding: 18px 0 10px;
    perspective: 1400px;
  }

  .book-pivot {
    --page-w: min(244px, 66vw);
    --page-h: calc(var(--page-w) * 1.54);
  }

  /* Sessão 3 Mobile — Livro 3D que abre no scroll revelando Sobre o Autor */
  .mobile-author-section {
    display: block;
    padding: 44px 0 76px;
    border-top: 1px solid var(--rule-solid);
    overflow-x: clip;
  }

  .mobile-book-stage {
    perspective: 1500px;
    max-width: 460px;
    margin-inline: auto;
  }

  .mobile-book-3d {
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
  }

  .mobile-open-book {
    position: relative;
    z-index: 1;
    background: var(--page-paper);
    border: 1px solid rgba(23, 23, 21, 0.14);
    border-left: 6px solid var(--spine-beige);
    border-radius: 2px 4px 4px 2px;
    padding: 26px 24px 26px;
    box-shadow: 0 22px 46px -20px rgba(35, 16, 68, 0.24);
  }

  .mobile-open-book__head {
    display: flex;
    justify-content: flex-start;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--rule-solid);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-dna);
  }

  /* Foto limpa sem moldura nem legenda redundante */
  .mobile-open-book__photo {
    margin: 24px 0 20px;
    width: min(210px, 62%);
    aspect-ratio: 4 / 4.3;
  }

  .mobile-open-book__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
  }

  .mobile-open-book__title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.06;
    color: var(--accent-dna);
  }

  .mobile-open-book__loc {
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }

  .mobile-open-book__rule {
    width: 32px;
    height: 2px;
    background: var(--accent-dna);
    margin: 14px 0 16px;
  }

  .mobile-open-book__bio {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    line-height: 1.62;
    color: var(--ink);
  }

  .mobile-open-book__bio p + p {
    margin-top: 12px;
  }

  .mobile-open-book__cta {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px dotted var(--rule-dotted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-dna);
  }

  /* Folhas e capa 3D que abrem por cima no scroll mobile */
  .mobile-book-leaf {
    position: absolute;
    inset: 0;
    transform-origin: left center;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    pointer-events: none;
    will-change: transform, opacity;
    border-radius: 2px 4px 4px 2px;
    overflow: hidden;
  }

  .mobile-leaf-2 {
    z-index: 2;
    background: var(--page-paper);
    border: 1px solid rgba(23, 23, 21, 0.14);
    box-shadow: inset 18px 0 24px -14px rgba(23, 23, 21, 0.15);
  }

  .mobile-leaf-1 {
    z-index: 3;
    background: var(--page-paper);
    border: 1px solid rgba(23, 23, 21, 0.14);
    box-shadow: inset 18px 0 24px -14px rgba(23, 23, 21, 0.16);
  }

  .mobile-leaf-inner {
    height: 100%;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .mobile-leaf-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    line-height: 1;
    color: var(--accent-dna);
    opacity: 0.85;
  }

  .mobile-leaf-title {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.55rem;
    color: var(--ink);
  }

  .mobile-leaf-line {
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.55;
    color: var(--ink-muted);
    max-width: 28ch;
  }

  .mobile-leaf-cover {
    z-index: 4;
    background: #D1CEBF;
    border: 1px solid rgba(23, 23, 21, 0.22);
    box-shadow: 12px 18px 34px -16px rgba(23, 23, 21, 0.35);
  }

  .mobile-leaf-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .contact-grid,
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .press-header__inner {
    height: auto;
    flex-wrap: wrap;
    padding-block: 10px;
    row-gap: 4px;
  }

  .press-brand {
    font-size: 0.78rem;
  }

  .press-nav {
    gap: 14px;
    font-size: 0.67rem;
  }

  .journey-viewport {
    padding-top: 98px;
  }
}
