/* ============================================================
   SISPAV — Design System UnB
   Cores UnB: Azul Escuro #003366, Azul Claro #1A7FC1, Verde #2D7A3A
   ============================================================ */

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

/* ------------------------------------------------------------
   1. VARIÁVEIS — Paleta UnB
   ------------------------------------------------------------ */
:root {
    --unb-azul-escuro:   #003366;
    --unb-azul-medio:    #005A9E;
    --unb-azul-claro:    #1A7FC1;
    --unb-azul-bg:       #E8F2FA;
    --unb-verde:         #2D7A3A;
    --unb-verde-claro:   #3DAB4F;
    --unb-verde-bg:      #EAF6EC;

    --color-ink:         #0D1F3C;
    --color-ink-muted:   #4A6080;
    --color-ink-faint:   #8FA3BF;
    --color-surface:     #F4F8FC;
    --color-white:       #FFFFFF;
    --color-border:      #D0DEF0;
    --color-border-light:#E8F0F8;

    --color-action:      var(--unb-azul-medio);
    --color-action-hov:  var(--unb-azul-escuro);
    --color-action-dim:  rgba(0,90,158,0.08);
    --color-accent:      var(--unb-verde);
    --color-accent-dim:  rgba(45,122,58,0.10);

    --color-success:     #16a34a;
    --color-success-bg:  #f0fdf4;
    --color-danger:      #dc2626;
    --color-danger-bg:   #fef2f2;
    --color-warning:     #d97706;
    --color-warning-bg:  #fffbeb;
    --color-info:        var(--unb-azul-claro);
    --color-info-bg:     var(--unb-azul-bg);

    --icp-otimo:    #16a34a;
    --icp-bom:      #65a30d;
    --icp-regular:  #d97706;
    --icp-ruim:     #ea580c;
    --icp-pessimo:  #dc2626;

    --topbar-height: 64px;
    --radius-sm:     6px;
    --radius-md:     10px;
    --radius-lg:     16px;
    --shadow-card:   0 1px 4px rgba(0,51,102,0.06), 0 4px 16px rgba(0,51,102,0.05);
    --shadow-elevated: 0 4px 24px rgba(0,51,102,0.12);

    --font-sans:  'Nunito', system-ui, sans-serif;
    --font-mono:  'Courier New', monospace;
    --text-xs:    0.75rem;
    --text-sm:    0.875rem;
    --text-base:  1rem;
    --text-lg:    1.125rem;
    --text-xl:    1.375rem;
    --text-2xl:   1.75rem;
    --text-3xl:   2.25rem;
    --transition: 0.2s ease;
}

/* ------------------------------------------------------------
   2. RESET / BASE
   ------------------------------------------------------------ */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased}
body{font-family:var(--font-sans);font-size:var(--text-base);color:var(--color-ink);background:var(--color-surface);line-height:1.6}
a{color:var(--color-action);text-decoration:none;transition:color var(--transition)}
a:hover{color:var(--color-action-hov)}
img{display:block;max-width:100%}

/* ------------------------------------------------------------
   3. NAVBAR TOPO
   ------------------------------------------------------------ */
.topnav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--topbar-height);
    background: var(--unb-azul-escuro);
    display: flex;
    align-items: center;
    padding: 0 24px;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.22);
}

.topnav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 32px;
    text-decoration: none;
    flex-shrink: 0;
}

.topnav-brand .brand-icon {
    width: 36px; height: 36px;
    background: var(--unb-verde);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 16px; flex-shrink: 0;
}

.topnav-brand .brand-name {
    font-size: 1.2rem; font-weight: 900; color: white; letter-spacing: -0.02em;
}

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

.topnav-link {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    color: rgba(255,255,255,0.60);
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}
.topnav-link i { font-size: 14px; }
.topnav-link:hover { background: rgba(255,255,255,0.10); color: white; }
.topnav-link.active { background: var(--unb-azul-claro); color: white; }

.topnav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

.topnav-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--unb-verde);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 13px; font-weight: 800;
}

.topnav-username {
    font-size: var(--text-sm);
    font-weight: 700;
    color: rgba(255,255,255,0.65);
}

.topnav-badge-admin {
    background: rgba(61,171,79,0.25);
    color: #7DF08E;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 100px;
    border: 1px solid rgba(61,171,79,0.4);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ------------------------------------------------------------
   4. LAYOUT PRINCIPAL
   ------------------------------------------------------------ */
.app-layout {
    padding-top: var(--topbar-height);
    min-height: 100vh;
}

.page-body {
    padding: 32px 32px 48px;
    max-width: 1380px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 28px;
}

.page-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--unb-azul-escuro);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.page-subtitle {
    font-size: var(--text-sm);
    color: var(--color-ink-muted);
    margin-top: 4px;
    font-weight: 600;
}

/* ------------------------------------------------------------
   5. CARDS
   ------------------------------------------------------------ */
.card {
    background: var(--color-white);
    border: 1.5px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    border-bottom: 1.5px solid var(--color-border-light);
    background: var(--color-surface);
}

.card-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--unb-azul-escuro);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-body { padding: 22px; }

/* ------------------------------------------------------------
   6. FORMULÁRIOS
   ------------------------------------------------------------ */
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
    font-size: var(--text-sm);
    font-weight: 800;
    color: var(--unb-azul-escuro);
}
.form-label .required { color: var(--color-danger); }

.form-control {
    padding: 11px 14px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-ink);
    background: var(--color-white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    width: 100%;
}
.form-control:focus {
    border-color: var(--unb-azul-claro);
    box-shadow: 0 0 0 3px rgba(26,127,193,0.15);
}

.form-hint { font-size: var(--text-xs); color: var(--color-ink-faint); margin-top: 2px; }

/* ------------------------------------------------------------
   7. BOTÕES
   ------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: 800;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.btn-primary { background: var(--unb-azul-medio); color: white; border-color: var(--unb-azul-medio); }
.btn-primary:hover { background: var(--unb-azul-escuro); border-color: var(--unb-azul-escuro); color: white; }

.btn-success { background: var(--unb-verde); color: white; border-color: var(--unb-verde); }
.btn-success:hover { background: var(--unb-verde-claro); border-color: var(--unb-verde-claro); color: white; }

.btn-outline { background: transparent; color: var(--unb-azul-medio); border-color: var(--unb-azul-medio); }
.btn-outline:hover { background: var(--color-action-dim); }

.btn-ghost { background: transparent; color: rgba(255,255,255,0.6); border-color: transparent; }
.btn-ghost:hover { color: white; background: rgba(255,255,255,0.1); }

.btn-danger { background: var(--color-danger); color: white; border-color: var(--color-danger); }
.btn-danger:hover { background: #b91c1c; color: white; }

.btn-sm { padding: 7px 14px; font-size: var(--text-sm); border-radius: var(--radius-sm); }
.btn-lg { padding: 14px 28px; font-size: var(--text-lg); }
.btn:disabled { opacity:0.5; cursor:not-allowed; }
.w-full { width:100%; }
.mt-8 { margin-top:8px; }

/* ------------------------------------------------------------
   8. BADGES
   ------------------------------------------------------------ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary  { background: var(--unb-azul-bg); color: var(--unb-azul-escuro); }
.badge-success  { background: var(--color-success-bg); color: var(--color-success); }
.badge-danger   { background: var(--color-danger-bg); color: var(--color-danger); }
.badge-warning  { background: var(--color-warning-bg); color: var(--color-warning); }
.badge-neutral  { background: var(--color-surface); color: var(--color-ink-muted); border:1px solid var(--color-border); }
.badge-ok       { background: var(--color-success-bg); color: var(--color-success); }
.badge-skip     { background: var(--color-danger-bg); color: var(--color-danger); }
.badge-nf       { background: var(--color-surface); color: var(--color-ink-muted); border:1px solid var(--color-border); }

/* ------------------------------------------------------------
   9. ALERTAS
   ------------------------------------------------------------ */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: 16px;
    border: 1.5px solid transparent;
}
.alert-success { background: var(--color-success-bg); color: #15803d; border-color: #bbf7d0; }
.alert-danger  { background: var(--color-danger-bg); color: #b91c1c; border-color: #fecaca; }
.alert-warning { background: var(--color-warning-bg); color: #92400e; border-color: #fde68a; }
.alert-info    { background: var(--unb-azul-bg); color: var(--unb-azul-escuro); border-color: #bfdbfe; }

/* ------------------------------------------------------------
   10. UTILITÁRIOS
   ------------------------------------------------------------ */
.text-muted    { color: var(--color-ink-muted); }
.text-faint    { color: var(--color-ink-faint); }
.text-sm       { font-size: var(--text-sm); }
.text-xs       { font-size: var(--text-xs); }
.text-mono     { font-family: var(--font-mono); }
.font-medium   { font-weight: 600; }
.font-semibold { font-weight: 700; }
.font-bold     { font-weight: 800; }

/* Sidebar aliases (backward compat - not used anymore) */
.sidebar, .sidebar-brand, .sidebar-nav, .sidebar-footer, .brand-name,
.main-wrapper, .topbar, .topbar-title, .topbar-right { /* legacy */ }

/* map-legend (used in dashboard/leaflet) */
.map-legend {
    background: rgba(255,255,255,0.96);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    min-width: 130px;
}
.map-legend strong {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-ink-muted);
    margin-bottom: 8px;
}
.map-legend .leg-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 11px;
    color: var(--color-ink);
}
.map-legend .leg-line {
    width: 24px; height: 4px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* map-popup */
.map-popup { font-family: var(--font-sans); min-width: 190px; }
.map-popup .pop-title { font-size: 13px; font-weight: 800; color: var(--color-ink); margin-bottom: 6px; }
.map-popup .pop-badge { display:inline-block; font-size:10px; padding:2px 7px;
    border-radius:100px; background:var(--color-surface); border:1px solid var(--color-border);
    color:var(--color-ink-muted); margin-bottom:8px; }
.map-popup .pop-row { display:flex; justify-content:space-between; font-size:12px; padding:2px 0; }
.map-popup .pop-row .lbl { color: var(--color-ink-muted); }
.map-popup .pop-row .val { font-weight: 800; }
.map-popup .pop-def { margin-top:8px; padding-top:8px; border-top:1px solid var(--color-border); font-size:11px; }
.map-popup .pop-def-title { font-weight:700; color:var(--color-ink-muted); text-transform:uppercase;
    font-size:10px; letter-spacing:0.05em; margin-bottom:4px; }
.map-popup .pop-def-row { display:flex; justify-content:space-between; padding:1px 0; }
.map-popup .pop-def-pts { font-family:var(--font-mono); font-weight:700; color:var(--color-danger); }

/* empty-state */
.empty-state {
    display:flex; flex-direction:column; align-items:center;
    justify-content:center; padding:32px 16px; text-align:center;
    color:var(--color-ink-faint); gap:8px;
}
.empty-state i { font-size:2rem; opacity:.35; }
.empty-state p { font-size:var(--text-sm); max-width:180px; line-height:1.5; }

/* Autocomplete (mapa avaliação) */
.autocomplete-wrap { position: relative; }
.autocomplete-list {
    position: absolute;
    top: calc(100% + 2px);
    left: 0; right: 0;
    background: var(--color-white);
    border: 2px solid var(--unb-azul-claro);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-elevated);
    z-index: 200;
    max-height: 180px;
    overflow-y: auto;
    display: none;
}
.autocomplete-list .ac-item {
    padding: 9px 12px;
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    color: var(--color-ink);
}
.autocomplete-list .ac-item:hover {
    background: var(--color-action-dim);
    color: var(--unb-azul-medio);
}

.section-disabled { opacity:0.45; pointer-events:none; }

/* Via bar (mapa avaliação) */
.via-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background: var(--unb-azul-bg);
    border: 1.5px solid #bfdbfe;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    font-size: var(--text-sm);
}
.via-bar.visible { display: flex; }
.via-bar .via-info {
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; color: var(--unb-azul-medio);
}

/* Defeitos table */
.defeitos-table { width:100%; border-collapse:collapse; font-size:var(--text-sm); }
.defeitos-table thead th {
    background: var(--color-surface);
    font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.07em;
    color: var(--color-ink-muted);
    padding: 8px 10px;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}
.defeitos-table thead th:first-child { text-align: left; }
.defeitos-table tbody tr:nth-child(even) { background: var(--color-surface); }
.defeitos-table tbody td {
    padding: 6px 8px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-ink);
}
.defeitos-table tbody td:first-child { font-weight: 600; font-size: var(--text-xs); }
.defeitos-table input[type="number"] {
    width: 66px; text-align: center;
    padding: 5px 6px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-family: var(--font-mono);
    color: var(--color-ink);
    background: var(--color-white);
}
.defeitos-table input[type="number"]:focus {
    outline: none; border-color: var(--unb-azul-claro);
    box-shadow: 0 0 0 3px rgba(26,127,193,0.15);
}

/* Form 2col */
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-2col .span-full { grid-column: 1 / -1; }

.field-hint { font-size: 11px; color: var(--color-ink-muted); margin-top: 3px; display:flex; align-items:flex-start; gap:5px; }
.field-hint i { margin-top:1px; flex-shrink:0; color:var(--unb-azul-claro); }

/* Coord inputs */
.coord-input { font-family: var(--font-mono); }

/* ============================================================
   CORREÇÕES E COMPLEMENTOS
   ============================================================ */

/* ── Fix: Topnav z-index alto para não ser sobreposta por mapas Leaflet ── */
.topnav {
    z-index: 1000 !important;
}

/* Leaflet e outros elementos de mapa ficam abaixo da navbar */
.leaflet-pane,
.leaflet-top,
.leaflet-bottom,
.leaflet-control {
    z-index: auto;
}

.leaflet-top { z-index: 800; }
.leaflet-bottom { z-index: 800; }

/* ── Botão accent (landing page) ── */
.btn-accent {
    background: var(--unb-verde);
    color: white;
    border-color: var(--unb-verde);
}
.btn-accent:hover {
    background: var(--unb-verde-claro);
    border-color: var(--unb-verde-claro);
    color: white;
}

/* ── Landing page — pub-header ── */
.pub-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.pub-header.scrolled {
    background-color: rgba(0, 33, 66, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}

.pub-header .brand {
    display: flex; align-items: center; gap: 10px; text-decoration: none;
}

.pub-header .brand .brand-icon {
    width: 34px; height: 34px;
    background-color: var(--unb-verde);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 15px;
}

.pub-header .brand .brand-name {
    font-size: var(--text-lg); font-weight: 900; color: white; letter-spacing: -0.02em;
}

.pub-header .pub-nav {
    display: flex; align-items: center; gap: 28px;
}

.pub-header .pub-nav a {
    color: rgba(255,255,255,0.75);
    font-size: var(--text-sm); font-weight: 700; text-decoration: none;
    transition: color var(--transition);
}
.pub-header .pub-nav a:hover { color: white; }

/* ── Hero ── */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 5% 60px;
    position: relative;
    overflow: hidden;
    background-color: var(--unb-azul-escuro);
}

.hero-bg {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 50% 110%, rgba(45,122,58,0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(26,127,193,0.2) 0%, transparent 60%);
}

.hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 14px;
    border: 1px solid rgba(61,171,79,0.5);
    border-radius: 100px;
    font-size: var(--text-xs); font-weight: 700;
    color: var(--unb-verde-claro);
    letter-spacing: 0.06em; text-transform: uppercase;
    margin-bottom: 24px; position: relative; z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900; letter-spacing: -0.03em; color: white;
    line-height: 1.12; max-width: 820px;
    position: relative; z-index: 1; margin-bottom: 20px;
}
.hero-title span { color: var(--unb-verde-claro); }

.hero-subtitle {
    font-size: var(--text-lg); color: rgba(255,255,255,0.60);
    max-width: 580px; line-height: 1.7;
    position: relative; z-index: 1; margin-bottom: 36px;
}

.hero-actions {
    display: flex; gap: 12px; flex-wrap: wrap;
    justify-content: center; position: relative; z-index: 1;
}

.hero-scroll {
    position: absolute; bottom: 32px; left: 50%;
    transform: translateX(-50%); z-index: 1;
    color: rgba(255,255,255,0.3); font-size: 12px; font-weight: 700;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    cursor: pointer; transition: color var(--transition);
}
.hero-scroll:hover { color: rgba(255,255,255,0.7); }
.hero-scroll i { animation: bounceY 2s infinite; }
@keyframes bounceY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ── Seções públicas ── */
.pub-section { padding: 80px 8%; }
.pub-section.alt-bg { background-color: var(--color-white); }

.section-label {
    font-size: var(--text-xs); font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--unb-verde); margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900; letter-spacing: -0.02em;
    color: var(--unb-azul-escuro); margin-bottom: 16px;
}

.section-desc {
    font-size: var(--text-base); color: var(--color-ink-muted);
    max-width: 560px; line-height: 1.75; font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px; margin-top: 48px;
}

.feature-card {
    padding: 24px;
    background: var(--color-white);
    border: 1.5px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-elevated); transform: translateY(-3px); }

.feature-icon-wrap {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: var(--unb-verde-bg);
    display: flex; align-items: center; justify-content: center;
    color: var(--unb-verde); font-size: 18px; margin-bottom: 16px;
}

.feature-card h3 {
    font-size: var(--text-base); font-weight: 800;
    margin-bottom: 8px; color: var(--unb-azul-escuro);
}
.feature-card p { font-size: var(--text-sm); color: var(--color-ink-muted); line-height: 1.65; font-weight: 600; }

/* ── Footer público ── */
.pub-footer {
    background: var(--unb-azul-escuro);
    color: rgba(255,255,255,0.5);
    padding: 36px 8%;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.pub-footer .brand { display:flex; align-items:center; gap:8px; text-decoration:none; }
.pub-footer .brand-name { font-size:var(--text-base); font-weight:900; color:white; }
.pub-footer .footer-links { display:flex; gap:20px; }
.pub-footer .footer-links a { font-size:var(--text-sm); color:rgba(255,255,255,.45); text-decoration:none; font-weight:700; transition:color var(--transition); }
.pub-footer .footer-links a:hover { color:rgba(255,255,255,.9); }
.pub-footer .copyright { font-size:var(--text-xs); color:rgba(255,255,255,.3); }

@media (max-width: 900px) {
    .pub-footer { flex-direction: column; text-align: center; }
    .features-grid { grid-template-columns: 1fr; }
}