/* Desativa scroll anchoring — evita salto da página ao filtrar */
html, body { overflow-anchor: none; }

/* ══════════════════════════════════════════════════════════════
   clientes.css — Ideia Good v2   |   prefixo: cl-
   Cores hardcoded — sem depender de variáveis do global.css
   ══════════════════════════════════════════════════════════════ */

#cl-hero {
    background: linear-gradient(135deg,#080d1a 0%,#081528 55%,#0a1e38 100%);
    padding: 110px 0 80px;
    position: relative;
    overflow: hidden;
}
#cl-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%,rgba(15,119,180,.14) 0%,transparent 60%);
    pointer-events: none;
}
.cl-glow { position:absolute; border-radius:50%; filter:blur(80px); pointer-events:none; }
.cl-glow1 { width:500px;height:500px;background:rgba(15,119,180,.07);top:-120px;right:-80px; }
.cl-glow2 { width:300px;height:300px;background:rgba(255,152,0,.05);bottom:-60px;left:10%; }

.cl-eyebrow {
    display: inline-flex; align-items:center; gap:7px;
    font-size:11px; font-weight:600; letter-spacing:2px; text-transform:uppercase;
    color: #FF9800;
    background: rgba(255,152,0,.1);
    border: 1px solid rgba(255,152,0,.25);
    padding: 5px 14px; border-radius:100px; margin-bottom:20px;
}
#cl-hero h1 {
    font-family: var(--fh);
    font-size: clamp(36px,5vw,58px); font-weight:800; line-height:1.1;
    margin-bottom:16px;
    color: #f0f8ff;
}
#cl-hero h1 em { color:#5bb8f0; font-style:normal; }
#cl-hero p { font-size:16px; color:rgba(160,190,220,.75); font-weight:300; line-height:1.75; }

/* STATS */
#cl-stats {
    background: #ffffff;
    border-bottom: 1px solid #dce5f0;
    padding: 36px 0;
    box-shadow: 0 2px 8px rgba(0,20,60,.06);
}
.cl-stats-row { display:grid; grid-template-columns:repeat(4,1fr); }
.cl-stats-row--5 { grid-template-columns:repeat(5,1fr); }
.cl-stat { text-align:center; padding:0 20px; position:relative; }
.cl-stat+.cl-stat::before {
    content:''; position:absolute; left:0; top:15%; height:70%;
    width:1px; background:#dce5f0;
}
.cl-stat strong {
    display:block; font-family:var(--fh); font-size:40px;
    font-weight:800; color:#0C1A33; line-height:1;
}
.cl-stat span { font-size:12.5px; color:#4a6585; margin-top:6px; display:block; }
.cl-blue { color:#0F77B4; }

/* MARQUEE */
/* CORPO */
#cl-body { background:#f0f5fa; padding:28px 0 40px; }

.cl-toolbar {
    display:flex; align-items:center; justify-content:space-between;
    gap:16px; margin-bottom:24px; flex-wrap:wrap;
    scroll-margin-top: 100px; /* offset para menu fixo */
}
.cl-search {
    display:flex; align-items:center; gap:10px;
    background:#ffffff; border:1px solid #dce5f0; border-radius:10px;
    padding:0 16px; height:44px; flex:1; max-width:340px;
    box-shadow:0 1px 4px rgba(0,20,60,.05);
}
.cl-search i { color:#4a6585; font-size:14px; flex-shrink:0; }
.cl-search input {
    border:none; outline:none; background:none;
    font-size:14px; color:#0C1A33; width:100%; font-family:var(--fb);
}
.cl-search input::placeholder { color:#8ea8c0; }

.cl-tabs { display:flex; gap:6px; flex-wrap:wrap; }
.cl-tab {
    padding:8px 16px; font-size:13px; font-weight:500; color:#4a6585;
    background:#ffffff; border:1px solid #dce5f0; border-radius:100px;
    cursor:pointer; font-family:var(--fb); transition:all .2s; white-space:nowrap;
}
.cl-tab.on { color:#fff; background:#0F77B4; border-color:#0F77B4; }
.cl-tab:hover:not(.on) { border-color:rgba(15,119,180,.4); color:#0F77B4; }

/* LISTA DIRETÓRIO */
/* VER MAIS */
.cl-mais-wrap { text-align:center; margin-top:24px; }
.cl-btn-mais {
    background:#ffffff; border:1px solid #dce5f0; color:#0F77B4;
    padding:12px 28px; border-radius:100px; font-size:14px; font-weight:600;
    cursor:pointer; font-family:var(--fb);
    display:inline-flex; align-items:center; gap:8px; transition:all .2s;
    box-shadow:0 2px 8px rgba(0,20,60,.06);
}
.cl-btn-mais:hover { background:#0F77B4; color:#fff; border-color:#0F77B4; }
.cl-mais-n { font-size:12px; font-weight:400; opacity:.8; }

/* INFO BOX */
.cl-info-box {
    display:flex; gap:12px; align-items:flex-start;
    background:#fff; border:1px solid #dce5f0;
    border-left:3px solid #0F77B4; border-radius:0 10px 10px 0;
    padding:14px 18px; margin-top:24px;
}
.cl-info-box i { color:#0F77B4; font-size:15px; flex-shrink:0; margin-top:2px; }
.cl-info-box p { font-size:13px; color:#4a6585; line-height:1.6; }
.cl-info-box strong { color:#0C1A33; }

/* SEGMENTOS */
#cl-segs {
    background:#ffffff; padding:72px 0;
    border-top:1px solid #dce5f0; border-bottom:1px solid #dce5f0;
}
.cl-segs-header { text-align:center; margin-bottom:48px; }
.cl-segs-header h2 {
    font-family:var(--fh); font-size:clamp(22px,3vw,34px);
    font-weight:800; color:#0C1A33; margin-bottom:10px;
}
.cl-segs-header p { font-size:15px; color:#4a6585; max-width:460px; margin:0 auto; line-height:1.7; }
.cl-segs-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.cl-seg-card {
    background:#f0f5fa; border:1px solid #dce5f0;
    border-radius:16px; padding:28px 22px; text-align:center;
}
.cl-seg-ico {
    width:54px;height:54px;border-radius:16px;
    display:flex;align-items:center;justify-content:center;
    font-size:22px;margin:0 auto 16px;
}
.cl-seg-card h3 { font-family:var(--fh);font-size:16px;font-weight:700;color:#0C1A33;margin-bottom:8px; }
.cl-seg-card p { font-size:13px;color:#4a6585;line-height:1.6; }
.si-sp { background:#e3f2fd;color:#0277bd; }
.si-pr { background:#fff3e0;color:#e65100; }
.si-sa { background:#e0f7fa;color:#006064; }
.si-in { background:#f3e5f5;color:#6a1b9a; }

/* CTA */
.cl-cta { background:linear-gradient(135deg,#060e1a,#091830); padding:96px 0; }
.cl-cta-inner { text-align:center; }
.cl-cta-inner h2 {
    font-family:var(--fh);font-size:clamp(26px,4vw,44px);font-weight:800;
    color:#f0f8ff;margin-bottom:14px;
}
.cl-cta-inner p { font-size:16px;color:rgba(160,190,220,.75);font-weight:300;max-width:440px;margin:0 auto 36px;line-height:1.7; }
.cl-cta-btns { display:flex;gap:14px;justify-content:center;flex-wrap:wrap; }
.cl-btn-p {
    background:#0F77B4;color:#fff;border:none;
    padding:15px 30px;border-radius:10px;font-size:15px;font-weight:600;
    cursor:pointer;font-family:var(--fb);display:inline-flex;align-items:center;gap:8px;transition:background .2s;
}
.cl-btn-p:hover { background:#1a8fd4; }
.cl-btn-wpp {
    background:#25d366;color:#fff;padding:15px 26px;border-radius:10px;
    font-size:15px;font-weight:600;font-family:var(--fb);
    display:inline-flex;align-items:center;gap:8px;transition:background .2s;text-decoration:none;
}
.cl-btn-wpp:hover { background:#1db954; }

/* Paleta logos */
.c-blue   { background:#e3f2fd;color:#0277bd; }
.c-teal   { background:#e0f7fa;color:#006064; }
.c-green  { background:#e8f5e9;color:#2e7d32; }
.c-purple { background:#f3e5f5;color:#6a1b9a; }
.c-orange { background:#fff3e0;color:#e65100; }
.c-red    { background:#ffebee;color:#c62828; }
.c-indigo { background:#e8eaf6;color:#283593; }
.c-amber  { background:#fffde7;color:#f57f17; }

/* Responsive */
@media (max-width:1024px) {
    .cl-stats-row  { grid-template-columns:1fr 1fr; }
    .cl-stat--principal { grid-column:1 / -1; }
    .cl-stat+.cl-stat::before { display:none; }
    .cl-stat       { padding:16px 20px; }
    .cl-stat--principal { grid-column:1 / -1; border-bottom:1px solid rgba(255,255,255,.12); padding-bottom:20px; margin-bottom:4px; }
    .cl-segs-grid  { grid-template-columns:repeat(2,1fr); }
    .cl-toolbar    { flex-direction:column; align-items:stretch; gap:12px; }
    .cl-search {
        width:100%; max-width:100%;
        height:44px; flex:none;
        background:#ffffff;
        border:1px solid #dce5f0;
        border-radius:10px;
        padding:0 16px;
        display:flex; align-items:center; gap:10px;
        box-shadow:0 1px 4px rgba(0,20,60,.05);
    }
}
@media (max-width:600px) {
    .cl-stats-row  { grid-template-columns:1fr 1fr; }
    .cl-stat--principal { grid-column:1 / -1; }
    .cl-segs-grid  { grid-template-columns:1fr; }
}

/* ═══════════════════════════════════════
   GRADE DE LOGOS
   ═══════════════════════════════════════ */

.cl-logos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

/* ── Card ───────────────────────────────────────────────── */
.cl-logo-card {
    position: relative;
    background: #fff;
    border: 1.5px solid #e8eef5;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: default;
    transition: border-color .22s, box-shadow .22s, transform .22s;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.cl-logo-card:hover {
    border-color: #0F77B4;
    box-shadow: 0 8px 28px rgba(15,119,180,.14);
    transform: translateY(-3px);
}

/* ── Face da logo ───────────────────────────────────────── */
.cl-logo-face {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    padding: 12px 14px;
    background: #fafcff;
    border-bottom: 1px solid #f0f4f9;
}
.cl-logo-img {
    max-width: calc(100% - 8px);
    max-height: 96px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform .22s, filter .22s;
    filter: grayscale(15%);
}
.cl-logo-card:hover .cl-logo-img {
    filter: grayscale(0%);
    transform: scale(1.04);
}

/* Avatar (sem logo) */
.cl-logo-av {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

/* ── Rodapé do card ─────────────────────────────────────── */
.cl-logo-footer {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.cl-logo-nome {
    font-size: 11.5px;
    font-weight: 600;
    color: #1e3a5a;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cl-logo-local {
    font-size: 10.5px;
    color: #8ea8c0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Ponto de segmento (canto inferior direito) ─────────── */
.cl-logo-seg-dot {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    opacity: .6;
}
.cl-dot-publico      { background: #0F77B4; }
.cl-dot-privado      { background: #16a34a; }
.cl-dot-internacional { background: #f59e0b; }

/* ── Oculto (paginação) ─────────────────────────────────── */
.cl-hidden { display: none !important; }

/* ── Responsivo ─────────────────────────────────────────── */
@media (max-width:900px) {
    .cl-logos-grid { grid-template-columns: repeat(2, 1fr); gap:12px; }
}
@media (max-width:480px) {
    .cl-logos-grid { grid-template-columns: repeat(2, 1fr); gap:10px; }
    .cl-logo-face  { height:80px; padding:12px; }
    .cl-logo-img   { max-height:48px; }
}


.cl-nota { font-size:12.5px;color:#8ea8c0;text-align:center;margin-top:40px;margin-bottom:0;line-height:1.6; }
