:root {
    --ink: #0a0a0a;
    --ink-soft: #141414;
    --paper: #f4f3ef;
    --paper-2: #e8e6df;
    --white: #ffffff;
    --yellow: #ffbd18;
    --yellow-hot: #ffd14a;
    --yellow-soft: #f5e4b8;
    --gray: #8c8c85;
    --ease: cubic-bezier(.16,1,.3,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
::selection { color: var(--ink); background: var(--yellow); }
img { max-width: 100%; }
.display { font-family: "Archivo Black", sans-serif; text-transform: uppercase; letter-spacing: -.055em; line-height: .91; }
.container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--yellow); font: 500 11px/1 "IBM Plex Mono", monospace; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.brand-accent { color: var(--yellow); }
.brand-domain { color: var(--white); }

.header { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 66px; padding: 12px clamp(22px, 4.5vw, 72px); color: var(--white); background: rgba(10,10,10,.9); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: inset 0 -1px 0 rgba(255,255,255,.08); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; border-radius: 11px; transition: transform .35s var(--ease), box-shadow .35s; }
.brand:hover img { transform: scale(1.08) rotate(-3deg); box-shadow: 0 0 26px rgba(255,189,24,.5); }
.brand-word { font: 400 21px/1 "Archivo Black", sans-serif; letter-spacing: -.06em; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 24px); }
.nav-links { display: flex; align-items: center; gap: 2px; padding: 5px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(12,12,12,.55); }
.nav-links a { padding: 11px 15px; border-radius: 999px; color: rgba(255,255,255,.78); font: 500 11px/1 "IBM Plex Mono", monospace; letter-spacing: .09em; text-transform: uppercase; transition: color .25s, background .25s; }
.nav-links a:hover { color: var(--white); }
.nav-links a.is-active { color: var(--yellow); background: rgba(255,189,24,.1); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 2px; cursor: pointer; font: 700 12px/1 "DM Sans", sans-serif; letter-spacing: .04em; transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .35s; }
.button:hover { transform: translateY(-2px); }
.button--yellow { color: var(--ink); background: var(--yellow); }
.button--yellow:hover { background: var(--yellow-hot); }
.button--star { position: relative; overflow: hidden; color: var(--white); border: 1px solid rgba(255,189,24,.4); background: #131313; }
.button--star::before, .button--star::after { content: ""; position: absolute; width: 240%; height: 46%; pointer-events: none; opacity: .85; background: radial-gradient(circle, var(--yellow), transparent 11%); }
.button--star::before { top: -21%; left: -120%; animation: star-top 5.6s linear infinite alternate; }
.button--star::after { bottom: -21%; right: -120%; animation: star-bottom 5.6s linear infinite alternate; }
@keyframes star-top { to { transform: translateX(100%); } }
@keyframes star-bottom { to { transform: translateX(-100%); } }
.button--star:hover { border-color: var(--yellow); box-shadow: 0 0 30px rgba(255,189,24,.35); }
.shiny { background: linear-gradient(115deg, var(--yellow) 38%, #fff6d8 50%, var(--yellow) 62%); background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: shine-sweep 3.6s linear infinite; }
@keyframes shine-sweep { from { background-position: 130% 0; } to { background-position: -130% 0; } }

.guia-topo { padding: 150px 0 80px; color: var(--white); background: radial-gradient(120% 90% at 85% 0%, rgba(255,189,24,.16), transparent 55%), var(--ink); }
.migalhas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; color: #8f8f88; font: 500 11px/1.4 "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.migalhas a:hover { color: var(--yellow); }
.guia-topo h1 { max-width: 1000px; margin: 22px 0 0; font-size: clamp(38px, 6vw, 84px); }
.guia-lead { max-width: 720px; margin: 30px 0 0; color: #cfcec7; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; }
.guia-data { margin: 26px 0 0; color: #77776f; font: 500 11px/1 "IBM Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }

.guia { padding: 90px 0 40px; }
.guia-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 70px; justify-content: center; }
.guia-layout:not(:has(.sumario)) { grid-template-columns: minmax(0, 760px); }
.sumario { position: sticky; top: 96px; align-self: start; display: grid; gap: 4px; padding-left: 16px; border-left: 2px solid var(--paper-2); font-size: 14px; }
.sumario span { margin-bottom: 10px; color: var(--gray); font: 500 10px/1 "IBM Plex Mono", monospace; letter-spacing: .14em; text-transform: uppercase; }
.sumario a { padding: 6px 0; color: #55554f; line-height: 1.35; }
.sumario a:hover { color: var(--ink); }
.guia-texto { font-size: 18px; line-height: 1.75; color: #2a2a27; }
.guia-texto h2 { margin: 64px 0 18px; color: var(--ink); font: 400 clamp(26px, 2.6vw, 34px)/1.1 "Archivo Black", sans-serif; letter-spacing: -.035em; }
.guia-texto h2:first-child { margin-top: 0; }
.guia-texto h3 { margin: 34px 0 10px; color: var(--ink); font-size: 19px; }
.guia-texto p { margin: 0 0 18px; }
.guia-texto ul, .guia-texto ol { margin: 0 0 22px; padding-left: 22px; }
.guia-texto li { margin-bottom: 10px; padding-left: 4px; }
.guia-texto li::marker { color: #b08000; font-weight: 700; }
.guia-texto a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.guia-texto a:hover { background: var(--yellow-soft); }
.guia-texto strong { color: var(--ink); }
.aviso { margin: 34px 0; padding: 24px 26px; border-left: 4px solid var(--yellow); background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.aviso strong { display: block; margin-bottom: 6px; font-size: 17px; }
.aviso p { margin: 0; font-size: 16px; line-height: 1.65; }
.conta { margin: 26px 0 28px; padding: 26px; color: var(--white); background: var(--ink); }
.conta figcaption { margin-bottom: 16px; color: var(--yellow); font: 500 11px/1 "IBM Plex Mono", monospace; letter-spacing: .14em; text-transform: uppercase; }
.conta table { width: 100%; border-collapse: collapse; font-size: 16px; }
.conta th, .conta td { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); text-align: left; font-weight: 400; }
.conta td { text-align: right; font-family: "IBM Plex Mono", monospace; }
.conta tr:last-child th, .conta tr:last-child td { color: var(--yellow); font-weight: 700; border-bottom: 0; }
.conta-nota { margin: 14px 0 0 !important; color: #9b9b94; font-size: 13px; line-height: 1.5; }

.section-title { margin: 0; font-size: clamp(34px, 4.4vw, 60px); }
.faq { padding: 90px 0; background: var(--paper); }
.faq-list { --faq-gutter: max(24px, calc((100% - 1240px) / 2)); margin-top: 48px; border-top: 1px solid #c9c7be; }
.faq-item { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid #c9c7be; }
.faq-item::before, .faq-item::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left center; transition: transform .65s var(--ease); }
.faq-item::before { background: var(--yellow); }
.faq-item::after { background: var(--ink); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px var(--faq-gutter); cursor: pointer; list-style: none; font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; transition: color .4s; }
.faq summary::-webkit-details-marker { display: none; }
.faq-q { transition: transform .55s var(--ease); }
.faq-icon { position: relative; flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid rgba(10,10,10,.28); border-radius: 50%; transition: background .4s, border-color .4s, transform .6s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: #80620f; }
.faq-icon::after { transform: rotate(90deg); }
@media (hover: hover) {
    .faq-item:hover::before { transform: scaleX(1); }
    .faq-item:hover .faq-q { transform: translateX(14px); }
    .faq-item:hover .faq-icon { background: var(--ink); border-color: var(--ink); transform: rotate(90deg); }
    .faq-item:hover .faq-icon::before, .faq-item:hover .faq-icon::after { background: var(--yellow); }
}
.faq-item[open]::after { transform: scaleX(1); }
.faq-item[open] summary { color: var(--white); }
.faq-item[open] .faq-icon { background: var(--yellow); border-color: var(--yellow); transform: rotate(135deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--ink); }
.faq-a p { max-width: 760px; margin: 0 var(--faq-gutter); padding: 0 0 30px; color: #c4c3bc; font-size: 17px; line-height: 1.7; }

.relacionados { padding: 90px 0; background: var(--paper-2); }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.rel-card { display: flex; flex-direction: column; gap: 16px; min-height: 220px; padding: 28px; background: var(--white); transition: transform .35s var(--ease), box-shadow .35s; }
.rel-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.rel-tag { color: #8a6a10; font: 500 10px/1 "IBM Plex Mono", monospace; letter-spacing: .14em; text-transform: uppercase; }
.rel-card strong { font-size: 20px; line-height: 1.3; }
.rel-ir { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-size: 13px; font-weight: 700; }

.guia-cta { padding: 90px 0; background: var(--paper); }
.cta-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; padding: clamp(36px, 6vw, 80px); color: var(--white); background: radial-gradient(90% 120% at 100% 100%, rgba(255,189,24,.18), transparent 60%), var(--ink); }
.cta-panel h2 { margin: 0; font-size: clamp(34px, 5vw, 70px); }
.cta-panel p { max-width: 560px; margin: 0; color: #c4c3bc; font-size: 18px; line-height: 1.65; }

.footer { padding: 80px 0 30px; color: #aaa9a2; background: #050505; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr .6fr; gap: 70px; }
.footer-grid--4 { grid-template-columns: 1.3fr .7fr .6fr .6fr; gap: 50px; }
.footer .brand { color: var(--white); }
.footer-about { max-width: 480px; margin-top: 24px; line-height: 1.65; }
.footer h3 { margin: 0 0 22px; color: var(--white); font-size: 13px; }
.footer-links { display: grid; gap: 14px; font-size: 14px; }
.footer-links a:hover { color: var(--yellow); }
.legal { margin-top: 68px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.09); color: #686863; font: 400 10px/1.7 "IBM Plex Mono", monospace; }
.copyright { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; color: #60605b; font-size: 12px; }
.mobile-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 120; display: none; box-shadow: 0 12px 30px rgba(0,0,0,.3); }

@media (max-width: 1100px) {
    .nav-links { display: none; }
}
@media (max-width: 980px) {
    .guia-layout { grid-template-columns: minmax(0, 760px); gap: 40px; }
    .sumario { position: static; }
    .rel-grid { grid-template-columns: 1fr; }
    .rel-card { min-height: 0; }
    .footer-grid, .footer-grid--4 { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
    .container { width: min(100% - 32px, 1240px); }
    .header { min-height: 64px; padding: 10px 16px; }
    .brand img { width: 36px; height: 36px; }
    .brand-word { font-size: 18px; }
    .nav .button { display: none; }
    .guia-topo { padding: 120px 0 56px; }
    .guia { padding: 56px 0 20px; }
    .guia-texto { font-size: 17px; }
    .faq-list { --faq-gutter: 16px; }
    .faq summary { padding-block: 22px; font-size: 17px; }
    .faq-icon { width: 38px; height: 38px; }
    .footer { padding-bottom: 110px; }
    .footer-grid, .footer-grid--4 { grid-template-columns: 1fr; gap: 40px; }
    .footer-brand { grid-column: auto; }
    .copyright { flex-direction: column; }
    .mobile-cta { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
