/**
 * ZeriOnix Site – Design system institucional
 * Identidade ZeriOnix Payroll · Bootstrap 5 · Inter · Dark mode completo
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ========== TOKENS :root (modo claro) ========== */
:root,
[data-theme="light"] {
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 70px;
    --topbar-height: 60px;

    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-muted: rgba(37, 99, 235, 0.15);

    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #0284c7;
    --purple: #7c3aed;
    --orange: #ea580c;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #080e1d;

    --zo-bg: #f0f4f8;
    --zo-bg-alt: #e8ecf2;
    --zo-surface: #ffffff;
    --zo-surface-alt: #f1f5f9;
    --zo-text: #0f172a;
    --zo-text-muted: #475569;
    --zo-accent: #2563eb;
    --zo-accent-hover: #1d4ed8;
    --zo-accent-soft: rgba(37, 99, 235, 0.12);
    --zo-border: #e2e8f0;

    --bg-app: #f0f4f8;
    --bg-card: #ffffff;
    --border: #e2e8f0;

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);
    --shadow-glow-primary: 0 0 24px rgba(37, 99, 235, 0.25);
    --shadow-glow-success: 0 0 24px rgba(5, 150, 105, 0.2);
    --shadow-glow-danger: 0 0 24px rgba(220, 38, 38, 0.2);

    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 28px;

    --text-xs: 0.6875rem;
    --text-sm: 0.8125rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.625rem;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 150ms;
    --duration-md: 200ms;
}

/* ========== TOKENS MODO ESCURO ========== */
[data-theme="dark"],
[data-bs-theme="dark"] {
    --zo-bg: #0f1419;
    --zo-bg-alt: #161d26;
    --zo-surface: #161d26;
    --zo-surface-alt: #1c242e;
    --zo-text: #e8edf4;
    --zo-text-muted: #94a3b8;
    --zo-accent: #3b82f6;
    --zo-accent-hover: #2563eb;
    --zo-accent-soft: rgba(59, 130, 246, 0.15);
    --zo-border: #2d3748;

    --dm-bg-base: #0f1419;
    --dm-bg-surface: #161d26;
    --dm-bg-elevated: #1c242e;
    --dm-bg-input: #1a212b;
    --dm-border: #2d3748;
    --dm-border-soft: #252d38;
    --dm-text: #e8edf4;
    --dm-text-muted: #94a3b8;
    --dm-text-soft: #64748b;
    --dm-primary: #3b82f6;
    --dm-primary-soft: rgba(59, 130, 246, 0.15);
    --dm-hover: rgba(255, 255, 255, 0.04);
    --dm-focus-ring: rgba(59, 130, 246, 0.35);

    --bg-app: #0f1419;
    --bg-card: #161d26;
    --border: #2d3748;
}

/* ========== BASE ========== */
html {
    scroll-behavior: smooth;
}

html[data-theme="dark"],
html[data-bs-theme="dark"] {
    color-scheme: dark;
}

body {
    font-family: var(--font);
    font-size: var(--text-base);
    background: var(--zo-bg);
    color: var(--zo-text);
    padding-top: 76px;
    line-height: 1.6;
}

[id] {
    scroll-margin-top: 88px;
}

/* ========== TIPOGRAFIA ========== */
h1, h2, h3, h4, h5, h6 {
    color: var(--zo-text);
    font-weight: 600;
}

.text-muted {
    color: var(--zo-text-muted) !important;
}

.text-secondary {
    color: var(--zo-text-muted) !important;
}

/* ========== NAVBAR ========== */
.navbar-zo {
    background: var(--zo-bg) !important;
    box-shadow: var(--shadow-sm);
    border-bottom: 2px solid var(--zo-accent);
    transition: box-shadow var(--duration) var(--ease);
}

.navbar-zo.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .navbar-zo.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
    font-weight: 700;
    color: var(--zo-accent) !important;
    letter-spacing: -0.02em;
    font-size: 1.25rem;
}

.navbar-brand:hover {
    color: var(--zo-accent-hover) !important;
}

.nav-link {
    color: var(--zo-text-muted) !important;
    font-weight: 500;
    transition: color var(--duration) var(--ease);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--zo-accent) !important;
}

.navbar-toggler {
    border-color: var(--zo-border);
    color: var(--zo-text-muted);
}

.navbar-toggler-icon {
    opacity: 0.9;
}

[data-theme="light"] .navbar-toggler-icon {
    filter: none;
}

[data-theme="dark"] .navbar-toggler-icon {
    filter: invert(1);
}

/* ========== BOTÕES ========== */
.btn-zo {
    background: var(--zo-accent);
    color: #fff !important;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.btn-zo:hover {
    background: var(--zo-accent-hover);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.btn-outline-zo {
    border: 2px solid var(--zo-accent);
    color: var(--zo-accent);
    font-weight: 500;
    background: transparent;
    transition: background var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.btn-outline-zo:hover {
    background: var(--zo-accent);
    color: #fff !important;
    border-color: var(--zo-accent);
}

/* ========== THEME TOGGLE & LANG ========== */
.theme-toggle {
    background: var(--zo-surface);
    border: 1px solid var(--zo-border);
    color: var(--zo-text-muted);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.theme-toggle:hover {
    color: var(--zo-accent);
    border-color: var(--zo-accent);
    background: var(--zo-accent-soft);
}

.lang-flag {
    font-size: 1.25rem;
    line-height: 1;
}

/* Bandeiras do seletor de idioma (assets/images) */
.lang-flag-img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
    display: block;
}

.flag-svg {
    display: inline-block;
    width: 24px;
    height: 16px;
    flex-shrink: 0;
    border-radius: 2px;
    overflow: hidden;
}

.flag-svg svg {
    display: block;
    width: 100%;
    height: 100%;
}

[data-theme="dark"] .theme-icon-light {
    display: inline-block !important;
}

[data-theme="dark"] .theme-icon-dark {
    display: none !important;
}

[data-theme="light"] .theme-icon-light {
    display: none !important;
}

[data-theme="light"] .theme-icon-dark {
    display: inline-block !important;
}

/* ========== DROPDOWN ========== */
.dropdown-menu {
    background: var(--zo-surface);
    border: 1px solid var(--zo-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.dropdown-item {
    color: var(--zo-text);
    transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.dropdown-item:hover {
    background: var(--zo-accent-soft);
    color: var(--zo-accent);
}

.btn-close {
    filter: none;
    opacity: 0.8;
}

[data-theme="dark"] .btn-close {
    filter: invert(1);
}

/* ========== SEÇÕES ========== */
section {
    padding: 4.5rem 0;
    background: var(--zo-bg);
}

section.bg-white {
    background: var(--zo-bg-alt) !important;
}

@media (min-width: 992px) {
    section {
        padding: 5.5rem 0;
    }
}

.section-title-accent {
    position: relative;
    display: inline-block;
}

.section-title-accent::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 56px;
    height: 4px;
    background: var(--zo-accent);
    border-radius: 2px;
}

/* ========== HERO ========== */
.hero-wrap {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f1419 100%);
    position: relative;
    overflow: hidden;
}

.hero-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(37, 99, 235, 0.18), transparent 50%),
                radial-gradient(ellipse 60% 50% at 20% 80%, rgba(37, 99, 235, 0.08), transparent 50%);
}

[data-theme="light"] .hero-wrap {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
}

[data-theme="light"] .hero-wrap::before {
    background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(37, 99, 235, 0.15), transparent 50%);
}

.hero-wrap .reveal {
    position: relative;
}

.hero-wrap h1 {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.hero-wrap .lead {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-wrap .hero-reassurance {
    color: rgba(255, 255, 255, 0.75) !important;
}

.hero-wrap .btn-outline-zo {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.hero-wrap .btn-outline-zo:hover {
    background: #fff;
    color: var(--zo-accent);
    border-color: #fff;
}

/* ========== TRUST BAR ========== */
.trust-bar {
    background: var(--zo-bg-alt);
    border-top: 2px solid var(--zo-accent);
    border-bottom: 1px solid var(--zo-border);
    padding: 1rem 0;
}

.trust-bar .brand {
    color: var(--zo-text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.trust-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.75rem;
}

.trust-stats .stat {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--zo-accent);
}

.trust-stats .stat i {
    margin-right: 0.35rem;
}

/* ========== CARDS ========== */
.card-zo {
    background: var(--zo-surface);
    border: 1px solid var(--zo-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    color: var(--zo-text);
    transition: box-shadow var(--duration-md) var(--ease), transform var(--duration-md) var(--ease), border-color var(--duration) var(--ease);
}

.card-zo:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--zo-accent);
}

.solution-card:hover,
.niche-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Product cards (ecosystem) */
.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .product-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--zo-accent-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--zo-accent);
    font-size: 1.5rem;
    transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.product-card:hover .product-icon {
    background: var(--zo-accent);
    color: #fff;
}

.product-card .product-title {
    font-weight: 600;
    color: var(--zo-text);
    margin-bottom: 0.5rem;
}

.product-card .product-desc {
    color: var(--zo-text-muted);
    font-size: var(--text-sm);
    flex: 1;
}

/* ========== BENEFÍCIOS ========== */
.benefit-item {
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    background: var(--zo-surface);
    border: 1px solid var(--zo-border);
    height: 100%;
    color: var(--zo-text);
    transition: transform var(--duration-md) var(--ease), box-shadow var(--duration-md) var(--ease);
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.benefit-item .small {
    color: var(--zo-text-muted) !important;
}

.benefit-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    background: var(--zo-accent-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.benefit-icon-wrap i {
    color: var(--zo-accent);
    font-size: 1.4rem;
}

/* ========== PAIN LIST / SOLUTION ========== */
.pain-list {
    list-style: none;
    padding: 0;
}

.pain-list li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--zo-text-muted);
}

.pain-list li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: var(--zo-accent);
    font-weight: 600;
}

/* ========== DASHBOARD MOCK ========== */
.dashboard-mock {
    background: var(--zo-surface);
    border: 1px solid var(--zo-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.dashboard-mock .kpi {
    background: var(--zo-surface-alt);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--zo-text);
}

.dashboard-mock .chart-skel {
    height: 90px;
    background: var(--zo-surface-alt);
    border-radius: var(--radius-md);
}

.chart-skel-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: 8px 12px;
}

.chart-skel-bars .chart-bar {
    flex: 1;
    min-width: 8px;
    background: var(--zo-accent);
    border-radius: 4px 4px 0 0;
    opacity: 0.85;
}

/* ========== CHARTS ========== */
.chart-card {
    background: var(--zo-surface);
    border: 1px solid var(--zo-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    color: var(--zo-text);
}

.chart-card .small {
    color: var(--zo-text-muted) !important;
}

.chart-card .chart-wrap {
    min-height: 220px;
    position: relative;
    width: 100%;
}

.chart-card .chart-wrap canvas {
    max-height: 220px;
    width: 100% !important;
}

/* ========== SCREENSHOTS ========== */
.screenshot-skel {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--zo-border) 0%, var(--zo-surface-alt) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zo-text-muted);
    cursor: pointer;
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.screenshot-skel:hover {
    border: 2px solid var(--zo-accent);
    box-shadow: var(--shadow-md);
}

.screenshot-skel {
    position: relative;
}

.screenshot-skel .click-hint {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-xs);
}

.screenshot-skel:hover .click-hint {
    opacity: 1;
}

.screenshot-with-preview {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 0.75rem;
    text-align: left;
}

.screenshot-with-preview .screen-preview-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.screen-title {
    color: var(--zo-text);
}

.screen-kpis {
    flex-wrap: wrap;
}

.screen-kpi {
    background: var(--zo-surface-alt);
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius-xs);
    font-size: 0.7rem;
    color: var(--zo-text);
}

.screen-mini-chart {
    height: 36px;
}

.screen-mini-chart i {
    flex: 1;
    min-width: 4px;
    background: var(--zo-accent);
    border-radius: 2px 2px 0 0;
    opacity: 0.9;
    display: block;
}

.screen-rows {
    font-size: 0.7rem;
    color: var(--zo-text-muted);
}

.screen-row {
    display: flex;
    justify-content: space-between;
    padding: 0.2rem 0;
    border-bottom: 1px solid var(--zo-border);
}

.screen-row:last-child {
    border-bottom: none;
}

.screen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem;
    font-size: 0.7rem;
    color: var(--zo-text-muted);
}

.screen-preview-modal .screen-kpi {
    padding: 0.35rem 0.6rem;
    font-size: 0.85rem;
}

.screen-preview-modal .screen-row {
    padding: 0.35rem 0;
    font-size: 0.9rem;
}

.screen-preview-modal .screen-mini-chart i {
    min-width: 8px;
}

/* ========== PLANOS ========== */
.plan-card.featured {
    border: 2px solid var(--zo-accent);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.2);
}

.plan-card .price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--zo-accent);
}

.plan-card .feature-list {
    color: var(--zo-text-muted);
    list-style: none;
    padding: 0;
}

.plan-card .feature-list li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.plan-card .feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--zo-accent);
}

/* ========== TESTIMONIALS ========== */
.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--zo-accent), var(--zo-accent-hover));
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stars {
    color: #f59e0b;
}

/* ========== ACCORDION FAQ ========== */
.accordion-item {
    background: var(--zo-surface) !important;
    border-color: var(--zo-border) !important;
}

.accordion-button {
    background: var(--zo-surface) !important;
    color: var(--zo-text) !important;
    border-color: var(--zo-border) !important;
}

.accordion-button:not(.collapsed) {
    color: var(--zo-accent) !important;
    background: var(--zo-surface-alt) !important;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem var(--zo-accent-soft) !important;
}

.accordion-body {
    background: var(--zo-surface-alt);
    color: var(--zo-text-muted);
}

/* ========== FORMULÁRIOS ========== */
.form-control,
.form-select {
    background: var(--zo-surface-alt);
    border: 1px solid var(--zo-border);
    color: var(--zo-text);
    border-radius: var(--radius-md);
}

.form-control::placeholder {
    color: var(--zo-text-muted);
    opacity: 0.8;
}

.form-control:focus,
.form-select:focus {
    background: var(--zo-surface-alt);
    border-color: var(--zo-accent);
    color: var(--zo-text);
    box-shadow: 0 0 0 3px var(--zo-accent-soft);
}

.form-label {
    color: var(--zo-text-muted);
}

.form-reassurance {
    font-size: 0.8125rem;
    color: var(--zo-text-muted);
    margin-top: 0.5rem;
}

/* ========== PAGE PREVIEW ========== */
.page-preview {
    aspect-ratio: 16/10;
    background: linear-gradient(180deg, var(--zo-border) 0%, var(--zo-surface-alt) 60%);
    border-radius: var(--radius-xl);
    position: relative;
}

.page-preview .bar {
    height: 20px;
    background: var(--zo-surface-alt);
}

.page-preview .block {
    height: 48px;
    background: var(--zo-border);
    margin: 8px;
    border-radius: var(--radius-md);
}

.page-preview .btn-reserve {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 6px 12px;
    background: var(--zo-accent);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

/* ========== MODAIS ========== */
.modal-content {
    background: var(--zo-surface);
    border: 1px solid var(--zo-border);
    color: var(--zo-text);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.modal-header {
    border-color: var(--zo-border);
}

.modal-footer {
    border-color: var(--zo-border);
}

.modal-body {
    color: var(--zo-text-muted);
}

[data-theme="light"] .modal-content {
    background: var(--zo-surface);
    color: var(--zo-text);
}

[data-theme="light"] .modal-header,
[data-theme="light"] .modal-footer {
    border-color: var(--zo-border);
}

[data-theme="light"] .modal-body {
    color: var(--zo-text-muted);
}

/* ========== CTA BLOCK ========== */
.cta-block-section {
    background: linear-gradient(135deg, var(--zo-accent) 0%, var(--zo-accent-hover) 100%);
    color: #fff;
    border: none;
}

.cta-block-section h2 {
    color: #fff !important;
}

.cta-block-section .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

.cta-block-section .btn-zo {
    background: #fff;
    color: var(--zo-accent) !important;
    padding: 0.75rem 2rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.cta-block-section .btn-zo:hover {
    background: #f8fafc;
    color: var(--zo-accent-hover) !important;
}

/* ========== STICKY CTA BAR ========== */
.sticky-cta-bar {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 998;
    background: linear-gradient(90deg, var(--zo-accent) 0%, var(--zo-accent-hover) 100%);
    color: #fff;
    box-shadow: var(--shadow-md);
    padding: 0.75rem 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.sticky-cta-bar.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.sticky-cta-bar .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

.sticky-cta-bar .btn-zo {
    background: #fff;
    color: var(--zo-accent) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.sticky-cta-bar .btn-zo:hover {
    background: #f0f4f8;
    color: var(--zo-accent-hover) !important;
}

.sticky-cta-bar .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
}

@media (max-width: 767px) {
    .sticky-cta-bar {
        top: 70px;
        padding: 0.6rem 0.75rem;
    }
}

/* ========== FOOTER ========== */
.footer-zo {
    background: var(--zo-bg-alt) !important;
    border-top: 1px solid var(--zo-border) !important;
}

.footer-zo .text-muted,
.footer-zo .text-body {
    color: var(--zo-text-muted) !important;
}

.footer-zo a {
    color: var(--zo-text-muted) !important;
    transition: color var(--duration) var(--ease);
}

.footer-zo a:hover {
    color: var(--zo-accent) !important;
}

.footer-zo .border-top {
    border-color: var(--zo-border) !important;
}

.footer-zo .footer-brand {
    font-weight: 700;
    color: var(--zo-accent);
    font-size: 1.125rem;
}

/* ========== FLOATING BUTTONS ========== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: transform var(--duration) var(--ease);
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.06);
}

.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--zo-surface);
    border: 1px solid var(--zo-border);
    color: var(--zo-text);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--zo-accent);
    color: #fff;
    border-color: var(--zo-accent);
}

/* ========== REVEAL ANIMAÇÃO ========== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== FOCUS ========== */
.focus-visible:focus-visible {
    outline: 2px solid var(--zo-accent);
    outline-offset: 2px;
}

/* ========== TOAST ========== */
.toast-container {
    bottom: auto;
    top: 5.5rem;
}

/* ========== FOR WHO / DIFFERENTIATORS GRID ========== */
.for-who-item,
.diff-item {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    background: var(--zo-surface);
    border: 1px solid var(--zo-border);
    height: 100%;
    text-align: center;
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.for-who-item:hover,
.diff-item:hover {
    border-color: var(--zo-accent);
    box-shadow: var(--shadow-sm);
}

.for-who-item .for-who-icon,
.diff-item .diff-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--zo-accent-soft);
    color: var(--zo-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 991px) {
    .navbar-collapse {
        padding: 1rem 0;
    }
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 70px;
    }
    section {
        padding: 3.5rem 0;
    }
    .hero-wrap .display-5 {
        font-size: 1.75rem;
    }
}

/* ========== PÁGINA LEGAL (Política de Privacidade) ========== */
body.legal-page-body {
    padding-top: 70px;
}

.legal-page .legal-section h2 {
    scroll-margin-top: 5.5rem;
    color: var(--zo-text, inherit);
}

.legal-page .legal-p {
    line-height: 1.65;
    max-width: 65ch;
}

.legal-page .legal-toc {
    background: var(--zo-surface, var(--bs-body-bg));
}

.legal-toc-list a {
    color: var(--zo-accent, var(--bs-primary));
}

.legal-toc-list a:hover {
    text-decoration: underline !important;
}
