/* =====================================================================
   Gabriela Seabra — Psicanálise · Design System
   Editorial Luxury quente · cream + terracota + sage + espresso
   Compartilhado por todas as páginas. Sem build. Vanilla CSS.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Papel (fundos) */
  --paper:      #FBF6EE;
  --paper-2:    #F4EBDC;
  --paper-3:    #EFE4D2;
  --paper-sun:  #F9EEDF;

  /* Tinta (texto) */
  --ink:        #2A2520;
  --ink-2:      #5A5147;
  --ink-3:      #8A8077;

  /* Acento principal (calor humano) */
  --terra:      #C0593A;
  --terra-deep: #A2472C;
  --terra-soft: rgba(192, 89, 58, .12);
  --terra-line: rgba(192, 89, 58, .30);

  /* Acento secundário (serenidade) */
  --sage:       #7C8471;
  --sage-deep:  #5F6755;
  --sage-soft:  rgba(124, 132, 113, .14);

  /* Hairlines */
  --hair:       rgba(42, 37, 32, .12);
  --hair-2:     rgba(42, 37, 32, .22);

  /* Tipografia */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* Escala fluida */
  --fs-body: clamp(1rem, .96rem + .2vw, 1.125rem);
  --fs-lead: clamp(1.15rem, 1.05rem + .5vw, 1.4rem);
  --fs-h3:   clamp(1.3rem, 1.15rem + .7vw, 1.65rem);
  --fs-h2:   clamp(1.85rem, 1.45rem + 1.8vw, 2.85rem);
  --fs-h1:   clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem);
  --fs-hero: clamp(2.7rem, 1.5rem + 5.4vw, 5.2rem);

  /* Espaçamento */
  --gut:   clamp(20px, 5vw, 64px);
  --maxw:  1200px;
  --maxw-read: 760px;

  /* Motion */
  --ease:      cubic-bezier(.32, .72, 0, 1);
  --ease-soft: cubic-bezier(.16, 1, .3, 1);

  /* Estrutura */
  --header-h: 72px;
  --radius:   20px;
  --radius-sm: 12px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

img, svg, picture { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

/* ---------- Base ---------- */
body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--terra-soft); color: var(--terra-deep); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 460; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 540; }
p { text-wrap: pretty; }

strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }

/* ---------- Textura: grain de papel (overlay fixo) ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.read { max-width: var(--maxw-read); }

.section { padding-block: clamp(64px, 9vw, 128px); position: relative; z-index: 2; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--paper-2); }
.section--sun { background:
  radial-gradient(120% 90% at 100% 0%, var(--paper-sun) 0%, transparent 55%),
  var(--paper); }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--terra-deep);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--terra-line);
}
.lead {
  font-size: var(--fs-lead);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 52ch;
}
.section-head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { margin-top: .5rem; }
.section-head .lead { margin-top: 1rem; }

.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem);
  line-height: 1.32;
  letter-spacing: -.01em;
  color: var(--terra-deep);
  border-left: 2px solid var(--terra-line);
  padding-left: clamp(20px, 3vw, 36px);
  max-width: 26ch;
}
.muted { color: var(--ink-2); }
.fine { color: var(--ink-3); font-size: .85rem; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: 16px; top: -120%;
  z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; border-radius: 10px;
  font-size: .9rem; font-weight: 600;
  transition: top .25s var(--ease);
}
.skip:focus { top: 16px; }

/* Foco visível global */
:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(251, 246, 238, .82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--hair);
}
.nav {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: baseline; gap: .55rem; font-family: var(--serif); }
.brand .mono {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.5rem; color: var(--terra-deep);
}
.brand .name { font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .02em; color: var(--ink); }
.brand .role { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav-links a {
  font-size: .92rem; font-weight: 500; color: var(--ink-2);
  position: relative; padding-block: 6px;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--terra);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-soft);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { display: inline-flex; align-items: center; gap: .5rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--hair-2); border-radius: 12px;
  background: transparent; cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink);
  transition: transform .35s var(--ease-soft), opacity .25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

/* Menu mobile overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(251, 246, 238, .97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gut);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--serif); font-size: clamp(1.8rem, 7vw, 2.6rem);
  color: var(--ink); padding: .35rem 0;
  transform: translateY(18px); opacity: 0;
  transition: transform .5s var(--ease-soft), opacity .5s var(--ease), color .25s var(--ease);
}
.mobile-menu.open a { transform: translateY(0); opacity: 1; }
.mobile-menu.open a:nth-child(1) { transition-delay: .08s; }
.mobile-menu.open a:nth-child(2) { transition-delay: .14s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .20s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .26s; }
.mobile-menu.open a:nth-child(5) { transition-delay: .32s; }
.mobile-menu a:hover { color: var(--terra-deep); }
.mobile-menu .m-cta { margin-top: 2rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease-soft), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.btn:active { transform: scale(.97); }
.btn .arr {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 999px;
  background: rgba(255,255,255,.18);
  transition: transform .35s var(--ease-soft);
}
.btn:hover .arr { transform: translate(2px, -1px); }

.btn--primary { background: var(--terra); color: #fff7ef; }
.btn--primary:hover { background: var(--terra-deep); }
.btn--primary .arr { background: rgba(255,255,255,.22); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--hair-2); }
.btn--ghost:hover { border-color: var(--ink); background: var(--paper-2); }
.btn--ghost .arr { background: var(--terra-soft); color: var(--terra-deep); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #1a1612; }

.btn--lg { padding: 1.1rem 1.8rem; font-size: 1.02rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; color: var(--terra-deep);
  border-bottom: 1px solid var(--terra-line);
  padding-bottom: 2px;
  transition: gap .3s var(--ease-soft);
}
.link-arrow:hover { gap: .8rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(40px, 7vw, 96px)); padding-bottom: clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-ambient {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.hero-ambient .blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
}
.hero-ambient .b1 { width: 42vw; height: 42vw; max-width: 560px; max-height: 560px; top: -8%; right: -6%; background: radial-gradient(circle, var(--terra-soft), transparent 70%); }
.hero-ambient .b2 { width: 34vw; height: 34vw; max-width: 440px; max-height: 440px; bottom: -10%; left: -8%; background: radial-gradient(circle, var(--sage-soft), transparent 70%); }

.hero h1 { font-size: var(--fs-hero); margin-top: 1.2rem; max-width: 16ch; }
.hero h1 em { color: var(--terra-deep); }
.hero .lead { margin-top: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 40px); margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid var(--hair); }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta .k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.hero-meta .v { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }

/* Retrato placeholder */
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 30% 10%, var(--paper-sun), transparent 60%),
    linear-gradient(160deg, var(--paper-3), var(--paper-2));
  border: 1px solid var(--hair);
  display: grid; place-items: center;
  box-shadow: 0 30px 60px -30px rgba(42,37,32,.35);
}
.portrait .ph-initial {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(5rem, 14vw, 9rem); color: var(--terra);
  opacity: .85; line-height: 1;
}
.portrait .ph-tag {
  position: absolute; left: 18px; bottom: 16px;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); background: rgba(251,246,238,.7);
  padding: 6px 10px; border-radius: 999px; border: 1px solid var(--hair);
}
.portrait .ph-frame {
  position: absolute; inset: 14px; border: 1px solid var(--hair-2); border-radius: calc(var(--radius) - 8px); pointer-events: none;
}

/* ---------- Tiles / Cards (áreas, blog) ---------- */
.tile {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 32px);
  transition: transform .45s var(--ease-soft), border-color .35s var(--ease), box-shadow .45s var(--ease-soft);
  display: flex; flex-direction: column; gap: .8rem;
  height: 100%;
}
.tile:hover { transform: translateY(-4px); border-color: var(--hair-2); box-shadow: 0 24px 50px -34px rgba(42,37,32,.4); }
.tile .ic {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--terra-soft); color: var(--terra-deep);
  margin-bottom: .4rem;
}
.tile .ic svg { width: 22px; height: 22px; }
.tile.sage .ic { background: var(--sage-soft); color: var(--sage-deep); }
.tile h3 { font-size: 1.3rem; }
.tile p { color: var(--ink-2); font-size: .98rem; }

/* Bento spans */
.bento .tile { grid-column: span 2; }
.bento .tile.wide { grid-column: span 3; }
.bento .tile.full { grid-column: span 6; }

/* ---------- Passos (como funciona) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); counter-reset: step; }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--terra);
}
.step h3 { font-size: 1.18rem; margin-bottom: .4rem; }
.step p { color: var(--ink-2); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--hair); }
.faq details {
  border-bottom: 1px solid var(--hair);
  padding: clamp(16px, 2vw, 22px) 0;
}
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .4vw, 1.4rem); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm {
  flex: none; width: 30px; height: 30px; border-radius: 999px;
  border: 1px solid var(--hair-2);
  display: grid; place-items: center;
  position: relative;
  transition: transform .4s var(--ease-soft), background .3s var(--ease);
}
.faq summary .pm::before, .faq summary .pm::after {
  content: ""; position: absolute; background: var(--ink); border-radius: 2px;
}
.faq summary .pm::before { width: 12px; height: 1.5px; }
.faq summary .pm::after { width: 1.5px; height: 12px; transition: transform .3s var(--ease); }
.faq details[open] summary .pm { background: var(--terra); border-color: var(--terra); }
.faq details[open] summary .pm::before, .faq details[open] summary .pm::after { background: #fff7ef; }
.faq details[open] summary .pm::after { transform: scaleY(0); }
.faq .answer { padding-top: 14px; color: var(--ink-2); max-width: 70ch; }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); }
.post-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .45s var(--ease-soft), border-color .35s var(--ease), box-shadow .45s var(--ease-soft);
}
.post-card:hover { transform: translateY(-4px); border-color: var(--hair-2); box-shadow: 0 24px 50px -34px rgba(42,37,32,.4); }
.post-card .cover { aspect-ratio: 16/10; position: relative; overflow: hidden; background: linear-gradient(150deg, var(--paper-3), var(--paper-sun)); display: grid; place-items: center; }
.post-card .cover .cv-tag { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-style: italic; color: var(--terra); opacity: .5; font-size: 2.4rem; }
.post-card .cover .cat { position: absolute; left: 14px; top: 14px; background: rgba(251,246,238,.85); border: 1px solid var(--hair); padding: 5px 11px; border-radius: 999px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--terra-deep); font-weight: 600; }
.post-card .body { padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.post-card .meta { font-size: .8rem; color: var(--ink-3); display: flex; gap: 10px; }
.post-card h3 { font-size: 1.28rem; }
.post-card p { color: var(--ink-2); font-size: .95rem; }
.post-card .body .link-arrow { margin-top: auto; }

/* Filtros do blog */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.filter-btn {
  border: 1px solid var(--hair-2); background: transparent; cursor: pointer;
  padding: .55rem 1.1rem; border-radius: 999px; font-size: .9rem; font-weight: 500;
  color: var(--ink-2);
  transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Formulário ---------- */
.form { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); }
.field input, .field textarea, .field select {
  background: var(--paper);
  border: 1px solid var(--hair-2);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  font-size: 1rem; color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--terra);
  box-shadow: 0 0 0 3px var(--terra-soft);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field [data-error] { color: var(--terra-deep); font-size: .82rem; display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--terra); }
.field.invalid [data-error] { display: block; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--terra); flex: none; }
.consent a { color: var(--terra-deep); border-bottom: 1px solid var(--terra-line); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: clamp(20px, 3vw, 36px);
  padding: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: 1.4fr .8fr; gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(80% 120% at 100% 0%, var(--terra-soft), transparent 60%);
}
.cta-band h2 { color: var(--paper); position: relative; }
.cta-band p { color: rgba(251,246,238,.72); margin-top: .8rem; position: relative; }
.cta-band .btn--primary { background: var(--terra); }
.cta-band .actions { display: flex; flex-direction: column; gap: 12px; position: relative; }

/* ---------- Info rows (contato) ---------- */
.info-rows { display: grid; gap: 0; }
.info-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.info-row .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--terra-soft); color: var(--terra-deep); display: grid; place-items: center; }
.info-row .ic svg { width: 20px; height: 20px; }
.info-row .lbl { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.info-row .val { font-family: var(--serif); font-size: 1.12rem; color: var(--ink); }
.info-row a.val:hover { color: var(--terra-deep); }

/* ---------- Cartão de cuidado (saúde mental) ---------- */
.care-card {
  border: 1px solid var(--terra-line);
  background: var(--terra-soft);
  border-radius: var(--radius);
  padding: clamp(18px, 2.2vw, 26px);
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
}
.care-card > div { min-width: 0; }
.care-card .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--terra); color: #fff7ef; display: grid; place-items: center; }
.care-card .ic svg { width: 24px; height: 24px; }
.care-card strong { color: var(--terra-deep); }
.care-card p { color: var(--ink-2); font-size: .95rem; margin-top: 2px; }

/* ---------- Article (posts) ---------- */
.article-head { text-align: left; max-width: var(--maxw-read); margin-inline: auto; }
.article-head .cat { color: var(--terra-deep); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; }
.article-head h1 { margin-top: 1rem; font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); }
.article-head .meta { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 14px; color: var(--ink-3); font-size: .9rem; align-items: center; }
.article-head .meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }
.article-cover { margin: clamp(28px, 4vw, 44px) auto 0; aspect-ratio: 16/7; border-radius: var(--radius); background: linear-gradient(150deg, var(--paper-3), var(--paper-sun)); border: 1px solid var(--hair); display: grid; place-items: center; max-width: var(--maxw); }
.article-cover .cv-tag { font-family: var(--serif); font-style: italic; color: var(--terra); opacity: .45; font-size: 2.6rem; }

.prose { max-width: var(--maxw-read); margin-inline: auto; }
.prose > * + * { margin-top: 1.3em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8em; }
.prose p { font-size: 1.1rem; line-height: 1.75; color: var(--ink); }
.prose blockquote {
  font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.4;
  color: var(--terra-deep); border-left: 2px solid var(--terra-line);
  padding-left: 24px; margin: 1.8em 0;
}
.prose ul { list-style: none; display: grid; gap: .6em; }
.prose ul li { position: relative; padding-left: 28px; color: var(--ink); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--terra); }
.prose a { color: var(--terra-deep); border-bottom: 1px solid var(--terra-line); }

.breadcrumb { font-size: .85rem; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.breadcrumb a:hover { color: var(--terra-deep); }
.breadcrumb span { color: var(--hair-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-3); border-top: 1px solid var(--hair); padding-block: clamp(56px, 7vw, 88px) 32px; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
/* Faixa de crise em largura total, abaixo das colunas de texto do rodapé */
.footer-grid > :last-child { grid-column: 1 / -1; margin-top: clamp(12px, 1.8vw, 22px); }
.footer-grid > :last-child .care-card {
  background: linear-gradient(135deg, rgba(192,89,58,.13), rgba(192,89,58,.04));
  border-color: rgba(192,89,58,.4);
  padding: clamp(22px, 2.6vw, 32px);
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { color: var(--ink-2); font-size: .92rem; max-width: 32ch; }
.footer-col h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; font-weight: 600; }
.footer-col a { display: block; color: var(--ink-2); font-size: .94rem; padding: 5px 0; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--terra-deep); }
.footer-bottom { margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: .84rem; color: var(--ink-3); }
.footer-bottom .reg { font-size: .8rem; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px);
  z-index: 90;
  display: inline-flex; align-items: center; gap: .6rem;
  background: #25D366; color: #fff;
  padding: 12px 16px 12px 13px; border-radius: 999px;
  font-weight: 600; font-size: .92rem;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .6), 0 8px 20px -12px rgba(0,0,0,.3);
  transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease);
  will-change: transform;
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float .lbl { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .4s var(--ease-soft), opacity .3s var(--ease); }
@media (min-width: 540px) { .wa-float .lbl { max-width: 160px; opacity: 1; padding-left: 2px; } }

/* ---------- Reveal animation ----------
   Só esconde/transforma quando o JS está ativo (classe .js no <html>, adicionada por
   um inline script no <head> antes do paint). Sem JS, nada se aplica e o conteúdo
   aparece normalmente — fallback natural, sem depender de .no-js (que causava bug). */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft); }
.js .reveal.in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft); transition-delay: calc(var(--i, 0) * 80ms); }
.js .stagger.in > * { opacity: 1; transform: none; }
/* Hero: fade + blur cinematográfico na entrada do primeiro viewport */
.js .hero .reveal { transform: translateY(34px); filter: blur(8px); transition-duration: 1.1s; }
.js .hero .reveal.in { transform: none; filter: blur(0); }

/* ---------- Page header (internas) ---------- */
.page-head { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 72px)); padding-bottom: clamp(20px, 3vw, 40px); }
.page-head h1 { font-size: var(--fs-h1); margin-top: 1rem; max-width: 18ch; }
.page-head .lead { margin-top: 1.2rem; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Contato em linha cheia no tablet, para a faixa de crise não deixar buraco */
  .footer-grid > :nth-child(3) { grid-column: 1 / -1; }
  .cta-band { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento .tile, .bento .tile.wide { grid-column: span 2; }
  .bento .tile.full { grid-column: span 4; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn span { display: none; }
  .nav-cta .btn { padding: 8px 10px; }
  .nav-cta .btn .arr { width: 22px; height: 22px; }
  .nav-toggle { display: block; }
  .grid-3, .post-grid, .grid-2 { grid-template-columns: 1fr 1fr; }
  .hero-meta { gap: 22px; }
}
@media (max-width: 620px) {
  .grid-3, .post-grid, .grid-2, .steps, .bento { grid-template-columns: 1fr; }
  .bento .tile, .bento .tile.wide, .bento .tile.full { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 40px 1fr; }
  .info-row .val { grid-column: 2; }
  .cta-band { padding: 32px; }
  .care-card { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ---------- Barra de progresso de leitura (topo) ---------- */
.read-progress { position: fixed; inset: 0 0 auto 0; height: 2px; width: 0; background: var(--terra); z-index: 120; opacity: .9; transition: width .1s linear; }
