:root {
    color-scheme: light;
    --bg: #ffffff;
    --bg-soft: #f8f9fa;
    --surface: #ffffff;
    --text: #101828;
    --muted: #667085;
    --primary: #5D21F3;
    --primary-strong: #5D21F3;
    --border: #e4e7ec;
    --shadow: 0 10px 30px rgba(16, 24, 40, 0.12);
    --radius: 16px;
    --header-offset: 110px;
    --font-heading: "Macklin Sans", system-ui, -apple-system, sans-serif;
    --font-body: "Macklin Sans body", system-ui, -apple-system, sans-serif;
    --font-scale: 1;
}

/* Tema Escuro */
[data-bs-theme="dark"] {
    color-scheme: dark;
    --bg: #0f1217;
    --bg-soft: #151a21;
    --surface: #1c2128;
    --text: #e6edf3;
    --muted: #ffffff;
    --border: #30363d;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] body {
    background-color: var(--bg);
    color: var(--text);
}

[data-bs-theme="dark"] .site-header {
    background: var(--bg-soft);
    border-color: var(--border);
}

[data-bs-theme="dark"] .pill-nav {
    border-color: var(--border);
}

[data-bs-theme="dark"] .navbar-link {
    color: var(--text);
}

[data-bs-theme="dark"] .navbar-link:hover {
    color: var(--primary);
}

[data-bs-theme="dark"] .menu-toggle {
    color: var(--text);
    border-color: var(--border);
}

[data-bs-theme="dark"] .font-btn,
[data-bs-theme="dark"] .theme-btn {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

[data-bs-theme="dark"] .font-btn:hover,
[data-bs-theme="dark"] .theme-btn:hover {
    background: var(--primary);
    color: #fff;
}

[data-bs-theme="dark"] .theme-dropdown,
[data-bs-theme="dark"] .font-controls {
    background: var(--surface);
    border-color: var(--border);
}

[data-bs-theme="dark"] .language-btn {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

[data-bs-theme="dark"] .language-btn:hover,
[data-bs-theme="dark"] .language-btn[aria-expanded="true"] {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

[data-bs-theme="dark"] .language-dropdown {
    background: var(--surface);
    border-color: var(--border);
}

[data-bs-theme="dark"] .language-option {
    color: var(--text);
}

[data-bs-theme="dark"] .theme-option {
    color: var(--text);
}

[data-bs-theme="dark"] .theme-option:hover {
    background: rgba(93, 33, 243, 0.15);
}

[data-bs-theme="dark"] .theme-option.active {
    background: rgba(93, 33, 243, 0.25);
    color: #a78bfa;
}

[data-bs-theme="dark"] .menu-toggle {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

[data-bs-theme="dark"] .menu,
[data-bs-theme="dark"] .pill-nav>ul.menu {
    border-color: var(--border);
}

[data-bs-theme="dark"] .menu a,
[data-bs-theme="dark"] .pill-nav>ul.menu a {
    color: var(--text);
}

[data-bs-theme="dark"] .section {
    background: var(--bg);
}

[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4 {
    color: var(--primary);
}

[data-bs-theme="dark"] .lead {
    color: var(--muted);
}

[data-bs-theme="dark"] .kpi {
    background: var(--bg-soft);
}

[data-bs-theme="dark"] .kpi__card {
    border-color: var(--border);
}

[data-bs-theme="dark"] .kpi__cardTitle {
    color: #fff;
}

[data-bs-theme="dark"] .kpi__currency,
[data-bs-theme="dark"] .kpi__number,
[data-bs-theme="dark"] .kpi__year,
[data-bs-theme="dark"] .kpi__unit,
[data-bs-theme="dark"] .kpi__notes,
[data-bs-theme="dark"] .kpi__notes p,
[data-bs-theme="dark"] .opps-card__text,
[data-bs-theme="dark"] .text-center,
[data-bs-theme="dark"] .text-right {
    color: #ffffff;
}

[data-bs-theme="dark"] .platform-card {
    background: var(--surface);
    border-color: var(--border);
}

[data-bs-theme="dark"] .button.primary {
    color: #fff;
}

[data-bs-theme="dark"] .button.primary:hover {
    background: var(--primary);
    color: #fff;
}

[data-bs-theme="dark"] .site-footer {
    background: var(--bg-soft);
    color: var(--muted);
}

[data-bs-theme="dark"] .risks-table,
[data-bs-theme="dark"] .goals-table {
    background: var(--surface);
    color: var(--text);
}

[data-bs-theme="dark"] .risks-table th,
[data-bs-theme="dark"] .goals-table th {
    background: var(--bg-soft);
    color: var(--text);
}

[data-bs-theme="dark"] .risks-table td,
[data-bs-theme="dark"] .goals-table td {
    border-color: var(--border);
}

[data-bs-theme="dark"] .impact-card {
    background: var(--surface);
    border-color: var(--border);
}

[data-bs-theme="dark"] .opps-card {
    background: var(--surface);
    border-color: var(--border);
}

section[id] {
    scroll-margin-top: var(--header-offset);
}

html {
    scroll-behavior: smooth;
    /* Base 18px - padrão moderno de UX para melhor legibilidade */
    font-size: calc(18px * var(--font-scale));
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: "Macklin Sans body";
    src: url("../images/fontes/MacklinSans-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Macklin Sans";
    src: url("../images/fontes/MacklinSans-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: -999px;
    background: #fff;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    z-index: 1000;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #eee8fd;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: padding 0.2s ease, background-color 0.2s ease;
}

.site-header.is-scrolled .header-inner {
    padding: 0px 0px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1.5rem;
    width: 100%;
}

 .nav-wrapper {
    width: 100%;
     margin: 0 auto;
     display: flex;
     align-items: center;
     padding: 0 40px;
     gap: 20px;
 }

 .logo {
     display: flex;
     align-items: center;
     min-width: 40px;
 }

 .logo-icon {
     height: 28px;
     /* controla o tamanho do logo */
     width: auto;
     display: block;
 }
.pill-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 50px;
    padding: 12px 50px;
    flex-grow: 1;
    justify-content: space-between;
    position: relative;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    font-weight: 600;
}

.menu-toggle:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pill-nav ul {
    list-style: none;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.pill-nav ul li a {
    text-decoration: none;
    color: #6b6b89;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.pill-nav ul li a::after {
    content: "";
    position: absolute;
    bottom: -1.2rem;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* Estado Ativo/Hover */
.pill-nav ul li a.active {
    color: var(--primary);
    font-weight: 700;
}

.pill-nav ul li a.active::after {
    transform: scaleX(1);
}

.pill-nav ul li a:hover {
    color: var(--primary);
}

.pill-nav ul li a:hover::after {
    transform: scaleX(1);
}

/* Responsividade básica */
@media (max-width: 1024px) {
    .pill-nav {
        padding: 10px 20px;
    }

    .pill-nav ul li a {
        font-size: 14px;
    }
}



/* =========================================
   Controles de Acessibilidade (Fonte)
   ========================================= */
.font-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
    flex-shrink: 0;
    height: 36px;
}

.font-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(93, 33, 243, 0.08);
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.font-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.font-btn:focus-visible {
    outline: 3px solid rgba(93, 33, 243, 0.3);
    outline-offset: 2px;
}

.font-btn:active {
    transform: scale(0.95);
}

/* =========================================
   Controle de Tema (dropdown)
   ========================================= */
.theme-control {
    position: relative;
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
    height: 36px;
}

.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(93, 33, 243, 0.08);
    color: var(--text);
    cursor: pointer;
    transition: all 0.15s ease;
}

.theme-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.theme-btn:focus-visible {
    outline: 3px solid rgba(93, 33, 243, 0.3);
    outline-offset: 2px;
}

.theme-btn[aria-expanded="true"] {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.theme-btn[aria-expanded="true"] .theme-arrow {
    transform: rotate(180deg);
}

.theme-icon {
    flex-shrink: 0;
}

.theme-arrow {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.theme-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.18s ease;
    z-index: 1002;
}

.theme-dropdown[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.12s ease;
}

.theme-option:hover {
    background: rgba(93, 33, 243, 0.08);
}

.theme-option.active {
    background: rgba(93, 33, 243, 0.12);
    color: var(--primary);
    font-weight: 700;
}

.theme-option.active::after {
    content: '✓';
    margin-left: auto;
    font-size: 14px;
    font-weight: 700;
}

.theme-option svg,
.theme-option img {
    flex-shrink: 0;
}

/* =========================================
   Controle de Idioma (Language)
   ========================================= */
.language-control {
    position: relative;
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
    height: 36px;
}

.language-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(93, 33, 243, 0.08);
    color: var(--text);
    cursor: pointer;
    transition: all 0.15s ease;
}

.language-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.language-btn:focus-visible {
    outline: 3px solid rgba(93, 33, 243, 0.3);
    outline-offset: 2px;
}

.language-btn[aria-expanded="true"] {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.language-btn[aria-expanded="true"] .language-arrow {
    transform: rotate(180deg);
}

.language-icon {
    flex-shrink: 0;
}

.language-arrow {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.18s ease;
    z-index: 1002;
}

.language-dropdown[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.12s ease;
}

.language-option:hover {
    background: rgba(93, 33, 243, 0.08);
}

.language-option.active {
    background: rgba(93, 33, 243, 0.12);
    color: var(--primary);
    font-weight: 700;
}

.language-option.active::after {
    content: '✓';
    margin-left: auto;
    font-size: 14px;
    font-weight: 700;
}

.language-option svg,
.language-option img {
    flex-shrink: 0;
}/* Mobile: tema junto com fonte */
@media (max-width: 1024px) {
    .theme-control {
        position: relative;
    }

    .theme-btn {
        height: 40px;
        padding: 0 12px;
    }

    .language-btn {
        height: 40px;
        padding: 0 12px;
    }

    .theme-dropdown {
        position: absolute;
        top: calc(100% + 8px);
        bottom: auto;
        right: 0;
        left: auto;
    }
}

/* Mobile: controles dentro do dropdown */
@media (max-width: 1024px) {
    .font-controls {
        position: static;
        top: auto;
        right: auto;
        margin-left: 6px;
        background: transparent;
        padding: 0;
        border-radius: 0;
        border: 0;
        box-shadow: none;
        z-index: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    /* Mostrar junto com o menu */
    .pill-nav:has(.menu[data-open="true"]) .font-controls {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .font-btn {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}

.cta {
    padding: 0.65rem 1.1rem;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
}

.hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(120deg, #ffffff 0%, #EEE9FD 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.tag {
    display: inline-block;
    background: #eef0ff;
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

/* .lead já definido na normalização global */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 300;
    border: 1px solid transparent;
}

.button.primary {
    background: transparent;
    color: #000000;
    border: 0.5px solid #000000;
    border-radius: 999px;
}

.button.ghost {
    border-color: var(--border);
    background: #fff;
}

.hero-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 1.5rem;
}

.stat-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--muted);
}

.section {
    width: 100%;
    padding: 60px 32px 0px 32px;
}
.section-media__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* novo grid (2 colunas fixas) */
    gap: 60px;
    /* novo gap */
    align-items: start;
    /* topo como no novo CSS */
}

.section-media__content {
    display: grid;
    gap: 1rem;
}

.section-media__image {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    /* garante o recorte */
    border-top-left-radius: 200px;
    /* única curva */
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    /* BASE RETA */
    border-bottom-right-radius: 0;
    /* BASE RETA */
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.10);
    margin-top: 77px;
}

.section-media__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* corte correto */
    object-position: left;
    display: block;
}

/* =========================================
   Section media - Mobile padrão ouro
   ========================================= */
@media (max-width: 768px) {
    .section-media__grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
        align-items: start;
    }

    .section-media__content {
        order: 1;
    }

    .ods {
        order: 2;
    }

    .section-media__image,
    .section-media__image--curve-bottom {
        order: 3;
        height: 260px;
        margin-top: 0;
        border-top-left-radius: 72px;
        border-top-right-radius: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        box-shadow: var(--shadow);
    }

    .section-media__image img:not(.img-trilhos-074),
    .section-media__image--curve-bottom img {
        object-position: center;
    }

    .section-media__image--curve-bottom {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 72px;
        border-bottom-right-radius: 0;
    }

    /* Opt-in: imagem antes do texto no mobile */
    .section-media--image-first .section-media__image,
    .section-media--image-first .section-media__image--curve-bottom {
        order: 1;
    }

    .section-media--image-first .section-media__content {
        order: 2;
    }
}

@media (max-width: 1024px) {
    .section-media__image {
        height: 400px;
        border-top-left-radius: 60px;
        /* curva menor no mobile */
        border-top-right-radius: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        box-shadow: var(--shadow);
    }
}

.section-media__image--curve-bottom {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;

    /* TOPO RETO */
    border-top-left-radius: 0;
    border-top-right-radius: 0;

    /* CURVA APENAS EMBAIXO */
    border-bottom-left-radius: 200px;
    border-bottom-right-radius: 0;

    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.10);
}

.section-media__image--curve-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    display: block;
}

@media (max-width: 1024px) {
    .section-media__image--curve-bottom {
        height: 400px;
        border-bottom-left-radius: 60px;
        border-bottom-right-radius: 0;
        box-shadow: var(--shadow);
    }
}

.section-muted {
    background: #f2f4f7;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section p {
    color: var(--muted);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.form {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form label {
    display: grid;
    gap: 0.4rem;
    font-weight: 600;
}

.form input,
.form textarea {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    font-family: inherit;
}

.site-footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--muted);
    background: #fff;
    border-top: 1px solid var(--border);
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        border: 1px solid var(--border);
        background: #fff;
        padding: 10px 14px;
        border-radius: 999px;
        font-weight: 700;
        cursor: pointer;
    }

    /* o UL vira dropdown ancorado no pill-nav */
    .menu {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;

        display: grid;
        gap: 6px;

        padding: 10px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: var(--shadow);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        pointer-events: none;
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
        z-index: 1000;
    }

    .menu[data-open="true"] {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .menu li {
        width: 100%;
    }

    .menu a {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        padding: 12px 12px;
        border-radius: 12px;
        font-size: 16px;
    }

    .menu a.active {
        background: rgba(93, 33, 243, 0.10);
    }

    /* no mobile não faz sentido justify-between no UL */
    .pill-nav ul {
        width: auto;
        justify-content: flex-start;
    }
}

/* ========================================
    HERO SECTION - LANDING PAGE
    ======================================== */
.hero-landing {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-landing__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero responsivo - Mobile */
@media (max-width: 1024px) {
    .hero-landing {
        min-height: 80vh;
    }
}

@media (max-width: 768px) {
    .hero-landing {
        min-height: 60vh;
    }

    .hero-landing__image {
        object-fit: contain;
        object-position: center top;
    }
}

@media (max-width: 480px) {
    .hero-landing {
        min-height: 26vh;
    }
}

/* Imagem Trilhos-074 - ajuste mobile */
@media (max-width: 1024px) {
    .img-trilhos-074 {
        object-fit: cover;
        object-position: left;
    }
}

/* ================================
   KPI - Layout tipo tabela (print)
   ================================ */

.kpi{
  --kpi-accent: var(--primary);
  --kpi-text: var(--text);
  --kpi-muted: #444; /* texto secundário do print (mais escuro que --muted) */

  padding: 4rem 0;
  background: #fff;
  color: var(--kpi-text);
}

/* container alinhado ao restante do site */
.kpi__container{
    width: 100%;
    padding: 0px 32px;
}

.kpi__title{
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  color: var(--kpi-text);
}

.kpi__title sup{
  font-size: 0.55em;
  vertical-align: super;
}

/* linha separadora roxa e 3 colunas fixas (como no print) */
.kpi__row{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding: 0.5rem 0 1.75rem;
  border-top: 1px solid var(--kpi-accent);
}

.kpi__row:last-of-type{
  border-bottom: 2px solid var(--kpi-accent);
}

/* card é só estrutura (sem “cartão”) */
.kpi__card{
  min-width: 0;
}

.kpi__cardTitle{
}

/* duas colunas por card (2024 | 2025) */
.kpi__values{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: start;
}

.kpi__value{
  text-align: center;
}

.kpi__main{
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  white-space: nowrap;
}

.kpi__currency,
.kpi__unit{
  font-size: 0.95rem;
  color: var(--kpi-muted);
  font-weight: 500;
}

.kpi__number{
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #333; /* como no print (2024) */
}

/* ano abaixo */
.kpi__year{
  margin-top: 0.2rem;
  font-size: 0.95rem;
  color: var(--kpi-muted);
}

/* destaque 2025 em roxo */
.kpi__value--highlight .kpi__number{
  color: var(--kpi-accent);
}

/* notas */
.kpi__notes{
  margin-top: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--kpi-muted);
}

/* ================================
   Responsivo sem quebrar estrutura
   ================================ */
/* UPDATED BREAKPOINT: 980px → 768px */
@media (max-width: 768px){
  .kpi__row{
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .kpi__values{
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    justify-items: start;
  }

  .kpi__value{
    text-align: left;
  }
}

/* UPDATED BREAKPOINT: 560px → 480px */
@media (max-width: 480px){
  .kpi__values{
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}
/* ========================================
   Plataformas (A Motiva) - no padrão do site
   ======================================== */

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    align-items: stretch;
}

.platform-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 1rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

/* detalhe sutil de acento (mantém padrão do site) */
.platform-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    opacity: 0.25;
}

/* ícone no padrão (cartão pequeno, borda dashed) */
.platform-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #EEE9FD;
    border: 1px solid rgba(93, 34, 243, 0.45);
    display: grid;
    place-items: center;
}

/* deixa pronto para inserir SVG/IMG dentro do link */
.platform-icon a {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.platform-icon svg,
.platform-icon img {
    width: 34px;
    height: 34px;
    display: block;
}

/* tipografia alinhada com seu padrão */
.platform-card h3 {
    font-size: 1.25rem;
    line-height: 1.25;
    margin: 0;
    font-weight: 700;
    color: var(--text);
}

.platform-card p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* hover consistente com o resto */
.platform-card:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

/* Responsivo */
/* UPDATED BREAKPOINT: 980px → 768px */
@media (max-width: 768px) {
    .platforms-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Seção: Riscos e oportunidades materiais
   (somente novas classes necessárias)
   ========================================= */

.section-riscos__title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 1.15;
    margin: 0 0 0.5rem;
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-riscos__subtitle {
    font-size: 1.35rem;
    margin: 0 0 1rem;
    color: var(--text);
    font-weight: 700;
}

.section-riscos__intro {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted);
    margin: 0 0 2rem;
}

/* Tabela */
.risks-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 2.5rem;
    background: #fff;
}

.risks-table thead th {
    text-align: left;
    padding: 0.85rem 1rem;
    color: var(--primary);
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    font-weight: 800;
}

.risks-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    vertical-align: top;
    color: var(--text);
}

.risks-table .tema {
    color: var(--primary);
    font-weight: 800;
    width: 28%;
}

.risks-table tbody tr:last-child td {
    border-bottom: 2px solid var(--primary);
}

/* Grid de cards */
.impacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    align-items: stretch;
}

.impact-card {
    background: #EEE9FD;
    /* no padrão do site (próximo do seu hero gradient) */
    border: 1px solid rgba(93, 34, 243, 0.20);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.card-title {
    color: var(--primary);
    font-weight: 800;
    font-size: 1rem;
    margin: 0 0 0.25rem;
}

.card-subtitle {
    color: var(--primary);
    font-size: 0.85rem;
    margin: 0 0 1.25rem;
    opacity: 0.9;
}

/* Timeline */
.timeline-container {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.purple-arrow {
    width: 8px;
    background: var(--primary);
    position: relative;
    border-radius: 999px;
    flex: 0 0 8px;
}

.purple-arrow::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 14px solid var(--primary);
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text);
}

/* Barras */
.chart-container {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 0.25rem;
}

.chart-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    gap: 0.9rem;
}

.label-cell {
    text-align: right;
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 700;
}

.bar-area {
    display: flex;
    height: 26px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
}

.bar-light {
    background: #90e0ef;
    display: flex;
    align-items: center;
    padding-left: 10px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #0b2530;
    white-space: nowrap;
}

.bar-dark {
    background: #4895ef;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

/* Legenda */
.legend {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}

.dot--light {
    background: #90e0ef;
}

.dot--dark {
    background: #4895ef;
}

/* Responsivo */
/* UPDATED BREAKPOINT: 850px → 768px */
@media (max-width: 768px) {
    .impacts-grid {
        grid-template-columns: 1fr;
    }

    .chart-row {
        grid-template-columns: 80px 1fr;
    }
}

/* =========================================
   Seção Mapa - grid igual ao layout do anexo
   ========================================= */

.section-mapa .container {
    width: min(1120px, 92%);
    /* garante padrão */
}

.section-mapa__grid {
    display: grid;
    grid-template-columns: 1fr;
    /* texto acima, mapa abaixo */
    gap: 2rem;
    align-items: start;
}

/* Coluna esquerda */
.section-mapa__content {
    display: grid;
    gap: 1rem;
    padding-top: 25px;
    max-width: 100%;
}

.section-mapa__title {
    padding-bottom: 10px;
}

.section-mapa__lead {
    margin: 0;
    max-width: 100%;
    text-align: justify;
}

/* Coluna direita (mapa grande) */
.section-mapa__figure {
    margin: 0;
    width: 100%;
    justify-self: center;
    transform: none;
}

.section-mapa__img {
    height: auto;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Responsivo */
/* UPDATED BREAKPOINT: 980px → 768px */
@media (max-width: 768px) {
    .section-mapa__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .section-mapa__figure {
        transform: none;
    }

    .section-mapa__img {
        max-width: 100%;
    }
}


/* Cards lilás */
.section-opps__cards {
    margin-top: 20px;
    display: grid;
    gap: 22px;
    max-width: 640px;
}

.opps-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    align-items: center;

    background: #EEE9FD;
    /* lilás claro */
    border-radius: 18px;
    padding: 20px 22px;
}

/* placeholder do ícone */
.opps-card__icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;

    /* só para manter o espaço mesmo sem ícone */
    border-radius: 14px;
    border: 1px solid rgba(93, 34, 243, 0.35);
    background: rgba(93, 34, 243, 0.06);
}

.opps-card__icon img,
.opps-card__icon svg {
    width: 44px;
    height: 44px;
    display: block;
}

.opps-card__text {
    font-size: 1.05rem;
    line-height: 1.45;
    color: #2f2f2f;
}

.opps-card__text strong {
    font-weight: 800;
}

/* Responsivo */
@media (max-width: 1024px) {
    .section-opps__cards {
        max-width: 100%;
    }
}

/* UPDATED BREAKPOINT: 560px → 480px */
@media (max-width: 480px) {
    .opps-card {
        grid-template-columns: 56px 1fr;
        padding: 16px 16px;
    }

    .opps-card__icon {
        width: 56px;
        height: 56px;
    }

    .opps-card__icon img,
    .opps-card__icon svg {
        width: 38px;
        height: 38px;
    }
}
/* =========================================
   Sessão: Metas Estratégicas
   ========================================= */

.section-goals {
    background: #fff;
}

.section-goals__intro {
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.section-goals__lead {
    margin-bottom: 2.5rem;
}

/* Tabela de Metas */
.goals-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.goals-table thead th {
    padding: 1rem;
    color: var(--primary);
    /* Roxo conforme a imagem */
    font-weight: 800;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    font-size: 1rem;
}

.goals-table tbody td {
    padding: 1.1rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    color: #333;
}

/* Coluna principal em negrito sutil */
.goals-table .meta-name {
    font-weight: 600;
    width: 50%;
    color: var(--text);
}

/* Última linha com borda roxa mais grossa */
.goals-table tbody tr:last-child td {
    border-bottom: 2px solid var(--primary);
}

/* Utilitários de alinhamento */
.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* Responsividade para tabelas */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {

    .goals-table thead th,
    .goals-table tbody td {
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
    }

    .goals-table .meta-name {
        width: 40%;
    }
}
/* =========================================
   Seção: Trade-offs (biodiversidade)
   (ajustada ao padrão do site)
   ========================================= */

.section-tradeoffs {
    background: #fff;
}

/* segue o mesmo ritmo das outras grids */
.section-tradeoffs__grid {
    display: grid;
    gap: 26px;
}

/* Texto */
.section-tradeoffs__content {
    display: grid;
    gap: 14px;
}

.section-tradeoffs__title {
    margin: 0;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    /* igual ao hero h1 */
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}

.section-tradeoffs__title em {
    font-style: italic;
    font-weight: 800;
}

.section-tradeoffs__lead {
    margin: 0;
    font-size: 1.1rem;
    /* igual ao .lead */
    line-height: 1.7;
    color: var(--muted);
}

/* Lista */
.section-tradeoffs__list {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
    max-width: 110ch;
}

.section-tradeoffs__list li {
    position: relative;
    padding-left: 28px;
    color: var(--muted);
    /* padrão do site */
    font-size: 1.05rem;
    /* alinhado ao texto do site */
    line-height: 1.7;
}

.section-tradeoffs__list li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--text);
    /* “bolinha” escura */
}

/* Imagem */
.section-tradeoffs__figure {
    margin: 18px 0 0;
    overflow: hidden;

    border-top-left-radius: 220px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;

    box-shadow: var(--shadow);
}

.section-tradeoffs__img {
    width: 100%;
    height: 360px;
    display: block;
    object-fit: cover;
    object-position: top;
}

/* Responsivo */
/* UPDATED BREAKPOINT: 980px → 768px */
@media (max-width: 768px) {
    .section-tradeoffs__grid {
        padding: 40px 0;
    }

    .section-tradeoffs__figure {
        border-top-left-radius: 70px;
    }

    .section-tradeoffs__img {
        height: 260px;
    }
}
/* =========================================
   ODS (grid de ícones no lugar da imagem)
   ========================================= */

body {
    font-family: var(--font-body);
    /* substitui seu inline style */
    margin: 0;
    /* figura sem margem padrão */
}

h1,
h2,
h3,
h4,
.pill-nav,
.menu-toggle,
.button,
.kpi__cardTitle,
.section-riscos__title,
.section-riscos__subtitle,
.card-title,
.card-subtitle {
    font-family: var(--font-heading);
}

h1,
h2,
h3,
h4 {
    color: var(--primary);
}

.kpi__cardTitle {
    color: #6b6b89;
}

/* ===========================================
   Normalização de tamanhos de fonte
   Baseado em boas práticas de UX (2024+)
   Base: 18px | Scale: 1.25 (Major Third)
   =========================================== */
h1 {
    font-size: 2.441rem; /* ~44px */
    font-weight: 700;
    line-height: 1.15;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.953rem; /* ~35px */
    font-weight: 700;
    line-height: 1.2;
    margin-block-start: 0.75em;
    margin-block-end: 0.5em;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.563rem; /* ~28px */
    font-weight: 600;
    line-height: 1.25;
    margin-block-start: 1em;
    margin-block-end: 0.5em;
}

h4 {
    font-size: 1.25rem; /* ~22px */
    font-weight: 600;
    line-height: 1.3;
    margin-block-start: 1em;
    margin-block-end: 0.5em;
}

p {
    font-size: 1rem; /* 18px */
    line-height: 1.6;
    margin-block-start: 0.75em;
    margin-block-end: 0.75em;
}

.lead {
    font-size: 1.125rem; /* ~20px */
    color: var(--muted);
    line-height: 1.7;
}

/* Texto pequeno para notas, legendas, etc */
small,
.text-small {
    font-size: 0.875rem; /* ~16px */
    line-height: 1.5;
}

.ods__title {
    margin: 0 0 14px;
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 800;
    color: var(--text);
}

.ods__grid {
display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    justify-content: start;
    align-content: start;
}
.ods__grid .ods__item:nth-child(8) {
    grid-column: 1;
}

.ods__item {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    /* garante cantos arredondados na imagem */
    background: #fff;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.10);
    transform: translateZ(0);
}

.ods__item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* mantém quadrado */
    object-fit: cover;
    display: block;
}

/* hover sutil, no padrão do site */
.ods__item:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

/* slot vazio opcional */
.ods__item--empty {
    box-shadow: none;
    background: transparent;
}

/* Responsivo */
@media (max-width: 1024px) {
    .ods {
        padding-top: 0;
        /* no tablet/mobile geralmente não precisa empurrar */
    }

    .ods__grid {
        max-width: 100%;
        gap: 14px;
    }
}

/* UPDATED BREAKPOINT: 560px → 480px */
@media (max-width: 480px) {
    .ods__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));        /* 3 colunas no mobile */
    }

    .ods__grid .ods__item:nth-child(8) {
        grid-column: auto;
    }

    .ods__item--empty {
        display: none;
    }
}

/* =========================================
   NAV / MENU - Ajustes Mobile (alinhado à direita)
   ========================================= */
@media (max-width: 1024px) {

    /* remove o pill grande no mobile */
    .pill-nav {
        border: 0;
        padding: 8px 12px;
        gap: 10px;
        justify-content: flex-end;
        /* tudo à direita */
        background: transparent;
    }

    /* botão Menu à direita */
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        /* empurra para a direita */
        border-radius: 999px;

        border: 1px solid var(--primary);
        background: rgba(93, 33, 243, 0.12);
        color: var(--primary);
        font-weight: 700;

        padding: 10px 14px;
        line-height: 1;
        cursor: pointer;
    }

    .menu-toggle:focus-visible {
        outline: 3px solid rgba(93, 33, 243, 0.25);
        outline-offset: 2px;
    }

    /* dropdown alinhado à direita */
    .pill-nav>ul.menu {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        /* 👉 agora abre à direita */
        left: auto;
        width: min(360px, 92vw);

        display: grid;
        grid-auto-rows: min-content;
        gap: 6px;

        padding: 12px;
        border-radius: 16px;
        border: 1px solid var(--border);
        background: #fff;
        box-shadow: var(--shadow);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: all 0.2s ease;
        z-index: 1000;
    }

    [data-bs-theme="dark"] .pill-nav>ul.menu {
        background: var(--surface);
        border-color: var(--border);
    }

    [data-bs-theme="dark"] .pill-nav>ul.menu a {
        color: var(--text);
    }

    .pill-nav>ul.menu[data-open="true"] {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* links */
    .pill-nav>ul.menu li {
        width: 100%;
    }

    .pill-nav>ul.menu a {
        display: block;
        width: 100%;
        padding: 12px;
        border-radius: 12px;
        font-size: 16px;
    }

    .pill-nav>ul.menu a.active {
        background: rgba(93, 33, 243, 0.12);
        color: var(--primary);
        font-weight: 800;
    }

    .pill-nav ul li a::after {
        content: none;
    }
}