/* =====================================================================
   LeadSite AI - Estilos dos sites demonstrativos (templates)
   Usa as cores da paleta definidas no conteudo da demonstracao.
   ===================================================================== */

* { box-sizing: border-box; }

body.demo-body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: #1E293B;
    background: var(--demo-bg, #F8FAFC);
    line-height: 1.6;
    font-size: 15.5px;
}

.demo-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.demo-topbar {
    background: #fff;
    border-bottom: 1px solid #E2E8F0;
    padding: 12px 0;
    font-size: 12.5px;
    color: #64748B;
}
.demo-topbar .demo-wrap { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.demo-topbar strong { color: #0F172A; }

.demo-header {
    background: #fff;
    border-bottom: 1px solid #E2E8F0;
    position: sticky;
    top: 0;
    z-index: 10;
}
.demo-header .demo-wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.demo-brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; color: #0F172A; letter-spacing: -.3px; }
.demo-brand-mark {
    width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
    background: var(--demo-primary, #1E3A8A); color: #fff; font-weight: 800; font-size: 17px;
}
.demo-nav { display: flex; gap: 22px; font-size: 14.5px; }
.demo-nav a { color: #475569; text-decoration: none; font-weight: 500; }
.demo-nav a:hover { color: var(--demo-primary, #1E3A8A); }

.demo-hero {
    padding: 76px 0;
    background: linear-gradient(135deg, var(--demo-primary, #1E3A8A), color-mix(in srgb, var(--demo-primary, #1E3A8A) 55%, #fff));
    color: #fff;
}
.demo-hero .demo-wrap { max-width: 800px; text-align: center; }
.demo-hero h1 { font-size: 40px; line-height: 1.18; margin: 0 0 16px; color: #fff; letter-spacing: -1px; }
.demo-hero p { font-size: 18px; color: rgba(255,255,255,.88); margin: 0 auto 30px; max-width: 620px; }
.demo-badge-seg {
    display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.32);
    padding: 6px 15px; border-radius: 999px; font-size: 12.5px; font-weight: 600; margin-bottom: 20px;
}

.demo-cta {
    display: inline-flex; align-items: center; gap: 9px; background: var(--demo-accent, #7C3AED);
    color: #fff; padding: 15px 30px; border-radius: 12px; font-weight: 700; font-size: 16px;
    text-decoration: none; box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.demo-cta:hover { filter: brightness(1.06); text-decoration: none; }
.demo-cta.secondary { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.5); box-shadow: none; }

.demo-section { padding: 68px 0; }
.demo-section.alt { background: #fff; }
.demo-section h2 { font-size: 30px; margin: 0 0 10px; color: #0F172A; letter-spacing: -.6px; }
.demo-section .lead { color: #64748B; margin-bottom: 36px; max-width: 640px; }
.demo-center { text-align: center; }
.demo-center .lead { margin-left: auto; margin-right: auto; }

.demo-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.demo-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.demo-card {
    background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 24px;
    box-shadow: 0 2px 10px rgba(15,23,42,.05);
}
.demo-card .ico {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: color-mix(in srgb, var(--demo-accent, #7C3AED) 14%, #fff);
    color: var(--demo-accent, #7C3AED); font-size: 18px; margin-bottom: 14px;
}
.demo-card h3 { font-size: 16.5px; margin: 0 0 6px; color: #0F172A; }
.demo-card p { margin: 0; font-size: 14.5px; color: #64748B; }

.demo-about { font-size: 16px; color: #475569; max-width: 760px; }

.demo-contact { background: #fff; border: 1px solid #E2E8F0; border-radius: 18px; padding: 30px; box-shadow: 0 2px 10px rgba(15,23,42,.05); }
.demo-contact .row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; font-size: 15px; }
.demo-contact .row .ico { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #F1F5F9; }
.demo-contact .row strong { display: block; color: #0F172A; font-size: 14px; }
.demo-contact .row span { color: #64748B; }

.demo-footer { background: #0F172A; color: #94A3B8; padding: 40px 0 24px; font-size: 13.5px; }
.demo-footer .demo-wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.demo-footer a { color: #CBD5E1; }

.demo-disclaimer {
    background: #FFFBEB; border-top: 1px solid #FDE68A; color: #92400E;
    padding: 14px 0; font-size: 12.5px; text-align: center;
}

@media (max-width: 860px) {
    .demo-grid-3, .demo-grid-2 { grid-template-columns: 1fr; }
    .demo-hero h1 { font-size: 29px; }
    .demo-hero { padding: 54px 0; }
    .demo-nav { display: none; }
    .demo-section { padding: 48px 0; }
}
