/* ============================================================
   Kryden Pages — design system comercial
   Replica fielmente o site kryden.com.br (E:\KrydenSystems):
   tokens oklch, shell de sidebar, grade técnica fina,
   botões shadcn, cards com barra de acento. Rajdhani + Inter.
   ============================================================ */

:root {
    --background: oklch(0.196 0 0);
    --foreground: oklch(0.961 0 0);
    --card: oklch(0.294 0 0);
    --card-highlight: oklch(0.38 0 0);
    --secondary: oklch(0.392 0 0);
    --muted-foreground: oklch(0.71 0 0);
    --text-muted: oklch(0.478 0 0);
    --border: oklch(0.392 0 0);
    --accent: oklch(0.85 0.15 95);
    --accent-foreground: oklch(0.196 0 0);
    --black-base: oklch(0.098 0 0);

    --radius: 8px;
    --radius-md: 6px;
    --font-head: "Rajdhani", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; }

/* Grade técnica fina (igual ao site: oklch(0.392 0 0 / 0.12), 6px, máscara radial) */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(oklch(0.392 0 0 / 0.12) 1px, transparent 1px),
        linear-gradient(90deg, oklch(0.392 0 0 / 0.12) 1px, transparent 1px);
    background-size: 6px 6px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, #000 55%, transparent 100%);
}

/* ---------- Sidebar (desktop) ---------- */
.sidebar {
    position: relative;
    z-index: 20;
    width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
    background: color-mix(in oklch, var(--card) 40%, transparent);
    backdrop-filter: blur(6px);
}
.sidebar-logo {
    height: 80px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    border-bottom: 1px solid color-mix(in oklch, var(--border) 40%, transparent);
}
.sidebar-logo img { height: 26px; display: block; }
.sidebar-logo .sub {
    font-family: var(--font-head); font-weight: 600; font-size: .72rem;
    letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
    border-left: 1px solid color-mix(in oklch, var(--border) 70%, transparent); padding-left: 10px;
}
.side-nav { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.nav-item {
    position: relative;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: .875rem; font-weight: 500;
    color: var(--muted-foreground);
    transition: background .15s ease, color .15s ease;
}
.nav-item:hover { background: color-mix(in oklch, var(--secondary) 40%, transparent); color: var(--foreground); }
.nav-item.active { background: color-mix(in oklch, var(--secondary) 60%, transparent); color: var(--foreground); }
.nav-item .accent-bar {
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 4px; height: 0; border-radius: 0 3px 3px 0; background: var(--accent);
    opacity: 0; transition: all .3s ease;
}
.nav-item.active .accent-bar { height: 24px; opacity: 1; }
.nav-item svg { width: 20px; height: 20px; }
.nav-item.active svg { color: var(--accent); }
.sidebar-bottom { padding: 12px; border-top: 1px solid color-mix(in oklch, var(--border) 40%, transparent); display: flex; flex-direction: column; gap: 4px; }
.side-link {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px;
    border-radius: var(--radius); font-size: .875rem; font-weight: 500;
    color: var(--muted-foreground); transition: background .15s, color .15s;
}
.side-link:hover { background: color-mix(in oklch, var(--secondary) 40%, transparent); color: var(--foreground); }
.side-link svg { width: 20px; height: 20px; }
.side-cta {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px;
    border-radius: var(--radius); font-size: .875rem; font-weight: 600;
    background: var(--accent); color: var(--accent-foreground);
    transition: filter .15s ease;
}
.side-cta:hover { background: color-mix(in oklch, var(--accent) 90%, var(--background)); }
.side-cta svg { width: 20px; height: 20px; }

/* ---------- Coluna principal ---------- */
.main-col { flex: 1; display: flex; flex-direction: column; min-width: 0; position: relative; z-index: 10; }
.app-scroll { flex: 1; overflow-y: auto; scroll-behavior: smooth; }

/* Topbar mobile (oculta no desktop) */
.topbar { display: none; }

/* ---------- Botões (shadcn: h-40px, rounded-md, Inter) ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    white-space: nowrap;
    height: 40px; padding: 0 2rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body); font-weight: 600; font-size: 1rem;
    border: 1px solid transparent; cursor: pointer;
    transition: filter .15s ease, background .15s ease, transform .12s ease, border-color .15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--accent-foreground); }
.btn-primary:hover { background: color-mix(in oklch, var(--accent) 90%, var(--background)); }
.btn-outline { background: transparent; border: 2px solid color-mix(in oklch, var(--accent) 50%, transparent); color: var(--accent); }
.btn-outline:hover { background: color-mix(in oklch, var(--accent) 10%, transparent); }
.btn-sm { height: 34px; padding: 0 .9rem; font-size: .875rem; border-radius: var(--radius-md); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Seções ---------- */
.section { padding: 6rem 1.5rem; }
.section.tight { padding: 4rem 1.5rem; }
.wrap { max-width: 72rem; margin: 0 auto; }
.wrap-sm { max-width: 56rem; margin: 0 auto; }

.sec-label { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-bottom: 1rem; }
.sec-label .ln { width: 3rem; height: 2px; background: var(--accent); }
.sec-label span { font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.sec-title { font-size: clamp(1.875rem, 4vw, 2.4rem); font-weight: 700; text-align: center; }
.sec-sub { color: var(--muted-foreground); text-align: center; max-width: 42rem; margin: .75rem auto 0; }
.sec-head { margin-bottom: 3rem; }

/* ---------- Hero ---------- */
.hero { max-width: 56rem; margin: 0 auto; text-align: center; padding: 6.5rem 1.5rem 4rem; }
.hero-emblem { width: 9.5rem; height: 9.5rem; margin: 0 auto 1.5rem; display: block; }
.pill {
    display: inline-flex; align-items: center; gap: .5rem;
    color: var(--accent); font-size: .875rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    background: color-mix(in oklch, var(--accent) 10%, transparent);
    padding: .5rem 1rem; border-radius: 999px;
    border: 1px solid color-mix(in oklch, var(--accent) 30%, transparent);
}
.pill svg { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -.02em; line-height: 1.08; margin: 1.5rem 0; }
.hero h1 .accent-line { display: block; color: var(--accent); }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted-foreground); max-width: 46rem; margin: 0 auto 2rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.hero .caption { font-size: .875rem; color: var(--muted-foreground); font-style: italic; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
    position: relative; overflow: hidden;
    background: var(--card);
    border: 2px solid color-mix(in oklch, var(--border) 50%, transparent);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex; flex-direction: column; gap: 1rem;
    transition: border-color .3s ease, box-shadow .3s ease, transform .2s ease;
}
.card:hover { border-color: var(--accent); box-shadow: 0 10px 30px color-mix(in oklch, var(--accent) 10%, transparent); }
.card .topbar-accent { position: absolute; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); transition: width .3s ease; }
.card:hover .topbar-accent { width: 100%; }
.card .ic {
    width: fit-content; padding: .5rem; border-radius: var(--radius);
    background: color-mix(in oklch, var(--accent) 10%, transparent);
    border: 1px solid color-mix(in oklch, var(--accent) 30%, transparent);
    color: var(--accent);
}
.card .ic svg { width: 22px; height: 22px; display: block; }
.card h3 { font-size: 1.15rem; font-weight: 600; margin: 0; }
.card p { color: var(--muted-foreground); font-size: .95rem; margin: 0; line-height: 1.6; }

.tag { font-family: var(--font-mono); font-size: .75rem; padding: .25rem .5rem; border-radius: var(--radius-md); background: color-mix(in oklch, var(--secondary) 40%, transparent); border: 1px solid color-mix(in oklch, var(--border) 50%, transparent); color: color-mix(in oklch, var(--foreground) 70%, transparent); }

/* ---------- Passos (fluxo) ---------- */
.steps { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; overflow: hidden; background: var(--card); border: 2px solid color-mix(in oklch, var(--border) 50%, transparent); border-radius: var(--radius); padding: 1.5rem; transition: border-color .3s ease; }
.step:hover { border-color: color-mix(in oklch, var(--accent) 70%, transparent); }
.step .num { font-family: var(--font-mono); font-size: .8rem; color: var(--accent); letter-spacing: .1em; }
.step h3 { font-size: 1.05rem; font-weight: 600; margin: .5rem 0 .35rem; }
.step p { color: var(--muted-foreground); font-size: .92rem; margin: 0; }

/* ---------- Demo cards ---------- */
.demo-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
.demo-card {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    background: var(--card);
    border: 2px solid color-mix(in oklch, var(--border) 50%, transparent);
    border-radius: var(--radius);
    transition: border-color .3s ease, transform .2s ease;
}
.demo-card:hover { border-color: var(--accent); }
.demo-card .thumb { position: relative; height: 170px; overflow: hidden; display: grid; place-items: center; }
.demo-card .thumb .niche { font-family: var(--font-head); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.demo-card .thumb.has-img { display: block; }
.demo-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.demo-card:hover .thumb img { transform: scale(1.05); }
.demo-card .thumb.has-img .niche { position: absolute; left: 0; bottom: 0; z-index: 1; width: 100%; padding: 22px 16px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); }
.demo-card .body { padding: 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.demo-card .body .plan-chip { align-self: flex-start; font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); background: color-mix(in oklch, var(--accent) 14%, transparent); border: 1px solid color-mix(in oklch, var(--accent) 30%, transparent); padding: .2rem .5rem; border-radius: var(--radius-md); }
.demo-card .body h3 { font-size: 1.2rem; font-weight: 600; margin: 0; }
.demo-card .body p { color: var(--muted-foreground); font-size: .92rem; margin: 0; flex: 1; }
.demo-card .open { margin-top: .6rem; color: var(--accent); font-size: .9rem; font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
.demo-card .card-link { position: absolute; inset: 0; z-index: 2; }
/* Demo na vitrine, mas ainda sem acesso liberado */
.demo-card.locked { opacity: .82; }
.demo-card.locked:hover { border-color: color-mix(in oklch, var(--border) 50%, transparent); }
.demo-card.locked:hover .thumb img { transform: none; }
.demo-card.locked .thumb img { filter: grayscale(.55) brightness(.78); }
.demo-card .soon-tag { position: absolute; top: 10px; right: 10px; z-index: 1; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .25); padding: .22rem .5rem; border-radius: var(--radius-md); }
.demo-card .open.soon { color: var(--muted-foreground); }

/* ---------- Planos ---------- */
.plans { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.plan { position: relative; overflow: hidden; background: var(--card); border: 2px solid color-mix(in oklch, var(--border) 50%, transparent); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); }
.plan .featured-badge { position: absolute; top: 14px; right: 14px; font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; background: color-mix(in oklch, var(--accent) 15%, transparent); color: var(--accent); border: 1px solid color-mix(in oklch, var(--accent) 35%, transparent); padding: .25rem .55rem; border-radius: var(--radius-md); }
.plan .tag-name { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.plan h3 { font-size: 1.5rem; font-weight: 700; margin: .25rem 0 .25rem; }
.plan .scope { color: var(--muted-foreground); font-size: .92rem; min-height: 2.6rem; }
.plan .price { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; margin: 1rem 0 .25rem; }
.plan .price small { font-size: .85rem; color: var(--muted-foreground); font-weight: 500; font-family: var(--font-body); }
.plan ul { list-style: none; padding: 0; margin: 1.1rem 0 1.5rem; display: grid; gap: .6rem; }
.plan ul li { display: flex; gap: .55rem; align-items: flex-start; font-size: .92rem; color: color-mix(in oklch, var(--foreground) 90%, transparent); }
.plan ul li svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; width: 100%; }

/* ---------- Faixa "todos os planos incluem" ---------- */
.include-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.25rem; max-width: 56rem; margin: 0 auto 2.5rem; }
.include-strip .item { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; color: var(--muted-foreground); }
.include-strip .item svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* ---------- Plano: extras ---------- */
.plan .price-sub { font-size: .82rem; color: var(--muted-foreground); margin: -.1rem 0 .25rem; }
.plan .domain-note { font-size: .85rem; color: var(--muted-foreground); border-top: 1px solid color-mix(in oklch, var(--border) 40%, transparent); padding-top: .9rem; margin-top: .25rem; }
.plan .domain-note b { color: color-mix(in oklch, var(--foreground) 85%, transparent); font-weight: 600; }
.plan .ideal { font-size: .82rem; color: var(--text-muted); margin: .75rem 0 1.1rem; }
.plan .ideal b { color: var(--muted-foreground); font-weight: 600; }

/* ---------- Manutenção ---------- */
.maint-note { text-align: center; color: var(--muted-foreground); max-width: 46rem; margin: 0 auto 2.5rem; }
.maint-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); max-width: 52rem; margin: 0 auto; }
.maint { position: relative; overflow: hidden; background: var(--card); border: 2px solid color-mix(in oklch, var(--border) 50%, transparent); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; }
.maint.featured { border-color: var(--accent); }
.maint h3 { font-size: 1.25rem; margin: 0 0 .2rem; }
.maint .price { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; margin: .5rem 0; }
.maint .price small { font-size: .85rem; color: var(--muted-foreground); font-weight: 500; font-family: var(--font-body); }
.maint .scope { color: var(--muted-foreground); font-size: .9rem; margin: 0 0 .25rem; }
.maint ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .55rem; }
.maint ul li { display: flex; gap: .55rem; align-items: flex-start; font-size: .9rem; color: color-mix(in oklch, var(--foreground) 90%, transparent); }
.maint ul li svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 3px; }

/* ---------- Faixa "site avulso" ---------- */
.alt-band { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; max-width: 52rem; margin: 0 auto; background: color-mix(in oklch, var(--card) 55%, transparent); border: 2px solid color-mix(in oklch, var(--border) 50%, transparent); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.alt-band .txt h3 { font-size: 1.15rem; margin: 0 0 .3rem; }
.alt-band .txt p { color: var(--muted-foreground); font-size: .92rem; margin: 0; max-width: 34rem; }
.alt-band .btn { flex: none; }

/* ---------- Comparativo ---------- */
.compare-wrap { overflow-x: auto; border: 2px solid color-mix(in oklch, var(--border) 50%, transparent); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
table.compare th, table.compare td { padding: .85rem 1.1rem; text-align: left; font-size: .92rem; }
table.compare thead th { font-family: var(--font-head); font-weight: 600; color: var(--foreground); background: color-mix(in oklch, var(--secondary) 25%, transparent); }
table.compare thead th:first-child { color: var(--muted-foreground); font-weight: 500; }
table.compare tbody tr { border-top: 1px solid color-mix(in oklch, var(--border) 35%, transparent); }
table.compare td:first-child { color: var(--muted-foreground); }
table.compare td.on { color: var(--accent); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 48rem; margin: 0 auto; display: grid; gap: .75rem; }
.faq details { background: var(--card); border: 2px solid color-mix(in oklch, var(--border) 50%, transparent); border-radius: var(--radius); overflow: hidden; transition: border-color .2s ease; }
.faq details[open] { border-color: color-mix(in oklch, var(--accent) 70%, transparent); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 1.3rem 1.2rem; color: var(--muted-foreground); font-size: .95rem; line-height: 1.65; }

/* ---------- Planos modular ---------- */
.kits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; align-items: stretch; }
.kit { position: relative; overflow: hidden; background: var(--card); border: 2px solid color-mix(in oklch, var(--border) 50%, transparent); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; }
.kit.featured { border-color: var(--accent); }
.kit .badge { position: absolute; top: 12px; right: 12px; font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; background: color-mix(in oklch, var(--accent) 15%, transparent); color: var(--accent); border: 1px solid color-mix(in oklch, var(--accent) 35%, transparent); padding: .22rem .5rem; border-radius: var(--radius-md); }
.kit h3 { font-size: 1.5rem; font-weight: 700; margin: 0 0 .25rem; }
.kit .scope { color: var(--muted); font-size: .9rem; min-height: 2.6rem; }
.kit .price { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--accent); margin: 1rem 0 .25rem; }
.kit ul { list-style: none; padding: 0; margin: 1rem 0 1.4rem; display: grid; gap: .5rem; }
.kit ul li { display: flex; gap: .5rem; align-items: flex-start; font-size: .9rem; color: color-mix(in oklch, var(--foreground) 88%, transparent); }
.kit ul li svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 3px; }
.kit .btn { margin-top: auto; width: 100%; }

.base-card { border: 2px solid var(--accent); border-radius: var(--radius); padding: 2rem; background: color-mix(in oklch, var(--accent) 6%, var(--card)); display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: center; }
.base-card .head .tag { font-family: var(--font-mono); color: var(--accent); font-size: .8rem; letter-spacing: .04em; }
.base-card .head .price { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; margin: .4rem 0; }
.base-card .head .price small { font-size: .95rem; color: var(--muted); font-weight: 500; font-family: var(--font-body); }
.base-card .head p { color: var(--muted); font-size: .95rem; margin: 0; }
.base-card ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.2rem; }
.base-card ul li { display: flex; gap: .5rem; align-items: flex-start; font-size: .92rem; }
.base-card ul li svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 3px; }

.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.module { display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px 18px; background: var(--bg-2); transition: border-color .15s ease; }
.module:hover { border-color: color-mix(in oklch, var(--accent) 55%, var(--border)); }
.module .mx b { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.module .mx p { color: var(--muted); font-size: .88rem; margin: 2px 0 0; }
.module .mtag { font-family: var(--font-mono); font-weight: 700; color: var(--accent); white-space: nowrap; font-size: .92rem; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; background: color-mix(in oklch, var(--card) 60%, transparent); border: 2px solid color-mix(in oklch, var(--border) 50%, transparent); border-radius: var(--radius); padding: 3.5rem 2rem; }
.cta-final h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.cta-final p { color: var(--muted-foreground); max-width: 34rem; margin: .75rem auto 1.75rem; }

/* ---------- Footer ---------- */
.app-footer { background: color-mix(in oklch, var(--black-base) 50%, transparent); border-top: 1px solid color-mix(in oklch, var(--border) 30%, transparent); padding: 2rem 1.5rem; }
.app-footer .wrap { display: flex; flex-direction: column; gap: 1.25rem; }
.app-footer .row { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.app-footer .brand-y { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: 1.1rem; }
.app-footer p { color: var(--muted-foreground); font-size: .9rem; margin: .35rem 0 0; }
.app-footer .socials { display: flex; gap: .6rem; }
.app-footer .socials a {
    width: 40px; height: 40px; border-radius: var(--radius-md);
    display: grid; place-items: center;
    color: var(--muted-foreground);
    border: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
    background: color-mix(in oklch, var(--secondary) 25%, transparent);
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.app-footer .socials a:hover { color: var(--accent); border-color: var(--accent); background: color-mix(in oklch, var(--accent) 10%, transparent); }
.app-footer .socials svg { width: 19px; height: 19px; }
.app-footer .copyright { text-align: center; color: var(--text-muted); font-size: .8rem; border-top: 1px solid color-mix(in oklch, var(--border) 30%, transparent); padding-top: 1.25rem; }

/* ---------- Responsivo ---------- */
@media (max-width: 768px) {
    .sidebar { display: none; }
    .topbar {
        display: flex; align-items: center; justify-content: space-between;
        height: 64px; flex-shrink: 0; padding: 0 1rem;
        border-bottom: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
        background: color-mix(in oklch, var(--card) 80%, transparent);
        backdrop-filter: blur(8px); position: relative; z-index: 30;
    }
    .topbar img { height: 22px; }
    .topbar .menu-btn { background: none; border: 0; color: var(--foreground); padding: 6px; cursor: pointer; }
    .topbar .menu-btn svg { width: 24px; height: 24px; display: block; }

    .drawer { display: none; position: absolute; inset-inline: 0; top: 64px; z-index: 30; background: color-mix(in oklch, var(--card) 96%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in oklch, var(--border) 60%, transparent); padding: 12px; flex-direction: column; gap: 4px; box-shadow: 0 12px 30px rgba(0, 0, 0, .4); }
    #nav-toggle:checked ~ .main-col .drawer { display: flex; }

    .grid-3, .grid-2, .demo-grid, .steps, .plans, .maint-grid, .modules { grid-template-columns: 1fr; }
    .kits { grid-template-columns: repeat(2, 1fr); }
    .base-card, .base-card ul { grid-template-columns: 1fr; }
    .section { padding: 4rem 1.25rem; }
    .hero { padding: 3.5rem 1.25rem 3rem; }
}
@media (max-width: 520px) { .kits { grid-template-columns: 1fr; } }
@media (min-width: 769px) { .drawer { display: none; } }
