/* ============================================================
   Achou Certo — Design System (claro e moderno)
   ============================================================ */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-darker: #1e40af;
    --primary-soft: #eff4ff;
    --primary-line: #c7d7fe;
    --selection: #bfdbfe;
    --ink: #0f172a;
    --ink-soft: #334155;
    --muted: #64748b;
    --faint: #94a3b8;
    --line: #e6eaf2;
    --line-strong: #cbd5e1;
    --line-soft: #eef1f7;
    --bg: #ffffff;
    --bg-soft: #f5f7fb;
    --bg-soft-2: #eef2f9;
    --bg-inverse: #0b1220;
    --accent: #f59e0b;
    --accent-soft: #fef3c7;
    --accent-line: #fcd34d;
    --success: #16a34a;
    --success-dark: #128a3e;
    --success-soft: #ecfdf3;
    --success-line: #bbe7c9;
    --danger: #dc2626;
    --danger-dark: #b91c1c;
    --danger-soft: #fef2f2;
    --danger-line: #fecaca;
    --whatsapp: #22c55e;
    --star: #f59e0b;
    --radius-xs: 8px;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06), 0 4px 12px -6px rgba(15, 23, 42, .08);
    --shadow: 0 14px 34px -16px rgba(15, 23, 42, .18), 0 4px 10px -6px rgba(15, 23, 42, .08);
    --shadow-lg: 0 28px 60px -24px rgba(15, 23, 42, .28);
    --grad: linear-gradient(135deg, var(--primary), #4f7bff);
    --grad-strong: linear-gradient(135deg, var(--primary-dark), #6d5cff);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --maxw: 1160px;
    --header-h: 68px;
    --ease: cubic-bezier(.2, .7, .3, 1);
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: inherit; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background:
        radial-gradient(1100px 560px at 85% -20%, rgba(37, 99, 235, .06), transparent 55%),
        var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4, h5 { line-height: 1.25; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); }
h3 { font-size: 1.08rem; }
h4 { font-size: .98rem; }

p { margin: 0 0 1em; }

code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

::selection { background: var(--selection); }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: 820px; }

.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.section-head h1 { margin-bottom: 6px; }
.section-head h2 { margin-bottom: 4px; }
.section-sub { color: var(--muted); margin: 0; max-width: 56ch; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .78rem; font-weight: 800; letter-spacing: .13em;
    text-transform: uppercase; color: var(--primary); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.eyebrow.plain::before { display: none; }

.text-accent { color: var(--primary); }
.link-more { font-weight: 700; font-size: .92rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.link-more:hover { text-decoration: none; color: var(--primary-dark); }

.w-full { width: 100%; }
.hide-mobile { }
.big { font-size: 1.1rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 11px;
    background: var(--grad);
    color: #fff;
    box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .55);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text { font-size: 1.26rem; font-weight: 800; letter-spacing: -.03em; }
.brand-text strong { color: var(--primary); font-weight: 800; }

.site-nav { display: flex; gap: 20px; }
.site-nav a { color: var(--ink-soft); font-weight: 500; font-size: .95rem; position: relative; padding: 6px 0; white-space: nowrap; }
.site-nav a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
    border-radius: 2px; background: var(--grad); transition: right .25s var(--ease);
}
.site-nav a:hover { color: var(--primary); text-decoration: none; }
.site-nav a:hover::after { right: 0; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.inline-form { margin: 0; }

.nav-toggle {
    display: none; margin-left: auto; background: var(--bg-soft); border: 1px solid var(--line);
    border-radius: var(--radius-sm); width: 42px; height: 42px; cursor: pointer; flex-direction: column;
    align-items: center; justify-content: center; gap: 4px; transition: .2s;
}
.nav-toggle:hover { border-color: var(--primary-line); background: var(--primary-soft); }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle span:nth-child(2) { margin: 0; }

/* ---------- Notifications (header) ---------- */
.notif-wrap { position: relative; }
.notif-bell {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--line);
    background: #fff; cursor: pointer; font-size: 1.05rem; transition: .18s;
}
.notif-bell:hover { border-color: var(--primary); background: var(--primary-soft); }
.notif-badge {
    position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px;
    border-radius: 999px; background: var(--danger); color: #fff; font-size: .66rem; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff;
}
.notif-dropdown {
    position: absolute; right: 0; top: calc(100% + 10px); width: 330px; max-width: calc(100vw - 32px);
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    z-index: 60; overflow: hidden;
}
.notif-dropdown-head { display: flex; justify-content: space-between; align-items: center; padding: 13px 15px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.notif-dropdown-head a { color: var(--primary); font-size: .8rem; font-weight: 600; }
.notif-dropdown-empty { padding: 24px; text-align: center; color: var(--muted); font-size: .9rem; }
.notif-row { display: block; padding: 12px 15px; border-bottom: 1px solid var(--line-soft); text-decoration: none; color: var(--ink); transition: background .15s; }
.notif-row strong { display: block; font-size: .88rem; }
.notif-row span { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.notif-row small { color: var(--faint); font-size: .74rem; margin-top: 4px; display: block; }
.notif-row:hover { background: var(--bg-soft); text-decoration: none; }
.notif-row-unread { background: var(--primary-soft); }
.notif-row-unread:hover { background: var(--primary-soft); }
.notif-dropdown-all { display: block; text-align: center; padding: 10px; color: var(--primary); font-size: .85rem; font-weight: 700; }
.notif-dropdown-all:hover { background: var(--bg-soft); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: var(--radius-sm); border: 1px solid transparent;
    font: inherit; font-weight: 600; font-size: .95rem; line-height: 1;
    cursor: pointer; transition: all .18s var(--ease); text-align: center; text-decoration: none;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(37, 99, 235, .55); }
.btn-primary:hover { background: var(--grad-strong); box-shadow: 0 10px 22px -8px rgba(37, 99, 235, .6); }

.btn-outline { background: #fff; color: var(--ink-soft); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }

.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 18px -8px rgba(34, 197, 94, .55); }
.btn-whatsapp:hover { background: #16a34a; }

.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-success:hover { background: var(--success-dark); }

.btn-danger-text { color: var(--danger); border-color: var(--danger-line); background: #fff; }
.btn-danger-text:hover { background: var(--danger-soft); border-color: var(--danger); }

.btn-sm { padding: 8px 14px; font-size: .875rem; border-radius: var(--radius-xs); }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius); }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

.req { color: var(--danger); font-weight: 700; }

/* ---------- Badges / tags / chips ---------- */
.badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 11px; border-radius: 999px; font-size: .75rem; font-weight: 700;
    background: var(--bg-soft); color: var(--ink-soft); border: 1px solid var(--line);
    text-transform: none; letter-spacing: 0;
}
.badge-verified { background: var(--success-soft); color: var(--success); border-color: var(--success-line); }
.badge-success { background: var(--success-soft); color: var(--success); border-color: var(--success-line); }
.badge-accent { background: var(--accent-soft); color: #8a5a05; border-color: var(--accent-line); }
.badge-neutral { background: var(--bg-soft); color: var(--muted); border-color: var(--line); }
.badge-pro { background: linear-gradient(135deg, #111827, #374151); color: #fff; }

.tag {
    display: inline-block; padding: 4px 10px; border-radius: var(--radius-xs); font-size: .78rem;
    background: var(--primary-soft); color: var(--primary-dark); font-weight: 600;
}

.chip {
    display: inline-block; padding: 9px 18px; border-radius: 999px; font-size: .875rem; font-weight: 600;
    background: #fff; color: var(--ink-soft); border: 1px solid var(--line-strong); transition: .18s;
}
.chip:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.child-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }

/* ---------- Cards ---------- */
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; box-shadow: var(--shadow-xs);
}
.card-title { font-size: 1.05rem; margin-bottom: 14px; }

/* ---------- Forms ---------- */
.form-stack, .stack-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.label { font-size: .875rem; font-weight: 700; color: var(--ink-soft); }
.label-row { display: flex; justify-content: space-between; align-items: center; }
.link-sm { font-size: .85rem; font-weight: 600; }

.input {
    width: 100%; padding: 12px 15px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
    font: inherit; background: var(--bg-soft); color: var(--ink); transition: border .15s, box-shadow .15s, background .15s;
}
.input:hover { border-color: var(--faint); }
.input:focus {
    outline: none; border-color: var(--primary); background: #fff;
    box-shadow: 0 0 0 3px var(--primary-soft);
}
select.input { cursor: pointer; }
textarea.input { resize: vertical; }

.field-error { color: var(--danger); font-size: .81rem; margin: 0; font-weight: 500; }
.field-hint { color: var(--muted); font-size: .81rem; margin: 0; }

.password-wrap { position: relative; }
.password-wrap .input { padding-right: 48px; }
.password-toggle {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; padding: 8px; color: var(--muted); font-size: 1rem;
    border-radius: 8px;
}
.password-toggle:hover { color: var(--ink); background: var(--bg-soft); }

.check-row { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--ink); cursor: pointer; }
.check-row input { width: 17px; height: 17px; accent-color: var(--primary); }

.form-error { display: block; color: var(--danger); font-size: .8rem; margin-top: 4px; font-weight: 500; }

/* ---------- Flash / alerts ---------- */
.flash {
    display: flex; align-items: center; gap: 12px;
    max-width: var(--maxw); margin: 20px auto 0; padding: 13px 18px;
    border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500;
    animation: slideDown .35s var(--ease); box-shadow: var(--shadow-sm);
}
.flash-success { background: var(--success-soft); color: var(--success-dark); border: 1px solid var(--success-line); }
.flash-error { background: var(--danger-soft); color: var(--danger-dark); border: 1px solid var(--danger-line); }
.flash-info { background: var(--primary-soft); color: var(--primary-darker); border: 1px solid var(--primary-line); }
.flash-info a { color: inherit; text-decoration: underline; }
.flash-icon { font-weight: 800; }
.flash-close { margin-left: auto; background: none; border: none; font-size: 1.15rem; cursor: pointer; color: inherit; opacity: .6; transition: .15s; }
.flash-close:hover { opacity: 1; }

@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.alert { padding: 13px 16px; border-radius: var(--radius-sm); font-size: .9rem; margin: 0 0 16px; }
.alert-error { background: var(--danger-soft); color: var(--danger-dark); border: 1px solid var(--danger-line); }
.alert-info { background: var(--primary-soft); color: var(--primary-dark); border: 1px solid var(--primary-line); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(720px 420px at 88% -12%, rgba(77, 123, 255, .20), transparent 60%),
        radial-gradient(620px 380px at -12% 18%, rgba(37, 99, 235, .12), transparent 55%),
        linear-gradient(180deg, #f6f9ff 0%, #ffffff 58%, #ffffff 100%);
    border-bottom: 1px solid var(--line);
    padding: 84px 0 0;
}
.hero-inner { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.2rem, 4.6vw, 3.15rem); letter-spacing: -.035em; margin-bottom: 18px; }
.hero-copy > p { color: var(--muted); font-size: 1.14rem; max-width: 540px; }

.hero-search { margin: 32px 0 24px; }
.search-field {
    display: flex; align-items: center; gap: 10px; background: #fff;
    border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 7px 7px 20px;
    box-shadow: var(--shadow); transition: border .15s, box-shadow .15s;
}
.search-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft), var(--shadow); }
.search-icon { color: var(--muted); display: inline-flex; }
.search-icon svg { width: 20px; height: 20px; }
.search-field input { flex: 1; border: none; outline: none; font: inherit; font-size: 1rem; background: transparent; padding: 8px 0; min-width: 0; }
.search-field input::placeholder { color: var(--faint); }

.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.hero-trust li { color: var(--muted); font-size: .9rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.hero-trust li::before { content: ""; width: 16px; height: 16px; border-radius: 999px; background: var(--success-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E"); background-size: 12px; background-position: center; background-repeat: no-repeat; }

.hero-visual { position: relative; min-height: 400px; }
.hero-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 24px; box-shadow: var(--shadow-lg);
}
.hero-card-main { max-width: 340px; transform: rotate(-1.5deg); transition: transform .3s var(--ease); }
.hero-card-main:hover { transform: rotate(0); }
.hero-card-mini {
    position: absolute; right: 0; bottom: 26px; width: 240px;
    padding: 0; overflow: hidden;
    border-top: 4px solid var(--accent); animation: floaty 5s ease-in-out infinite;
}
.hc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hc-head strong { display: block; }
.hc-rating { color: var(--star); font-weight: 700; font-size: .85rem; }
.hc-rating small { color: var(--muted); font-weight: 500; }
.hc-head .badge { margin-left: auto; }
.hc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 18px; }
.hc-price { font-size: 1.5rem; font-weight: 800; color: var(--ink); display: block; margin: 4px 0; }
.hero-card-mini .hero-slide { position: relative; min-height: 200px; }
.hc-mini-cover {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; display: block; z-index: 0;
}
.hc-mini-cover-initial {
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem; font-weight: 800; color: var(--primary); background: var(--primary-soft);
}
.hc-mini-overlay {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
    display: flex; flex-direction: column; gap: 2px;
    padding: 14px;
    background: linear-gradient(to top, rgba(15, 23, 42, .85), rgba(15, 23, 42, 0));
    color: #fff;
}
.hc-mini-overlay strong { font-size: .95rem; }
.hc-mini-overlay small { color: rgba(255, 255, 255, .85); }
.hero-card-mini small { color: var(--muted); }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; margin-top: 72px; padding: 15px 0; border-top: 1px solid var(--line); }
.ticker-track { display: flex; white-space: nowrap; width: max-content; animation: marquee 36s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { color: var(--faint); font-size: .9rem; font-weight: 700; letter-spacing: .02em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Faixa PRO/Premium (divulgação no topo) ---------- */
.pros-strip {
    display: flex; align-items: center; overflow: hidden;
    background: linear-gradient(135deg, #111827, #374151); color: #fff;
    padding: 7px 0;
}
.pros-strip-label {
    flex: 0 0 auto; display: inline-flex; align-items: center;
    font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
    background: linear-gradient(135deg, #b45309, #d97706); color: #fff;
    border-radius: 0 12px 12px 0; padding: 6px 16px; margin-right: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.pros-strip-track {
    display: flex; align-items: center; gap: 12px; width: max-content; white-space: nowrap;
    animation: marquee 32s linear infinite;
    --strip-mask: linear-gradient(90deg, transparent, #000 6%, #000 96%, transparent);
    -webkit-mask-image: var(--strip-mask); mask-image: var(--strip-mask);
}
.pros-strip:hover .pros-strip-track { animation-play-state: paused; }
.pros-chip {
    display: inline-flex; align-items: center; gap: 7px;
    color: #fff; text-decoration: none; font-weight: 700; font-size: .83rem;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px; padding: 3px 12px 3px 4px; transition: background .15s, transform .15s;
}
.pros-chip:hover { background: rgba(255, 255, 255, .24); transform: translateY(-1px); }
.pros-chip-avatar {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--primary);
    font-size: .7rem; font-weight: 800;
}
.pros-chip-plan {
    font-size: .62rem; font-weight: 800; letter-spacing: .04em;
    background: linear-gradient(135deg, #b45309, #d97706); border-radius: 999px; padding: 2px 8px;
}

/* ---------- Carrossel PRO/Premium ---------- */
.hero-cards { margin-top: 34px; }
.hero-cards-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 14px;
}
.hero-cards-title {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 800; font-size: .95rem; letter-spacing: .02em;
}
.hero-cards-title::before {
    content: "★"; background: linear-gradient(135deg, #b45309, #d97706);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    font-size: 1.1rem;
}
.hero-rotator { position: relative; overflow: hidden; }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; animation: heroSlide .55s ease; }
@keyframes heroSlide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.carousel {
    overflow: hidden; padding: 6px 0 2px; margin: 0 -14px;
    --carousel-mask: linear-gradient(90deg, transparent, #fff 6%, #fff 94%, transparent);
    -webkit-mask-image: var(--carousel-mask); mask-image: var(--carousel-mask);
}
.carousel-track { display: flex; gap: 20px; width: max-content; animation: marquee 45s linear infinite; }
.carousel-track:hover, .carousel:hover .carousel-track { animation-play-state: paused; }
.carousel-item { flex: 0 0 285px; }
.carousel-item .pro-card { height: 100%; }
.badge-premium { background: linear-gradient(135deg, #b45309, #d97706); color: #fff; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
    position: relative; overflow: hidden;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px; transition: transform .22s var(--ease), border-color .22s, box-shadow .22s;
}
.cat-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(220px 120px at 100% 0, rgba(37, 99, 235, .06), transparent 70%); opacity: 0; transition: opacity .22s; }
.cat-card:hover { transform: translateY(-4px); border-color: var(--primary-line); box-shadow: var(--shadow); }
.cat-card:hover::after { opacity: 1; }
.cat-card-head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; position: relative; z-index: 1; }
.cat-card-head h3 { margin: 0; }
.cat-card-head h3 a { color: var(--ink); }
.cat-card-head h3 a:hover { color: var(--primary); text-decoration: none; }
.cat-card-head h3:has(a) { font-size: .98rem; }
.cat-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--primary-soft);
    font-size: 1.1rem; color: var(--primary);
}
.cat-list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 7px; position: relative; z-index: 1; }
.cat-list a { color: var(--ink-soft); font-size: .9rem; transition: .15s; }
.cat-list a:hover { color: var(--primary); padding-left: 3px; }
.cat-more { font-size: .85rem; font-weight: 700; position: relative; z-index: 1; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; position: relative; transition: transform .22s var(--ease), box-shadow .22s;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 12px; background: var(--grad);
    color: #fff; font-weight: 800; margin-bottom: 14px; box-shadow: 0 6px 14px -8px rgba(37, 99, 235, .6);
}
.step h3 { font-size: 1rem; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }
.step-row { display: flex; gap: 20px; }
.step-row .step-num { margin-bottom: 0; flex-shrink: 0; }
.steps-vertical { display: flex; flex-direction: column; gap: 14px; }
.steps-vertical .step { padding: 22px 24px; }

/* ---------- Professional cards ---------- */
.pro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pro-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .22s var(--ease), box-shadow .22s, border-color .22s; overflow: hidden;
}
.pro-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-line); }
.pro-card-link { display: block; padding: 20px; color: inherit; }
.pro-card-link:hover { text-decoration: none; }
.pro-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pro-info h3 { margin: 0; font-size: 1.02rem; }
.pro-headline { color: var(--muted); font-size: .87rem; display: block; }
.pro-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.pro-rating { color: var(--ink); font-weight: 800; }
.pro-rating small { color: var(--muted); font-weight: 500; }
.pro-rating.big { font-size: 1.6rem; }
.pro-rating.big small { font-size: .85rem; display: block; margin-top: 4px; }
.pro-location { color: var(--muted); font-size: .85rem; }
.pro-badges { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Avatar ---------- */
.avatar {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
    background: var(--grad); color: #fff;
    font-weight: 700; font-size: 1.05rem; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}
.avatar-lg { width: 56px; height: 56px; font-size: 1.25rem; }
.avatar-xl { width: 88px; height: 88px; font-size: 2rem; }
.avatar-sm { width: 34px; height: 34px; font-size: .85rem; }
.avatar-logo { padding: 0; overflow: hidden; background: #fff; }
.avatar-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc-mini-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.logo-preview {
    display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
    padding: 10px; background: var(--bg-soft, #f9fafb);
    border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.logo-preview img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }

/* ---------- Filters ---------- */
.filter-bar {
    display: flex; gap: 12px; align-items: end; flex-wrap: wrap;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px; margin-bottom: 28px; box-shadow: var(--shadow-xs);
}
.filter-field { display: flex; flex-direction: column; gap: 6px; }
.filter-grow { flex: 1 1 220px; }
.filter-check { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; padding-bottom: 10px; cursor: pointer; }
.filter-check input { width: 16px; height: 16px; accent-color: var(--primary); }

/* ---------- Pagination ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 38px; }
.pagination-info { color: var(--muted); font-size: .9rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .875rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-current { color: var(--ink-soft); font-weight: 700; }

/* ---------- Empty state ---------- */
.empty-state {
    text-align: center; padding: 64px 24px; border: 1.5px dashed var(--line-strong);
    border-radius: var(--radius-lg); background: var(--bg-soft);
}
.empty-icon { font-size: 2.6rem; display: block; margin-bottom: 12px; opacity: .8; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin-bottom: 20px; }

/* ---------- Data list ---------- */
.data-list { margin: 0; }
.data-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.data-list > div:last-child { border-bottom: none; }
.data-list dt { color: var(--muted); }
.data-list dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-xs); }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th, .data-table td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 800; background: var(--bg-soft); }
.data-table tbody tr { transition: background .12s; }
.data-table tbody tr:hover { background: var(--bg-soft); }
.data-table tr:last-child td { border-bottom: none; }
.data-table small { color: var(--muted); }

/* ---------- Admin ---------- */
.admin-nav { display: flex; flex-wrap: wrap; gap: 4px; margin: 18px 0 26px; padding: 6px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; }
.admin-nav a { padding: 8px 16px; border-radius: 10px; font-size: .85rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; transition: .15s; }
.admin-nav a:hover { background: #fff; color: var(--primary); box-shadow: var(--shadow-xs); }
.admin-nav a[aria-current="page"] { background: var(--grad); color: #fff; box-shadow: 0 6px 14px -8px rgba(37, 99, 235, .6); }

.admin-filters { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.admin-filters .input { max-width: 320px; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden;
    transition: transform .2s var(--ease), box-shadow .2s;
}
.stat-card::after { content: ""; position: absolute; right: -26px; top: -26px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.10), transparent 70%); }
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.stat-icon { font-size: 1.5rem; }
.stat-value { display: block; font-size: 1.75rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.stat-label { display: block; color: var(--muted); font-weight: 500; font-size: .9rem; }

.block-title { margin: 26px 0 14px; font-size: 1.15rem; }

.status-bars, .mini-bars { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.status-bar-row, .mini-bar { display: grid; align-items: center; gap: 10px; }
.status-bar-row { grid-template-columns: 130px 1fr 34px; }
.mini-bar { grid-template-columns: 30px 1fr 58px; }
.status-bar-row span, .mini-bar span { font-size: .82rem; color: var(--ink-soft); }
.mini-bar strong, .status-bar-row strong { font-variant-numeric: tabular-nums; font-size: .85rem; }
.status-bar-track { height: 8px; border-radius: 999px; background: var(--bg-soft-2); overflow: hidden; }
.status-bar-fill { height: 100%; border-radius: 999px; background: var(--grad); }

.cat-edit summary { cursor: pointer; font-size: .8rem; color: var(--primary); font-weight: 700; }
.cat-edit .stack-form { margin-top: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; background: #fff; }

/* ---------- Auth ---------- */
.auth-section { padding: 64px 0 88px; background: radial-gradient(800px 420px at 85% -10%, rgba(37, 99, 235, .07), transparent 55%); }
.auth-wrap { max-width: 460px; }
.auth-wide { max-width: 580px; }
.auth-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 38px; box-shadow: var(--shadow);
}
.auth-head { margin-bottom: 28px; }
.auth-head h1 { font-size: 1.7rem; margin-bottom: 6px; }
.auth-head p { color: var(--muted); margin: 0; }
.auth-terms { color: var(--muted); font-size: .82rem; text-align: center; margin: 0; }

.role-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--bg-soft); padding: 6px; border-radius: 14px; margin-bottom: 28px; }
.role-tab {
    padding: 12px; border: none; background: transparent; border-radius: 10px;
    font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; transition: .18s;
}
.role-tab.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- Profile public ---------- */
.profile-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.profile-header { display: flex; gap: 20px; align-items: flex-start; }
.profile-grid .profile-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.profile-side { display: flex; flex-direction: column; gap: 14px; }
.profile-name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.profile-name-row h1 { font-size: 1.6rem; margin: 0; }
.profile-location, .profile-exp { color: var(--muted); margin: 6px 0 0; }
.profile-identity p { margin: 4px 0 0; }
.profile-headline { color: var(--ink-soft); font-weight: 500; }
.profile-stats { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 14px; }
.profile-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.prose { color: var(--ink-soft); white-space: normal; }

/* ---------- Requests / quotes ---------- */
.request-list { display: flex; flex-direction: column; gap: 14px; }
.request-card { display: block; text-decoration: none; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.request-card:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: 0 12px 30px -16px rgba(37, 99, 235, .35); }
.request-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.request-card-head h3 { margin: 0 0 4px; font-size: 1.05rem; }
.request-card-head h3 a { color: inherit; }
.request-meta { color: var(--muted); font-size: .82rem; margin: 0; }
.request-hint { color: var(--ink-soft); font-size: .9rem; margin: 10px 0 0; }
.request-hint strong { color: var(--success); }
.request-excerpt { color: var(--muted); font-size: .9rem; margin: 12px 0 0; }
.request-card-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

.request-detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.request-detail-head h1 { margin-bottom: 6px; }

.detail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: start; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.photo-thumb { display: block; aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.quote-list { display: flex; flex-direction: column; gap: 12px; }
.quote-item { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s, border-color .2s; }
.quote-item:hover { border-color: var(--primary-line); box-shadow: var(--shadow-sm); }
.quote-list > .card.quote-item { margin: 0; }
.quote-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.quote-head strong { display: block; }
.quote-head small { color: var(--muted); }
.quote-stars { color: var(--star); letter-spacing: 1px; }
.quote-total { font-weight: 800; color: var(--success); white-space: nowrap; }
.quote-detail { color: var(--muted); font-size: .85rem; margin: 8px 0 0; }
.quote-message { background: var(--bg-soft); border-left: 3px solid var(--primary-line); padding: 10px 14px; border-radius: var(--radius-xs); font-size: .9rem; margin: 10px 0 0; }
.quote-app { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 4px 10px; font-size: .78rem; font-weight: 700; background: var(--primary-soft); border-left: none; color: var(--primary); border-radius: 999px; }
.quote-app::before { content: "✓ "; }
.quote-actions { margin-top: 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.quote-actions form { margin: 0; }

/* ---------- Chat ---------- */
.chat-card { display: flex; flex-direction: column; }
.chat-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 18px; border-bottom: 1px solid var(--line); }
.chat-title { font-size: 1.15rem; margin-bottom: 4px; }
.chat-meta { color: var(--muted); font-size: .85rem; }
.chat-window { display: flex; flex-direction: column; gap: 12px; padding: 18px; max-height: 460px; overflow-y: auto; background: var(--bg-soft); }
.chat-empty { text-align: center; color: var(--muted); padding: 30px 0; }
.chat-msg { display: flex; }
.chat-msg-me { justify-content: flex-end; }
.chat-bubble { max-width: 78%; padding: 11px 15px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.chat-msg-me .chat-bubble { background: var(--grad); border-color: transparent; color: #fff; }
.chat-bubble strong { display: block; font-size: .78rem; margin-bottom: 2px; opacity: .85; }
.chat-bubble p { margin: 0; }
.chat-bubble small { display: block; margin-top: 5px; font-size: .72rem; opacity: .75; }
.chat-form { display: flex; gap: 10px; align-items: flex-end; padding: 15px 18px; border-top: 1px solid var(--line); }
.chat-form .input { flex: 1; resize: vertical; }
.chat-form .btn { white-space: nowrap; }

.chat-threads { display: flex; flex-direction: column; gap: 10px; }
.chat-thread { display: flex; align-items: center; gap: 12px; padding: 15px 17px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink); transition: .18s; }
.chat-thread:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); text-decoration: none; }
.chat-thread-unread { border-left: 4px solid var(--primary); background: var(--primary-soft); }
.chat-thread-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.chat-thread-body strong { font-size: .95rem; }
.chat-thread-body strong .notif-badge { position: relative; top: 0; right: 0; margin-left: 8px; vertical-align: middle; border: none; }
.chat-thread-body span { color: var(--ink-soft); font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-thread-body small { color: var(--muted); font-size: .78rem; }

.notif-list { display: flex; flex-direction: column; gap: 10px; }
.notif-item { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 15px 17px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .18s; }
.notif-item:hover { border-color: var(--primary-line); box-shadow: var(--shadow-sm); }
.notif-item-unread { border-left: 4px solid var(--primary); }
.notif-body strong { display: block; }
.notif-body p { color: var(--ink-soft); margin: 4px 0; font-size: .9rem; }
.notif-body small { color: var(--muted); }

/* ---------- Reviews ---------- */
.star-rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-rating input { position: absolute; opacity: 0; pointer-events: none; }
.star-rating label { font-size: 1.6rem; line-height: 1; color: var(--star); opacity: .22; cursor: pointer; transition: opacity .15s, transform .15s; }
.star-rating label:hover, .star-rating label:hover ~ label { opacity: 1; transform: scale(1.12); }
.star-rating input:checked ~ label { opacity: 1; }

.review-form { display: flex; flex-direction: column; gap: 16px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.review-row { display: flex; flex-direction: column; gap: 6px; }
.review-label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.review-comment { grid-column: 1 / -1; }
.review-showcase { display: flex; flex-direction: column; gap: 12px; }
.review-showcase-head { display: flex; align-items: center; gap: 14px; }
.review-showcase-head small { display: block; color: var(--muted); margin-top: 2px; }
.review-quote { border-left: 3px solid var(--primary-line); padding: 10px 14px; margin: 0; background: var(--bg-soft); border-radius: var(--radius-xs); color: var(--ink-soft); }

.reviews-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.review-item { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s; }
.review-item:hover { box-shadow: var(--shadow-sm); }
.review-item-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.review-item-stars { color: var(--star); letter-spacing: 2px; }
.review-item-meta { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.review-item-comment { margin: 10px 0 0; color: var(--ink-soft); }

/* ---------- Plans ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 26px 0; }
.plan-card {
    position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .22s var(--ease), box-shadow .22s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-card-featured { border: 2px solid var(--primary); box-shadow: 0 14px 34px -18px rgba(37, 99, 235, .5); }
.plan-popular {
    position: absolute; top: -12px; left: 20px; background: var(--grad); color: #fff;
    font-size: .7rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; letter-spacing: .03em;
    box-shadow: 0 6px 14px -8px rgba(37, 99, 235, .6);
}
.plan-card h2 { font-size: 1.35rem; margin: 0; }
.plan-desc { color: var(--muted); font-size: .85rem; margin: 0; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price strong { font-size: 1.8rem; color: var(--ink); }
.plan-price small { color: var(--muted); }
.plan-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.plan-features li { font-size: .87rem; color: var(--ink-soft); padding-left: 24px; position: relative; }
.plan-features li::before { content: ""; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 999px; background: var(--success-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E"); background-size: 12px; background-position: center; background-repeat: no-repeat; }
.plan-note { font-size: .78rem; color: var(--muted); margin: 0; }
.plan-info { font-size: .9rem; color: var(--ink-soft); }
.plan-current { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan-current strong { margin: 0 6px; }
.plan-current small { color: var(--muted); }
.plan-current-label { display: inline-block; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-right: 4px; }
.pricing-hero .section-head { justify-content: center; text-align: center; }

/* ---------- CTA ---------- */
.cta-box {
    position: relative; overflow: hidden; text-align: center;
    background: var(--grad-strong); color: #fff; border-radius: var(--radius-xl);
    padding: 54px 28px; margin-top: 40px; box-shadow: var(--shadow-lg);
}
.cta-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 240px at 50% -30%, rgba(255,255,255,.28), transparent 60%); }
.cta-box > * { position: relative; }
.cta-box p { color: rgba(255,255,255,.85); }
.cta-box .btn { background: #fff; color: var(--primary); }
.cta-box .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0,0,0,.4); }

/* ---------- App download ---------- */
.app-hero {
    background:
        radial-gradient(700px 420px at 90% -10%, rgba(77, 123, 255, .18), transparent 60%),
        radial-gradient(600px 380px at -10% 15%, rgba(37, 99, 235, .12), transparent 55%),
        linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--line);
    padding: 72px 0 64px;
}
.app-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.app-hero-copy h1 { font-size: clamp(2rem, 4vw, 2.7rem); letter-spacing: -.03em; margin-bottom: 18px; }
.app-hero-copy > p { color: var(--muted); font-size: 1.08rem; max-width: 500px; }

.app-features { list-style: none; padding: 0; margin: 26px 0; display: flex; flex-direction: column; gap: 16px; }
.app-features li { display: flex; gap: 14px; align-items: flex-start; }
.app-feature-icon {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 46px; height: 46px; border-radius: 13px; background: var(--primary-soft); font-size: 1.1rem; color: var(--primary);
}
.app-features strong { display: block; font-size: .95rem; }
.app-features small { color: var(--muted); }

.app-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 12px; }
.app-meta { color: var(--muted); font-size: .85rem; margin: 0; }

.app-soon { padding: 28px; }
.app-soon code { background: var(--bg-soft); border: 1px solid var(--line); padding: 2px 6px; border-radius: 6px; }

.app-phone { display: flex; justify-content: center; }
.phone-frame {
    width: 290px; background: #0b1220; border-radius: 42px; padding: 14px;
    border: 6px solid #1e293b; box-shadow: var(--shadow-lg);
}
.phone-notch { width: 100px; height: 26px; background: #0b1220; border-radius: 0 0 14px 14px; margin: -14px auto 10px; }
.phone-body { background: #fff; border-radius: 26px; padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; }
.phone-app-header { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.phone-push {
    display: flex; gap: 10px; background: var(--bg-soft); border: 1px solid var(--line);
    border-radius: 14px; padding: 12px; transition: transform .2s var(--ease), box-shadow .2s;
}
.phone-push:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.phone-push strong { font-size: .8rem; line-height: 1.3; display: block; }
.phone-push small { color: var(--muted); font-size: .72rem; }
.push-bell { font-size: 1.1rem; }
.phone-push-alt { border-left: 3px solid var(--accent); }
.phone-chart { margin-top: 4px; }
.phone-chart strong { font-size: .82rem; }
.phone-bars { display: flex; align-items: flex-end; gap: 8px; height: 74px; margin-top: 10px; }
.phone-bars span { flex: 1; background: var(--grad); border-radius: 6px 6px 2px 2px; }

.changelog { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.changelog li {
    padding: 13px 17px; background: var(--bg-soft); border: 1px solid var(--line);
    border-radius: var(--radius-sm); font-size: .95rem; transition: .18s;
}
.changelog li:hover { border-color: var(--primary-line); }
.changelog li::before { content: "◆ "; color: var(--primary); font-size: .8rem; }

.app-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.app-platform {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
    transition: transform .2s var(--ease), box-shadow .2s;
}
.app-platform:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.platform-icon { font-size: 1.6rem; }
.app-platform p { color: var(--muted); font-size: .9rem; }

.install-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.install-steps { margin: 14px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-soft); }
.install-steps code { background: #fff; border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }

/* ---------- Modal genérico ---------- */
.modal {
    position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
    background: rgba(11, 18, 32, .55); padding: 20px; backdrop-filter: blur(5px);
}
.modal-card {
    position: relative; background: #fff; border-radius: var(--radius-lg); padding: 30px;
    max-width: 480px; width: 100%; text-align: left; box-shadow: var(--shadow-lg);
    animation: pop .25s var(--ease); max-height: 92vh; overflow-y: auto;
}
.modal-card h3 { margin-bottom: 6px; }
.modal-sub { color: var(--muted); margin: 0 0 20px; }
.modal-close {
    position: absolute; top: 12px; right: 14px; background: none; border: none;
    font-size: 1.5rem; color: var(--muted); cursor: pointer; line-height: 1; border-radius: 8px; padding: 4px 8px;
}
.modal-close:hover { color: var(--ink); background: var(--bg-soft); }
.modal-hint { color: var(--muted); margin-top: 14px; font-size: .8rem; text-align: center; }

/* ---------- Checkout (planos) ---------- */
.modal-checkout { max-width: 420px; }
.pay-tabs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; background: var(--bg-soft); padding: 5px; border-radius: 12px; margin-bottom: 18px; }
.pay-tab { border: 0; background: transparent; padding: 9px 10px; font-weight: 700; font-size: .85rem; border-radius: 9px; color: var(--muted); cursor: pointer; }
.pay-tab.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.pay-panel { display: none; }
.pay-panel.is-active { display: block; animation: pop .2s var(--ease); }
.pay-note { color: var(--muted); font-size: .85rem; margin: 0 0 12px; }
.pix-qr { display: flex; justify-content: center; padding: 6px; margin-bottom: 12px; }
.pix-qr svg { box-shadow: var(--shadow-sm); border: 1px solid var(--line); border-radius: var(--radius-xs); }
.pix-key { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; word-break: break-all; background: var(--bg-soft); border: 1px dashed var(--line-strong); border-radius: var(--radius-xs); padding: 10px 12px; color: var(--ink-soft); margin-bottom: 8px; }
.barcode { font-family: 'Courier New', ui-monospace, monospace; font-size: 1rem; letter-spacing: 2px; font-weight: 700; text-align: center; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xs); color: var(--ink); margin-bottom: 8px; }

/* ---------- QR modal ---------- */
.qr-modal {
    position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
    background: rgba(11, 18, 32, .55); padding: 20px; backdrop-filter: blur(5px);
}
.qr-modal-card {
    position: relative; background: #fff; border-radius: var(--radius-lg); padding: 34px;
    max-width: 360px; width: 100%; text-align: center; box-shadow: var(--shadow-lg);
    animation: pop .25s var(--ease);
}
.qr-modal-card h3 { margin-bottom: 4px; }
.qr-modal-card p { color: var(--muted); margin-bottom: 18px; }
.qr-close {
    position: absolute; top: 12px; right: 14px; background: none; border: none;
    font-size: 1.5rem; color: var(--muted); cursor: pointer; line-height: 1; border-radius: 8px; padding: 4px 8px;
}
.qr-close:hover { color: var(--ink); background: var(--bg-soft); }
.qr-box { display: inline-block; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.qr-box svg { display: block; }
.qr-hint { display: block; color: var(--muted); margin-top: 14px; font-size: .8rem; }

@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* ---------- Legal ---------- */
.legal { display: flex; flex-direction: column; gap: 14px; color: var(--ink-soft); line-height: 1.65; }
.legal h2 { font-size: 1.05rem; color: var(--ink); margin: 14px 0 0; }
.legal ul { padding-left: 20px; }

/* ---------- Errors ---------- */
.error-page { text-align: center; padding: 90px 24px; }
.error-code {
    display: block; font-size: 5rem; font-weight: 900; line-height: 1; letter-spacing: -.03em;
    background: var(--grad-strong); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error-page h1 { margin: 12px 0 6px; }
.error-page p { color: var(--muted); margin-bottom: 20px; }
.error-page .btn-row { justify-content: center; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin: 0 auto;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 17px 19px;
    box-shadow: var(--shadow-lg); display: none; animation: slideUp .3s var(--ease);
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 12px; font-size: .85rem; color: var(--ink-soft); }
.cookie-banner .btn-row { gap: 10px; margin: 0; }
@keyframes slideUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-inverse); color: var(--faint); padding: 56px 0 0; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand p { color: #94a3b8; font-size: .9rem; margin-top: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 6px; }
.footer-col a { color: #94a3b8; font-size: .9rem; transition: .15s; }
.footer-col a:hover { color: #fff; text-decoration: none; transform: translateX(2px); }
.footer-bottom {
    border-top: 1px solid #1e293b; padding: 18px 24px;
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    color: #64748b; font-size: .82rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .pro-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .profile-grid { grid-template-columns: 1fr; }
    .profile-stats { position: static; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .detail-grid { grid-template-columns: 1fr; }
    .request-detail-head { flex-direction: column; }
}

@media (max-width: 720px) {
    .site-nav {
        position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column;
        gap: 0; padding: 8px 0; border-bottom: 1px solid var(--line);
        transform: translateY(-14px); opacity: 0; visibility: hidden; transition: .22s var(--ease);
        box-shadow: var(--shadow);
    }
    .site-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
    .site-nav a { padding: 15px 24px; border-bottom: 1px solid var(--line); }
    .site-nav a::after { display: none; }
    .nav-toggle { display: inline-flex; }
    .hide-mobile { display: none; }
    .header-actions .btn-ghost, .header-actions .btn-outline { display: none; }
    .header-actions .btn-primary { padding: 9px 14px; font-size: .85rem; }
    .hero { padding: 52px 0 0; }
    .hero-search { margin: 22px 0 16px; }
    .search-field { flex-direction: column; align-items: stretch; padding: 12px; border-radius: var(--radius); }
    .search-field .btn { width: 100%; }
    .cat-grid, .pro-grid, .steps-grid, .stat-grid { grid-template-columns: 1fr; }
    .carousel-item { flex-basis: 250px; }
    .field-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .section { padding: 48px 0; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .auth-card { padding: 28px 22px; }
    .filter-check { width: 100%; }
    .app-platforms { grid-template-columns: 1fr; }
    .ticker { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}
.badge-confirmed { background: var(--success-soft); color: var(--success); border-color: var(--success-line); }
.badge-pending { background: var(--accent-soft); color: #8a5a05; border-color: var(--accent-line); }
.badge-cancelled { background: var(--bg-soft); color: var(--muted); border-color: var(--line); }

.table-actions { white-space: nowrap; text-align: right; }
.table-actions .inline-form { display: inline-flex; }
.filter-bar { display: flex; gap: 12px; align-items: flex-end; margin: 0 0 18px; }
.filter-bar .input { max-width: 220px; }

.dl { margin: 0; }
.dl > div { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.dl dt { width: 150px; color: var(--muted); font-weight: 600; }
.dl dd { margin: 0; flex: 1; }

.card-muted { background: var(--bg-soft); }

.pix-block { text-align: center; padding: 8px 0 16px; }
.pix-qr { margin: 8px auto; max-width: 200px; }
.pix-qr svg { width: 100%; height: auto; display: block; }
.pix-key { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; word-break: break-all; background: var(--bg-soft); border: 1px dashed var(--line); border-radius: 8px; padding: 10px 12px; margin: 10px 0; }
