
/* GlobalWeb V3 Premium - Rodape personalizavel */

footer.gw-footer {
    overflow-wrap: anywhere;
}

footer.gw-footer.gw-footer-custom {
    text-align: var(--gw-footer-align, center);
}

footer.gw-footer-custom a {
    color: var(--gw-footer-link, inherit);
}

.gw-footer-content {
    display: flex;
    flex-direction: column;
    align-items: var(--gw-footer-items, center);
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
}

.gw-footer-logo {
    display: block;
    width: var(--gw-footer-logo-width, 120px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.gw-footer-social-title {
    font-size: 1.05em;
    font-weight: 600;
    color: inherit;
    margin-bottom: 12px;
}

.gw-footer-socials,
.gw-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: var(--gw-footer-items, center);
    align-items: center;
    max-width: 100%;
}

.gw-footer-socials {
    gap: var(--gw-footer-icon-gap, 12px);
}

footer.gw-footer .gw-footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: var(--gw-footer-icon-size, 44px);
    height: var(--gw-footer-icon-size, 44px);
    background: var(--gw-footer-icon-bg, #008cff);
    color: var(--gw-footer-icon-color, #ffffff);
    border-radius: 50%;
    box-sizing: border-box;
    overflow: hidden;
    transition: transform .15s ease;
}

footer.gw-footer a.gw-footer-social-icon:hover {
    transform: translateY(-2px);
}

footer.gw-footer .gw-footer-shape-square {
    border-radius: 0;
}

footer.gw-footer .gw-footer-shape-rounded {
    border-radius: 10px;
}

footer.gw-footer .gw-footer-shape-plain {
    background: transparent;
    border-radius: 0;
}

.gw-footer-icon-mask {
    display: block;
    width: 58%;
    height: 58%;
    background: currentColor;
    -webkit-mask: var(--gw-icon) center / contain no-repeat;
    mask: var(--gw-icon) center / contain no-repeat;
}

.gw-footer-social-icon img {
    display: block;
    width: 78%;
    height: 78%;
    object-fit: contain;
}

.gw-footer-links {
    gap: 10px 22px;
    font-size: .9em;
}

.gw-footer-links a:hover {
    text-decoration: underline;
}

.gw-footer a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.gw-footer-copyright {
    white-space: pre-line;
    color: inherit;
}

.gw-footer-editor-section {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid #d8e0eb;
    border-radius: 10px;
    background: #f8fafc;
    color: #14233e;
    min-width: 0;
}

.gw-footer-editor-section h3,
.gw-footer-editor-section h4 {
    color: #14233e;
    margin: 0;
}

.gw-footer-editor-section h3 {
    font-size: 16px;
}

.gw-footer-editor-section h4 {
    font-size: 14px;
}

.gw-footer-editor-section input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.gw-footer-editor-section input[type="color"] {
    width: 100%;
    height: 42px;
    padding: 4px;
}

.gw-footer-editor-preview {
    display: block;
    width: 100%;
    max-height: 140px;
    object-fit: contain;
    background: #e9eef5;
    border-radius: 8px;
}

.gw-footer-icon-preview {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
}

.gw-footer-editor-item {
    display: grid;
    gap: 9px;
    padding: 12px;
    background: white;
    border: 1px solid #d8e0eb;
    border-radius: 8px;
    min-width: 0;
}

.gw-footer-editor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gw-footer-editor-section button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    footer.gw-footer-custom {
        padding: 26px 16px;
    }

    .gw-footer-content {
        gap: 16px;
    }

    .gw-footer-links {
        gap: 12px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gw-footer-social-icon {
        transition: none;
    }
}

footer.gw-footer.gw-footer-has-background {
    background: var(--gw-footer-bg);
}

footer.gw-footer.gw-footer-has-text-color {
    color: var(--gw-footer-text);
}


/* Aperfeicoamentos do painel de rodape */

.gw-footer-builtin-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #008cff;
    color: #ffffff;
}

.gw-footer-social-section {
    max-width: 100%;
    min-width: 0;
}

.gw-footer-content > * {
    max-width: 100%;
    min-width: 0;
}

.gw-footer-editor-item input,
.gw-footer-editor-item select {
    box-sizing: border-box;
    min-width: 0;
}
