:root {
    --gde-primary: #1455d9;
    --gde-primary-dark: #0f3f9f;
    --gde-accent: #00b894;
    --gde-text: #162033;
    --gde-muted: #667085;
    --gde-border: rgba(20, 85, 217, 0.12);
    --gde-bg: #f5f8ff;
    --gde-card: #ffffff;
    --gde-shadow: 0 18px 50px rgba(20, 32, 51, 0.12);
}

.gde-wrapper,
.gde-single-wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 40px auto;
    color: var(--gde-text);
    font-family: inherit;
}

.gde-hero {
    position: relative;
    overflow: visible;
    margin-bottom: 28px;
    padding: 42px;
    border-radius: 28px;
    background: radial-gradient(circle at top right, rgba(0, 184, 148, 0.20), transparent 35%), linear-gradient(135deg, #0f3f9f 0%, #1455d9 55%, #4c7dff 100%);
    color: #ffffff;
    box-shadow: var(--gde-shadow);
}

.gde-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gde-hero h2,
.gde-single-hero h1 {
    margin: 0 0 12px;
    color: inherit;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.05;
    font-weight: 900;
}

.gde-hero p {
    max-width: 720px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
}

.gde-search-box {
    position: relative;
    max-width: 680px;
}

.gde-search-input {
    width: 100%;
    min-height: 58px;
    padding: 0 20px;
    border: 0;
    border-radius: 18px;
    outline: none;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.16);
    color: var(--gde-text);
    font-size: 1rem;
}

.gde-search-input:focus {
    box-shadow: 0 0 0 4px rgba(0, 184, 148, 0.25), 0 15px 35px rgba(0, 0, 0, 0.16);
}

.gde-suggestions {
    display: none;
    position: absolute;
    z-index: 50;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
}

.gde-suggestion {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    color: var(--gde-text);
    text-decoration: none;
    border-bottom: 1px solid #eef2f7;
}

.gde-suggestion:hover {
    background: #f8fbff;
}

.gde-suggestion img,
.gde-suggestion-placeholder {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 12px;
    object-fit: cover;
    background: #e8eefb;
}

.gde-suggestion strong,
.gde-suggestion small {
    display: block;
}

.gde-suggestion small {
    color: var(--gde-muted);
}

.gde-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.gde-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid var(--gde-border);
    border-radius: 24px;
    background: var(--gde-card);
    box-shadow: 0 12px 34px rgba(20, 32, 51, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gde-card:hover {
    transform: translateY(-5px);
    border-color: rgba(20, 85, 217, 0.28);
    box-shadow: var(--gde-shadow);
}

.gde-card-image {
    display: block;
    aspect-ratio: 1.35 / 1;
    overflow: hidden;
    background: #eef3fb;
}

.gde-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gde-card:hover .gde-card-image img {
    transform: scale(1.05);
}

.gde-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.gde-card-body h3 {
    margin: 0 0 10px;
    color: var(--gde-text);
    font-size: 1.12rem;
    line-height: 1.2;
    font-weight: 850;
}

.gde-card-info,
.gde-card-excerpt {
    margin: 0 0 10px;
    color: var(--gde-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.gde-address {
    min-height: 38px;
}

.gde-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    min-height: 44px;
    margin-top: auto;
    padding: 0 18px;
    border: 1px solid var(--gde-primary);
    border-radius: 999px;
    background: var(--gde-primary);
    color: #ffffff !important;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.gde-btn:hover {
    transform: translateY(-2px);
    background: var(--gde-primary-dark);
    border-color: var(--gde-primary-dark);
}

.gde-btn-outline {
    background: transparent;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.56);
}

.gde-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
}

.gde-empty,
.gde-no-results {
    grid-column: 1 / -1;
    padding: 22px;
    border-radius: 18px;
    background: #ffffff;
    color: var(--gde-muted);
    text-align: center;
}

.gde-single-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 28px;
    align-items: stretch;
    overflow: hidden;
    margin-bottom: 28px;
    padding: 28px;
    border-radius: 30px;
    background: linear-gradient(135deg, #0f3f9f 0%, #1455d9 55%, #00b894 100%);
    color: #ffffff;
    box-shadow: var(--gde-shadow);
}

.gde-single-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
}

.gde-back {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.88) !important;
    text-decoration: none !important;
    font-weight: 700;
}

.gde-single-location {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
}

.gde-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gde-single-hero-image {
    min-height: 360px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.16);
}

.gde-single-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gde-single-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 24px;
    margin-bottom: 24px;
}

.gde-single-card {
    padding: 28px;
    border: 1px solid var(--gde-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(20, 32, 51, 0.08);
}

.gde-single-card h2 {
    margin: 0 0 18px;
    color: var(--gde-text);
    font-size: 1.55rem;
    font-weight: 850;
}

.gde-content,
.gde-contact-card p {
    color: var(--gde-muted);
    line-height: 1.75;
}

.gde-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.gde-socials strong {
    width: 100%;
    color: var(--gde-text);
}

.gde-socials a {
    display: inline-flex;
    padding: 9px 12px;
    border-radius: 999px;
    background: var(--gde-bg);
    color: var(--gde-primary) !important;
    font-weight: 750;
    text-decoration: none !important;
}

.gde-gallery-section,
.gde-map-section {
    margin-top: 24px;
}

.gde-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.gde-gallery-item {
    display: block;
    aspect-ratio: 1 / 0.78;
    overflow: hidden;
    border-radius: 18px;
    background: #eef3fb;
}

.gde-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.gde-gallery-item:hover img {
    transform: scale(1.06);
}

.gde-map iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: 18px;
}

.gde-lightbox {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 18, 38, 0.86);
}

.gde-lightbox img {
    max-width: min(1100px, 96vw);
    max-height: 88vh;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.gde-lightbox-close {
    position: fixed;
    top: 22px;
    right: 24px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: var(--gde-text);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 1100px) {
    .gde-grid,
    .gde-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .gde-grid,
    .gde-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gde-single-hero,
    .gde-single-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .gde-wrapper,
    .gde-single-wrap {
        width: min(100% - 22px, 1180px);
        margin: 24px auto;
    }

    .gde-hero,
    .gde-single-hero,
    .gde-single-card {
        padding: 22px;
        border-radius: 22px;
    }

    .gde-grid,
    .gde-gallery {
        grid-template-columns: 1fr;
    }

    .gde-single-hero-image {
        min-height: 240px;
    }

    .gde-actions,
    .gde-actions .gde-btn {
        width: 100%;
    }
}

/* Header e footer próprios do Guia de Empresas */
.gde-site-header {
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto 0;
    position: relative;
    z-index: 20;
}

.gde-site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 14px 18px;
    border: 1px solid rgba(20, 85, 217, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 42px rgba(20, 32, 51, 0.10);
    backdrop-filter: blur(14px);
}

.gde-site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gde-text) !important;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-decoration: none !important;
    white-space: nowrap;
}

.gde-site-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gde-primary), var(--gde-accent));
    color: #ffffff;
    font-size: 0.92rem;
    box-shadow: 0 10px 24px rgba(20, 85, 217, 0.24);
}

.gde-site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
}

.gde-site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 999px;
    color: var(--gde-muted) !important;
    font-size: 0.94rem;
    font-weight: 800;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gde-site-nav a:hover {
    transform: translateY(-1px);
    background: var(--gde-bg);
    color: var(--gde-primary) !important;
}

.gde-site-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 28px;
}

.gde-site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 74px;
    padding: 18px;
    border: 1px solid rgba(20, 85, 217, 0.12);
    border-radius: 22px;
    background: linear-gradient(135deg, #0f3f9f 0%, #1455d9 100%);
    box-shadow: 0 16px 42px rgba(20, 32, 51, 0.12);
}

.gde-site-footer-inner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
}

.gde-site-footer-inner a {
    color: #ffffff !important;
    font-weight: 850;
    text-decoration: none !important;
}

.gde-site-footer-inner a:hover {
    text-decoration: underline !important;
}

@media (max-width: 720px) {
    .gde-site-header {
        width: min(100% - 22px, 1180px);
        margin-top: 18px;
    }

    .gde-site-header-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
    }

    .gde-site-brand {
        justify-content: center;
    }

    .gde-site-nav {
        justify-content: center;
        gap: 8px;
    }

    .gde-site-nav a {
        min-height: 36px;
        padding: 0 11px;
        font-size: 0.9rem;
        background: #f7faff;
    }

    .gde-site-footer {
        width: min(100% - 22px, 1180px);
        margin-bottom: 22px;
    }
}

/* Header/footer premium V2 — pensado para páginas feitas com Elementor */
.gde-elementor-friendly,
.gde-elementor-friendly * {
    box-sizing: border-box;
}

.gde-site-header.gde-elementor-friendly {
    width: min(1180px, calc(100% - 32px));
    margin: 24px auto 24px;
    padding: 0;
    font-family: inherit;
}

.gde-site-header-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 84px;
    padding: 14px 16px 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.92)) padding-box,
        linear-gradient(135deg, rgba(20, 85, 217, 0.30), rgba(0, 184, 148, 0.30)) border-box;
    box-shadow: 0 18px 55px rgba(15, 31, 68, 0.13);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.gde-site-header-shell::before {
    content: "";
    position: absolute;
    inset: 10px auto auto 18px;
    width: 120px;
    height: 38px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(0, 184, 148, 0.18), transparent 68%);
    pointer-events: none;
}

.gde-site-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
    color: #101828 !important;
    text-decoration: none !important;
}

.gde-site-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1455d9 0%, #00b894 100%);
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 950;
    letter-spacing: -0.02em;
    box-shadow: 0 14px 32px rgba(20, 85, 217, 0.28);
}

.gde-site-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.05;
}

.gde-site-brand-text strong {
    color: #101828;
    font-size: 1.08rem;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.gde-site-brand-text small {
    color: #667085;
    font-size: 0.76rem;
    font-weight: 750;
}

.gde-site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
}

.gde-site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 15px;
    border-radius: 999px;
    color: #344054 !important;
    font-size: 0.94rem;
    font-weight: 850;
    line-height: 1;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gde-site-nav a:hover,
.gde-site-nav a:focus {
    transform: translateY(-2px);
    background: #1455d9;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(20, 85, 217, 0.24);
    outline: none;
}

.gde-site-nav a:nth-child(4) {
    background: rgba(0, 184, 148, 0.11);
    color: #027a63 !important;
}

.gde-site-nav a:nth-child(4):hover,
.gde-site-nav a:nth-child(4):focus {
    background: #00b894;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(0, 184, 148, 0.24);
}

.gde-site-footer.gde-elementor-friendly {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 28px;
    padding: 0;
    font-family: inherit;
}

.gde-site-footer-shell {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 86px;
    padding: 22px 26px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top left, rgba(0, 184, 148, 0.34), transparent 34%),
        linear-gradient(135deg, #071226 0%, #0f3f9f 58%, #1455d9 100%);
    color: #ffffff;
    box-shadow: 0 18px 55px rgba(15, 31, 68, 0.18);
}

.gde-site-footer-shell::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.gde-site-footer-shell > span {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.96rem;
    font-weight: 850;
}

.gde-site-footer-shell p {
    position: relative;
    z-index: 1;
    margin: 0;
}

.gde-site-footer-shell a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    font-weight: 900;
    text-decoration: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.gde-site-footer-shell a:hover,
.gde-site-footer-shell a:focus {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.20);
    outline: none;
}

@media (max-width: 900px) {
    .gde-site-header-shell {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
        min-height: auto;
    }

    .gde-site-brand {
        justify-content: center;
    }

    .gde-site-nav {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .gde-site-header.gde-elementor-friendly,
    .gde-site-footer.gde-elementor-friendly {
        width: min(100% - 22px, 1180px);
    }

    .gde-site-header-shell {
        border-radius: 22px;
        padding: 16px;
    }

    .gde-site-brand-text small {
        display: none;
    }

    .gde-site-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .gde-site-nav a {
        width: 100%;
        min-height: 44px;
        background: #f4f7ff;
        font-size: 0.9rem;
    }

    .gde-site-nav a:last-child {
        grid-column: 1 / -1;
    }

    .gde-site-footer-shell {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        border-radius: 22px;
    }
}
