/* ──────────────────────────────────────────────────────────────
   TOKENS
   ────────────────────────────────────────────────────────────── */
:root {
  /* Warm editorial palette */
  --bg:        #f3ede1;          /* cream paper */
  --bg-deep:   #ebe2d0;          /* deeper cream for sections */
  --bg-ink:    #20180f;          /* warm dark for inverted blocks */
  --ink:       #1d160d;          /* near-black, warm */
  --ink-soft:  #4b3f30;          /* secondary text */
  --ink-mute:  #8a7c66;          /* tertiary / labels */
  --line:      #c8b894;          /* hairline rule */
  --terracota: #b9573a;          /* primary accent */
  --sage:      #8d9c7b;          /* secondary accent */
  --ochre:     #c79355;          /* tertiary accent */

  --serif:  "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:   "Geist", "Söhne", ui-sans-serif, system-ui, sans-serif;

  /* Vertical rhythm */
  --pad-x: clamp(20px, 4vw, 56px);
  --section-y: clamp(96px, 12vw, 180px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Paper grain — gives the cream a subtle texture */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.09  0 0 0 0 0.05  0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

::selection { background: var(--terracota); color: var(--bg); }

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 350;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}

/* Small caps label utility */
.label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.label--line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.label--line::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--ink-mute);
}

/* ──────────────────────────────────────────────────────────────
   NAV
   ────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent);
  transition: padding .35s ease, background .35s ease;
}
.nav.is-scrolled { padding-top: 12px; padding-bottom: 12px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1;
}
.brand-mark {
  font-style: normal;
  color: var(--terracota);
  font-size: 1.18em;
  line-height: 1;
  display: inline-block;
  transform: translateY(-2px);
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
a.brand:hover .brand-mark {
  transform: translateY(-2px) rotate(120deg);
}

.nav-links {
  display: flex; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  position: relative;
  padding: 10px 14px;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  transition: color .25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 6px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.65,.05,.36,1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--ink); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: background .25s ease, transform .25s ease;
}
.nav-cta:hover { background: var(--terracota); transform: translateY(-1px); }
.nav-cta svg { width: 14px; height: 14px; }

.nav-burger {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid var(--ink);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-burger span {
  display: block; width: 14px; height: 1px; background: var(--ink);
  position: relative;
}
.nav-burger span::before,
.nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 14px; height: 1px; background: var(--ink);
}
.nav-burger span::before { top: -5px; }
.nav-burger span::after  { top: 5px; }

/* ──────────────────────────────────────────────────────────────
   LAYOUT HELPERS
   ────────────────────────────────────────────────────────────── */
.section {
  position: relative;
  padding: var(--section-y) var(--pad-x);
}
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

/* ──────────────────────────────────────────────────────────────
   HERO
   ────────────────────────────────────────────────────────────── */
.hero {
  padding-top: clamp(96px, 10vw, 128px);
  padding-bottom: clamp(36px, 4.5vw, 60px);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: clamp(18px, 2vw, 28px);
}
.hero-eyebrow .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--sage) 70%, transparent);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   color-mix(in srgb, var(--sage) 60%, transparent); }
  70%  { box-shadow: 0 0 0 12px color-mix(in srgb, var(--sage) 0%,  transparent); }
  100% { box-shadow: 0 0 0 0   color-mix(in srgb, var(--sage) 0%,  transparent); }
}

.hero h1 {
  font-size: clamp(40px, 5.2vw, 84px);
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.hero h1 .it {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--terracota);
}
.hero h1 .amp {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--ink-mute);
  font-weight: 300;
}

.hero-lede {
  margin-top: clamp(20px, 2.6vw, 32px);
  max-width: 460px;
  font-size: clamp(14.5px, 1vw, 16.5px);
  color: var(--ink-soft);
  line-height: 1.55;
}
.hero-lede strong { color: var(--ink); font-weight: 500; }

.hero-meta {
  margin-top: clamp(24px, 3vw, 36px);
  display: flex; flex-wrap: wrap; gap: 16px 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.hero-meta dt { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px; }
.hero-meta dd { margin: 0; font-family: var(--serif); font-size: 15.5px; }
.hero-meta dd em { font-style: italic; }

/* Portrait column */
.hero-portrait {
  position: relative;
  align-self: center;
}
.hero-portrait .frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  overflow: hidden;
  max-height: calc(100svh - 200px);
}

/* placeholder image (designed block) — kept for fallback if photo is missing */
.ph {
  position: relative;
  width: 100%; height: 100%;
  background:
    radial-gradient(120% 80% at 20% 10%, color-mix(in srgb, var(--ochre) 55%, transparent), transparent 60%),
    radial-gradient(120% 80% at 80% 90%, color-mix(in srgb, var(--terracota) 35%, transparent), transparent 60%),
    linear-gradient(160deg, #d9c39a, #b88e63 45%, #8e6a47 100%);
  color: color-mix(in srgb, var(--bg) 90%, white);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 18px;
  isolation: isolate;
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: .7;
  pointer-events: none;
}
.ph-label {
  position: relative;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--bg) 88%, white);
  display: flex; align-items: center; gap: 10px;
}
.ph-label::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 90%, white);
}

/* Real photo inside a .frame */
.frame img,
.frame picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

/* portrait decorations */
.hero-portrait .stamp {
  position: absolute;
  right: -16px; top: -16px;
  width: 112px; height: 112px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 16px 32px -22px rgba(60,40,15,0.35);
  animation: rotate 30s linear infinite;
}
.hero-portrait .stamp span {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.hero-portrait .stamp-inner { animation: rotate 30s linear infinite reverse; }

.hero-portrait .caption {
  margin-top: 14px;
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-portrait .caption em { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink-soft); }

/* Marquee / strip — ponte entre hero e próximas seções */
.marquee {
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
  background: color-mix(in srgb, var(--bg) 96%, var(--ochre));
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex; gap: 56px;
  white-space: nowrap;
  animation: slide 50s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after {
  content: "✺";
  color: var(--terracota);
  font-style: normal;
}
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ──────────────────────────────────────────────────────────────
   SECTION HEADER
   ────────────────────────────────────────────────────────────── */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.sec-head h2 {
  font-size: clamp(40px, 6.4vw, 96px);
  letter-spacing: -0.035em;
}
.sec-head h2 .it {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--terracota);
}
.sec-head .meta {
  max-width: 480px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ──────────────────────────────────────────────────────────────
   BIO
   ────────────────────────────────────────────────────────────── */
#sobre { background: var(--bg-deep); }

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.bio-photo {
  position: sticky; top: 110px;
}
.bio-photo .frame {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.bio-photo .ph {
  background:
    radial-gradient(120% 80% at 70% 20%, color-mix(in srgb, var(--sage) 70%, transparent), transparent 60%),
    linear-gradient(200deg, #b1c0a0, #7d8e6b 50%, #4f5b41 100%);
}
.bio-photo .caption {
  margin-top: 14px;
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
}
.bio-photo .caption em { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 13.5px; color: var(--ink-soft); }

.bio-body p {
  margin: 0 0 1.2em;
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.bio-body p strong { color: var(--ink); font-weight: 500; }
.bio-body p em { font-family: var(--serif); font-style: italic; font-size: 1.05em; color: var(--ink); }

.bio-body p:first-of-type::first-letter {
  font-family: var(--serif);
  font-weight: 350;
  font-style: italic;
  font-size: 5.2em;
  float: left;
  line-height: 0.85;
  padding: 8px 14px 0 0;
  color: var(--terracota);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

/* ──────────────────────────────────────────────────────────────
   BOOK
   ────────────────────────────────────────────────────────────── */
#livro { background: var(--bg-ink); color: var(--bg); }
#livro .label { color: color-mix(in srgb, var(--bg) 70%, transparent); }
#livro .label--line::before { background: color-mix(in srgb, var(--bg) 50%, transparent); }
#livro .sec-head h2 { color: var(--bg); }
#livro .sec-head h2 .it { color: var(--ochre); }
#livro .sec-head .meta { color: color-mix(in srgb, var(--bg) 70%, transparent); }

.book-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.book-cover-wrap {
  position: relative;
  perspective: 1400px;
}
.book-cover {
  position: relative;
  aspect-ratio: 2 / 3;
  max-width: 420px;
  margin-inline: auto;
  transform: rotateY(-14deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
  filter: drop-shadow(40px 50px 60px rgba(0,0,0,0.55));
}
.book-cover:hover { transform: rotateY(-4deg) rotateX(0deg); }

.book-cover .face {
  position: absolute; inset: 0;
  background: #0e1a30;
  border-radius: 2px 6px 6px 2px;
  overflow: hidden;
}
.book-cover .face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.06);
}
.book-cover .spine {
  position: absolute;
  left: -22px; top: 0; bottom: 0;
  width: 22px;
  background: linear-gradient(90deg, #050d1c, #0f2243 60%, #1f3d6d);
  transform: rotateY(-90deg) translateZ(0);
  transform-origin: right center;
  border-radius: 2px 0 0 2px;
}

.book-details h3 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  line-height: 1.05;
}
.book-details h3 em { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--ochre); }

.book-details p {
  color: color-mix(in srgb, var(--bg) 75%, transparent);
  font-size: 16.5px;
  line-height: 1.7;
  margin: 0 0 1.1em;
  max-width: 56ch;
}

.book-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px 40px;
  margin: 36px 0 40px;
  padding: 24px 0;
  border-top: 1px solid color-mix(in srgb, var(--bg) 25%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--bg) 25%, transparent);
}
.book-stats dt { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--bg) 55%, transparent); margin-bottom: 8px; }
.book-stats dd { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--bg); font-variation-settings: "SOFT" 100, "WONK" 1; }

.book-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 22px 16px 26px;
  background: var(--bg);
  color: var(--ink);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: background .25s ease, transform .25s ease;
}
.book-cta:hover { background: var(--ochre); transform: translateY(-1px); }
.book-cta .arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  transition: transform .3s ease;
}
.book-cta:hover .arrow { transform: rotate(-45deg); }
.book-cta .arrow svg { width: 12px; height: 12px; }

.book-cta-secondary {
  margin-left: 18px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--bg) 70%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--bg) 30%, transparent);
  padding-bottom: 2px;
  transition: color .25s ease, border-color .25s ease;
}
.book-cta-secondary:hover { color: var(--bg); border-color: var(--bg); }

/* Pull quote in book */
.pullquote {
  margin-top: clamp(80px, 10vw, 120px);
  padding-top: 60px;
  border-top: 1px solid color-mix(in srgb, var(--bg) 25%, transparent);
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 40px;
  align-items: start;
}
.pullquote .label { color: color-mix(in srgb, var(--bg) 55%, transparent); }
.pullquote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--bg);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.pullquote blockquote::before { content: "“"; color: var(--ochre); margin-right: 4px; }
.pullquote blockquote::after  { content: "”"; color: var(--ochre); margin-left: 4px; }
.pullquote cite {
  display: block;
  margin-top: 22px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--bg) 55%, transparent);
}

/* ──────────────────────────────────────────────────────────────
   TESTIMONIALS / DEPOIMENTOS
   ────────────────────────────────────────────────────────────── */
#depoimentos {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* decorative numeral floating in the background */
#depoimentos::before {
  content: "03";
  position: absolute;
  right: -2vw; top: 8%;
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(220px, 32vw, 460px);
  line-height: 0.8;
  color: color-mix(in srgb, var(--ochre) 14%, transparent);
  pointer-events: none;
  letter-spacing: -0.04em;
  z-index: 0;
}
#depoimentos .wrap { z-index: 1; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(18px, 1.6vw, 26px);
}

.t-card {
  position: relative;
  padding: clamp(28px, 2.4vw, 40px) clamp(24px, 2vw, 36px) clamp(22px, 2vw, 30px);
  background: #f7f2e6;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  isolation: isolate;
  transition:
    transform .6s cubic-bezier(.2,.7,.2,1),
    box-shadow .6s ease;
  box-shadow:
    inset 0 0 0 1px rgba(60,40,15,0.05),
    0 1px 0 rgba(60,40,15,0.04),
    0 18px 38px -28px rgba(60,40,15,0.30);
  will-change: transform;
}

/* paper grain on each card */
.t-card::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.18  0 0 0 0 0.12  0 0 0 0 0.06  0 0 0 0.10 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: .55;
  border-radius: inherit;
}
.t-card > * { position: relative; z-index: 1; }

.t-stamp {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  z-index: 2;
}

.t-mark {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(72px, 8vw, 120px);
  line-height: 0.55;
  color: var(--terracota);
  align-self: flex-start;
  margin: 0 0 -6px -4px;
  user-select: none;
}

.t-card blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(17px, 1.18vw, 20px);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-variation-settings: "SOFT" 70, "WONK" 0;
}
.t-card blockquote p { margin: 0; }

.t-foot {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
}
.t-author {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
}
.t-context {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  color: var(--ink-soft);
  text-align: right;
}

/* Grid spans */
.t-card.span-2 { grid-column: span 2; }
.t-card.span-3 { grid-column: span 3; }
.t-card.span-4 { grid-column: span 4; }

/* Subtle tilts — like notes pinned to a board */
.t-card.tilt-l { transform: rotate(-1.1deg); }
.t-card.tilt-r { transform: rotate(1.1deg); }

.t-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow:
    inset 0 0 0 1px rgba(60,40,15,0.07),
    0 1px 0 rgba(60,40,15,0.05),
    0 36px 60px -28px rgba(60,40,15,0.45);
}

/* Tonal variants */
.t-card.var-sage {
  background: color-mix(in srgb, var(--sage) 28%, #f7f2e6);
}
.t-card.var-sage .t-mark { color: var(--ink); }
.t-card.var-sage .t-author { color: var(--bg-ink); }

.t-card.var-ochre {
  background: color-mix(in srgb, var(--ochre) 32%, #f7f2e6);
}
.t-card.var-ochre .t-mark { color: var(--terracota); }

.t-card.var-ink {
  background: var(--bg-ink);
  box-shadow:
    inset 0 0 0 1px rgba(255,250,235,0.04),
    0 1px 0 rgba(0,0,0,0.04),
    0 28px 50px -30px rgba(0,0,0,0.55);
}
.t-card.var-ink::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 0.95  0 0 0 0 0.85  0 0 0 0.10 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: .55;
}
.t-card.var-ink .t-mark { color: var(--ochre); }
.t-card.var-ink blockquote { color: var(--bg); }
.t-card.var-ink .t-stamp { color: color-mix(in srgb, var(--bg) 55%, transparent); }
.t-card.var-ink .t-foot {
  border-top-color: color-mix(in srgb, var(--bg) 22%, transparent);
}
.t-card.var-ink .t-author { color: var(--bg); }
.t-card.var-ink .t-context { color: color-mix(in srgb, var(--bg) 60%, transparent); }
.t-card.var-ink:hover {
  box-shadow:
    inset 0 0 0 1px rgba(255,250,235,0.07),
    0 36px 60px -28px rgba(0,0,0,0.7);
}

/* Featured card has a discreet "destaque" ribbon */
.t-card.is-featured .t-stamp {
  display: inline-flex; align-items: center; gap: 8px;
}
.t-card.is-featured .t-stamp::after {
  content: "destaque";
  font-style: italic;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ochre);
}

/* Section footnote / colophon */
.depoimentos-footnote {
  margin-top: clamp(48px, 5vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap;
  align-items: baseline; justify-content: space-between;
  gap: 18px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 100%;
}
.depoimentos-footnote .asterisk {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terracota);
  font-size: 16px;
  margin-right: 6px;
}
.depoimentos-footnote em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 14px;
}

/* ──────────────────────────────────────────────────────────────
   CONTACT
   ────────────────────────────────────────────────────────────── */
#contato {
  background: var(--bg);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}

.contact-headline h2 {
  font-size: clamp(48px, 8vw, 124px);
  letter-spacing: -0.04em;
  line-height: 0.94;
}
.contact-headline h2 .it {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--terracota);
}
.contact-headline p {
  margin: 28px 0 0;
  max-width: 460px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.6;
}

.contact-card {
  background: var(--bg-ink);
  color: var(--bg);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  right: -120px; bottom: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--sage) 60%, transparent), transparent 70%);
  filter: blur(6px);
}
.contact-card > * { position: relative; z-index: 1; }

.contact-card .label { color: color-mix(in srgb, var(--bg) 60%, transparent); }
.contact-card .label--line::before { background: color-mix(in srgb, var(--bg) 40%, transparent); }

.contact-card h3 {
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 18px 0 24px;
  color: var(--bg);
}
.contact-card h3 em { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--ochre); }

.whatsapp-btn {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding: 22px 22px 22px 26px;
  background: #25D366;
  color: #0a1a0e;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.005em;
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
  box-shadow: 0 0 0 0 color-mix(in srgb, #25D366 50%, transparent);
}
.whatsapp-btn:hover {
  transform: translateY(-2px);
  background: #1ebe5d;
  box-shadow: 0 22px 50px -20px color-mix(in srgb, #25D366 90%, transparent);
}
.whatsapp-btn .left { display: flex; align-items: center; gap: 14px; }
.whatsapp-btn .icon {
  width: 36px; height: 36px;
  background: #0a1a0e;
  color: #25D366;
  border-radius: 50%;
  display: grid; place-items: center;
}
.whatsapp-btn .icon svg { width: 18px; height: 18px; }
.whatsapp-btn .label-small { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: #0a1a0e; opacity: .7; display:block; margin-bottom:2px; font-weight: 500;}
.whatsapp-btn .arrow-cta {
  width: 36px; height: 36px;
  background: #0a1a0e;
  color: #25D366;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .35s ease;
}
.whatsapp-btn:hover .arrow-cta { transform: rotate(-45deg); }
.whatsapp-btn .arrow-cta svg { width: 14px; height: 14px; }

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid color-mix(in srgb, var(--bg) 22%, transparent);
}
.contact-details .item dt {
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: color-mix(in srgb, var(--bg) 55%, transparent);
  margin-bottom: 6px;
}
.contact-details .item dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--bg);
}
.contact-details a.line {
  border-bottom: 1px solid color-mix(in srgb, var(--bg) 30%, transparent);
  transition: border-color .25s ease;
}
.contact-details a.line:hover { border-color: var(--ochre); }

/* ──────────────────────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────────────────────── */
.footer {
  padding: 36px var(--pad-x) 28px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  font-size: 12px; letter-spacing: 0.06em;
  color: var(--ink-mute);
}
.footer .brand { font-size: 18px; color: var(--ink); }
.footer .meta-right { display: flex; gap: 24px; }
.footer a:hover { color: var(--ink); }

/* ──────────────────────────────────────────────────────────────
   REVEAL ANIMATIONS
   ────────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }
.reveal.d6 { transition-delay: .48s; }

/* hero load reveal */
.hero .reveal { transform: translateY(40px); }
.hero.loaded .reveal { opacity: 1; transform: none; }
.hero.loaded .reveal { transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }

/* ──────────────────────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid,
  .bio-grid,
  .book-grid,
  .contact-inner,
  .pullquote,
  .sec-head { grid-template-columns: 1fr; }

  .sec-head { gap: 18px; }
  .hero {
    min-height: auto;
    padding-top: clamp(96px, 14vw, 128px);
    padding-bottom: clamp(40px, 6vw, 60px);
    justify-content: flex-start;
  }
  .hero h1 { font-size: clamp(40px, 8.4vw, 64px); }
  .hero-portrait { margin-top: 32px; max-width: 460px; }
  .hero-portrait .frame { max-height: none; }
  .hero-portrait .stamp { right: -10px; top: -10px; width: 100px; height: 100px; font-size: 12px; }
  .bio-photo { position: relative; top: 0; max-width: 420px; }
  .book-stats { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .contact-details { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-cta { padding: 8px 12px; font-size: 12px; }
  .nav-cta .full { display: none; }
  .hero h1 { font-size: clamp(36px, 10vw, 52px); }
  .hero-lede { font-size: 14.5px; }
  .hero-meta { gap: 16px 24px; }
  .hero-meta dd { font-size: 14.5px; }
  .book-stats { grid-template-columns: 1fr 1fr; }
  .footer { flex-direction: column; align-items: flex-start; }
  .marquee-track { font-size: 18px; gap: 40px; }
  .marquee-track span { gap: 40px; }

  /* Testimonials: horizontal snap slider on mobile */
  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 12px;
    scrollbar-width: none;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }

  .t-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    grid-column: unset;
  }
  .t-card.span-2,
  .t-card.span-3,
  .t-card.span-4 { grid-column: unset; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
