@charset "UTF-8";
/* =========================================================================
   Respiro Psicologia — folha de estilo única
   Design system: "Cerâmica Wabi-Sabi" (design.md)
   Estética: natural, contemplativa, editorial, artesanal, assimétrica.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. TIPOGRAFIA

   Providence Sans (©1993 Guy Jeffrey Nelson, FontShop International),
   hospedada localmente em assets/fonts/. O arquivo fornecido tem UM peso
   apenas — Regular 400 — e nenhum itálico. Por isso:

   - todos os títulos usam peso 400, o peso real do arquivo;
   - `font-synthesis: none` impede o navegador de fabricar um negrito ou um
     itálico falsos, que numa fonte desenhada à mão ficam borrados;
   - a hierarquia vem do tamanho, do espaço e da diferença de família em
     relação ao corpo em Inter — não do peso.
   ------------------------------------------------------------------------- */

@font-face {
  font-family: "Providence Sans";
  src: local("Providence Sans"),
       local("FF Providence Sans"),
       url("../fonts/providence-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  /* Latin-1 completo: cobre toda a acentuação do português */
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-2019, U+201C-201D,
                 U+2022, U+2026, U+00AB, U+00BB;
}

/* Fallback com métricas ajustadas: enquanto a fonte carrega, o texto ocupa
   quase exatamente o mesmo espaço, então nada "pula" na troca (CLS). */
@font-face {
  font-family: "Providence Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans"), local("Arimo");
  size-adjust: 104.4%;
  ascent-override: 88.5%;
  descent-override: 50.8%;
  line-gap-override: 0%;
}

/* -------------------------------------------------------------------------
   2. TOKENS
   ------------------------------------------------------------------------- */

:root {
  /* Paleta — derivada de design.md (Cerâmica Wabi-Sabi) */
  --paper:        #faf8f5;  /* fundo da página, off-white */
  --paper-warm:   #f4efe7;  /* areia, faixas alternadas */
  --paper-deep:   #eae1d5;  /* areia profunda */
  --surface:      #fffdfb;  /* superfície de cartão */

  --ink:          #2e2b28;  /* texto principal (off-black, nunca #000) */
  --ink-soft:     #5c564e;  /* texto secundário */
  --meta:         #6b6259;  /* legendas, metadados */
  --stone:        #8b8680;  /* Stone Grey — apenas bordas/decoração */

  --line:         #ded5c8;  /* filete padrão */
  --line-soft:    #ebe3d8;  /* filete sutil */

  --clay:         #a0522d;  /* Clay Brown */
  --charcoal:     #36454f;  /* Charcoal — superfície escura */
  --matcha:       #6b7b3a;  /* Matcha Green — indicadores positivos */
  --matcha-deep:  #5d6b31;  /* variante com contraste AA para texto */
  --gold:         #d4af37;  /* Gold Repair — linhas kintsugi */
  --blush:        #e8c4b8;  /* Soft Blush */

  --accent:       #ba1e3c;  /* PRIMÁRIA — CTAs, links, estados ativos */
  --accent-deep:  #98182f;  /* hover: ~8% mais escuro */
  --accent-tint:  #f7e9ec;  /* fundo tênue de indicadores */

  /* Tipografia */
  --font-display: "Providence Sans", "Providence Fallback", Optima, Candara,
                  "Gill Sans MT", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system,
                  "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* A própria Providence Sans é a voz manuscrita do site. */
  --font-hand:    var(--font-display);

  --step-hero:  clamp(2.5rem, 5vw + 0.5rem, 4rem);
  --step-h2:    clamp(1.875rem, 2.6vw + 0.75rem, 2.75rem);
  --step-h3:    clamp(1.375rem, 0.9vw + 1.05rem, 1.625rem);
  --step-lead:  clamp(1.0625rem, 0.5vw + 0.95rem, 1.3125rem);
  --step-body:  1rem;
  --step-small: 0.875rem;

  /* Ritmo — unidade base 0.5rem (8px) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --section-gap: clamp(4rem, 8vw, 8rem);
  --container: 1280px;
  --gutter: 1.5rem;
  --measure: 68ch;
  --measure-article: 680px;

  /* Raios — o design.md pedia 0px, mas a direção pedida é arredondada.
     Escala única para tudo se manter coerente. */
  --r-sm:   10px;   /* selos, marcadores pequenos */
  --r-md:   14px;   /* campos de formulário */
  --r-lg:   20px;   /* cartões */
  --r-xl:   28px;   /* blocos grandes e molduras */
  --r-pill: 999px;  /* botões e badges */

  /* Elevação — nunca mais pesada que 0 2px 12px rgba(0,0,0,.06) */
  --shadow-card: 0 2px 12px rgba(54, 69, 79, 0.06);
  --shadow-lift: 0 4px 16px rgba(54, 69, 79, 0.09);

  /* Movimento */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 200ms;
  --dur: 260ms;
  --dur-entry: 420ms;

  /* Contrato de z-index */
  --z-base: 0;
  --z-nav: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 500;
}

/* -------------------------------------------------------------------------
   3. RESET E BASE
   ------------------------------------------------------------------------- */

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

html {
  /* clip (e não hidden) impede scroll lateral sem quebrar position: sticky */
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Textura de papel: granulado fino, sem requisição externa */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/></filter><rect width='220' height='220' filter='url(%23g)' opacity='0.045'/></svg>");
  background-repeat: repeat;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
img { background-color: var(--paper-warm); }

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 400;             /* único peso existente no arquivo */
  font-synthesis: none;         /* nada de negrito ou itálico fabricados */
  line-height: 1.18;
  letter-spacing: 0;            /* a fonte já é naturalmente espaçada */
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

.card--file h3,
.card--file dt,
.footer__grid > nav h2,
.footer__pro h2,
.footer__care h2 {
  font-family: var(--font-body);
  font-weight: 600;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
/* o navegador aplica margin: 1em 40px em blockquote — some com o recuo */
blockquote, figure { margin: 0; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent-deep); }

::selection { background: var(--blush); color: var(--ink); }

/* Foco visível — nunca removido, apenas substituído */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}
.on-dark :focus-visible { outline-color: var(--blush); }

/* Barra de rolagem discreta */
* { scrollbar-color: var(--line) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--line); }
::-webkit-scrollbar-thumb:hover { background: var(--stone); }

/* -------------------------------------------------------------------------
   4. UTILITÁRIOS
   ------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip-link {
  /* fixed (e não absolute): assim continua visível mesmo se o foco entrar
     na página com ela já rolada */
  position: fixed;
  left: var(--gutter);
  top: -100px;
  z-index: var(--z-toast);
  background: var(--accent);
  color: #fff;
  padding: 0.875rem 1.25rem;
  font-weight: 600;
  font-size: var(--step-small);
  text-decoration: none;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 0.75rem; color: #fff; }

.section { padding-block: var(--section-gap); }
.section--sand {
  background-color: var(--paper-warm);
  border-block: 1px solid var(--line-soft);
}

/* Sobrelinha editorial (eyebrow) com marcador — o vermelho como detalhe */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
/* Variante em pílula, usada no topo do Hero */
.eyebrow--badge {
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--paper-warm);
  color: var(--meta);
}
.eyebrow--badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.on-dark .eyebrow { color: var(--blush); }

.lead {
  font-size: var(--step-lead);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* Cabeçalhos centralizados: o eixo comum alinha todas as seções entre si. */
.section-head {
  max-width: 44rem;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}
.section-head > * + * { margin-top: var(--space-3); }
.section-head h2 { font-size: var(--step-h2); }
.section-head .lead { margin-inline: auto; }

/* Anotação manuscrita */
.annotation {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--clay);
  transform: rotate(-2.5deg);
  transform-origin: left center;
}

/* Filete kintsugi — costura dourada */
.kintsugi {
  display: block;
  width: 100%;
  height: 10px;
  color: var(--gold);
  opacity: 0.85;
}

/* Formas orgânicas — só em elementos decorativos e molduras de imagem.
   Componentes (botões, cartões, campos) permanecem retos, como manda o
   design system. As molduras usam cantos irregulares discretos: papel
   cortado à mão, não um recorte circular que engoliria a fotografia. */
/* As três formas do HTML original. Dois cantos muito arredondados e dois
   quase retos — é o que dá a leitura de traço feito à mão, sem SVG nem
   clip-path. Como são valores de border-radius, a borda branca acompanha a
   curva sozinha. */
.organic-shape-1 { border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; }
.organic-shape-2 { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
.organic-shape-3 { border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%; }
/* mesma família da shape-1, com os cantos trocados */
.organic-shape-4 { border-radius: 15px 225px 15px 255px / 255px 15px 225px 15px; }

/* -------------------------------------------------------------------------
   5. BOTÕES
   design.md: cantos retos (0px), peso 600, hover 8% escuro + leve elevação,
   active translate -1px. Sem brilhos externos.
   ------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 48px;              /* alvo de toque confortável */
  padding: 0.875rem 1.75rem;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: var(--step-small);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;          /* rótulos de duas linhas ficam centrados */
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur-fast) var(--ease);
}

.btn--primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #ffffff;
  box-shadow: var(--shadow-lift);
}
.btn--primary:active { transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--stone);
}
.btn--ghost:hover {
  background: var(--paper-deep);
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost:active { transform: translateY(-1px); }

.on-dark .btn--ghost { color: var(--paper); border-color: rgba(250, 248, 245, 0.45); }
.on-dark .btn--ghost:hover { background: rgba(250, 248, 245, 0.1); border-color: var(--paper); color: #fff; }

.btn[aria-disabled="true"], .btn:disabled { opacity: 0.55; cursor: progress; }

/* Variante de traço grosso e sombra dura, usada nos cartões de Serviços.
   O deslocamento no :active imita o botão sendo pressionado contra o papel. */
.btn--sketch {
  border-width: 3px;
  border-color: var(--ink);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  box-shadow: 4px 4px 0 0 var(--ink);
  background: var(--surface);
  color: var(--ink);
}
.btn--sketch:hover {
  background: var(--accent);
  border-color: var(--ink);
  color: #ffffff;
  box-shadow: 2px 2px 0 0 var(--ink);
  transform: translateY(-1px);
}
.btn--sketch:active {
  box-shadow: none;
  transform: translate(3px, 3px);
}

/* Link com seta — usado no lugar de "clique aqui" */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--step-small);
  color: var(--accent);
  text-decoration: none;
  min-height: 44px;
}
.link-arrow .icon { transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--accent-deep); text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon { width: 1.125rem; height: 1.125rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--lg { width: 1.375rem; height: 1.375rem; }

/* -------------------------------------------------------------------------
   6. CABEÇALHO E NAVEGAÇÃO
   ------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  /* referência para a barra de progresso encostar na base */

  top: 0;
  z-index: var(--z-nav);
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;                /* alvo de toque confortável */
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand__logo {
  width: auto;
  height: 85px;
  flex: 0 0 auto;
  background-color: transparent;
}
.brand__mark {
  position: relative;
  display: inline-block;
  width: 57px;
  height: 85px;
  flex: 0 0 57px;
  margin-right: 0.65rem;
}
.brand__mark .brand__logo { position: absolute; inset: 0 auto 0 0; }
.brand__logo--hover { opacity: 0; transition: opacity var(--dur-fast) var(--ease); }
.brand:hover .brand__logo:not(.brand__logo--hover),
.brand:focus-visible .brand__logo:not(.brand__logo--hover) { opacity: 0; }
.brand:hover .brand__logo--hover,
.brand:focus-visible .brand__logo--hover { opacity: 1; }
.brand:hover { color: var(--accent); }

.nav-desktop { display: none; }
.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  list-style: none;
}
.nav-desktop a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.625rem;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a:hover::after,
.nav-desktop a[aria-current="true"]::after { transform: scaleX(1); }
.nav-desktop a[aria-current="true"] { color: var(--accent); font-weight: 600; }

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-right: -0.5rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* Gaveta mobile.
   Fica sempre dentro dos limites da viewport (inset: 0) e aparece por
   fade + deslocamento curto. Deslizar de fora da tela com translateX(100%)
   aumentaria o scrollWidth do documento: um elemento fixed não é recortado
   pelo overflow do html, e o resultado seria rolagem lateral em todas as
   páginas — com a gaveta fechada. */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  padding: var(--gutter);
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              visibility 0s linear var(--dur);
}
.nav-drawer[data-open="true"] {
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              visibility 0s;
}
.nav-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}
.nav-drawer ul { list-style: none; display: flex; flex-direction: column; }
.nav-drawer li + li { border-top: 1px solid var(--line-soft); }
.nav-drawer nav a {
  display: flex;
  align-items: center;
  min-height: 56px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
}
.nav-drawer nav a:hover { color: var(--accent); }
.nav-drawer__foot { margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--line); }
.nav-drawer__foot .btn { width: 100%; }

body[data-scroll-locked="true"] { overflow: hidden; }

/* -------------------------------------------------------------------------
   7. HERO — composição assimétrica
   ------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 9vw, 8rem);
  overflow: hidden;
}
/* Lavagem terrosa muito tênue ao fundo (único gradiente do projeto) */
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -30% auto auto;
  width: min(70vw, 760px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 60% 40%, rgba(232, 196, 184, 0.34), rgba(232, 196, 184, 0) 68%);
  pointer-events: none;
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 4.5rem);
  align-items: start;
}

.hero__text > * + * { margin-top: 24px !important; }
.hero__title {
  font-size: var(--step-hero);
  line-height: 1.12;
  letter-spacing: 0;
  margin-block: 0.5rem 0;
  max-width: 15ch;
}
.hero__quote {
  font-size: var(--step-lead);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 48ch;
  margin-top: 24px !important;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: 24px !important;
}
.hero__actions .btn { flex: 1 1 15rem; }

.hero__figure { position: relative; margin: 0; }
/* Moldura de papel cortado à mão.
   A borda branca não é um `border`: é o fundo do próprio elemento aparecendo
   pelo `padding`. Elemento e mídia usam contornos irregulares diferentes, o
   que faz a espessura variar ao longo do recorte — como num corte manual.
   Um `border` uniforme era exatamente o que deixava o resultado artificial. */
.hero__frame {
  position: relative;
  max-width: 27rem;
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface);
  border: 4px solid #ffffff;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  box-shadow: 0 10px 26px rgba(54, 69, 79, 0.12);
}
.hero__frame > * { width: 100%; height: 100%; object-fit: cover; }
/* Forma orgânica atrás da moldura */
/* Mancha orgânica atrás da foto, como no HTML original */
.hero__blob {
  position: absolute;
  inset: -1rem;
  background: var(--paper-warm);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.7;
  filter: blur(4px);
  transform: rotate(3deg);
  z-index: -1;
}
.hero__note {
  position: absolute;
  left: -1.5rem;
  bottom: -1.5rem;
  max-width: 13rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-card);
  transform: rotate(-3deg);
}
.hero__note p { font-family: var(--font-display); font-size: 1.0625rem; color: var(--ink); }

/* -------------------------------------------------------------------------
   8. SOBRE MIM — imagem + narrativa + ficha profissional
   ------------------------------------------------------------------------- */

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.about__aside > * + * { margin-top: var(--space-3); }
.about__portrait {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface);
  border: 4px solid #ffffff;
  border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
  box-shadow: 0 8px 22px rgba(54, 69, 79, 0.11);
  max-width: 24rem;
}
.about__portrait > * { width: 100%; height: 100%; object-fit: cover; }
/* O recorte 1:1 com o enquadramento em 35% ja vem embutido nas derivadas
   retrato-384/768.jpg, entao object-position aqui nao teria efeito. */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.card--file { max-width: 24rem; }
.card--file h3 { font-size: 1.125rem; }
.card--file dl { margin: 0; }
.card--file dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--meta);
  margin-top: var(--space-3);
}
.card--file dd { margin: 0.25rem 0 0; color: var(--ink); font-size: var(--step-small); line-height: 1.55; }

.about__body { max-width: var(--measure); }
.about__body > * + * { margin-top: var(--space-3); }
.about__body p { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.75; }
.about__body p.has-dropcap::first-letter {
  font-family: var(--font-display);
  font-size: 3.75rem;
  line-height: 0.82;
  font-weight: 400;
  color: var(--accent);
  float: left;
  margin: 0.32rem 0.625rem 0 0;
}

.values {
  margin-top: var(--space-6) !important;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.section--sand .values { background: var(--surface); }
.values h3 { font-size: var(--step-h3); margin-bottom: var(--space-3); }
.values ul { list-style: none; display: grid; gap: var(--space-2); }
.values li { display: flex; gap: 0.75rem; align-items: start; font-size: var(--step-small); line-height: 1.6; color: var(--ink-soft); }
.values li strong { color: var(--ink); font-weight: 600; }
.values .icon { color: var(--matcha-deep); margin-top: 0.2rem; }
.values h3 { color: var(--ink); }

/* -------------------------------------------------------------------------
   9. COMPETÊNCIAS — cartões de largura igual, alinhados
   ------------------------------------------------------------------------- */

.register {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.register__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.register__item:hover { box-shadow: var(--shadow-lift); border-color: var(--blush); }
.register__num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.625rem;
}
.register__item h3 { font-size: var(--step-h3); margin-bottom: 0.5rem; }
.register__item p { color: var(--ink-soft); font-size: var(--step-small); line-height: 1.7; }

/* ------------------------------------------------------------------------
   10. SERVIÇOS — cartões de caderno

   Formato emprestado do shapesoup.com: traço grosso, sombra dura sem
   desfoque, cantos orgânicos e fita adesiva no topo. Transposto para a
   paleta daqui: o "lápis" é o --ink (#2e2b28), não preto puro, e o ponto de
   destaque usa o vermelho da marca.
   ------------------------------------------------------------------------ */

.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: stretch;
  max-width: 62rem;
  margin-inline: auto;
  padding-top: 1rem;          /* espaço para a fita e o ponto */
}

.service {
  position: relative;
  background: var(--surface);
  border: 3px solid var(--ink);
  border-radius: 15px 225px 15px 255px / 255px 15px 225px 15px;
  box-shadow: 7px 7px 0 0 var(--ink);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transform: rotate(-0.3deg);
}
.services > .service:nth-child(2) {
  transform: rotate(0.35deg);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
}

/* fita adesiva */
.service::before {
  content: "";
  position: absolute;
  top: -0.8rem;
  left: 50%;
  width: 7rem;
  height: 1.5rem;
  background: color-mix(in srgb, var(--paper-deep) 75%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: 2px;
  transform: translateX(-50%) rotate(-2deg);
}
.services > .service:nth-child(2)::before { transform: translateX(-50%) rotate(1.6deg); }

/* ponto de destaque — parado, não pulando: o briefing pede motion discreto */
.service::after {
  content: "";
  position: absolute;
  top: -0.85rem;
  right: -0.85rem;
  width: 2rem;
  height: 2rem;
  background: var(--accent);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 3px 0 0 var(--ink);
}

.service__mark {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--paper-warm);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 3px 0 0 var(--ink);
  color: var(--accent);
  margin-bottom: var(--space-1);
}
.service--alt .service__mark { color: var(--matcha-deep); }
.service h3 { font-size: var(--step-h3); }
.service p { color: var(--ink-soft); line-height: 1.7; }

/* filete tracejado antes do botão, como na referência */
.rule-dashed {
  display: block;
  height: 0;
  border-top: 2px dashed color-mix(in srgb, var(--ink) 25%, transparent);
  margin-top: var(--space-2);
}
.service .rule-dashed { margin-top: auto; }
/* botão compacto e centrado, como na referência */
.service .btn--sketch { align-self: center; margin-top: var(--space-3); }

/* -------------------------------------------------------------------------
   11. COMO FUNCIONA — quatro etapas lado a lado
   ------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  list-style: none;
}
.step {
  position: relative;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.section--sand .step { background: var(--surface); }
.step__num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}
.step__body h3 { font-size: var(--step-h3); margin-bottom: 0.5rem; }
.step__body p { color: var(--ink-soft); font-size: var(--step-small); line-height: 1.7; }

/* -------------------------------------------------------------------------
   12. FAQ — accordion animado

   Movimento reproduzido da referência EverAfter: a altura cresce com uma
   curva bem desacelerada, o conteúdo entra em seguida com um leve
   deslocamento, e o "+" gira até virar "×".

   A altura é animada com `grid-template-rows: 0fr -> 1fr`. É o único jeito
   puramente em CSS de ir até `auto` sem medir nada em JavaScript — e, sem
   JavaScript, os painéis ficam abertos e legíveis.
   ------------------------------------------------------------------------- */

:root {
  /* desaceleração longa: sobe rápido e assenta devagar */
  --ease-faq: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-faq-abrir: 460ms;
  --dur-faq-fechar: 360ms;
}

.faq { max-width: 56rem; margin-inline: auto; display: grid; gap: 0.75rem; }

.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur-faq-abrir) var(--ease-faq);
}
.faq__item:has(.faq__trigger[aria-expanded="true"]) {
  border-color: var(--blush);
  box-shadow: var(--shadow-lift);
}

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 64px;
  padding: 1.125rem clamp(1.25rem, 2.5vw, 1.75rem);
  background: none;
  border: 0;
  border-radius: var(--r-lg);
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1vw + 0.95rem, 1.375rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.faq__trigger:hover { color: var(--accent); }
.faq__trigger[aria-expanded="true"] { color: var(--accent); }

/* Botão redondo com o sinal — gira 45° e vira "×" ao abrir */
.faq__sign {
  position: relative;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper-warm);
  color: var(--accent);
  transition: transform var(--dur-faq-abrir) var(--ease-faq),
              background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.faq__sign::before, .faq__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.875rem;
  height: 1.5px;
  margin: -0.75px 0 0 -0.4375rem;
  background: currentColor;
  border-radius: 1px;
}
.faq__sign::after { transform: rotate(90deg); }

.faq__trigger:hover .faq__sign { border-color: var(--accent); }
.faq__trigger[aria-expanded="true"] .faq__sign {
  transform: rotate(45deg);        /* + vira × */
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* Painel: a altura cresce de 0fr até 1fr */
.faq__panel {
  display: grid;
  grid-template-rows: 1fr;         /* padrão aberto — vale para quem está sem JS */
  transition: grid-template-rows var(--dur-faq-abrir) var(--ease-faq);
}
.faq__panel[data-open="false"] {
  grid-template-rows: 0fr;
  visibility: hidden;              /* sai da ordem de tabulação e do leitor de tela */
  transition: grid-template-rows var(--dur-faq-fechar) var(--ease-faq),
              visibility 0s linear var(--dur-faq-fechar);
}

/* min-height: 0 é obrigatório — sem isso o item de grid não encolhe abaixo
   do conteúdo e a animação de altura simplesmente não acontece. */
.faq__panel-inner { overflow: hidden; min-height: 0; }

/* O texto entra depois da altura, com um deslocamento curto */
.faq__panel-inner > * {
  padding: 0 clamp(1.25rem, 2.5vw, 1.75rem) 1.5rem;
  opacity: 1;
  transform: none;
  transition: opacity 320ms var(--ease-faq) 120ms,
              transform 320ms var(--ease-faq) 120ms;
}
.faq__panel[data-open="false"] .faq__panel-inner > * {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 150ms var(--ease-faq),   /* some rápido, sem atraso */
              transform 150ms var(--ease-faq);
}

.faq__panel p { color: var(--ink-soft); line-height: 1.75; max-width: 62ch; }

/* -------------------------------------------------------------------------
   13. TEXTOS — três cartões de mesma largura, rodapés alinhados
   ------------------------------------------------------------------------- */

.posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
/* Link "Ver todos os textos", abaixo da grade de cartões da home */
.posts-more { margin-top: var(--space-6); display: flex; justify-content: center; }

.post {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.post:hover { box-shadow: var(--shadow-lift); border-color: var(--blush); }

.post__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--meta);
  font-weight: 500;
  margin-bottom: var(--space-2);
}
.post__cat { color: var(--accent); font-weight: 600; }

.post__title { font-size: clamp(1.375rem, 1.2vw + 1rem, 1.625rem); line-height: 1.25; }
.post__title a { color: inherit; text-decoration: none; }
.post__title a:hover { color: var(--accent); }
/* Torna o cartão inteiro clicável sem sacrificar a semântica do link */
.post__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.post__excerpt {
  font-family: var(--font-body);
  font-size: var(--step-small);
  line-height: 1.7;
  color: var(--ink-soft);
  margin-top: 0.75rem;
}

/* margin-top:auto encosta todos os rodapés na mesma linha de base */
.post__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line-soft);
}
.post__foot time { font-size: 0.8125rem; color: var(--meta); }
.post__more { position: relative; z-index: 1; min-height: 0; }

/* -------------------------------------------------------------------------
   14. FAIXA ESCURA (CTA) — grês esmaltado
   ------------------------------------------------------------------------- */

.band {
  background: var(--charcoal);
  color: var(--paper);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  position: relative;
}
.band__inner { max-width: 46rem; margin-inline: auto; text-align: center; }
.band__inner > * + * { margin-top: var(--space-3); }
.band h2 { color: #fff; font-size: var(--step-h2); }
.band p { color: rgba(250, 248, 245, 0.84); font-size: var(--step-lead); line-height: 1.6; max-width: 44ch; margin-inline: auto; }
.band .btn { margin-top: var(--space-4); }
.band .kintsugi { position: absolute; top: 0; left: 0; right: 0; opacity: 0.9; }

/* -------------------------------------------------------------------------
   15. CONTATO
   ------------------------------------------------------------------------- */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.contact__intro > * + * { margin-top: var(--space-3); }
.contact__intro h2 { font-size: var(--step-h2); }

.channels { list-style: none; display: grid; gap: 0.75rem; margin-top: var(--space-4) !important; }
.channels li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color var(--dur) var(--ease);
}
.channels li:hover { border-color: var(--blush); }
.channels a, .channels .channel-static {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 72px;
  padding: 0.75rem 1.25rem;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.channels a:hover { color: var(--accent); }
.channels .mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-warm);
  color: var(--accent);
  flex: none;
}
.channels .mark--matcha { color: var(--matcha-deep); }
.channels .mark--clay { color: var(--clay); }
.channels dt, .channels .label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--meta);
  font-weight: 600;
}
.channels .value {
  display: block;
  font-weight: 500;
  font-size: var(--step-body);
  /* o e-mail é uma palavra só e mais larga que a tela em 320px */
  overflow-wrap: anywhere;
}

/* Formulário */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-card); padding: clamp(1.5rem, 3vw, 2.5rem); }
.form__row { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
.field { display: block; margin-bottom: var(--space-3); }
.field > label {
  display: block;
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4375rem;
}
.field .req { color: var(--accent); font-weight: 700; margin-left: 0.15em; }
/* dica na mesma linha do rótulo: em bloco, ela empurrava o campo do
   WhatsApp para baixo e desalinhava a dupla E-mail / WhatsApp */
.field .hint { font-weight: 400; font-size: 0.8125rem; color: var(--meta); margin-left: 0.35em; }

.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.875rem;
  font-family: inherit;
  font-size: var(--step-body);
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
  background: var(--surface);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
  background: var(--accent-tint);
}

.field__error {
  display: none;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.4375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-deep);
}
.field__error[data-visible="true"] { display: flex; }
.field__error .icon { width: 0.9375rem; height: 0.9375rem; flex: none; }

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line-soft);
}
.form__privacy { font-size: 0.8125rem; color: var(--meta); max-width: 26ch; line-height: 1.5; }

.form__status { margin-top: var(--space-3); }
.form__status:empty { margin-top: 0; }
.form__status .note {
  display: flex;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  font-size: var(--step-small);
  line-height: 1.55;
  border: 1px solid var(--matcha);
  border-radius: var(--r-md);
  background: var(--paper-warm);
  color: var(--ink);
}
.form__status .note--error { border-color: var(--accent); background: var(--accent-tint); }
.form__status .icon { flex: none; margin-top: 0.15rem; color: var(--matcha-deep); }
.form__status .note--error .icon { color: var(--accent-deep); }

/* -------------------------------------------------------------------------
   16. RODAPÉ
   ------------------------------------------------------------------------- */

.site-footer {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 4.5rem) var(--space-4);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}
.footer__grid h2 { font-size: 1rem; letter-spacing: 0.04em; margin-bottom: var(--space-2); }
.footer__brand .brand { font-size: 1.5rem; display: inline-flex; margin-bottom: var(--space-2); }
.footer__brand p { font-family: var(--font-display); font-size: 1.0625rem; color: var(--ink-soft); }
.footer__grid ul { list-style: none; display: grid; gap: 0.125rem; }
.footer__grid nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-2); }
.footer__grid nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--step-small);
  color: var(--ink-soft);
  text-decoration: none;
}
.footer__grid nav a:hover { color: var(--accent); text-decoration: underline; }
.footer__grid p { font-size: var(--step-small); color: var(--ink-soft); line-height: 1.65; }
.footer__pro p + p { margin-top: 0.25rem; }

.footer__grid .social { display: flex; flex-direction: row; align-items: center; gap: 0.5rem; margin-top: var(--space-2); list-style: none; }
.social a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.social a:hover { color: var(--accent); border-color: var(--accent); }

/* Rede social ainda sem perfil: mantém o lugar no layout sem virar um link
   quebrado. Fica visivelmente apagada. */
.social-pendente {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px dashed var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--stone);
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--meta);
}
.footer__base .display { font-weight: 400; font-size: 1.0625rem; }

/* -------------------------------------------------------------------------
   17. PÁGINA DE ARTIGO
   ------------------------------------------------------------------------- */

.breadcrumb { padding-top: var(--space-4); font-size: 0.8125rem; color: var(--meta); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }
.breadcrumb a { color: var(--meta); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink); }

.article { padding-bottom: var(--section-gap); }
.article__inner { max-width: var(--measure-article); margin-inline: auto; }
.article__header { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.article__header > * + * { margin-top: var(--space-3); }
.article__title { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); line-height: 1.14; letter-spacing: 0; }
.article__standfirst {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  line-height: 1.5;
  color: var(--ink-soft);
}
.article__byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--meta);
}
.article__byline .author { color: var(--ink); font-weight: 600; }

.article__figure { margin: 0 auto clamp(2rem, 4vw, 3rem); }
.article__figure .frame {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface);
  border: 4px solid #ffffff;
  border-radius: 225px 15px 255px 15px / 15px 255px 15px 225px;
  box-shadow: 0 8px 22px rgba(54, 69, 79, 0.10);
}
.article__figure .frame > * { width: 100%; height: 100%; object-fit: cover; }
.article__figure figcaption { margin-top: 0.625rem; font-size: 0.8125rem; color: var(--meta); }

.prose { font-size: 1.125rem; line-height: 1.8; color: var(--ink); }
.prose > * + * { margin-top: 1.5rem; }
.prose p { color: var(--ink-soft); }
.prose h2 {
  font-size: clamp(1.5rem, 2vw + 1rem, 1.875rem);
  margin-top: 3rem;
  padding-top: 0.5rem;
  color: var(--ink);
}
.prose h3 { font-size: var(--step-h3); margin-top: 2.25rem; }
.prose blockquote {
  margin: 2.5rem 0;
  padding: 0.25rem 0 0.25rem 1.75rem;
  border-left: 2px solid var(--accent);
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.5vw + 1rem, 1.75rem);
  line-height: 1.35;
  color: var(--ink);
}
.prose blockquote p { color: inherit; }
/* Listas dentro do corpo do artigo. O reset zera margin/padding de ul,
   entao o recuo e o marcador sao redeclarados aqui. */
.prose ul, .prose ol { padding-left: 1.5rem; display: grid; gap: 0.5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { color: var(--ink-soft); padding-left: 0.25rem; }
.prose li::marker { color: var(--accent); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.prose a { color: var(--accent); }

.article__end { margin-top: clamp(3rem, 6vw, 4rem); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.article__end .kintsugi { margin-bottom: var(--space-3); }
.article__end p { color: var(--ink-soft); font-size: var(--step-small); line-height: 1.7; }
.article__end .btn { margin-top: var(--space-3); }

.related { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem); }
.related h2 { font-size: var(--step-h3); margin-bottom: var(--space-4); }
.related__list { list-style: none; display: grid; gap: 0.75rem; }
.related__list li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color var(--dur) var(--ease); }
.related__list li:hover { border-color: var(--blush); }
.related__list a { display: block; padding: var(--space-3) clamp(1.25rem, 2.5vw, 1.5rem); text-decoration: none; color: inherit; }
.related__list a:hover .related__title { color: var(--accent); }
.related__cat { display: block; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.related__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.25; margin-top: 0.375rem; transition: color var(--dur) var(--ease); }

/* -------------------------------------------------------------------------
   17b. LEITURA ESTILO MEDIUM — progresso, sumário, etiquetas e bio
   ------------------------------------------------------------------------- */

/* Barra de progresso: encostada na base do cabeçalho fixo.
   Anima só transform, e a origem à esquerda evita recalcular largura. */
.read-progress {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: transparent;
  overflow: hidden;
}
.read-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* Sumário */
.toc {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.toc h2 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--meta);
  margin-bottom: var(--space-2);
}
.toc ol { list-style: none; counter-reset: toc; display: grid; gap: 0.125rem; }
.toc li { counter-increment: toc; }
.toc a {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  min-height: 44px;
  padding-block: 0.4rem;
  font-size: var(--step-small);
  color: var(--ink);
  text-decoration: none;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-display);
  color: var(--accent);
  flex: none;
}
.toc a:hover { color: var(--accent); text-decoration: underline; }

/* Separador de três pontos, como no Medium */
.dinkus {
  margin-block: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  letter-spacing: 0.6em;
  color: var(--stone);
  font-size: 1.25rem;
}

/* Etiquetas de assunto */
.tags ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.tags li {
  padding: 0.5rem 0.9rem;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* Cartão de bio */
.author-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
}
.author-card__avatar,
.byline__avatar {
  display: block;
  width: 64px; height: 64px;
  overflow: hidden;
  border-radius: 50%;
  border: 3px solid var(--surface);
  background: var(--paper-deep);
  box-shadow: 0 0 0 1px var(--line);
  flex: none;
}
.author-card__avatar > *, .byline__avatar > * { width: 100%; height: 100%; object-fit: cover; }
.byline__avatar { width: 44px; height: 44px; }
.author-card__eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--meta);
}
.author-card h2 { font-size: var(--step-h3); margin-top: 0.25rem; }
.author-card__role { font-size: var(--step-small); color: var(--meta); margin-top: 0.15rem; }
.author-card p + p { margin-top: 0.75rem; }
.author-card > div > p:last-of-type { color: var(--ink-soft); line-height: 1.7; }
.author-card .btn { margin-top: var(--space-3); }
.author-card em, .byline em { font-style: normal; font-size: 0.85em; color: var(--meta); }

/* Linha de autor no topo */
.byline {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}
.byline__name { display: block; font-weight: 600; font-size: var(--step-small); color: var(--ink); }
.byline__meta { display: block; font-size: 0.8125rem; color: var(--meta); margin-top: 0.1rem; }
.byline__meta > * + * { margin-left: 0.4rem; }

@media (min-width: 40em) {
  .author-card { grid-template-columns: auto 1fr; align-items: start; gap: var(--space-4); }
}

/* -------------------------------------------------------------------------
   18. ANIMAÇÃO DE ENTRADA
   design.md: fade + translateY 16px → 0, 420ms ease-out, cascata de 80ms.
   Só transform e opacity — nada que dispare layout.
   ------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(16px); }
.js-ready .reveal {
  transition: opacity var(--dur-entry) var(--ease), transform var(--dur-entry) var(--ease);
}
.reveal[data-shown="true"] { opacity: 1; transform: none; }
/* Sem JS ou antes da hidratação, o conteúdo permanece visível */
html:not(.js-ready) .reveal { opacity: 1; transform: none; }

/* -------------------------------------------------------------------------
   19. BREAKPOINTS — mobile-first, só onde é necessário
   ------------------------------------------------------------------------- */

@media (min-width: 48em) {            /* 768px — tablet */
  .hero__grid { grid-template-columns: repeat(12, 1fr); align-items: center; }
  .hero__text { grid-column: 1 / span 7; }
  .hero__figure { grid-column: 8 / span 5; }
  .hero__frame { margin-inline: 0; }

  .about__grid { grid-template-columns: repeat(12, 1fr); }
  .about__aside { grid-column: 1 / span 5; position: sticky; top: 6rem; }
  .about__body { grid-column: 7 / span 6; }

  .register { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps    { grid-template-columns: repeat(2, 1fr); }
  .posts    { grid-template-columns: repeat(2, 1fr); }

  .contact__grid { grid-template-columns: repeat(12, 1fr); }
  .contact__intro { grid-column: 1 / span 5; }
  .form { grid-column: 7 / span 6; }
  .form__row { grid-template-columns: 1fr 1fr; }

  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

@media (min-width: 64em) {            /* 1024px — desktop */
  :root { --gutter: 2.5rem; }
  .nav-desktop { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-drawer { display: none; }
  .header-inner { min-height: 76px; }

  .hero__text { grid-column: 1 / span 6; }
  .hero__figure { grid-column: 8 / span 5; }
  .hero__note { left: -2rem; bottom: -1.5rem; }

  .about__body { grid-column: 7 / span 5; }

  .register { grid-template-columns: repeat(4, 1fr); }
  .steps    { grid-template-columns: repeat(4, 1fr); }
  .posts    { grid-template-columns: repeat(3, 1fr); }
}

/* -------------------------------------------------------------------------
   20. MOVIMENTO REDUZIDO
   ------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .nav-drawer { transition: none; }
  .link-arrow:hover .icon { transform: none; }
}

/* -------------------------------------------------------------------------
   21. IMPRESSÃO
   ------------------------------------------------------------------------- */

@media print {
  .site-header, .nav-drawer, .form, .band, .skip-link, .social { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.75em; color: #555; }
}
