/* ============================================================
   GMS Footer Builder — footer.css  v1.0.0
   Replica fiel do Footer Vite (InfoSolut)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Custom properties (overridden inline pelo widget) ──────── */
.kng-footer {
    --kng-footer-bg:     #0f172a;
    --kng-footer-accent: #2F60FF;

    /* Tokens internos */
    --kf-text-muted:   #94a3b8;   /* slate-400 */
    --kf-text-dim:     #475569;   /* slate-600 */
    --kf-text-light:   #cbd5e1;   /* slate-300 */
    --kf-border:       rgba(255,255,255,.10);
    --kf-icon-bg:      rgba(255,255,255,.10);
    --kf-radius:       9999px;

    background-color: var(--kng-footer-bg);
    color: #ffffff;
    width: 100%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-top: 3rem;
}

/* ── Inner container ────────────────────────────────────────── */
.kng-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 2rem 0;
}

@media (max-width: 768px) {
    .kng-footer-inner { padding: 3rem 1rem 0; }
}

/* ── 4-column grid ──────────────────────────────────────────── */
.kng-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--kf-border);
}

@media (max-width: 1024px) {
    .kng-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .kng-footer-grid { grid-template-columns: 1fr; }
}

/* ── Brand column ───────────────────────────────────────────── */
.kng-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.kng-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

/* 3×3 dot grid */
.kng-footer-dots {
    display: grid;
    grid-template-columns: repeat(3, 6px);
    gap: 2px;
}

.kng-footer-dots span {
    display: block;
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 2px;
}

.kng-footer-brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff;
}

.kng-footer-desc {
    color: var(--kf-text-muted);
    font-size: 0.875rem;
    line-height: 1.75;
    margin: 0;
}

/* Socials row */
.kng-footer-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.kng-footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--kf-radius);
    background: var(--kf-icon-bg);
    color: #ffffff;
    text-decoration: none;
    transition: background 0.2s;
    flex-shrink: 0;
}

.kng-footer-social-btn:hover {
    background: var(--kng-footer-accent);
    color: #ffffff;
}

/* ── Generic column ─────────────────────────────────────────── */
.kng-footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kng-footer-col-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.625rem;
    font-weight: 700;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0;
}

.kng-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.kng-footer-link {
    color: var(--kf-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.kng-footer-link:hover { color: #ffffff; }

.kng-footer-text {
    color: var(--kf-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
    cursor: default;
}

.kng-footer-text:hover { color: #ffffff; }

/* ── Contact column ─────────────────────────────────────────── */
.kng-footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kng-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.kng-footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--kf-radius);
    background: var(--kf-icon-bg);
    color: #ffffff;
    flex-shrink: 0;
    margin-top: 2px;
    transition: background 0.2s;
}

a.kng-footer-contact-item:hover .kng-footer-contact-icon {
    background: var(--kng-footer-accent);
}

.kng-footer-contact-text {
    display: flex;
    flex-direction: column;
}

.kng-footer-contact-label {
    color: var(--kf-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.6;
    transition: color 0.2s;
}

a.kng-footer-contact-item:hover .kng-footer-contact-label { color: #ffffff; }

.kng-footer-contact-sub {
    color: var(--kf-text-dim);
    font-size: 0.75rem;
    font-weight: 500;
}

/* Address */
.kng-footer-address-line {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--kf-text-muted);
    line-height: 1.6;
}

.kng-footer-address-main {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--kf-text-light);
}

/* ── Bottom bar ─────────────────────────────────────────────── */
.kng-footer-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.5rem 0;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .kng-footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.kng-footer-copy {
    font-size: 0.75rem;
    color: var(--kf-text-dim);
    margin: 0;
}

.kng-footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.kng-footer-cnpj {
    font-size: 0.75rem;
    color: var(--kf-text-dim);
    margin: 0;
}

.kng-footer-collaborator {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--kf-text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.kng-footer-collaborator:hover { color: #ffffff; }

/* ── Reset overrides for common WordPress/Elementor resets ───── */
.kng-footer ul { list-style: none; margin: 0; padding: 0; }
.kng-footer p  { margin: 0; }
.kng-footer a  { text-decoration: none; }
