/* ServersDesktop — guia editorial de infraestrutura doméstica
   CSS puro, sem framework. Mobile-first. */

:root {
  --rosa: #FF0066;
  --rosa-escuro: #C80050;
  --rosa-suave: #FFE4EF;
  --rosa-tinta: #FFF4F8;
  --ink: #1C1823;
  --ink-2: #3E3846;
  --muted: #6B6472;
  --bg: #FFFFFF;
  --bg-soft: #FAF7F9;
  --bg-code: #221C28;
  --line: #E9E2E7;
  --line-2: #D6CCD3;
  --ok: #0F7B4B;
  --ok-bg: #E6F6EE;
  --aviso: #8A5A00;
  --aviso-bg: #FFF4D6;
  --risco: #B4002F;
  --risco-bg: #FFE6EB;
  --info: #0B5A8A;
  --info-bg: #E5F1FA;
  --radius: 14px;
  --radius-s: 8px;
  --shadow: 0 1px 2px rgba(28,24,35,.06), 0 8px 24px rgba(28,24,35,.06);
  --font-title: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Consolas", "Liberation Mono", Menlo, monospace;
  --maxw: 1140px;
  --readw: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--rosa-escuro); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--rosa); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--rosa); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.1; letter-spacing: .005em; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); font-weight: 700; margin-top: 1.8em; }
h3 { font-size: clamp(1.35rem, 2.6vw, 1.65rem); font-weight: 700; margin-top: 1.4em; }
h4 { font-size: 1.2rem; font-weight: 700; margin-top: 1.2em; }
p, ul, ol, dl, table, figure, pre, blockquote { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: .35em; }
strong { font-weight: 600; }
small, .small { font-size: .9rem; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--rosa); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-s); z-index: 1000; font-weight: 600; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.read { max-width: var(--readw); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 32px; width: auto; display: block; }
.nav-toggle { display: inline-flex; align-items: center; gap: .5rem; background: none; border: 1px solid var(--line-2); border-radius: var(--radius-s); padding: .45rem .7rem; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; flex-wrap: wrap; }
.site-nav a { display: block; padding: .5rem .75rem; border-radius: var(--radius-s); text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .98rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--rosa-suave); color: var(--rosa-escuro); }
.site-nav a.cta { background: var(--rosa); color: #fff; font-weight: 600; }
.site-nav a.cta:hover { background: var(--rosa-escuro); color: #fff; }

@media (max-width: 860px) {
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: .6rem 16px 1rem; }
  .site-nav a { padding: .7rem .75rem; font-size: 1.05rem; }
  body:not(.js) .site-nav { display: block; position: static; box-shadow: none; }
  body:not(.js) .nav-toggle { display: none; }
}
@media (min-width: 861px) { .nav-toggle { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem 1.2rem; border-radius: 999px; background: var(--rosa); color: #fff; text-decoration: none; font-weight: 600; border: 2px solid var(--rosa); cursor: pointer; font: inherit; font-weight: 600; line-height: 1.2; transition: background .15s, color .15s, transform .15s; }
.btn:hover { background: var(--rosa-escuro); border-color: var(--rosa-escuro); color: #fff; }
.btn.ghost { background: transparent; color: var(--rosa-escuro); }
.btn.ghost:hover { background: var(--rosa-suave); }
.btn.neutral { background: var(--ink); border-color: var(--ink); }
.btn.neutral:hover { background: #000; border-color: #000; }
.btn.small { padding: .45rem .9rem; font-size: .92rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.2rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 3rem); background: radial-gradient(1200px 500px at 85% -10%, var(--rosa-suave), transparent 60%), var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero .container { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .hero .container { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { margin-bottom: .4em; }
.hero .lead { font-size: 1.2rem; color: var(--ink-2); max-width: 36em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.kicker { display: inline-block; font-family: var(--font-title); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--rosa); font-size: .95rem; margin-bottom: .6rem; }
.hero-art { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }

/* ---------- Sections ---------- */
.section { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: .3rem 0 0; color: var(--muted); max-width: 48em; }

.grid { display: grid; gap: 1rem; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.3rem; box-shadow: 0 1px 2px rgba(28,24,35,.04); display: flex; flex-direction: column; gap: .5rem; position: relative; transition: border-color .15s, transform .15s, box-shadow .15s; }
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card h3 { margin: .2rem 0 0; font-size: 1.35rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:hover { color: var(--rosa-escuro); }
.card p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.card .meta { margin-top: auto; padding-top: .5rem; display: flex; flex-wrap: wrap; gap: .4rem .7rem; align-items: center; font-size: .86rem; color: var(--muted); }
.card.num { padding-top: 1.5rem; }
.card .step-n { position: absolute; top: -14px; left: 1.1rem; width: 30px; height: 30px; border-radius: 50%; background: var(--rosa); color: #fff; font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; display: grid; place-items: center; }
.card.category { gap: .35rem; }
.card.category .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--rosa-suave); display: grid; place-items: center; color: var(--rosa-escuro); margin-bottom: .3rem; }
.card.category .icon svg { width: 24px; height: 24px; }
.card.category .count { font-size: .86rem; color: var(--muted); }
.card.objective { text-align: left; }
.card.objective .icon { width: 48px; height: 48px; border-radius: 50%; background: var(--rosa); color: #fff; display: grid; place-items: center; }
.card.objective .icon svg { width: 24px; height: 24px; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .01em; line-height: 1.5; border: 1px solid transparent; white-space: nowrap; }
.badge.cat { background: var(--rosa-suave); color: var(--rosa-escuro); }
.badge.iniciante { background: var(--ok-bg); color: var(--ok); }
.badge.intermediario { background: var(--aviso-bg); color: var(--aviso); }
.badge.avancado { background: var(--risco-bg); color: var(--risco); }
.badge.lido { background: var(--info-bg); color: var(--info); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .9rem; color: var(--muted); margin: 1.2rem 0 .8rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.breadcrumbs li + li::before { content: "›"; margin: 0 .4rem; color: var(--line-2); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--rosa-escuro); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink-2); }

/* ---------- Article (guia) ---------- */
.article-head { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1.8rem; }
.article-head .meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; color: var(--muted); font-size: .92rem; margin-top: .8rem; }
.article-head .lead { font-size: 1.18rem; color: var(--ink-2); margin-top: .8rem; }
.article { font-size: 1.0625rem; }
.article > h2 { scroll-margin-top: 84px; padding-top: .2em; }
.article > h3 { scroll-margin-top: 84px; }
.article p { max-width: 70ch; }
.article li { max-width: 68ch; }

.ficha { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.4rem 0; }
.ficha dl { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0; }
.ficha dt { font-weight: 600; color: var(--ink-2); }
.ficha dd { margin: 0; }
@media (max-width: 520px) { .ficha dl { grid-template-columns: 1fr; gap: .1rem; } .ficha dd { margin-bottom: .5rem; } }

.toc { border: 1px solid var(--line); border-left: 4px solid var(--rosa); border-radius: var(--radius-s); padding: .9rem 1.1rem; margin: 1.4rem 0 2rem; background: #fff; }
.toc strong { display: block; font-family: var(--font-title); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4rem; }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 1; }
@media (min-width: 700px) { .toc ol { columns: 2; column-gap: 2rem; } }
.toc li { break-inside: avoid; margin-bottom: .25rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Callouts */
.callout { border-radius: var(--radius-s); padding: 1rem 1.1rem 1rem 3.1rem; margin: 1.4rem 0; position: relative; border: 1px solid; }
.callout::before { position: absolute; left: 1rem; top: 1rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .95rem; font-family: var(--font-title); }
.callout > :last-child { margin-bottom: 0; }
.callout strong:first-child { display: block; margin-bottom: .2rem; }
.callout.dica { background: var(--ok-bg); border-color: #BFE7D0; }
.callout.dica::before { content: "✓"; background: var(--ok); color: #fff; }
.callout.aviso { background: var(--aviso-bg); border-color: #F1DB9E; }
.callout.aviso::before { content: "!"; background: var(--aviso); color: #fff; }
.callout.risco { background: var(--risco-bg); border-color: #F5B9C6; }
.callout.risco::before { content: "!"; background: var(--risco); color: #fff; }
.callout.info { background: var(--info-bg); border-color: #B8D8EE; }
.callout.info::before { content: "i"; background: var(--info); color: #fff; }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.2rem 0 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-s); }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .95rem; margin: 0; }
caption { caption-side: top; text-align: left; font-weight: 600; padding: .7rem .9rem; color: var(--ink-2); background: var(--bg-soft); border-bottom: 1px solid var(--line); }
th, td { padding: .6rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--bg-soft); font-weight: 600; color: var(--ink-2); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: #FDFBFC; }

/* Code */
code { font-family: var(--font-mono); font-size: .9em; background: var(--rosa-tinta); border: 1px solid var(--line); border-radius: 5px; padding: .08em .35em; color: var(--ink); }
pre { background: var(--bg-code); color: #F4EEF2; border-radius: var(--radius-s); padding: 1rem 1.1rem; overflow-x: auto; font-size: .9rem; line-height: 1.55; margin: 1.2rem 0 1.5rem; }
pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.cmd { position: relative; }
.cmd .cmd-label { position: absolute; top: .45rem; right: .7rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #B8A9B3; }
.cmd pre { padding-top: 1.6rem; }
kbd { font-family: var(--font-mono); font-size: .85em; background: #fff; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; padding: .05em .4em; }

/* Figures & diagrams */
figure { margin: 1.5rem 0 1.8rem; }
figure.diagram { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
figure.diagram svg { display: block; width: 100%; height: auto; font-family: var(--font-body); }
figcaption { font-size: .9rem; color: var(--muted); margin-top: .7rem; text-align: center; }
.diagram .node { fill: #fff; stroke: var(--line-2); stroke-width: 1.5; }
.diagram .node.hl { fill: var(--rosa-suave); stroke: var(--rosa); }
.diagram .label { font-size: 13px; fill: var(--ink); }
.diagram .label.small { font-size: 11px; fill: var(--muted); }
.diagram .edge { stroke: var(--line-2); stroke-width: 2; fill: none; }
.diagram .edge.hl { stroke: var(--rosa); }
.diagram .arrow { fill: var(--line-2); }
.diagram .arrow.hl { fill: var(--rosa); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 1.4rem 0; counter-reset: step; }
.steps > li { position: relative; padding-left: 3rem; margin-bottom: 1.1rem; counter-increment: step; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: .05rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--rosa); color: #fff; font-family: var(--font-title); font-weight: 700; font-size: 1.15rem; display: grid; place-items: center; }
.steps > li > strong:first-child { display: block; margin-bottom: .2rem; font-size: 1.05rem; }

/* Glossary */
.glossario { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin: 1.6rem 0; }
.glossario h2, .glossario h3 { margin-top: 0; }
.glossario dl { margin: 0; }
.glossario dt { font-weight: 700; margin-top: .7rem; color: var(--ink); }
.glossario dd { margin: .1rem 0 0; color: var(--ink-2); }

/* Errors / FAQ expanders */
details.expander { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0; margin-bottom: .6rem; background: #fff; }
details.expander summary { cursor: pointer; padding: .8rem 1rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
details.expander summary::-webkit-details-marker { display: none; }
details.expander summary::after { content: "+"; font-family: var(--font-title); font-size: 1.4rem; color: var(--rosa); line-height: 1; }
details.expander[open] summary::after { content: "–"; }
details.expander .expander-body { padding: 0 1rem 1rem; }
details.expander .expander-body > :last-child { margin-bottom: 0; }

/* Next steps */
.next-steps { margin: 2.2rem 0 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.next-steps h2 { margin-top: 0; }
.prereq { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .8rem 0 0; }
.prereq a { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-size: .9rem; color: var(--ink-2); background: #fff; }
.prereq a:hover { border-color: var(--rosa); color: var(--rosa-escuro); }
.article-foot { margin-top: 2.2rem; padding: 1.2rem 1.3rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); font-size: .95rem; color: var(--ink-2); }
.article-foot p { margin: 0 0 .5rem; }
.article-foot p:last-child { margin: 0; }
.fontes { font-size: .92rem; }
.fontes li { margin-bottom: .3rem; }

/* Mark as read */
.mark-read { display: inline-flex; align-items: center; gap: .5rem; margin: 1rem 0 0; font-size: .95rem; }
.mark-read input { width: 1.15rem; height: 1.15rem; accent-color: var(--rosa); }

/* ---------- Guides index: search & filters ---------- */
.filters { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; margin: 1.2rem 0 1.6rem; display: grid; gap: .8rem; }
@media (min-width: 760px) { .filters { grid-template-columns: 1.6fr 1fr 1fr auto; align-items: end; } }
.filters label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: .25rem; }
.filters input[type="search"], .filters select { width: 100%; font: inherit; padding: .6rem .8rem; border: 1px solid var(--line-2); border-radius: var(--radius-s); background: #fff; color: var(--ink); }
.filters .count { font-size: .9rem; color: var(--muted); align-self: center; }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.guide-list li.is-hidden { display: none; }
.empty { display: none; padding: 1.4rem; border: 1px dashed var(--line-2); border-radius: var(--radius); text-align: center; color: var(--muted); }
.empty.is-visible { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 1.2rem; }
.chips a, .chips button { font: inherit; font-size: .9rem; padding: .35rem .85rem; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); text-decoration: none; cursor: pointer; }
.chips a:hover, .chips button:hover, .chips a[aria-current="page"], .chips button[aria-pressed="true"] { border-color: var(--rosa); background: var(--rosa-suave); color: var(--rosa-escuro); }

/* ---------- Navegador por objetivo ---------- */
.wizard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.3rem; margin: 1.4rem 0 2rem; }
.wizard fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; }
.wizard legend { font-family: var(--font-title); font-size: 1.4rem; font-weight: 700; margin-bottom: .6rem; }
.wizard legend .n { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--rosa); color: #fff; font-size: .8em; margin-right: .4em; }
.choice-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.choice { position: relative; display: block; border: 2px solid var(--line); border-radius: var(--radius-s); padding: .8rem .9rem .8rem 2.5rem; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.choice input { position: absolute; left: .9rem; top: 1rem; accent-color: var(--rosa); width: 1.05rem; height: 1.05rem; }
.choice strong { display: block; font-weight: 600; }
.choice span { display: block; font-size: .86rem; color: var(--muted); margin-top: .15rem; }
.choice:hover { border-color: var(--line-2); }
.choice:has(input:checked) { border-color: var(--rosa); background: var(--rosa-tinta); }
.choice:has(input:focus-visible) { outline: 3px solid var(--rosa); outline-offset: 2px; }
.wizard-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }

.trail { margin-top: 2rem; }
.trail-head { background: var(--rosa-tinta); border: 1px solid #FFC2DA; border-radius: var(--radius); padding: 1.2rem 1.3rem; margin-bottom: 1.4rem; }
.trail-head h2 { margin: 0 0 .3rem; }
.trail-head .meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; color: var(--ink-2); font-size: .95rem; margin-top: .6rem; }
.trail-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.trail-list li { display: grid; grid-template-columns: 2.4rem 1fr; gap: .8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.trail-list .n { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--rosa); color: #fff; font-family: var(--font-title); font-weight: 700; font-size: 1.2rem; display: grid; place-items: center; }
.trail-list li.optional .n { background: #fff; color: var(--rosa-escuro); border: 2px solid var(--rosa); }
.trail-list h3 { margin: .1rem 0 .2rem; font-size: 1.3rem; }
.trail-list h3 a { text-decoration: none; color: inherit; }
.trail-list h3 a:hover { color: var(--rosa-escuro); }
.trail-list p { margin: 0 0 .4rem; font-size: .96rem; color: var(--ink-2); }
.trail-list .why { font-size: .9rem; color: var(--muted); }
.trail-list .meta { display: flex; flex-wrap: wrap; gap: .4rem .8rem; font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.trail-notes { margin-top: 1.4rem; }
.trail-share { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.trail-share input { flex: 1 1 220px; font: inherit; font-size: .9rem; padding: .55rem .7rem; border: 1px solid var(--line-2); border-radius: var(--radius-s); color: var(--muted); }

/* ---------- Checklists ---------- */
.checklist { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin-bottom: 1.4rem; }
.checklist header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1rem; align-items: center; margin-bottom: .6rem; }
.checklist header h2, .checklist header h3 { margin: 0; }
.checklist .progress { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--muted); }
.checklist progress { width: 140px; height: 10px; accent-color: var(--rosa); }
.checklist ul { list-style: none; padding: 0; margin: .4rem 0 0; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; padding: .55rem 0; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; }
.checklist input[type="checkbox"] { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--rosa); }
.checklist label { cursor: pointer; }
.checklist li.is-done label { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-2); }
.checklist .item-note { display: block; font-size: .86rem; color: var(--muted); margin-top: .1rem; }
.checklist .tools { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.checklist .phase { font-family: var(--font-title); text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; color: var(--rosa-escuro); margin: .9rem 0 .2rem; font-weight: 700; }

/* ---------- Institutional ---------- */
.prose { max-width: var(--readw); }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.contact-grid { display: grid; gap: 1.2rem; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.form-row { margin-bottom: 1rem; }
.form-row label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .95rem; }
.form-row input, .form-row select, .form-row textarea { width: 100%; font: inherit; padding: .65rem .8rem; border: 1px solid var(--line-2); border-radius: var(--radius-s); background: #fff; color: var(--ink); }
.form-row textarea { min-height: 150px; resize: vertical; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 3rem; background: var(--ink); color: #D9D2D7; padding: 2.5rem 0 1.5rem; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--rosa); text-decoration: underline; }
.site-footer .cols { display: grid; gap: 1.6rem; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.1rem; color: #fff; margin-bottom: .6rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer .brand img { height: 28px; filter: brightness(0) invert(1); }
.site-footer .bottom { border-top: 1px solid #3B3443; margin-top: 2rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .86rem; color: #A89FA6; }

/* 404 */
.notfound { text-align: center; padding: 4rem 0; }
.notfound h1 { font-size: clamp(3rem, 10vw, 6rem); color: var(--rosa); }

/* Print */
@media print {
  .site-header, .site-footer, .nav-toggle, .mark-read, .breadcrumbs, .next-steps, .trail-share { display: none !important; }
  body { font-size: 11pt; color: #000; }
  a { color: #000; text-decoration: none; }
  pre { background: #eee; color: #000; }
}
