/* ==========================================================================
   Bonus630 — styles.css
   Direção: "Manual técnico retro de software de design"
   Papel milimetrado + janelas de aplicação com bevel 90s reimaginado.
   Paleta (spec): carbono #15181A · verde terminal #4FAE53 · verde lima
   #B9E48A · papel #EFF3EE · âmbar #F5A623 — dominância invertida (claro).
   Fontes: Black Ops One (display) · Kulim Park (texto) · Martel Sans (UI).
   Queries de mídia ONLY no responsive.css.
   ========================================================================== */

:root {
    --carbon: #15181A;
    --carbon-hi: #23282C;
    --carbon-lo: #0C0E10;
    --verde: #4FAE53;
    --verde-hi: #67C46B;
    --lima: #B9E48A;
    --papel: #EFF3EE;
    --papel-hi: #F7FAF5;
    --ambar: #F5A623;
    --ambar-hi: #FFC35C;
    --ink: #15181A;
    --ink-70: rgba(21, 24, 26, .72);
    --ink-50: rgba(21, 24, 26, .52);
    --line: rgba(21, 24, 26, .16);
    --grid-minor: rgba(21, 24, 26, .045);
    --grid-major: rgba(21, 24, 26, .085);
    --shadow-hard: 6px 6px 0 rgba(21, 24, 26, .16);
    --shadow-hard-sm: 3px 3px 0 rgba(21, 24, 26, .14);
    --bevel-hi: rgba(255, 255, 255, .9);
    --bevel-lo: rgba(21, 24, 26, .26);
    --bevel-dark-hi: rgba(255, 255, 255, .14);
    --bevel-dark-lo: rgba(0, 0, 0, .6);
    --font-display: "Black Ops One", "Kulim Park", sans-serif;
    --font-body: "Kulim Park", "Martel Sans", sans-serif;
    --font-ui: "Martel Sans", "Kulim Park", sans-serif;
    --header-h: 66px;
}

/* ---------- Base ---------- */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    background-color: var(--papel);
    background-image:
        linear-gradient(var(--grid-minor) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px),
        linear-gradient(var(--grid-major) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-major) 1px, transparent 1px);
    background-size: 8px 8px, 8px 8px, 40px 40px, 40px 40px;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--verde); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: var(--lima); color: var(--carbon-lo); }

:focus-visible { outline: 2px solid var(--ambar); outline-offset: 2px; }

.container { width: min(1120px, 92%); margin-inline: auto; }
.container.narrow { width: min(860px, 92%); }

h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(23px, 3vw, 34px);
    line-height: 1.16;
    letter-spacing: .4px;
    text-transform: uppercase;
    margin: 6px 0 14px;
}

h2::before {
    content: attr(data-cap);
    display: block;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--ambar);
    margin-bottom: 6px;
}

h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.section-intro { color: var(--ink-70); max-width: 62ch; margin-bottom: 30px; }

section { padding: clamp(44px, 6vw, 78px) 0; }

/* capítulos numerados como manual técnico */
.categories h2::before { content: "capítulo 01"; }
.automation h2::before { content: "capítulo 02"; }
.library h2::before { content: "capítulo 03"; }
.articles h2::before { content: "capítulo 04"; }
.community h2::before { content: "capítulo 05"; }
.faq h2::before { content: "capítulo 06"; }
.testimonials h2::before { content: "capítulo 07"; }

/* ---------- Eyebrow (chip de status) ---------- */

.eyebrow {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--carbon);
    background: rgba(245, 166, 35, .16);
    border: 1.5px solid var(--ambar);
    box-shadow: 2px 2px 0 rgba(21, 24, 26, .18);
    padding: 5px 12px 4px;
    margin-bottom: 16px;
}

.eyebrow::before { content: "▪ "; color: var(--ambar); }

/* ---------- Header: barra de ferramentas ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--carbon);
    border-bottom: 3px solid var(--carbon-lo);
    box-shadow: inset 0 -1px 0 var(--bevel-dark-hi), 0 3px 0 rgba(21, 24, 26, .22);
    transition: box-shadow .25s ease;
}

.site-header.is-scrolled {
    box-shadow: inset 0 -1px 0 var(--bevel-dark-hi), 0 8px 22px rgba(12, 14, 16, .45);
}

.header-inner {
    width: min(1200px, 96%);
    margin-inline: auto;
    min-height: var(--header-h);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-self: start;
    text-decoration: none;
}

.brand-mark {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--lima);
    background: var(--carbon-lo);
    border: 1.5px solid rgba(185, 228, 138, .55);
    box-shadow:
        inset 1px 1px 0 var(--bevel-dark-hi),
        inset -1px -1px 0 var(--bevel-dark-lo);
    padding: 5px 8px 3px;
}

.brand-name {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: .5px;
    color: var(--papel-hi);
    text-transform: lowercase;
}

.brand-name .accent { color: var(--lima); }

/* toolbox central: abas-nav + CTA no CENTRO (não canto direito) */
.toolbox {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav { display: flex; align-items: center; gap: 2px; }

.nav a {
    font-family: var(--font-ui);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: rgba(239, 243, 238, .82);
    text-decoration: none;
    padding: 9px 11px;
    border: 1.5px solid transparent;
}

.nav a:hover {
    color: var(--ambar-hi);
    border-color: rgba(245, 166, 35, .5);
    background: var(--carbon-hi);
    box-shadow: inset 1px 1px 0 var(--bevel-dark-hi);
    text-decoration: none;
}

.nav a.nav-blog { color: var(--lima); }
.nav a.nav-blog:hover { color: var(--papel-hi); }

.header-cta {
    font-family: var(--font-ui);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--carbon-lo);
    background: var(--verde);
    border: 1.5px solid var(--carbon-lo);
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, .45),
        inset -1px -1px 0 rgba(12, 14, 16, .4),
        3px 3px 0 rgba(12, 14, 16, .55);
    padding: 10px 16px;
    text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease;
}

.header-cta:hover {
    background: var(--verde-hi);
    transform: translate(1px, 1px);
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, .45),
        inset -1px -1px 0 rgba(12, 14, 16, .4),
        2px 2px 0 rgba(12, 14, 16, .55);
}

/* leitor de coordenadas decorativo (célula direita) */
.coords {
    justify-self: end;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--lima);
    opacity: .75;
    border: 1px solid rgba(185, 228, 138, .35);
    padding: 4px 10px;
    background: var(--carbon-lo);
}

.menu-toggle {
    display: none;
    background: var(--carbon-hi);
    border: 1.5px solid var(--carbon-lo);
    box-shadow: inset 1px 1px 0 var(--bevel-dark-hi);
    width: 42px;
    height: 38px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--lima);
    transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Janela de aplicação (hero) ---------- */

.hero { padding-top: clamp(26px, 4vw, 52px); }

.app-window {
    width: min(1200px, 96%);
    margin-inline: auto;
    background: var(--papel-hi);
    border: 2px solid var(--ink);
    box-shadow:
        inset 1px 1px 0 var(--bevel-hi),
        inset -1px -1px 0 var(--bevel-lo),
        var(--shadow-hard);
}

.win-titlebar {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--carbon);
    border-bottom: 2px solid var(--carbon-lo);
    padding: 9px 14px;
}

.dots { display: inline-flex; gap: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; box-shadow: inset -1px -1px 1px rgba(0, 0, 0, .35); }
.dot-r { background: #E85D5D; }
.dot-y { background: var(--ambar); }
.dot-g { background: var(--verde); }

.win-title {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: var(--lima);
    text-transform: lowercase;
}

.win-menu {
    margin-left: auto;
    font-family: var(--font-ui);
    font-size: 10.5px;
    letter-spacing: 1.2px;
    color: rgba(239, 243, 238, .55);
    text-transform: uppercase;
}

.win-statusbar {
    display: flex;
    gap: 0;
    background: var(--carbon);
    border-top: 2px solid var(--carbon-lo);
}

.win-statusbar span {
    font-family: var(--font-ui);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(239, 243, 238, .72);
    padding: 6px 14px;
    border-right: 1px solid rgba(255, 255, 255, .12);
}

.win-statusbar .st-ready { color: var(--lima); }
.win-statusbar .st-ready::before { content: "● "; color: var(--verde); }

.hero-grid {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: clamp(24px, 3.5vw, 44px);
    padding: clamp(24px, 3.5vw, 42px);
    align-items: center;
}

.hero-copy h1 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(30px, 4.3vw, 52px);
    line-height: 1.1;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hl {
    background: linear-gradient(transparent 55%, var(--lima) 55%);
    padding: 0 2px;
}

.lead { color: var(--ink-70); max-width: 54ch; margin-bottom: 24px; }

.btn {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 13px 22px 12px;
    border: 1.5px solid var(--carbon-lo);
    text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease;
}

.btn-solid {
    color: var(--carbon-lo);
    background: var(--verde);
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, .45),
        inset -1px -1px 0 rgba(12, 14, 16, .4),
        var(--shadow-hard-sm);
}

.btn-solid:hover {
    background: var(--verde-hi);
    transform: translate(1px, 1px);
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .45), inset -1px -1px 0 rgba(12, 14, 16, .4), 2px 2px 0 rgba(21, 24, 26, .14);
    text-decoration: none;
}

.btn-ghost {
    color: var(--ink);
    background: var(--papel-hi);
    box-shadow:
        inset 1px 1px 0 var(--bevel-hi),
        inset -1px -1px 0 var(--bevel-lo),
        var(--shadow-hard-sm);
}

.btn-ghost:hover {
    transform: translate(1px, 1px);
    box-shadow: inset 1px 1px 0 var(--bevel-hi), inset -1px -1px 0 var(--bevel-lo), 2px 2px 0 rgba(21, 24, 26, .14);
    text-decoration: none;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero-badges { list-style: none; }

.hero-badges li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--ink-70);
    padding: 5px 0;
}

.hero-badges li::before,
.contact-list li::before {
    content: "✓";
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    margin-top: 4px;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    color: var(--verde);
    background: var(--papel-hi);
    border: 1.5px solid var(--ink);
    box-shadow: 1px 1px 0 rgba(21, 24, 26, .3);
}

/* área de desenho: régua + seleção marching ants */
.hero-canvas {
    border: 2px solid var(--ink);
    background:
        linear-gradient(var(--grid-minor) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px),
        var(--papel);
    background-size: 8px 8px, 8px 8px;
    box-shadow: inset 2px 2px 0 var(--bevel-lo), inset -2px -2px 0 var(--bevel-hi);
    padding: 0 12px 12px;
    cursor: crosshair;
}

.ruler-h {
    display: flex;
    justify-content: space-between;
    height: 20px;
    border-bottom: 1.5px solid var(--ink-50);
    background:
        repeating-linear-gradient(90deg, var(--ink-50) 0 1px, transparent 1px 8px) left bottom / 100% 5px no-repeat,
        repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 40px) left bottom / 100% 9px no-repeat;
    margin-bottom: 14px;
}

.ruler-h span {
    font-family: var(--font-ui);
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: .5px;
    color: var(--ink-50);
    padding-top: 1px;
}

.canvas-art { position: relative; }

.sel {
    position: absolute;
    inset: 10px;
    pointer-events: none;
    background:
        repeating-linear-gradient(90deg, var(--verde) 0 7px, transparent 7px 14px) top left / 14px 2px repeat-x,
        repeating-linear-gradient(90deg, var(--verde) 0 7px, transparent 7px 14px) bottom left / 14px 2px repeat-x,
        repeating-linear-gradient(0deg, var(--verde) 0 7px, transparent 7px 14px) top left / 2px 14px repeat-y,
        repeating-linear-gradient(0deg, var(--verde) 0 7px, transparent 7px 14px) top right / 2px 14px repeat-y;
    animation: march 0.9s linear infinite;
}

@keyframes march {
    to {
        background-position:
            14px 0, -14px 0,
            0 -14px, 0 14px;
    }
}

.handle {
    position: absolute;
    width: 9px;
    height: 9px;
    background: var(--papel-hi);
    border: 1.5px solid var(--ink);
    box-shadow: 1px 1px 0 rgba(21, 24, 26, .4);
    pointer-events: none;
}

.h-tl { top: 5px; left: 5px; cursor: nwse-resize; }
.h-tr { top: 5px; right: 5px; cursor: nesw-resize; }
.h-bl { bottom: 5px; left: 5px; cursor: nesw-resize; }
.h-br { bottom: 5px; right: 5px; cursor: nwse-resize; }

.crosshair {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 26px;
    height: 26px;
    pointer-events: none;
    opacity: .9;
}

.crosshair::before,
.crosshair::after {
    content: "";
    position: absolute;
    background: var(--ambar);
}

.crosshair::before { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.crosshair::after { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }

.canvas-status {
    font-family: var(--font-ui);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--ink-50);
    border-top: 1.5px dashed var(--line);
    padding-top: 8px;
    margin-top: 12px;
}

/* ---------- Folhas (sheets) ---------- */

.sheet {
    position: relative;
    background: var(--papel-hi);
    border: 2px solid var(--ink);
    box-shadow:
        inset 1px 1px 0 var(--bevel-hi),
        inset -1px -1px 0 var(--bevel-lo),
        var(--shadow-hard);
}

.sheet-tab {
    position: absolute;
    top: -16px;
    left: 22px;
    font-family: var(--font-ui);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--carbon-lo);
    background: var(--lima);
    border: 1.5px solid var(--ink);
    border-bottom: none;
    padding: 5px 14px 6px;
}

/* ---------- Sobre ---------- */

.about { padding-top: clamp(52px, 7vw, 90px); }

.about-sheet { padding: clamp(24px, 4vw, 46px) clamp(20px, 4vw, 48px); }

.about-grid {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: clamp(22px, 4vw, 48px);
    align-items: start;
}

.about-photo {
    border: 2px solid var(--ink);
    padding: 10px 10px 34px;
    background: var(--papel-hi);
    box-shadow: var(--shadow-hard);
    transform: rotate(-1.2deg);
}

.about-photo img { border: 1.5px solid var(--line); }

.about-photo::after {
    content: "img_0147.cdr";
    display: block;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--ink-50);
    margin-top: 9px;
}

.about-copy p { margin-bottom: 14px; color: var(--ink-70); }
.about-copy p:first-of-type { margin-top: 6px; }

.about-copy a,
.automation-text a,
.community-copy a {
    color: var(--carbon);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--verde);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.about-copy a:hover,
.automation-text a:hover,
.community-copy a:hover { text-decoration-color: var(--ambar); }

/* ---------- Categorias: capítulos da apostila ---------- */

.categories { padding-top: clamp(52px, 7vw, 90px); }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 34px;
}

.card {
    position: relative;
    background: var(--papel-hi);
    border: 2px solid var(--ink);
    box-shadow:
        inset 1px 1px 0 var(--bevel-hi),
        inset -1px -1px 0 var(--bevel-lo),
        var(--shadow-hard);
    margin-top: 16px;
    display: flex;
    flex-direction: column;
}

.chapter-tab {
    position: absolute;
    top: -17px;
    right: 16px;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--carbon-lo);
    background: var(--ambar);
    border: 1.5px solid var(--ink);
    box-shadow: 2px 2px 0 rgba(21, 24, 26, .3);
    padding: 5px 13px 4px;
}

.holes {
    position: absolute;
    top: 26px;
    left: 10px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--papel);
    border: 1.5px solid var(--line);
    box-shadow: inset 1px 1px 1px rgba(21, 24, 26, .25);
}

.holes::before,
.holes::after {
    content: "";
    position: absolute;
    left: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--papel);
    border: 1.5px solid var(--line);
    box-shadow: inset 1px 1px 1px rgba(21, 24, 26, .25);
}

.holes::before { top: 64px; }
.holes::after { top: 128px; }

.card-media { border-bottom: 2px solid var(--ink); }

.card-media img { width: 100%; object-fit: cover; }

.card-body { padding: 22px 22px 24px 34px; flex: 1; }

.tag {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-70);
    background: var(--papel);
    border: 1.5px solid var(--ink-50);
    box-shadow: inset 1px 1px 0 var(--bevel-hi);
    padding: 3px 22px 2px 9px;
    margin-bottom: 12px;
    position: relative;
}

.tag::after {
    content: "▾";
    position: absolute;
    right: 7px;
    top: 2px;
    color: var(--ambar);
}

.card-body > p { color: var(--ink-70); font-size: 15.5px; margin-bottom: 12px; }

.card-body ul { list-style: none; margin-top: 6px; }

.card-body li {
    font-size: 14.5px;
    color: var(--ink-70);
    padding: 4px 0 4px 18px;
    position: relative;
    border-bottom: 1px dashed var(--line);
}

.card-body li::before {
    content: "▪";
    position: absolute;
    left: 2px;
    color: var(--verde);
}

/* ---------- Automação: antes/depois ---------- */

.automation { padding-top: clamp(52px, 7vw, 90px); }

.automation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin: 26px 0 30px;
}

.shot {
    background: var(--papel-hi);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-hard);
    display: flex;
    flex-direction: column;
}

.shot-label {
    order: -1;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 14px 7px;
    border-bottom: 2px solid var(--ink);
}

.label-antes { background: var(--ambar); color: var(--carbon-lo); }
.label-depois { background: var(--verde); color: var(--carbon-lo); }

.shot img { width: 100%; }

.automation-text { padding: clamp(20px, 3vw, 34px) clamp(20px, 3.5vw, 38px); }

.automation-text p { color: var(--ink-70); margin-bottom: 14px; }
.automation-text p:last-child { margin-bottom: 0; }

/* ---------- Biblioteca: paleta de ferramentas ---------- */

.library { padding-top: clamp(52px, 7vw, 90px); }

.palette {
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    max-width: 100%;
    background: var(--carbon);
    border: 2px solid var(--carbon-lo);
    box-shadow: inset 1px 1px 0 var(--bevel-dark-hi), var(--shadow-hard);
    padding: 10px 14px;
    margin: 4px auto 30px;
}

.palette-grip {
    width: 12px;
    align-self: stretch;
    background:
        radial-gradient(circle 2px at 50% 30%, rgba(239, 243, 238, .5) 98%, transparent),
        radial-gradient(circle 2px at 50% 70%, rgba(239, 243, 238, .5) 98%, transparent);
    border-right: 1px solid rgba(255, 255, 255, .12);
    margin-right: 4px;
}

.tabs { display: flex; gap: 6px; }

.tab {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(239, 243, 238, .85);
    background: var(--carbon-hi);
    border: 1.5px solid var(--carbon-lo);
    box-shadow: inset 1px 1px 0 var(--bevel-dark-hi), inset -1px -1px 0 var(--bevel-dark-lo);
    padding: 10px 20px 9px;
    cursor: pointer;
}

.tab:hover { color: var(--ambar-hi); }

.tab.is-active {
    background: var(--papel-hi);
    color: var(--ink);
    box-shadow: inset 1px 1px 0 var(--bevel-hi);
    border-bottom: 3px solid var(--verde);
}

.tab-panel {
    background: var(--papel-hi);
    border: 2px solid var(--ink);
    box-shadow: inset 1px 1px 0 var(--bevel-hi), inset -1px -1px 0 var(--bevel-lo), var(--shadow-hard);
    padding: clamp(20px, 3vw, 34px) clamp(18px, 3.5vw, 38px);
}

.tab-panel[hidden] { display: none; }

.tab-panel > p { color: var(--ink-70); max-width: 68ch; margin-bottom: 18px; }

.entry-list { list-style: none; }

.entry-list li {
    display: grid;
    grid-template-columns: minmax(200px, 260px) 1fr;
    gap: 16px;
    align-items: baseline;
    padding: 11px 10px;
    border-bottom: 1.5px dashed var(--line);
    transition: background .15s ease;
}

.entry-list li:hover { background: rgba(185, 228, 138, .22); }

.entry-name {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .4px;
    color: var(--ink);
}

.entry-name::before { content: "▪ "; color: var(--verde); }

.entry-desc { font-size: 14.5px; color: var(--ink-50); }

/* ---------- Artigos: changelog ---------- */

.articles { padding-top: clamp(52px, 7vw, 90px); }

.article-list { list-style: none; display: grid; gap: 18px; margin-top: 26px; }

.article-row {
    display: grid;
    grid-template-columns: 128px 1fr;
    gap: 22px;
    align-items: start;
    background: var(--papel-hi);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-hard-sm);
    padding: 20px 22px;
    border-left: 6px solid var(--verde);
    transition: transform .15s ease, box-shadow .15s ease;
}

.article-row:hover {
    transform: translate(3px, 0);
    box-shadow: 1px 3px 0 rgba(21, 24, 26, .14);
}

.article-date {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-align: center;
    color: var(--ink);
    background: var(--papel);
    border: 2px solid var(--ambar);
    padding: 6px 4px;
    transform: rotate(-2deg);
    box-shadow: 2px 2px 0 rgba(21, 24, 26, .18);
}

.article-body h3 { margin-bottom: 4px; font-size: 18px; }
.article-body p { color: var(--ink-70); font-size: 15px; }

/* ---------- Comunidade: IDE escura ---------- */

.community { padding-top: clamp(52px, 7vw, 90px); }

.community-grid {
    display: grid;
    grid-template-columns: 1.06fr .94fr;
    gap: 34px;
    align-items: start;
    margin-top: 26px;
}

.community-copy { padding: clamp(24px, 3.5vw, 38px) clamp(20px, 3.5vw, 38px); }

.community-copy p { color: var(--ink-70); margin-bottom: 14px; }

.community-stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 22px;
}

.community-stats li {
    background: var(--papel);
    border: 1.5px solid var(--ink);
    box-shadow: inset 1px 1px 0 var(--bevel-hi), 2px 2px 0 rgba(21, 24, 26, .18);
    padding: 14px 12px 12px;
    text-align: center;
}

.community-stats strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 30px;
    color: var(--verde);
    line-height: 1;
    margin-bottom: 6px;
}

.community-stats span {
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--ink-50);
}

.code-window {
    background: var(--carbon);
    border: 2px solid var(--carbon-lo);
    box-shadow: inset 1px 1px 0 var(--bevel-dark-hi), var(--shadow-hard);
}

.code-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-ui);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: var(--lima);
    background: var(--carbon-hi);
    border-bottom: 2px solid var(--carbon-lo);
    padding: 9px 14px;
}

.code-window pre {
    background:
        repeating-linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px) 0 0 / 100% 1.9em,
        var(--carbon-lo);
    padding: 20px 18px;
    overflow-x: auto;
}

.code-window code {
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.9;
    letter-spacing: .3px;
    color: var(--lima);
    white-space: pre;
}

.code-window .c { color: rgba(185, 228, 138, .45); }

.code-foot {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.btn-copy {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--carbon-lo);
    background: var(--verde);
    border: 1.5px solid var(--carbon-lo);
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .4), 2px 2px 0 rgba(0, 0, 0, .5);
    padding: 9px 16px 8px;
    cursor: pointer;
}

.btn-copy:hover { background: var(--verde-hi); }

.copy-feedback {
    font-family: var(--font-ui);
    font-size: 11.5px;
    letter-spacing: 1px;
    color: var(--lima);
}

/* ---------- FAQ: tópicos de ajuda ---------- */

.faq { padding-top: clamp(52px, 7vw, 90px); }

.accordion { margin-top: 24px; display: grid; gap: 12px; }

.accordion-item {
    background: var(--papel-hi);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-hard-sm);
}

.accordion-item:hover { border-color: var(--ambar); }

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 16.5px;
    font-weight: 600;
    text-align: left;
    color: var(--ink);
    padding: 17px 20px;
}

.acc-icon {
    flex: none;
    position: relative;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--ink);
    background: var(--papel);
    box-shadow: 1px 1px 0 rgba(21, 24, 26, .3);
    transition: transform .2s ease;
}

.acc-icon::before,
.acc-icon::after {
    content: "";
    position: absolute;
    background: var(--ink);
}

.acc-icon::before { left: 3px; right: 3px; top: 50%; height: 2px; transform: translateY(-50%); }
.acc-icon::after { top: 3px; bottom: 3px; left: 50%; width: 2px; transform: translateX(-50%); }

.accordion-trigger[aria-expanded="true"] .acc-icon {
    transform: rotate(45deg);
    border-color: var(--ambar);
}

.accordion-panel {
    border-top: 1.5px dashed var(--line);
    padding: 6px 20px 20px;
}

.accordion-panel p { color: var(--ink-70); font-size: 15.5px; }

/* ---------- Depoimentos: formulários ---------- */

.testimonials { padding-top: clamp(52px, 7vw, 90px); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 26px;
}

.testimonial {
    background: var(--papel-hi);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-hard);
    display: flex;
    flex-direction: column;
}

.t-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--carbon);
    border-bottom: 2px solid var(--carbon-lo);
    padding: 8px 14px;
}

.stars {
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--ambar-hi);
}

.t-form {
    font-family: var(--font-ui);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(239, 243, 238, .55);
}

.testimonial blockquote { padding: 20px 20px 8px; position: relative; }

.testimonial blockquote::before {
    content: "“";
    position: absolute;
    top: 4px;
    left: 10px;
    font-family: var(--font-display);
    font-size: 44px;
    line-height: 1;
    color: var(--lima);
}

.testimonial blockquote p {
    font-size: 15.5px;
    color: var(--ink-70);
    position: relative;
    z-index: 1;
}

.testimonial figcaption {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: auto;
    padding: 14px 20px 18px;
    border-top: 1.5px dashed var(--line);
}

.testimonial figcaption img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border: 2px solid var(--ink);
    box-shadow: 2px 2px 0 rgba(21, 24, 26, .3);
}

.testimonial figcaption strong {
    display: block;
    font-family: var(--font-ui);
    font-size: 14px;
    letter-spacing: .4px;
}

.testimonial figcaption small {
    display: block;
    font-size: 12.5px;
    color: var(--ink-50);
    line-height: 1.45;
}

/* ---------- Contato: janela suporte.exe ---------- */

.contact { padding-top: clamp(52px, 7vw, 90px); }

.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 34px;
    align-items: start;
    margin-top: 26px;
}

.contact-copy { padding: clamp(26px, 4vw, 42px) clamp(20px, 3.5vw, 40px); }

.contact-copy > p { color: var(--ink-70); margin: 8px 0 18px; }

.contact-list { list-style: none; }

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--ink-70);
    padding: 5px 0;
}

.contact-card {
    background: var(--papel-hi);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-hard);
}

.win-titlebar.mini { padding: 7px 12px; }

.contact-card-body { padding: 24px 24px 28px; }

.contact-card h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 22px;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.contact-card address { font-style: normal; margin-bottom: 14px; }

.contact-card address p {
    font-family: var(--font-ui);
    font-size: 13px;
    letter-spacing: .6px;
    color: var(--ink-70);
    padding: 3px 0 3px 22px;
    position: relative;
}

.contact-card address p::before {
    content: "▸";
    position: absolute;
    left: 4px;
    color: var(--verde);
}

.contact-note {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .6px;
    color: var(--carbon-lo);
    background: var(--lima);
    border: 1.5px solid var(--ink);
    box-shadow: inset 1px 1px 0 var(--bevel-hi), 2px 2px 0 rgba(21, 24, 26, .2);
    padding: 7px 14px;
    margin-bottom: 18px;
}

.contact-links { list-style: none; border-top: 1.5px dashed var(--line); padding-top: 14px; }

.contact-links li {
    font-size: 14px;
    color: var(--ink-70);
    padding: 4px 0 4px 18px;
    position: relative;
}

.contact-links li::before { content: "▪"; position: absolute; left: 2px; color: var(--ambar); }

/* ---------- Footer: barra de status ---------- */

.site-footer {
    background: var(--carbon);
    border-top: 3px solid var(--verde);
    box-shadow: inset 0 1px 0 var(--bevel-dark-hi);
    margin-top: clamp(48px, 7vw, 90px);
    padding: clamp(36px, 5vw, 56px) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr .85fr 1.15fr;
    gap: clamp(24px, 4vw, 48px);
    padding-bottom: 30px;
}

.footer-brand strong {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 1px;
    color: var(--papel-hi);
    text-transform: lowercase;
    display: inline-block;
    margin-bottom: 10px;
}

.footer-brand .accent { color: var(--lima); }

.footer-brand p {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(239, 243, 238, .66);
    max-width: 34ch;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav a {
    font-family: var(--font-ui);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: rgba(239, 243, 238, .78);
    text-decoration: none;
}

.footer-nav a::before { content: "▸ "; color: var(--verde); }
.footer-nav a:hover { color: var(--lima); }

.footer-authority { display: flex; flex-direction: column; gap: 8px; }

.footer-authority a {
    font-size: 12.5px;
    color: rgba(239, 243, 238, .6);
    text-decoration: underline dotted rgba(185, 228, 138, .5);
    text-underline-offset: 3px;
}

.footer-authority a:hover { color: var(--ambar-hi); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 13px 0 15px;
}

.footer-bottom p {
    font-family: var(--font-ui);
    font-size: 11px;
    letter-spacing: 1.2px;
    color: rgba(239, 243, 238, .5);
}

.footer-ready {
    font-weight: 700;
    color: var(--lima);
    animation: blink 2.4s steps(2, start) infinite;
}

@keyframes blink { 50% { opacity: .35; } }

/* ---------- WhatsApp flutuante ---------- */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--verde);
    border: 2px solid var(--carbon-lo);
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .4), 3px 3px 0 rgba(12, 14, 16, .5);
    color: var(--carbon-lo);
    text-decoration: none;
    padding: 13px;
    border-radius: 8px;
    transition: gap .2s ease;
}

.whatsapp-float:hover { gap: 8px; text-decoration: none; }

.wa-icon {
    display: block;
    width: 24px;
    height: 24px;
    background: var(--carbon-lo) center / 17px 17px no-repeat;
    border-radius: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234FAE53'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm5.4 14.1c-.2.7-1.3 1.3-1.9 1.3-.5.1-1.1.1-1.8-.1a10 10 0 0 1-4.1-2.6 10.7 10.7 0 0 1-2.2-3.3c-.3-.8-.2-1.5.1-2 .2-.4.6-.9 1-1 .3-.2.7-.2 1 .1.2.3.8 1.5.9 1.7.1.2.1.4 0 .6l-.4.6c-.2.2-.3.4-.1.7.5.9 1.2 1.7 2 2.3.5.4 1.1.8 1.7 1 .3.1.5.1.7-.1l.7-.8c.2-.2.4-.2.6-.1l1.8.9c.2.1.3.2.3.5 0 .2 0 .7-.1 1Z'/%3E%3C/svg%3E");
}

.wa-label {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width .25s ease;
}

.whatsapp-float:hover .wa-label { max-width: 90px; }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
