/* =====================================================================
   Scarlet Lima — Psicanalista
   Shared styles. Editorial, warm, calm. Multi-palette via [data-palette].
   ===================================================================== */

/* ---------- fonts ---------- */
/* Italiana — títulos, subtítulos e corpo */
@font-face { font-family: 'Italiana'; src: url('fonts/Italiana-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
/* Spora Hand — assinatura / detalhes */
@font-face { font-family: 'Spora Hand'; src: url('fonts/Spora-Hand.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }

/* ---------- palettes ---------- */
:root,
:root[data-palette="olive"] {
  --bg:        #E0DFD6;   /* warm light gray */
  --bg-2:      #CAC4AF;   /* sand */
  --surface:   #EAE8DD;   /* tinted light */
  --paper:     #F4F2EA;   /* card / near-white */
  --ink:       #2B2827;   /* primary dark */
  --ink-2:     #46423C;   /* body text */
  --ink-3:     #7B756B;   /* muted text / taupe */
  --accent:    #4F4C21;   /* olive */
  --accent-2:  #977458;   /* terracotta */
  --accent-soft:#B7B19C;  /* soft sand */
  --line:      #C9C2B1;
  --line-soft: #D6D0C0;
}
:root[data-palette="sand"] {
  --bg:        #F4ECE0;
  --bg-2:      #E9DCC4;
  --surface:   #FBF4E7;
  --paper:     #FFFAF1;
  --ink:       #261D14;
  --ink-2:     #54463A;
  --ink-3:     #8B7B6A;
  --accent:    #7E6448;   /* tobacco */
  --accent-2:  #9C7E5E;
  --accent-soft:#C2A786;
  --line:      #E0D2BA;
  --line-soft: #ECDFC8;
}
:root[data-palette="terracotta"] {
  --bg:        #F5EDE5;
  --bg-2:      #EFDDCD;
  --surface:   #FBF3EB;
  --paper:     #FFF8F1;
  --ink:       #261912;
  --ink-2:     #54392E;
  --ink-3:     #8E6F61;
  --accent:    #A0563D;   /* terracotta */
  --accent-2:  #B6755A;
  --accent-soft:#D6A189;
  --line:      #E6D4C3;
  --line-soft: #EFE0D2;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select, textarea, button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-gutter: stable; overflow-y: scroll; }
body {
  font-family: 'Italiana', 'Iowan Old Style', Georgia, serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: 0.005em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- typography ---------- */
.serif, h1, h2, h3, .display {
  font-family: 'Italiana', 'Iowan Old Style', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.eyebrow-script {
  font-family: 'Spora Hand', cursive;
  font-weight: 400;
}
h1, h2, h3 { margin: 0; line-height: 1.05; }
.h-display {
  font-family: 'Italiana', Georgia, serif;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.h-display em, .display em, .h1 em, .h2 em, .h3 em, .serif em, .pull-quote em, blockquote em { font-style: normal; color: var(--accent); }
.h1 { font-size: clamp(36px, 4.8vw, 68px); line-height: 1.05; letter-spacing: -0.015em; }
.h2 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.1;  letter-spacing: -0.012em; }
.h3 { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2;  letter-spacing: -0.005em; }

p { margin: 0 0 1em; }
.lead {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 54ch;
}
.body { font-size: 16.5px; line-height: 1.82; color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.6; color: var(--ink-3); }

.eyebrow {
  font-family: 'Italiana', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow.no-rule::before { display: none; }

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 880px) { .container { padding: 0 48px; } }

.section { padding: 80px 0; }
.section-lg { padding: 120px 0; }
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
  transition: background .25s ease, backdrop-filter .25s ease;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: 'Italiana', Georgia, serif;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-symbol {
  height: 30px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.mobile-menu .top .brand-symbol { height: 28px; }
.footer .brand-block .footer-wordmark {
  height: 80px;
  width: auto;
  display: block;
  margin-bottom: 20px;
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--accent);
  color: var(--paper);
  font-family: 'Italiana', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1;
  padding-bottom: 1px;
}

/* Brand logo image-slot — drag a logo onto it, persists across pages */
.brand image-slot {
  display: inline-block;
  width: 34px; height: 34px;
  --is-radius: 8px;
  --is-bg: color-mix(in oklab, var(--accent) 14%, var(--paper));
  --is-fg: var(--accent);
  flex-shrink: 0;
}
.footer .brand-block image-slot {
  display: block;
  width: 56px; height: 56px;
  margin-bottom: 16px;
  --is-radius: 10px;
  --is-bg: color-mix(in oklab, var(--paper) 12%, transparent);
  --is-fg: color-mix(in oklab, var(--paper) 70%, transparent);
}

/* ============== plans (booking) ============== */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 880px) { .plans-grid { grid-template-columns: repeat(3, 1fr); } }
.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, transform .25s ease, box-shadow .25s ease;
}
.plan:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 24px 60px -30px rgba(31,30,26,0.18);
}
.plan.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.plan.featured h3, .plan.featured .price, .plan.featured ul li::before { color: var(--paper); }
.plan.featured ul li { color: color-mix(in oklab, var(--paper) 80%, transparent); }
.plan.featured .micro { color: color-mix(in oklab, var(--paper) 55%, transparent); }
.plan.featured .btn-primary { background: var(--paper); color: var(--ink); }
.plan.featured .btn-primary:hover { background: var(--accent); color: var(--paper); }

.plan .pill {
  align-self: flex-start;
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 12%, var(--paper));
  color: var(--accent);
  margin-bottom: 18px;
}
.plan.featured .pill {
  background: color-mix(in oklab, var(--paper) 14%, transparent);
  color: var(--paper);
}
.plan h3 {
  font-family: 'Italiana', Georgia, serif;
  font-size: 28px; line-height: 1.1; margin: 0 0 8px;
}
.plan .micro { font-size: 13px; color: var(--ink-3); }
.plan .price {
  font-family: 'Italiana', Georgia, serif;
  font-size: 44px; line-height: 1; margin: 24px 0 4px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.plan .price .unit {
  font-family: 'Italiana', sans-serif;
  font-size: 14px; color: var(--ink-3); margin-left: 4px;
  letter-spacing: 0;
}
.plan ul {
  list-style: none; padding: 0; margin: 24px 0;
  display: flex; flex-direction: column; gap: 10px;
}
.plan ul li {
  font-size: 14.5px; color: var(--ink-2); line-height: 1.5;
  padding-left: 22px; position: relative;
}
.plan ul li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px;
  border: 1px solid var(--accent);
  border-radius: 50%;
}
.plan .btn { margin-top: auto; }
.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 880px) { .nav-links { display: flex; } }
.nav-links a {
  position: relative;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color .18s ease, background .18s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-2); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 4px;
  width: 4px; height: 4px;
  margin-left: -2px;
  background: var(--accent);
  border-radius: 50%;
}

.nav-cta { display: none; }
@media (min-width: 880px) { .nav-cta { display: inline-flex; } }

/* Logo fixo no topo; menu + botão escondidos por padrão.
   Aparecem ao passar o mouse (desktop) OU ao tocar no botão de menu (mobile). */
.nav-links {
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.nav-cta {
  display: inline-flex;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
/* revelado ao passar o mouse (qualquer largura) ou por toque (.is-open via JS) */
.nav:hover .nav-links,
.nav:hover .nav-cta,
.nav.is-open .nav-links,
.nav.is-open .nav-cta {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* the menu band's background/blur reveals together with the menu (logo band
   stays untouched, so the menu no longer wraps around the logo) */
.nav:hover .nav-menu,
.nav.is-open .nav-menu {
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}
/* o hover revela o menu — botão de menu não é necessário */
.nav-burger { display: none !important; }

.nav-burger {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--bg-2);
}
@media (min-width: 880px) { .nav-burger { display: none; } }
.nav-burger svg { width: 18px; height: 18px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 50;
  padding: 24px;
  display: none;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu .top { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.mobile-menu nav {
  display: flex; flex-direction: column;
  margin-top: 32px;
  gap: 4px;
}
.mobile-menu nav a {
  font-family: 'Italiana', Georgia, serif;
  font-size: 32px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1;
  transition: transform .18s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--accent); }
.btn-accent {
  background: var(--accent);
  color: var(--paper);
}
.btn-accent:hover { background: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--paper); }
.btn-link {
  padding: 6px 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.btn-link:hover { border-bottom-color: var(--accent); color: var(--accent); }
.btn .arrow { width: 14px; height: 14px; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- portrait / image slot ---------- */
.portrait-frame {
  position: relative;
  background: var(--bg-2);
  overflow: hidden;
  border-radius: 6px;
}
.portrait-frame .tag {
  position: absolute;
  bottom: 16px; left: 16px;
  background: color-mix(in oklab, var(--paper) 80%, transparent);
  backdrop-filter: blur(10px);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-soft);
}
.portrait-frame .tag .dot { width: 6px; height: 6px; border-radius: 50%; background: #5BA176; }

image-slot {
  --is-bg: var(--bg-2);
  --is-fg: var(--ink-3);
  --is-radius: 6px;
}

/* ---------- cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 28px;
  transition: border-color .2s ease, transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  border-color: var(--line);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -16px rgba(31,30,26,0.12);
}
.card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 18px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--accent) 9%, var(--paper));
  border: 1px solid color-mix(in oklab, var(--accent) 18%, transparent);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 {
  font-family: 'Italiana', Georgia, serif;
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--ink);
}
.card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* ---------- hero ---------- */
.hero {
  padding: 56px 0 96px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 880px) { .hero { padding: 80px 0 120px; } }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.9fr;
    gap: 72px;
  }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 6px 12px 6px 6px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.hero-eyebrow .avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-grid; place-items: center;
  color: var(--paper);
  font-family: 'Italiana', serif;
  font-style: italic;
  font-size: 13px;
}
.hero h1.h-display { margin-top: 0; }
.hero-sub {
  margin: 28px 0 36px;
  font-size: clamp(17px, 1.45vw, 19.5px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
}
.hero-cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center;
}
.hero-meta {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hero-meta .item .k {
  font-family: 'Italiana', Georgia, serif;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 6px;
  display: block;
}
.hero-meta .item .l {
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

.hero-portrait {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  box-shadow: 0 24px 60px -32px rgba(31,30,26,0.28);
}
@media (min-width: 960px) {
  /* anchor the portrait to the inner edge so the copy breathes */
  .hero-portrait { margin-inline: 0 auto; }
}
.hero-portrait image-slot {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%; display: block;
  border-radius: inherit;
  overflow: hidden;
}
/* status badge floats over the lower edge of the portrait */
.hero-portrait .tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -12px rgba(31,30,26,0.35);
}
.hero-portrait .tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #5BA176;
}

/* decorative accents */
.hero-orbit {
  position: absolute;
  inset: -40% -10% auto auto;
  width: 70%;
  height: 120%;
  pointer-events: none;
  opacity: .35;
  background:
    radial-gradient(40% 50% at 50% 50%, color-mix(in oklab, var(--accent-soft) 50%, transparent) 0%, transparent 70%);
  filter: blur(40px);
}

/* ---------- areas of support grid ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .areas-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
}
@media (min-width: 880px) {
  .step { padding: 36px 32px; }
  .step:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 0; }
  .step:nth-child(even) { padding-right: 0; }
}
.step .num {
  font-family: 'Italiana', Georgia, serif;
  font-style: italic;
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
  padding-top: 4px;
}
.step h3 { font-size: 22px; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 14.5px; margin: 0; }

/* ---------- page hero (interior pages) ---------- */
.page-hero {
  padding: 64px 0 56px;
}
@media (min-width: 880px) {
  .page-hero { padding: 96px 0 80px; }
}
.page-hero .eyebrow { margin-bottom: 28px; }

/* ---------- prose (stacked paragraphs) ---------- */
.prose p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.72;
  margin: 0 0 1.1em;
  max-width: 60ch;
}
.prose p:last-child { margin-bottom: 0; }
.prose .lead { color: var(--ink); max-width: 56ch; }

/* ---------- principles (numbered list) ---------- */
.principles {
  border-top: 1px solid var(--line);
}
.p-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 880px) {
  .p-row { grid-template-columns: 120px 1fr; gap: 48px; padding: 40px 0; }
}
.p-num {
  font-family: 'Italiana', Georgia, serif;
  font-style: italic;
  font-size: 40px;
  line-height: 1;
  color: var(--accent);
  padding-top: 2px;
}
@media (min-width: 880px) { .p-num { font-size: 52px; } }
.p-row h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--ink);
}
.p-row p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0;
  max-width: 62ch;
}

/* ---------- role cards (perita / assistente) ---------- */
.role-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color .2s ease, transform .25s ease, box-shadow .25s ease;
}
.role-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -22px rgba(31,30,26,0.14);
}
.role-card.is-primary {
  border-color: var(--accent);
  background: var(--surface);
}
.role-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.role-head > div { min-width: 0; }
.role-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid; place-items: center;
  background: color-mix(in oklab, var(--accent) 10%, var(--paper));
  color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 22%, transparent);
}
.role-icon svg { width: 24px; height: 24px; }
.role-card.is-primary .role-icon {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
.role-head .role-title {
  font-family: 'Italiana', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.role-card.is-primary .role-head .role-title { color: var(--accent); }
.role-head .role-meta {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 4px 0 0;
}
.role-card .role-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}
.role-badge {
  align-self: flex-start;
  white-space: nowrap;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--paper);
  background: var(--accent);
  padding: 5px 12px;
  border-radius: 100px;
}

/* ---------- about / quote ---------- */
.pull-quote {
  font-family: 'Italiana', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 22ch;
}
.pull-quote em { color: var(--accent); }

.credential-list {
  display: flex; flex-direction: column;
  gap: 0;
}
.credential-list .row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14.5px;
}
.credential-list .row:last-child { border-bottom: 1px solid var(--line-soft); }
.credential-list .k { color: var(--ink-3); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 2px; }
.credential-list .v { color: var(--ink); }

/* ---------- testimonials ---------- */
.testimonial {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.testimonial blockquote {
  font-family: 'Italiana', Georgia, serif;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 20px;
  max-width: 38ch;
  letter-spacing: -0.005em;
}
.testimonial .who {
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* ---------- google reviews ---------- */
.reviews-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }

/* horizontal scroller — cards side by side, scroll to reveal the rest */
.reviews-scroll > article {
  flex: 0 0 360px;
  max-width: 85vw;
  scroll-snap-align: start;
}
.reviews-scroll { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.reviews-scroll::-webkit-scrollbar { height: 8px; }
.reviews-scroll::-webkit-scrollbar-track { background: transparent; }
.reviews-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.reviews-scroll::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

/* arrow buttons */
.reviews-arrow {
  position: absolute;
  top: calc(50% - 7px);
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .15s ease, opacity .2s ease;
}
.reviews-arrow:hover { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.reviews-arrow:active { transform: translateY(-50%) scale(.94); }
.reviews-arrow[hidden] { display: none; }
.reviews-arrow--prev { left: -22px; }
.reviews-arrow--next { right: -22px; }
@media (max-width: 720px) {
  .reviews-arrow--prev { left: 6px; }
  .reviews-arrow--next { right: 6px; }
}

/* ---------- contexts ---------- */
.contexts-grid { grid-template-columns: 1fr; }
@media (min-width: 640px)  { .contexts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .contexts-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- faq ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  display: grid;
  grid-template-columns: 1fr 24px;
  gap: 16px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 24px 0;
  cursor: pointer;
  background: none; border: 0;
  font-family: 'Italiana', Georgia, serif;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
  color: var(--ink);
}
.faq-q .icon {
  width: 24px; height: 24px;
  position: relative;
  transition: transform .25s ease;
  color: var(--accent);
}
.faq-q .icon::before, .faq-q .icon::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  background: currentColor;
  transition: opacity .25s ease, transform .25s ease;
}
.faq-q .icon::before { width: 14px; height: 1px; transform: translate(-50%, -50%); }
.faq-q .icon::after  { width: 1px; height: 14px; transform: translate(-50%, -50%); }
.faq-item.open .faq-q .icon::after { opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.65;
}
.faq-item.open .faq-a {
  max-height: 600px;
  padding: 0 0 28px 0;
}
.faq-a p { margin: 0; max-width: 64ch; }

/* ---------- booking ---------- */
.booking-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .booking-grid { grid-template-columns: 1.1fr 1fr; } }

.booking-info { padding: 36px; border-bottom: 1px solid var(--line-soft); }
@media (min-width: 880px) { .booking-info { border-bottom: 0; border-right: 1px solid var(--line-soft); } }

.booking-info h3 {
  font-family: 'Italiana', Georgia, serif;
  font-size: 32px; margin: 0 0 12px; color: var(--ink);
}

.cal {
  padding: 28px;
  background: var(--surface);
}
.cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.cal-head .month {
  font-family: 'Italiana', Georgia, serif;
  font-size: 22px; color: var(--ink);
}
.cal-nav {
  display: inline-flex; gap: 6px;
}
.cal-nav button {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-2);
  display: grid; place-items: center;
}
.cal-nav button:hover { border-color: var(--ink); color: var(--ink); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal-grid .dow {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); text-align: center; padding: 6px 0;
}
.cal-grid .day {
  aspect-ratio: 1/1;
  border-radius: 999px;
  display: grid; place-items: center;
  font-size: 14px; color: var(--ink);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.cal-grid .day.muted { color: var(--ink-3); cursor: default; }
.cal-grid .day.disabled { color: var(--line); cursor: not-allowed; }
.cal-grid .day:not(.muted):not(.disabled):hover { background: var(--bg-2); }
.cal-grid .day.available { color: var(--ink); }
.cal-grid .day.available::after {
  content: '';
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
  position: relative; top: 13px; margin-top: -16px;
}
.cal-grid .day.selected {
  background: var(--ink);
  color: var(--paper);
}
.cal-grid .day.selected::after { background: var(--paper); }

.slots {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.slot {
  padding: 12px 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.slot:hover { border-color: var(--ink); }
.slot.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.slot.unavailable { color: var(--ink-3); border-style: dashed; cursor: not-allowed; opacity: .55; }
.slot.unavailable:hover { border-color: var(--line); }

.booking-summary {
  padding: 18px;
  background: var(--bg-2);
  border-radius: 12px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.booking-summary .sel-text strong { color: var(--ink); font-weight: 500; }

/* ---------- whatsapp ---------- */
.contact-tile {
  display: flex; gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  transition: border-color .2s ease, transform .2s ease;
}
.contact-tile:hover { border-color: var(--ink); transform: translateY(-1px); }
.contact-tile .ico {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-2);
  display: grid; place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-tile .ico svg { width: 20px; height: 20px; }
.contact-tile .t { font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; }
.contact-tile .v { font-size: 14.5px; color: var(--ink); }

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: color-mix(in oklab, var(--paper) 85%, var(--ink) 15%);
  padding: 80px 0 32px;
}
.footer .container { color: inherit; }
.footer .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
}
@media (min-width: 880px) { .footer .row { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer h4 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 50%, transparent);
  margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: color-mix(in oklab, var(--paper) 80%, transparent); font-size: 14.5px; transition: color .2s ease; }
.footer a:hover { color: var(--paper); }
.footer .brand-block .wordmark {
  font-family: 'Italiana', Georgia, serif;
  font-size: 32px;
  color: var(--paper);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.footer .brand-block p { font-size: 14.5px; color: color-mix(in oklab, var(--paper) 70%, transparent); max-width: 36ch; }
.footer .legal {
  padding: 24px 0 0;
  display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap;
  font-size: 12.5px;
  color: color-mix(in oklab, var(--paper) 50%, transparent);
}

/* ---------- helpers ---------- */
.row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 880px) { .row-2 { grid-template-columns: 1fr 1fr; gap: 72px; } }

.row-2-asym {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 880px) { .row-2-asym { grid-template-columns: 0.85fr 1.15fr; gap: 72px; } }

.section-head {
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  justify-items: center;
  text-align: center;
}
@media (min-width: 880px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.section-head > * { width: 100%; }
.section-head .lead { margin: 0 auto; max-width: 70ch; }
.section-head h2, .section-head .h2 { text-wrap: balance; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::before { display: none; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px;
  color: var(--ink-2);
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* signature */
.signature {
  font-family: 'Spora Hand', 'Italiana', cursive;
  font-style: normal;
  font-size: 38px;
  color: var(--accent);
}

/* selection */
::selection { background: color-mix(in oklab, var(--accent-soft) 60%, transparent); color: var(--ink); }

/* hide for tweak persistence */
.tweaks-host[hidden] { display: none !important; }

/* ============== pericia banner (home teaser) ============== */
.pericia-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
}
@media (min-width: 880px) {
  .pericia-banner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 56px;
    padding: 56px;
  }
}
.pericia-banner .pb-copy h2 em { color: var(--accent); font-style: italic; }
.pericia-banner .pb-tracks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 32px;
  max-width: 420px;
}
@media (min-width: 720px) { .pericia-banner .pb-tracks { grid-template-columns: repeat(4, 1fr); } }
.pericia-banner .pb-track {
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--bg);
  align-items: flex-start;
}
.pericia-banner .pb-track .t {
  font-family: 'Italiana', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  line-height: 1;
}
.pericia-banner .pb-track > span:last-child {
  font-size: 13.5px;
  color: var(--ink);
  letter-spacing: 0.005em;
}

.pericia-banner .pb-aside {
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.pericia-banner .pb-aside .eyebrow {
  color: color-mix(in oklab, var(--paper) 70%, transparent);
  margin-bottom: 20px;
}
.pericia-banner .pb-aside ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 18px;
}
.pericia-banner .pb-aside li {
  display: flex; flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid color-mix(in oklab, var(--paper) 14%, transparent);
}
.pericia-banner .pb-aside li:last-child { border-bottom: 0; padding-bottom: 0; }
.pericia-banner .pb-aside li .k {
  font-family: 'Italiana', Georgia, serif;
  font-size: 18px;
  color: var(--paper);
  line-height: 1.2;
}
.pericia-banner .pb-aside li .v {
  font-size: 13.5px;
  color: color-mix(in oklab, var(--paper) 68%, transparent);
  line-height: 1.5;
}
.pericia-banner .pb-aside .small {
  color: color-mix(in oklab, var(--paper) 55%, transparent);
}

/* =====================================================================
   REDESIGN v2 — Italiana display + Hellauw text, centered logo header,
   fixed footer, equal role cards, visual differentials, more motion.
   ===================================================================== */

/* ---- Hellauw (legible text/UI) ---- */
@font-face { font-family: 'Hellauw'; src: url('fonts/Hellauw-ExtraLight.ttf') format('truetype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hellauw'; src: url('fonts/Hellauw-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hellauw'; src: url('fonts/Hellauw-LightItalic.ttf') format('truetype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Hellauw'; src: url('fonts/Hellauw-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hellauw'; src: url('fonts/Hellauw-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Hellauw'; src: url('fonts/Hellauw-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hellauw'; src: url('fonts/Hellauw-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hellauw'; src: url('fonts/Hellauw-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

/* ---- type system ---- */
body {
  font-family: 'Hellauw', ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.72;
  letter-spacing: 0;
  color: var(--ink);
}
.h-display, .h1, .h2, .display, h1, h2, .serif, .pull-quote, .plan h3, .plan .price,
.booking-info h3, .cal-head .month, .faq-q, .testimonial blockquote {
  font-family: 'Italiana', 'Iowan Old Style', Georgia, serif;
  font-weight: 400;
}
h3, .h3 { font-family: 'Hellauw', sans-serif; font-weight: 600; letter-spacing: -0.005em; }
h3.serif, .h3.serif, .step h3, .role-card h3 { font-family: 'Italiana', Georgia, serif; font-weight: 400; letter-spacing: 0; }
.card h3 { font-family: 'Hellauw', sans-serif; font-weight: 600; letter-spacing: -0.005em; }
.lead { font-family: 'Hellauw', sans-serif; font-weight: 400; color: var(--ink-2); }
.body, p.body, .prose p { font-family: 'Hellauw', sans-serif; }
.eyebrow, .role-title, .footer h4, .credential-list .k, .cal-grid .dow { font-family: 'Hellauw', sans-serif; }
.eyebrow { font-weight: 600; letter-spacing: 0.16em; }

/* ---------- justified body text (consistent across all pages) ---------- */
.prose p, .lead, .hero-sub, .p-row p, .role-body, .body, p.body,
.card p, .step p, .diff-card p, .format-card p, .faq-a p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.btn, .nav-links a, .tag, .slot, .nav-cta { font-family: 'Hellauw', sans-serif; }
.btn { font-weight: 500; }
.nav-links a { font-weight: 500; }
.signature { font-family: 'Spora Hand', cursive; font-style: normal; }
/* accent words: no faux italic, just olive */
.h-display em, .display em, .h1 em, .h2 em, .h3 em, .serif em,
.pull-quote em, blockquote em, h1 em, h2 em, h3 em { font-style: normal; color: var(--accent); }

/* ---- header: two stacked full-width bands — logo on top, menu right below ---- */
.nav { padding: 0; }
.nav-row {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  height: auto;
  min-height: 0;
  padding: 0;
  max-width: none;          /* let the bands span the full viewport width */
  position: relative;
}
/* logo band: full width, always visible, pinned to the very top */
.brand {
  order: 0;
  flex-basis: 100%;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 14px 24px;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}
/* menu band: full width, directly below the logo; its background fades in/out */
.nav-menu {
  order: 1;
  flex-basis: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 8px 24px;
  background: transparent;
  transition: background .25s ease, backdrop-filter .25s ease;
}
.brand-symbol { height: 40px; width: auto; }
.brand-wordmark { height: 32px; width: auto; display: block; }
.nav-links { order: 2; gap: 4px; flex-wrap: wrap; justify-content: center; }
.nav-links a { font-size: 14px; padding: 9px 15px; letter-spacing: 0.01em; }
.nav-cta { order: 3; }
.nav-burger { position: absolute; right: 0; top: 18px; }
@media (max-width: 879px) {
  .brand-symbol { height: 34px; }
  .brand-wordmark { height: 27px; }
  .nav-row { padding: 0; }
}
/* brand lockup: wordmark + page descriptor (no SL symbol) */
.brand-id { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.brand-id .brand-wordmark { display: block; }
.brand-tag {
  font-family: 'Hellauw', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
  padding-left: 0.34em;
}
.mobile-menu .top .brand-tag { font-size: 9px; }
@media (max-width: 879px) { .brand-tag { font-size: 9px; letter-spacing: 0.3em; } }

/* ---- footer: flexible, balanced regardless of column count ---- */
.footer { padding: 72px 0 30px; }
.footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 56px;
  align-items: flex-start;
}
.footer .brand-block { flex: 1 1 280px; min-width: 260px; }
.footer .row > div:not(.brand-block) { flex: 1 1 160px; min-width: 150px; }
.footer .brand-block p { margin: 0 0 4px; }
.footer .brand-block .footer-wordmark { height: 80px; margin-bottom: 22px; }
.footer .legal { margin-top: 8px; }

/* ---- equal-height role cards ---- */
.row-2 { align-items: stretch; }
.role-card { height: 100%; }

/* ---- visual differentials (replaces i/ii/iii) ---- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.diff-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.diff-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 22px 50px -28px rgba(43,40,39,0.32);
}
.diff-card .diff-num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: 'Italiana', Georgia, serif;
  font-size: 30px;
  line-height: 1;
  color: var(--line);
  transition: color .3s ease;
}
.diff-card:hover .diff-num { color: var(--accent-soft); }
.diff-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--accent);
  background: color-mix(in oklab, var(--accent) 10%, var(--paper));
  border: 1px solid color-mix(in oklab, var(--accent) 22%, transparent);
}
.diff-icon svg { width: 30px; height: 30px; }
.diff-card h3 {
  font-family: 'Hellauw', sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}
.diff-card p { font-size: 15px; line-height: 1.62; color: var(--ink-2); margin: 0; }

/* ---- format cards (atendimento "para quem é" / modalidade) ---- */
.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.format-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.format-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 22px 50px -28px rgba(43,40,39,0.30); }
.format-card .fc-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; color: var(--accent);
  background: color-mix(in oklab, var(--accent) 10%, var(--paper));
  border: 1px solid color-mix(in oklab, var(--accent) 20%, transparent);
  margin-bottom: 4px;
}
.format-card .fc-icon svg { width: 24px; height: 24px; }
.format-card h3 { font-family: 'Hellauw', sans-serif; font-weight: 600; font-size: 18px; margin: 0; color: var(--ink); }
.format-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.format-card .fc-meta { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }

/* ---- richer card icons (bigger, friendlier) ---- */
.card-icon { width: 52px; height: 52px; border-radius: 14px; }
.card-icon svg { width: 26px; height: 26px; }

/* ---- motion: robust reveal (visible by default, scroll-animated where supported) ---- */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: revealIn linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 16%;
    }
    .areas-grid .card, .diff-grid .diff-card, .format-grid .format-card, .reviews-grid > article, .contexts-grid > article {
      animation: revealIn linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 14%;
    }
  }
}
@keyframes revealIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.areas-grid .card, .diff-grid .diff-card, .format-grid .format-card, .reviews-grid > article, .contexts-grid > article { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .3s ease; }

/* gentle float on hero accent */
.hero-orbit { animation: floaty 14s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-3%,4%) scale(1.06); } }

/* link underline grow on nav hover */
.nav-links a { position: relative; }
.nav-links a::before {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 6px;
  height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover::before, .nav-links a.active::before { transform: scaleX(1); }
.nav-links a.active::after { display: none; }
.nav-links a:hover { background: transparent; color: var(--ink); }

/* buttons: a touch more life */
.btn-primary, .btn-accent { box-shadow: 0 10px 24px -16px rgba(43,40,39,0.5); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
