/* Manual do Couro — tudo sobre couro na moda
   Tokens de cor no topo; o tema escuro só redefine os tokens. */

:root {
  --bg: #f6f1e9;
  --bg-2: #efe6d8;
  --surface: #fffdf9;
  --surface-2: #f8f2ea;
  --ink: #231913;
  --ink-2: #4b3b30;
  --muted: #76675b;
  --line: #e6dacb;
  --line-2: #d6c5b0;
  --accent: #9a4a1c;
  --accent-2: #b5602a;
  --on-accent: #fff8f0;
  --caramel: #c98f55;
  --oxblood: #7a2530;
  --olive: #4c5f3e;
  --denim: #2f4a6b;
  --brass: #8f6a1f;
  --leather: #2a1c14;
  --leather-2: #3e2a1d;
  --leather-ink: #f6eadb;
  --stitch: rgba(239, 207, 159, .55);
  --caption: #6b6b6b;
  --shadow-sm: 0 1px 2px rgba(35, 25, 19, .06), 0 2px 8px rgba(35, 25, 19, .05);
  --shadow: 0 2px 4px rgba(35, 25, 19, .05), 0 12px 32px rgba(35, 25, 19, .09);
  --shadow-lg: 0 6px 16px rgba(35, 25, 19, .08), 0 28px 64px rgba(35, 25, 19, .16);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --leather-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeDiffuseLighting surfaceScale='1.6' lighting-color='%23fff'%3E%3CfeDistantLight azimuth='225' elevation='55'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23f)'/%3E%3C/svg%3E");
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14100d; --bg-2: #1b1511; --surface: #211a15; --surface-2: #281f19;
    --ink: #f3eadf; --ink-2: #dacbbc; --muted: #ab9a8b; --line: #372b22; --line-2: #4a3a2e;
    --accent: #e3955b; --accent-2: #f0ab74; --on-accent: #1b120c; --caramel: #e2b07a;
    --oxblood: #e0848d; --olive: #a9bc92; --denim: #93b4da; --brass: #dcb768;
    --leather: #1d140e; --leather-2: #2c1f16; --caption: #a3a3a3;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3); --shadow: 0 12px 32px rgba(0, 0, 0, .35); --shadow-lg: 0 28px 64px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14100d; --bg-2: #1b1511; --surface: #211a15; --surface-2: #281f19;
  --ink: #f3eadf; --ink-2: #dacbbc; --muted: #ab9a8b; --line: #372b22; --line-2: #4a3a2e;
  --accent: #e3955b; --accent-2: #f0ab74; --on-accent: #1b120c; --caramel: #e2b07a;
  --oxblood: #e0848d; --olive: #a9bc92; --denim: #93b4da; --brass: #dcb768;
  --leather: #1d140e; --leather-2: #2c1f16; --caption: #a3a3a3;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3); --shadow: 0 12px 32px rgba(0, 0, 0, .35); --shadow-lg: 0 28px 64px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

/* ---------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin: 0; font-optical-sizing: auto; }
p { margin: 0; }
::selection { background: color-mix(in srgb, var(--accent) 28%, transparent); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.i { flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
.wrap--narrow { max-width: 780px; }
@media (min-width: 720px) { .wrap { padding-inline: 28px; } }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* ---------- couro e costura */
.leather {
  position: relative; color: var(--leather-ink); isolation: isolate;
  background-color: var(--leather);
  background-image:
    radial-gradient(120% 90% at 12% 0%, rgba(201, 143, 85, .30), transparent 58%),
    radial-gradient(90% 80% at 100% 100%, rgba(122, 37, 48, .38), transparent 60%),
    var(--leather-tex);
  background-blend-mode: normal, normal, soft-light;
  background-size: auto, auto, 260px 260px;
}
.stitch { position: relative; }
.stitch::after {
  content: ""; position: absolute; inset: 9px; pointer-events: none;
  border: 1.5px dashed var(--stitch-color, var(--line-2)); border-radius: calc(var(--r, var(--radius)) - 7px);
}
.leather .stitch::after, .leather.stitch::after { --stitch-color: var(--stitch); }

/* ---------- botões, pílulas, chips */
.btn {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  padding: .82em 1.3em; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: .95rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: var(--accent-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--surface); border-color: var(--accent); color: var(--accent); }
.btn--light { background: #fff4e6; color: #2a1c14; }
.btn--light:hover { background: #fff; }
.btn--outline-light { background: transparent; color: #fff4e6; border-color: rgba(255, 244, 230, .45); }
.btn--outline-light:hover { background: rgba(255, 244, 230, .1); border-color: #fff4e6; }
.btn--small { padding: .6em 1em; font-size: .88rem; }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: transparent; border: 1px solid transparent; cursor: pointer; color: var(--ink);
  transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: var(--surface); border-color: var(--line); }

.pill {
  --c: var(--accent);
  display: inline-flex; align-items: center; gap: .4em; width: fit-content;
  padding: .32em .8em; border-radius: 999px; font: 600 .74rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  color: var(--c); background: color-mix(in srgb, var(--c) 11%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 26%, transparent); text-decoration: none;
}
.pill--estilo, .cat-estilo { --c: var(--oxblood); }
.pill--cuidados, .cat-cuidados { --c: var(--olive); }
.pill--guia, .cat-guia { --c: var(--accent); }
.pill--cultura, .cat-cultura { --c: var(--denim); }
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.chips--wrap { flex-wrap: wrap; overflow: visible; }
.chip {
  display: inline-flex; align-items: center; gap: .55em; flex: none; scroll-snap-align: start;
  padding: .62em 1.05em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-weight: 500; font-size: .92rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), border-color .2s, color .2s;
}
.chip:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.chip-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.chip--term { font-family: var(--display); font-size: 1rem; font-weight: 500; }
.eyebrow {
  --c: var(--accent);
  display: inline-flex; align-items: center; gap: .5em; color: var(--c);
  font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; border-top: 1.5px dashed currentColor; }
.eyebrow--light { --c: var(--caramel); }

/* ---------- cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 34px; height: 34px; color: var(--accent); transition: transform .5s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo-word { font: italic 600 1.62rem/1 var(--display); letter-spacing: -.02em; }
.logo-word--stack { display: grid; font-size: 1.5rem; line-height: .92; }
.logo-word--stack small { font: 700 .56rem/1 var(--sans); font-style: normal; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin: 0 0 3px 1px; }
.logo--light .logo-word--stack small { color: var(--caramel); }
.logo--light { color: var(--leather-ink); }
.logo--light .logo-mark { color: var(--caramel); }
.nav { display: none; margin-left: auto; gap: 4px; align-items: center; }
.nav a {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px;
  font-weight: 500; font-size: .95rem; text-decoration: none; color: var(--ink-2); transition: color .2s, background .2s;
}
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: var(--surface); }
.nav a[aria-current] { box-shadow: inset 0 0 0 1px var(--line); }
.nav-tools { color: var(--accent) !important; }
.header-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav + .header-actions { margin-left: 8px; }
.when-dark { display: none; }
:root[data-theme="dark"] .when-dark { display: inline; }
:root[data-theme="dark"] .when-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .when-dark { display: inline; }
  :root:not([data-theme="light"]) .when-light { display: none; }
}
.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); }
.mobile-nav { display: grid; padding-block: 8px 18px; }
.mobile-nav a {
  display: flex; align-items: center; gap: 10px; padding: 14px 4px; border-bottom: 1px solid var(--line);
  font: 500 1.15rem/1.2 var(--display); text-decoration: none;
}
@media (min-width: 980px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--caramel), var(--accent), var(--oxblood)); }

/* ---------- home: hero */
.hero { overflow: hidden; border-bottom: 1px solid rgba(0, 0, 0, .2); }
.hero::before {
  content: ""; position: absolute; inset: auto 0 0; height: 1px; z-index: -1;
  border-bottom: 1.5px dashed var(--stitch); margin-inline: 16px; bottom: 10px;
}
.hero-inner { display: grid; gap: 44px; padding-block: 56px 72px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 244, 230, .08); border: 1px solid rgba(255, 244, 230, .16);
  font-size: .85rem; letter-spacing: .02em; color: #f3d9b5; animation: rise .8s var(--ease) both;
}
.hero-title {
  margin-top: 22px; font-size: clamp(2.65rem, 6.2vw + .8rem, 5.6rem); line-height: .98; letter-spacing: -.03em;
  font-weight: 600; color: #fff6ea; text-wrap: balance; animation: rise .9s .08s var(--ease) both;
}
.hero-title em { font-style: italic; font-weight: 500; color: var(--caramel); }
:root .hero-title em { color: #e9b47c; }
.hero-text { margin-top: 22px; max-width: 34rem; font-size: 1.12rem; line-height: 1.65; color: #e9dccb; animation: rise .9s .16s var(--ease) both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; animation: rise .9s .24s var(--ease) both; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; font-size: .9rem; color: #d7c3ad; animation: rise .9s .32s var(--ease) both; }
.hero-stats strong { font: 600 1.3rem/1 var(--display); color: #fff6ea; margin-right: 4px; }
.hero-stack { position: relative; display: grid; gap: 14px; animation: rise 1s .2s var(--ease) both; }
.hero-card {
  --r: 20px;
  display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; padding: 12px;
  border-radius: var(--r); background: rgba(255, 248, 238, .07); border: 1px solid rgba(255, 244, 230, .14);
  text-decoration: none; color: #fff6ea; box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
  transition: transform .45s var(--ease), background .3s;
}
.hero-card::after { inset: 6px; --stitch-color: rgba(239, 207, 159, .3); }
.hero-card img { width: 112px; height: 86px; object-fit: cover; border-radius: 12px; }
.hero-card:hover { background: rgba(255, 248, 238, .12); transform: translateY(-3px); }
.hero-card-body { display: grid; gap: 8px; padding-right: 8px; }
.hero-card .pill { --c: #f0c79a; background: rgba(240, 199, 154, .12); border-color: rgba(240, 199, 154, .3); }
.hero-card-title { font: 600 1.08rem/1.22 var(--display); }
@media (min-width: 980px) {
  .hero-inner { grid-template-columns: 1.12fr .88fr; padding-block: 84px 104px; gap: 56px; }
  .hero-stack { height: 470px; }
  .hero-card {
    position: absolute; width: min(400px, 100%); grid-template-columns: 1fr; padding: 12px 12px 18px;
    background: #fbf3e8; color: #2a1c14; border: 0;
    --stitch-color: rgba(154, 74, 28, .32);
  }
  .hero-card::after { --stitch-color: rgba(154, 74, 28, .32); }
  .hero-card img { width: 100%; height: 200px; }
  .hero-card .pill { --c: #9a4a1c; background: rgba(154, 74, 28, .1); border-color: rgba(154, 74, 28, .25); }
  .hero-card-body { padding: 4px 8px 0; }
  .hero-card-title { font-size: 1.2rem; }
  .hero-card:nth-child(1) { right: 10px; top: 0; transform: rotate(3deg); z-index: 1; }
  .hero-card:nth-child(2) { left: 0; top: 120px; transform: rotate(-5deg); z-index: 2; }
  .hero-card:nth-child(3) { right: 34px; top: 236px; transform: rotate(2deg); z-index: 3; }
  .hero-stack:hover .hero-card:nth-child(1) { transform: rotate(6deg) translate(18px, -16px); }
  .hero-stack:hover .hero-card:nth-child(2) { transform: rotate(-8deg) translate(-26px, 0); }
  .hero-stack:hover .hero-card:nth-child(3) { transform: rotate(3deg) translate(20px, 26px); }
  .hero-stack .hero-card:hover { transform: rotate(0) scale(1.04) !important; z-index: 5; background: #fff8ef; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- home: problemas */
.problems { padding-block: 30px 6px; }
.problems-title { font-size: clamp(1.25rem, 1.2vw + 1rem, 1.6rem); margin-bottom: 14px; }
.problems-title span { color: var(--muted); font-weight: 500; font-style: italic; }

/* ---------- seções e cards */
.section { padding-block: 48px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 24px; margin-bottom: 26px; }
.section-head .eyebrow { flex-basis: 100%; }
.section-title { font-size: clamp(1.75rem, 2.2vw + 1rem, 2.6rem); text-wrap: balance; }
.see-all { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); text-decoration: none; }
.see-all:hover { text-decoration: underline; text-underline-offset: 4px; }
.grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.grid-ad { grid-column: 1 / -1; }

.card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.card-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { display: grid; gap: 10px; align-content: start; padding: 18px 20px 20px; flex: 1; }
.card-title { font-size: 1.32rem; line-height: 1.2; text-wrap: balance; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card .pill { position: relative; z-index: 1; }
.card-dek { color: var(--ink-2); font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; color: var(--muted); font-size: .84rem; }
.card--compact .card-dek { -webkit-line-clamp: 2; }

.feature-grid { display: grid; gap: 22px; }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: 1.35fr 1fr; gap: 28px; } }
.feature { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--leather); min-height: 420px; display: grid; box-shadow: var(--shadow); }
.feature-media { position: absolute; inset: 0; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .feature-media img { transform: scale(1.04); }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 13, 9, 0) 25%, rgba(20, 13, 9, .86) 78%); pointer-events: none; }
.feature-body { position: relative; z-index: 1; align-self: end; display: grid; gap: 12px; padding: 28px; color: #fff6ea; max-width: 40rem; }
.feature-body .pill { --c: #f0c79a; }
.feature-title { font-size: clamp(1.7rem, 2vw + 1rem, 2.5rem); text-wrap: balance; }
.feature-title a { text-decoration: none; }
.feature-body p { color: #ead9c6; }
.feature-body .btn--ghost { color: #fff6ea; border-color: rgba(255, 246, 234, .4); width: fit-content; }
.feature-body .btn--ghost:hover { background: rgba(255, 246, 234, .1); color: #fff; }
.feature-side { display: grid; gap: 22px; }
@media (min-width: 640px) and (max-width: 999px) { .feature-side { grid-template-columns: 1fr 1fr; } }

.band { padding-block: 26px; }
.band-inner { --r: var(--radius-lg); border-radius: var(--r); padding: 38px 28px; display: grid; gap: 20px; overflow: hidden; }
.band-copy { display: grid; gap: 14px; max-width: 40rem; }
.band-title { font-size: clamp(1.8rem, 2.5vw + 1rem, 2.9rem); color: #fff6ea; text-wrap: balance; }
.band-copy p { color: #e6d6c3; font-size: 1.04rem; }
.band-copy .btn { width: fit-content; }
.band-art { display: none; color: rgba(240, 199, 154, .55); }
@media (min-width: 860px) {
  .band-inner { grid-template-columns: 1fr auto; padding: 54px 60px; align-items: center; }
  .band-art { display: block; transform: rotate(-8deg); }
  .band-art svg { width: 190px; height: 190px; stroke-width: 1.1; }
}

.facts { padding-block: 26px; }
.facts-card { --r: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 34px 28px 28px; box-shadow: var(--shadow-sm); display: grid; gap: 16px; }
.facts-list { display: grid; }
.fact { grid-area: 1 / 1; font: 500 clamp(1.25rem, 1.4vw + .9rem, 1.85rem)/1.35 var(--display); text-wrap: balance; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.fact.is-active { opacity: 1; transform: none; pointer-events: auto; }
.facts-nav { display: flex; align-items: center; gap: 6px; }
.facts-nav [data-fact-prev] .i { transform: scaleX(-1); }
.facts-count { color: var(--muted); font-size: .85rem; min-width: 3.5em; text-align: center; }
html:not(.js) .fact { opacity: 1; transform: none; grid-area: auto; margin-bottom: 12px; }
html:not(.js) .facts-nav { display: none; }

.split { display: grid; gap: 36px; }
@media (min-width: 1000px) { .split { grid-template-columns: 1.15fr .85fr; align-items: start; gap: 56px; } }
.most { list-style: none; margin: 0; padding: 0; display: grid; }
.most a { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 16px 4px; border-bottom: 1px dashed var(--line-2); text-decoration: none; }
.most li:first-child a { border-top: 1px dashed var(--line-2); }
.most-n { font: italic 500 2.3rem/1 var(--display); color: var(--caramel); }
.most-title { display: block; font: 600 1.18rem/1.25 var(--display); margin-top: 4px; transition: color .2s; }
.most a:hover .most-title { color: var(--accent); }
.row-cat { --c: var(--accent); color: var(--c); font: 600 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.glossary-teaser { --r: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px; display: grid; gap: 14px; }
.teaser-title { font-size: 1.7rem; text-wrap: balance; }
.glossary-teaser .btn { width: fit-content; }

/* ---------- páginas de categoria */
.cat-hero { padding-block: 34px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.cat-title { font-size: clamp(2.1rem, 3.5vw + 1rem, 3.6rem); margin: 16px 0 14px; max-width: 18ch; text-wrap: balance; letter-spacing: -.025em; }
.cat-intro { display: grid; gap: 12px; max-width: 46rem; color: var(--ink-2); font-size: 1.08rem; }
.cat-more { padding-bottom: 56px; display: grid; gap: 10px; color: var(--muted); }

/* ---------- breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .86rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs .sep { opacity: .5; }
.crumbs [aria-current] { max-width: 28ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- artigo */
.article-head { padding-top: 28px; display: grid; gap: 14px; justify-items: start; }
.article-title { font-size: clamp(2.15rem, 3.6vw + 1rem, 3.75rem); line-height: 1.04; letter-spacing: -.028em; text-wrap: balance; max-width: 940px; }
.article-dek { font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 44rem; }
.article-meta { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.article-meta a { color: var(--ink); font-weight: 600; text-decoration: none; }
.meta-time { display: inline-flex; gap: 5px; align-items: center; }
.article-cover { margin: 26px auto 0; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); background: var(--bg-2); box-shadow: var(--shadow); }
.article-cover figcaption, figcaption, .credit { font-size: 12px !important; line-height: 1.45; color: var(--caption) !important; }
.article-cover figcaption { margin-top: 8px; text-align: right; }
figcaption a, .credit a { color: inherit; }
.article-grid { display: grid; gap: 40px; margin-top: 34px; }
@media (min-width: 1080px) { .article-grid { grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; gap: 64px; } }
.article-main { min-width: 0; }
.article-aside { display: none; }
@media (min-width: 1080px) {
  .article-aside { display: grid; gap: 22px; align-content: start; position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; scrollbar-width: none; }
  .toc-mobile { display: none; }
}
.tldr { --r: var(--radius); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px 20px; margin-bottom: 26px; }
.tldr-title { display: flex; align-items: center; gap: 8px; font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.tldr ul { margin: 0; padding-left: 1.15em; display: grid; gap: 6px; }
.tldr li::marker { color: var(--accent); }
.toc-mobile { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 28px; background: var(--surface); }
.toc-mobile summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-weight: 600; cursor: pointer; list-style: none; }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile[open] summary .i { transform: rotate(180deg); }
.toc-mobile ol { margin: 0; padding: 0 18px 16px 38px; display: grid; gap: 8px; font-size: .95rem; }
.toc-mobile a { text-decoration: none; color: var(--ink-2); }
.toc { border-left: 1.5px dashed var(--line-2); padding-left: 18px; }
.toc-title { font: 600 .76rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 26px 1fr; padding: 6px 0; font-size: .9rem; line-height: 1.35; color: var(--muted); text-decoration: none; transition: color .2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font: italic 500 .85rem/1.5 var(--display); color: var(--line-2); transition: color .2s; }
.toc a:hover, .toc a.is-active { color: var(--ink); }
.toc a.is-active::before { color: var(--accent); }
.aside-tool { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-size: .88rem; color: var(--ink-2); transition: border-color .2s, transform .3s var(--ease); }
.aside-tool:hover { border-color: var(--accent); transform: translateY(-2px); }
.aside-tool .i { color: var(--accent); width: 26px; height: 26px; }
.aside-tool strong { display: block; color: var(--ink); font: 600 1.02rem/1.3 var(--display); margin-bottom: 2px; }

/* ---------- prosa */
.prose { font-size: 1.09rem; line-height: 1.78; color: var(--ink); }
@media (min-width: 720px) { .prose { font-size: 1.14rem; } }
.prose > * + * { margin-top: 1.15em; }
.prose > p:first-child::first-letter {
  float: left; font: 600 4.1em/.82 var(--display); color: var(--accent); padding: .06em .1em 0 0; margin-top: .02em;
}
.prose h2 { font-size: clamp(1.6rem, 1.2vw + 1.15rem, 2.1rem); margin-top: 2.1em; line-height: 1.15; text-wrap: balance; }
.prose h2::before { content: ""; display: block; width: 46px; border-top: 2px dashed var(--caramel); margin-bottom: 14px; }
.prose h3 { font-size: 1.32rem; margin-top: 1.7em; line-height: 1.25; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 38%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { font-weight: 650; }
.prose mark { background: linear-gradient(transparent 55%, color-mix(in srgb, var(--caramel) 45%, transparent) 55%); color: inherit; padding: 0 .1em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose li::marker { color: var(--accent); font-weight: 600; }
.prose ul li::marker { content: "◆  "; font-size: .62em; }
.prose figure { margin-inline: 0; }
.figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg-2); }
.figure figcaption { margin-top: 8px; }
.figure figcaption .credit { margin-left: 4px; }
.pullquote { margin: 1.8em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--accent); }
.pullquote p { font: italic 500 clamp(1.35rem, 1vw + 1.1rem, 1.7rem)/1.38 var(--display); color: var(--ink); text-wrap: balance; }
.pullquote cite { display: block; margin-top: 10px; font: normal 500 .9rem/1.4 var(--sans); color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.prose th { text-align: left; font: 600 .78rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { font-weight: 600; }
@media (max-width: 640px) {
  .table-wrap { border: 0; background: none; overflow: visible; }
  .prose table, .prose tbody, .prose tr, .prose td { display: block; }
  .prose thead { display: none; }
  .prose tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 14px; margin-bottom: 12px; }
  .prose td { border-bottom: 1px dashed var(--line); padding: 9px 0; }
  .prose td::before { content: attr(data-label); display: block; font: 600 .72rem/1.3 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .prose td:first-child { font-family: var(--display); font-size: 1.08rem; }
  .prose td:first-child::before { display: none; }
}

.callout { --c: var(--olive); border-radius: var(--radius); padding: 18px 20px; background: color-mix(in srgb, var(--c) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 24%, transparent); font-size: 1rem; line-height: 1.65; }
.callout--atencao { --c: var(--oxblood); }
.callout--sabia { --c: var(--brass); }
.callout--nota { --c: var(--denim); }
.callout-head { display: flex; align-items: center; gap: 8px; color: var(--c); margin-bottom: 6px; font-size: .95rem; }
.callout-head strong { font-weight: 650; }
.callout-body > * + * { margin-top: .7em; }
.callout-body ul, .callout-body ol { padding-left: 1.2em; display: grid; gap: .3em; }

.myth { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.myth-claim { padding: 18px 20px; background: color-mix(in srgb, var(--oxblood) 8%, var(--surface)); border-bottom: 1px dashed var(--line-2); }
.myth-claim p { font: italic 500 1.2rem/1.4 var(--display); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--oxblood) 55%, transparent); text-decoration-thickness: 2px; }
.myth-truth { padding: 18px 20px; font-size: 1rem; line-height: 1.65; }
.myth-truth > * + * { margin-top: .7em; }
.myth-tag { display: inline-block; margin-bottom: 8px; font: 700 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--oxblood); }
.myth-tag--true { color: var(--olive); }

.steps { list-style: none; padding: 0 !important; counter-reset: step; gap: 14px !important; }
.steps > li { counter-increment: step; position: relative; padding: 16px 18px 16px 66px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); line-height: 1.6; }
.steps > li::before {
  content: counter(step); position: absolute; left: 16px; top: 14px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font: italic 600 1.15rem/1 var(--display); color: var(--accent);
  border: 1.5px dashed var(--caramel); background: var(--surface-2);
}
.steps > li::marker { content: none; }

.checklist { list-style: none; padding: 0 !important; gap: 8px !important; }
.checklist li::marker, .prose .checklist li::marker { content: none; }
.checklist label { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); cursor: pointer; line-height: 1.55; transition: border-color .2s, background .2s; }
.checklist label:hover { border-color: var(--line-2); }
.checklist input { appearance: none; -webkit-appearance: none; margin: 2px 0 0; width: 22px; height: 22px; border-radius: 7px; border: 1.5px dashed var(--accent); display: grid; place-items: center; cursor: pointer; background: var(--surface-2); }
.checklist input::after { content: ""; width: 10px; height: 6px; border: 2.5px solid var(--on-accent); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.checklist input:checked { background: var(--accent); border-style: solid; }
.checklist input:checked::after { opacity: 1; }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-2); }

.readnext { display: grid; gap: 8px; padding: 14px; border-radius: var(--radius); background: var(--surface-2); border: 1px dashed var(--line-2); }
.readnext-label { font: 700 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.readnext-link { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; text-decoration: none !important; color: var(--ink) !important; }
.readnext-img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.readnext-title { font: 600 1.12rem/1.3 var(--display); }
.readnext-link:hover .readnext-title { color: var(--accent); }
.readnext-link .i { color: var(--accent); transition: transform .3s var(--ease); }
.readnext-link:hover .i { transform: translateX(4px); }

.faq { display: grid; gap: 10px; }
.faq h2 { margin-bottom: .4em; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.faq-item summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 18px; cursor: pointer; list-style: none; font: 600 1.06rem/1.35 var(--display); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i { color: var(--accent); transition: transform .3s var(--ease); }
.faq-item[open] summary .i { transform: rotate(180deg); }
.faq-a { padding: 0 18px 16px; font-size: 1rem; line-height: 1.7; color: var(--ink-2); }
.faq-a > * + * { margin-top: .7em; }

.widget { --r: var(--radius-lg); }
.diagram { padding: 18px 18px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.diagram svg { width: 100%; height: auto; border-radius: 10px; }
.diagram figcaption { margin-top: 10px; }
.dg-flor { fill: #c98f55; }
.dg-fibra { fill: #7b3d1a; }
.dg-carnal { fill: #3e2a1d; }
.dg-pore { fill: rgba(60, 30, 10, .5); }
.dg-fios { stroke: rgba(255, 230, 200, .25); stroke-width: 2; fill: none; }
.dg-split { stroke: #fff3e3; stroke-width: 2.5; stroke-dasharray: 9 7; }
.dg-label { font: 700 22px var(--sans); letter-spacing: .14em; fill: #2a1c14; }
.dg-label--light { fill: #fff3e3; }
.dg-note { font: italic 600 22px var(--display); fill: #fff3e3; }
.sources { margin-top: 36px; padding-top: 18px; border-top: 1px dashed var(--line-2); font-size: .9rem; color: var(--muted); }
.sources-title { font: 600 .76rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.sources ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.sources a { color: var(--ink-2); }
.article-foot { margin-top: 34px; display: grid; gap: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .85rem; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.share-title { font: 600 1.15rem/1.3 var(--display); margin-top: 8px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-size: .88rem; font-weight: 500; cursor: pointer; transition: border-color .2s, color .2s, transform .2s; }
.share-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.share-native { display: none; }
.can-share .share-native { display: inline-flex; }
.author-box { display: grid; grid-template-columns: 56px 1fr; gap: 16px; margin-top: 30px; padding: 22px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); }
.author-mark .logo-mark { width: 56px; height: 56px; color: var(--accent); }
.author-name { font: 600 1.15rem/1.3 var(--display); color: var(--ink); margin-bottom: 4px; }
.author-box a { color: var(--accent); }
.related { padding-block: 64px 30px; margin-top: 40px; border-top: 1px solid var(--line); }

/* ---------- anúncios */
.ad { margin-block: 2em; text-align: center; }
.ad-label { display: block; font: 600 .66rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.ad--preview .ad-box { display: grid; place-items: center; min-height: 250px; border: 2px dashed color-mix(in srgb, var(--accent) 45%, transparent); border-radius: var(--radius-sm); color: var(--accent); font-size: .85rem; background: repeating-linear-gradient(-45deg, transparent 0 12px, color-mix(in srgb, var(--accent) 5%, transparent) 12px 24px); }
.ad--lateral.ad--preview .ad-box { min-height: 600px; }
.ad--lateral { margin: 0; }

/* ---------- páginas simples e ferramentas */
.page { padding-block: 34px 70px; }
.page-title { font-size: clamp(2.1rem, 3.2vw + 1rem, 3.4rem); letter-spacing: -.025em; text-wrap: balance; margin-bottom: 14px; }
.page-dek { font-size: 1.15rem; color: var(--ink-2); max-width: 46rem; margin-bottom: 26px; line-height: 1.6; }
.page-updated { font-size: .88rem; color: var(--muted); margin: -12px 0 26px; }
.page .prose > p:first-child::first-letter { all: unset; }
.tool-cards { display: grid; gap: 20px; margin-top: 10px; }
@media (min-width: 860px) { .tool-cards { grid-template-columns: repeat(3, 1fr); } }
.tool-card { --r: var(--radius-lg); display: grid; gap: 12px; align-content: start; padding: 30px 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.tool-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tool-card .i { color: var(--accent); }
.tool-card strong { font: 600 1.5rem/1.2 var(--display); }
.tool-card span { color: var(--ink-2); }
.tool-card em { font-style: normal; font-weight: 600; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; }
.tools-more { margin-top: 26px; color: var(--muted); }
.tools-more a { color: var(--accent); }
.tool-app { --r: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 22px; box-shadow: var(--shadow); min-height: 320px; }
@media (min-width: 720px) { .tool-app { padding: 44px 48px; } }
.js .noscript-msg { display: none; }
.tool-notes { margin-top: 48px; max-width: 760px; }
.tool-notes h2::before { display: none; }

/* passos das ferramentas */
.tq-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--muted); font-size: .88rem; }
.tq-bar { height: 6px; border-radius: 99px; background: var(--bg-2); overflow: hidden; margin-bottom: 26px; }
.tq-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--caramel), var(--accent)); border-radius: inherit; transition: width .5s var(--ease); }
.tq-question { font: 600 clamp(1.45rem, 1.4vw + 1rem, 2rem)/1.2 var(--display); margin-bottom: 20px; text-wrap: balance; }
.tq-options { display: grid; gap: 10px; }
@media (min-width: 720px) { .tq-options--2 { grid-template-columns: 1fr 1fr; } }
.tq-option {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; text-align: left; width: 100%;
  padding: 15px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--surface-2);
  cursor: pointer; font-size: 1rem; line-height: 1.4; transition: border-color .2s, background .2s, transform .2s;
}
.tq-option small { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.tq-option:hover { border-color: var(--accent); transform: translateY(-1px); }
.tq-option[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.tq-key { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1.5px dashed var(--caramel); font: italic 600 .95rem/1 var(--display); color: var(--accent); }
.tq-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.tq-fade { animation: rise .45s var(--ease) both; }
.tq-result-head { display: grid; gap: 8px; margin-bottom: 18px; }
.tq-result-title { font: 600 clamp(2rem, 2.5vw + 1rem, 3rem)/1.05 var(--display); letter-spacing: -.02em; }
.tq-result-title em { color: var(--accent); }
.tq-grid { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 760px) { .tq-grid { grid-template-columns: 1fr 1fr; } }
.tq-box { padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); }
.tq-box h3 { font-size: 1.1rem; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.tq-box ul, .tq-box ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; line-height: 1.55; }
.tq-box--do { border-color: color-mix(in srgb, var(--olive) 35%, transparent); }
.tq-box--do h3 { color: var(--olive); }
.tq-box--dont { border-color: color-mix(in srgb, var(--oxblood) 35%, transparent); }
.tq-box--dont h3 { color: var(--oxblood); }
.tq-box--pro h3 { color: var(--denim); }
.tq-severity { --c: var(--olive); display: inline-flex; gap: 6px; align-items: center; width: fit-content; padding: .35em .8em; border-radius: 999px; font: 600 .8rem/1 var(--sans); color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }
.tq-severity--2 { --c: var(--brass); }
.tq-severity--3 { --c: var(--oxblood); }
.tq-note { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--brass) 10%, var(--surface)); font-size: .95rem; line-height: 1.6; }
.tq-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tq-second { color: var(--muted); font-size: .95rem; }

/* widgets no meio dos artigos */
.lt-score { margin-top: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); display: grid; gap: 10px; }
.lt-meter { height: 10px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.lt-meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--oxblood), var(--caramel), var(--olive)); transition: width .5s var(--ease); }
.lt-verdict { font: 600 1.2rem/1.35 var(--display); }
.calc { display: grid; gap: 16px; padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.calc-cols { display: grid; gap: 14px; }
@media (min-width: 640px) { .calc-cols { grid-template-columns: 1fr 1fr; } }
.calc fieldset { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 14px 16px 16px; margin: 0; display: grid; gap: 10px; }
.calc legend { font: 600 1.05rem/1 var(--display); padding: 0 6px; }
.calc label { display: grid; gap: 4px; font-size: .88rem; color: var(--muted); }
.calc input { font: 600 1.05rem/1.2 var(--sans); padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); width: 100%; }
.calc-out { display: grid; gap: 12px; }
@media (min-width: 640px) { .calc-out { grid-template-columns: 1fr 1fr; } }
.calc-res { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface-2); text-align: center; }
.calc-res strong { display: block; font: 600 1.8rem/1.1 var(--display); color: var(--accent); }
.calc-msg { font-size: 1rem; line-height: 1.6; }

/* ---------- glossário */
.glossary-tools { position: sticky; top: 68px; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-block: 12px; display: grid; gap: 10px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.glossary-search { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); max-width: 520px; }
.glossary-search input { flex: 1; border: 0; background: none; padding: 12px 0; font: inherit; color: var(--ink); outline: none; }
.az { display: flex; flex-wrap: wrap; gap: 4px; }
.az a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; text-decoration: none; font: 600 1rem/1 var(--display); color: var(--ink-2); }
.az a:hover { background: var(--surface); color: var(--accent); }
.glossary { display: grid; gap: 10px; }
.letter { display: grid; gap: 12px; padding-block: 14px; scroll-margin-top: 190px; }
.letter-title { font: italic 600 2.6rem/1 var(--display); color: var(--caramel); }
.letter dl { margin: 0; display: grid; gap: 12px; }
@media (min-width: 860px) { .letter dl { grid-template-columns: 1fr 1fr; } }
.term { padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 190px; transition: border-color .3s, box-shadow .3s; }
.term:target { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.term dt { font: 600 1.2rem/1.25 var(--display); margin-bottom: 6px; }
.term dd { margin: 0; color: var(--ink-2); line-height: 1.6; font-size: .97rem; }
.term-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--accent); text-decoration: none; font-size: .9rem; }
.glossary-empty { color: var(--muted); padding: 20px 0; }

/* ---------- busca */
.search { position: fixed; inset: 0; z-index: 80; display: grid; align-items: start; justify-items: center; padding: 10vh 14px 14px; }
.search-backdrop { position: absolute; inset: 0; background: rgba(20, 13, 9, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .25s both; }
.search-panel { position: relative; width: min(640px, 100%); max-height: 78vh; display: grid; grid-template-rows: auto 1fr auto; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; animation: rise .35s var(--ease) both; }
.search-field { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.search-field input { flex: 1; font: 500 1.15rem/1.3 var(--sans); border: 0; outline: none; background: none; color: var(--ink); min-width: 0; }
.kbd { font: 600 .72rem/1 var(--sans); padding: 6px 8px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--muted); cursor: pointer; }
.search-results { list-style: none; margin: 0; padding: 8px; overflow: auto; }
.search-results:empty { display: none; }
.search-results a { display: grid; gap: 3px; padding: 12px 14px; border-radius: 12px; text-decoration: none; }
.search-results a:hover, .search-results [aria-selected="true"] a { background: var(--surface-2); }
.sr-cat { font: 600 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.sr-title { font: 600 1.05rem/1.3 var(--display); }
.sr-desc { font-size: .86rem; color: var(--muted); line-height: 1.45; }
.sr-empty { padding: 18px 14px; color: var(--muted); }
.search-hint { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 12px 18px 16px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.search-hint button { border: 1px solid var(--line); background: var(--surface-2); padding: 4px 10px; border-radius: 999px; cursor: pointer; font-size: .85rem; }
.search-hint button:hover { border-color: var(--accent); color: var(--accent); }
@keyframes fade { from { opacity: 0; } }

/* ---------- consentimento e toast */
.consent { --r: var(--radius); position: fixed; z-index: 70; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 14px; padding: 20px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: .92rem; line-height: 1.55; animation: rise .5s var(--ease) both; }
.consent a { color: var(--accent); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
@media (min-width: 720px) { .consent { left: 20px; right: auto; bottom: 20px; max-width: 520px; } }
.toast { position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 500; font-size: .92rem; box-shadow: var(--shadow-lg); transition: opacity .3s, transform .3s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- rodapé */
.site-footer { margin-top: 30px; padding-top: 56px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; border-top: 1.5px dashed var(--stitch); }
.footer-grid { display: grid; gap: 32px; padding-bottom: 36px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand p { margin-top: 14px; color: #d8c5b0; max-width: 30rem; font-size: .95rem; }
.footer-title { font: 600 .76rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--caramel); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer ul a { text-decoration: none; color: #eadccb; font-size: .95rem; }
.site-footer ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; padding-block: 20px 26px; border-top: 1px solid rgba(255, 244, 230, .12); font-size: .85rem; color: #bfa991; }
.footer-bottom .link-btn { color: #d8c5b0; }

/* ---------- 404 e listas */
.notfound .nf-code { font: italic 600 clamp(5rem, 14vw, 9rem)/1 var(--display); color: var(--caramel); }
.notfound p { margin-bottom: 18px; }
.row-list { display: grid; gap: 10px; margin-top: 28px; }
.row-card { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.row-card img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; }
.row-title { display: block; font: 600 1.05rem/1.3 var(--display); margin-top: 4px; }
.row-card:hover .row-title { color: var(--accent); }

/* ---------- animação ao rolar (só com JS; some sozinha se o JS falhar) */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal:not(.is-visible) { animation: reveal-safety 0s 3s forwards; }
@keyframes reveal-safety { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- impressão (guias de cuidado costumam ir para a geladeira) */
@media print {
  .site-header, .site-footer, .article-aside, .ad, .share, .related, .consent, .search, .toc-mobile, .progress, .author-box { display: none !important; }
  body { background: #fff; color: #000; }
  .article-cover img { max-height: 320px; box-shadow: none; }
  .prose a { color: #000; }
}
