/* Guias Texturize: folha compartilhada, tokens da landing */
:root {
  --bg: #050507; --surface: #0d0d12; --surface2: #161620; --surface3: #141419;
  --border: rgba(255,255,255,0.09); --border-hover: rgba(255,255,255,0.22); --divider: rgba(255,255,255,0.07);
  --accent: #ff0042; --accent-hi: #ff3d6e; --success: #22c55e;
  --text: #f5f5f7; --muted: #a1a1aa; --dim: #6b6b76;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Manrope', sans-serif; line-height: 1.6; }
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent-hi); }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 44px; }
@media (max-width: 760px) { .wrap { padding: 0 20px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: 'Manrope', sans-serif;
       font-weight: 700; cursor: pointer; text-decoration: none; border: 0; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.btn.primary { background: var(--accent); color: #fff; border-radius: 11px; padding: 15px 28px; font-size: 16px; }
.btn.primary:hover { background: var(--accent-hi); color: #fff; }
.btn.secondary { background: var(--surface3); color: var(--text); border: 1px solid rgba(255,255,255,0.14); border-radius: 11px; padding: 15px 28px; font-size: 16px; }
.btn.secondary:hover { border-color: var(--border-hover); color: var(--text); }
.btn.small { border-radius: 9px; padding: 11px 20px; font-size: 14px; }

nav { position: sticky; top: 0; z-index: 50; background: rgba(5,5,7,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--divider); }
.navin { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brandmark { width: 32px; height: 32px; border-radius: 8px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brandmark svg { width: 16px; height: 16px; stroke: #fff; }
.brand .word { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.brand .by { font-size: 12px; color: var(--dim); border-left: 1px solid rgba(255,255,255,0.14); padding-left: 11px; margin-left: 3px; }
.navlinks { display: flex; gap: 24px; }
.navlinks a { color: var(--muted); font-size: 14px; font-weight: 600; }
.navlinks a:hover, .navlinks a.on { color: var(--text); }
.navright { display: flex; align-items: center; gap: 14px; }
@media (max-width: 900px) { .navlinks { display: none; } }

/* artigo */
.crumbs { font-size: 13px; color: var(--dim); margin: 34px 0 26px; }
.crumbs a { color: var(--dim); }
.crumbs a:hover { color: var(--text); }
.crumbs span { margin: 0 7px; }
article { max-width: 760px; margin: 0 auto; padding-bottom: 40px; }
article h1 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -.03em; }
article h1 em { font-style: normal; color: var(--accent); }
.artmeta { display: flex; gap: 14px; align-items: center; color: var(--dim); font-size: 13px; margin: 18px 0 8px; flex-wrap: wrap; }
.artmeta b { color: var(--muted); font-weight: 600; }
article .lead { color: var(--muted); font-size: 18px; line-height: 1.7; margin: 18px 0 0; }
article h2 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 25px; letter-spacing: -.02em; line-height: 1.25; margin: 46px 0 14px; }
article h3 { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 18px; margin: 30px 0 10px; }
article p { color: #cfcfd6; font-size: 16.5px; line-height: 1.75; margin: 14px 0; }
article ul, article ol { color: #cfcfd6; font-size: 16.5px; line-height: 1.75; margin: 14px 0; padding-left: 26px; }
article li { margin: 7px 0; }
article li::marker { color: var(--accent-hi); }
article strong { color: var(--text); }
article code { font-family: Consolas, 'SF Mono', monospace; font-size: 14.5px; background: var(--surface2); border: 1px solid var(--border); border-radius: 6px; padding: 2px 7px; color: #ffd9e2; }
article a.inlink { color: var(--accent-hi); border-bottom: 1px solid rgba(255,61,110,.35); }
article a.inlink:hover { border-color: var(--accent-hi); }

.conbox { background: #08080b; border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin: 20px 0; overflow-x: auto; }
.conbox pre { font-family: Consolas, 'SF Mono', monospace; font-size: 13px; line-height: 1.8; color: #8b8b96; white-space: pre; }
.conbox .warn { color: #ff3d6e; }
.conbox .ok { color: var(--success); }

.tip { border: 1px solid rgba(255,0,66,.28); background: rgba(255,0,66,.06); border-radius: 12px; padding: 18px 20px; margin: 22px 0; }
.tip p { margin: 0; font-size: 15.5px; }
.tip b { color: var(--text); }

table.dt { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
table.dt th { text-align: left; color: var(--dim); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; padding: 10px 12px; border-bottom: 1px solid var(--border); }
table.dt td { padding: 11px 12px; border-bottom: 1px solid var(--divider); color: #cfcfd6; }
table.dt td b { color: var(--text); }
table.dt .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tblwrap { overflow-x: auto; }

.ctapanel { display: flex; align-items: center; justify-content: space-between; gap: 26px; background: linear-gradient(120deg, rgba(255,0,66,.14), rgba(255,0,66,.04) 55%), var(--surface); border: 1px solid rgba(255,0,66,.3); border-radius: 18px; padding: 34px 38px; margin: 52px 0 26px; flex-wrap: wrap; }
.ctapanel h2 { font-family: 'Sora', sans-serif; font-size: 24px; margin: 0 0 8px; }
.ctapanel p { color: var(--muted); margin: 0; font-size: 15.5px; }
.ctapanel .note { font-size: 13px; color: var(--dim); margin-top: 10px; }

.more { border-top: 1px solid var(--divider); margin-top: 30px; padding-top: 26px; }
.more h2 { font-family: 'Sora', sans-serif; font-size: 18px; margin: 0 0 16px; }
.more a { display: block; color: var(--muted); font-size: 15px; font-weight: 600; padding: 8px 0; }
.more a:hover { color: var(--accent-hi); }

/* hub */
.hubhead { max-width: 760px; margin: 44px auto 10px; }
.hubhead h1 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -.03em; }
.hubhead h1 em { font-style: normal; color: var(--accent); }
.hubhead p { color: var(--muted); font-size: 17px; margin-top: 16px; line-height: 1.7; }
.hubgrid { max-width: 760px; margin: 34px auto 60px; display: grid; gap: 16px; }
.gcard { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px 26px; transition: border-color .18s ease; }
.gcard:hover { border-color: var(--border-hover); color: inherit; }
.gcard h2 { font-family: 'Sora', sans-serif; font-size: 20px; margin: 0 0 8px; }
.gcard p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.65; }
.gcard .tag { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--accent-hi); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }

footer { border-top: 1px solid var(--divider); padding: 34px 0; margin-top: 30px; }
.footin { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: var(--dim); font-size: 13px; }
.fb { display: flex; align-items: center; gap: 9px; }
.fb .mini { width: 22px; height: 22px; border-radius: 6px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.fb .mini svg { width: 11px; height: 11px; stroke: #fff; }
.fb b { color: var(--text); }
.footlinks { display: flex; gap: 18px; flex-wrap: wrap; }
.footlinks a { color: var(--dim); }
.footlinks a:hover { color: var(--text); }

/* FAQ dos guias */
.faq { margin: 36px 0 0; }
.faq details { border: 1px solid var(--border, rgba(255,255,255,.1)); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; background: rgba(255,255,255,.02); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted, #a0a0ab); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { color: var(--muted, #a0a0ab); padding: 0 0 16px; line-height: 1.65; }
/* hub em trilhas e faixa de ferramentas */
.hubsec { margin-top: 34px; }
.hubsec h2 { font-size: 20px; margin: 0 0 14px; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.tools a { border: 1px solid var(--border, rgba(255,255,255,.12)); border-radius: 10px; padding: 10px 14px; color: var(--text, #f4f4f6); text-decoration: none; font-weight: 600; font-size: 14px; }
.tools a:hover { border-color: var(--brand, #ff0042); }
/* passo a passo numerado */
.passos { counter-reset: passo; list-style: none; padding: 0; margin: 18px 0; }
.passos li { counter-increment: passo; position: relative; padding: 0 0 14px 44px; }
.passos li::before { content: counter(passo, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: Sora, sans-serif; font-weight: 800; color: var(--brand, #ff0042); font-size: 14px; }
.passos li b { display: block; margin-bottom: 2px; }

.gcard h3 { font-family: 'Sora', sans-serif; font-size: 20px; margin: 0 0 8px; }
