/* Ecobit — design system comum a todas as páginas (eco-fintech).
   Complementa o Tailwind (CDN) com tokens da marca, o shell (sidebar/header),
   componentes reutilizáveis (cards, botões, campos, tabelas) e as peças do
   dashboard da conta (gráfico, transações, anel de progresso). */

:root {
    --eco-deep: #04302B;
    --eco-dark: #0B3D2E;
    --eco-lime: #5CF03A;
    --eco-green: #16A34A;
    --eco-gold: #C89116;
    --eco-gold-soft: #F6EBCF;
    --eco-surface: #F4F7F4;
    --eco-ink: #0F1F1A;
    --eco-muted: #6B7A74;
    --eco-line: #E7ECE8;
    --eco-danger: #D14343;
    --eco-radius: 20px;
    --eco-shadow: 0 1px 2px rgba(4, 48, 43, .04), 0 12px 32px -16px rgba(4, 48, 43, .14);
    --eco-shadow-hover: 0 1px 2px rgba(4, 48, 43, .05), 0 18px 40px -18px rgba(4, 48, 43, .22);
}

.eco-body {
    background: var(--eco-surface);
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--eco-ink);
    font-feature-settings: "tnum" 1;
    -webkit-font-smoothing: antialiased;
}

/* Logado x visitante (classe aplicada no <html> antes do paint). */
/* Modo app (logado, fora da landing) x modo site (visitante ou landing). */
html:not(.eco-app) .so-app,
html:not(.eco-app) .eco-sidebar,
html:not(.eco-app) .eco-sb-backdrop,
html.eco-app .so-site { display: none !important; }
@media (min-width: 1024px) { html.eco-app .eco-hdr-logo { display: none; } }

/* Staff não compra nem transfere: itens exclusivos de participante somem. */
html.eco-staff .so-participante { display: none !important; }
/* Na sidebar, staff vê as seções do Dashboard no lugar do menu de participante. */
html:not(.eco-staff) .so-staff,
html.eco-staff .so-nao-staff { display: none !important; }

html:not(.eco-logado) .so-logado,
html.eco-logado .so-anonimo { display: none !important; }

/* ---------- Página: cabeçalho e blocos de texto ---------- */

/* Conteúdo fluido: ocupa toda a largura disponível (sem faixas vazias nas laterais),
   com o respiro lateral crescendo junto com a tela. Mesmo gutter do header e do footer. */
:root { --eco-gutter: 1rem; }
@media (min-width: 640px) { :root { --eco-gutter: 1.5rem; } }
@media (min-width: 1024px) { :root { --eco-gutter: 2rem; } }
@media (min-width: 1536px) { :root { --eco-gutter: 2.5rem; } }
.eco-gutter { padding-left: var(--eco-gutter); padding-right: var(--eco-gutter); }

.eco-page { width: 100%; padding: 2rem var(--eco-gutter) 1rem; }
@media (min-width: 640px) { .eco-page { padding-top: 3rem; } }

.eco-page-head { margin-bottom: 2rem; }
@media (min-width: 640px) { .eco-page-head { margin-bottom: 2.5rem; } }
.eco-page-head h1 { font-size: 1.75rem; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--eco-dark); margin-top: .25rem; }
@media (min-width: 640px) { .eco-page-head h1 { font-size: 2rem; } }
.eco-page-head p.eco-lead { color: var(--eco-muted); margin-top: .5rem; max-width: 40rem; }

.eco-breadcrumb { font-size: 13px; color: var(--eco-muted); display: flex; align-items: center; gap: 6px; }
.eco-breadcrumb a:hover { color: var(--eco-ink); }

.eco-h2 { font-weight: 600; color: var(--eco-ink); font-size: 1rem; }

.eco-prose { color: #3F4D48; line-height: 1.75; font-size: 15px; }
.eco-prose > * + * { margin-top: 1rem; }
.eco-prose h2 { font-size: 1.05rem; font-weight: 600; color: var(--eco-dark); margin-bottom: .5rem; }
.eco-prose strong { color: var(--eco-ink); font-weight: 600; }

.eco-icon-tile {
    width: 44px; height: 44px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.eco-divider { height: 1px; background: var(--eco-line); }

/* ---------- Campos ---------- */

.eco-label { display: block; font-size: 12px; font-weight: 500; color: var(--eco-muted); margin-bottom: 6px; }

.eco-input {
    width: 100%;
    background: #fff;
    border: 1px solid #DCE3DE;
    border-radius: 12px;
    padding: .7rem .9rem;
    font-size: 14px;
    color: var(--eco-ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.eco-input::placeholder { color: #9AA6A1; }
.eco-input:hover { border-color: #C5CFC9; }
.eco-input:focus { outline: none; border-color: var(--eco-green); box-shadow: 0 0 0 4px rgba(22, 163, 74, .12); }
.eco-input:disabled, .eco-input[readonly] { background: var(--eco-surface); }
.eco-input--sm { padding: .5rem .75rem; font-size: 13px; border-radius: 10px; }
select.eco-input {
    appearance: none;
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7A74' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px;
}

/* ---------- Tabelas e linhas ---------- */

.eco-table { width: 100%; font-size: 13px; border-collapse: collapse; }
.eco-table thead th {
    text-align: left; font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
    color: var(--eco-muted); padding: 0 12px 10px; border-bottom: 1px solid var(--eco-line);
}
.eco-table tbody td { padding: 12px; border-bottom: 1px solid var(--eco-line); }
.eco-table tbody tr:last-child td { border-bottom: 0; }
.eco-table tbody tr { transition: background-color .15s ease; }
.eco-table tbody tr:hover { background: var(--eco-surface); }

.eco-row {
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 1px 2px rgba(4, 48, 43, .04), 0 0 0 1px var(--eco-line);
    transition: box-shadow .2s ease;
}
.eco-row:hover { box-shadow: 0 1px 2px rgba(4, 48, 43, .04), 0 0 0 1px #D5DED8, 0 8px 20px -14px rgba(4, 48, 43, .25); }

.eco-empty { color: var(--eco-muted); font-size: 14px; text-align: center; padding: 2.5rem 1rem; }

/* ---------- Abas sublinhadas ---------- */

.eco-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.eco-tabs > button {
    font-size: 13px; font-weight: 500; color: var(--eco-muted);
    padding: 8px 14px; border-radius: 12px; transition: background-color .2s ease, color .2s ease;
}
.eco-tabs > button:hover { color: var(--eco-ink); background: rgba(255, 255, 255, .7); }
.eco-tabs > button.is-active,
.eco-tabs > button[data-active="true"] { background: #fff; color: var(--eco-ink); box-shadow: 0 1px 3px rgba(4, 48, 43, .12); }

/* ---------- Superfícies ---------- */

.eco-card {
    background: #fff;
    border-radius: var(--eco-radius);
    box-shadow: var(--eco-shadow);
}

.eco-card--hover { transition: box-shadow .25s ease, transform .25s ease; }
.eco-card--hover:hover { box-shadow: var(--eco-shadow-hover); transform: translateY(-2px); }

.eco-hero {
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(92, 240, 58, .18) 0%, rgba(92, 240, 58, 0) 55%),
        radial-gradient(90% 120% at 0% 100%, rgba(200, 145, 22, .16) 0%, rgba(200, 145, 22, 0) 60%),
        linear-gradient(135deg, var(--eco-dark) 0%, var(--eco-deep) 100%);
    box-shadow: 0 24px 48px -24px rgba(4, 48, 43, .55);
}

.eco-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--eco-muted);
}

/* ---------- Botões ---------- */

.eco-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 600;
    font-size: 14px;
    border-radius: 14px;
    padding: .8rem 1.25rem;
    white-space: nowrap;
    transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.eco-btn:active { transform: scale(.97); }
@media (max-width: 400px) { .eco-btn { padding: .8rem .9rem; } }
.eco-btn:focus-visible { outline: 2px solid var(--eco-lime); outline-offset: 2px; }

.eco-btn--primary { background: var(--eco-lime); color: var(--eco-deep); }
.eco-btn--primary:hover { box-shadow: 0 8px 24px -8px rgba(92, 240, 58, .7); }

.eco-btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; }
.eco-btn--ghost:hover { background: rgba(255, 255, 255, .18); }

.eco-btn--dark { background: var(--eco-dark); color: #fff; }
.eco-btn--dark:hover { background: var(--eco-deep); }

.eco-btn--outline { background: #fff; color: var(--eco-dark); box-shadow: inset 0 0 0 1px #DCE3DE; }
.eco-btn--outline:hover { box-shadow: inset 0 0 0 1px var(--eco-dark); }

.eco-btn--quiet { color: var(--eco-dark); }
.eco-btn--quiet:hover { background: var(--eco-surface); }

.eco-btn--danger { color: var(--eco-danger); background: #fff; box-shadow: inset 0 0 0 1px #F3CFCF; }
.eco-btn--danger:hover { background: #FEF2F2; }

.eco-btn--sm { font-size: 12px; padding: .45rem .8rem; border-radius: 10px; }
.eco-btn--block { width: 100%; }

.eco-btn:disabled,
.eco-btn[disabled] { background: #E5EAE7 !important; color: #9AA6A1 !important; box-shadow: none !important; cursor: not-allowed; transform: none; }

.eco-link {
    color: var(--eco-gold);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}
.eco-link svg { transition: transform .2s ease; }
.eco-link:hover svg { transform: translateX(3px); }

/* ---------- Chips / segmentos ---------- */

.eco-segment {
    display: inline-flex;
    padding: 4px;
    gap: 2px;
    background: var(--eco-surface);
    border-radius: 12px;
}
.eco-segment button {
    font-size: 12px;
    font-weight: 500;
    color: var(--eco-muted);
    padding: 6px 12px;
    border-radius: 9px;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.eco-segment button:hover { color: var(--eco-ink); }
.eco-segment button[aria-pressed="true"] {
    background: #fff;
    color: var(--eco-ink);
    box-shadow: 0 1px 3px rgba(4, 48, 43, .12);
}

/* ---------- Header ---------- */

.eco-menu {
    transform-origin: top right;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.eco-menu[data-open="false"] { opacity: 0; transform: translateY(-4px) scale(.98); visibility: hidden; pointer-events: none; }
.eco-menu[data-open="true"] { opacity: 1; transform: none; visibility: visible; }

/* ---------- Sidebar ----------
   Desktop (≥1024px): fixa, 250px aberta / 72px recolhida; o body recebe o
   mesmo padding-left, então header, conteúdo e footer ocupam o espaço restante.
   Mobile: drawer de 250px sobre o conteúdo, com backdrop. */

:root { --eco-sb-open: 250px; --eco-sb-closed: 72px; --eco-sb-ease: cubic-bezier(.2, .8, .2, 1); }

.eco-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    width: var(--eco-sb-open);
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #062B24 0%, #04241E 100%);
    border-right: 1px solid rgba(255, 255, 255, .06);
    padding: 0 14px 16px;
    color: #fff;
    transition: transform .28s var(--eco-sb-ease), box-shadow .28s ease;
}
/* Largura/recuo só animam no clique de recolher/expandir (classe temporária), nunca em load/resize. */
.eco-sb-anim .eco-sidebar { transition: width .28s var(--eco-sb-ease), transform .28s var(--eco-sb-ease), box-shadow .28s ease; }

.eco-sb-top { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 6px; flex-shrink: 0; margin: 0 -14px; padding-left: 20px; padding-right: 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.eco-sb-logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
/* símbolo ฿ com folhas: centrado na coluna dos ícones do menu e subido ~12% da altura,
   para o corpo do ฿ — e não as folhas — ficar no centro do texto */
.eco-sb-logo-img { width: 38px; height: 42px; object-fit: contain; flex-shrink: 0; transform: translateY(-12%); }
.eco-sb-marca { font-size: 1.45rem; font-weight: 700; letter-spacing: .01em; color: #fff; line-height: 1; white-space: nowrap; }
.eco-sb-marca b { color: inherit; font-weight: 700; }
.eco-sb-close {
    width: 36px; height: 36px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--eco-muted);
}
.eco-sb-close:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.eco-sb-nav { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 4px; padding-top: 22px; overflow-y: auto; overflow-x: visible; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }

.eco-sb-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 44px;
    padding: 0 13px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, .88);
    transition: background-color .2s ease, color .2s ease;
    white-space: nowrap;
}
.eco-sb-item:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.eco-sb-item:focus-visible { outline: 2px solid var(--eco-lime); outline-offset: 2px; }
.eco-sb-item[aria-current="page"] { background: #6CEB7E; color: var(--eco-deep); font-weight: 600; box-shadow: 0 10px 24px -14px rgba(108, 235, 126, .9); }
.eco-sb-item[aria-current="page"] .eco-sb-icon { color: var(--eco-deep); }

.eco-sb-icon { width: 21px; height: 21px; flex-shrink: 0; color: rgba(255, 255, 255, .9); transition: color .2s ease; }
.eco-sb-item:hover .eco-sb-icon { color: var(--eco-lime); }
.eco-sb-item[aria-current="page"]:hover .eco-sb-icon { color: var(--eco-deep); }

.eco-sb-label { transition: opacity .18s ease, visibility .18s; }

.eco-sb-sep { height: 1px; background: rgba(255, 255, 255, .1); margin: 12px 8px; }

/* Rodapé decorativo da sidebar */
.eco-sb-rodape { flex-shrink: 0; padding: 8px 6px 4px; transition: opacity .18s ease, visibility .18s; }
.eco-sb-folhas { width: 150px; height: auto; margin-left: -6px; opacity: .95; }
.eco-sb-frase { font-size: 14px; line-height: 1.35; color: var(--eco-lime); margin-top: 18px; }
.eco-sb-frase strong { color: #fff; font-weight: 600; }
.eco-sb-marca--rodape { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 1.4rem; }
.eco-sb-marca--rodape img { width: 38px; height: 42px; object-fit: contain; flex-shrink: 0; transform: translateY(-12%); }
@media (max-height: 820px) { .eco-sb-folhas { display: none; } .eco-sb-marca--rodape { margin-top: 16px; } }
@media (max-height: 640px) { .eco-sb-rodape { display: none; } }

.eco-sb-backdrop {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(2, 20, 17, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
}

@media (min-width: 1024px) {
    .eco-app body { padding-left: var(--eco-sb-open); }
    .eco-app.eco-sb-anim body { transition: padding-left .28s var(--eco-sb-ease); }
    .eco-sb-close, .eco-sb-backdrop { display: none; }

    .eco-app.eco-sb-collapsed body { padding-left: var(--eco-sb-closed); }
    .eco-sb-collapsed .eco-sidebar { width: var(--eco-sb-closed); }
    .eco-sb-collapsed .eco-sb-top { padding: 0 16px; }
    .eco-sb-collapsed .eco-sb-label { opacity: 0; visibility: hidden; }
    .eco-sb-collapsed .eco-sb-rodape { opacity: 0; visibility: hidden; }

    /* Tooltip com o nome do item, só no modo recolhido. */
    .eco-sb-collapsed .eco-sb-item[data-tip]::after {
        content: attr(data-tip);
        position: absolute;
        left: calc(100% + 14px);
        top: 50%;
        transform: translate(-4px, -50%);
        background: var(--eco-deep);
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        padding: 6px 10px;
        border-radius: 8px;
        white-space: nowrap;
        pointer-events: none;
        opacity: 0;
        transition: opacity .15s ease, transform .15s ease;
        box-shadow: 0 8px 24px -8px rgba(4, 48, 43, .5);
    }
    .eco-sb-collapsed .eco-sb-item:hover::after,
    .eco-sb-collapsed .eco-sb-item:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
    .eco-sb-collapsed .eco-sb-nav { overflow: visible; }
}

@media (max-width: 1023.98px) {
    .eco-sidebar { transform: translateX(-100%); }
    .eco-sb-open .eco-sidebar { transform: none; box-shadow: 0 24px 48px -12px rgba(4, 48, 43, .35); }
    .eco-sb-open .eco-sb-backdrop { opacity: 1; visibility: visible; }
    .eco-sb-open body { overflow: hidden; }
}

/* Sem animação no primeiro paint (estado restaurado do storage). */
.eco-sb-preload .eco-sidebar,
.eco-sb-preload body,
.eco-sb-preload .eco-sb-label,
.eco-sb-preload .eco-sb-rodape { transition: none !important; }

/* ---------- Header da área logada (tema escuro, combina com a sidebar) ---------- */
html.eco-app .eco-hdr-site {
    background: linear-gradient(90deg, #062B24 0%, #0A3A2E 55%, #062B24 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .06) !important;
    backdrop-filter: none !important;
}
html.eco-app .eco-hdr-site .eco-hdr-burger { color: #fff; }
html.eco-app .eco-hdr-site .eco-hdr-burger:hover { background: rgba(255, 255, 255, .08); }
html.eco-app .eco-hdr-site .eco-hdr-logo span:last-child { color: #fff; }
html.eco-app .eco-hdr-site #hdr-toggle:hover { background: rgba(255, 255, 255, .08); }
html.eco-app .eco-hdr-site #hdr-avatar { background: #fff; color: var(--eco-deep); --tw-ring-color: rgba(108, 235, 126, .35); }
html.eco-app .eco-hdr-site #hdr-nome { color: #fff; font-weight: 600; }
html.eco-app .eco-hdr-site #hdr-tipo { color: rgba(255, 255, 255, .65); }
html.eco-app .eco-hdr-site #hdr-toggle > svg { color: #fff; }

.eco-busca { position: relative; flex: 0 1 34rem; min-width: 0; margin-left: .5rem; }
.eco-busca > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: rgba(255, 255, 255, .8); pointer-events: none; }
.eco-busca input {
    width: 100%; height: 42px; border-radius: 10px; padding: 0 14px 0 42px; font-size: 14px;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); color: #fff;
    transition: background .2s, border-color .2s;
}
.eco-busca input::placeholder { color: rgba(255, 255, 255, .6); }
.eco-busca input:focus { outline: none; background: rgba(255, 255, 255, .11); border-color: rgba(108, 235, 126, .55); }
.eco-busca input::-webkit-search-cancel-button { filter: invert(1); }
.eco-busca-lista {
    position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 14px; padding: 6px;
    box-shadow: 0 20px 44px -16px rgba(4, 48, 43, .45); list-style: none; z-index: 60;
}
.eco-busca-lista a { display: block; padding: .6rem .8rem; border-radius: 10px; font-size: 14px; color: var(--eco-ink); }
.eco-busca-lista [aria-selected="true"] a, .eco-busca-lista a:hover { background: #EEFBEA; color: var(--eco-deep); }
.eco-busca-vazio { padding: .6rem .8rem; font-size: 13px; color: var(--eco-muted); }
@media (max-width: 767.98px) { .eco-busca { display: none !important; } }

/* ---------- Transações ---------- */

.eco-tx { transition: background-color .2s ease; border-radius: 14px; }
.eco-tx:hover { background: var(--eco-surface); }
.eco-tx-details {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .25s ease;
}
.eco-tx-details > div { overflow: hidden; }
.eco-tx[aria-expanded="true"] .eco-tx-details { grid-template-rows: 1fr; }
.eco-tx[aria-expanded="true"] .eco-tx-chevron { transform: rotate(180deg); }
.eco-tx-chevron { transition: transform .25s ease; }

/* ---------- Gráfico ---------- */

.eco-chart { position: relative; height: 240px; }
.eco-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.eco-chart-line { fill: none; stroke: var(--eco-green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.eco-chart-grid { stroke: var(--eco-line); stroke-width: 1; stroke-dasharray: 3 5; }
.eco-chart-label { font-size: 11px; fill: var(--eco-muted); }
.eco-chart-draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: eco-draw 1.1s ease-out forwards; }
.eco-chart-tip {
    position: absolute;
    top: 0;
    pointer-events: none;
    background: var(--eco-deep);
    color: #fff;
    font-size: 12px;
    line-height: 1.35;
    padding: 8px 10px;
    border-radius: 10px;
    white-space: nowrap;
    transform: translate(-50%, -110%);
    box-shadow: 0 8px 24px -8px rgba(4, 48, 43, .5);
    transition: opacity .15s ease;
}

@keyframes eco-draw { to { stroke-dashoffset: 0; } }

/* ---------- Impacto ---------- */

.eco-bar { height: 8px; border-radius: 999px; background: var(--eco-surface); overflow: hidden; display: flex; }
.eco-bar > span { height: 100%; transition: width 1s cubic-bezier(.2, .8, .2, 1); }

.eco-ring circle { fill: none; stroke-width: 10; }
.eco-ring .eco-ring-track { stroke: var(--eco-surface); }
.eco-ring .eco-ring-value {
    stroke: url(#eco-ring-gradient);
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 1.2s cubic-bezier(.2, .8, .2, 1);
}

.eco-milestone-dot {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    flex-shrink: 0;
}

/* ---------- Carregamento e entrada ---------- */

.eco-skeleton {
    color: transparent !important;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(0, 0, 0, .06) 0%, rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, .06) 100%);
    background-size: 200% 100%;
    animation: eco-shimmer 1.4s ease-in-out infinite;
}
.eco-hero .eco-skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, .08) 100%);
    background-size: 200% 100%;
}

.eco-reveal { opacity: 0; transform: translateY(8px); animation: eco-reveal .5s ease forwards; }
.eco-reveal:nth-child(2) { animation-delay: .06s; }
.eco-reveal:nth-child(3) { animation-delay: .12s; }
.eco-reveal:nth-child(4) { animation-delay: .18s; }

@keyframes eco-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes eco-reveal { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-delay: 0s !important;
        transition-duration: .001ms !important;
    }
}

/* ---------- Landing: header da campanha ----------
   Transparente sobre a foto do hero (sem nenhuma cor por cima da foto) (o hero sobe por baixo dele com margem negativa);
   ganha fundo verde-escuro ao rolar (.is-solido, via home.html). */

.eco-hdr-landing { color: #fff; background: transparent; transition: background-color .25s ease, box-shadow .25s ease; }
.eco-hdr-landing.is-solido { background-color: rgba(4, 48, 35, .94); backdrop-filter: blur(10px); box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .6); }
/* Demais páginas do site: o mesmo header verde, já sólido (não há foto atrás), um pouco mais baixo */
.eco-hdr-site .eco-hdr-marca { height: 2.9rem; }
@media (min-width: 1024px) { .eco-hdr-site .eco-hdr-marca { height: 3.9rem; } }
/* Área logada: mantém a altura de 4rem, alinhada ao topo da sidebar */
html.eco-app .eco-hdr-site .eco-hdr-linha { height: 4rem !important; }
.eco-hdr-marca { display: block; height: 3.5rem; }
@media (min-width: 1024px) { .eco-hdr-marca { height: 5rem; } }
.eco-hdr-marca-img { display: block; height: 100%; width: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
/* menus suspensos (perfil e celular) são cartões brancos: não herdam o texto branco do header */
.eco-hdr-landing #hdr-menu,
.eco-hdr-landing #menu-site { color: var(--eco-ink); }
.eco-hdr-link { position: relative; padding: .35rem 0; transition: color .15s ease; }
.eco-hdr-link:hover { color: var(--eco-lime); }
.eco-hdr-link--verde, .eco-hdr-link--verde[aria-current="page"] { color: var(--eco-lime); }
.eco-hdr-link--verde:hover { color: #fff; }
.eco-hdr-link[aria-current="page"] { color: #fff; font-weight: 600; }
.eco-hdr-link[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--eco-lime); }
.eco-hdr-entrar {
    display: inline-flex; align-items: center; height: 42px; padding: 0 1.25rem; border-radius: 10px; font-size: 14px; font-weight: 500;
    color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); transition: background .15s ease, border-color .15s ease;
}
.eco-hdr-entrar:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.eco-hdr-criar {
    align-items: center; height: 42px; padding: 0 1.35rem; border-radius: 10px; font-size: 14px; font-weight: 600;
    color: #05301C; background: linear-gradient(180deg, #4BEA52, #2FD43B); box-shadow: 0 8px 20px -10px rgba(47, 212, 59, .9); transition: filter .15s ease;
}
.eco-hdr-criar:hover { filter: brightness(1.06); }
.eco-hdr-entrar, .eco-hdr-criar { white-space: nowrap; }
/* celular: Entrar e Criar conta lado a lado, mais compactos */
@media (max-width: 639px) {
    .eco-hdr-entrar, .eco-hdr-criar { height: 38px; padding: 0 .8rem; font-size: 13px; white-space: nowrap; }
}
.eco-hdr-landing #hdr-toggle:hover { background: rgba(255, 255, 255, .15); }
.eco-hdr-landing #hdr-nome { color: #fff; }
.eco-hdr-landing #hdr-tipo,
.eco-hdr-landing #hdr-toggle > svg { color: rgba(255, 255, 255, .75); }

/* ---------- Landing: hero com a foto da praia ----------
   O texto ocupa a metade esquerda; o slogan fica no canto superior direito. Medidas em cqw (1cqw = 1% da largura do hero) acompanham a foto. */

.lp-body main { margin-top: -4.75rem; }
@media (min-width: 1024px) { .lp-body main { margin-top: -6.5rem; } }

.lp-hero-wrap { container-type: inline-size; }
/* Celular/tablet: o texto fica sobre a imagem. A foto é ancorada embaixo (sem ampliar demais
   a voluntária) e o topo dela se dissolve num céu da mesma cor da foto (#0282FD no alto). */
.lp-hero {
    position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: clamp(640px, 175vw, 820px);
    color: #fff; border-radius: 0 0 28px 28px; background: linear-gradient(180deg, #0270E6 0%, #0282FD 100%);
}
.lp-hero picture {
    position: absolute; left: 0; right: 0; bottom: 0; height: 62%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
}
.lp-hero-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 100%; }

.lp-hero-texto { position: relative; z-index: 1; padding: 6.25rem var(--eco-gutter) 1.75rem; }
.lp-titulo {
    font-family: 'Poppins', sans-serif; font-weight: 800; text-transform: uppercase;
    font-size: clamp(1.9rem, 8.5cqw, 3rem); line-height: 1.06; letter-spacing: -.01em;
    text-shadow: 0 2px 18px rgba(0, 30, 15, .35);
}
.lp-titulo sup { font-size: .3em; top: -1.6em; margin-left: .1em; }
.lp-sub { margin-top: .9rem; font-size: 1rem; line-height: 1.5; max-width: 34rem; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.lp-sub strong { font-weight: 700; color: #fff; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
    border-radius: 999px; font-weight: 600; font-size: 1rem; line-height: 1;
    padding: .9em 1.6em; transition: transform .15s ease, box-shadow .2s ease, filter .2s ease, background .2s ease;
}
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn:active { transform: scale(.97); }
.lp-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.lp-btn--lime { background: linear-gradient(180deg, #4BEA52, #2FD43B); color: #05301C; padding-right: .45em; box-shadow: 0 12px 30px -12px rgba(47, 212, 59, .85); }
.lp-btn--lime:hover { filter: brightness(1.05); }
.lp-btn--contorno { color: #fff; border: 1.5px solid rgba(255, 255, 255, .7); background: rgba(4, 48, 31, .35); backdrop-filter: blur(6px); }
.lp-btn--contorno:hover { background: rgba(255, 255, 255, .14); }
.lp-btn-play { width: 1.05em; height: 1.05em; }
.lp-btn-seta { width: 2.1em; height: 2.1em; border-radius: 999px; background: #05301C; color: #fff; display: flex; align-items: center; justify-content: center; }
.lp-btn-seta svg { width: 1.1em; height: 1.1em; }

.lp-slogan { display: none; }

@media (min-width: 1024px) {
    .lp-hero { min-height: 0; height: min(56.25cqw, max(36rem, 100svh)); border-radius: 0 0 44px 44px; }
    .lp-hero picture { position: absolute; inset: 0; height: auto; -webkit-mask-image: none; mask-image: none; }
    .lp-hero-img { height: 100%; aspect-ratio: auto; }

    .lp-hero-texto {
        position: relative; z-index: 1; height: 100%; width: 50cqw;
        display: flex; flex-direction: column; background: none;
        padding: calc(6.5rem + 2.4cqw) 0 3cqw 4.6cqw;
    }
    .lp-titulo { font-size: 3.9cqw; line-height: 1.08; }
    .lp-sub { font-size: 1.22cqw; max-width: none; margin-top: 1.2cqw; }
    .lp-ctas { margin-top: 4cqw; gap: 1.4cqw; }
    .lp-btn { font-size: 1.12cqw; min-width: 14cqw; }

    .lp-slogan {
        /* sobre o mar: a foto é ancorada pela base, então a faixa da água fica a ~27–33cqw do fundo */
        display: block; position: absolute; right: 3.2cqw; bottom: 28.5cqw;
        font-family: 'Dancing Script', cursive; font-weight: 600; font-size: 1.38cqw; line-height: 1.05;
        color: #fff; white-space: nowrap; transform: rotate(-8deg); text-shadow: 0 2px 12px rgba(0, 40, 20, .55);
    }
    .lp-slogan-folha { display: inline-block; width: .9cqw; height: .9cqw; margin-left: .24cqw; vertical-align: -.15em; color: var(--eco-lime); transform: rotate(14deg); }
    .lp-slogan-folha svg { width: 100%; height: 100%; }

}

/* ---------- Landing: conteúdo abaixo do hero ---------- */

.lp-card { background: #fff; border-radius: 20px; box-shadow: 0 1px 2px rgba(4, 48, 43, .04), 0 14px 34px -20px rgba(4, 48, 43, .2); border: 1px solid rgba(4, 48, 43, .04); }
.lp-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #3E4F48; }
.lp-eyebrow--claro { color: rgba(255, 255, 255, .85); }
.lp-tile { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: #E6F6EC; color: #16A34A; }
.lp-tile svg { width: 24px; height: 24px; }
.lp-tile--azul { background: #E8EFFD; color: #2563EB; }
.lp-tile--lg { width: 64px; height: 64px; border-radius: 999px; }
.lp-tile--lg svg { width: 30px; height: 30px; }
.lp-link, .lp-link-ouro { display: inline-flex; align-items: center; gap: .35rem; font-size: 13.5px; font-weight: 600; color: var(--eco-ink); white-space: nowrap; }
.lp-link svg, .lp-link-ouro svg { width: 15px; height: 15px; transition: transform .15s ease; }
.lp-link:hover svg, .lp-link-ouro:hover svg { transform: translateX(3px); }
.lp-link-ouro, .lp-link--ouro { color: #B07D0E; }
.lp-link-ouro { font-size: 12.5px; margin-top: .35rem; }

/* Cotação */
.lp-cotacao { display: grid; gap: 1rem; margin-top: -.5rem; }
@media (min-width: 1100px) { .lp-cotacao { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.lp-cot { position: relative; overflow: hidden; display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; min-height: 112px; }
.lp-cot-valor { margin-top: .3rem; font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--eco-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lp-cot-valor sup { font-size: 12px; color: var(--eco-gold); }
.lp-cot-nota { font-size: 11.5px; color: var(--eco-muted); }
.lp-cot-nota a { color: var(--eco-gold); }
.lp-cot-nota a:hover { text-decoration: underline; }
.lp-spark { position: absolute; right: 1.1rem; bottom: 1rem; width: 38%; max-width: 150px; height: 56px; }
.lp-cot--acoes { flex-direction: column; align-items: stretch; justify-content: center; gap: .85rem; }
.lp-cot-data { font-size: 12px; color: var(--eco-muted); }
.lp-cot-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }

.lp-btn-sm {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem; height: 46px; padding: 0 1.1rem;
    border-radius: 10px; font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: filter .15s ease, background .15s ease, transform .1s ease;
}
.lp-btn-sm svg { width: 19px; height: 19px; }
.lp-btn-sm:active { transform: scale(.98); }
.lp-btn-sm--lime { color: #05301C; background: linear-gradient(180deg, #4BEA52, #2FD43B); box-shadow: 0 10px 22px -12px rgba(47, 212, 59, .9); }
.lp-btn-sm--lime:hover { filter: brightness(1.05); }
.lp-btn-sm--contorno { color: var(--eco-ink); background: #fff; border: 1.5px solid #DCE3DE; }
.lp-btn-sm--contorno:hover { border-color: var(--eco-dark); }
.lp-btn-sm--vidro { color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .08); }
.lp-btn-sm--vidro:hover { background: rgba(255, 255, 255, .16); }
.lp-btn-sm--lg { height: 52px; padding: 0 1.6rem; font-size: 15px; }

/* Seções */
.lp-secao { padding-top: 3.5rem; }
@media (min-width: 640px) { .lp-secao { padding-top: 4.5rem; } }
.lp-secao-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem 2rem; margin-bottom: 1.5rem; }
.lp-secao-head h2, .lp-h2 { margin-top: .35rem; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: #0B2E22; }
.lp-secao-head p:not(.lp-eyebrow), .lp-lead { margin-top: .4rem; color: #55655E; font-size: 15px; }

/* Três passos */
.lp-passos3 { display: grid; gap: 1rem; }
@media (min-width: 1024px) { .lp-passos3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem; } }
.lp-passo3 { position: relative; display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 1.4rem; }
.lp-passo3 h3 { font-size: 16px; font-weight: 600; color: var(--eco-ink); }
.lp-passo3 p { margin-top: .35rem; font-size: 13px; line-height: 1.5; color: #5E6E67; }
.lp-passo3-ico { position: relative; width: 72px; height: 72px; flex-shrink: 0; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--tom-bg); color: var(--tom); }
.lp-passo3-ico svg { width: 34px; height: 34px; }
.lp-passo3-ico b { position: absolute; left: -6px; top: -8px; width: 30px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #fff; background: var(--tom); box-shadow: 0 0 0 3px #fff; }
@media (min-width: 1024px) {
    .lp-passo3 + .lp-passo3::before {
        content: ""; position: absolute; left: -1.85rem; top: 50%; width: 1.4rem; height: 1.4rem; transform: translateY(-50%);
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7A74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    }
}

/* Calculadora */
.lp-calc { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .lp-calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; } }
.lp-lead { max-width: 26rem; }
.lp-checks { margin-top: 1.75rem; display: grid; gap: 1rem; font-size: 14.5px; color: #2E3F38; }
.lp-checks li { display: flex; align-items: center; gap: .8rem; }
.lp-checks span { width: 22px; height: 22px; flex-shrink: 0; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: #22C55E; color: #fff; }
.lp-checks svg { width: 13px; height: 13px; }
.lp-calc-card { padding: 1.5rem; }
@media (min-width: 640px) { .lp-calc-card { padding: 1.75rem 1.75rem 2rem; } }
.lp-label { display: block; font-size: 13px; font-weight: 500; color: #4B5A54; margin-bottom: .45rem; }
.lp-input { width: 100%; height: 46px; padding: 0 .9rem; border-radius: 10px; border: 1px solid #DCE3DE; background: #fff; font-size: 14.5px; color: var(--eco-ink); transition: border-color .2s, box-shadow .2s; }
.lp-input:focus { outline: none; border-color: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .14); }
.lp-input--select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1F1A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .9rem center / 16px no-repeat; }
.lp-calc-res { border-radius: 14px; background: #F3F6F4; padding: .9rem .75rem; text-align: center; }
.lp-calc-res p { font-size: 12.5px; color: #5E6E67; }
.lp-calc-res b { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .3rem; font-size: clamp(16px, 2vw, 22px); font-weight: 700; color: var(--eco-ink); font-variant-numeric: tabular-nums; }
.lp-calc-ebts { color: #B07D0E !important; }
.lp-calc-folha { display: inline-flex; color: #16A34A; }
.lp-calc-folha svg { width: 22px; height: 22px; }
.lp-btn-calc {
    margin-top: 1.25rem; display: flex; align-items: center; justify-content: center; gap: .6rem; height: 52px; border-radius: 12px;
    font-size: 15px; font-weight: 600; color: #05301C; background: linear-gradient(180deg, #4BEA52, #2FD43B);
    box-shadow: 0 14px 26px -14px rgba(47, 212, 59, .9); transition: filter .15s ease;
}
.lp-btn-calc:hover { filter: brightness(1.05); }
.lp-btn-calc svg { width: 20px; height: 20px; }

/* Por que agir agora */
.lp-stats { display: grid; gap: 1rem; }
@media (min-width: 768px) { .lp-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.lp-stat { display: flex; align-items: center; gap: 1.25rem; padding: 1.4rem 1.5rem; }
.lp-stat b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: #0B2E22; }
.lp-stat p { margin-top: .3rem; font-size: 13.5px; line-height: 1.45; color: #5E6E67; max-width: 16rem; }

/* CTA final */
.lp-cta { position: relative; overflow: hidden; isolation: isolate; margin-top: 3.5rem; border-radius: 26px; color: #fff; box-shadow: 0 24px 50px -24px rgba(4, 48, 43, .6); }
@media (min-width: 640px) { .lp-cta { margin-top: 4.5rem; } }
.lp-cta-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.lp-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 38, 24, .96) 0%, rgba(4, 48, 30, .88) 45%, rgba(4, 48, 30, .45) 100%); }
.lp-cta-in { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; padding: 1.75rem 1.5rem; }
@media (min-width: 640px) { .lp-cta-in { padding: 2rem 2.75rem; } }
.lp-cta-in > div:nth-child(2) { flex: 1 1 260px; }
.lp-cta-ico { width: 62px; height: 62px; flex-shrink: 0; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: var(--eco-lime); background: rgba(92, 240, 58, .12); border: 1.5px solid rgba(92, 240, 58, .55); }
.lp-cta-ico svg { width: 30px; height: 30px; }
.lp-cta h2 { margin-top: .3rem; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; }
.lp-cta-in > div:nth-child(2) > p:last-child { margin-top: .25rem; color: rgba(255, 255, 255, .8); font-size: 15px; }
.lp-cta-btns { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Ações: mapa "Onde o impacto acontece" ----------
   O fundo EBT-FUNDOMAPAACOES (1670x941) já traz o mapa do Brasil; os pinos ficam no mesmo
   palco que ele (zoom aproxima os dois juntos). Desktop (≥1100): seção na proporção do fundo,
   com título, slogan, legenda, cartão e zoom por cima, medidos em cqw. Celular: empilhado. */

.mapa-impacto {
    --lima: #8EF03A; --vidro: rgba(4, 34, 18, .72);
    position: relative; overflow: hidden; isolation: isolate; container-type: inline-size;
    display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem 1rem 1rem;
    border-radius: var(--eco-radius); background: #06301F; color: #fff;
    box-shadow: 0 24px 50px -28px rgba(4, 48, 43, .7);
}

/* Palco: fundo + pinos (é ele que recebe o zoom) */
.mapa-viewport { position: relative; overflow: hidden; touch-action: none; border-radius: 16px; aspect-ratio: 1670 / 941; }
.mapa-viewport.is-zoom { cursor: grab; }
.mapa-viewport.is-zoom:active { cursor: grabbing; }
.mapa-palco { position: absolute; inset: 0; transform-origin: 50% 50%; transition: transform .25s ease; --z: 1; }
.mapa-viewport.is-zoom .mapa-palco { transition: none; }
.mapa-fundo, .mapa-fundo img { display: block; width: 100%; height: 100%; }
.mapa-fundo img { object-fit: cover; user-select: none; }
#mapa-pinos { position: absolute; inset: 0; }

.mapa-pino {
    position: absolute; width: clamp(12px, 3.6cqw, 20px); height: clamp(17px, 5.1cqw, 28px); padding: 0; border: 0; background: none; cursor: pointer;
    transform: translate(-50%, -100%) scale(calc(1 / var(--z))); transform-origin: 50% 100%;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); transition: filter .15s ease;
}
.mapa-pino svg { width: 100%; height: 100%; transition: transform .15s ease; transform-origin: 50% 100%; }
.mapa-pino:hover svg, .mapa-pino.is-sel svg { transform: scale(1.3); }
.mapa-pino.is-sel { z-index: 2; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .9)) drop-shadow(0 3px 6px rgba(0, 0, 0, .5)); }
.mapa-pino:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }

.mapa-zoom {
    position: absolute; left: 10px; bottom: 10px; display: flex; flex-direction: column; overflow: hidden;
    border: 2px solid var(--lima); border-radius: 12px; background: rgba(4, 34, 18, .55); backdrop-filter: blur(6px);
    box-shadow: 0 0 14px rgba(142, 240, 58, .45);
}
.mapa-zoom button { width: 36px; height: 36px; font-size: 24px; line-height: 1; color: #fff; }
.mapa-zoom button + button { border-top: 1.5px solid rgba(142, 240, 58, .6); }
.mapa-zoom button:hover:not(:disabled) { background: rgba(142, 240, 58, .18); }
.mapa-zoom button:disabled { opacity: .5; cursor: default; }

/* Título */
.mapa-cabecalho { order: -1; }
.mapa-titulo {
    font-family: 'Poppins', sans-serif; font-weight: 800; text-transform: uppercase; color: #fff;
    font-size: clamp(1.45rem, 6.6cqw, 2.4rem); line-height: 1.05; letter-spacing: -.01em; text-shadow: 0 3px 14px rgba(0, 0, 0, .45);
}
.mapa-titulo span { color: var(--lima); }
.mapa-cab-linha { display: flex; align-items: flex-start; gap: .7rem; margin-top: .7rem; padding-top: .7rem; border-top: 2px solid; border-image: linear-gradient(90deg, var(--lima), rgba(142, 240, 58, 0)) 1; }
.mapa-cab-folha { width: 34px; height: 34px; flex-shrink: 0; color: var(--lima); filter: drop-shadow(0 0 6px rgba(142, 240, 58, .6)); }
.mapa-sub { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1rem; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.mapa-desc { font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .9); margin-top: .15rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
@media (max-width: 1099px) { .mapa-quebra { display: none; } }
.mapa-slogan { display: none; }

/* Legenda (filtro por tipo) */
.mapa-legenda {
    display: flex; flex-wrap: wrap; gap: .25rem .4rem; padding: .6rem; border-radius: 16px;
    background: var(--vidro); border: 1.5px solid rgba(142, 240, 58, .7); box-shadow: 0 0 16px rgba(142, 240, 58, .3);
}
.mapa-legenda button {
    display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .6rem .3rem .3rem; border-radius: 999px;
    font-family: 'Poppins', sans-serif; font-size: 13.5px; color: #fff; transition: opacity .15s ease, background .15s ease;
}
.mapa-legenda button:hover { background: rgba(255, 255, 255, .1); }
.mapa-legenda button.is-off { opacity: .4; }
.mapa-legenda button.is-off span:nth-child(2) { text-decoration: line-through; }
.mapa-legenda-pino svg { width: 16px; height: 23px; display: block; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
.mapa-legenda-n { font-size: 11px; color: rgba(255, 255, 255, .6); min-width: 1ch; }

/* Cartão da ação selecionada */
.mapa-card {
    display: grid; grid-template-columns: 1fr; gap: .9rem; padding: 1rem; border-radius: 22px;
    background: var(--vidro); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--lima); box-shadow: 0 0 22px rgba(142, 240, 58, .45), inset 0 0 18px rgba(142, 240, 58, .12);
}
.mapa-card-foto {
    aspect-ratio: 1.39; border-radius: 14px; overflow: hidden; border: 1.5px solid rgba(142, 240, 58, .7);
    background: linear-gradient(135deg, #0E5A33, #06301F); display: flex; align-items: center; justify-content: center;
}
.mapa-card-foto img { width: 100%; height: 100%; object-fit: cover; }
.mapa-card-foto span svg { width: 40px; height: 56px; }
.mapa-card-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem; height: 48px; border-radius: 999px;
    font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .01em; color: #06301F;
    background: linear-gradient(180deg, #A6F542 0%, #4FD62B 100%); box-shadow: 0 0 18px rgba(142, 240, 58, .55);
    transition: filter .15s ease, transform .15s ease;
}
.mapa-card-btn svg { width: 1.35em; height: 1.35em; }
.mapa-card-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.mapa-card-info { display: grid; gap: .55rem; }
.mapa-card-info li { display: flex; align-items: center; gap: .65rem; }
.mapa-card-ico { width: 26px; height: 26px; flex-shrink: 0; color: var(--lima); }
.mapa-card-ico svg { width: 100%; height: 100%; }
.mapa-card-info b { display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--lima); line-height: 1.2; }
.mapa-card-info li > div > span { display: block; font-size: 14px; color: #fff; line-height: 1.3; }
.mapa-card-info strong { font-weight: 700; }
.mapa-card-info .is-cod strong { font-size: 1.12em; letter-spacing: .01em; }
.mapa-card-info .is-quem span { text-transform: uppercase; font-weight: 500; letter-spacing: .02em; }
.mapa-card-status { font-style: normal; font-size: 10.5px; font-weight: 600; color: #06301F; background: var(--lima); border-radius: 999px; padding: 1px 7px; vertical-align: 2px; white-space: nowrap; }
.mapa-card-vazio { grid-column: 1 / -1; text-align: center; color: rgba(255, 255, 255, .85); font-size: 14px; padding: 1.25rem .5rem; }

@media (min-width: 640px) {
    .mapa-card { grid-template-columns: 1fr 1.05fr; grid-template-rows: auto auto; column-gap: 1.25rem; }
    .mapa-card-foto { grid-column: 1; grid-row: 1; }
    .mapa-card-btn { grid-column: 1; grid-row: 2; }
    .mapa-card-info { grid-column: 2; grid-row: 1 / span 2; align-content: center; }
}

/* Desktop: tudo sobre o fundo, na proporção da imagem (medidas tiradas da referência) */
@media (min-width: 1100px) {
    /* cabe inteira na tela: a largura é limitada pela altura disponível (tela − header de 5.25rem
       − respiro de cima e de baixo), mantendo a proporção do fundo; centralizada */
    .mapa-impacto {
        display: block; padding: 0; aspect-ratio: 1670 / 941; border-radius: 24px; background: #06301F;
        width: min(100%, max(960px, calc((100svh - 5.25rem - 4.5rem) * 1670 / 941))); margin-inline: auto;
    }
    .mapa-viewport { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
    .mapa-pino { width: 1.55cqw; height: 2.2cqw; }
    .mapa-zoom { left: 6.3cqw; bottom: 8.4cqw; border-radius: 1.1cqw; border-width: 2px; }
    .mapa-zoom button { width: 4.4cqw; height: 4.3cqw; font-size: 3cqw; }

    .mapa-cabecalho { position: absolute; left: 3.2cqw; top: 3.2cqw; width: 58cqw; pointer-events: none; }
    .mapa-titulo { font-size: 4.1cqw; white-space: nowrap; }
    .mapa-cab-linha { gap: 1.1cqw; margin-top: .9cqw; padding-top: 1.2cqw; border-top-width: .22cqw; }
    .mapa-cab-folha { width: 3.6cqw; height: 3.6cqw; }
    .mapa-sub { font-size: 1.75cqw; line-height: 1.2; }
    .mapa-desc { font-size: 1.22cqw; margin-top: .25cqw; }

    .mapa-slogan {
        display: block; position: absolute; left: 4.6cqw; top: 26.5cqw; pointer-events: none;
        font-family: 'Dancing Script', cursive; font-weight: 700; font-size: 2.55cqw; line-height: 1.02; color: #fff;
        transform: rotate(-13deg); text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
    }
    .mapa-slogan::after {
        content: ""; position: absolute; left: 0; bottom: -1.1cqw; width: 10.5cqw; height: .45cqw; border-radius: 999px;
        background: linear-gradient(90deg, rgba(142, 240, 58, .2), var(--lima)); box-shadow: 0 0 10px rgba(142, 240, 58, .7);
        transform: rotate(-4deg);
    }

    .mapa-legenda {
        position: absolute; right: 0; top: 6.6cqw; width: 20.6cqw; flex-direction: column; flex-wrap: nowrap; gap: 0;
        padding: .9cqw 1cqw .9cqw 1.3cqw; border-radius: 1.6cqw 0 0 1.6cqw; border-right: 0; border-width: .15cqw;
    }
    .mapa-legenda button { font-size: 1.36cqw; line-height: 1.25; gap: 1cqw; padding: .32cqw .5cqw .32cqw .2cqw; width: 100%; }
    .mapa-legenda-pino svg { width: 1.5cqw; height: 2.15cqw; }
    .mapa-legenda-n { font-size: .85cqw; margin-left: auto; }

    .mapa-card {
        position: absolute; right: 3.2cqw; bottom: 3.4cqw; width: 41.2cqw;
        grid-template-columns: 19.6cqw 1fr; column-gap: 1.6cqw; row-gap: 1.3cqw;
        padding: 1.4cqw 1.6cqw; border-radius: 2.6cqw; border-width: .15cqw;
    }
    .mapa-card-foto { border-radius: 1.3cqw; aspect-ratio: 19.6 / 14.2; }
    .mapa-card-btn { height: 4.35cqw; font-size: 1.62cqw; gap: 1cqw; }
    .mapa-card-info { gap: .5cqw; }
    .mapa-card-info li { gap: 1cqw; }
    .mapa-card-ico { width: 2.15cqw; height: 2.15cqw; }
    .mapa-card-info b { font-size: .88cqw; }
    .mapa-card-info li > div > span { font-size: 1.13cqw; }
    .mapa-card-status { font-size: .72cqw; padding: .05cqw .5cqw; }
    .mapa-card-vazio { font-size: 1.2cqw; }
}

/* ---------- Footer (partials/_footer.html) ----------
   Responsivo pela largura do próprio footer (container queries), pois na área
   logada a sidebar reduz o espaço disponível:
   < 640px  → tudo empilhado, links em 2 colunas
   640–1279 → logo ao lado dos links (3 colunas), base em 2 linhas
   ≥ 1280   → composição da referência: logo | 5 colunas | redes; base em 4 blocos */

.ft { container-type: inline-size; background: #04302B; color: #fff; margin-top: 3rem; font-family: 'Poppins', sans-serif; }
.ft a { transition: color .15s ease, opacity .15s ease; }
.ft h3 { font-size: 15px; font-weight: 500; margin-bottom: 14px; }

.ft-topo { display: grid; gap: 2rem; padding-top: 2.25rem; padding-bottom: 2rem; }

.ft-marca { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.ft-marca p { font-size: 12.5px; line-height: 1.35; }
.ft-logo {
    position: relative; width: 112px; height: 112px; flex: none; border-radius: 50%; border: 3px solid #fff;
    display: flex; align-items: center; justify-content: center;
}
.ft-logo::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1.5px dotted rgba(255, 255, 255, .85); }
.ft-logo img { height: 62%; width: auto; }
/* ฿ com folhas do header, em branco no rodapé */
.ft-logo img.ft-logo-simbolo { height: 64%; filter: brightness(0) invert(1); transform: translateY(-4%); }
.ft-logo:hover { box-shadow: 0 0 0 4px rgba(92, 240, 58, .25); }

.ft-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
.ft-col ul { display: grid; gap: 3px; font-size: 13.5px; color: rgba(255, 255, 255, .9); }
.ft-col a:hover, .ft-handle:hover, .ft-redes a:hover { color: var(--eco-lime); }
.ft-col a.ft-link-destaque { color: var(--eco-lime); font-weight: 500; }
.ft-col a.ft-link-destaque:hover { color: #fff; }

.ft-redes { display: flex; align-items: center; gap: 18px; }
.ft-redes svg { width: 24px; height: 24px; }
.ft-redes .ft-tiktok svg { width: 20px; height: 20px; }
.ft-redes .ft-youtube svg { width: 31px; height: 31px; }
.ft-handle { display: inline-block; margin-top: 10px; font-size: 15px; color: var(--eco-lime); }
.ft-site { margin-top: 1.4rem; display: flex; flex-direction: column; }
.ft-site span { font-size: 13px; }
.ft-site a { font-size: 26px; font-weight: 700; line-height: 1.1; color: var(--eco-lime); letter-spacing: -.01em; }
.ft-site a:hover { opacity: .85; }

.ft-base { border-top: 3px solid rgba(255, 255, 255, .85); }
.ft-base-in { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 1.25rem; padding-top: 1.5rem; padding-bottom: 1.75rem; align-items: center; }
.ft-aviso { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; font-size: 10.5px; line-height: 1.35; color: rgba(255, 255, 255, .55); }
.ft-aviso > p { flex: 1 1 260px; }
.ft-aviso > p a { display: block; color: var(--eco-lime); margin-top: 2px; }
.ft-aviso > p a:hover { text-decoration: underline; }

/* Selos dos ODS (ONU) ao lado do aviso legal: 2×2; em telas estreitas, uma fileira */
.ft-ods { display: grid; grid-template-columns: repeat(4, 54px); gap: 8px; flex: none; }
@container (min-width: 640px) { .ft-ods { grid-template-columns: repeat(2, 54px); } }
.ft-ods-selo {
    position: relative; display: block; width: 54px; height: 54px; padding: 4px; border-radius: 3px; overflow: hidden;
    background: var(--ods); color: #fff; transition: transform .15s ease, box-shadow .15s ease;
}
.ft-ods-selo:hover { transform: translateY(-2px); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .5); }
.ft-ods-selo:focus-visible { outline: 2px solid var(--eco-lime); outline-offset: 2px; }
.ft-ods-num { position: absolute; left: 4px; top: 2px; font-size: 15px; font-weight: 700; line-height: 1; }
.ft-ods-nome {
    position: absolute; left: 22px; right: 3px; top: 3px; font-size: 4.6px; font-weight: 700; line-height: 1.15;
    text-transform: uppercase; letter-spacing: .01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ft-ods-selo svg { position: absolute; left: 50%; bottom: 4px; width: 30px; height: 30px; transform: translateX(-50%); }
.ft-copy { display: block; margin-top: 6px; }
.ft-ecobit { font-size: 21px; font-weight: 700; letter-spacing: .02em; line-height: 1.1; }
.ft-assinatura p + p { font-size: 11.5px; line-height: 1.4; color: rgba(255, 255, 255, .6); margin-top: 2px; }
.ft-selo { width: 138px; height: 138px; border-radius: 50%; justify-self: end; }
.ft-selo { display: block; transition: transform .2s ease, filter .2s ease; }
.ft-selo img { width: 100%; height: 100%; display: block; border-radius: 50%; }
.ft-selo:hover { transform: scale(1.05) rotate(-3deg); filter: drop-shadow(0 0 14px rgba(92, 240, 58, .45)); }
.ft-selo:focus-visible { outline: 2px solid var(--eco-lime); outline-offset: 4px; border-radius: 50%; }
.ft-ecoplay { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.ft-ecoplay span { font-size: 13px; }
.ft-ecoplay img { height: 44px; width: auto; }
.ft-ecoplay img { transition: transform .2s ease, opacity .2s ease; }
.ft-ecoplay:hover img { transform: scale(1.04); opacity: .9; }
.ft-ecoplay:focus-visible { outline: 2px solid var(--eco-lime); outline-offset: 4px; border-radius: 6px; }

@container (min-width: 640px) {
    .ft-topo { grid-template-columns: 150px 1fr; column-gap: 2.5rem; }
    .ft-marca { grid-row: span 2; align-self: start; justify-self: start; width: max-content; }
    .ft-logo { width: 122px; height: 122px; }
    .ft-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ft-social { display: grid; grid-template-columns: auto auto; justify-content: space-between; align-items: end; column-gap: 2rem; }
    .ft-social h3, .ft-redes, .ft-handle { grid-column: 1; }
    .ft-site { grid-column: 2; grid-row: 1 / span 3; margin: 0; align-self: end; }

    .ft-base-in { grid-template-columns: auto 1fr auto; }
    .ft-assinatura { grid-column: 1; }
    .ft-selo { grid-column: 2; justify-self: center; }
    .ft-ecoplay { grid-column: 3; flex-direction: column; align-items: flex-start; border: 0; padding: 0; gap: 10px; }
}

@container (min-width: 1280px) {
    .ft-topo { grid-template-columns: 190px 1fr auto; column-gap: 3vw; padding-top: 2.6rem; padding-bottom: 2.4rem; }
    .ft-marca { grid-row: auto; }
    .ft-logo { width: 122px; height: 122px; }
    .ft-links { grid-template-columns: repeat(5, auto); justify-content: space-between; column-gap: 2.5vw; }
    .ft-col ul { white-space: nowrap; }
    .ft-social { display: block; }
    .ft-site { margin-top: 2.6rem; }

    .ft-base-in { grid-template-columns: var(--ft-aviso-w, minmax(0, 640px)) var(--ft-assin-w, auto) minmax(0, 1fr) var(--ft-ecoplay-w, auto); column-gap: 24px; padding-top: 1.4rem; align-items: start; }
    .ft-base-in .ft-selo { align-self: center; justify-self: start; }
    .ft-aviso { grid-column: 1; font-size: 10px; }
    .ft-assinatura { grid-column: 2; }
    .ft-selo { grid-column: 3; width: 143px; height: 143px; }
    .ft-ecoplay { grid-column: 4; gap: 14px; }
    .ft-ecoplay img { height: 48px; }
}

/* ---------- Para Empresas (empresas.html) ----------
   Celular: texto em cima, foto embaixo. Desktop (≥1024): painel verde-claro à
   esquerda + foto à direita, ocupando a altura da tela como na referência. */

.emp-hero { display: flex; flex-direction: column; background: #E3F7DA; color: #0E6B3C; }
.emp-texto { position: relative; overflow: hidden; padding: 2.25rem var(--eco-gutter) 7rem; }
.emp-titulo { font-family: 'Poppins', sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 7.4vw, 2.6rem); line-height: 1.08; letter-spacing: -.01em; color: #0E6B3C; }
.emp-sub { margin-top: .9rem; font-size: 1rem; line-height: 1.5; color: #127A44; font-weight: 500; }

.emp-frentes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1rem; margin-top: 2rem; }
.emp-frentes a { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.emp-ico {
    width: 64px; height: 64px; flex: none; border-radius: 50%; background: #1E9E3A; color: #fff;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px -10px rgba(14, 107, 60, .7);
    transition: transform .2s ease, background .2s ease;
}
.emp-ico svg { width: 52%; height: 52%; }
.emp-ico--sm { width: 52px; height: 52px; }
.emp-frentes a:hover .emp-ico { transform: translateY(-3px); background: #178A31; }
.emp-rotulo { font-family: 'Poppins', sans-serif; font-weight: 700; text-transform: uppercase; font-size: 14px; line-height: 1.25; color: #0E6B3C; }

.emp-cta {
    position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 1.6rem; margin-top: 2.25rem;
    background: #0E6B3C; color: #fff; border-radius: 999px; padding: .8rem 1.4rem .8rem 2rem;
    font-weight: 600; text-transform: uppercase; font-size: 15px; letter-spacing: .02em;
    box-shadow: 0 10px 24px -12px rgba(14, 107, 60, .8); transition: background .2s ease, transform .2s ease;
}
.emp-cta svg { width: 26px; height: 26px; transition: transform .2s ease; }
.emp-cta:hover { background: #0B5730; transform: translateY(-1px); }
.emp-cta:hover svg { transform: translateX(4px); }
.emp-cta:focus-visible { outline: 3px solid var(--eco-lime); outline-offset: 3px; }

.emp-planta { position: absolute; left: -38px; bottom: -42px; width: 190px; pointer-events: none; }
.emp-planta img { width: 100%; height: auto; display: block; }

.emp-foto { position: relative; aspect-ratio: 871 / 1080; max-height: 78svh; overflow: hidden; }
.emp-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 8%; display: block; }

@media (min-width: 640px) {
    .emp-frentes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    /* A seção ocupa exatamente a altura da tela (menos o header de 4rem). As medidas usam --u:
       1% da largura, mas limitado pela altura — numa tela larga e baixa o conteúdo encolhe
       para caber, em vez de passar do fim da tela. 56.25 = proporção 16:9 do layout original. */
    .emp-hero {
        --u: min(1vw, calc((100svh - 4rem) / 56.25));
        flex-direction: row; height: calc(100svh - 4rem); min-height: 520px;
    }
    .emp-texto { flex: 0 0 53%; padding: calc(2.4 * var(--u)) calc(3 * var(--u)) calc(3 * var(--u)) calc(5.5 * var(--u)); display: flex; flex-direction: column; }
    .emp-titulo { font-size: calc(3.3 * var(--u)); }
    .emp-sub { font-size: calc(1.32 * var(--u)); margin-top: calc(.9 * var(--u)); }
    .emp-frentes { gap: calc(2.4 * var(--u)) calc(1.6 * var(--u)); margin-top: calc(2.6 * var(--u)); max-width: calc(44 * var(--u)); }
    .emp-ico { width: calc(5.9 * var(--u)); height: calc(5.9 * var(--u)); max-width: 84px; max-height: 84px; }
    .emp-rotulo { font-size: calc(1.32 * var(--u)); }
    .emp-cta { align-self: flex-end; margin-top: auto; margin-right: calc(3 * var(--u)); font-size: calc(1.15 * var(--u)); padding: calc(.75 * var(--u)) calc(1.4 * var(--u)) calc(.75 * var(--u)) calc(2.4 * var(--u)); gap: calc(2.4 * var(--u)); }
    .emp-cta svg { width: calc(2 * var(--u)); height: calc(2 * var(--u)); }
    .emp-planta { width: calc(12.5 * var(--u)); left: calc(-1.6 * var(--u)); bottom: calc(-1.8 * var(--u)); }
    .emp-foto { flex: 1; aspect-ratio: auto; max-height: none; }
}
@media (min-width: 1700px) {
    .emp-rotulo { font-size: min(22px, calc(1.32 * var(--u))); }
}

/* ---------- Para Empresas: seção "Por que apoiar" (#por-que-ecobit) ---------- */

.esg { background: #F4F5F9; color: #161616; padding: 3rem 0 3.5rem; }
.esg-in { display: grid; gap: 2.5rem; max-width: 1280px; margin-inline: auto; }
.esg-titulo { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(1.75rem, 5.4vw, 2.9rem); line-height: 1.12; letter-spacing: -.015em; color: #0F1F14; }
.esg-titulo span { color: #18A82E; }
.esg-intro { margin-top: 1.25rem; font-size: 1rem; line-height: 1.6; max-width: 52rem; }
.esg-intro strong { font-weight: 600; }
.esg-subtitulo { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(1.15rem, 2.6vw, 1.45rem); color: #18A82E; margin: 2rem 0 .35rem; }
.esg-texto > p:not(.esg-intro):not(.esg-fecho) { line-height: 1.55; max-width: 42rem; }
.esg-valores { display: grid; gap: .3rem; margin-top: .9rem; line-height: 1.5; }
.esg-valores dt { display: inline; font-weight: 700; }
.esg-valores dt::after { content: ": "; font-weight: 400; }
.esg-valores dd { display: inline; }
.esg-fecho { margin-top: 2rem; font-family: 'Poppins', sans-serif; font-weight: 700; color: #18A82E; font-size: clamp(1rem, 1.8vw, 1.1rem); }

.esg-lado { display: flex; flex-direction: column; gap: 1rem; width: 100%; max-width: 420px; justify-self: center; }
.esg-logo { width: 70%; height: auto; margin-inline: auto; }
.esg-foto { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.esg-lado figcaption { margin-top: .7rem; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.esg-botoes { display: grid; gap: 1rem; margin-top: 1.25rem; }
.esg-btn {
    display: flex; align-items: center; justify-content: center; text-align: center; min-height: 3.6rem; padding: .6rem 1.5rem;
    border-radius: 999px; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; font-size: 15px;
    box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .45); transition: transform .15s ease, filter .15s ease;
}
.esg-btn:hover { transform: translateY(-2px); filter: brightness(1.07); }
.esg-btn:focus-visible { outline: 3px solid #0F1F14; outline-offset: 3px; }
.esg-btn--verde { background: #0FAA17; }
.esg-btn--azul { background: #0A4BFF; }

@media (min-width: 1024px) {
    .esg { padding: 3.5rem 0 4rem; }
    .esg-in { grid-template-columns: minmax(0, 1fr) 330px; column-gap: 5vw; align-items: start; }
    .esg-lado { max-width: none; }
    .esg-botoes { margin-top: auto; padding-top: 2.5rem; }
    .esg-lado { min-height: 100%; }
}

/* ---------- Para Empresas: "A metodologia Ecobit" (#metodologia) ----------
   Texto à esquerda + faixa de floresta com ฿ translúcido à direita.
   No celular a floresta vira uma faixa acima do texto. */

.met { display: flex; flex-direction: column; background: #F6F7F9; color: #141414; }
.met-texto { padding: 2.25rem var(--eco-gutter) 2.75rem; }
.met-titulo { font-family: 'Poppins', sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(1.25rem, 3.6vw, 1.5rem); letter-spacing: -.01em; color: #0F1F14; }
.met-etapas { display: grid; gap: 1.15rem; margin-top: 1.5rem; max-width: 60rem; }
.met-etapas h3 { font-weight: 600; text-transform: uppercase; font-size: 1rem; letter-spacing: .01em; color: #141414; }
.met-etapas p { margin-top: .2rem; font-size: 1rem; line-height: 1.5; color: #222; }
.met-btn {
    display: inline-flex; align-items: center; justify-content: center; margin-top: 2rem; min-width: 15rem;
    background: #0FAA17; color: #fff; border-radius: 999px; padding: 1rem 2.5rem;
    font-weight: 700; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .01em;
    box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .45); transition: transform .15s ease, filter .15s ease;
}
.met-btn:hover { transform: translateY(-2px); filter: brightness(1.07); }
.met-btn:focus-visible { outline: 3px solid #0F1F14; outline-offset: 3px; }

.met-floresta { position: relative; order: -1; height: 170px; overflow: hidden; }
.met-floresta img { width: 100%; height: 100%; object-fit: cover; display: block; }
.met-b {
    position: absolute; left: 50%; top: 50%; height: 78%; aspect-ratio: 224 / 400; transform: translate(-50%, -50%);
    background: rgba(24, 150, 72, .35);
    -webkit-mask: url(/static/imgs/EBT-LBVERDE-footer.png) center / contain no-repeat;
            mask: url(/static/imgs/EBT-LBVERDE-footer.png) center / contain no-repeat;
}

@media (min-width: 1024px) {
    .met { flex-direction: row; min-height: min(calc(100svh - 4rem), 56vw); }
    .met-texto { flex: 1; padding: 2.6rem 3vw 3rem 5vw; display: flex; flex-direction: column; justify-content: center; }
    .met-etapas { gap: 1.1rem; margin-top: 1.9rem; }
    .met-etapas p { font-size: clamp(1rem, 1.25vw, 1.15rem); }
    .met-etapas h3 { font-size: clamp(1rem, 1.25vw, 1.15rem); }
    .met-btn { align-self: flex-start; margin-top: 2.2rem; font-size: clamp(1.1rem, 1.6vw, 1.5rem); padding: 1rem 3.6rem; }
    .met-floresta { order: 0; flex: 0 0 25.5%; height: auto; }
    .met-b { height: auto; width: 62%; top: 54%; }
}

/* ---------- Ganhar (ganhar.html) ----------
   Desktop (≥1024): bloco 16:9 em cqw — foto ocupa 72% da altura, faixa verde o resto;
   voluntária com os pés na linha da faixa; selo atravessando foto e faixa.
   Celular: foto com título, depois a faixa empilhada (selo, "Faça parte", botão, aviso). */

.gnh-wrap { container-type: inline-size; }
.gnh { position: relative; background: #7F9B6E; overflow: hidden; }
.gnh-foto { position: relative; min-height: 26rem; overflow: hidden; }
.gnh-foto picture, .gnh-foto picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.gnh-foto picture img { object-fit: cover; object-position: 40% 55%; }
.gnh-texto { position: relative; z-index: 1; padding: 1.75rem var(--eco-gutter) 0; color: #fff; }
.gnh-titulo { font-family: 'Poppins', sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 8cqw, 2.6rem); line-height: 1.08; letter-spacing: -.01em; text-shadow: 0 2px 16px rgba(0, 40, 90, .35); }
.gnh-titulo span { color: var(--eco-lime); }
.gnh-sub { margin-top: .6rem; font-size: 1rem; line-height: 1.25; text-shadow: 0 1px 10px rgba(0, 30, 80, .55); }
.gnh-sub strong { font-weight: 700; }
.gnh-mulher { position: absolute; right: 4%; bottom: 0; height: 56%; width: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .25)); }

.gnh-faixa { position: relative; display: grid; justify-items: center; text-align: center; gap: 1rem; padding: 1.5rem var(--eco-gutter) 1.75rem; }
.gnh-selo { width: 150px; height: 150px; border-radius: 50%; margin-top: -5.5rem; position: relative; z-index: 2; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .3)); }
.gnh-faca { font-family: 'Poppins', sans-serif; font-weight: 800; text-transform: uppercase; color: #2E4458; font-size: 2.47rem; line-height: 1; }
.gnh-btn {
    display: inline-flex; align-items: center; justify-content: center; background: #5CF03A; color: #1F2A86;
    font-family: 'Poppins', sans-serif; font-weight: 800; text-transform: uppercase; font-size: 1.35rem;
    border-radius: 999px; padding: .85rem 2.8rem; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .5);
    transition: transform .15s ease, filter .15s ease;
}
.gnh-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.gnh-btn:focus-visible { outline: 3px solid #1F2A86; outline-offset: 3px; }
.gnh-aviso { font-size: 11px; line-height: 1.3; color: #22303A; text-align: left; max-width: 72rem; }
.gnh-aviso a { color: #1636C8; }
.gnh-aviso a:hover { text-decoration: underline; }

@media (min-width: 1024px) {
    .gnh {
        /* --u = 1% da largura do layout de referência (1342x746); limitado pela altura útil da tela
           (abaixo do header de 4rem + borda) para o bloco sempre aparecer inteiro sem rolar */
        --u: min(1cqw, calc((100svh - 4rem - 2px) * 1342 / 746 / 100));
        height: calc(55.59 * var(--u)); min-height: 30rem;
    }
    .gnh-foto { position: absolute; inset: 0 0 auto 0; height: 72.4%; min-height: 0; }
    .gnh-texto { padding: calc(2.3 * var(--u)) 0 0 calc(5.8 * var(--u)); }
    .gnh-titulo { font-size: calc(3.15 * var(--u)); line-height: 1.12; }
    .gnh-sub { font-size: calc(1.4 * var(--u)); margin-top: calc(.4 * var(--u)); line-height: 1.15; }
    .gnh-mulher { right: calc(10.8 * var(--u)); height: 61%; }

    .gnh-faixa { position: absolute; inset: 72.4% 0 0 0; display: block; padding: 0; text-align: left; }
    .gnh-selo { position: absolute; left: calc(5.8 * var(--u)); top: calc(-11 * var(--u)); width: calc(18.8 * var(--u)); height: calc(18.8 * var(--u)); margin: 0; }
    .gnh-faca { position: absolute; left: calc(27.6 * var(--u)); top: calc(2.2 * var(--u)); font-size: calc(3.9 * var(--u)); }
    .gnh-btn { position: absolute; right: calc(3.2 * var(--u)); top: calc(1.7 * var(--u)); font-size: calc(2.35 * var(--u)); padding: calc(.95 * var(--u)) calc(3.6 * var(--u)); min-width: calc(26 * var(--u)); }
    .gnh-aviso { position: absolute; left: calc(5.8 * var(--u)); right: calc(4.5 * var(--u)); bottom: calc(2.2 * var(--u)); font-size: max(10px, calc(.88 * var(--u))); max-width: none; }
}

/* ---------- Justificativas (justificativas.html) ----------
   Desktop (≥1024): fundo de praia em largura total; "palco" centralizado de 100u x 56.6u
   (layout de referência 1351x765) com o selo no meio, 5 cartões ao redor e setas em SVG.
   --u é limitado pela altura útil para tudo caber na tela sem rolar.
   Celular: selo em cima e cartões empilhados. */

.jst-wrap { container-type: inline-size; }
.jst { position: relative; overflow: hidden; background: #9EA6B5; }
.jst-fundo, .jst-fundo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.jst-fundo img { object-fit: cover; object-position: 50% 70%; }
.jst-palco { position: relative; display: grid; gap: 1.5rem; padding: 1.75rem var(--eco-gutter) 2.5rem; }
.jst-setas { display: none; }
.jst-selo { justify-self: center; width: 220px; border-radius: 50%; transition: transform .25s ease, filter .25s ease; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .35)); }
.jst-selo img { width: 100%; height: auto; display: block; }
.jst-selo:hover { transform: scale(1.04) rotate(-3deg); }
.jst-selo:focus-visible { outline: 3px solid var(--eco-lime); outline-offset: 4px; }

.jst-card { background: rgba(244, 245, 248, .82); backdrop-filter: blur(2px); padding: 1.25rem 1.4rem; color: #2B2B2B; }
.jst-card h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.15rem; line-height: 1.25; color: #141414; }
.jst-t-azul h2 { color: #1426E0; }
.jst-t-rosa h2 { color: #E5007D; }
.jst-card p { font-size: .9rem; line-height: 1.5; margin-top: .7rem; }
.jst-card .jst-fonte { margin-top: .15rem; }
.jst-fonte strong { font-weight: 700; color: #141414; }
.jst-fonte a { color: #141414; text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .25); text-underline-offset: 2px; }
.jst-fonte a:hover { text-decoration-color: currentColor; }

.jst-btn {
    justify-self: center; display: inline-flex; align-items: center; justify-content: center; text-align: center;
    background: var(--eco-lime); color: var(--eco-deep); font-family: 'Poppins', sans-serif; font-weight: 700; text-transform: uppercase;
    font-size: 1rem; letter-spacing: .01em; border-radius: 999px; padding: 1rem 1.8rem; margin-top: .5rem;
    box-shadow: 0 12px 26px -12px rgba(4, 48, 43, .55); transition: transform .15s ease, filter .15s ease;
}
.jst-btn sup { font-size: .55em; margin-left: .1em; }
.jst-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px -8px rgba(92, 240, 58, .7); }
.jst-btn:focus-visible { outline: 3px solid var(--eco-deep); outline-offset: 3px; }

@media (min-width: 640px) {
    .jst-palco { grid-template-columns: 1fr 1fr; }
    .jst-btn { grid-column: 1 / -1; }
    .jst-selo { grid-column: 1 / -1; width: 260px; }
}

@media (min-width: 1024px) {
    .jst {
        --u: min(1cqw, calc((100svh - 4rem - 2px) * 1351 / 765 / 100));
        height: calc(56.62 * var(--u)); min-height: 32rem;
    }
    .jst-palco { display: block; padding: 0; width: calc(100 * var(--u)); height: 100%; margin-inline: auto; }
    .jst-setas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
    .jst-selo { position: absolute; left: calc(37.6 * var(--u)); top: calc(5.5 * var(--u)); width: calc(24.8 * var(--u)); }

    .jst-card { position: absolute; width: calc(27.1 * var(--u)); padding: calc(1.7 * var(--u)) calc(2 * var(--u)) calc(1.4 * var(--u)); background: rgba(244, 245, 248, .8); }
    .jst-card h2 { font-size: calc(1.4 * var(--u)); line-height: 1.25; }
    .jst-card p { font-size: calc(.95 * var(--u)); line-height: 1.45; margin-top: calc(.8 * var(--u)); }
    .jst-card .jst-fonte { margin-top: calc(.1 * var(--u)); }
    .jst-c1 { left: calc(4.1 * var(--u)); top: calc(3.85 * var(--u)); }
    .jst-c2 { left: calc(68.6 * var(--u)); top: calc(1.8 * var(--u)); }
    .jst-c3 { left: calc(4.1 * var(--u)); top: calc(27 * var(--u)); }
    .jst-c4 { left: calc(70.6 * var(--u)); top: calc(24 * var(--u)); }
    .jst-c5 { left: calc(36.3 * var(--u)); top: calc(35.4 * var(--u)); }
    .jst-btn { position: absolute; left: calc(70.6 * var(--u)); top: calc(45 * var(--u)); width: calc(26.5 * var(--u)); height: calc(4.8 * var(--u)); padding: 0; margin: 0; font-size: calc(1.25 * var(--u)); }
}

/* ---------- Fator Propulsão: fundo de folhas + bloco de cotações (partials/_cotacoes.html) ---------- */

.pagina-folhas { background: #E9F1E9 url(/static/imgs/EBT-CONTA-fundo.webp) center top / cover fixed no-repeat; }
.pagina-folhas .eco-card { background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); }

.mc {
    background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 28px; padding: 1.1rem; margin-bottom: 1.5rem; box-shadow: 0 20px 50px -30px rgba(4, 48, 43, .45);
}
.mc-topo { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: .4rem .4rem 1.2rem; }
.mc-marca { display: flex; align-items: center; gap: .8rem; }
.mc-logo { width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, #2FA84F, #1E7A3A); display: flex; align-items: center; justify-content: center; flex: none; }
.mc-logo img { height: 62%; width: auto; filter: brightness(0) invert(1); }
.mc-nome { display: block; font-family: 'Poppins', sans-serif; font-weight: 700; letter-spacing: .28em; font-size: 1.45rem; color: #1E6B35; line-height: 1; }
.mc-tag { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #1E6B35; margin-top: .35rem; }
.mc-slogan { display: none; color: #1E6B35; font-size: 1.05rem; line-height: 1.2; padding-left: 1.4rem; border-left: 2px solid #1E6B35; }
.mc-pill { display: flex; align-items: center; gap: .75rem; background: #0B3D2E; color: #fff; border-radius: 999px; padding: .65rem 1.2rem; width: 100%; }
.mc-pill > svg { width: 26px; height: 26px; color: #5CF03A; flex: none; }
.mc-pill strong { display: block; font-weight: 600; font-size: .95rem; }
.mc-pill small { display: block; font-size: 11px; color: rgba(255, 255, 255, .7); }

.mc-grid { display: grid; gap: 1rem; grid-template-areas: "ebt" "tab" "ban"; }
.mc-ebt { grid-area: ebt; background: linear-gradient(150deg, #0F5A33 0%, #0B3D2E 70%); color: #fff; border-radius: 22px; padding: 1.25rem; display: flex; flex-direction: column; min-width: 0; }
.mc-ebt-cab { display: flex; gap: 1rem; align-items: flex-start; }
.mc-ebt h2 { font-size: 1.35rem; font-weight: 600; }
.mc-ebt h2 small { font-weight: 400; color: rgba(255, 255, 255, .8); font-size: .8em; }
.mc-ebt-cab p { color: rgba(255, 255, 255, .65); font-size: 13px; }
.mc-preco { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.1rem; margin-top: .6rem; }
.mc-preco #cotacao { font-size: clamp(1.7rem, 6vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.mc-var { display: inline-flex; flex-direction: column; font-weight: 600; font-size: 1.05rem; }
.mc-var small { font-weight: 400; font-size: 11px; color: rgba(255, 255, 255, .6); }
.mc-up { color: #5CF03A; } .mc-down { color: #FF6B6B; } .mc-var-neutra { color: rgba(255, 255, 255, .7); }
.mc-tabela .mc-up { color: #16A34A; } .mc-tabela .mc-down { color: #DC2626; } .mc-tabela .mc-var-neutra { color: var(--eco-muted); }
.mc-grafico { height: 150px; margin: 1rem -.25rem .75rem; }
.mc-rodape { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; }
.mc-periodos { display: flex; flex-wrap: wrap; gap: .25rem; }
.mc-periodos button { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .85); padding: .4rem .8rem; border-radius: 999px; transition: background .15s ease; }
.mc-periodos button:hover { background: rgba(255, 255, 255, .1); }
.mc-periodos button[aria-pressed="true"] { background: #4ADE80; color: #0B3D2E; }
.mc-circ { font-size: 12px; color: rgba(255, 255, 255, .7); }
.mc-circ strong { color: #fff; margin: 0 .5rem 0 .25rem; }
.mc-circ a { color: #5CF03A; white-space: nowrap; }
.mc-circ a:hover { text-decoration: underline; }

.mc-ico { width: 46px; height: 46px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; }
.mc-ico svg { width: 52%; height: 52%; }
.mc-ico--lg { width: 60px; height: 60px; background: #2FA84F; }
.mc-ico--branco { background: #fff; color: #1E8A3C; width: 42px; height: 42px; }
.mc-t-verde { background: #1E7A3A; } .mc-t-azul { background: #1E73D8; } .mc-t-teal { background: #12868F; } .mc-t-roxo { background: #7C3AED; }

.mc-tabela { grid-area: tab; background: rgba(255, 255, 255, .92); border-radius: 22px; padding: .6rem .6rem .8rem; display: flex; flex-direction: column; min-width: 0; }
.mc-tab-cab { display: grid; grid-template-columns: 1fr auto; gap: .5rem; font-size: 12px; color: var(--eco-muted); padding: .6rem .8rem; }
.mc-tab-cab span:nth-child(2) { display: none; }
.mc-linha + .mc-linha { border-top: 1px solid var(--eco-line); }
.mc-linha a { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "ico ativo v" "ico cot v"; align-items: center; column-gap: .8rem; padding: .75rem .8rem; border-radius: 14px; transition: background .15s ease; }
.mc-linha a:hover { background: #F2F8F2; }
.mc-linha--dest a { background: #EEF7EE; }
.mc-linha .mc-ico { grid-area: ico; }
.mc-ativo { grid-area: ativo; min-width: 0; }
.mc-ativo strong { display: block; font-weight: 600; font-size: .95rem; color: var(--eco-ink); }
.mc-ativo strong small { font-weight: 400; color: var(--eco-muted); font-size: .8em; }
.mc-ativo > small { display: block; font-size: 11.5px; color: var(--eco-muted); }
.mc-cot { grid-area: cot; font-size: 13px; color: var(--eco-ink); font-variant-numeric: tabular-nums; }
.mc-v { grid-area: v; font-size: 13.5px; font-weight: 600; text-align: right; white-space: nowrap; }
.mc-todas { margin: .6rem .2rem 0; display: block; text-align: center; padding: .8rem; border-radius: 14px; background: #EEF7EE; font-size: 13px; font-weight: 500; color: #0B3D2E; transition: background .15s ease; }
.mc-todas:hover { background: #E1F0E1; }

.mc-banner { grid-area: ban; position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1rem; border-radius: 22px; padding: 1.2rem 1.25rem 1.2rem 6.5rem; color: #fff; background: linear-gradient(100deg, #1B5E33, #0B3D2E 75%); min-height: 120px; }
.mc-banner-folha { position: absolute; left: -44px; top: 50%; width: 125px; transform: translateY(-50%) rotate(-12deg); opacity: .95; pointer-events: none; }
.mc-banner .mc-ico { position: relative; }
.mc-banner-txt { position: relative; flex: 1 1 12rem; }
.mc-banner-txt strong { display: block; font-size: 1.1rem; line-height: 1.25; font-weight: 600; }
.mc-banner-txt small { display: block; color: rgba(255, 255, 255, .75); font-size: 13px; margin-top: .25rem; }
.mc-banner-btn { position: relative; background: #5CF03A; color: #0B3D2E; font-weight: 600; font-size: 14px; border-radius: 999px; padding: .7rem 1.4rem; white-space: nowrap; transition: transform .15s ease, filter .15s ease; }
.mc-banner:hover .mc-banner-btn { transform: translateX(2px); filter: brightness(1.05); }
.mc-banner:focus-visible, .mc-linha a:focus-visible, .mc-todas:focus-visible { outline: 3px solid #4ADE80; outline-offset: 2px; }

/* Layout pelo tamanho do próprio bloco (a sidebar da área logada reduz o espaço) */
.mc { container: mc / inline-size; }
.mc-tabela { container: mctab / inline-size; }
.mc-ativo strong, .mc-ativo > small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-ebt .mc-grafico { flex: 1; min-height: 150px; }

@container mc (min-width: 600px) {
    .mc-banner-folha { width: 150px; left: -38px; }
    .mc-pill { width: auto; margin-left: auto; }
    .mc-ebt { padding: 1.6rem; }
    .mc-grafico { height: 190px; }
}
@container mc (min-width: 860px) {
    .mc-slogan { display: block; }
}
@container mc (min-width: 900px) {
    .mc-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-areas: "ebt tab" "ban tab"; gap: 1.25rem; }
}
@container mctab (min-width: 440px) {
    .mc-tab-cab { grid-template-columns: 1fr 7.5rem 5.5rem; }
    .mc-tab-cab span:nth-child(2) { display: block; }
    .mc-tab-cab span:nth-child(3) { text-align: right; }
    .mc-linha a { grid-template-columns: auto 1fr 7.5rem 5.5rem; grid-template-areas: "ico ativo cot v"; padding: .95rem .8rem; }
}
@media (min-width: 640px) { .mc { padding: 1.4rem; } }
@media (min-width: 1100px) { .mc { padding: 1.6rem 1.8rem 1.8rem; } }

/* ---------- Minha Conta: refinamentos visuais ---------- */
.saldo-ondas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.saldo-ondas path { fill: none; stroke: rgba(92, 240, 58, .16); stroke-width: 1.4; }
.saldo-ondas path:nth-child(2) { stroke: rgba(255, 255, 255, .08); }
.saldo-ondas path:nth-child(4) { stroke: rgba(255, 255, 255, .06); }

.cot-card { display: grid; gap: 1.25rem; }
.cot-gauge { padding-top: 1.1rem; border-top: 1px solid var(--eco-line); }
@container (min-width: 0) { }
@media (min-width: 640px) {
    .cot-card { grid-template-columns: 1fr 170px; }
    .cot-gauge { padding: 0 0 0 1.25rem; border-top: 0; border-left: 1px solid var(--eco-line); display: flex; flex-direction: column; justify-content: center; }
}
@media (min-width: 1024px) and (max-width: 1499px) {
    /* coluna de 4/12 estreita: medidor desce para baixo do valor */
    .cot-card { grid-template-columns: 1fr; }
    .cot-gauge { padding: 1.1rem 0 0; border-left: 0; border-top: 1px solid var(--eco-line); }
}

.imp-chip { width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.imp-chip svg { width: 16px; height: 16px; }

/* ===================== Meu Perfil (pf-*) ===================== */
.pf { container-type: inline-size; }
.pf svg { flex-shrink: 0; }
.pf-topo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: 1.5rem; }
.pf-titulo { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; color: var(--eco-dark); line-height: 1.1; }
.pf-topo > div:first-child { flex: 1 1 22rem; min-width: 0; }
.pf-lead { color: var(--eco-muted); margin-top: .6rem; max-width: 34rem; line-height: 1.5; }

.pf-progresso {
    display: flex; align-items: center; gap: 1.1rem 1.4rem; flex-wrap: wrap;
    background: radial-gradient(120% 140% at 0% 0%, #0d4a3a 0%, var(--eco-deep) 60%);
    border: 1px solid rgba(92, 240, 58, .28); border-radius: var(--eco-radius);
    padding: 1.1rem 1.4rem; color: #fff; flex: 0 1 36rem; min-width: 0;
    box-shadow: 0 18px 40px -24px rgba(4, 48, 43, .6);
}
.pf-anel { position: relative; width: 76px; height: 76px; flex-shrink: 0; }
.pf-anel svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pf-anel circle { fill: none; stroke-width: 7; }
.pf-anel-fundo { stroke: rgba(255, 255, 255, .1); }
.pf-anel-valor { stroke: var(--eco-lime); stroke-linecap: round; stroke-dasharray: 214; stroke-dashoffset: 214; transition: stroke-dashoffset .8s ease; }
.pf-anel span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: 1.05rem; }
.pf-progresso-txt { flex: 1 1 11rem; min-width: 0; }
.pf-progresso-titulo { font-weight: 600; font-size: 1.05rem; }
.pf-progresso-sub { font-size: 13px; color: rgba(255, 255, 255, .72); margin-top: 2px; }
.pf-barra { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); margin-top: .7rem; overflow: hidden; }
.pf-barra span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--eco-lime); transition: width .8s ease; }
.pf-progresso--ok { border-color: rgba(92, 240, 58, .55); }

.pf-btn-lima {
    display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
    background: var(--eco-lime); color: var(--eco-deep); font-weight: 600; font-size: 14px;
    padding: .7rem 1.1rem; border-radius: 12px; transition: box-shadow .2s ease, transform .1s ease;
}
.pf-btn-lima:hover { box-shadow: 0 8px 24px -8px rgba(92, 240, 58, .7); }
.pf-btn-lima:active { transform: scale(.97); }
.pf-btn-lima svg { width: 18px; height: 18px; }
.pf-btn-lima[hidden] { display: none; }

.pf-alerta {
    display: flex; align-items: center; gap: 1rem 1.25rem; flex-wrap: wrap;
    background: #EEFBEA; border: 1px solid #CDEFC4; border-radius: var(--eco-radius);
    padding: 1.1rem 1.4rem; margin-bottom: 1.5rem;
}
.pf-alerta.hidden { display: none; }
.pf-alerta-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--eco-green); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.pf-alerta-ico svg { width: 24px; height: 24px; }
.pf-alerta-txt { flex: 1 1 16rem; min-width: 0; }
.pf-alerta-titulo { font-weight: 700; color: var(--eco-ink); font-size: 1.05rem; }
.pf-alerta-txt p:last-child { font-size: 14px; color: #3d4f48; margin-top: 2px; }
.pf-alerta-x { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--eco-ink); }
.pf-alerta-x:hover { background: rgba(4, 48, 43, .06); }
.pf-alerta-x svg { width: 20px; height: 20px; }

.pf-grade { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@container (min-width: 760px) { .pf-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pf-grade > :last-child { grid-column: 1 / -1; } }
@container (min-width: 1180px) { .pf-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pf-grade > :last-child { grid-column: auto; } }

.pf-card {
    background: #fff; border-radius: var(--eco-radius); box-shadow: var(--eco-shadow);
    padding: 1.4rem 1.4rem 1.2rem; min-width: 0; display: flex; flex-direction: column;
}
.pf-card-head { display: flex; align-items: flex-start; gap: .9rem; margin-bottom: 1.1rem; }
.pf-card-head > div { flex: 1; min-width: 0; }
.pf-card-head h2 { font-weight: 700; font-size: 1.05rem; color: var(--eco-ink); }
.pf-card-head p { font-size: 13px; color: var(--eco-muted); margin-top: 3px; line-height: 1.45; }
.pf-card-ico { width: 46px; height: 46px; border-radius: 14px; background: #EEFBEA; color: var(--eco-dark); display: grid; place-items: center; flex-shrink: 0; }
.pf-card-ico svg { width: 24px; height: 24px; }
.pf-btn-editar {
    display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; flex-shrink: 0;
    border: 1px solid var(--eco-line); border-radius: 10px; padding: .45rem .75rem;
    font-size: 13px; font-weight: 600; color: var(--eco-ink); background: #fff; transition: border-color .2s, background .2s;
}
.pf-btn-editar:hover { border-color: var(--eco-green); background: #F6FDF4; }
.pf-btn-editar svg { width: 15px; height: 15px; }
.pf-btn-editar.hidden { display: none; }

.pf-card dl { display: flex; flex-direction: column; }
.pf-linha { display: grid; grid-template-columns: minmax(8.5rem, 44%) 1fr; align-items: center; gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--eco-line); font-size: 14px; }
.pf-linha:first-child { border-top: 0; }
.pf-linha dt { display: flex; align-items: center; gap: .65rem; color: var(--eco-muted); min-width: 0; }
.pf-linha dt svg { width: 18px; height: 18px; color: var(--eco-dark); }
.pf-linha dd { display: flex; align-items: center; gap: .4rem; min-width: 0; color: var(--eco-ink); font-weight: 500; }
.pf-valor { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pf-vazio { color: #B07A0A; font-weight: 500; font-style: italic; }
.pf-olho, .pf-seta { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: var(--eco-muted); flex-shrink: 0; }
.pf-olho:hover, .pf-seta:hover { background: var(--eco-surface); color: var(--eco-ink); }
.pf-olho svg, .pf-seta svg { width: 17px; height: 17px; }
.pf-olho--on { color: var(--eco-green); }
.pf-olho[hidden] { display: none; }
.pf-seta { margin-left: auto; }
.pf-selo { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border-radius: 99px; background: #DDF7D6; color: #146c2e; font-size: 12.5px; font-weight: 600; }
.pf-selo::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--eco-green); }
.pf-selo--alerta { background: #FDECEC; color: var(--eco-danger); }
.pf-selo--alerta::before { background: var(--eco-danger); }
.pf-sair { margin-top: auto; padding-top: .9rem; align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--eco-danger); }
.pf-sair:hover { text-decoration: underline; }

.pf-part { margin-top: 1.25rem; }
.pf-part-grade { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--eco-line); border-radius: 16px; }
.pf-part-grade > div { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; padding: 1rem 1.2rem; min-width: 0; }
.pf-part-grade > div:nth-child(n+3) { border-top: 1px solid var(--eco-line); }
.pf-part-grade > div:nth-child(even) { border-left: 1px solid var(--eco-line); }
@container (min-width: 900px) {
    .pf-part-grade { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .pf-part-grade > div:nth-child(n+3) { border-top: 0; }
    .pf-part-grade > div + div { border-left: 1px solid var(--eco-line); }
}
@container (max-width: 480px) {
    .pf-part-grade { grid-template-columns: 1fr; }
    .pf-part-grade > div + div { border-left: 0; border-top: 1px solid var(--eco-line); }
}
.pf-part-ico { grid-row: span 2; color: var(--eco-dark); }
.pf-part-ico svg { width: 22px; height: 22px; }
.pf-part-grade dt { font-size: 12.5px; color: var(--eco-muted); }
.pf-part-grade dd { display: flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--eco-ink); margin-top: 2px; min-width: 0; }
.pf-ponto { width: 9px; height: 9px; border-radius: 50%; background: var(--eco-green); flex-shrink: 0; }
.pf-ponto--alerta { background: var(--eco-danger); }


@container (max-width: 520px) {
    .pf-progresso { padding: 1rem; }
    .pf-progresso .pf-btn-lima { width: 100%; justify-content: center; }
    .pf-alerta .pf-btn-lima { order: 3; width: 100%; justify-content: center; }
    .pf-alerta-x { position: absolute; right: .5rem; top: .5rem; }
    .pf-alerta { position: relative; padding-right: 2.75rem; }
    .pf-card { padding: 1.15rem; }
    .pf-card-head { flex-wrap: wrap; }
    .pf-card-head > div { flex-basis: calc(100% - 60px); }
    .pf-card-head .pf-btn-editar { margin-left: 60px; }
    .pf-linha { grid-template-columns: 1fr; gap: .2rem; }
    .pf-linha dd { padding-left: 1.65rem; }
}

/* Modais */
.pf-dlg { width: min(30rem, calc(100vw - 2rem)); border: 0; border-radius: 22px; padding: 0; box-shadow: 0 30px 80px -20px rgba(4, 48, 43, .5); color: var(--eco-ink); }
.pf-dlg::backdrop { background: rgba(4, 30, 26, .55); backdrop-filter: blur(3px); }
.pf-dlg form { padding: 1.5rem; display: flex; flex-direction: column; }
.pf-dlg h3 { font-weight: 700; font-size: 1.2rem; color: var(--eco-dark); margin-bottom: 1rem; }
.pf-dlg .eco-label { margin-top: .8rem; }
.pf-dlg-duas { display: grid; grid-template-columns: 1fr 6rem; gap: .75rem; }
.pf-dlg-nota, .pf-dlg-dica { font-size: 12.5px; color: var(--eco-muted); margin-top: .5rem; }
.pf-dlg-erro { font-size: 13px; color: var(--eco-danger); margin-top: .6rem; min-height: 1em; }
.pf-dlg-erro:empty { display: none; }
.pf-dlg-acoes { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1.25rem; }
.pf-btn-sec { background: var(--eco-surface); color: var(--eco-ink); }
.pf-btn-sec:hover { background: var(--eco-line); }
.pf-dlg [type="submit"]:disabled { opacity: .6; }

.pf-toast {
    position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 1rem); opacity: 0; pointer-events: none;
    background: var(--eco-deep); color: #fff; font-size: 14px; font-weight: 500; padding: .75rem 1.2rem; border-radius: 12px;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4); transition: opacity .25s ease, transform .25s ease; z-index: 80;
}
.pf-toast--on { opacity: 1; transform: translate(-50%, 0); }


/* ===================== Faixa institucional (eco-faixa) ===================== */
.eco-faixa {
    display: grid; grid-template-columns: 1fr; gap: 1rem 2rem; margin-top: 1.25rem;
    background: radial-gradient(120% 200% at 0% 100%, #0B4A39 0%, var(--eco-deep) 55%); color: #fff;
    border-radius: var(--eco-radius); padding: 1.3rem 1.6rem;
}
@media (min-width: 768px) { .eco-faixa { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.eco-faixa > div { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.eco-faixa svg { width: 38px; height: 38px; color: #6CEB7E; flex-shrink: 0; }
.eco-faixa p { font-size: 12.5px; color: rgba(255, 255, 255, .72); line-height: 1.45; }
.eco-faixa strong { display: block; color: #fff; font-weight: 600; font-size: 13px; margin-bottom: 2px; }

/* ===================== Comprar Ecobits (cp-*) ===================== */
.cp { container-type: inline-size; }
.cp svg { flex-shrink: 0; }
.cp-topo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: 1.5rem; }
.cp-topo-txt { flex: 1 1 24rem; min-width: 0; }
.cp-titulo { font-size: clamp(1.7rem, 1.35rem + 1.1vw, 2.25rem); font-weight: 700; letter-spacing: -.02em; color: var(--eco-dark); line-height: 1.15; margin-top: .4rem; }
.cp-titulo sup { font-size: .45em; font-weight: 600; }
.cp-lead { color: var(--eco-muted); margin-top: .55rem; max-width: 36rem; line-height: 1.55; font-size: 14.5px; }
.cp-topo-cards { display: flex; flex-wrap: wrap; gap: 1rem; flex: 0 1 auto; }
.cp-mini {
    display: flex; align-items: center; gap: .9rem; background: #fff; border-radius: 18px; box-shadow: var(--eco-shadow);
    padding: 1rem 1.3rem; min-width: 14rem; flex: 1 1 14rem;
}
.cp-mini.so-logado { display: flex; }
html:not(.eco-logado) .cp-mini.so-logado { display: none; }
.cp-mini-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #EEFBEA; color: var(--eco-green); }
.cp-mini-ico--cheio { background: var(--eco-green); color: #fff; width: 52px; height: 52px; }
.cp-mini-ico svg { width: 24px; height: 24px; }
.cp-mini-rot { font-size: 12.5px; color: var(--eco-muted); }
.cp-mini-val { font-size: 1.05rem; font-weight: 700; color: var(--eco-ink); white-space: nowrap; margin-top: 1px; }
.cp-mini-val--verde { font-size: 1.35rem; color: var(--eco-green); }
.cp-mini-nota { font-size: 11px; color: var(--eco-muted); margin-top: 2px; }
.cp-mini-nota a { color: var(--eco-green); font-weight: 600; }
.cp-mini-nota a:hover { text-decoration: underline; }

.cp-grade { display: grid; gap: 1.25rem; align-items: start; }
@container (min-width: 960px) { .cp-grade { grid-template-columns: minmax(0, 1fr) 330px; } .cp-resumo { position: sticky; top: 5.5rem; } }
.cp-col { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.cp-card { background: #fff; border-radius: var(--eco-radius); box-shadow: var(--eco-shadow); padding: 1.4rem; min-width: 0; }
@container (min-width: 640px) { .cp-card { padding: 1.5rem 1.6rem; } }

.cp-passo { display: flex; align-items: flex-start; gap: .85rem; margin-bottom: 1.2rem; }
.cp-num { width: 30px; height: 30px; border-radius: 50%; background: var(--eco-deep); color: #fff; font-size: 14px; font-weight: 600; display: grid; place-items: center; flex-shrink: 0; }
.cp-passo h2 { font-weight: 700; font-size: 1rem; color: var(--eco-ink); line-height: 30px; }
.cp-passo p { font-size: 13px; color: var(--eco-muted); margin-top: -2px; }

.cp-materiais { display: grid; grid-template-columns: 1fr; gap: .9rem; }
@container (min-width: 560px) { .cp-materiais { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cp-mat { cursor: pointer; display: block; }
.cp-mat-box {
    position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: .9rem;
    height: 100%; border-radius: 16px; border: 1.5px solid var(--eco-line); padding: 1.1rem 1.2rem; background: #fff;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
@container (min-width: 560px) { .cp-mat-box { grid-template-columns: 1fr; } }
.cp-mat:hover .cp-mat-box { border-color: #C5D9CB; }
.cp-mat input:checked + .cp-mat-box { border-color: var(--eco-green); background: #F3FCF0; box-shadow: 0 0 0 3px rgba(22, 163, 74, .1); }
.cp-mat input:focus-visible + .cp-mat-box { outline: 2px solid var(--eco-lime); outline-offset: 2px; }
.cp-mat-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; grid-row: span 3; align-self: center; }
@container (min-width: 560px) { .cp-mat-ico { grid-row: auto; margin-bottom: .9rem; } }
.cp-mat-ico svg { width: 24px; height: 24px; }
.cp-mat-ico--azul { background: #E7F1FD; color: #2563EB; }
.cp-mat-ico--verde { background: #E3F8EC; color: #15803D; }
.cp-mat-ico--roxo { background: #EFE7FD; color: #7C3AED; }
.cp-mat-check {
    position: absolute; top: 1rem; right: 1rem; width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid #CBD5CF; display: grid; place-items: center; color: transparent; transition: all .2s;
}
.cp-mat-check svg { width: 13px; height: 13px; }
.cp-mat input:checked + .cp-mat-box .cp-mat-check { background: var(--eco-green); border-color: var(--eco-green); color: #fff; }
.cp-mat-nome { font-weight: 700; color: var(--eco-ink); align-self: end; }
.cp-mat-preco { font-size: 13px; color: var(--eco-muted); }

.cp-qtd { display: grid; gap: 1.1rem; align-items: center; }
@container (min-width: 700px) { .cp-qtd { grid-template-columns: minmax(0, 1fr) 15rem; gap: 1.5rem; } }
.cp-stepper { display: flex; align-items: center; gap: .75rem; }
.cp-stepper button {
    width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--eco-line); background: #fff; flex-shrink: 0;
    font-size: 1.5rem; color: var(--eco-ink); transition: border-color .2s, background .2s;
}
.cp-stepper button:hover { border-color: var(--eco-green); background: #F3FCF0; }
.cp-kg { flex: 1; min-width: 0; display: flex; align-items: center; height: 48px; border: 1px solid #DCE3DE; border-radius: 12px; padding: 0 1rem; background: #fff; transition: border-color .2s, box-shadow .2s; }
.cp-kg:focus-within { border-color: var(--eco-green); box-shadow: 0 0 0 4px rgba(22, 163, 74, .12); }
.cp-kg input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 1.35rem; font-weight: 600; color: var(--eco-ink); background: transparent; text-align: center; }
.cp-kg span { color: var(--eco-muted); font-weight: 500; }
.cp-atalhos { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.cp-atalhos .atalho { padding: .45rem 1.05rem; border-radius: 99px; background: #F1F5F2; font-size: 13px; font-weight: 600; color: var(--eco-ink); transition: background .2s, color .2s; }
.cp-atalhos .atalho:hover { background: #E3F2E6; }
.cp-atalhos .atalho--on { background: var(--eco-deep); color: #fff; }
.cp-atalhos .atalho--on:hover { background: var(--eco-deep); }
.cp-dica { display: flex; gap: .8rem; background: #EEFBEA; border-radius: 16px; padding: 1rem 1.1rem; }
.cp-dica-ico { width: 36px; height: 36px; border-radius: 50%; background: var(--eco-green); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.cp-dica-ico svg { width: 18px; height: 18px; }
.cp-dica p { font-size: 12.5px; color: #3d4f48; line-height: 1.45; }
.cp-dica .cp-dica-tit { font-weight: 700; color: var(--eco-ink); font-size: 13px; margin-bottom: .3rem; }
.cp-info { display: flex; align-items: flex-start; gap: .7rem; margin-top: 1.25rem; padding: .85rem 1rem; border-radius: 12px; background: #F4F8F5; font-size: 13px; color: #3d4f48; line-height: 1.5; }
.cp-info svg { width: 18px; height: 18px; color: var(--eco-green); margin-top: 1px; }
.cp-info a { color: var(--eco-green); font-weight: 600; }
.cp-info a:hover { text-decoration: underline; }

.cp-resumo-tit { display: flex; align-items: center; gap: .7rem; font-weight: 700; color: var(--eco-ink); margin-bottom: 1.1rem; }
.cp-resumo-tit svg { width: 26px; height: 26px; color: var(--eco-dark); }
.cp-resumo-dl > div:not(.cp-recebe):not(.cp-saldos), .cp-saldos > div { display: flex; justify-content: space-between; gap: 1rem; font-size: 13.5px; padding: .35rem 0; }
.cp-resumo-dl dt { color: var(--eco-muted); }
.cp-resumo-dl dd { font-weight: 600; color: var(--eco-ink); text-align: right; }
.cp-recebe { background: #EEFBEA; border-radius: 14px; padding: .9rem 1.1rem; margin: .9rem 0; }
.cp-recebe dt { font-size: 12.5px; color: var(--eco-dark); }
.cp-recebe dd { font-size: 1.75rem; font-weight: 700; color: var(--eco-green); text-align: left; letter-spacing: -.01em; margin-top: 2px; overflow-wrap: anywhere; }
.cp-saldos { padding-top: .2rem; }
.cp-saldos.hidden { display: none; }
.cp-saldos > div { font-size: 12.5px; padding: .2rem 0; }
.cp-aceite { display: flex; align-items: flex-start; gap: .55rem; font-size: 12.5px; color: var(--eco-muted); margin: 1rem 0; cursor: pointer; }
.cp-aceite input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--eco-green); flex-shrink: 0; }
.cp-aceite a { color: var(--eco-green); font-weight: 600; }
.cp-btn-pix {
    display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; height: 50px; border-radius: 12px;
    background: var(--eco-deep); color: #fff; font-weight: 600; font-size: 15px; transition: background .2s, transform .1s, opacity .2s;
}
.cp-btn-pix:hover:not(:disabled) { background: #0A4A3A; }
.cp-btn-pix:active:not(:disabled) { transform: scale(.98); }
.cp-btn-pix:disabled { opacity: .45; cursor: not-allowed; }
.cp-btn-pix svg { width: 20px; height: 20px; }
.cp-seguro { display: flex; gap: .55rem; margin-top: .9rem; font-size: 11.5px; color: var(--eco-muted); line-height: 1.45; }
.cp-seguro svg { width: 15px; height: 15px; color: var(--eco-green); margin-top: 1px; }

/* ---------- Página: Transferir (stepper em 3 etapas) ---------- */

.tf-title { font-size: 1.85rem; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: var(--eco-ink); margin-top: .5rem; }
@media (min-width: 640px) { .tf-title { font-size: 2.4rem; } }
.tf-title sup { font-size: .45em; top: -1.1em; font-weight: 600; }

/* Stepper */
.tf-steps { display: flex; align-items: center; gap: .75rem; margin: 2rem 0 1.75rem; }
.tf-step { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.tf-step-num {
    width: 44px; height: 44px; border-radius: 999px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; font-weight: 600; color: #4B5A54; background: #E9EDEB;
    box-shadow: 0 0 0 5px #fff, 0 6px 16px -6px rgba(4, 48, 43, .25);
    transition: background .25s, color .25s;
}
@media (min-width: 640px) { .tf-step-num { width: 54px; height: 54px; font-size: 20px; } }
.tf-step-num svg { width: 22px; height: 22px; }
.tf-step strong { display: block; font-size: 15px; font-weight: 600; color: var(--eco-ink); }
.tf-step small { display: block; font-size: 13px; color: var(--eco-muted); }
.tf-step.is-active .tf-step-num,
.tf-step.is-done .tf-step-num { background: linear-gradient(160deg, #22A045 0%, #0E7A35 100%); color: #fff; }
.tf-step-line { flex: 1; height: 2px; min-width: 1.25rem; border-radius: 2px; background: #DCE3DE; transition: background .25s; }
.tf-step-line.is-done { background: #22A045; }
@media (max-width: 767px) { .tf-step-txt { display: none; } .tf-step.is-active .tf-step-txt { display: block; } }

/* Layout */
.tf-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .tf-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } }
.tf-card { background: #fff; border-radius: 22px; box-shadow: var(--eco-shadow); padding: 1.5rem; }
@media (min-width: 640px) { .tf-card { padding: 1.75rem 1.75rem 2rem; } }
.tf-card-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.5rem; }
.tf-card-head h2 { font-size: 19px; font-weight: 600; color: var(--eco-ink); }
.tf-card-head p { font-size: 14px; color: var(--eco-muted); margin-top: .15rem; }
.tf-ico {
    width: 64px; height: 64px; border-radius: 999px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: #EAF4EE; color: var(--eco-dark);
}
.tf-ico svg { width: 28px; height: 28px; }

/* Abas sublinhadas */
.tf-tabs { display: flex; margin-bottom: 1.75rem; }
.tf-tabs button {
    flex: 1; max-width: 240px; padding: .7rem .5rem; font-size: 14.5px; font-weight: 500; color: #4B5A54;
    border-bottom: 2px solid var(--eco-line); transition: color .2s, border-color .2s;
}
.tf-tabs button:hover { color: var(--eco-ink); }
.tf-tabs button.is-active { color: #0E7A35; font-weight: 600; border-bottom: 3px solid #22A045; }

.tf-label { display: block; font-size: 14.5px; font-weight: 600; color: var(--eco-ink); margin-bottom: .6rem; }
.tf-field { position: relative; display: flex; align-items: center; }
.tf-field > svg { position: absolute; left: 1.1rem; width: 20px; height: 20px; color: #8A9792; pointer-events: none; }
.tf-input {
    width: 100%; height: 56px; padding: 0 3rem 0 3.25rem; font-size: 15.5px; color: var(--eco-ink);
    background: #fff; border: 1px solid #DCE3DE; border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.tf-input::placeholder { color: #9AA6A1; }
.tf-input:focus { outline: none; border-color: #22A045; box-shadow: 0 0 0 4px rgba(34, 160, 69, .12); }
.tf-input--code { text-align: center; letter-spacing: .5em; font-size: 22px; font-weight: 600; padding: 0 1rem; }
.tf-clear {
    position: absolute; right: .75rem; width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; color: #6B7A74;
}
.tf-clear:hover { background: var(--eco-surface); color: var(--eco-ink); }
.tf-clear svg { width: 16px; height: 16px; }
.tf-erro { font-size: 12.5px; color: var(--eco-danger); margin-top: .5rem; }

/* Caixa do destinatário identificado */
.tf-result {
    display: flex; align-items: center; gap: 1.1rem; margin-top: 1.5rem; padding: 1rem 1.1rem;
    border-radius: 14px; background: #EEF7F1; font-size: 13.5px; color: #3E4F48; line-height: 1.5;
    transition: background .2s, box-shadow .2s;
}
.tf-result .tf-ico { width: 56px; height: 56px; background: #DDEFE3; }
.tf-result .tf-ico svg { width: 26px; height: 26px; }
.tf-result.is-found { background: #E6F5EA; box-shadow: inset 0 0 0 1px #BFE3CA; }
.tf-result.is-found .tf-ico { background: #22A045; color: #fff; }
.tf-result strong { display: block; font-size: 15px; font-weight: 600; color: var(--eco-ink); }

.tf-sep { height: 1px; background: var(--eco-line); margin: 1.75rem 0; }
.tf-amount { position: relative; }
.tf-amount span { position: absolute; left: 1.15rem; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--eco-muted); }
.tf-amount .tf-input { padding-left: 2.6rem; font-variant-numeric: tabular-nums; }
.tf-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: 12.5px; color: var(--eco-muted); margin-top: .6rem; }
.tf-meta a { color: #0E7A35; font-weight: 600; }
.tf-meta a:hover { text-decoration: underline; }

/* Resumo (etapa 3) */
.tf-resumo { border-radius: 14px; background: var(--eco-surface); padding: .35rem 1.1rem; }
.tf-resumo > div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; font-size: 14px; border-bottom: 1px solid var(--eco-line); }
.tf-resumo > div:last-child { border-bottom: 0; }
.tf-resumo dt { color: var(--eco-muted); }
.tf-resumo dd { font-weight: 600; color: var(--eco-ink); text-align: right; }
.tf-aviso { display: flex; gap: .6rem; margin-top: 1.1rem; padding: .85rem 1rem; border-radius: 12px; background: #FFF7E6; color: #7A5A12; font-size: 13px; line-height: 1.5; }
.tf-aviso svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }

.tf-sucesso { text-align: center; padding: 1rem 0 .5rem; }
.tf-sucesso .tf-ico { margin: 0 auto 1rem; width: 72px; height: 72px; background: #22A045; color: #fff; box-shadow: 0 0 0 8px #E6F5EA; }

/* Painel lateral "Transferência segura" */
.tf-side { padding: 1.75rem; }
.tf-side-top { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; }
.tf-ilu { position: relative; width: 132px; height: 120px; flex-shrink: 0; }
.tf-ilu::before { content: ""; position: absolute; left: -14px; bottom: -8px; width: 110px; height: 70px; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, #EAF4EE, rgba(234, 244, 238, 0)); }
.tf-ilu-tile {
    position: absolute; left: 22px; top: 0; width: 92px; height: 104px; border-radius: 18px;
    display: flex; align-items: center; justify-content: center; color: #22A045;
    background: linear-gradient(160deg, #E4F6E9 0%, #CDEBD6 100%);
    box-shadow: 0 14px 28px -14px rgba(4, 48, 43, .35);
}
.tf-ilu-tile svg { width: 52px; height: 52px; }
.tf-ilu-lupa {
    position: absolute; right: 0; bottom: 4px; width: 52px; height: 52px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center; color: #fff;
    background: linear-gradient(160deg, #22A045, #0E7A35); box-shadow: 0 0 0 4px #fff, 0 8px 18px -6px rgba(14, 122, 53, .6);
}
.tf-ilu-lupa svg { width: 24px; height: 24px; }
.tf-side-top h3 { font-size: 19px; font-weight: 600; color: var(--eco-ink); }
.tf-side-top p { font-size: 14px; color: var(--eco-muted); margin-top: .4rem; line-height: 1.55; }
.tf-feat { display: flex; align-items: center; gap: 1.1rem; padding: .8rem 0; }
.tf-feat .tf-ico { width: 54px; height: 54px; color: #0E7A35; }
.tf-feat .tf-ico svg { width: 24px; height: 24px; }
.tf-feat strong { display: block; font-size: 15px; font-weight: 600; color: var(--eco-ink); }
.tf-feat p { font-size: 13.5px; color: var(--eco-muted); line-height: 1.45; }
.tf-cotacao { margin-top: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--eco-line); font-size: 12.5px; color: var(--eco-muted); }
.tf-cotacao b { color: var(--eco-ink); font-weight: 600; }
.tf-cotacao a { color: var(--eco-gold); }

/* Barra de ações */
.tf-acoes { display: flex; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 1024px) { .tf-acoes { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 1.5rem; } }
.tf-btn-sec {
    height: 60px; padding: 0 2rem; min-width: 140px; border-radius: 14px; background: #fff; color: var(--eco-ink);
    font-size: 16px; font-weight: 600; box-shadow: var(--eco-shadow); transition: box-shadow .2s;
}
@media (min-width: 1024px) { .tf-btn-sec { justify-self: start; min-width: 228px; } }
.tf-btn-sec:hover { box-shadow: var(--eco-shadow-hover), inset 0 0 0 1px #DCE3DE; }
.tf-btn-pri {
    flex: 1; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: .75rem;
    color: #fff; font-size: 17px; font-weight: 600;
    background: linear-gradient(180deg, #0E7A3E 0%, #0B5E33 100%);
    box-shadow: 0 14px 28px -14px rgba(11, 94, 51, .8); transition: filter .2s, transform .1s, opacity .2s;
}
.tf-btn-pri:hover:not(:disabled) { filter: brightness(1.08); }
.tf-btn-pri:active:not(:disabled) { transform: scale(.98); }
.tf-btn-pri:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.tf-btn-pri svg { width: 22px; height: 22px; }
@media (max-width: 1023px) {
    .tf-acoes { position: sticky; bottom: 0; z-index: 20; margin: 1.5rem calc(var(--eco-gutter) * -1) 0; padding: .85rem var(--eco-gutter) calc(.85rem + env(safe-area-inset-bottom)); background: rgba(244, 247, 244, .92); backdrop-filter: blur(8px); }
    .tf-btn-sec, .tf-btn-pri { height: 54px; }
    .tf-btn-sec { min-width: 0; padding: 0 1.4rem; }
}
@media (max-width: 639px) { .tf-ilu { display: none; } }

/* Espera de 1 minuto entre etapas */
.tf-espera { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(4, 48, 43, .55); backdrop-filter: blur(6px); }
.tf-espera.hidden { display: none; }
.tf-espera-box { width: 100%; max-width: 380px; background: #fff; border-radius: 24px; padding: 2rem 1.75rem 1.75rem; text-align: center; box-shadow: 0 30px 60px -20px rgba(4, 48, 43, .5); }
.tf-espera-ring { position: relative; width: 120px; height: 120px; margin: 0 auto 1.25rem; }
.tf-espera-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.tf-espera-ring circle { fill: none; stroke-width: 8; }
.tf-espera-trilho { stroke: #E6F5EA; }
.tf-espera-prog { stroke: #22A045; stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.tf-espera-spin { position: absolute; inset: 18px; border-radius: 999px; border: 3px solid transparent; border-top-color: #0E7A35; border-right-color: #0E7A35; animation: tf-gira .9s linear infinite; }
.tf-espera-ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; color: var(--eco-ink); font-variant-numeric: tabular-nums; }
.tf-espera-ring b::after { content: "s"; font-size: 14px; font-weight: 600; color: var(--eco-muted); margin: 6px 0 0 2px; }
.tf-espera-atencao { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7A5A12; background: #FFF3D6; border-radius: 999px; padding: .25rem .7rem; margin-bottom: .6rem; }
.tf-espera-box h2 { font-size: 19px; font-weight: 600; color: var(--eco-ink); }
.tf-espera-box p#tf-espera-msg { font-size: 14px; color: var(--eco-muted); margin-top: .35rem; line-height: 1.5; }
.tf-espera-box small { display: block; font-size: 12px; color: #8A9792; margin-top: 1rem; }
@keyframes tf-gira { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tf-espera-spin { animation-duration: 3s; } }

/* ---------- Página: Receber (QR code de chave e de cobrança) ---------- */

.rc-sem-icone, .rc-mono { padding: 0 1rem; }
.rc-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; color: #3E4F48; }
.rc-copiar { display: flex; gap: .6rem; }
.rc-copiar .tf-input { flex: 1; min-width: 0; }
.rc-btn-copiar { flex-shrink: 0; padding: 0 1.2rem; border-radius: 12px; background: #EAF4EE; color: #0E7A35; font-weight: 600; font-size: 14px; transition: background .2s; }
.rc-btn-copiar:hover { background: #DDEFE3; }
.rc-dicas { margin-top: 1.5rem; display: grid; gap: .75rem; }
.rc-dicas li { position: relative; padding-left: 1.75rem; font-size: 13.5px; color: #3E4F48; line-height: 1.5; }
.rc-dicas li::before {
    content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 999px;
    background: #22A045 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.rc-qr-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.rc-qr { position: relative; width: 100%; max-width: 260px; margin: 1rem auto 1rem; padding: 16px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--eco-line), 0 14px 30px -18px rgba(4, 48, 43, .35); }
.rc-qr-img svg { display: block; width: 100%; height: auto; }
.rc-qr-img svg path, .rc-qr-img svg rect[fill="black"] { fill: var(--eco-deep); }
.rc-qr-logo { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); padding: 6px; border-radius: 12px; background: var(--eco-deep); object-fit: contain; }
.rc-nome { font-size: 17px; font-weight: 600; color: var(--eco-ink); }
.rc-valor { font-size: 24px; font-weight: 700; color: #0E7A35; margin-top: .15rem; font-variant-numeric: tabular-nums; }
.rc-desc { font-size: 13.5px; color: var(--eco-muted); margin-top: .15rem; }
.rc-cc { width: 100%; margin-top: 1.25rem; padding: .75rem 1rem; border-radius: 12px; background: var(--eco-surface); text-align: left; }
.rc-cc span { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--eco-muted); margin-bottom: .25rem; }
.rc-cc code { display: block; font-size: 12px; color: #3E4F48; word-break: break-all; line-height: 1.45; max-height: 3.2em; overflow: hidden; }
.rc-acoes { width: 100%; display: grid; gap: .75rem; margin-top: 1.25rem; }
.rc-acoes .tf-btn-pri { flex: none; }
.rc-acoes .tf-btn-sec { min-width: 0; padding: 0 1rem; height: 52px; font-size: 15px; justify-self: stretch; }

.rc-toast {
    position: fixed; left: 50%; bottom: 1.5rem; z-index: 110; transform: translate(-50%, 1rem); opacity: 0; pointer-events: none;
    padding: .7rem 1.2rem; border-radius: 12px; background: var(--eco-deep); color: #fff; font-size: 14px; font-weight: 500;
    box-shadow: 0 14px 30px -12px rgba(4, 48, 43, .6); transition: opacity .2s, transform .2s;
}
.rc-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Leitor de QR (tela Transferir) */
.tf-scan { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(4, 48, 43, .7); backdrop-filter: blur(6px); }
.tf-scan.hidden { display: none; }
.tf-scan-box { width: 100%; max-width: 420px; background: #fff; border-radius: 24px; padding: 1.5rem; text-align: center; }
.tf-scan-box h2 { font-size: 18px; font-weight: 600; color: var(--eco-ink); }
.tf-scan-box p { font-size: 13.5px; color: var(--eco-muted); margin-top: .25rem; }
#tf-scan-video { margin: 1rem 0; border-radius: 16px; overflow: hidden; background: #0F1F1A; min-height: 240px; }
#tf-scan-video video { width: 100% !important; display: block; }
.tf-scan-btn { display: inline-flex; align-items: center; gap: .5rem; margin-top: .9rem; font-size: 14px; font-weight: 600; color: #0E7A35; }
.tf-scan-btn:hover { text-decoration: underline; }
.tf-scan-btn svg { width: 18px; height: 18px; }
.tf-cobranca-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #0E7A35; background: #DDEFE3; border-radius: 999px; padding: .15rem .55rem; margin-left: .4rem; vertical-align: middle; }

/* ---------- Telas Entrar / Criar conta (partials/_auth.html) ---------- */

.au-page { position: relative; overflow: hidden; isolation: isolate; padding: 2rem 0 3rem; }
@media (min-width: 1024px) { .au-page { padding: 1.75rem 0 2.5rem; min-height: calc(100vh - 68px); display: flex; align-items: center; } }
.au-fundo {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(40% 50% at 100% 15%, rgba(110, 222, 145, .35), transparent 70%),
        radial-gradient(35% 45% at 0% 100%, rgba(110, 222, 145, .3), transparent 70%),
        radial-gradient(45% 55% at 45% 60%, rgba(196, 240, 210, .7), transparent 70%),
        linear-gradient(180deg, #F7FCF8 0%, #EEF9F1 100%);
}
.au-fundo::before, .au-fundo::after { content: ""; position: absolute; border-radius: 999px; filter: blur(2px); }
.au-fundo::before { right: -120px; top: 80px; width: 320px; height: 520px; background: linear-gradient(160deg, rgba(160, 235, 185, .55), rgba(160, 235, 185, 0)); transform: rotate(18deg); }
.au-fundo::after { left: -140px; bottom: -160px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(120, 220, 150, .45), rgba(120, 220, 150, 0) 70%); }

.au-grid { position: relative; width: 100%; max-width: 1480px; margin: 0 auto; display: grid; gap: 2rem; }
@media (min-width: 1024px) { .au-grid { grid-template-columns: minmax(0, 1fr) minmax(440px, 600px); align-items: center; gap: 2.5rem; } .au-hero { align-self: start; padding-top: 1rem; } }

/* Hero (coluna esquerda) */
.au-hero { position: relative; z-index: 2; }
/* Logo ฿ com folhas em destaque: bloco verde-escuro (o verde-limão some no fundo claro) */
.au-logo {
    display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 24px;
    background: radial-gradient(120% 120% at 30% 20%, #0F5A3A 0%, #04302B 70%);
    box-shadow: 0 18px 36px -16px rgba(4, 48, 43, .6), inset 0 0 0 1px rgba(255, 255, 255, .08);
    transition: transform .2s ease;
}
.au-logo:hover { transform: translateY(-2px) rotate(-2deg); }
.au-logo img { height: 64px; width: auto; transform: translateY(-4%); filter: drop-shadow(0 0 14px rgba(114, 248, 31, .35)); }
@media (min-width: 1024px) { .au-logo { width: 104px; height: 104px; border-radius: 28px; } .au-logo img { height: 76px; } }
.au-marca { margin-top: 1.5rem; font-size: clamp(3rem, 7vw, 4.75rem); font-weight: 700; line-height: 1; letter-spacing: -.035em; color: #0B2E22; }
.au-marca sup { font-size: .32em; top: -1.5em; font-weight: 600; letter-spacing: 0; }
.au-slogan { margin-top: 1.25rem; font-size: clamp(1.75rem, 3.6vw, 2.9rem); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; color: #0B2E22; }
.au-verde { background: linear-gradient(90deg, #16A34A, #0E8A3E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.au-lead { margin-top: 1.25rem; max-width: 30rem; font-size: 17px; line-height: 1.5; color: #55655E; }
.au-feats { margin-top: 2rem; display: none; gap: 1.5rem; }
@media (min-width: 1024px) { .au-feats { display: grid; margin-top: 4.5rem; } }
.au-feats li { display: flex; align-items: center; gap: 1.25rem; }
.au-feat-ico { width: 64px; height: 64px; flex-shrink: 0; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #E4F7EA, #D2F0DC); color: #0E8A3E; box-shadow: 0 8px 20px -12px rgba(14, 138, 62, .45); }
.au-feat-ico svg { width: 28px; height: 28px; }
.au-feats strong { display: block; font-size: 16.5px; font-weight: 600; color: var(--eco-ink); }
.au-feats p { font-size: 14px; line-height: 1.45; color: #5E6E67; margin-top: .15rem; }

/* Ilustração (atrás, entre o texto e o card) */
.au-ilu-wrap { display: none; }
/* só aparece quando há espaço entre o texto e o card */
@media (min-width: 1280px) {
    .au-ilu-wrap { display: block; position: absolute; z-index: 1; pointer-events: none; left: 35%; top: 50%; width: 30vw; transform: translateY(-46%); }
}
@media (min-width: 1536px) { .au-ilu-wrap { left: 30%; width: min(38vw, 560px); } }
.au-ilu { width: 100%; height: auto; display: block; }
.au-moeda { animation: au-flutua 6s ease-in-out infinite; transform-origin: 306px 262px; }
@keyframes au-flutua { 50% { transform: translateY(-10px) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .au-moeda { animation: none; } }

/* Card do formulário */
.au-card {
    position: relative; z-index: 3; width: 100%; max-width: 600px; justify-self: center;
    padding: 2rem 1.25rem 1.75rem; border-radius: 28px; background: #fff;
    box-shadow: 0 1px 2px rgba(4, 48, 43, .05), 0 30px 60px -30px rgba(4, 48, 43, .28); text-align: center;
}
@media (min-width: 640px) { .au-card { padding: 2.25rem 3rem 2rem; } }
@media (min-width: 1024px) { .au-card { justify-self: end; padding: 2.25rem 4.25rem 2rem; } }
.au-card-ico { width: 58px; height: 58px; margin: 0 auto; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700; }
.au-card-ico--ouro { background: linear-gradient(160deg, #FFF4DA, #FBE7B8); color: #C89116; }
.au-card-ico--verde { background: linear-gradient(160deg, #E4F7EA, #D2F0DC); color: #16A34A; }
.au-card-ico svg { width: 26px; height: 26px; }
.au-card h2 { margin-top: .9rem; font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: #0B2E22; }
.au-card-sub { margin-top: .25rem; font-size: 15px; color: #55655E; }

.au-form { margin-top: 1.75rem; display: grid; gap: 1.15rem; text-align: left; }
.au-form--denso { margin-top: 1.4rem; gap: .95rem; }
.au-label { display: block; font-size: 14px; font-weight: 600; color: var(--eco-ink); margin-bottom: .45rem; }
.au-field { position: relative; display: flex; align-items: center; }
.au-field > svg { position: absolute; left: 1.05rem; width: 21px; height: 21px; color: #4B5A54; pointer-events: none; }
.au-input {
    width: 100%; height: 52px; padding: 0 1rem 0 3.25rem; font-size: 15px; color: var(--eco-ink);
    background: #fff; border: 1px solid #DCE3DE; border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.au-input::placeholder { color: #98A49F; }
.au-input:hover { border-color: #C5CFC9; }
.au-input:focus { outline: none; border-color: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .14); }
.au-input--olho { padding-right: 3.25rem; }
.au-field--select select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 3rem;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1F1A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 1.1rem center / 18px no-repeat; }
.au-olho { position: absolute; right: .6rem; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #4B5A54; }
.au-olho:hover { background: var(--eco-surface); color: var(--eco-ink); }
.au-olho svg { width: 21px; height: 21px; }

.au-linha { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-top: -.1rem; }
.au-check { display: inline-flex; align-items: center; gap: .6rem; font-size: 14px; color: #3E4F48; cursor: pointer; user-select: none; }
.au-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.au-check > span { width: 21px; height: 21px; border-radius: 5px; border: 1.5px solid #C5CFC9; background: #fff; display: inline-flex; transition: background .15s, border-color .15s; }
.au-check input:checked + span { border-color: #16A34A; background: #16A34A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.au-check input:focus-visible + span { box-shadow: 0 0 0 3px rgba(34, 197, 94, .3); }
.au-link { font-size: 14px; font-weight: 500; color: #0E8A3E; }
.au-link:hover { text-decoration: underline; }

.au-regras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 1rem; margin-top: .7rem; }
.au-regras li { display: flex; align-items: center; gap: .45rem; font-size: 12.5px; color: #7A8882; transition: color .2s; }
.au-regras li::before {
    content: ""; width: 15px; height: 15px; flex-shrink: 0; border-radius: 999px; border: 1.5px solid #B8C4BE;
    background: center / 9px no-repeat; transition: background-color .2s, border-color .2s;
}
.au-regras li.is-ok { color: #16803D; }
.au-regras li.is-ok::before { border-color: #22C55E; background-color: #22C55E; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E"); }

.au-erro { font-size: 13.5px; color: var(--eco-danger); background: #FEF2F2; border-radius: 10px; padding: .6rem .85rem; }
.au-sucesso { font-size: 13.5px; color: #16803D; background: #E8F7EE; border-radius: 10px; padding: .6rem .85rem; }

.au-btn {
    height: 54px; margin-top: .25rem; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: .75rem;
    font-size: 17px; font-weight: 600; color: #06321F; background: linear-gradient(180deg, #34E04F 0%, #1FCB3D 100%);
    box-shadow: 0 14px 26px -14px rgba(31, 203, 61, .9); transition: filter .2s, transform .1s, opacity .2s;
}
.au-btn:hover:not(:disabled) { filter: brightness(1.05); }
.au-btn:active:not(:disabled) { transform: scale(.985); }
.au-btn:disabled { opacity: .55; cursor: progress; }
.au-btn svg { width: 22px; height: 22px; }

.au-rodape { margin-top: 1.75rem; display: flex; align-items: center; gap: 1rem; font-size: 14.5px; color: #55655E; }
.au-rodape::before, .au-rodape::after { content: ""; flex: 1; height: 1px; background: var(--eco-line); }
.au-rodape--simples::before, .au-rodape--simples::after { display: none; }
.au-rodape--simples { justify-content: center; margin-top: 1.4rem; }
.au-rodape a { color: #0E8A3E; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* Aceite dos termos no cadastro */
.au-aceite { align-items: flex-start; font-size: 13px; line-height: 1.5; margin-top: .15rem; }
.au-aceite > span { margin-top: 1px; flex-shrink: 0; }
.au-aceite em { font-style: normal; }
.au-aceite a { color: #0E8A3E; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.au-aceite a:hover { color: #0B6A33; }

/* ---------- Menu do perfil (partials/_hdr_perfil.html) ---------- */

.pm-menu {
    position: absolute; right: 0; top: calc(100% + 14px); z-index: 50; width: min(420px, calc(100vw - 1.5rem));
    border-radius: 24px; background: #fff; overflow: hidden; color: var(--eco-ink); text-align: left;
    box-shadow: 0 30px 60px -24px rgba(4, 48, 43, .45), 0 0 0 1px rgba(4, 48, 43, .06);
}
/* setinha apontando para o botão do perfil */
.pm-menu::before { content: ""; position: absolute; right: 22px; top: -7px; width: 16px; height: 16px; transform: rotate(45deg); background: #0B4A33; border-radius: 3px; }

.pm-topo {
    position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center;
    padding: 1.25rem 1.25rem 1.6rem; color: #fff;
    background:
        radial-gradient(90% 120% at 100% 0%, rgba(110, 222, 145, .22), transparent 60%),
        linear-gradient(135deg, #0B4A33 0%, #062B24 100%);
}
.pm-avatar { position: relative; width: 64px; height: 64px; border-radius: 999px; background: #fff; color: #0B2E22; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; box-shadow: 0 0 0 4px rgba(34, 197, 94, .55); }
.pm-avatar i { position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; border-radius: 999px; background: #22C55E; box-shadow: 0 0 0 3px #fff; }
.pm-quem { min-width: 0; }
.pm-nome { font-size: 17px; font-weight: 700; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-email { font-size: 13px; color: rgba(255, 255, 255, .75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: .1rem; }
.pm-tipo { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; padding: .25rem .7rem; border-radius: 999px; font-size: 12px; font-weight: 500; background: #15803D; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.pm-tipo svg { width: 13px; height: 13px; }
.pm-linha { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .55rem; }
.pm-linha .pm-tipo { margin-top: 0; }
.pm-editar {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .45rem .95rem; border-radius: 999px; font-size: 13px; font-weight: 500; color: #fff;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .35); transition: background .15s ease;
}
.pm-editar:hover { background: rgba(255, 255, 255, .18); }
.pm-editar svg { width: 15px; height: 15px; }

.pm-lista { position: relative; margin-top: -14px; padding: .6rem; background: #fff; border-radius: 20px 20px 0 0; display: grid; gap: .15rem; }
.pm-item { display: flex; align-items: center; gap: .9rem; width: 100%; padding: .6rem .6rem; border-radius: 14px; text-align: left; transition: background .15s ease; }
.pm-item:hover { background: #F4F7F5; }
.pm-item.hidden { display: none; }
.pm-item--destaque { background: #EAF8EF; }
.pm-item--destaque:hover { background: #DEF3E6; }
.pm-ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.pm-ico svg { width: 22px; height: 22px; }
.pm-ico--verde { background: #DDF4E6; color: #0E6B3C; }
.pm-ico--azul { background: #E3EDFB; color: #1E4F9C; }
.pm-ico--roxo { background: #EEE8FD; color: #6D28D9; }
.pm-ico--laranja { background: #FEF3DC; color: #D97706; }
.pm-ico--rosa { background: #FDE6EC; color: #BE123C; }
.pm-ico--vermelho { background: #FDE2E2; color: #DC2626; }
.pm-txt { flex: 1; min-width: 0; }
.pm-txt b { display: block; font-size: 15px; font-weight: 600; color: var(--eco-ink); line-height: 1.25; }
.pm-txt small { display: block; font-size: 12.5px; color: #66756F; line-height: 1.35; margin-top: .1rem; }
.pm-seta { width: 30px; height: 30px; flex-shrink: 0; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: #F1F4F2; color: #3E4F48; transition: transform .15s ease; }
.pm-seta svg { width: 15px; height: 15px; }
.pm-item:hover .pm-seta { transform: translateX(2px); }
.pm-item--destaque .pm-seta { background: #D2EFDD; color: #0E6B3C; }
.pm-item--sair { margin-top: .3rem; background: #FEF1F1; }
.pm-item--sair:hover { background: #FDE4E4; }
.pm-item--sair .pm-txt b, .pm-item--sair .pm-txt small { color: #DC2626; }
.pm-item--sair .pm-seta { background: #FCD9D9; color: #DC2626; }

.pm-secao { display: flex; align-items: center; gap: .6rem; padding: .7rem .6rem .3rem; border-top: 1px solid var(--eco-line); margin-top: .35rem; }
.pm-secao span { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #66756F; }
.pm-secao i { flex: 1; height: 1px; background: var(--eco-line); }
.pm-secao small { font-size: 11.5px; color: #8A9792; }

/* ---------- FAQ: cabeçalho com a foto da floresta ---------- */
.faq-topo { position: relative; overflow: hidden; isolation: isolate; color: #fff; min-height: 220px; display: flex; align-items: center; }
@media (min-width: 1024px) { .faq-topo { min-height: 340px; } }
.faq-topo-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.faq-topo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 30, 18, .55) 0%, rgba(3, 30, 18, .2) 55%, rgba(3, 30, 18, 0) 80%); }
.faq-topo-in { position: relative; width: 100%; padding: 2.5rem var(--eco-gutter); }
@media (min-width: 1024px) { .faq-topo-in { padding-left: 7vw; padding-bottom: 4rem; } }
.faq-topo-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--eco-lime); }
.faq-topo-titulo {
    font-family: 'Roboto Mono', ui-monospace, monospace; font-weight: 500;
    font-size: clamp(2rem, 5vw, 4.8rem); line-height: 1.05; letter-spacing: -.01em; text-shadow: 0 3px 16px rgba(0, 0, 0, .35); max-width: 78%;
}
.faq-topo-sub { margin-top: .75rem; font-size: clamp(14px, 1.3vw, 17px); color: rgba(255, 255, 255, .9); text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
/* ฿ grande e translúcido à direita, inclinado, como na arte */
.faq-topo-b {
    position: absolute; right: 4%; top: 50%; z-index: -1; height: 88%; width: auto; transform: translateY(-50%) rotate(24deg);
    opacity: .45; filter: drop-shadow(0 0 24px rgba(92, 240, 58, .35)); pointer-events: none; user-select: none;
}
@media (max-width: 639px) { .faq-topo { align-items: flex-start; } .faq-topo-b { right: 5%; top: auto; bottom: .75rem; height: 55%; transform: rotate(24deg); opacity: .4; } .faq-topo-in { padding-top: 1.75rem; padding-bottom: 6rem; } }
.faq-topo-titulo sup { font-size: .3em; vertical-align: top; position: relative; top: .35em; margin-left: .05em; line-height: 1; }

/* Resposta "Como surge um Ecobit?" logo abaixo da floresta */
.faq-surge { background: #F1F3F8; color: #141414; }
.faq-surge-in { padding: 2rem var(--eco-gutter) 2.25rem; max-width: 1400px; }
@media (min-width: 1024px) { .faq-surge-in { padding: 2.75rem 7vw 3rem; } }
.faq-surge-in p { font-size: clamp(15px, 1.25vw, 19px); line-height: 1.55; }
.faq-surge-in p + p { margin-top: .6rem; }
.faq-surge-in strong { font-weight: 700; }
.faq-surge-nota { margin-top: 2.25rem !important; font-size: 12.5px !important; font-style: italic; color: #5E6E67; }

/* ---------- ID Global (Minha conta e menu do perfil) ---------- */
.id-global {
    display: inline-flex; align-items: center; gap: .75rem; padding: .45rem .5rem .45rem 1rem; border-radius: 14px;
    background: #fff; box-shadow: var(--eco-shadow); border: 1px solid var(--eco-line);
}
.id-global.hidden { display: none; }
.id-global-rot { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--eco-muted); white-space: nowrap; }
@media (max-width: 379px) { .id-global { gap: .5rem; padding-left: .75rem; } .id-global-valor { font-size: 16px; letter-spacing: .1em; } .id-global-copiar span { display: none; } }
.id-global-valor { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; font-weight: 700; letter-spacing: .14em; color: var(--eco-dark); }
.id-global-copiar {
    display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .7rem; border-radius: 10px;
    font-size: 12.5px; font-weight: 600; color: #0E6B3C; background: #EAF8EF; transition: background .15s ease;
}
.id-global-copiar:hover { background: #DEF3E6; }
.id-global-copiar svg { width: 15px; height: 15px; }
.pm-idg { font-size: 12px; color: rgba(255, 255, 255, .7); margin-top: .15rem; }
.pm-idg strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #fff; letter-spacing: .1em; font-weight: 700; }

/* Transferir: 4 abas no celular ficam numa linha só, com rolagem lateral */
@media (max-width: 639px) {
    .tf-grid > *, .tf-card, #etapa-1 { min-width: 0; }
    .tf-steps { gap: .5rem; }
    .tf-step { gap: .6rem; }
    .tf-step-num { width: 40px; height: 40px; font-size: 16px; box-shadow: 0 0 0 4px #fff, 0 6px 16px -6px rgba(4, 48, 43, .25); }
    .tf-tabs { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; max-width: 100%; }
    .tf-tabs::-webkit-scrollbar { display: none; }
    .tf-tabs button { flex: 0 0 auto; max-width: none; white-space: nowrap; padding: .7rem .85rem; font-size: 14px; }
}
@media (max-width: 379px) { .tf-step-txt small { display: none; } .tf-step-line { min-width: .75rem; } }

/* ---------- Convidar amigos (convidar.html) e aviso no cadastro ---------- */
.au-convite { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; padding: .7rem .9rem; border-radius: 12px; background: #EAF8EF; color: #0E6B3C; font-size: 14px; text-align: left; }
.au-convite.hidden { display: none; }
.au-convite svg { width: 20px; height: 20px; flex-shrink: 0; }

.cv-hero {
    margin-top: 1rem; display: grid; gap: 1.5rem; padding: 1.75rem 1.5rem; border-radius: 24px; color: #fff;
    background: radial-gradient(90% 120% at 100% 0%, rgba(92, 240, 58, .2), transparent 60%), linear-gradient(135deg, #0B4A33 0%, #04302B 100%);
    box-shadow: 0 24px 48px -24px rgba(4, 48, 43, .55);
}
@media (min-width: 1024px) { .cv-hero { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2.5rem; padding: 2.5rem; } }
.cv-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--eco-lime); }
.cv-hero h1 { margin-top: .4rem; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.cv-hero h1 span { color: var(--eco-lime); white-space: nowrap; }
.cv-hero-txt > p:nth-child(3) { margin-top: .75rem; color: rgba(255, 255, 255, .82); font-size: 15px; line-height: 1.55; max-width: 34rem; }
.cv-hero-txt strong { color: #fff; }
.cv-aviso { margin-top: .6rem; font-size: 12px; font-style: italic; color: rgba(255, 255, 255, .6); }
.cv-link-box { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 1.1rem; }
.cv-link-rot { display: block; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .8); margin-bottom: .5rem; }
.cv-link-linha { display: flex; gap: .5rem; }
.cv-link-linha input { flex: 1; min-width: 0; height: 48px; padding: 0 .9rem; border-radius: 12px; border: 0; background: #fff; color: var(--eco-ink); font-size: 14px; }
.cv-btn-copiar { display: inline-flex; align-items: center; gap: .45rem; padding: 0 1rem; height: 48px; border-radius: 12px; font-size: 14px; font-weight: 700; color: #05301C; background: linear-gradient(180deg, #4BEA52, #2FD43B); white-space: nowrap; }
.cv-btn-copiar svg { width: 18px; height: 18px; }
.cv-compartilhar { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.cv-btn-share { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: #fff; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); }
.cv-btn-share.hidden { display: none; }
.cv-btn-share:hover { background: rgba(255, 255, 255, .14); }
.cv-btn-share svg { width: 18px; height: 18px; }
.cv-btn-share--whats { background: #25D366; border-color: #25D366; color: #fff; }
.cv-btn-share--whats:hover { background: #1EBE5A; }
.cv-codigo { margin-top: .8rem; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.cv-codigo strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #fff; letter-spacing: .1em; }

.cv-numeros { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-top: 1.25rem; }
@media (min-width: 900px) { .cv-numeros { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; } }
.cv-num { background: #fff; border-radius: 18px; padding: 1rem 1.1rem; box-shadow: var(--eco-shadow); }
.cv-num span { display: block; font-size: 12.5px; color: var(--eco-muted); }
.cv-num b { display: block; margin-top: .25rem; font-size: 24px; font-weight: 700; color: var(--eco-ink); font-variant-numeric: tabular-nums; }
.cv-num--verde b { color: #0E8A3E; }

.cv-grid { display: grid; gap: 1.1rem; margin-top: 1.25rem; }
@media (min-width: 1024px) { .cv-grid { grid-template-columns: 1fr 1.2fr; } }
.cv-card { padding: 1.4rem 1.4rem 1.5rem; }
.cv-card h2 { font-size: 17px; font-weight: 600; color: var(--eco-ink); margin-bottom: 1rem; }
.cv-passos { display: grid; gap: 1rem; }
.cv-passos li { display: flex; gap: .85rem; }
.cv-passos li > b { width: 30px; height: 30px; flex-shrink: 0; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: #E6F6EC; color: #0E8A3E; font-size: 14px; }
.cv-passos strong { font-size: 14.5px; color: var(--eco-ink); }
.cv-passos p { font-size: 13px; color: #5E6E67; line-height: 1.45; margin-top: .1rem; }
.cv-lista { display: grid; gap: .25rem; }
.cv-lista li { display: flex; align-items: center; gap: .8rem; padding: .65rem .2rem; border-bottom: 1px solid var(--eco-line); }
.cv-lista li:last-child { border-bottom: 0; }
.cv-av { width: 38px; height: 38px; flex-shrink: 0; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: #0B4A33; color: #fff; font-weight: 700; }
.cv-lista li > div { flex: 1; min-width: 0; }
.cv-lista strong { display: block; font-size: 14.5px; color: var(--eco-ink); }
.cv-lista small { display: block; font-size: 12px; color: var(--eco-muted); }
.cv-st { font-style: normal; font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: .25rem .6rem; white-space: nowrap; }
.cv-st--espera { background: #F1F4F2; color: #5E6E67; }
.cv-st--pendente { background: #FEF3DC; color: #B45309; }
.cv-st--pago { background: #DCFCE7; color: #15803D; }
.cv-lista .cv-vazio { display: block; text-align: center; color: var(--eco-muted); font-size: 14px; padding: 1.5rem .5rem; border: 0; line-height: 1.5; }
.cv-hero > * { min-width: 0; }
@media (max-width: 479px) {
    .cv-lista li { flex-wrap: wrap; } .cv-st { margin-left: 3.2rem; }
    .cv-link-linha { flex-direction: column; } .cv-link-linha input { flex: none; }
    .cv-btn-copiar { justify-content: center; }
}

/* ---------- Dashboard: ações da equipe sobre usuários ---------- */
.db-acao { font-size: 12.5px; font-weight: 600; padding: .3rem .65rem; border-radius: 8px; color: var(--eco-dark); background: var(--eco-surface); border: 1px solid var(--eco-line); transition: background .15s ease; }
.db-acao + .db-acao { margin-left: .35rem; }
.db-acao:hover { background: #E6F2EA; }
.db-aviso { margin-top: 1rem; padding: .7rem .9rem; border-radius: 12px; background: #E8F7EE; color: #15803D; font-size: 13.5px; }
.db-opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.db-opcoes label { display: flex; align-items: center; gap: .45rem; padding: .6rem .7rem; border-radius: 10px; border: 1px solid var(--eco-line); font-size: 13.5px; cursor: pointer; }
.db-opcoes label:has(input:checked) { border-color: var(--eco-green); background: #EAF8EF; }
.db-opcoes input { accent-color: var(--eco-green); }

/* ---------- Documentos oficiais (documento.html + templates/documentos/) ---------- */
.doc-topo {
    color: #fff; padding: 2.25rem 0 2.5rem;
    background: radial-gradient(80% 140% at 100% 0%, rgba(92, 240, 58, .18), transparent 60%), linear-gradient(135deg, #0B4A33 0%, #04302B 100%);
}
@media (min-width: 1024px) { .doc-topo { padding: 3rem 0 3.25rem; } }
.doc-topo-in { max-width: 1180px; margin-inline: auto; }
.doc-migalha { font-size: 13px; color: rgba(255, 255, 255, .65); display: flex; gap: .4rem; }
.doc-migalha a:hover { color: #fff; }
.doc-eyebrow { margin-top: 1.25rem; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--eco-lime); }
.doc-topo h1 { margin-top: .35rem; font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.doc-sub { margin-top: .6rem; font-size: clamp(15px, 1.4vw, 18px); color: rgba(255, 255, 255, .85); max-width: 46rem; }
.doc-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.4rem; }
.doc-data { font-size: 13px; color: rgba(255, 255, 255, .75); }
.doc-pdf {
    display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; border-radius: 12px; font-size: 14px; font-weight: 700;
    color: #05301C; background: linear-gradient(180deg, #4BEA52, #2FD43B); box-shadow: 0 10px 22px -12px rgba(47, 212, 59, .9); transition: filter .15s ease;
}
.doc-pdf:hover { filter: brightness(1.06); }
.doc-pdf svg { width: 18px; height: 18px; }

.doc-corpo { max-width: 1180px; margin: 0 auto; padding-top: 2rem; padding-bottom: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .doc-corpo { grid-template-columns: 260px minmax(0, 1fr); gap: 3rem; padding-top: 2.75rem; align-items: start; } }

.doc-indice { background: #fff; border-radius: 18px; padding: 1.1rem 1.2rem; box-shadow: var(--eco-shadow); }
@media (min-width: 1024px) { .doc-indice { position: sticky; top: 6.5rem; max-height: calc(100vh - 8rem); overflow: auto; } }
.doc-indice p { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--eco-muted); margin-bottom: .6rem; }
.doc-indice ol { display: grid; gap: .15rem; }
.doc-indice a { display: block; padding: .35rem .5rem; border-radius: 8px; font-size: 13.5px; line-height: 1.35; color: #2E3F38; }
.doc-indice a:hover { background: #EAF8EF; color: #0E6B3C; }
@media (max-width: 1023px) { .doc-indice ol { max-height: 15rem; overflow: auto; } }

.doc-texto { grid-column: -2 / -1; background: #fff; border-radius: 22px; padding: 1.5rem 1.25rem; box-shadow: var(--eco-shadow); color: #23312B; }
@media (min-width: 640px) { .doc-texto { padding: 2.25rem 2.5rem; } }
.doc-texto > :first-child { margin-top: 0; }
.doc-texto p { font-size: 16px; line-height: 1.7; margin-top: .85rem; max-width: 48rem; }
.doc-texto h2 { margin-top: 2.25rem; padding-top: .35rem; font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; color: #0B2E22; line-height: 1.3; scroll-margin-top: 6.5rem; }
.doc-texto h3 { margin-top: 1.5rem; font-size: 1.05rem; font-weight: 700; color: #0E6B3C; scroll-margin-top: 6.5rem; }
.doc-texto strong { color: #0B2E22; font-weight: 700; }
.doc-texto .doc-destaque { padding: .7rem 1rem; border-left: 3px solid #22C55E; background: #F1FAF4; border-radius: 0 10px 10px 0; }
.doc-texto ul { margin-top: .75rem; padding-left: 1.25rem; list-style: disc; display: grid; gap: .35rem; max-width: 48rem; }
.doc-texto li { font-size: 16px; line-height: 1.6; }
.doc-texto li::marker { color: #22C55E; }
.doc-texto a { color: #0E8A3E; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.doc-texto .doc-nota { font-size: 13px; color: var(--eco-muted); }

/* ---------- Projetos: EcoPlay College (projetos.html) ---------- */
/* A arte cabe inteira na tela (largura limitada pela altura disponível, sem cortar o "Saiba mais");
   as laterais que sobram são preenchidas com a própria arte desfocada. */
.pj-hero { position: relative; overflow: hidden; isolation: isolate; background: #0B2E22; }
.pj-hero::before {
    content: ""; position: absolute; inset: -40px; z-index: -1;
    background: url("/static/imgs/EBT-ECOPLAYCOLLEGE-800.webp") center / cover no-repeat;
    filter: blur(28px) saturate(1.1) brightness(.85);
}
.pj-arte { position: relative; width: min(100%, calc((100svh - 5.25rem) * 1672 / 941)); margin: 0 auto; container-type: inline-size; box-shadow: 0 0 40px rgba(0, 0, 0, .35); }
@media (max-width: 1023px) { .pj-arte { width: 100%; box-shadow: none; } }
.pj-arte img { display: block; width: 100%; height: auto; }
/* botão real no lugar do "Saiba mais" da arte (medidas em % da arte 1672x941) */
.pj-saiba {
    position: absolute; left: 18.5%; top: 84.4%; width: 20.8%; height: 10.9%;
    display: flex; align-items: center; justify-content: center; gap: 1.6cqw; white-space: nowrap;
    border-radius: 999px; background: #A6F030; color: #0B2E22; border: .25cqw solid #fff;
    font-family: 'Kalam', cursive; font-weight: 700; font-size: 2.7cqw; line-height: 1; padding-top: .3cqw;
    box-shadow: 0 .6cqw 1.6cqw rgba(0, 0, 0, .35); transition: transform .15s ease, filter .15s ease;
}
.pj-saiba:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.05); }
.pj-saiba:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.pj-saiba svg { width: 2.6cqw; height: 2.6cqw; }

.pj-sobre { max-width: 1180px; margin-inline: auto; }
.pj-sobre-in { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .pj-sobre-in { grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; } }
.pj-titulo { margin-top: .3rem; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; color: #0B2E22; }
.pj-titulo sup { font-size: .35em; top: -1.4em; }
.pj-tag { margin-top: .6rem; display: inline-block; padding: .35rem .8rem; border-radius: 999px; background: #E6F8D4; color: #2E6B0A; font-size: 13.5px; font-weight: 600; }
.pj-texto p { font-size: 16.5px; line-height: 1.7; color: #23312B; }
.pj-texto p + p { margin-top: 1rem; }
.pj-texto strong { color: #0B2E22; }

.pj-frentes { margin-top: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 768px) { .pj-frentes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
.pj-frentes li { background: #fff; border-radius: 20px; padding: 1.25rem 1rem; text-align: center; box-shadow: var(--eco-shadow); }
.pj-frentes span { width: 72px; height: 64px; margin: 0 auto .8rem; display: flex; align-items: center; justify-content: center; border-radius: 16px 22px 14px 20px; background: var(--cor); color: #fff; transform: rotate(-3deg); }
.pj-frentes svg { width: 34px; height: 34px; }
.pj-frentes b { font-family: 'Kalam', cursive; font-size: 19px; color: #0B2E22; line-height: 1.15; }
.pj-frentes b i { font-family: 'Poppins', sans-serif; font-style: normal; font-weight: 500; margin: 0 .1em; }

.pj-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.5rem 1.75rem; border-radius: 22px; color: #fff; background: radial-gradient(80% 140% at 100% 0%, rgba(166, 240, 48, .25), transparent 60%), linear-gradient(135deg, #0B4A33, #04302B); }
.pj-cta h2 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 700; }
.pj-cta p { margin-top: .25rem; color: rgba(255, 255, 255, .8); font-size: 14.5px; }
.pj-cta-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 12px; font-weight: 700; color: #05301C; background: linear-gradient(180deg, #4BEA52, #2FD43B); white-space: nowrap; }
.pj-cta-btn svg { width: 18px; height: 18px; }
