:root {
    --e-global-color-primary: #1E4679;
    --e-global-color-secondary: #212529;
    --e-global-color-text: #343A40;
    --e-global-color-accent: #FF5722;
    --e-global-color-0077a26: #FFFFFF;
    --e-global-color-cc495c4: #F8F9FA;
    --e-global-color-fdd83df: #F1F3F5;
    --e-global-color-da7099b: #045994;
    --e-global-color-d4a87d7: #2196F3;
    --e-global-color-f68fc77: #03A9F4;
    --e-global-color-4342044: #CDEEFD;
    --e-global-color-4047cb3: #FF9800;
    --e-global-color-5b2219d: #FFC107;
    --e-global-color-fdfc12a: #FFEB3B;
    --e-global-color-fd34f5c: #E91E63;
    --e-global-color-352c0d2: #F44336;
    --e-global-color-ed14b04: #FF5722;
    --e-global-color-c17e3cf: #495057;
    --e-global-color-a1d5f93: #868E96;
    --e-global-color-b5e957a: #ADB5BD;
    --e-global-color-dcc64d9: #CED4DA;
    --e-global-color-147ecaf: #DEE2E6;
    --e-global-color-10c9bbb: #E9ECEF;
    --e-global-typography-primary-font-family: 'Rubik', sans-serif;
    --e-global-typography-secondary-font-family: 'Rubik', sans-serif;
    --e-global-typography-text-font-family: 'Rubik', sans-serif;
    --e-global-typography-accent-font-family: 'Rubik', sans-serif;
    --container-max-width: 1216px;
}

body, p, a, h1, h2, h3, h4, h5, h6, li, span, div {
    font-family: 'Rubik', sans-serif;
}

body {
    font-size: 18px;
    line-height: 1.5em;
    background-color: var(--e-global-color-cc495c4);
    color: var(--e-global-color-text);
}

h1 { font-size: 56px; line-height: 1.1em; font-weight: 700; }
h2 { font-size: 48px; line-height: 1.1em; }
h3 { font-size: 40px; line-height: 1.1em; }
h4 { font-size: 32px; line-height: 1.3em; }
h5 { font-size: 24px; line-height: 1.3em; }
h6 { font-size: 14px; line-height: 1.4em; }

a { color: var(--e-global-color-d4a87d7); }
a:hover { color: var(--e-global-color-da7099b); }

.elementor-button, .ngr-btn, .elementor-button-link {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1em;
    letter-spacing: 0.3px;
    color: var(--e-global-color-0077a26);
    background-color: var(--e-global-color-accent);
    border: 1px solid var(--e-global-color-accent);
    border-radius: 100px;
    padding: 14px 32px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.elementor-button:hover, .ngr-btn:hover, .elementor-button-link:hover {
    color: var(--e-global-color-accent);
    background-color: transparent;
    border-color: var(--e-global-color-accent);
}

.ngr-section {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

.ngr-section-wide {
    width: 100%;
}

/* Hero Section */
.ngr-hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: var(--e-global-color-primary) url('/wp-content/uploads/2023/04/fundo-globo-1.webp') 50% 50% / cover no-repeat;
    position: relative;
    padding: 0 10%;
}

.ngr-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--e-global-color-primary);
    opacity: 0.35;
    z-index: 1;
}

.ngr-hero__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.ngr-hero__title {
    color: #fff;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1em;
    margin-bottom: 24px;
}

.ngr-hero__desc {
    color: #fff;
    font-size: 20px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.ngr-hero__btn {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1em;
    letter-spacing: 0.3px;
    color: #fff;
    background-color: var(--e-global-color-accent);
    border: 1px solid var(--e-global-color-accent);
    border-radius: 100px;
    padding: 14px 32px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ngr-hero__btn:hover {
    color: var(--e-global-color-accent);
    background-color: transparent;
    border-color: var(--e-global-color-accent);
}

/* Indicators Section */
.ngr-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: -180px;
    position: relative;
    z-index: 3;
    padding: 0 16px;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
}

.ngr-indicator {
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0px 0px 32px -16px rgba(0,0,0,0.5);
}

.ngr-indicator__icon {
    width: 41px;
    height: 40px;
    margin: 0 auto 8px;
}

.ngr-indicator__icon img {
    width: 100%;
    height: auto;
}

.ngr-indicator__number {
    font-size: 40px;
    font-weight: 600;
    color: var(--e-global-color-primary);
    margin-bottom: 8px;
    line-height: 1.1;
}

.ngr-indicator__number strong {
    font-weight: 600;
}

.ngr-indicator__label {
    font-size: 16px;
    color: var(--e-global-color-text);
    line-height: 1.3em;
}

/* Section heading */
.ngr-section-heading {
    text-align: center;
    max-width: 70%;
    margin: 0 auto 24px;
}

.ngr-section-heading h2 {
    color: var(--e-global-color-primary);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2em;
}

.ngr-section-heading h2 strong, .ngr-section-heading h2 b {
    font-weight: 700;
}

/* Section with background pattern */
.ngr-section-bg-pattern {
    background-color: var(--e-global-color-cc495c4);
    background-image: url('/wp-content/uploads/2023/04/Simbolo-NGR-cinza.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    padding: 32px 0;
}

.ngr-section-bg-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--e-global-color-cc495c4);
    opacity: 0.65;
    z-index: 0;
}

.ngr-section-bg-pattern > * {
    position: relative;
    z-index: 1;
}

/* ---------- Slider ---------- */
.ngr-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.ngr-slider .swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10%;
    position: relative;
}

.ngr-slider__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(30,70,121,0.85) 0%, rgba(30,70,121,0.4) 100%);
    z-index: 1;
}

.ngr-slider__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: #fff;
}

.ngr-slider__title {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}

.ngr-slider__title strong {
    color: #00aaff;
}

.ngr-slider__desc {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.ngr-slider__btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #00aaff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.ngr-slider__btn:hover {
    background: #0088cc;
}

.ngr-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.ngr-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: #00aaff;
}

.ngr-slider .swiper-button-prev,
.ngr-slider .swiper-button-next {
    color: #fff;
}

@media (max-width: 768px) {
    .ngr-slider {
        height: 450px;
    }
    .ngr-slider__title {
        font-size: 1.75rem;
    }
    .ngr-slider__desc {
        font-size: 1rem;
    }
}

/* ---------- Soluções ---------- */
.ngr-solucoes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 2rem 1rem;
}

.ngr-solucoes__card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: #1e4679;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ngr-solucoes__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.ngr-solucoes__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ngr-solucoes__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ngr-solucoes__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1e4679;
    line-height: 1.3;
}

.ngr-solucoes__title b,
.ngr-solucoes__title strong {
    color: #00aaff;
}

.ngr-solucoes__desc {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.ngr-solucoes__btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid #1e4679;
    border-radius: 4px;
    color: #1e4679;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ngr-solucoes__card:hover .ngr-solucoes__btn {
    background: #1e4679;
    color: #fff;
}

@media (max-width: 1024px) {
    .ngr-solucoes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .ngr-solucoes {
        grid-template-columns: 1fr;
    }
}

/* ---------- Posts Grid ---------- */
.ngr-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.ngr-posts-grid__item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
}

.ngr-posts-grid__item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.ngr-posts-grid__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ngr-posts-grid__thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.ngr-posts-grid__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ngr-posts-grid__item:hover .ngr-posts-grid__thumb img {
    transform: scale(1.05);
}

.ngr-posts-grid__content {
    padding: 1.25rem;
}

.ngr-posts-grid__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e4679;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.ngr-posts-grid__excerpt {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.ngr-posts-grid__readmore {
    display: inline-block;
    color: #00aaff;
    font-weight: 500;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .ngr-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Cases Destaque ---------- */
.ngr-cases-destaque {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.ngr-cases-destaque__card {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ngr-cases-destaque__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.ngr-cases-destaque__thumb {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.ngr-cases-destaque__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ngr-cases-destaque__card:hover .ngr-cases-destaque__thumb img {
    transform: scale(1.05);
}

.ngr-cases-destaque__content {
    padding: 1.5rem;
}

.ngr-cases-destaque__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e4679;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.ngr-cases-destaque__btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #1e4679;
    color: #fff;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.ngr-cases-destaque__card:hover .ngr-cases-destaque__btn {
    background: #00aaff;
}

@media (max-width: 768px) {
    .ngr-cases-destaque {
        grid-template-columns: 1fr;
    }
    .ngr-cases-destaque__thumb {
        height: 220px;
    }
}

/* ---------- Depoimentos ---------- */
.ngr-depoimentos {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 32px 0;
}

.ngr-depoimentos .swiper {
    width: 90%;
    padding: 0 20px;
}

.ngr-depoimentos__card {
    background: #fff;
    border-radius: 8px;
    border-bottom: 3px solid var(--e-global-color-f68fc77);
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ngr-depoimentos__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 40px 40px 20px;
    border-bottom: 1px solid var(--e-global-color-fdd83df);
}

.ngr-depoimentos__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.ngr-depoimentos__meta {
    display: flex;
    flex-direction: column;
}

.ngr-depoimentos__nome {
    font-size: 14px;
    line-height: 1.3em;
    color: var(--e-global-color-primary);
}

.ngr-depoimentos__empresa {
    font-size: 14px;
    color: var(--e-global-color-a1d5f93);
}

.ngr-depoimentos__texto {
    font-size: 16px;
    font-style: italic;
    color: var(--e-global-color-text);
    line-height: 1.6;
    padding: 20px 40px 40px;
}

.ngr-depoimentos .swiper-pagination-bullet {
    background: var(--e-global-color-a1d5f93);
    opacity: 1;
}

.ngr-depoimentos .swiper-pagination-bullet-active {
    background: var(--e-global-color-primary);
}

/* ---------- Prêmios ---------- */
.ngr-premios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 2rem 1rem;
}

.ngr-premios__item {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    min-width: 200px;
    transition: transform 0.3s ease;
}

.ngr-premios__item:hover {
    transform: translateY(-4px);
}

.ngr-premios__ano {
    font-size: 2rem;
    font-weight: 700;
    color: #00aaff;
    margin-bottom: 0.5rem;
}

.ngr-premios__titulo {
    font-size: 0.9rem;
    color: #1e4679;
    font-weight: 500;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 1024px) {
    .ngr-hero__title { font-size: 42px; }
    .ngr-hero__desc { font-size: 18px; }
    .ngr-indicators { margin-top: -80px; }
    .ngr-indicator { min-width: 140px; }
}

@media (max-width: 768px) {
    .ngr-hero { min-height: 500px; padding: 0 5%; }
    .ngr-hero__title { font-size: 32px; }
    .ngr-hero__desc { font-size: 16px; }
    .ngr-indicators { margin-top: -40px; gap: 4px; }
    .ngr-indicator { min-width: 120px; padding: 16px; }
    .ngr-indicator__number { font-size: 28px; }
    .ngr-section-heading { max-width: 100%; }
    .ngr-section-heading h2 { font-size: 28px; }
}

@media (max-width: 576px) {
    .ngr-hero { min-height: 400px; }
    .ngr-hero__title { font-size: 28px; }
    .ngr-indicators { flex-direction: column; align-items: center; }
    .ngr-indicator { max-width: 280px; width: 100%; }
}

/* ========== Sobre page specific styles ========== */

/* Section: O que nos move - cards */
.elementor-element-missao-visao-valores-0,
.elementor-element-missao-visao-valores-1,
.elementor-element-missao-visao-valores-2 {
    border: 1px solid var(--e-global-color-fdd83df);
    border-radius: 0;
    padding: 40px 24px;
    transition: all 0.3s ease;
    min-height: 380px;
}

.elementor-element-missao-visao-valores-0:hover,
.elementor-element-missao-visao-valores-1:hover,
.elementor-element-missao-visao-valores-2:hover {
    background-color: #fff;
}

/* Icon alignment in sobre cards */
.elementor-element-missao-visao-valores-0 .elementor-icon,
.elementor-element-missao-visao-valores-1 .elementor-icon,
.elementor-element-missao-visao-valores-2 .elementor-icon {
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-element-missao-visao-valores-0 .elementor-icon svg,
.elementor-element-missao-visao-valores-1 .elementor-icon svg,
.elementor-element-missao-visao-valores-2 .elementor-icon svg {
    width: 80px;
    height: 80px;
    fill: var(--e-global-color-primary);
}

.elementor-element-missao-visao-valores-0 .elementor-heading-title,
.elementor-element-missao-visao-valores-1 .elementor-heading-title,
.elementor-element-missao-visao-valores-2 .elementor-heading-title {
    text-align: center;
}

/* Button styling consistent across sobre page */
.page-id-84 .elementor-button-wrapper .elementor-button {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1em;
    letter-spacing: 0.3px;
    color: #fff;
    background-color: var(--e-global-color-accent);
    border: 1px solid var(--e-global-color-accent);
    border-radius: 100px;
    padding: 14px 32px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-id-84 .elementor-button-wrapper .elementor-button:hover {
    color: var(--e-global-color-accent);
    background-color: transparent;
    border-color: var(--e-global-color-accent);
}

/* Sobre page heading sizing */
.page-id-84 h1.elementor-heading-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1em;
    color: #fff;
}

.page-id-84 h3.elementor-heading-title {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2em;
    color: var(--e-global-color-primary);
}

.page-id-84 h3.elementor-heading-title b,
.page-id-84 h3.elementor-heading-title strong {
    font-weight: 700;
}

.page-id-84 h4.elementor-heading-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3em;
    color: var(--e-global-color-primary);
}

/* Sobre page text editor styles */
.page-id-84 .elementor-widget-text-editor {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--e-global-color-text);
}

/* Banner container full width */
.page-id-84 .e-con[data-id="9005363"] {
    min-height: 480px;
    background-attachment: fixed;
}

/* CTA section background */
.page-id-84 .e-con[data-id="f4168c5"] {
    min-height: 480px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Section 5 (partner) padding fix */
.page-id-84 .e-con[data-id="59639ab"] img {
    max-width: 80%;
    height: auto;
}

/* Section 2 (institutional) right column heading width */
.page-id-84 .e-con[data-id="5d2acc6"] h3,
.page-id-84 .e-con[data-id="c2f575f"] h3 {
    max-width: 70%;
}

/* Ensure section content is centered */
.page-id-84 .e-con.e-flex {
    --flex-wrap: wrap;
}

/* Divider icon sync with public site */
.page-id-84 .elementor-widget-divider .elementor-icon i,
.page-id-84 .elementor-widget-divider .elementor-icon svg {
    color: #03A9F4;
    fill: #03A9F4;
}

/* Fix section 3 (o que nos move) columns */
.page-id-84 .e-con[data-id="8a49356"] .e-con {
    border: 1px solid var(--e-global-color-fdd83df);
    border-radius: 0;
}

.page-id-84 .e-con[data-id="8a49356"] .e-con:hover {
    background-color: #fff;
}

/* Thomson Reuters partner section */
.page-id-84 .e-con[data-id="0d898d8"] {
    background-color: #fff;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 48px;
}

/* Mobile adjustments for sobre page */
@media (max-width: 768px) {
    .page-id-84 h1.elementor-heading-title {
        font-size: 32px;
    }
    .page-id-84 h3.elementor-heading-title {
        font-size: 32px;
    }
    .elementor-element-missao-visao-valores-0,
    .elementor-element-missao-visao-valores-1,
    .elementor-element-missao-visao-valores-2 {
        min-height: auto;
        padding: 24px 16px;
    }
    .page-id-84 .e-con[data-id="0d898d8"] {
        padding: 40px 24px;
    }
}
