/* Hallmark · v2.0.0 · Infoleal Templates — 20 arquiteturas editáveis de alto contraste
 * theme: brand (tokens OKLCH dinâmicos + 5 moods de superfície Hallmark) · genre: modern-minimal · redesign: full
 * hero: Stage, Poster, Editorial, Studio, Counter, Framed, Split-Dark, Banner-Strip, Mosaic, Corridor
 * pre-emit critique: P5 H5 E5 S5 R5 V5 · weakest: R, eliminamos todo branco lavado substituindo por escada tonal OKLCH (paper, well, card, ink) e 5 moods dedicados por categoria.
 * waive: none | answered: F3 text-wrap balance; F6 tabular-nums; F15 single primary button recipe and shared column gap; F18 hallmarkSlots script active.
 */

:root {
  --tpl-container: 1280px;
  --tpl-gap: clamp(1.25rem, 2.5vw, 2rem);
  --tpl-space-xs: 0.5rem;
  --tpl-space-sm: 0.75rem;
  --tpl-space-md: 1rem;
  --tpl-space-lg: 1.5rem;
  --tpl-space-xl: 2.25rem;
  --tpl-space-2xl: 3.5rem;
  --tpl-space-3xl: 5rem;

  /* Escada tonal OKLCH derivada do tema ativo — nunca branco puro sobre branco puro */
  --tpl-paper: color-mix(in oklch, var(--surface) 96%, var(--brand) 4%);
  --tpl-paper-2: color-mix(in oklch, var(--surface) 85%, var(--brand) 15%);
  --tpl-paper-3: color-mix(in oklch, var(--surface) 78%, var(--brand) 22%);
  --tpl-card: var(--surface-card, var(--white));
  --tpl-ink: var(--ink);
  --tpl-muted: color-mix(in oklch, var(--ink) 74%, var(--surface) 26%);
  --tpl-rule: color-mix(in oklch, var(--ink) 18%, transparent);
  --tpl-rule-strong: color-mix(in oklch, var(--ink) 28%, transparent);
  --tpl-accent: var(--brand);
  --tpl-accent-strong: var(--brand-strong);
  --tpl-accent-ink: var(--white);
  --tpl-offer: var(--offer);
  --tpl-dark-surface: var(--brand-ink);
  --tpl-dark-surface-2: color-mix(in oklch, var(--brand-ink) 80%, var(--brand) 20%);
  --tpl-dark-card: color-mix(in oklch, var(--brand-ink) 86%, var(--white) 14%);
  --tpl-dark-ink: var(--white);
  --tpl-dark-muted: color-mix(in oklch, var(--white) 80%, var(--brand-ink) 20%);
  --tpl-dark-rule: color-mix(in oklch, var(--white) 20%, transparent);
  --tpl-scrim-start: rgba(5, 22, 46, 0.9);
  --tpl-scrim-mid: rgba(5, 22, 46, 0.62);
  --tpl-scrim-end: rgba(5, 22, 46, 0.22);
  --tpl-warm-scrim-start: rgba(28, 22, 18, 0.84);
  --tpl-warm-scrim-mid: rgba(28, 22, 18, 0.48);
  --tpl-warm-scrim-end: rgba(28, 22, 18, 0.08);
  --tpl-slot-outline: color-mix(in oklch, var(--ink) 18%, transparent);
  --tpl-dark-panel: rgba(5, 22, 46, 0.84);
  --tpl-dark-panel-hover: rgba(252, 253, 255, 0.12);
  --tpl-card-shadow: 0 2px 10px rgba(7, 29, 58, 0.06);
  --tpl-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --tpl-dur-micro: 150ms;
  --tpl-dur-short: 240ms;
  --tpl-dur-reveal: 620ms;
  --tpl-dur-hero: 720ms;
  --tpl-card-shadow-hover: 0 14px 32px rgba(7, 29, 58, 0.12);
  --tpl-warm-paper: oklch(94.5% 0.014 82);
  --tpl-warm-well: oklch(88.5% 0.02 78);
  --tpl-warm-card: oklch(98% 0.008 84);
  --tpl-warm-ink: oklch(20% 0.015 65);
  --tpl-warm-muted: oklch(39% 0.015 65);
  --tpl-warm-footer: oklch(22% 0.018 62);
  --tpl-warm-footer-muted: oklch(84% 0.014 78);
  --tpl-warm-footer-rule: oklch(96% 0.01 80 / 0.16);
  --tpl-warm-footer-accent: oklch(78% 0.065 72);
  --tpl-studio-chrome: oklch(20% 0.012 250);
  --tpl-obsidian-bg: oklch(17% 0.025 252);
  --tpl-obsidian-well: oklch(22% 0.028 252);
  --tpl-obsidian-card: oklch(25% 0.03 252);
  --tpl-obsidian-ink: oklch(96% 0.008 250);
  --tpl-obsidian-muted: oklch(79% 0.018 250);
  --tpl-obsidian-rule: oklch(96% 0.01 250 / 0.16);
  --tpl-obsidian-rule-strong: oklch(96% 0.01 250 / 0.28);
  --tpl-obsidian-accent: oklch(74% 0.14 238);
}

/* ==========================================================================
   HALLMARK SURFACE MOODS (5 posturas tonais reais)
   ========================================================================== */

.tpl-canvas {
  background: var(--tpl-paper);
  color: var(--tpl-ink);
}

/* Mood 1: Slate Architect (corporativo nítido em ardósia fria + contraste escuro) */
.tpl-canvas[data-tpl-mood="slate-architect"] {
  --tpl-paper: color-mix(in oklch, var(--surface) 92%, var(--brand) 8%);
  --tpl-paper-2: color-mix(in oklch, var(--surface) 83%, var(--brand) 17%);
  --tpl-paper-3: color-mix(in oklch, var(--surface) 76%, var(--brand) 24%);
}

/* Mood 2: Cobalt Commercial (conversão de alto impacto, contraste acentuado em planos) */
.tpl-canvas[data-tpl-mood="cobalt-commercial"] {
  --tpl-paper: color-mix(in oklch, var(--surface) 93%, var(--brand) 7%);
  --tpl-paper-2: color-mix(in oklch, var(--surface) 84%, var(--brand) 16%);
  --tpl-paper-3: color-mix(in oklch, var(--surface) 75%, var(--brand) 25%);
}

/* Mood 3: Warm Editorial (papel pedra quente neutro, fios nítidos, clima revista impressa) */
.tpl-canvas[data-tpl-mood="warm-editorial"] {
  --tpl-paper: var(--tpl-warm-paper);
  --tpl-paper-2: var(--tpl-warm-well);
  --tpl-paper-3: color-mix(in oklch, var(--tpl-warm-well) 88%, var(--tpl-warm-ink) 12%);
  --tpl-card: var(--tpl-warm-card);
  --tpl-ink: var(--tpl-warm-ink);
  --tpl-muted: var(--tpl-warm-muted);
  --tpl-rule: color-mix(in oklch, var(--tpl-warm-ink) 20%, transparent);
  --tpl-rule-strong: color-mix(in oklch, var(--tpl-warm-ink) 32%, transparent);
}

/* Mood 4: Studio Contrast (estúdio gráfico de alto contraste com faixas marcadas) */
.tpl-canvas[data-tpl-mood="studio-contrast"] {
  --tpl-paper: color-mix(in oklch, var(--surface) 90%, var(--ink) 10%);
  --tpl-paper-2: color-mix(in oklch, var(--surface) 82%, var(--ink) 18%);
  --tpl-paper-3: color-mix(in oklch, var(--surface) 76%, var(--brand) 24%);
}

/* Mood 5: Obsidian Executive (dark mode arquitetônico real, contraste >= 11:1) */
.tpl-canvas[data-tpl-mood="obsidian-executive"] {
  --tpl-paper: color-mix(in oklch, var(--tpl-obsidian-bg) 82%, var(--brand-ink) 18%);
  --tpl-paper-2: color-mix(in oklch, var(--tpl-obsidian-well) 80%, var(--brand-ink) 20%);
  --tpl-paper-3: color-mix(in oklch, var(--tpl-obsidian-card) 78%, var(--brand) 22%);
  --tpl-card: color-mix(in oklch, var(--tpl-obsidian-card) 86%, var(--brand-ink) 14%);
  --tpl-ink: var(--tpl-obsidian-ink);
  --tpl-muted: var(--tpl-obsidian-muted);
  --tpl-rule: var(--tpl-obsidian-rule);
  --tpl-rule-strong: var(--tpl-obsidian-rule-strong);
  --tpl-accent: var(--tpl-obsidian-accent);
  --tpl-slot-outline: var(--tpl-obsidian-rule-strong);
  --ink: var(--tpl-obsidian-ink);
  --muted: var(--tpl-obsidian-muted);
  --line: var(--tpl-obsidian-rule);
  --white: var(--tpl-obsidian-card);
  --surface: var(--tpl-obsidian-bg);
  --surface-2: var(--tpl-obsidian-well);
}

/* ==========================================================================
   RITMO DE SUPERFÍCIES E ESCADA TONAL ENTRE SEÇÕES
   ========================================================================== */

.tpl-canvas .section {
  padding-block: clamp(3rem, 5.5vw, 4.75rem);
  background: var(--tpl-paper);
  color: var(--tpl-ink);
  border-bottom: 1px solid var(--tpl-rule);
}

.tpl-canvas .section:nth-of-type(even):not(.section--ink):not(.stats-section--band) {
  background: var(--tpl-paper-2);
}

.tpl-canvas .section--surface {
  background: var(--tpl-paper-2);
}

.tpl-canvas .section--ink,
.tpl-canvas .stats-section--band {
  background: var(--tpl-dark-surface);
  color: var(--tpl-dark-ink);
  border-bottom: 1px solid var(--tpl-dark-rule);
}

.tpl-canvas .section--ink h2,
.tpl-canvas .section--ink h3,
.tpl-canvas .stats-section--band h2 {
  color: var(--tpl-dark-ink);
}

.tpl-canvas .section--ink p,
.tpl-canvas .stats-section--band p {
  color: var(--tpl-dark-muted);
}

.tpl-canvas .section--tight {
  padding-block: clamp(2.25rem, 4vw, 3.5rem);
}

.tpl-canvas .section-head {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.tpl-canvas .section-head h2 {
  color: var(--tpl-ink);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.tpl-canvas .section-head p {
  color: var(--tpl-muted);
  font-size: 1.06rem;
}

/* Cartões nítidos com contraste real contra o fundo tonal */
.tpl-canvas .plan-card,
.tpl-canvas .service-card,
.tpl-canvas .post-card,
.tpl-canvas .feature,
.tpl-canvas .steps--cards .step {
  background: var(--tpl-card);
  border: 1px solid var(--tpl-rule-strong);
  box-shadow: var(--tpl-card-shadow);
  color: var(--tpl-ink);
}

.tpl-canvas .plan-card__tagline,
.tpl-canvas .plan-card__note,
.tpl-canvas .plan-card__from,
.tpl-canvas .service-card p,
.tpl-canvas .post-card p,
.tpl-canvas .feature p,
.tpl-canvas .step p,
.tpl-canvas .faq details p {
  color: var(--tpl-muted);
}

.tpl-canvas .plan-card__name,
.tpl-canvas .service-card h3,
.tpl-canvas .post-card h3,
.tpl-canvas .feature h3,
.tpl-canvas .step h3,
.tpl-canvas .faq summary {
  color: var(--tpl-ink);
}

.tpl-canvas .plan-card__amount {
  color: var(--tpl-accent);
  font-variant-numeric: tabular-nums;
}

.tpl-canvas .plan-switch {
  background: var(--tpl-paper-3);
  border: 1px solid var(--tpl-rule-strong);
}

.tpl-canvas .plan-switch button {
  color: var(--tpl-ink);
}

.tpl-canvas .faq details {
  border-bottom: 1px solid var(--tpl-rule-strong);
}

.tpl-canvas[data-tpl-mood="obsidian-executive"] .btn--primary {
  background: var(--tpl-accent);
  color: var(--tpl-obsidian-bg);
}

.tpl-canvas[data-tpl-mood="obsidian-executive"] .btn--primary:hover {
  background: var(--tpl-obsidian-ink);
  color: var(--tpl-obsidian-bg);
}

.tpl-canvas[data-tpl-mood="obsidian-executive"] .btn--ghost {
  color: var(--tpl-obsidian-ink);
  border-color: var(--tpl-obsidian-rule-strong);
}

.tpl-canvas[data-tpl-mood="obsidian-executive"] .btn--ghost:hover {
  background: var(--tpl-obsidian-ink);
  color: var(--tpl-obsidian-bg);
}

.tpl-canvas[data-tpl-mood="obsidian-executive"] .service-card__link,
.tpl-canvas[data-tpl-mood="obsidian-executive"] .faq summary svg {
  color: var(--tpl-accent);
}

.tpl-canvas[data-tpl-mood="obsidian-executive"] .plan-card--popular {
  border-color: var(--tpl-accent);
}

/* Base para slots fotográficos substituíveis pelo painel */
.tpl-slot {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--tpl-paper-3);
  outline: 1px solid var(--tpl-slot-outline);
  outline-offset: -1px;
}

.tpl-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tpl-figure {
  margin: 0;
  display: grid;
  gap: var(--tpl-space-sm);
}

.tpl-caption {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--tpl-muted);
}

.tpl-heading {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--tpl-ink);
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}

.tpl-lead {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--tpl-muted);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ==========================================================================
   HERO POSTURES (10 arquiteturas distintas)
   ========================================================================== */

.tpl-hero {
  position: relative;
  background: var(--tpl-paper);
  border-bottom: 1px solid var(--tpl-rule-strong);
  padding-block: clamp(2.5rem, 4.5vw, 4rem);
}

.tpl-hero .container {
  max-width: var(--tpl-container);
}

.tpl-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.8vw, 4.25rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--tpl-ink);
  max-width: 18ch;
  margin: 0;
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}

.tpl-hero__subtitle {
  margin: var(--tpl-space-lg) 0 0;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  color: var(--tpl-muted);
  max-width: 48ch;
  text-wrap: pretty;
}

.tpl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--tpl-space-sm);
  margin-top: var(--tpl-space-xl);
}

.tpl-hero__actions .btn {
  white-space: nowrap;
}

.tpl-hero a:focus-visible,
.tpl-hero button:focus-visible,
.tpl-split a:focus-visible,
.tpl-about-magazine a:focus-visible,
.services--bento .service-card:focus-visible,
.services--rows .service-card:focus-visible,
.services--editorial-grid .service-card:focus-visible,
.cta--split-image a:focus-visible,
.cta--statement a:focus-visible,
.cta--dark-minimal a:focus-visible {
  outline: 3px solid var(--tpl-offer);
  outline-offset: 3px;
}

.tpl-hero__actions .btn:active,
.tpl-split__actions .btn:active,
.cta--split-image .btn:active,
.cta--statement .btn:active,
.cta--dark-minimal .btn:active,
.services--bento .service-card:active,
.services--rows .service-card:active,
.services--editorial-grid .service-card:active {
  transform: translateY(1px);
}

.tpl-hero button:disabled,
.tpl-hero [aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

.tpl-hero__note {
  margin-top: var(--tpl-space-lg);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--tpl-muted);
  max-width: 48ch;
}

/* 1. Stage — 5fr copy + 7fr fotografia grande à direita */
.tpl-hero--stage {
  min-height: min(80svh, 740px);
  display: flex;
  align-items: center;
}

.tpl-hero--stage>.container {
  width: 100%;
}

.tpl-hero--stage .tpl-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.tpl-hero--stage .tpl-slot {
  aspect-ratio: 4 / 3;
  min-height: clamp(320px, 48svh, 500px);
}

/* 2. Poster — fotografia full-bleed com scrim direcional + oferta e painel */
.tpl-hero--poster {
  min-height: min(82svh, 760px);
  display: flex;
  align-items: center;
  background: var(--tpl-dark-surface);
  color: var(--tpl-dark-ink);
  border-bottom: 0;
  overflow: hidden;
  padding-block: clamp(3rem, 5.5vw, 5rem);
}

.tpl-hero--poster>.container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.tpl-hero__bg-slot {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0;
  outline: none;
}

.tpl-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(96deg,
      var(--tpl-scrim-start) 0%,
      var(--tpl-scrim-mid) 56%,
      var(--tpl-scrim-end) 100%);
  pointer-events: none;
}

/* 2b. Fullbleed — Hero 100% tela cheia edge-to-edge de impacto editorial */
.tpl-hero--fullbleed {
  width: 100%;
  min-height: clamp(600px, calc(100svh - 5.5rem), 920px);
  display: flex;
  align-items: flex-end;
  background: var(--tpl-dark-surface);
  color: var(--tpl-dark-ink);
  border-bottom: 0;
  overflow: hidden;
  padding-block: clamp(4.5rem, 8vw, 7rem) clamp(3.5rem, 6vw, 5.5rem);
}

.tpl-hero--fullbleed>.container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.tpl-hero__fullbleed-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
      var(--tpl-scrim-start) 0%,
      var(--tpl-scrim-mid) 48%,
      var(--tpl-scrim-end) 100%);
  pointer-events: none;
}

.tpl-canvas[data-tpl-mood="warm-editorial"] .tpl-hero__fullbleed-scrim {
  background: linear-gradient(100deg,
      var(--tpl-warm-scrim-start) 0%,
      var(--tpl-warm-scrim-mid) 48%,
      var(--tpl-warm-scrim-end) 100%);
}

.tpl-hero__fullbleed-copy {
  max-width: 40rem;
}

.tpl-hero--fullbleed .tpl-hero__title {
  font-size: clamp(2.6rem, 5.2vw, 4.65rem);
  line-height: 1.03;
  max-width: 15ch;
  color: var(--tpl-dark-ink);
}

.tpl-hero--fullbleed .tpl-hero__subtitle {
  color: var(--tpl-dark-ink);
  font-size: clamp(1.06rem, 1.45vw, 1.22rem);
  max-width: 48ch;
}

.tpl-hero--fullbleed .tpl-hero__note {
  color: var(--tpl-dark-muted);
}

.tpl-hero--fullbleed .btn--offer {
  background: var(--tpl-dark-ink);
  color: var(--tpl-dark-surface);
  border: 1px solid var(--tpl-dark-ink);
}

.tpl-hero--fullbleed .btn--offer:hover {
  background: var(--tpl-paper-2);
  color: var(--tpl-dark-surface);
}

.tpl-hero--fullbleed .btn--ghost {
  color: var(--tpl-dark-ink);
  border-color: var(--tpl-dark-rule);
}

.tpl-hero--fullbleed .btn--ghost:hover {
  background: var(--tpl-dark-ink);
  color: var(--tpl-dark-surface);
}

.tpl-hero--poster .tpl-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.tpl-hero--poster .tpl-hero__title {
  color: var(--tpl-dark-ink);
}

.tpl-hero--poster .tpl-hero__subtitle,
.tpl-hero--poster .tpl-hero__note {
  color: var(--tpl-dark-muted);
}

.tpl-hero--poster .btn--offer {
  background: var(--tpl-dark-ink);
  color: var(--tpl-dark-surface);
  border-color: var(--tpl-dark-ink);
}

.tpl-hero--poster .btn--offer:hover {
  background: var(--tpl-paper-2);
  color: var(--tpl-dark-surface);
}

.tpl-hero--poster .btn--ghost {
  color: var(--tpl-dark-ink);
  border-color: var(--tpl-dark-rule);
}

.tpl-hero--poster .btn--ghost:hover {
  background: var(--tpl-dark-ink);
  color: var(--tpl-dark-surface);
  border-color: var(--tpl-dark-ink);
}

.tpl-hero--poster .hero__panel {
  background: var(--tpl-dark-panel);
  backdrop-filter: blur(12px);
  border: 1px solid var(--tpl-dark-rule);
  color: var(--tpl-dark-ink);
  box-shadow: none;
}

.tpl-hero--poster .hero__panel-head {
  border-bottom: 1px solid var(--tpl-dark-rule);
}

.tpl-hero--poster .hero__panel-head span,
.tpl-hero--poster .hero__panel-foot {
  color: var(--tpl-dark-muted);
}

.tpl-hero--poster .hero__plan-row {
  border-bottom: 1px solid var(--tpl-dark-rule);
  color: var(--tpl-dark-ink);
}

.tpl-hero--poster .hero__plan-row--featured {
  background: var(--tpl-dark-panel-hover);
}

/* 3. Editorial — abertura em duas colunas + fotografia panorâmica 21:9 */
.tpl-hero--editorial {
  background: var(--tpl-paper);
  padding-block: clamp(2.5rem, 4.5vw, 3.75rem) clamp(2.75rem, 4.5vw, 4rem);
}

.tpl-hero--editorial .tpl-hero__head-row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.tpl-hero--editorial .tpl-hero__title {
  max-width: 15ch;
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
}

.tpl-hero--editorial .tpl-hero__aside {
  display: grid;
  gap: var(--tpl-space-lg);
}

.tpl-hero--editorial .tpl-hero__subtitle,
.tpl-hero--editorial .tpl-hero__actions {
  margin-top: 0;
}

.tpl-hero--editorial .tpl-slot {
  aspect-ratio: 21 / 9;
  min-height: clamp(260px, 38svh, 460px);
}

/* 4. Studio — fotografia à esquerda + posicionamento à direita */
.tpl-hero--studio {
  min-height: min(80svh, 740px);
  display: flex;
  align-items: center;
  background: var(--tpl-paper-2);
}

.tpl-hero--studio>.container {
  width: 100%;
}

.tpl-hero--studio .tpl-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.tpl-hero--studio .tpl-slot {
  aspect-ratio: 4 / 3;
  min-height: clamp(320px, 48svh, 500px);
}

/* 5. Counter — balcão comercial com oferta direta + foto integrada ao painel */
.tpl-hero--counter {
  min-height: min(80svh, 740px);
  display: flex;
  align-items: center;
  background: var(--tpl-paper);
}

.tpl-hero--counter>.container {
  width: 100%;
}

.tpl-hero--counter .tpl-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.tpl-counter-card {
  display: grid;
  background: var(--tpl-card);
  border: 1px solid var(--tpl-rule-strong);
  border-radius: var(--radius-card);
  box-shadow: var(--tpl-card-shadow);
  overflow: hidden;
}

.tpl-counter-card__media {
  aspect-ratio: 16 / 9;
  border-radius: 0;
  outline: none;
}

.tpl-counter-card__body {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.tpl-counter-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--tpl-space-md);
  padding-bottom: var(--tpl-space-sm);
  border-bottom: 1px solid var(--tpl-rule-strong);
}

.tpl-counter-card__head strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--tpl-ink);
}

.tpl-counter-card__head span {
  font-size: 0.875rem;
  color: var(--tpl-muted);
}

.tpl-counter-card__rows {
  display: grid;
}

.tpl-counter-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tpl-space-md);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--tpl-rule);
  font-variant-numeric: tabular-nums;
}

.tpl-counter-card__row:last-child {
  border-bottom: 0;
}

.tpl-counter-card__row strong {
  color: var(--tpl-ink);
  font-weight: 700;
}

.tpl-counter-card__row--featured,
.tpl-counter-card__row--featured strong {
  color: var(--tpl-accent);
  font-weight: 600;
}

.tpl-counter-card__foot {
  margin: var(--tpl-space-sm) 0 0;
  font-size: 0.875rem;
  color: var(--tpl-muted);
}

/* 6. Split-Dark — executivo em superfície escura com fotografia em destaque */
.tpl-hero--split-dark {
  min-height: min(80svh, 740px);
  display: flex;
  align-items: center;
  background: var(--tpl-dark-surface);
  color: var(--tpl-dark-ink);
  border-bottom: 1px solid var(--tpl-dark-rule);
}

.tpl-hero--split-dark>.container {
  width: 100%;
}

.tpl-hero--split-dark .tpl-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5.5fr) minmax(0, 6.5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.tpl-hero--split-dark .tpl-hero__title {
  color: var(--tpl-dark-ink);
}

.tpl-hero--split-dark .tpl-hero__subtitle,
.tpl-hero--split-dark .tpl-hero__note,
.tpl-hero--split-dark .tpl-caption {
  color: var(--tpl-dark-muted);
}

.tpl-hero--split-dark .btn--primary {
  background: var(--tpl-dark-ink);
  color: var(--tpl-dark-surface);
}

.tpl-hero--split-dark .btn--primary:hover {
  background: var(--tpl-paper-3);
  color: var(--tpl-dark-surface);
}

.tpl-hero--split-dark .btn--ghost {
  color: var(--tpl-dark-ink);
  border-color: var(--tpl-dark-rule);
}

.tpl-hero--split-dark .btn--ghost:hover {
  background: var(--tpl-dark-ink);
  color: var(--tpl-dark-surface);
  border-color: var(--tpl-dark-ink);
}

.tpl-hero--split-dark .tpl-slot {
  aspect-ratio: 4 / 3;
  min-height: clamp(320px, 48svh, 500px);
  outline: 1px solid var(--tpl-dark-rule);
}

/* 7. Framed — moldura editorial com retrato vertical 4:5 */
.tpl-hero--framed {
  background: var(--tpl-paper-2);
  padding-block: clamp(2.5rem, 4.5vw, 4rem);
}

.tpl-hero__frame {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.25rem);
  background: var(--tpl-card);
  border: 1px solid var(--tpl-rule-strong);
  border-radius: var(--radius-card);
  box-shadow: var(--tpl-card-shadow);
}

.tpl-hero--framed .tpl-slot {
  aspect-ratio: 4 / 5;
  min-height: clamp(320px, 46svh, 480px);
}

/* 8. Banner-Strip — abertura compacta com faixa fotográfica imediata */
.tpl-hero--banner-strip {
  background: var(--tpl-paper-2);
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
}

.tpl-hero--banner-strip .tpl-hero__strip-head {
  display: grid;
  grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: end;
  padding-bottom: clamp(1.5rem, 2.8vw, 2.25rem);
  border-bottom: 1px solid var(--tpl-rule-strong);
  margin-bottom: clamp(1.5rem, 2.8vw, 2.25rem);
}

.tpl-hero--banner-strip .tpl-hero__title {
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  max-width: 20ch;
}

.tpl-hero--banner-strip .tpl-hero__subtitle {
  margin-top: 0;
}

.tpl-hero--banner-strip .tpl-hero__actions {
  margin-top: var(--tpl-space-lg);
}

.tpl-hero--banner-strip .tpl-slot {
  aspect-ratio: 16 / 6;
  min-height: clamp(220px, 32svh, 360px);
}

/* 9. Mosaic — copy à esquerda + composição assimétrica com dupla fotográfica */
.tpl-hero--mosaic {
  min-height: min(80svh, 740px);
  display: flex;
  align-items: center;
  background: var(--tpl-paper-2);
}

.tpl-hero--mosaic>.container {
  width: 100%;
}

.tpl-hero--mosaic .tpl-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.tpl-hero__mosaic-media {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--tpl-space-md);
  align-items: stretch;
}

.tpl-hero__mosaic-media .tpl-slot:first-child {
  aspect-ratio: 4 / 5;
  min-height: clamp(320px, 46svh, 480px);
}

.tpl-hero__mosaic-media .tpl-slot:last-child {
  aspect-ratio: 3 / 4;
  align-self: end;
  min-height: clamp(240px, 36svh, 380px);
}

/* 10. Corridor — corredor arquitetônico centralizado com imagem larga abaixo */
.tpl-hero--corridor {
  background: var(--tpl-paper-2);
  padding-block: clamp(2.75rem, 5vw, 4.5rem) clamp(2.75rem, 4.5vw, 4rem);
}

.tpl-hero--corridor .tpl-hero__center {
  display: grid;
  justify-items: center;
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.tpl-hero--corridor .tpl-hero__title {
  max-width: 18ch;
  font-size: clamp(2.6rem, 5.2vw, 4.5rem);
}

.tpl-hero--corridor .tpl-hero__subtitle {
  max-width: 50ch;
}

.tpl-hero--corridor .tpl-hero__actions {
  justify-content: center;
}

.tpl-hero--corridor .tpl-slot {
  aspect-ratio: 16 / 9;
  max-height: 520px;
}

/* ==========================================================================
   IMAGE-TEXT / SPLIT MEDIA
   ========================================================================== */

.tpl-split {
  display: grid;
  grid-template-columns: minmax(0, 5.5fr) minmax(0, 6.5fr);
  gap: var(--tpl-gap);
  align-items: center;
}

.tpl-split--media-left {
  grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr);
}

.tpl-split__copy {
  display: grid;
  gap: var(--tpl-space-md);
  min-width: 0;
}

.tpl-split__copy h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.tpl-split__body {
  color: var(--tpl-muted);
  max-width: 58ch;
  text-wrap: pretty;
}

.tpl-split__body p+p {
  margin-top: var(--tpl-space-md);
}

.tpl-split__bullets {
  list-style: none;
  margin: var(--tpl-space-xs) 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.tpl-split__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--tpl-ink);
  font-size: 0.98rem;
}

.tpl-split__bullets svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--tpl-accent);
}

.tpl-split__actions {
  margin-top: var(--tpl-space-sm);
}

.tpl-split__media .tpl-slot {
  aspect-ratio: 4 / 3;
  min-height: clamp(300px, 40svh, 460px);
}

/* ==========================================================================
   ABOUT MAGAZINE
   ========================================================================== */

.tpl-about-magazine {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--tpl-gap);
  align-items: center;
}

.tpl-about-magazine__media .tpl-slot {
  aspect-ratio: 4 / 5;
  min-height: clamp(360px, 48svh, 520px);
}

.tpl-about-magazine__body {
  display: grid;
  gap: var(--tpl-space-lg);
  min-width: 0;
}

.tpl-about-magazine__body h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.08;
  max-width: 22ch;
}

.tpl-about-magazine__body>p {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--tpl-muted);
  max-width: 58ch;
  text-wrap: pretty;
}

/* ==========================================================================
   GALLERY SHOWCASE / DIPTYCH / PORTFOLIO / TRIPTYCH / FEATURE-STRIP
   ========================================================================== */

.tpl-gallery {
  display: grid;
  gap: var(--tpl-gap);
}

.tpl-gallery--showcase {
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.tpl-gallery--showcase .tpl-gallery__card:first-child {
  grid-row: 1 / -1;
}

.tpl-gallery--showcase .tpl-gallery__card:first-child .tpl-slot {
  height: 100%;
  min-height: 440px;
}

.tpl-gallery--showcase .tpl-gallery__card:not(:first-child) .tpl-slot {
  aspect-ratio: 16 / 10;
  min-height: 205px;
}

.tpl-gallery--diptych {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
}

.tpl-gallery--diptych .tpl-slot {
  aspect-ratio: 4 / 3;
  min-height: 350px;
}

.tpl-gallery--portfolio {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tpl-gallery--portfolio .tpl-gallery__card:first-child {
  grid-column: 1 / -1;
}

.tpl-gallery--portfolio .tpl-gallery__card:first-child .tpl-slot {
  aspect-ratio: 21 / 9;
  min-height: 350px;
}

.tpl-gallery--portfolio .tpl-gallery__card:not(:first-child) .tpl-slot {
  aspect-ratio: 16 / 10;
  min-height: 270px;
}

.tpl-gallery--triptych {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tpl-gallery--triptych .tpl-slot {
  aspect-ratio: 4 / 5;
  min-height: 330px;
}

.tpl-gallery--feature-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tpl-gallery--feature-strip .tpl-slot {
  aspect-ratio: 4 / 3;
  min-height: 200px;
}

.tpl-gallery__card {
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: var(--tpl-space-sm);
  min-width: 0;
}

.tpl-gallery__meta {
  display: grid;
  gap: 0.2rem;
}

.tpl-gallery__meta strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--tpl-ink);
}

.tpl-gallery__meta span {
  font-size: 0.92rem;
  color: var(--tpl-muted);
}

/* ==========================================================================
   SERVICE GRID — BENTO, ROWS, EDITORIAL-GRID
   ========================================================================== */

.services--bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--tpl-gap);
}

.services--bento .service-card {
  grid-column: span 2;
  display: grid;
  align-content: space-between;
  gap: var(--tpl-space-md);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--tpl-card);
  border: 1px solid var(--tpl-rule-strong);
  border-radius: var(--radius-card);
  box-shadow: var(--tpl-card-shadow);
  transition: border-color var(--tpl-dur-short) var(--tpl-ease-out), background-color var(--tpl-dur-short) var(--tpl-ease-out);
}

.services--bento .service-card:first-child {
  grid-column: span 4;
  background: var(--tpl-dark-surface);
  border-color: var(--tpl-dark-surface);
  color: var(--tpl-dark-ink);
}

.services--bento .service-card:nth-child(4) {
  grid-column: span 4;
}

.services--bento .service-card:nth-child(5),
.services--bento .service-card:nth-child(6) {
  grid-column: span 3;
}

.services--bento .service-card:first-child h3,
.services--bento .service-card:first-child .service-card__link {
  color: var(--tpl-dark-ink);
}

.services--bento .service-card:first-child p,
.services--bento .service-card:first-child .service-card__index {
  color: var(--tpl-dark-muted);
}

.services--bento .service-card:hover {
  transform: none;
  border-color: var(--tpl-accent);
}

.services--bento .service-card__icon {
  background: transparent;
  padding: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--tpl-accent);
}

.services--bento .service-card:first-child .service-card__icon {
  color: var(--tpl-dark-ink);
}

.services--rows {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--tpl-rule-strong);
}

.services--rows .service-card {
  display: grid;
  grid-template-columns: minmax(0, 4.5fr) minmax(0, 5.5fr) auto;
  align-items: center;
  gap: var(--tpl-gap);
  padding: 1.4rem 0.5rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--tpl-rule-strong);
  border-radius: 0;
  box-shadow: none;
  transition: background-color var(--tpl-dur-micro) var(--tpl-ease-out);
}

.services--rows .service-card:hover {
  transform: none;
  background: var(--tpl-paper-3);
}

.services--rows .service-card__index,
.services--rows .service-card__icon {
  display: none;
}

.services--rows .service-card h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  margin: 0;
}

.services--rows .service-card p {
  margin: 0;
  color: var(--tpl-muted);
}

.services--rows .service-card__link {
  margin: 0;
  white-space: nowrap;
}

.services--editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 2.75rem) var(--tpl-gap);
}

.services--editorial-grid .service-card {
  display: grid;
  gap: var(--tpl-space-sm);
  align-content: start;
  padding: var(--tpl-space-lg) 0 0;
  background: transparent;
  border: 0;
  border-top: 2px solid var(--tpl-rule-strong);
  border-radius: 0;
  box-shadow: none;
  transition: border-color var(--tpl-dur-short) var(--tpl-ease-out);
}

.services--editorial-grid .service-card:hover {
  transform: none;
  border-top-color: var(--tpl-accent);
}

.services--editorial-grid .service-card__icon {
  display: none;
}

.services--editorial-grid .service-card h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}

/* ==========================================================================
   STATS — FAIXA ARQUITETÔNICA DE ALTO CONTRASTE (sem branco lavado!)
   ========================================================================== */

.tpl-canvas .stats-section--hairline {
  background: var(--tpl-paper-2);
  color: var(--tpl-ink);
  padding-block: clamp(2.5rem, 4.5vw, 3.75rem);
  border-block: 1px solid var(--tpl-rule-strong);
}

.tpl-canvas .stats-section--hairline .section-head {
  margin-bottom: var(--tpl-space-xl);
}

.tpl-canvas .stats-section--hairline .section-head h2 {
  color: var(--tpl-ink);
}

.tpl-canvas .stats-section--hairline .section-head p {
  color: var(--tpl-muted);
}

.tpl-canvas .stats-section--hairline .stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--tpl-gap);
}

.tpl-canvas .stats-section--hairline .stat {
  padding: var(--tpl-space-lg);
  background: var(--tpl-card);
  border: 1px solid var(--tpl-rule-strong);
  border-top: 3px solid var(--tpl-accent);
  border-radius: var(--radius-card);
  box-shadow: var(--tpl-card-shadow);
  text-align: left;
}

.tpl-canvas .stats-section--hairline .stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--tpl-accent);
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
}

.tpl-canvas .stats-section--hairline .stat__label {
  margin-top: var(--tpl-space-xs);
  color: var(--tpl-ink);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.4;
}

.tpl-canvas .stats-section--band .stat {
  background: var(--tpl-dark-card);
  border: 1px solid var(--tpl-dark-rule);
}

.tpl-canvas .stats-section--band .stat__value {
  color: var(--tpl-dark-ink);
}

.tpl-canvas .stats-section--band .stat__label {
  color: var(--tpl-dark-muted);
}

/* ==========================================================================
   STEPS — CARDS VARIANT
   ========================================================================== */

.steps--cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--tpl-gap);
}

.steps--cards .step {
  padding: var(--tpl-space-lg);
  background: var(--tpl-card);
  border: 1px solid var(--tpl-rule-strong);
  border-radius: var(--radius-card);
}

/* ==========================================================================
   FEATURE GRID — HAIRLINE DL SPEC GRID
   ========================================================================== */

.features--dl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--tpl-gap);
  margin: 0;
}

.features--dl-grid .feature-dl-item {
  padding: var(--tpl-space-lg) var(--tpl-space-md) var(--tpl-space-lg) 0;
  border-top: 2px solid var(--tpl-rule-strong);
  display: grid;
  gap: var(--tpl-space-xs);
  align-content: start;
}

.features--dl-grid dt {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--tpl-ink);
}

.features--dl-grid dt svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--tpl-accent);
}

.features--dl-grid dd {
  margin: 0;
  color: var(--tpl-muted);
  font-size: 0.96rem;
  line-height: 1.55;
  max-width: 38ch;
}

/* ==========================================================================
   POST GRID — FEATURED MAGAZINE & REDESIGNED BLOG (HALLMARK EDITORIAL)
   ========================================================================== */

.tpl-blog-head {
  padding-block: clamp(2.75rem, 5.5vw, 4.5rem) clamp(1.75rem, 3vw, 2.5rem);
  background: var(--tpl-paper);
  border-bottom: 1px solid var(--tpl-rule-strong);
}

.tpl-blog-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--tpl-gap);
  align-items: end;
}

.tpl-blog-head__title h1 {
  font-size: clamp(2.35rem, 4.8vw, 3.85rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 16ch;
  color: var(--tpl-ink);
  text-wrap: balance;
  overflow-wrap: break-word;
}

.tpl-blog-head__aside {
  display: grid;
  gap: var(--tpl-space-md);
  justify-items: start;
}

.tpl-blog-head__aside p {
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--tpl-muted);
  max-width: 46ch;
  text-wrap: pretty;
}

.tpl-blog-head__count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--tpl-muted);
  font-variant-numeric: tabular-nums;
}

.tpl-blog-head__count strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--tpl-accent);
}

.tpl-blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-top: var(--tpl-space-md);
  border-top: 1px solid var(--tpl-rule);
}

.tpl-blog-filter {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--tpl-rule-strong);
  background: var(--tpl-card);
  color: var(--tpl-ink);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background-color var(--tpl-dur-micro) var(--tpl-ease-out), border-color var(--tpl-dur-micro) var(--tpl-ease-out), color var(--tpl-dur-micro) var(--tpl-ease-out);
}

.tpl-blog-filter:hover {
  border-color: var(--tpl-accent);
  color: var(--tpl-accent);
}

.tpl-blog-filter.is-active {
  background: var(--tpl-accent);
  border-color: var(--tpl-accent);
  color: var(--tpl-accent-ink);
}

.tpl-canvas[data-tpl-mood="obsidian-executive"] .tpl-blog-filter.is-active {
  color: var(--tpl-obsidian-bg);
}

.tpl-blog-filter:focus-visible,
.tpl-post-card__link:focus-visible,
.tpl-blog-lead a:focus-visible,
.tpl-article-back:focus-visible,
.tpl-article-toc a:focus-visible,
.tpl-blog-section-head__link:focus-visible {
  outline: 3px solid var(--tpl-offer);
  outline-offset: 3px;
}

.tpl-blog-filter:active {
  transform: translateY(1px);
}

/* Lead Featured Story */
.tpl-blog-lead-band {
  background: var(--tpl-paper-2);
}

.tpl-blog-lead {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 0;
  background: var(--tpl-card);
  border: 1px solid var(--tpl-rule-strong);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--tpl-card-shadow);
}

.tpl-blog-lead__media {
  display: block;
  aspect-ratio: 16 / 10;
  min-height: 100%;
  background: var(--tpl-dark-surface);
  overflow: hidden;
}

.tpl-blog-lead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tpl-blog-lead__body {
  padding: clamp(1.75rem, 3.2vw, 2.75rem);
  display: grid;
  align-content: center;
  gap: var(--tpl-space-md);
  min-width: 0;
}

.tpl-blog-lead__body h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--tpl-ink);
  text-wrap: balance;
}

.tpl-blog-lead__body h2 a {
  color: inherit;
}

.tpl-blog-lead__body h2 a:hover {
  color: var(--tpl-accent);
}

.tpl-blog-lead__body>p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--tpl-muted);
  max-width: 48ch;
  text-wrap: pretty;
}

.tpl-blog-lead__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--tpl-space-sm);
  padding-top: var(--tpl-space-sm);
  border-top: 1px solid var(--tpl-rule);
}

.tpl-blog-lead__author {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--tpl-muted);
}

/* Section Header & Grid */
.tpl-blog-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--tpl-space-md);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.tpl-blog-section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  color: var(--tpl-ink);
}

.tpl-blog-section-head__link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--tpl-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tpl-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--tpl-gap);
}

.tpl-blog-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tpl-blog-more {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.tpl-blog-empty {
  display: grid;
  gap: var(--tpl-space-md);
  justify-items: start;
  padding-block: var(--tpl-space-xl);
}

.tpl-blog-empty p {
  color: var(--tpl-muted);
  max-width: 50ch;
}

/* Editorial Post Card */
.tpl-post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--tpl-card);
  border: 1px solid var(--tpl-rule-strong);
  border-radius: var(--radius-card);
  overflow: hidden;
  color: var(--tpl-ink);
  transition: border-color var(--tpl-dur-short) var(--tpl-ease-out), transform var(--tpl-dur-short) var(--tpl-ease-out);
}

.tpl-post-card:hover {
  border-color: var(--tpl-accent);
  transform: translateY(-2px);
}

.tpl-post-card__media {
  aspect-ratio: 16 / 10;
  background: var(--tpl-dark-surface);
  overflow: hidden;
}

.tpl-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tpl-post-card__plate {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: end start;
  padding: var(--tpl-space-lg);
  background: linear-gradient(145deg, var(--tpl-dark-surface) 0%, var(--tpl-dark-surface-2) 100%);
  color: var(--tpl-dark-ink);
}

.tpl-post-card__plate span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  border-top: 1px solid var(--tpl-dark-rule);
  padding-top: var(--tpl-space-xs);
}

.tpl-post-card__body {
  padding: clamp(1.25rem, 2.2vw, 1.65rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
  min-width: 0;
}

.tpl-post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.85rem;
  font-size: 0.82rem;
  color: var(--tpl-muted);
  font-variant-numeric: tabular-nums;
}

.tpl-post-card__cat {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.6rem;
  border-radius: var(--radius-btn);
  background: var(--tpl-paper-2);
  color: var(--tpl-accent);
  font-weight: 600;
  font-size: 0.8rem;
}

.tpl-post-card h3 {
  font-size: 1.2rem;
  line-height: 1.24;
  color: var(--tpl-ink);
  text-wrap: balance;
}

.tpl-post-card__link {
  color: inherit;
}

.tpl-post-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.tpl-post-card:hover .tpl-post-card__link {
  color: var(--tpl-accent);
}

.tpl-post-card__body>p {
  font-size: 0.94rem;
  line-height: 1.58;
  color: var(--tpl-muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tpl-post-card__foot {
  padding-top: var(--tpl-space-sm);
  border-top: 1px solid var(--tpl-rule);
  margin-top: auto;
}

.tpl-post-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tpl-accent);
}

.tpl-post-card__cta svg {
  width: 0.95rem;
  height: 0.95rem;
}

.blog-grid--featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--tpl-gap);
}

.blog-grid--featured> :first-child {
  grid-column: 1 / -1;
}

.blog-grid--featured .tpl-post-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.blog-grid--featured .tpl-post-card--featured .tpl-post-card__media {
  height: 100%;
}

.blog-grid--featured .tpl-post-card--featured h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

/* Pagination */
.tpl-blog-pagination {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.tpl-blog-pagination nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--tpl-space-md);
}

.tpl-blog-pagination a,
.tpl-blog-pagination span[aria-current="page"]>span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--tpl-rule-strong);
  background: var(--tpl-card);
  color: var(--tpl-ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.tpl-blog-pagination span[aria-current="page"]>span {
  background: var(--tpl-accent);
  border-color: var(--tpl-accent);
  color: var(--tpl-accent-ink);
}

/* Article Detail Reading View */
.tpl-reading-progress {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 3px;
  background: var(--tpl-rule);
}

.tpl-reading-progress__bar {
  width: 100%;
  height: 100%;
  background: var(--tpl-accent);
  transform-origin: left center;
  transform: scaleX(0);
}

.tpl-article-head {
  padding-block: clamp(2.25rem, 4.5vw, 3.75rem) clamp(1.75rem, 3vw, 2.5rem);
  background: var(--tpl-paper);
  border-bottom: 1px solid var(--tpl-rule);
}

.tpl-article-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--tpl-space-sm);
  margin-bottom: var(--tpl-space-lg);
}

.tpl-article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tpl-muted);
}

.tpl-article-back:hover {
  color: var(--tpl-accent);
}

.tpl-article-back svg {
  width: 1rem;
  height: 1rem;
}

.tpl-article-head h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 22ch;
  color: var(--tpl-ink);
  text-wrap: balance;
  overflow-wrap: break-word;
}

.tpl-article-head__lead {
  margin-top: var(--tpl-space-md);
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--tpl-muted);
  max-width: 58ch;
  text-wrap: pretty;
}

.tpl-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: var(--tpl-space-lg);
  padding-top: var(--tpl-space-md);
  border-top: 1px solid var(--tpl-rule);
  font-size: 0.9rem;
  color: var(--tpl-muted);
  font-variant-numeric: tabular-nums;
}

.tpl-article-author {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--tpl-ink);
  font-weight: 600;
}

.tpl-article-author__avatar {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--tpl-accent);
  color: var(--tpl-accent-ink);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
}

.tpl-canvas[data-tpl-mood="obsidian-executive"] .tpl-article-author__avatar {
  color: var(--tpl-obsidian-bg);
}

.tpl-article-cover-wrap {
  background: var(--tpl-paper);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.tpl-article-cover {
  margin: 0;
  aspect-ratio: 21 / 10;
  max-height: 32rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--tpl-rule-strong);
  overflow: hidden;
  background: var(--tpl-dark-surface);
}

.tpl-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tpl-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 19.5rem);
  gap: var(--tpl-gap);
  align-items: start;
}

.tpl-article-main {
  max-width: 68ch;
  min-width: 0;
}

.tpl-article-prose {
  font-size: 1.07rem;
  line-height: 1.75;
  color: var(--tpl-ink);
  text-wrap: pretty;
}

.tpl-article-prose h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  color: var(--tpl-ink);
}

.tpl-article-prose h3 {
  margin-top: 1.65rem;
  margin-bottom: 0.55rem;
  font-size: 1.22rem;
  color: var(--tpl-ink);
}

.tpl-article-prose p,
.tpl-article-prose ul,
.tpl-article-prose ol {
  margin-bottom: 1.25rem;
  color: var(--tpl-muted);
}

.tpl-article-prose ul,
.tpl-article-prose ol {
  padding-left: 1.35rem;
  display: grid;
  gap: 0.45rem;
}

.tpl-article-prose a {
  color: var(--tpl-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tpl-article-prose blockquote {
  margin: 1.75rem 0;
  padding: var(--tpl-space-md) var(--tpl-space-lg);
  border-top: 2px solid var(--tpl-accent);
  border-bottom: 1px solid var(--tpl-rule);
  background: var(--tpl-paper-2);
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--tpl-ink);
}

.tpl-article-prose img {
  border-radius: var(--radius-card);
  border: 1px solid var(--tpl-rule);
  margin-block: 1.5rem;
}

.tpl-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.25rem;
  padding-top: var(--tpl-space-lg);
  border-top: 1px solid var(--tpl-rule);
}

.tpl-article-tag {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-btn);
  background: var(--tpl-paper-2);
  border: 1px solid var(--tpl-rule);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--tpl-ink);
}

.tpl-article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--tpl-space-sm);
  margin-top: var(--tpl-space-xl);
  padding-top: var(--tpl-space-lg);
  border-top: 1px solid var(--tpl-rule-strong);
}

.tpl-article-aside {
  position: sticky;
  top: 5.5rem;
  display: grid;
  gap: var(--tpl-space-lg);
}

.tpl-article-box {
  padding-top: var(--tpl-space-md);
  border-top: 2px solid var(--tpl-rule-strong);
  display: grid;
  gap: var(--tpl-space-sm);
}

.tpl-article-box h2 {
  font-size: 1.05rem;
  color: var(--tpl-ink);
}

.tpl-article-box p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--tpl-muted);
}

.tpl-article-toc {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.tpl-article-toc a {
  color: var(--tpl-muted);
}

.tpl-article-toc a:hover {
  color: var(--tpl-accent);
}

.tpl-article-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tpl-article-share__feedback {
  font-size: 0.82rem;
  color: var(--tpl-accent);
}

.tpl-article-box--cta {
  border-top-color: var(--tpl-accent);
  justify-items: start;
}

.tpl-blog-related {
  background: var(--tpl-paper-2);
}

/* ==========================================================================
   AGENDAMENTO ONLINE E PRESENCIAL (BLOCK: booking)
   ========================================================================== */

.tpl-booking {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--tpl-gap);
  align-items: start;
}

.tpl-booking__intro {
  display: grid;
  gap: var(--tpl-space-lg);
}

.tpl-booking__intro h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 18ch;
  color: var(--tpl-ink);
  text-wrap: balance;
}

.tpl-booking__lead {
  font-size: 1.04rem;
  line-height: 1.65;
  color: var(--tpl-muted);
  max-width: 46ch;
}

.tpl-booking__modes {
  display: grid;
  gap: var(--tpl-space-md);
  border-top: 1px solid var(--tpl-rule-strong);
  padding-top: var(--tpl-space-md);
}

.tpl-booking__mode-info {
  display: grid;
  gap: 0.25rem;
  padding-bottom: var(--tpl-space-md);
  border-bottom: 1px solid var(--tpl-rule);
}

.tpl-booking__mode-info strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--tpl-ink);
}

.tpl-booking__mode-info p {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--tpl-muted);
}

.tpl-booking__meta {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--tpl-accent);
}

.tpl-booking__card {
  background: var(--tpl-card);
  border: 1px solid var(--tpl-rule-strong);
  border-top: 3px solid var(--tpl-accent);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.tpl-booking__form {
  display: grid;
  gap: var(--tpl-space-lg);
}

.tpl-booking__fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: var(--tpl-space-sm);
}

.tpl-booking__fieldset legend,
.tpl-booking__field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tpl-ink);
}

.tpl-booking__segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--tpl-space-sm);
}

.tpl-booking__choice {
  position: relative;
  cursor: pointer;
}

.tpl-booking__choice input,
.tpl-booking__slot input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.tpl-booking__choice span {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--tpl-rule-strong);
  background: var(--tpl-paper);
  transition: border-color var(--tpl-dur-micro) var(--tpl-ease-out), background-color var(--tpl-dur-micro) var(--tpl-ease-out);
}

.tpl-booking__choice strong {
  font-size: 0.98rem;
  color: var(--tpl-ink);
}

.tpl-booking__choice small {
  font-size: 0.82rem;
  color: var(--tpl-muted);
}

.tpl-booking__choice input:checked+span {
  border-color: var(--tpl-accent);
  background: var(--tpl-paper-2);
  box-shadow: inset 0 0 0 1px var(--tpl-accent);
}

.tpl-booking__choice input:focus-visible+span,
.tpl-booking__slot input:focus-visible+span,
.tpl-booking__field input:focus-visible,
.tpl-booking__field select:focus-visible,
.tpl-booking__field textarea:focus-visible {
  outline: 3px solid var(--tpl-offer);
  outline-offset: 2px;
}

.tpl-booking__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--tpl-space-md);
}

.tpl-booking__field {
  display: grid;
  gap: 0.4rem;
}

.tpl-booking__field input,
.tpl-booking__field select,
.tpl-booking__field textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--tpl-rule-strong);
  border-radius: var(--radius-btn);
  background: var(--tpl-paper);
  color: var(--tpl-ink);
  font: inherit;
  font-size: 0.95rem;
}

.tpl-booking__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tpl-booking__slot {
  position: relative;
  cursor: pointer;
}

.tpl-booking__slot span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--tpl-rule-strong);
  background: var(--tpl-paper);
  color: var(--tpl-ink);
  font-size: 0.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background-color var(--tpl-dur-micro) var(--tpl-ease-out), border-color var(--tpl-dur-micro) var(--tpl-ease-out), color var(--tpl-dur-micro) var(--tpl-ease-out);
}

.tpl-booking__slot input:checked+span {
  background: var(--tpl-accent);
  border-color: var(--tpl-accent);
  color: var(--tpl-accent-ink);
}

.tpl-canvas[data-tpl-mood="obsidian-executive"] .tpl-booking__slot input:checked+span {
  color: var(--tpl-obsidian-bg);
}

.tpl-booking__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--tpl-space-md);
}

.tpl-booking__privacy {
  font-size: 0.82rem;
  color: var(--tpl-muted);
}

.tpl-booking__errors {
  padding: var(--tpl-space-md);
  border: 1px solid var(--tpl-offer);
  border-radius: var(--radius-btn);
  background: var(--tpl-paper-2);
  font-size: 0.88rem;
  color: var(--tpl-ink);
}

.tpl-booking__errors ul {
  margin: 0.45rem 0 0;
  padding-left: 1.15rem;
}

.tpl-booking__success {
  display: grid;
  gap: var(--tpl-space-md);
}

.tpl-booking__success h3 {
  font-size: 1.5rem;
  color: var(--tpl-ink);
}

.tpl-booking__success p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--tpl-muted);
}

.tpl-booking__success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tpl-space-sm);
}

.tpl-booking__gate {
  display: grid;
  gap: var(--tpl-space-lg);
}

.tpl-booking__gate-head h3 {
  font-size: 1.35rem;
  color: var(--tpl-ink);
}

.tpl-booking__gate-head p {
  margin-top: 0.35rem;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--tpl-muted);
}

.tpl-booking__preview {
  display: grid;
  gap: var(--tpl-space-sm);
  padding: var(--tpl-space-md);
  border-radius: var(--radius-btn);
  background: var(--tpl-paper);
  border: 1px solid var(--tpl-rule);
}

.tpl-booking__slot-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.15rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--tpl-rule-strong);
  background: var(--tpl-card);
  color: var(--tpl-ink);
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.tpl-booking__slot-pill.is-booked,
.tpl-booking__slot.is-booked span {
  opacity: 0.52;
  text-decoration: line-through;
  background: var(--tpl-paper-2);
  border-style: dashed;
  cursor: not-allowed;
}

.tpl-booking__slot-pill small,
.tpl-booking__slot.is-booked small {
  font-size: 0.72rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--tpl-muted);
}

.tpl-booking__auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.3rem;
  border-radius: var(--radius-btn);
  background: var(--tpl-paper-2);
  border: 1px solid var(--tpl-rule);
}

.tpl-booking__tab {
  min-height: 2.35rem;
  border: 0;
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--tpl-muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--tpl-dur-micro) var(--tpl-ease-out), color var(--tpl-dur-micro) var(--tpl-ease-out);
}

.tpl-booking__tab.is-active {
  background: var(--tpl-accent);
  color: var(--tpl-accent-ink);
}

.tpl-canvas[data-tpl-mood="obsidian-executive"] .tpl-booking__tab.is-active {
  color: var(--tpl-obsidian-bg);
}

.tpl-booking__tab:focus-visible {
  outline: 3px solid var(--tpl-offer);
  outline-offset: 2px;
}

.tpl-booking__tab:active {
  transform: translateY(1px);
}

.tpl-booking__account-bar {
  margin-bottom: var(--tpl-space-md);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-btn);
  background: var(--tpl-paper-2);
  border: 1px solid var(--tpl-rule);
  font-size: 0.88rem;
  color: var(--tpl-muted);
}

.tpl-booking__account-bar strong {
  color: var(--tpl-ink);
}

.tpl-booking__notice {
  margin-bottom: var(--tpl-space-md);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--tpl-accent);
  background: var(--tpl-paper-2);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--tpl-ink);
}

.tpl-booking__slot-hint {
  font-size: 0.82rem;
  color: var(--tpl-muted);
}

.tpl-booking__history,
.tpl-booking__notifications {
  padding-top: var(--tpl-space-md);
  border-top: 1px solid var(--tpl-rule-strong);
  display: grid;
  gap: var(--tpl-space-sm);
}

.tpl-booking__history h3,
.tpl-booking__notifications h3 {
  font-size: 1rem;
  color: var(--tpl-ink);
}

.tpl-booking__history-list,
.tpl-booking__notifications ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.tpl-booking__history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tpl-space-sm);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--tpl-rule);
}

.tpl-booking__history-item>div,
.tpl-booking__notifications li {
  display: grid;
  gap: 0.15rem;
  font-size: 0.86rem;
  color: var(--tpl-muted);
}

.tpl-booking__history-item strong,
.tpl-booking__notifications strong {
  color: var(--tpl-ink);
  font-size: 0.9rem;
}

/* ==========================================================================
   FAQ — SPLIT TWO COLUMNS
   ========================================================================== */

.tpl-faq-split {
  display: grid;
  grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
  gap: var(--tpl-gap);
  align-items: start;
}

.tpl-faq-split__head {
  position: sticky;
  top: 6.5rem;
}

.tpl-faq-split__head h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

.tpl-faq-split__head p {
  margin-top: var(--tpl-space-sm);
  color: var(--tpl-muted);
}

/* ==========================================================================
   CTA — SPLIT IMAGE, STATEMENT & DARK MINIMAL
   ========================================================================== */

.cta--split-image {
  display: grid;
  grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: var(--tpl-dark-surface);
  color: var(--tpl-dark-ink);
  border-radius: var(--radius-card);
  border: 1px solid var(--tpl-dark-rule);
}

.cta--split-image .cta__content {
  padding: clamp(2rem, 4.5vw, 3.5rem);
  display: grid;
  gap: var(--tpl-space-md);
  align-content: center;
  justify-items: start;
}

.cta--split-image h2 {
  color: var(--tpl-dark-ink);
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
}

.cta--split-image p {
  color: var(--tpl-dark-muted);
  max-width: 46ch;
}

.cta--split-image .btn {
  margin-top: var(--tpl-space-xs);
  background: var(--tpl-dark-ink);
  color: var(--tpl-dark-surface);
}

.cta--split-image .btn:hover {
  background: var(--tpl-paper-3);
  color: var(--tpl-dark-surface);
}

.cta--split-image .cta__media {
  border-radius: 0;
  outline: none;
  min-height: 300px;
}

.cta--statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--tpl-space-lg);
  justify-items: start;
  padding: clamp(2.25rem, 4.5vw, 3.75rem) 0;
  background: transparent;
  border: 0;
  border-top: 2px solid var(--tpl-accent);
  border-radius: 0;
  color: var(--tpl-ink);
}

.cta--statement h2 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.08;
  max-width: 24ch;
  color: var(--tpl-ink);
}

.cta--statement p {
  color: var(--tpl-muted);
  max-width: 54ch;
  font-size: 1.08rem;
}

.cta--dark-minimal {
  display: grid;
  grid-template-columns: minmax(0, 8fr) auto;
  align-items: center;
  gap: var(--tpl-gap);
  padding: clamp(2.25rem, 4.5vw, 3.75rem);
  background: var(--tpl-dark-surface);
  color: var(--tpl-dark-ink);
  border-radius: var(--radius-card);
  border: 1px solid var(--tpl-dark-rule);
}

.cta--dark-minimal h2 {
  color: var(--tpl-dark-ink);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}

.cta--dark-minimal p {
  margin-top: var(--tpl-space-sm);
  color: var(--tpl-dark-muted);
  max-width: 52ch;
}

.cta--dark-minimal .btn {
  background: var(--tpl-dark-ink);
  color: var(--tpl-dark-surface);
  white-space: nowrap;
}

.cta--dark-minimal .btn:hover {
  background: var(--tpl-paper-3);
  color: var(--tpl-dark-surface);
}

/* Botão flutuante do WhatsApp adaptado à identidade e mood do layout ativo */
body[data-tpl-mood] {
  --tpl-chrome-bg: color-mix(in oklch, var(--brand-ink) 82%, var(--ink) 18%);
  --tpl-chrome-ink: var(--tpl-dark-ink);
  --tpl-chrome-muted: var(--tpl-dark-muted);
  --tpl-chrome-rule: var(--tpl-dark-rule);
  --tpl-chrome-accent: var(--offer-on-dark);
}

body[data-tpl-mood="cobalt-commercial"] {
  --tpl-chrome-bg: color-mix(in oklch, var(--brand-ink) 80%, var(--brand-strong) 20%);
}

body[data-tpl-mood="studio-contrast"] {
  --tpl-chrome-bg: color-mix(in oklch, var(--tpl-studio-chrome) 86%, var(--brand-ink) 14%);
}

body[data-tpl-mood="warm-editorial"] {
  --tpl-chrome-bg: var(--tpl-warm-footer);
  --tpl-chrome-ink: var(--tpl-warm-card);
  --tpl-chrome-muted: var(--tpl-warm-footer-muted);
  --tpl-chrome-rule: var(--tpl-warm-footer-rule);
  --tpl-chrome-accent: var(--tpl-warm-footer-accent);
}

body[data-tpl-mood="obsidian-executive"] {
  --tpl-chrome-bg: color-mix(in oklch, var(--tpl-obsidian-bg) 88%, var(--brand-ink) 12%);
  --tpl-chrome-ink: var(--tpl-obsidian-ink);
  --tpl-chrome-muted: var(--tpl-obsidian-muted);
  --tpl-chrome-rule: var(--tpl-obsidian-rule-strong);
  --tpl-chrome-accent: var(--tpl-obsidian-accent);
}

/* Topbar, Header, Lead-Capture, Footer e barra LGPD herdam o tema e o mood do template */
body[data-tpl-mood] .topbar,
body[data-tpl-mood] .footer,
body[data-tpl-mood] .lgpd-bar {
  background: var(--tpl-chrome-bg);
  color: var(--tpl-chrome-ink);
}

body[data-tpl-mood] .footer {
  border-top: 1px solid var(--tpl-chrome-rule);
}

body[data-tpl-mood] .topbar a,
body[data-tpl-mood] .topbar__item,
body[data-tpl-mood] .footer a,
body[data-tpl-mood] .footer li,
body[data-tpl-mood] .footer__brand p,
body[data-tpl-mood] .footer__contact span,
body[data-tpl-mood] .footer__lgpd-btn,
body[data-tpl-mood] .footer__bottom,
body[data-tpl-mood] .lgpd-bar__copy p {
  color: var(--tpl-chrome-muted);
}

body[data-tpl-mood] .footer h4,
body[data-tpl-mood] .footer a:hover,
body[data-tpl-mood] .footer__lgpd-btn:hover,
body[data-tpl-mood] .topbar a:hover,
body[data-tpl-mood] .lgpd-bar__copy strong,
body[data-tpl-mood] .lgpd-bar__copy a {
  color: var(--tpl-chrome-ink);
}

body[data-tpl-mood] .footer__contact svg {
  color: var(--tpl-chrome-accent);
}

body[data-tpl-mood] .footer__bottom {
  border-top-color: var(--tpl-chrome-rule);
}

body[data-tpl-mood] .lgpd-bar {
  border-color: var(--tpl-chrome-rule);
}

body[data-tpl-mood="warm-editorial"] .header {
  background: var(--tpl-warm-card);
  border-bottom-color: color-mix(in oklch, var(--tpl-warm-ink) 14%, transparent);
}

body[data-tpl-mood="warm-editorial"] #fale-conosco {
  background: var(--tpl-warm-well);
  color: var(--tpl-warm-ink);
}

body[data-tpl-mood="warm-editorial"] #fale-conosco h2 {
  color: var(--tpl-warm-ink);
}

body[data-tpl-mood="warm-editorial"] #fale-conosco .lead {
  color: var(--tpl-warm-muted);
}

body[data-tpl-mood="warm-editorial"] #fale-conosco .lead-capture__form {
  background: var(--tpl-warm-card);
  border-color: color-mix(in oklch, var(--tpl-warm-ink) 18%, transparent);
}

body[data-tpl-mood="obsidian-executive"] #fale-conosco {
  background: var(--tpl-obsidian-well);
  color: var(--tpl-obsidian-ink);
  border-top: 1px solid var(--tpl-obsidian-rule);
}

body[data-tpl-mood="obsidian-executive"] #fale-conosco h2,
body[data-tpl-mood="obsidian-executive"] #fale-conosco label {
  color: var(--tpl-obsidian-ink);
}

body[data-tpl-mood="obsidian-executive"] #fale-conosco .lead,
body[data-tpl-mood="obsidian-executive"] #fale-conosco p {
  color: var(--tpl-obsidian-muted);
}

body[data-tpl-mood="obsidian-executive"] #fale-conosco .lead-capture__form {
  background: var(--tpl-obsidian-card);
  border-color: var(--tpl-obsidian-rule-strong);
}

body[data-tpl-mood="obsidian-executive"] #fale-conosco input,
body[data-tpl-mood="obsidian-executive"] #fale-conosco select,
body[data-tpl-mood="obsidian-executive"] #fale-conosco textarea {
  background: var(--tpl-obsidian-bg);
  color: var(--tpl-obsidian-ink);
  border-color: var(--tpl-obsidian-rule-strong);
}

body[data-tpl-mood] .whatsapp {
  background: var(--tpl-accent);
  color: var(--tpl-accent-ink);
  border: 1px solid var(--tpl-dark-rule);
  border-radius: var(--radius-btn);
}

body[data-tpl-mood] .whatsapp:hover {
  background: var(--tpl-accent-strong);
  color: var(--tpl-accent-ink);
}

body[data-tpl-mood="cobalt-commercial"] .whatsapp,
body[data-tpl-mood="studio-contrast"] .whatsapp {
  background: var(--tpl-dark-surface);
  color: var(--tpl-dark-ink);
  border-color: var(--tpl-dark-rule);
}

body[data-tpl-mood="cobalt-commercial"] .whatsapp:hover,
body[data-tpl-mood="studio-contrast"] .whatsapp:hover {
  background: var(--tpl-accent);
  color: var(--tpl-accent-ink);
}

body[data-tpl-mood="warm-editorial"] .whatsapp {
  background: var(--tpl-warm-ink);
  color: var(--tpl-warm-card);
  border-color: var(--tpl-rule-strong);
}

body[data-tpl-mood="warm-editorial"] .whatsapp:hover {
  background: var(--tpl-accent);
  color: var(--tpl-accent-ink);
}

body[data-tpl-mood="obsidian-executive"] .whatsapp {
  background: var(--tpl-obsidian-accent);
  color: var(--tpl-obsidian-bg);
  border-color: var(--tpl-obsidian-rule-strong);
}

body[data-tpl-mood="obsidian-executive"] .whatsapp:hover {
  background: var(--tpl-obsidian-ink);
  color: var(--tpl-obsidian-bg);
}

body[data-tpl-mood] .whatsapp:focus-visible {
  outline: 3px solid var(--tpl-offer);
  outline-offset: 3px;
}

/* ==========================================================================
   BLOCO DE TEXTO LIVRE (rich-text)
   ========================================================================== */

.tpl-richtext {
  display: grid;
  gap: var(--tpl-space-md);
  max-width: 68ch;
}

.tpl-richtext h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  line-height: 1.1;
}

.tpl-richtext__body {
  display: grid;
  gap: var(--tpl-space-md);
  color: var(--tpl-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.tpl-richtext__actions {
  margin-top: var(--tpl-space-xs);
}

/* ==========================================================================
   LGPD — BARRA DE CONSENTIMENTO E MODAL DE PREFERÊNCIAS
   ========================================================================== */

.footer__lgpd-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white-72);
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
}

.footer__lgpd-btn:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__lgpd-btn:focus-visible,
.lgpd-bar a:focus-visible,
.lgpd-bar button:focus-visible,
.lgpd-modal button:focus-visible,
.lgpd-switch:focus-visible {
  outline: 3px solid var(--tpl-offer);
  outline-offset: 3px;
}

.lgpd-bar {
  position: fixed;
  left: var(--tpl-space-md);
  right: var(--tpl-space-md);
  bottom: var(--tpl-space-md);
  z-index: 90;
  max-width: var(--tpl-container);
  margin-inline: auto;
  background: var(--tpl-dark-surface);
  color: var(--tpl-dark-ink);
  border: 1px solid var(--tpl-dark-rule);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: var(--tpl-space-md) var(--tpl-space-lg);
}

body.has-lgpd-bar .whatsapp {
  bottom: 9.25rem;
}

body.has-lgpd-bar .back-to-top {
  bottom: 13.25rem;
}

.lgpd-bar__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--tpl-space-lg);
  padding-inline: 0;
}

.lgpd-bar__copy {
  display: grid;
  gap: 0.25rem;
}

.lgpd-bar__copy strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--tpl-dark-ink);
}

.lgpd-bar__copy p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--tpl-dark-muted);
  max-width: 72ch;
}

.lgpd-bar__copy a {
  color: var(--tpl-dark-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lgpd-bar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--tpl-space-xs);
}

.lgpd-bar .btn--ghost {
  color: var(--tpl-dark-ink);
  border-color: var(--tpl-dark-rule);
}

.lgpd-bar .btn--ghost:hover {
  background: var(--tpl-dark-ink);
  color: var(--tpl-dark-surface);
}

.lgpd-bar .btn--primary {
  background: var(--tpl-dark-ink);
  color: var(--tpl-dark-surface);
}

.lgpd-bar .btn--primary:hover {
  background: var(--tpl-paper-2);
  color: var(--tpl-dark-surface);
}

.lgpd-modal {
  width: min(38rem, calc(100% - 2rem));
  padding: 0;
  border: 1px solid var(--tpl-rule-strong);
  border-radius: var(--radius-card);
  background: var(--tpl-card);
  color: var(--tpl-ink);
  box-shadow: var(--shadow);
}

.lgpd-modal::backdrop {
  background: var(--tpl-scrim-mid);
  backdrop-filter: blur(4px);
}

.lgpd-modal__content {
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  gap: var(--tpl-space-lg);
}

.lgpd-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--tpl-space-md);
}

.lgpd-modal__head h2 {
  font-size: 1.35rem;
  color: var(--tpl-ink);
}

.lgpd-modal__head p {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--tpl-muted);
  max-width: 58ch;
}

.lgpd-modal__close {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border: 1px solid var(--tpl-rule-strong);
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--tpl-ink);
  cursor: pointer;
}

.lgpd-modal__close svg {
  width: 1.1rem;
  height: 1.1rem;
}

.lgpd-modal__groups {
  display: grid;
  border-top: 1px solid var(--tpl-rule);
}

.lgpd-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tpl-space-md);
  padding-block: var(--tpl-space-md);
  border-bottom: 1px solid var(--tpl-rule);
}

.lgpd-group__info {
  display: grid;
  gap: 0.2rem;
}

.lgpd-group__info strong {
  font-size: 0.96rem;
  color: var(--tpl-ink);
}

.lgpd-group__info p {
  font-size: 0.85rem;
  color: var(--tpl-muted);
  max-width: 48ch;
}

.lgpd-group__locked {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tpl-accent);
  white-space: nowrap;
}

.lgpd-switch {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  accent-color: var(--tpl-accent);
  cursor: pointer;
}

.lgpd-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--tpl-space-xs);
}

body[data-tpl-mood="obsidian-executive"] .lgpd-modal {
  background: var(--tpl-obsidian-card);
  color: var(--tpl-obsidian-ink);
  border-color: var(--tpl-obsidian-rule-strong);
}

body[data-tpl-mood="obsidian-executive"] .lgpd-modal__head h2,
body[data-tpl-mood="obsidian-executive"] .lgpd-group__info strong,
body[data-tpl-mood="obsidian-executive"] .lgpd-modal__close {
  color: var(--tpl-obsidian-ink);
}

body[data-tpl-mood="obsidian-executive"] .lgpd-modal__head p,
body[data-tpl-mood="obsidian-executive"] .lgpd-group__info p {
  color: var(--tpl-obsidian-muted);
}

body[data-tpl-mood="obsidian-executive"] .lgpd-modal .btn--ghost {
  color: var(--tpl-obsidian-ink);
  border-color: var(--tpl-obsidian-rule-strong);
}

body[data-tpl-mood="obsidian-executive"] .lgpd-modal .btn--primary {
  background: var(--tpl-obsidian-accent);
  color: var(--tpl-obsidian-bg);
}

@media (max-width: 820px) {
  .lgpd-bar__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--tpl-space-md);
  }
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

@media (max-width: 960px) {

  .tpl-hero--stage .tpl-hero__grid,
  .tpl-hero--poster .tpl-hero__grid,
  .tpl-hero--editorial .tpl-hero__head-row,
  .tpl-hero--studio .tpl-hero__grid,
  .tpl-hero--counter .tpl-hero__grid,
  .tpl-hero--split-dark .tpl-hero__grid,
  .tpl-hero__frame,
  .tpl-hero--banner-strip .tpl-hero__strip-head,
  .tpl-hero--mosaic .tpl-hero__grid,
  .tpl-split,
  .tpl-split--media-left,
  .tpl-about-magazine,
  .tpl-faq-split,
  .cta--split-image,
  .cta--dark-minimal,
  .tpl-blog-head__grid,
  .tpl-blog-lead,
  .tpl-article-grid,
  .tpl-booking,
  .blog-grid--featured .tpl-post-card--featured {
    grid-template-columns: minmax(0, 1fr);
  }

  .tpl-faq-split__head,
  .tpl-article-aside {
    position: static;
  }

  .tpl-booking__row,
  .tpl-booking__segmented {
    grid-template-columns: minmax(0, 1fr);
  }

  .tpl-gallery--showcase,
  .tpl-gallery--diptych,
  .tpl-gallery--portfolio,
  .tpl-gallery--triptych,
  .tpl-gallery--feature-strip,
  .services--bento,
  .services--editorial-grid,
  .features--dl-grid,
  .tpl-canvas .stats-section--hairline .stats,
  .steps--cards,
  .blog-grid--featured,
  .tpl-blog-grid,
  .tpl-blog-grid--two {
    grid-template-columns: minmax(0, 1fr);
  }

  .services--bento .service-card,
  .services--bento .service-card:first-child,
  .services--bento .service-card:nth-child(4),
  .services--bento .service-card:nth-child(5),
  .services--bento .service-card:nth-child(6),
  .tpl-gallery--showcase .tpl-gallery__card:first-child,
  .tpl-gallery--portfolio .tpl-gallery__card:first-child,
  .blog-grid--featured> :first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .services--rows .service-card {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--tpl-space-xs);
  }

  .tpl-hero--stage,
  .tpl-hero--poster,
  .tpl-hero--fullbleed,
  .tpl-hero--studio,
  .tpl-hero--counter,
  .tpl-hero--split-dark,
  .tpl-hero--mosaic {
    min-height: auto;
  }

  .tpl-hero--editorial .tpl-slot,
  .tpl-hero--banner-strip .tpl-slot,
  .tpl-gallery--portfolio .tpl-gallery__card:first-child .tpl-slot {
    aspect-ratio: 16 / 10;
    min-height: 240px;
  }
}

/* ==========================================================================
   SISTEMA DE ANIMAÇÕES E MICROINTERAÇÕES (HALLMARK MOTION)
   ========================================================================== */

@keyframes tplFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tplMediaReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
    clip-path: inset(0 0 8% 0 round var(--radius-card));
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0% 0 round var(--radius-card));
  }
}

@keyframes tplAccordionReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tplModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Coreografia de abertura no Hero */
.tpl-hero__title {
  animation: tplFadeUp var(--tpl-dur-hero) var(--tpl-ease-out) both;
}

.tpl-hero__subtitle {
  animation: tplFadeUp var(--tpl-dur-hero) var(--tpl-ease-out) 90ms both;
}

.tpl-hero__actions {
  animation: tplFadeUp var(--tpl-dur-hero) var(--tpl-ease-out) 170ms both;
}

.tpl-hero__note {
  animation: tplFadeUp var(--tpl-dur-hero) var(--tpl-ease-out) 230ms both;
}

.tpl-hero .tpl-figure,
.tpl-hero__frame,
.tpl-hero__mosaic {
  animation: tplMediaReveal 820ms var(--tpl-ease-out) 120ms both;
}

/* Fade-in / Fade-out coordenado por scroll com stagger por grupo (visível por padrão sem JS) */
.js .tpl-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity var(--tpl-dur-reveal) var(--tpl-ease-out) var(--tpl-stagger, 0ms),
    transform var(--tpl-dur-reveal) var(--tpl-ease-out) var(--tpl-stagger, 0ms);
  will-change: opacity, transform;
}

.js .tpl-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* Revelação editorial dedicada para blocos de imagem */
.js .tpl-reveal-media {
  opacity: 0;
  transform: translateY(20px);
  clip-path: inset(0 0 6% 0 round var(--radius-card));
  transition:
    opacity 680ms var(--tpl-ease-out) var(--tpl-stagger, 0ms),
    transform 680ms var(--tpl-ease-out) var(--tpl-stagger, 0ms),
    clip-path 680ms var(--tpl-ease-out) var(--tpl-stagger, 0ms);
  will-change: opacity, transform, clip-path;
}

.js .tpl-reveal-media.is-revealed {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0% 0 round var(--radius-card));
  will-change: auto;
}

/* Sublinhado animado no menu principal */
.nav__link {
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--tpl-dur-short) var(--tpl-ease-out);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Botões com resposta tátil limpa */
.tpl-canvas .btn {
  transition:
    transform var(--tpl-dur-micro) var(--tpl-ease-out),
    background-color var(--tpl-dur-short) var(--tpl-ease-out),
    border-color var(--tpl-dur-short) var(--tpl-ease-out),
    color var(--tpl-dur-short) var(--tpl-ease-out);
}

.tpl-canvas .btn:hover {
  transform: translateY(-2px);
}

.tpl-canvas .btn:active {
  transform: translateY(0);
}

/* Destaque editorial em contêineres de imagem (fotografia permanece nítida) */
.tpl-slot {
  transition:
    outline-color var(--tpl-dur-short) var(--tpl-ease-out),
    box-shadow var(--tpl-dur-short) var(--tpl-ease-out);
}

.tpl-split__media .tpl-slot:hover,
.tpl-about-magazine__media .tpl-slot:hover,
.tpl-gallery__card:hover .tpl-slot {
  outline-color: var(--tpl-accent);
  box-shadow: var(--tpl-card-shadow-hover);
}

.tpl-gallery__card .tpl-gallery__meta strong {
  transition: color var(--tpl-dur-micro) var(--tpl-ease-out);
}

.tpl-gallery__card:hover .tpl-gallery__meta strong {
  color: var(--tpl-accent);
}

/* Microinterações diferenciadas por papel em cards, planos, etapas e artigos */
.tpl-canvas .plan-card,
.tpl-canvas .steps--cards .step,
.tpl-canvas .stats-section--hairline .stat,
.tpl-blog-lead {
  transition:
    border-color var(--tpl-dur-short) var(--tpl-ease-out),
    box-shadow var(--tpl-dur-short) var(--tpl-ease-out);
}

.tpl-canvas .plan-card:hover,
.tpl-canvas .steps--cards .step:hover,
.tpl-canvas .stats-section--hairline .stat:hover,
.tpl-blog-lead:hover {
  border-color: var(--tpl-accent);
  box-shadow: var(--tpl-card-shadow-hover);
}

.services--bento .service-card:hover,
.services--editorial-grid .service-card:hover {
  border-color: var(--tpl-accent);
}

.features--dl-grid .feature-dl-item {
  transition: border-top-color var(--tpl-dur-short) var(--tpl-ease-out);
}

.features--dl-grid .feature-dl-item:hover {
  border-top-color: var(--tpl-accent);
}

.tpl-post-card__cta svg,
.service-card__link svg {
  transition: transform var(--tpl-dur-micro) var(--tpl-ease-out);
}

.tpl-post-card:hover .tpl-post-card__cta svg,
.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

/* Transições táteis na agenda e abas de cadastro/login */
.tpl-booking__choice:hover span,
.tpl-booking__slot:not(.is-booked):hover span {
  border-color: var(--tpl-accent);
}

.tpl-booking__form[data-auth-panel]:not([hidden]) {
  animation: tplFadeUp 260ms var(--tpl-ease-out) both;
}

/* FAQ sanfona com fade-in suave na abertura */
.tpl-canvas .faq summary {
  transition: color var(--tpl-dur-micro) var(--tpl-ease-out);
}

.tpl-canvas .faq summary:hover {
  color: var(--tpl-accent);
}

.tpl-canvas .faq details[open] p {
  animation: tplAccordionReveal 240ms var(--tpl-ease-out) both;
}

/* LGPD barra com fade-in / fade-out e modal com entrada suave */
.js .lgpd-bar {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--tpl-dur-short) var(--tpl-ease-out),
    transform var(--tpl-dur-short) var(--tpl-ease-out);
}

.js .lgpd-bar.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .lgpd-bar.is-leaving {
  opacity: 0;
  transform: translateY(14px);
}

.lgpd-modal[open] {
  animation: tplModalIn 240ms var(--tpl-ease-out) both;
}

/* WhatsApp com transição suave */
body[data-tpl-mood] .whatsapp {
  transition:
    transform var(--tpl-dur-short) var(--tpl-ease-out),
    background-color var(--tpl-dur-short) var(--tpl-ease-out);
}

body[data-tpl-mood] .whatsapp:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   ESCALAS DE TAMANHO DE FONTE EDITÁVEIS POR SEÇÃO E MENU
   ========================================================================== */

#site-nav[style*="--nav-font-scale"] .nav__link {
  font-size: calc(0.94rem * var(--nav-font-scale, 1));
}

section[style*="--blk-title-scale"] h1 {
  font-size: calc(clamp(2.25rem, 4.4vw, 3.85rem) * var(--blk-title-scale, 1));
}

section[style*="--blk-title-scale"] h2 {
  font-size: calc(clamp(1.85rem, 3.3vw, 2.85rem) * var(--blk-title-scale, 1));
}

section[style*="--blk-body-scale"] .tpl-hero__subtitle,
section[style*="--blk-body-scale"] .section-head p,
section[style*="--blk-body-scale"] .tpl-split__subtitle,
section[style*="--blk-body-scale"] .tpl-split__text,
section[style*="--blk-body-scale"] .tpl-about-magazine__body > p,
section[style*="--blk-body-scale"] .tpl-richtext__body,
section[style*="--blk-body-scale"] .tpl-booking__lead,
section[style*="--blk-body-scale"] .tpl-faq-split__head p,
section[style*="--blk-body-scale"] .cta p {
  font-size: calc(1.04rem * var(--blk-body-scale, 1));
}

section[style*="--blk-item-scale"] .stat__value {
  font-size: calc(clamp(1.75rem, 2.4vw, 2.35rem) * var(--blk-item-scale, 1));
  font-variant-numeric: tabular-nums;
}

section[style*="--blk-item-scale"] .features--dl-grid dt,
section[style*="--blk-item-scale"] .step h3,
section[style*="--blk-item-scale"] .service-card h3,
section[style*="--blk-item-scale"] .plan-card__name,
section[style*="--blk-item-scale"] .tpl-gallery__meta strong,
section[style*="--blk-item-scale"] .tpl-post-card h3,
section[style*="--blk-item-scale"] .faq summary,
section[style*="--blk-item-scale"] .tpl-booking__mode-info strong {
  font-size: calc(1.12rem * var(--blk-item-scale, 1));
}

section[style*="--blk-item-scale"] .stat__label,
section[style*="--blk-item-scale"] .features--dl-grid dd,
section[style*="--blk-item-scale"] .step p,
section[style*="--blk-item-scale"] .service-card p,
section[style*="--blk-item-scale"] .tpl-gallery__meta span,
section[style*="--blk-item-scale"] .tpl-post-card__body > p,
section[style*="--blk-item-scale"] .faq details p,
section[style*="--blk-item-scale"] .tpl-booking__mode-info p,
section[style*="--blk-item-scale"] .tpl-hero__note {
  font-size: calc(0.96rem * var(--blk-item-scale, 1));
}

@media (prefers-reduced-motion: reduce) {
  .services--bento .service-card,
  .services--rows .service-card,
  .services--editorial-grid .service-card,
  .tpl-post-card,
  .tpl-blog-filter,
  .tpl-booking__choice span,
  .tpl-booking__slot span,
  .tpl-canvas .btn,
  .nav__link::after,
  .tpl-gallery__card,
  .tpl-slot,
  .tpl-blog-lead,
  .tpl-canvas .plan-card,
  .tpl-canvas .steps--cards .step,
  .tpl-canvas .stats-section--hairline .stat,
  .features--dl-grid .feature-dl-item,
  .tpl-post-card__cta svg,
  .service-card__link svg,
  .lgpd-bar,
  body[data-tpl-mood] .whatsapp {
    transition: none;
  }

  .tpl-hero__title,
  .tpl-hero__subtitle,
  .tpl-hero__actions,
  .tpl-hero__note,
  .tpl-hero .tpl-figure,
  .tpl-hero__frame,
  .tpl-hero__mosaic,
  .tpl-canvas .faq details[open] p,
  .lgpd-modal[open],
  .tpl-booking__form[data-auth-panel]:not([hidden]) {
    animation: none;
  }

  .tpl-reveal,
  .tpl-reveal-media,
  .lgpd-bar {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }

  .tpl-reading-progress {
    display: none;
  }
}

.header__wordmark,
.footer__wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.08;
  gap: 0.14rem;
}

.header__wordmark strong {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--menu-text, var(--tpl-ink));
}

.header__wordmark span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--tpl-muted);
}

.footer__wordmark strong {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--tpl-on-dark);
}

.footer__wordmark span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--tpl-on-dark-muted);
}
