/* Home (#/) — ciclo 3 (spec-v3 §6): narrativa de scroll.
   Regra: o CSS base é o estado final legível (movimento reduzido, sem GSAP e telas pequenas), em fluxo normal.
   Os blocos `:root[data-motion="on"]` dentro de (min-width: 761px) and (min-height: 500px) montam as cenas fixadas
   (pins logo abaixo do header fixo: --hm-hdr, medido no mount). Só transform/opacity são animados. */

.home { --hm-hdr: 88px; --hm-pw: min(1360px, calc(100vw - 80px)); overflow-x: clip; }
.home h2 { text-wrap: balance; }

/* ── 1 · Hero: camadas → tese ─────────────────────────── */
.hm-hero { position: relative; padding: 48px 0 80px; background: radial-gradient(70% 80% at 72% 45%, var(--fz-surface) 0%, var(--fz-paper) 70%); }
.hm-hero-in {
  width: 100%; max-width: calc(1360px + 64px); margin-inline: auto; padding-inline: 32px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); grid-template-areas: "copy card" "plane plane"; gap: 48px 56px; align-items: center;
}
.hm-hero-copy { grid-area: copy; display: grid; gap: 20px; justify-items: start; max-width: 620px; }
.hm-hero .hm-hero-h { font-size: clamp(2.5rem, 4.4vw, 4.1rem); line-height: 1.02; letter-spacing: -0.035em; }
.hm-hero .lead { max-width: 40ch; }
.hm-phases { list-style: none; margin: 4px 0 0; padding: 2px 0 2px 16px; display: grid; gap: 8px; border-left: 1px solid var(--fz-line-strong); }
.hm-phases li { display: flex; align-items: baseline; gap: 12px; font-size: var(--fz-text-body-sm); font-weight: 600; color: var(--fz-ink); }
.hm-phases span { font-size: var(--fz-text-label); letter-spacing: .08em; color: var(--fz-accent-deep); font-variant-numeric: tabular-nums; }
.hm-hero .btn-row { margin-top: 4px; }
.hm-vis { display: contents; }
.hm-plane { grid-area: plane; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; margin: 0; }
.hm-layer { margin: 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.hm-layer img {
  display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--fz-r-sm);
  border: 1px solid var(--fz-line); background-color: var(--fz-surface); background-size: cover; background-position: center;
}
.hm-layer:not(.is-base) img { box-shadow: inset 0 0 0 999px rgba(249, 253, 250, .5); }
.hm-cap { display: grid; gap: 2px; font-size: var(--fz-text-caption); line-height: 1.35; color: var(--fz-ink-soft); }
.hm-cap-n { font-size: var(--fz-text-label-sm); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fz-accent-deep); }
.hm-cap-v strong { font-size: 1.05rem; font-weight: 700; color: var(--fz-ink); font-variant-numeric: tabular-nums; }
.hm-labs, .hm-leads { display: none; }
.hm-hero-card .hm-sat { display: none; } /* beats `.tc img`; the desktop-motion rule below (higher specificity) shows it */
.hm-hero-card { grid-area: card; display: flex; justify-content: center; }
.hm-hero-card .tc--deck { width: 460px; max-width: 100%; }
.hm-cue { display: none; }

/* ── 2 · Uma tese, por inteiro ───────────────────────── */
.hm-teses { padding-top: 96px; border-top: 1px solid var(--fz-line); background: var(--fz-paper); }
.hm-tx-intro { display: grid; gap: 16px; justify-items: stretch; margin-bottom: 40px; }
.hm-tx-intro .lead { max-width: none; }
.hm-tx-one { padding-bottom: 96px; }
.hm-tx-one .tc { box-shadow: 0 30px 70px -45px rgba(5, 16, 9, .4); }
.hm-tx-one .tc-manchete { clip-path: inset(-0.5em -1em 0 -1em); } /* rising words never cross the meta line */

/* ── 4 · Cena de duas colunas (corretores) ── */
.hm-vende, .hm-como { border-top: 1px solid var(--fz-line); }
.hm-vende { background: var(--fz-paper); }
.hm-scene { padding-block: 96px; background: inherit; }
.hm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hm-split.is-rev { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.hm-copy { display: grid; gap: 20px; justify-items: start; align-content: center; min-width: 0; }
.hm-copy h2 { font-size: clamp(1.85rem, 2.9vw, 2.55rem); line-height: 1.08; }
.hm-copy .btn-row { margin-top: 4px; }
.hm-prom { list-style: none; margin: 0; padding: 0; width: 100%; border-top: 1px solid var(--fz-line); }
.hm-prom > li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--fz-line); }
.hm-prom-n { padding-top: 4px; font-size: var(--fz-text-label); font-weight: 600; letter-spacing: .08em; color: var(--fz-accent-deep); font-variant-numeric: tabular-nums; }
.hm-prom h3 { margin: 0; font-size: 1.1rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.hm-prom p { margin: 3px 0 0; font-size: var(--fz-text-body-sm); line-height: 1.5; color: var(--fz-ink-soft); }

/* conversa */

/* ── 6 · Como funciona ────────────────────────────────── */
.hm-como { background: var(--fz-paper); }
.hm-head { display: grid; gap: 16px; justify-items: start; max-width: 760px; margin-bottom: 56px; }
.hm-steps-wrap { position: relative; }
.hm-line { position: absolute; top: 23px; left: 24px; right: calc((100% - 64px) / 3 - 24px); height: 2px; background: var(--fz-line); }
.hm-line i { position: absolute; inset: 0; background: var(--fz-accent); transform-origin: left center; }
.hm-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.hm-step { display: grid; align-content: start; gap: 12px; }
.hm-step-dot { display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--fz-accent); border-radius: 50%; background: var(--fz-white); font-size: 14px; font-weight: 700; color: var(--fz-primary); font-variant-numeric: tabular-nums; }
.hm-step h3 { margin: 6px 0 0; font-size: 1.6rem; letter-spacing: -0.02em; }
.hm-step p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fz-ink-soft); }
.hm-role { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; font-size: var(--fz-text-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fz-ink); }
.hm-role.is-team { color: var(--fz-accent-deep); }
.hm-role svg { width: 16px; height: 16px; }

/* ── 8 · FAQ ──────────────────────────────────────────── */
.hm-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.hm-faq-side { display: grid; gap: 16px; justify-items: start; }
.hm-faq-side h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); line-height: 1.08; }

/* ═════ Desktop com movimento: cenas fixadas ═════ */
@media (min-width: 761px) and (min-height: 500px) {
  /* hero: copy à esquerda; à direita o "plano" de camadas (3D), os rótulos e o card final, sobrepostos */
  :root[data-motion="on"] .hm-hero { height: calc(100vh - var(--hm-hdr)); padding: 0; }
  :root[data-motion="on"] .hm-hero-in { height: 100%; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: none; gap: 24px; }
  :root[data-motion="on"] .hm-hero-copy { grid-area: auto; }
  :root[data-motion="on"] .hm-vis {
    --S: min(31vw, calc((100vh - var(--hm-hdr)) * .56), 430px);
    --cx: 36%;
    position: relative; display: block; height: 100%;
  }
  :root[data-motion="on"] .hm-plane { position: absolute; left: var(--cx); top: 50%; display: block; width: var(--S); height: var(--S); margin: calc(var(--S) / -2) 0 0 calc(var(--S) / -2); }
  :root[data-motion="on"] .hm-layer { position: absolute; inset: 0; display: block; }
  :root[data-motion="on"] .hm-layer img { width: 100%; height: 100%; aspect-ratio: auto; background-image: none !important; background-color: rgba(249, 253, 250, .06); border-color: rgba(249, 253, 250, .7); box-shadow: 0 0 0 1px rgba(5, 16, 9, .08); }
  :root[data-motion="on"] .hm-layer.is-base { overflow: hidden; border-radius: var(--fz-r-sm); box-shadow: 0 50px 90px -40px rgba(5, 16, 9, .6); }
  :root[data-motion="on"] .hm-layer.is-base img { border: 0; border-radius: 0; }
  /* card photo slot starts as the slab's satellite band (centre 900×562.5 px of the 1600×900 base), then dissolves */
  :root[data-motion="on"] .hm-hero-card .hm-sat { display: block; position: absolute; z-index: 1; left: -38.889%; top: -38.889%; width: 177.778%; max-width: none; height: 177.778%; object-fit: fill; }
  :root[data-motion="on"] .tc-deck-media .tc-pill { z-index: 2; }
  :root[data-motion="on"] .hm-layer:not(.is-base) { opacity: 0; } /* the timeline owns it (no flash before the build) */
  :root[data-motion="on"] .hm-cap { display: none; }
  :root[data-motion="on"] .hm-leads { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
  :root[data-motion="on"] .hm-leads g { opacity: 0; }
  :root[data-motion="on"] .hm-leads line { stroke: var(--fz-ink); stroke-width: 1; stroke-opacity: .55; }
  :root[data-motion="on"] .hm-leads circle { fill: var(--fz-white); stroke: var(--fz-accent-deep); stroke-width: 1.5; }
  :root[data-motion="on"] .hm-labs { display: block; position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
  :root[data-motion="on"] .hm-lab { position: absolute; top: 0; left: calc(var(--cx) + var(--S) * .6 + 8px); right: 0; }
  :root[data-motion="on"] .hm-lab-in { display: grid; gap: 1px; translate: 0 -50%; padding: 2px 0 2px 14px; border-left: 2px solid var(--fz-accent); opacity: 0; }
  :root[data-motion="on"] .hm-lab-k { font-size: var(--fz-text-label-sm); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fz-accent-deep); }
  :root[data-motion="on"] .hm-lab-v { font-size: 13px; line-height: 1.3; color: var(--fz-ink-soft); }
  :root[data-motion="on"] .hm-lab-v strong { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--fz-ink); font-variant-numeric: tabular-nums; }
  :root[data-motion="on"] .hm-hero-card { position: absolute; left: var(--cx); top: 50%; width: max-content; translate: -50% -50%; z-index: 2; opacity: 0; visibility: hidden; } /* autoAlpha: not clickable/focusable before it appears */
  :root[data-motion="on"] .hm-cue { position: absolute; left: 50%; bottom: 52px; translate: -50% 0; display: flex; align-items: center; gap: 10px; margin: 0; font-size: var(--fz-text-caption); font-weight: 600; color: var(--fz-ink-soft); }
  :root[data-motion="on"] .hm-cue span { position: relative; width: 20px; height: 30px; border: 1.5px solid var(--fz-line-strong); border-radius: 10px; }
  :root[data-motion="on"] .hm-cue span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--fz-accent-deep); animation: hm-wheel 1.6s var(--fz-ease) infinite; }

  /* teses: faixa fixada, trilho horizontal */

  /* cenas de duas colunas e processo: uma tela abaixo do header, conteúdo centralizado */
  :root[data-motion="on"] .hm-scene.is-pin { min-height: calc(100vh - var(--hm-hdr)); display: grid; align-content: center; padding-block: 28px; }
}
@keyframes hm-wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* telas curtas (laptop 1280×720): cenas mais justas */
@media (min-width: 761px) and (min-height: 500px) and (max-height: 820px) {
  :root[data-motion="on"] .hm-hero .hm-hero-h { font-size: clamp(2.4rem, 3.8vw, 3.4rem); }
  :root[data-motion="on"] .hm-hero-card .tc { zoom: .8; }
  :root[data-motion="on"] .hm-hero-copy { gap: 16px; }
  :root[data-motion="on"] .hm-prom > li { padding: 10px 0; }
  :root[data-motion="on"] .hm-copy { gap: 16px; }
}

@media (min-width: 761px) and (min-height: 500px) {
  /* the scatter gives way first on short screens (the SVG letterboxes, the cues stay) */
}
@media (min-width: 761px) and (max-width: 1100px) { .home { --hm-pw: calc(100vw - 64px); } }
@media (min-width: 761px) and (min-height: 500px) and (max-height: 760px) {
  :root[data-motion="on"] .is-pin .hm-copy h2 { font-size: clamp(1.7rem, 2.5vw, 2.2rem); }
}

/* ═════ Responsivo ═════ */
@media (max-width: 1100px) {
  .hm-split, .hm-split.is-rev { gap: 40px; }
  .hm-faq-grid { gap: 40px; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .hm-plane { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hm-hero-in { grid-template-columns: 1fr; grid-template-areas: "copy" "plane" "card"; }
  .hm-split, .hm-split.is-rev { grid-template-columns: 1fr; }
  .hm-split.is-rev .hm-copy { order: -1; }
  .hm-faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) and (min-width: 761px) and (min-height: 500px) {
  /* tablet com movimento: a cena dupla é alta demais para fixar inteira → copy e demo lado a lado, mais justos */
  :root[data-motion="on"] .hm-split, :root[data-motion="on"] .hm-split.is-rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  :root[data-motion="on"] .hm-split.is-rev .hm-copy { order: 0; }
}
@media (max-width: 760px) {
  .hm-hero { padding: 32px 0 56px; }
  .hm-hero-in { padding-inline: 16px; gap: 32px; }
  .hm-hero .hm-hero-h { font-size: clamp(2.3rem, 10vw, 3rem); }
  /* explosão vira sequência vertical: miniatura + rótulo + dado */
  .hm-plane { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--fz-line); }
  .hm-layer { grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--fz-line); }
  .hm-cap-v strong { font-size: 1.2rem; }
  .hm-hero-card .tc--deck { width: 100%; }
  .hm-teses { padding-top: 64px; }
  .hm-scene { padding-block: 64px; }
  .hm-split, .hm-split.is-rev { gap: 32px; }
  .hm-head { margin-bottom: 36px; }
  /* processo: linha vertical à esquerda */
  .hm-line { top: 0; bottom: 0; left: 23px; right: auto; width: 2px; height: auto; }
  .hm-line i { transform-origin: center top; }
  .hm-steps { grid-template-columns: 1fr; gap: 32px; }
  .hm-step { position: relative; padding-left: 68px; }
  .hm-step-dot { position: absolute; left: 0; top: 0; }
  .hm-step h3 { margin-top: 10px; }
}

/* 0 · Intro (static): copy + 2 CTAs left, motion video exactly 50% of the screen right */
.hm-intro { display: grid; grid-template-columns: 1fr 50vw; min-height: calc(100dvh - var(--hm-intro-top, var(--hm-hdr))); background: var(--fz-paper); }
.hm-intro-copy { align-self: center; padding: 56px 56px 56px max(32px, calc((100vw - 1360px) / 2)); max-width: calc(50vw + 0px); }
.hm-intro h1 { font-size: clamp(2.6rem, 4.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em; margin: 12px 0 20px; text-wrap: balance; }
.hm-intro .lead { max-width: 34em; margin-bottom: 36px; }
.hm-intro-ctas { display: grid; gap: 10px; max-width: 400px; }
.hm-cta { display: grid; gap: 1px; padding: 10px 24px; border: 1px solid var(--fz-line-strong); border-radius: var(--fz-r-full);
  background: var(--fz-white); color: var(--fz-ink); text-decoration: none;
  transition: transform .25s var(--fz-ease), box-shadow .25s var(--fz-ease), border-color .25s var(--fz-ease), background-color .25s var(--fz-ease); }
.hm-cta-k { font-size: 12px; font-weight: 500; opacity: .72; }
.hm-cta-t { font-family: var(--fz-display), sans-serif; font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }
.hm-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -16px rgba(8, 21, 13, .45); }
.hm-cta:focus-visible { outline: 2px solid var(--fz-ring); outline-offset: 4px; }
.hm-cta-buy { background: var(--fz-primary); border-color: var(--fz-primary); color: var(--fz-on-primary); }
.hm-cta-buy:hover { background: #00512a; border-color: #00512a; }
.hm-cta-sell:hover { border-color: var(--fz-primary); }
.hm-intro-media { position: relative; overflow: hidden; background: var(--fz-bg-deep); }
.hm-intro-ph { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; text-align: center; color: var(--fz-on-dark-soft); }
.hm-intro-ph span { font-family: var(--fz-display), sans-serif; font-weight: 600; font-size: 1.4rem; color: var(--fz-on-dark); }
.hm-intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .hm-intro { grid-template-columns: 1fr; min-height: 0; }
  .hm-intro-copy { padding: 40px 16px 32px; max-width: none; }
  .hm-intro h1 { font-size: clamp(2.2rem, 9vw, 2.8rem); }
  .hm-intro-media { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) { .hm-cta:hover { transform: none; } }

/* Intro right half: the four buy theses as a 3D carousel of thick cards (drag, arrows, tabs, keyboard) */
.hm-intro-media { display: grid; place-items: center; align-content: center; gap: 16px; padding: 20px 0;
  background: var(--fz-bg-deep); overflow: hidden; }
.hm-3d { position: relative; width: 460px; max-width: 62%; perspective: 1800px; perspective-origin: 50% 35%;
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.hm-3d.is-drag { cursor: grabbing; }
.hm-3d:focus { outline: none; }
.hm-3d:focus-visible { outline: 2px solid var(--fz-ring); outline-offset: 14px; border-radius: var(--fz-r-md); }
/* rig is flat on purpose: each slab is its own 3D scene (thickness), the deck order comes from z-index — so cards
   crossing mid-drag never cut through each other */
.hm-3d-rig { display: grid; perspective: 1800px; perspective-origin: 50% 40%; transform: rotateX(7deg) rotateY(-11deg);
  animation: hm3dSway 18s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
.hm-slab { grid-area: 1 / 1; position: relative; transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.2, .75, .25, 1), opacity .6s var(--fz-ease); }
.hm-3d.is-drag .hm-slab { transition: none; }
.hm-slab:not(.is-active) { cursor: pointer; }
.hm-slab-face { position: relative; height: 100%; }
.hm-slab-face .tc--deck { height: 100%; }
/* Thickness: 8 stacked layers behind the face (24px), darker toward the back */
.hm-slab-edge { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.hm-slab-edge i { position: absolute; inset: 0; border-radius: var(--fz-r-md); background: var(--e, #e3ece5); border: 1px solid #c5d4c8; }
.hm-slab-edge i:nth-child(1) { transform: translateZ(-3px);  --e: #eef4ef; }
.hm-slab-edge i:nth-child(2) { transform: translateZ(-6px);  --e: #e8f0ea; }
.hm-slab-edge i:nth-child(3) { transform: translateZ(-9px);  --e: #e2ebe4; }
.hm-slab-edge i:nth-child(4) { transform: translateZ(-12px); --e: #dce6de; }
.hm-slab-edge i:nth-child(5) { transform: translateZ(-15px); --e: #d6e1d8; }
.hm-slab-edge i:nth-child(6) { transform: translateZ(-18px); --e: #cfdbd1; }
.hm-slab-edge i:nth-child(7) { transform: translateZ(-21px); --e: #c6d4c9; }
.hm-slab-edge i:nth-child(8) { transform: translateZ(-24px); --e: #b9cabd; box-shadow: 0 40px 70px -30px rgba(5, 16, 9, .45); }
.hm-3d-floor { position: absolute; left: 4%; right: 4%; bottom: -40px; height: 44px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .6), transparent); filter: blur(6px);
  animation: hm3dFloor 18s cubic-bezier(.45, 0, .55, 1) infinite alternate; pointer-events: none; }
.hm-deck-ui { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.hm-deck-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--fz-line-strong); border-radius: 50%;
  background: var(--fz-white); color: var(--fz-ink); transition: background .2s var(--fz-ease), color .2s var(--fz-ease), border-color .2s var(--fz-ease); }
.hm-deck-btn:hover { background: var(--fz-primary); border-color: var(--fz-primary); color: var(--fz-on-primary); }
.hm-deck-tabs { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--fz-line); border-radius: var(--fz-r-full); background: var(--fz-white); }
.hm-deck-tabs button { height: 36px; padding: 0 14px; border: 0; border-radius: var(--fz-r-full); background: transparent;
  font-family: var(--fz-display), sans-serif; font-size: 14px; font-weight: 600; color: var(--fz-ink-soft); white-space: nowrap;
  transition: background .2s var(--fz-ease), color .2s var(--fz-ease); }
.hm-deck-tabs button:hover { color: var(--fz-ink); background: var(--fz-surface); }
.hm-deck-tabs button[aria-current="true"] { background: var(--fz-primary); color: var(--fz-on-primary); }
.hm-deck-btn:focus-visible, .hm-deck-tabs button:focus-visible { outline: 2px solid var(--fz-ring); outline-offset: 2px; }
.hm-3d-cap { font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--fz-on-dark-soft); text-align: center; }
@keyframes hm3dSway {
  0%   { transform: rotateX(8deg) rotateY(-14deg) translateY(0); }
  50%  { transform: rotateX(5deg) rotateY(-6deg) translateY(-8px); }
  100% { transform: rotateX(7deg) rotateY(-10deg) translateY(-3px); }
}
@keyframes hm3dFloor { 0% { transform: scaleX(1); opacity: .9; } 50% { transform: scaleX(.92); opacity: .7; } 100% { transform: scaleX(.96); opacity: .8; } }
@media (prefers-reduced-motion: reduce) {
  .hm-3d-rig, .hm-3d-floor { animation: none; }
  .hm-slab { transition-duration: .01s; }
}
@media (max-width: 760px) {
  .hm-intro-media { aspect-ratio: auto; padding: 48px 0 40px; }
  .hm-3d { width: min(340px, 80%); max-width: none; }
  .tc-deck-pillars > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tc-deck-body { padding: 18px 18px 20px; }
  .hm-deck-tabs button { width: 24px; padding: 0; font-size: 0; display: grid; place-items: center; }
  .hm-deck-tabs button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fz-line-strong); }
  .hm-deck-tabs button[aria-current="true"] { background: transparent; }
  .hm-deck-tabs button[aria-current="true"]::before { background: var(--fz-primary); }
}
@media (min-width: 761px) and (max-height: 960px) { .hm-3d { zoom: .84; } }
@media (min-width: 761px) and (max-height: 840px) { .hm-3d { zoom: .76; } }
@media (min-width: 761px) and (max-height: 760px) { .hm-3d { zoom: .66; } .hm-deck-ui { margin-top: 6px; } .hm-3d-cap { display: none; } .hm-intro-copy { padding-block: 24px; } .hm-intro .lead { margin-bottom: 28px; } }

/* 4th face: the catalog call — dark, glowing, a sheen sweeps across */
.tc-more { position: relative; isolation: isolate; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--fz-r-md);
  color: var(--fz-on-dark); text-decoration: none; border: 1px solid rgba(165, 227, 180, .4);
  background: radial-gradient(120% 70% at 100% 100%, rgba(0, 161, 81, .5), transparent 60%), radial-gradient(90% 60% at 0% 55%, rgba(165, 227, 180, .14), transparent 60%), linear-gradient(170deg, #0c3c23 0%, #04170c 75%);
  box-shadow: 0 0 0 1px rgba(0, 161, 81, .25), 0 34px 80px -30px rgba(0, 161, 81, .7), inset 0 1px 0 rgba(255, 255, 255, .14); }
.tc-more-mosaic { position: relative; flex: none; display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 5px; aspect-ratio: 16 / 9; padding: 10px 10px 0; }
.tc-more-mosaic img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 10px; }
.tc-more-mosaic img:first-child { grid-row: 1 / span 2; }
.tc-more-mosaic img:last-child { grid-column: 2 / span 2; }
.tc-more-mosaic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 45%, rgba(8, 44, 25, .92)); pointer-events: none; }
.tc-more-body { position: relative; display: flex; flex: 1; flex-direction: column; gap: 14px; margin-top: -46px; padding: 0 26px 24px; }
.tc-more-t { font-size: 1.55rem; font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; color: var(--fz-on-dark); text-wrap: balance; }
.tc-more-n { display: block; margin-bottom: 6px; font-size: 5rem; line-height: .9; letter-spacing: -0.055em; color: var(--fz-white); }
.tc-more-p { font-size: var(--fz-text-body-sm); line-height: 1.5; color: var(--fz-on-dark-soft); }
.tc-more-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
.tc-more-chips li { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1px solid rgba(165, 227, 180, .3); border-radius: var(--fz-r-full);
  background: rgba(255, 255, 255, .06); font-size: 12px; font-weight: 600; color: var(--fz-accent-soft); }
.tc-more-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; margin-top: auto; padding: 0 8px 0 24px; border-radius: var(--fz-r-full);
  background: var(--fz-accent); color: var(--fz-white); font-family: var(--fz-display), sans-serif; font-size: 1.05rem; font-weight: 700;
  box-shadow: 0 14px 32px -10px rgba(0, 161, 81, .85), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .35s var(--fz-ease), box-shadow .35s var(--fz-ease); }
.tc-more-btn i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, .18); color: var(--fz-white); transition: transform .35s var(--fz-ease); }
.hm-slab.is-active .tc-more:hover .tc-more-btn { transform: translateY(-2px); box-shadow: 0 20px 40px -10px rgba(0, 161, 81, .95), inset 0 1px 0 rgba(255, 255, 255, .35); }
.hm-slab.is-active .tc-more:hover .tc-more-btn i { transform: rotate(-45deg); }
.tc-more:focus-visible { outline: 2px solid var(--fz-accent-soft); outline-offset: 4px; }
.hm-deck-tabs button.is-more { color: var(--fz-accent-deep); }
.hm-deck-tabs button.is-more[aria-current="true"] { background: var(--fz-accent); color: var(--fz-white); }
@media (prefers-reduced-motion: reduce) {
  .hm-cta { transition: none; }
}
@media (max-width: 760px) {
  .tc-more-n { font-size: 4rem; }
  .tc-more-body { padding: 0 18px 20px; }
  .tc-more-btn { height: 52px; padding-left: 18px; font-size: .95rem; white-space: nowrap; }
  .hm-cta { padding-inline: 22px; }
}

/* ── 4 · Corretores: iPhone + WhatsApp (copied from talhao.ai/talhao-no-whatsapp) ── */
/* iPhone + WhatsApp (copied from /talhao-no-whatsapp). Everything scales with the width of .wa-phone.
   Units: --u = 1px of the original 338px-wide phone (chat bubbles)
          --p = 1px of the 740x1548 skin image (iPhone chrome, positions taken from the image). */
.wa-phone {
  position: relative; isolation: isolate; flex: none;
  width: 338px; aspect-ratio: 740 / 1548;
  container-type: inline-size;
  --u: calc(100cqw / 338);
  --p: calc(100cqw / 740);
  font-family: -apple-system, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-style: normal; font-weight: 400; line-height: normal; letter-spacing: normal;
  text-align: left; text-transform: none; color: #000;
  -webkit-font-smoothing: antialiased;
}
.wa-phone, .wa-phone * { box-sizing: border-box; }
.wa-phone img, .wa-phone svg { display: block; max-width: none; }

/* frame (bezel + side buttons) sits on top; its screen and outside are transparent */
.wa-phone .wa-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; user-select: none; }

/* ---------- screen chrome (image coordinates) ---------- */
.wa-phone .wa-screen {
  position: absolute; inset: 0; background: #f3f0eb;
  clip-path: inset(calc(34*var(--p)) calc(36*var(--p)) calc(34*var(--p)) calc(38*var(--p)) round calc(80*var(--p)));
}
.wa-phone .wa-screen > * { position: absolute; margin: 0; }
.wa-phone .wa-wall { left: calc(40*var(--p)); top: calc(216*var(--p)); width: calc(662*var(--p)); height: calc(1176*var(--p)); }

/* status bar */
.wa-phone .wa-island { left: calc(268*var(--p)); top: calc(51*var(--p)); width: calc(204*var(--p)); height: calc(56*var(--p)); border-radius: calc(28*var(--p)); background: #000; }
.wa-phone .wa-island::after { content: ""; position: absolute; left: calc(163*var(--p)); top: calc(21.5*var(--p)); width: calc(14*var(--p)); height: calc(14*var(--p)); border-radius: 50%; background: radial-gradient(circle at 45% 40%, #3a4a6e 0, #141a2c 45%, #05070c 75%); }
.wa-phone .wa-clock { left: calc(156*var(--p)); top: calc(83.5*var(--p) - .5em); transform: translateX(-50%); font-size: calc(28.5*var(--p)); font-weight: 650; line-height: 1; letter-spacing: calc(-.2*var(--p)); }
.wa-phone .wa-signal { left: calc(511*var(--p)); top: calc(72*var(--p)); width: calc(34*var(--p)); height: calc(22*var(--p)); }
.wa-phone .wa-net { left: calc(556*var(--p)); top: calc(84*var(--p) - .5em); font-size: calc(24*var(--p)); font-weight: 500; line-height: 1; }
.wa-phone .wa-batt { left: calc(598*var(--p)); top: calc(71*var(--p)); width: calc(46*var(--p)); height: calc(25*var(--p)); border-radius: calc(8*var(--p)); overflow: hidden; background: rgba(0,0,0,.19); background-image: linear-gradient(90deg, #fcd60f 63%, transparent 63%); display: flex; align-items: center; justify-content: center; font-size: calc(24*var(--p)); font-weight: 800; line-height: 1; letter-spacing: calc(-.5*var(--p)); }
.wa-phone .wa-nub { left: calc(645*var(--p)); top: calc(79*var(--p)); width: calc(3*var(--p)); height: calc(8*var(--p)); border-radius: 0 calc(2*var(--p)) calc(2*var(--p)) 0; background: rgba(0,0,0,.2); }

/* header */
.wa-phone .wa-back, .wa-phone .wa-call { top: calc(131*var(--p)); height: calc(70*var(--p)); border-radius: calc(35*var(--p)); background: #fff; box-shadow: 0 calc(3*var(--p)) calc(12*var(--p)) rgba(0,0,0,.05); }
.wa-phone .wa-back { left: calc(60*var(--p)); width: calc(69*var(--p)); }
.wa-phone .wa-call { left: calc(597*var(--p)); width: calc(80*var(--p)); }
.wa-phone .wa-chev { left: calc(76*var(--p)); top: calc(150*var(--p)); width: calc(18*var(--p)); height: calc(31*var(--p)); }
.wa-phone .wa-count { left: calc(102*var(--p)); top: calc(165.5*var(--p) - .5em); font-size: calc(25.5*var(--p)); line-height: 1; font-weight: 500; }
.wa-phone .wa-avatar { left: calc(143*var(--p)); top: calc(134*var(--p)); width: calc(64*var(--p)); height: calc(64*var(--p)); border-radius: 50%; }
.wa-phone .wa-name { left: calc(219*var(--p)); top: calc(165.5*var(--p) - .5em); max-width: calc(365*var(--p)); font-size: calc(25.5*var(--p)); font-weight: 650; line-height: 1; letter-spacing: calc(-.3*var(--p)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-phone .wa-sub { left: calc(219*var(--p)); top: calc(181*var(--p)); font-size: calc(19*var(--p)); line-height: 1; color: #667781; } /* optional status line (not in the source) */
.wa-phone .wa-sub ~ .wa-name { top: calc(156*var(--p) - .5em); }
.wa-phone .wa-tel { left: calc(612*var(--p)); top: calc(150*var(--p)); width: calc(33*var(--p)); height: calc(34*var(--p)); }
.wa-phone .wa-down { left: calc(651*var(--p)); top: calc(161*var(--p)); width: calc(16*var(--p)); height: calc(9*var(--p)); }

/* input bar */
.wa-phone .wa-plus { left: calc(54*var(--p)); top: calc(1409*var(--p)); width: calc(32*var(--p)); height: calc(33*var(--p)); }
.wa-phone .wa-field { left: calc(106*var(--p)); top: calc(1402.5*var(--p)); width: calc(448*var(--p)); height: calc(47*var(--p)); border-radius: calc(24*var(--p)); background: #fff; border: calc(1.4*var(--p)) solid #dbdbde; }
.wa-phone .wa-sticker { left: calc(505*var(--p)); top: calc(1411*var(--p)); width: calc(29*var(--p)); height: calc(30*var(--p)); }
.wa-phone .wa-cam { left: calc(582*var(--p)); top: calc(1411*var(--p)); width: calc(36*var(--p)); height: calc(30*var(--p)); }
.wa-phone .wa-mic { left: calc(637*var(--p)); top: calc(1399.5*var(--p)); width: calc(52*var(--p)); height: calc(52*var(--p)); }

/* ---------- chat (original CSS px, via --u) ---------- */
.wa-phone .wa-chat {
  position: absolute; z-index: 1; top: 15.1%; left: 7.3%; right: 7.3%; bottom: 10.1%;
  display: flex; flex-direction: column; gap: calc(6*var(--u));
  padding: calc(7*var(--u)) 0 calc(9*var(--u));
  overflow-x: hidden; overflow-y: auto; scrollbar-width: none; color: #111;
}
.wa-phone .wa-chat::-webkit-scrollbar { display: none; }
.wa-phone .wa-chat > * { flex: none; }

.wa-phone .wa-row { display: flex; }
.wa-phone .wa-out { justify-content: flex-end; }
.wa-phone .wa-in { align-items: flex-end; }

.wa-phone .wa-bubble {
  position: relative; display: block; max-width: 82%;
  background: #fff; color: #111b21; border-radius: calc(7*var(--u));
  box-shadow: 0 var(--u) var(--u) rgba(0,0,0,.025);
  font-size: calc(12*var(--u)); line-height: 1.3; letter-spacing: calc(-.15*var(--u));
  overflow-wrap: break-word;
}
.wa-phone .wa-out > .wa-bubble { background: #d8fdd1; }

/* text bubble + tail */
.wa-phone .wa-text { border-radius: calc(11*var(--u)); padding: calc(7*var(--u)) calc(9*var(--u)) calc(5*var(--u)); }
.wa-phone .wa-text::before { content: ""; position: absolute; bottom: 0; left: calc(-5*var(--u)); width: calc(10*var(--u)); height: calc(10*var(--u)); background: #fff; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.wa-phone .wa-out > .wa-text::before { left: auto; right: calc(-5*var(--u)); background: #d8fdd1; transform: scaleX(-1); }
.wa-phone .wa-link { color: #027eb5; text-decoration: underline; word-break: break-all; }

/* time + blue ticks */
.wa-phone .wa-time { display: block; text-align: right; margin-top: calc(2*var(--u)); font-size: calc(9*var(--u)); line-height: 1.3; color: #7e7e82; letter-spacing: 0; }
.wa-phone .wa-ticks { display: inline-block; vertical-align: -.1em; width: 1.45em; height: 1em; color: #53bdeb; }

/* audio */
.wa-phone .wa-audio { max-width: 78%; padding: calc(7*var(--u)) calc(9*var(--u)) calc(5*var(--u)); }
.wa-phone .wa-audio-body { display: flex; align-items: center; gap: calc(7*var(--u)); }
.wa-phone .wa-play { flex: none; width: calc(7.5*var(--u)); height: calc(9*var(--u)); color: #08150d; }
.wa-phone .wa-wave { flex: 1; display: flex; align-items: center; gap: calc(1.5*var(--u)); height: calc(16*var(--u)); }
.wa-phone .wa-wave i { flex: none; width: calc(2*var(--u)); height: calc(var(--h, 8) * var(--u)); border-radius: var(--u); background: #8aa894; }
.wa-phone .wa-wave i:nth-child(-n+7) { background: #4c7a5c; }
.wa-phone .wa-wave i:nth-child(1){--h:5} .wa-phone .wa-wave i:nth-child(2){--h:9} .wa-phone .wa-wave i:nth-child(3){--h:14} .wa-phone .wa-wave i:nth-child(4){--h:7}
.wa-phone .wa-wave i:nth-child(5){--h:12} .wa-phone .wa-wave i:nth-child(6){--h:16} .wa-phone .wa-wave i:nth-child(7){--h:6} .wa-phone .wa-wave i:nth-child(8){--h:11}
.wa-phone .wa-wave i:nth-child(9){--h:15} .wa-phone .wa-wave i:nth-child(10){--h:8} .wa-phone .wa-wave i:nth-child(11){--h:13} .wa-phone .wa-wave i:nth-child(12){--h:5}
.wa-phone .wa-wave i:nth-child(13){--h:10} .wa-phone .wa-wave i:nth-child(14){--h:14} .wa-phone .wa-wave i:nth-child(15){--h:7} .wa-phone .wa-wave i:nth-child(16){--h:4}
.wa-phone .wa-dur { flex: none; font-size: calc(9.5*var(--u)); color: #667781; letter-spacing: 0; }
.wa-phone .wa-audio > .wa-time, .wa-phone .wa-photos > .wa-time { margin-top: calc(3*var(--u)); }

/* media: photo pair (out), image card (in), document (in) */
.wa-phone .wa-photos, .wa-phone .wa-image, .wa-phone .wa-doc { padding: calc(4*var(--u)); }
.wa-phone .wa-photos { width: 78%; }
.wa-phone .wa-photos > .wa-time { padding-right: calc(2*var(--u)); }
.wa-phone .wa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: calc(3*var(--u)); }
.wa-phone .wa-grid img { width: 100%; height: calc(46*var(--u)); border-radius: calc(4*var(--u)); object-fit: cover; }
.wa-phone .wa-image { width: 82%; max-width: none; }
.wa-phone .wa-image > img { width: 100%; height: calc(120*var(--u)); border-radius: calc(4*var(--u)); object-fit: cover; }
.wa-phone .wa-time-over { position: absolute; right: calc(9*var(--u)); bottom: calc(9*var(--u)); padding: var(--u) calc(5*var(--u)); border-radius: calc(6*var(--u)); background: rgba(11,20,26,.45); font-size: calc(9*var(--u)); color: #fff; letter-spacing: 0; }
.wa-phone .wa-doc { width: 88%; max-width: none; }
.wa-phone .wa-doc-thumb { display: flex; align-items: center; height: calc(58*var(--u)); padding: 0 calc(12*var(--u)); background: #08150d; border-radius: calc(4*var(--u)); }
.wa-phone .wa-doc-thumb img { width: calc(54*var(--u)); height: auto; }
.wa-phone .wa-doc-name { display: flex; align-items: center; gap: calc(8*var(--u)); padding: calc(8*var(--u)) calc(4*var(--u)) 0; font-size: calc(11*var(--u)); line-height: 1.25; color: #08150d; }
.wa-phone .wa-doc-name b { flex: none; display: flex; align-items: center; justify-content: center; width: calc(22*var(--u)); height: calc(26*var(--u)); border-radius: calc(3*var(--u)); background: #e8453c; color: #fff; font-size: calc(7*var(--u)); font-weight: 500; letter-spacing: .04em; }
.wa-phone .wa-doc-meta { display: flex; align-items: baseline; gap: calc(6*var(--u)); padding: calc(4*var(--u)) calc(4*var(--u)) var(--u); font-size: calc(9.5*var(--u)); color: #667781; letter-spacing: 0; }
.wa-phone .wa-doc-meta > :first-child { flex: 1; }

/* date chip */
.wa-phone .wa-date { width: fit-content; margin: var(--u) auto calc(6*var(--u)); padding: calc(3*var(--u)) calc(13*var(--u)); border-radius: calc(9*var(--u)); background: rgba(255,255,255,.95); color: #111; font-size: calc(11*var(--u)); line-height: 1.1; font-weight: 600; }

/* arrival animation (source: msgIn .5s ease-out, staggered delays) */
@keyframes wa-msg-in { from { opacity: 0; transform: translateY(calc(9*var(--u))); } to { opacity: 1; transform: none; } }
.wa-phone .wa-anim { animation: wa-msg-in .5s cubic-bezier(.22,1,.36,1) both; animation-delay: var(--wa-delay, 0s); }

/* home: the chat window is driven by the scroll timeline (feed slides up), not by native scrolling */
.is-pin .wa-phone .wa-chat { overflow: hidden; } /* unpinned (mobile, short screens): native chat scroll */
.wa-phone .wa-feed { position: relative; display: flex; flex-direction: column; gap: calc(6*var(--u)); }
.hm-wa { display: grid; justify-items: center; gap: 12px; margin: 0; }
.hm-wa .wa-phone { width: min(340px, 100%, calc((100vh - var(--hm-hdr, 88px) - 110px) / 2.092)); filter: drop-shadow(0 40px 50px rgba(5, 16, 9, .28)); }
.hm-wa figcaption { font-size: 11px; color: var(--fz-ink-soft); text-align: center; }

/* intro: the dark right half runs up to the top of the page, under the demo strip and the floating header */
@media (min-width: 761px) {
  .hm-intro-media { margin-top: calc(-1 * var(--hm-intro-top, 0px)); padding-top: calc(20px + var(--hm-intro-top, 0px)); }
  html.is-home .review-strip { position: relative; z-index: 1; background: transparent; border-bottom-color: transparent; }
  html.is-home .review-strip > span:last-child { color: var(--fz-on-dark-soft); }
}

/* "Fale com nosso time": dark band, light text, the team shown as the Talhão logo */
.hm-como { background: var(--fz-bg-deep); color: var(--fz-on-dark); border-top-color: transparent; }
.hm-como h2, .hm-como .hm-step h3 { color: var(--fz-on-dark); }
.hm-como .lead, .hm-como .hm-step p { color: var(--fz-on-dark-soft); }
.hm-como .hm-role { color: var(--fz-on-dark); }
.hm-como .hm-role.is-team img { display: block; width: auto; height: 20px; }
/* Você / talhão: rótulo numa coluna fixa e texto alinhado ao lado (também nas linhas que quebram), com respiro entre as duas */
.hm-como .hm-step p { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: start; column-gap: 12px; }
.hm-como .hm-role { min-height: 22px; }
.hm-como .hm-step p + p { margin-top: 12px; }
.hm-como .hm-role { margin-right: 0; }
.hm-como .hm-role.is-team { margin-right: 0; }
.hm-como .hm-line { background: rgba(249, 253, 250, .16); }
.hm-como .hm-step-dot { background: var(--fz-bg-deep); color: var(--fz-accent-soft); }

/* "Entenda o que é uma tese": no diligence checklist, no source lines */
.hm-tx-one .tc-check { display: none; }
.hm-tx-one .tc-fit { grid-template-columns: minmax(0, 1fr); }
/* "Fale com nosso time": the three steps share rows, so the Talhão logos sit on one line */
@media (min-width: 761px) {
  .hm-como .hm-steps { row-gap: 12px; }
  .hm-como .hm-step { grid-row: span 4; grid-template-rows: subgrid; gap: 0; }
}

/* "Simplificamos o seu trabalho": a small floating stack of the farm's map layers */
.hm-stack { margin-top: 48px; width: min(420px, 100%); aspect-ratio: 16 / 11; perspective: 1400px; }
.hm-stack-rig { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(56deg) rotateZ(-32deg); animation: hmStack 9s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
.hm-stack-l { position: absolute; inset: 12% 6%; width: 88%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px;
  transform: translateZ(calc(var(--i) * 34px)); box-shadow: 0 30px 50px -24px rgba(5, 16, 9, .55); border: 1px solid rgba(255, 255, 255, .6); }
.hm-stack-l:not([style*="--i:0"]) { background: rgba(249, 253, 250, .08); }
@keyframes hmStack {
  0% { transform: rotateX(56deg) rotateZ(-32deg) translateZ(0); }
  50% { transform: rotateX(50deg) rotateZ(-22deg) translateZ(14px); }
  100% { transform: rotateX(54deg) rotateZ(-28deg) translateZ(6px); }
}
@media (prefers-reduced-motion: reduce) { .hm-stack-rig { animation: none; } }
@media (max-width: 760px) { .hm-stack { margin: 32px auto 0; width: min(320px, 90%); } }

/* card borders: calmer glow on o card do catálogo, a soft light edge on the three thesis cards */
.tc-more { border-color: rgba(165, 227, 180, .22); box-shadow: 0 0 0 1px rgba(0, 161, 81, .12), 0 24px 60px -34px rgba(0, 161, 81, .45), inset 0 1px 0 rgba(255, 255, 255, .1); }
.hm-slab .tc--deck { border-color: rgba(255, 255, 255, .75); box-shadow: 0 0 0 1px rgba(165, 227, 180, .35), 0 0 28px -8px rgba(165, 227, 180, .45); }
.tc-deck-who .tc-deck-mark { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.tc-more-btn { box-shadow: 0 8px 18px -10px rgba(0, 161, 81, .6), inset 0 1px 0 rgba(255, 255, 255, .25); }
.hm-slab.is-active .tc-more:hover .tc-more-btn { box-shadow: 0 10px 22px -10px rgba(0, 161, 81, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }

/* o card do catálogo: no glow on the border, just depth */
.tc-more { border-color: rgba(255, 255, 255, .08); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .6); }
/* o card do catálogo gets the same solid light edge and border as the thesis cards */
.hm-slab .tc-more { border-color: rgba(255, 255, 255, .75); box-shadow: 0 0 0 1px rgba(165, 227, 180, .35), 0 0 28px -8px rgba(165, 227, 180, .45); }

/* ── Celular: cartões cabem na tela, títulos sem estourar ── */
@media (max-width: 760px) {
  /* carrossel 3D: o cartão ocupa a largura útil (a linha de números quebrava e empurrava o cartão para 427px) */
  .hm-3d { width: calc(100% - 48px); }
  .hm-3d-rig { grid-template-columns: minmax(0, 1fr); transform: rotateX(5deg) rotateY(-6deg); }
  .hm-slab { min-width: 0; }
  .home .tc-deck-foot { flex-wrap: wrap; }
  .home .tc-deck-meta { flex-wrap: wrap; white-space: normal; }
  .home .tc-deck-foot .btn { flex: 1 1 100%; justify-content: center; }
  .hm-hero .hm-hero-h { font-size: clamp(2rem, 8.4vw, 2.6rem); }
  .hm-hero-h, .hm-intro h1 { overflow-wrap: break-word; }
}
