/* ===========================================================================
   BRAVAL — base styles (light institutional theme)
   =========================================================================== */
:root {
    --brand:        #196E30;
    --brand-dark:   #0f2027;
    --brand-light:  #2e9c4d;
    --brand-soft:   #e8f3ec;
    --bg:           #ffffff;
    --surface:      #f5f7f5;
    --surface-2:    #eef1ee;
    --text:         #1a1a1a;
    --text-muted:   #5a6660;
    --border:       #d4d8d4;
    --danger:       #b3261e;
    --warn:         #b07b00;
    --ok:           #196E30;
    --radius:       12px;
    --radius-sm:    8px;
    --shadow:       0 4px 14px rgba(15, 32, 39, .08);
    --shadow-lg:    0 16px 40px rgba(15, 32, 39, .14);
    --container:    1180px;
    --font-sans:    'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-light); text-decoration: underline; }

h1, h2, h3, h4 { font-weight: 700; color: var(--brand-dark); margin: 0 0 .6em; line-height: 1.25; }
h1 { font-size: clamp(1.8rem, 2.2vw + 1rem, 2.8rem); }
h2 { font-size: clamp(1.4rem, 1vw + 1rem, 2rem); }
h3 { font-size: 1.2rem; }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ============================================================================
   Topbar + Header premium
============================================================================ */
.site-topbar {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #0a3a16 100%);
    color: #fff;
    font-size: .85rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-topbar .container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; min-height: 38px; padding-top: 6px; padding-bottom: 6px;
    flex-wrap: wrap;
}
.site-topbar-info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.site-topbar-item {
    display: inline-flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,.88);
    transition: color .2s ease;
}
.site-topbar-item:hover { color: #fff; text-decoration: none; }
.site-topbar-item svg { width: 14px; height: 14px; opacity: .85; }
.site-topbar-redes { display: flex; align-items: center; gap: 4px; }
.site-topbar-redes a {
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.78);
    border-radius: 8px;
    transition: background .2s ease, color .2s ease, transform .15s ease;
}
.site-topbar-redes a:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
}
.site-topbar-redes svg { width: 16px; height: 16px; }

@media (max-width: 720px) {
    .site-topbar { font-size: .8rem; }
    .site-topbar .container { gap: 10px; justify-content: center; }
    .site-topbar-info { gap: 14px; justify-content: center; }
    .site-topbar-item span { display: none; }
    .site-topbar-item svg { width: 16px; height: 16px; }
}

/* Header principal */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
    background: rgba(255,255,255,.98);
    box-shadow: 0 8px 28px rgba(15, 32, 39, .08);
    border-color: transparent;
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 96px;
    transition: height .25s ease;
}
.site-header.is-scrolled .container { height: 76px; }

.site-logo {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 700; color: var(--brand-dark);
    transition: transform .25s ease;
}
.site-logo:hover { text-decoration: none; transform: translateY(-1px); }
.site-logo-img {
    max-height: 72px; width: auto; display: block;
    transition: max-height .25s ease;
}
.site-header.is-scrolled .site-logo-img { max-height: 56px; }
@media (max-width: 500px) { .site-logo-img { max-height: 48px; } }

/* Hamburger (mobile) */
.site-burger {
    display: none;
    appearance: none; border: 0; background: transparent; cursor: pointer; font: inherit;
    width: 44px; height: 44px;
    position: relative;
    border-radius: 10px;
    padding: 0;
    transition: background .2s ease;
}
.site-burger:hover { background: var(--brand-soft); }
.site-burger span {
    position: absolute; left: 12px; right: 12px; height: 2.5px;
    background: var(--brand-dark);
    border-radius: 2px;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), opacity .2s ease, top .25s ease;
}
.site-burger span:nth-child(1) { top: 14px; }
.site-burger span:nth-child(2) { top: 21px; }
.site-burger span:nth-child(3) { top: 28px; }
.site-burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.site-burger.is-open span:nth-child(2) { opacity: 0; }
.site-burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Navegação principal */
.site-nav {
    display: flex; gap: 4px; align-items: center;
}
.site-nav > a,
.nav-trigger {
    position: relative;
    padding: 12px 18px;
    border-radius: 8px;
    color: var(--text); font: inherit; font-weight: 600; font-size: 1.02rem;
    background: transparent; border: 0; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
    transition: color .2s ease;
}
.site-nav > a::after,
.nav-trigger::after {
    content: ""; position: absolute;
    left: 16px; right: 16px; bottom: 4px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.site-nav > a:hover,
.nav-trigger:hover { color: var(--brand); text-decoration: none; }
.site-nav > a:hover::after,
.nav-trigger:hover::after { transform: scaleX(1); }
.site-nav > a.is-active,
.nav-dropdown.is-active .nav-trigger { color: var(--brand); }
.site-nav > a.is-active::after,
.nav-dropdown.is-active .nav-trigger::after { transform: scaleX(1); }

/* Caret animado */
.nav-caret {
    display: inline-flex; transition: transform .25s ease;
}
.nav-caret svg { width: 12px; height: 12px; }
.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret,
.nav-dropdown.is-open .nav-caret { transform: rotate(180deg); }

/* CTA Contactos */
.site-nav-cta,
.site-nav > a.site-nav-cta {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff !important;
    padding: 13px 24px !important;
    border-radius: 999px !important;
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: .02em;
    box-shadow: 0 8px 22px rgba(25, 110, 48, .32);
    transition: transform .2s ease, box-shadow .2s ease, background .25s ease;
    margin-left: 8px;
}
.site-nav-cta::after { display: none !important; }
.site-nav-cta:hover,
.site-nav > a.site-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(25, 110, 48, .42);
    text-decoration: none;
    color: #fff !important;
    background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 100%);
}
.site-nav-cta svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-submenu {
    position: absolute; top: calc(100% + 12px); left: 50%;
    transform: translate(-50%, -6px);
    min-width: 280px;
    padding: 10px;
    z-index: 200;
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 14px;
    box-shadow: 0 22px 50px rgba(15, 32, 39, .14);
    display: flex; flex-direction: column; gap: 2px;
    opacity: 0; pointer-events: none;
    transition: opacity .18s ease, transform .22s cubic-bezier(.2, .8, .2, 1);
}
.nav-submenu::before {
    content: ""; position: absolute;
    left: 50%; top: -7px;
    transform: translateX(-50%) rotate(45deg);
    width: 12px; height: 12px;
    background: #fff;
    border-left: 1px solid #eef2f0;
    border-top: 1px solid #eef2f0;
    border-radius: 2px 0 0 0;
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.is-open .nav-submenu {
    opacity: 1; pointer-events: auto;
    transform: translate(-50%, 0);
}
.nav-submenu a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text); font-weight: 500; font-size: .94rem;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease, transform .15s ease;
}
.nav-submenu a:hover {
    background: var(--brand-soft); color: var(--brand);
    text-decoration: none;
    transform: translateX(3px);
}
.nav-submenu a.is-active {
    background: var(--brand-soft); color: var(--brand);
}
.nav-sub-bullet {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #cbd6cf;
    transition: background .2s ease, transform .2s ease;
    flex: 0 0 auto;
}
.nav-submenu a:hover .nav-sub-bullet,
.nav-submenu a.is-active .nav-sub-bullet {
    background: var(--brand);
    transform: scale(1.4);
}

/* Buffer invisível para o hover não falhar ao atravessar o gap */
.nav-dropdown::after {
    content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px;
}

/* Backdrop do menu mobile */
.site-nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(15, 32, 39, .55);
    backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease;
    z-index: 95;
}
.site-nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
html.nav-locked { overflow: hidden; }

/* Header dentro do drawer mobile (escondido em desktop) */
.site-nav-mobile-head { display: none; }

@media (max-width: 980px) {
    .site-burger { display: inline-flex; align-items: center; justify-content: center; }
    /* CRITICAL: remover backdrop-filter em mobile. backdrop-filter cria um
       containing block que faz com que descendentes position:fixed (o drawer)
       fiquem posicionados relativos ao header em vez do viewport. */
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: #fff;
    }
    .site-header.is-scrolled { background: #fff; }
    .site-header .container { height: 72px; }
    .site-header.is-scrolled .container { height: 64px; }

    .site-nav {
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: min(360px, 88vw);
        max-width: 100vw;
        box-sizing: border-box;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 0 16px 30px;
        box-shadow: -20px 0 50px rgba(15, 32, 39, .18);
        transform: translateX(100%);
        transition: transform .35s cubic-bezier(.2, .8, .2, 1);
        z-index: 110;
        /* overflow-x: clip evita BFC (ao contrário de hidden) — permite que
           o accordion max-height dos submenus filhos expanda normalmente. */
        overflow-x: clip;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    /* Garante que filhos diretos não excedem a largura do drawer */
    .site-nav > * { max-width: 100%; box-sizing: border-box; }
    .site-nav.is-open { transform: translateX(0); }

    /* Header sticky dentro do drawer com logo + X */
    .site-nav-mobile-head {
        display: flex !important;
        align-items: center; justify-content: space-between;
        padding: 14px 4px 16px;
        margin: 0 -16px 8px;
        padding-left: 20px;
        padding-right: 20px;
        border-bottom: 1px solid var(--border);
        position: sticky; top: 0;
        background: #fff;
        z-index: 2;
    }
    .site-nav-mobile-logo {
        max-height: 40px; width: auto;
        display: block;
    }
    .site-nav-close {
        appearance: none; border: 0; background: var(--surface);
        width: 40px; height: 40px;
        border-radius: 50%;
        cursor: pointer;
        color: var(--text);
        display: inline-flex; align-items: center; justify-content: center;
        transition: background .2s ease, transform .2s ease, color .2s ease;
    }
    .site-nav-close:hover, .site-nav-close:focus-visible {
        background: var(--brand-soft);
        color: var(--brand);
        transform: rotate(90deg);
    }

    .site-nav > a,
    .nav-trigger {
        width: 100%;
        box-sizing: border-box;
        padding: 14px 16px;
        border-radius: 10px;
        justify-content: space-between;
        font-size: 1rem;
        min-height: 48px;
        line-height: 1.3;
        white-space: normal;
        word-break: break-word;
        text-align: left;
    }
    .site-nav > a::after,
    .nav-trigger::after { display: none; }
    .site-nav > a:hover,
    .nav-trigger:hover,
    .site-nav > a:focus-visible,
    .nav-trigger:focus-visible,
    .site-nav > a.is-active,
    .nav-dropdown.is-active .nav-trigger {
        background: var(--brand-soft);
        color: var(--brand);
    }
    .site-nav > a:active,
    .nav-trigger:active {
        background: rgba(25, 110, 48, .14);
    }

    .nav-dropdown { width: 100%; box-sizing: border-box; }
    /* Reset agressivo do submenu — sobrescreve TODAS as regras desktop
       (position absolute, left:50%, transform translate(-50%), min-width:280, etc.) */
    .nav-submenu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        box-shadow: none !important;
        border: 0 !important;
        border-left: 2px solid var(--brand-soft) !important;
        border-radius: 0 !important;
        margin: 2px 0 6px 12px !important;
        padding: 0 0 0 8px !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: calc(100% - 12px) !important;
        box-sizing: border-box !important;
        background: transparent !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease, padding .3s ease;
    }
    .nav-submenu::before { display: none !important; }
    .nav-dropdown.is-open .nav-submenu {
        max-height: 1000px;
        padding: 4px 0 6px 8px !important;
    }
    .nav-submenu a {
        display: flex !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        align-items: center;
        gap: 10px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 11px 12px !important;
        font-size: .94rem;
        min-height: 44px;
        line-height: 1.3;
        color: var(--text) !important;
        white-space: normal !important;
        word-break: break-word;
        overflow-wrap: anywhere;
        text-align: left !important;
    }
    /* Disable hover translateX em touch (fica agarrado após tap) */
    .nav-submenu a:hover { transform: none !important; }
    .nav-submenu a:active {
        background: rgba(25, 110, 48, .14);
    }
    .site-nav-cta {
        margin-top: 14px;
        justify-content: center;
        min-height: 50px;
        font-size: 1rem;
    }
}
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 600; cursor: pointer; border: 0; font: inherit; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-light); color: #fff; text-decoration: none; }
.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: var(--brand-soft); text-decoration: none; }

/* ------------- Hero / sections ------------- */
.hero {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand) 110%);
    color: #fff;
    padding: 80px 0 96px;
}
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.1rem; max-width: 720px; color: rgba(255,255,255,.92); }
.section { padding: 64px 0; }
.section-soft { background: var(--surface); }

/* ------------- Cards ------------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.feature {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; transition: transform .15s, box-shadow .15s;
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.feature h3 { color: var(--brand-dark); }

/* ------------- Forms ------------- */
.form-row { display: grid; gap: 6px; margin-bottom: 14px; }
.form-row label { font-weight: 600; font-size: .9rem; }
.form-row input, .form-row textarea, .form-row select {
    padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font: inherit; background: #fff;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
    outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.alert { padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 14px; font-size: .9rem; }
.alert-ok { background: #e6f4ea; color: #145a26; border: 1px solid #b6dcc1; }
.alert-err { background: #fdecea; color: #8a1a1a; border: 1px solid #f3bcb6; }

/* ------------- Footer ------------- */
.site-footer {
    background: linear-gradient(180deg, #0c1b21 0%, var(--brand-dark) 100%);
    color: rgba(255,255,255,.78);
    padding: 64px 0 24px;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--brand) 30%, var(--brand-light) 70%, transparent 100%);
    opacity: .7;
}
.site-footer h4 {
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-footer a { color: rgba(255,255,255,.78); transition: color .15s ease; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer .footer-cols {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

/* Coluna brand — logo + descrição + socials */
.site-footer .footer-brand-logo {
    display: inline-block;
    margin-bottom: 14px;
}
.site-footer .footer-brand-logo img {
    height: 48px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}
.site-footer .footer-brand-tag {
    color: rgba(255,255,255,.6);
    font-size: .82rem;
    margin: 0 0 8px;
    font-style: italic;
}
.site-footer .footer-brand-desc {
    color: rgba(255,255,255,.7);
    font-size: .88rem;
    line-height: 1.55;
    margin: 0 0 18px;
}

/* Colunas de links / contactos */
.site-footer .footer-col p { margin: 0 0 10px; line-height: 1.5; }
.site-footer .footer-info {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .88rem;
}
.site-footer .footer-info svg {
    flex: 0 0 16px;
    width: 16px; height: 16px;
    color: var(--brand-light);
    margin-top: 3px;
}
.site-footer .footer-info span,
.site-footer .footer-info a {
    flex: 1;
    line-height: 1.5;
    color: rgba(255,255,255,.78);
}
.site-footer .footer-tel-aviso {
    display: block;
    font-size: .68rem;
    color: rgba(255,255,255,.48);
    font-style: italic;
    margin-top: 2px;
    line-height: 1.3;
}
.site-footer .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-footer .footer-links li {
    margin-bottom: 8px;
}
.site-footer .footer-links a {
    font-size: .88rem;
    position: relative;
    padding-left: 0;
    transition: padding-left .18s ease, color .15s ease;
}
.site-footer .footer-links a:hover {
    padding-left: 8px;
    color: var(--brand-light);
}
.site-footer .footer-links a::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 50%;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--brand-light);
    transform: translateY(-50%) scale(0);
    transition: transform .18s ease;
}
.site-footer .footer-links a:hover::before {
    transform: translateY(-50%) scale(1);
}

@media (max-width: 1000px) {
    .site-footer .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
    .site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
    .site-footer .footer-cols { grid-template-columns: 1fr; }
}

/* Copy line — copyright + links legais e externos */
.site-footer .copy {
    margin-top: 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    font-size: .82rem; color: rgba(255,255,255,.55);
    align-items: center;
}
.site-footer .copy-links {
    display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
    justify-content: flex-end;
}
.site-footer .copy-links a {
    color: rgba(255,255,255,.72);
    font-weight: 500;
    white-space: nowrap;
}
.site-footer .copy-links a:hover { color: var(--brand-light); }
.site-footer .copy-sep {
    color: rgba(255,255,255,.22);
    user-select: none;
}

/* Assinatura do desenvolvedor */
.site-footer .copy-author {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255,255,255,.08);
    justify-content: center;
    font-size: .76rem;
    color: rgba(255,255,255,.42);
    letter-spacing: .02em;
}
.site-footer .copy-author strong {
    color: rgba(255,255,255,.78);
    font-weight: 600;
    margin-left: 4px;
}

/* Breadcrumb (visível) */
.breadcrumb { margin: 0 0 22px; font-size: .88rem; }
.breadcrumb ol {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
}
.breadcrumb li {
    display: inline-flex; align-items: center; gap: 4px;
}
.breadcrumb a {
    color: var(--text-muted);
    padding: 2px 4px;
    border-radius: 4px;
    transition: color .2s ease, background .2s ease;
}
.breadcrumb a:hover {
    color: var(--brand);
    background: var(--brand-soft);
    text-decoration: none;
}
.breadcrumb [aria-current="page"] {
    color: var(--brand-dark);
    font-weight: 600;
}
.breadcrumb-sep {
    color: #b8c5be;
    margin: 0 2px;
}
.site-footer .socials { display: flex; gap: 12px; }
.site-footer .socials a { display: inline-grid; place-items: center; width: 36px; height: 36px; background: rgba(255,255,255,.08); border-radius: 50%; }
.site-footer .socials a:hover { background: var(--brand); text-decoration: none; }
.site-footer .socials svg { width: 18px; height: 18px; fill: #fff; }

/* ------------- Preview banner (admin com sessão a ver o site em modo manutenção) ------------- */
.preview-banner {
    background: linear-gradient(135deg, #0f2027, #196E30);
    color: #fff; padding: 10px 18px;
    display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: center;
    font-size: .88rem;
}
.preview-banner strong { color: #fff; }
.preview-banner a {
    color: #fff; text-decoration: underline; font-weight: 600;
    padding: 2px 8px; border-radius: 4px;
}
.preview-banner a:hover { background: rgba(255,255,255,.12); text-decoration: none; }

/* ------------- Skip link / a11y ------------- */
.skip-link {
    position: absolute; left: -1000px; top: 0;
    background: #000; color: #fff; padding: 8px 14px; z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ============================================================================
   Estação de Triagem — fileiras grid
============================================================================ */
.fileiras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.fileira {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 12px;
    padding: 18px 18px 16px;
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 4px;
    transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease;
    position: relative;
}
.fileira:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: 0 14px 30px rgba(15, 32, 39, .1); }
.fileira-num {
    color: var(--brand);
    font-size: .8rem; font-weight: 800;
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
}
.fileira strong { color: var(--brand-dark); font-size: 1.05rem; }
.fileira-desc {
    color: var(--text-muted);
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* ============================================================================
   Unidade de Valorização Energética — composição do biogás
============================================================================ */
.composicao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.composicao-item {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    color: #fff;
    border-radius: 14px;
    padding: 24px 18px 18px;
    text-align: center;
    box-shadow: 0 10px 26px rgba(25, 110, 48, .22);
    transition: transform .22s ease, box-shadow .22s ease;
}
.composicao-item:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(25, 110, 48, .32); }
.composicao-formula {
    display: block;
    font-size: 1.8rem; font-weight: 800;
    color: #fff;
    letter-spacing: .02em;
    line-height: 1;
    margin-bottom: 8px;
}
.composicao-nome {
    display: block;
    color: rgba(255,255,255,.85);
    font-size: .85rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* ============================================================================
   ETAL — fluxo de tratamento + estudo em curso
============================================================================ */
.etal-processo, .biod-processo {
    list-style: none;
}
.etal-fluxo-icone, .biod-fluxo-icone {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    margin: 0 auto 8px;
    color: var(--brand);
    background: var(--brand-soft);
    border-radius: 10px;
}
.etal-fluxo-icone svg, .biod-fluxo-icone svg { width: 20px; height: 20px; }

.etal-estudo {
    margin-top: 56px;
    background: linear-gradient(135deg, #dbe9f8 0%, #fff 60%);
    border: 1px solid #b9d4ee;
    border-left: 5px solid #1e6fc4;
    border-radius: 16px;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    align-items: start;
}
.etal-estudo-icone {
    width: 60px; height: 60px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: #1e6fc4; color: #fff;
    box-shadow: 0 8px 22px rgba(30, 111, 196, .26);
}
.etal-estudo-icone svg { width: 28px; height: 28px; }
.etal-estudo-tag {
    display: inline-block;
    background: #1e6fc4; color: #fff;
    padding: 4px 12px; border-radius: 999px;
    font-size: .74rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 8px;
}
.etal-estudo h3 { margin: 0 0 8px; color: #0f4577; font-size: 1.2rem; }
.etal-estudo p  { margin: 0; color: var(--text); line-height: 1.6; }
@media (max-width: 640px) {
    .etal-estudo { grid-template-columns: 1fr; padding: 24px; }
}

/* ============================================================================
   Unidade de Produção de Biodiesel
============================================================================ */
.biod-vantagens {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.biod-vantagem {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 16px;
    padding: 28px 24px 24px;
    text-align: center;
    position: relative; overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.biod-vantagem::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: var(--v-cor);
}
.biod-vantagem::after {
    content: ""; position: absolute;
    right: -40px; top: -40px;
    width: 140px; height: 140px; border-radius: 50%;
    background: var(--v-cor-clara); opacity: .55;
}
.biod-vantagem > * { position: relative; z-index: 1; }
.biod-vantagem:hover { transform: translateY(-4px); border-color: var(--v-cor); box-shadow: 0 18px 40px rgba(15, 32, 39, .12); }
.biod-vantagem-icone {
    width: 64px; height: 64px; margin: 0 auto 14px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--v-cor-clara); color: var(--v-cor);
}
.biod-vantagem-icone svg { width: 30px; height: 30px; }
.biod-vantagem h3 { margin: 0 0 8px; color: var(--brand-dark); font-size: 1.08rem; }
.biod-vantagem p  { margin: 0; color: var(--text-muted); font-size: .92rem; line-height: 1.55; }
@media (max-width: 880px) { .biod-vantagens { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .biod-vantagens { grid-template-columns: 1fr; } }

/* Bloco impacto saneamento */
.biod-impacto {
    margin-top: 56px;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    color: #fff;
    border-radius: 18px;
    padding: 36px 40px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    box-shadow: 0 16px 44px rgba(25, 110, 48, .26);
    position: relative; overflow: hidden;
}
.biod-impacto::after {
    content: ""; position: absolute;
    right: -90px; bottom: -90px;
    width: 260px; height: 260px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
    pointer-events: none;
}
.biod-impacto-icone {
    width: 72px; height: 72px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.18);
    border: 2px solid rgba(255,255,255,.25);
    border-radius: 20px;
    color: #fff;
    position: relative; z-index: 1;
}
.biod-impacto-icone svg { width: 34px; height: 34px; }
.biod-impacto-body { position: relative; z-index: 1; }
.biod-impacto-tag {
    display: inline-block;
    background: rgba(255,255,255,.18);
    padding: 4px 12px; border-radius: 999px;
    font-size: .74rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 8px;
}
.biod-impacto h3 { color: #fff; margin: 0 0 10px; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.biod-impacto p  { color: rgba(255,255,255,.92); margin: 0 0 16px; line-height: 1.6; }
.biod-impacto .btn-primary { background: #fff; color: var(--brand-dark); }
.biod-impacto .btn-primary:hover { background: rgba(255,255,255,.92); color: var(--brand-dark); }
@media (max-width: 720px) {
    .biod-impacto { grid-template-columns: 1fr; padding: 28px 24px; }
}

/* ============================================================================
   Aterro Sanitário — hero genérico + foto de capa + seções + galeria mosaico
============================================================================ */
.as-pagina { padding: 56px 0 64px; }

/* Foto de capa após o intro */
.as-capa {
    margin: 0 0 40px;
    padding: 0;
}
.as-capa-link {
    display: block;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(15, 32, 39, .18);
    border: 1px solid #eef2f0;
    cursor: zoom-in;
    isolation: isolate;
}
.as-capa-link img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    transition: transform .5s ease;
}
.as-capa-link:hover img { transform: scale(1.02); }
.as-capa-link::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(15,32,39,.30) 100%);
    pointer-events: none;
    opacity: .6;
    transition: opacity .3s ease;
}
.as-capa-link:hover::after { opacity: .85; }
.as-capa-zoom {
    position: absolute; right: 18px; bottom: 18px;
    width: 44px; height: 44px;
    background: rgba(255,255,255,.94);
    color: var(--brand-dark);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 22px rgba(0,0,0,.25);
    transition: transform .25s ease;
    z-index: 1;
}
.as-capa-zoom svg { width: 20px; height: 20px; }
.as-capa-link:hover .as-capa-zoom { transform: scale(1.08); }
.as-capa figcaption {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: .9rem;
    text-align: center;
    font-style: italic;
}

/* Bloco genérico (Fluxo / Localização / Estrutura / Biogás) */
.as-bloco {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 18px;
    padding: 36px 36px 32px;
    margin-top: 28px;
    box-shadow: 0 12px 38px rgba(15, 32, 39, .08);
}
.as-bloco:first-of-type { margin-top: 0; }
.as-bloco-head {
    display: flex; align-items: center; gap: 20px;
    padding-bottom: 22px; margin-bottom: 22px;
    border-bottom: 1px solid #eef2f0;
}
.as-bloco-icone {
    width: 72px; height: 72px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 18px;
    color: var(--brand); background: var(--brand-soft);
    box-shadow: inset 0 0 0 3px #fff, 0 8px 22px rgba(25, 110, 48, .14);
}
.as-bloco-icone svg { width: 34px; height: 34px; }
.as-bloco-tag {
    display: inline-block;
    background: var(--brand-soft); color: var(--brand);
    padding: 4px 12px; border-radius: 999px;
    font-size: .74rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 6px;
}
.as-bloco-head h2 { margin: 0; color: var(--brand-dark); font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.as-bloco-body { color: var(--text); line-height: 1.65; max-width: 880px; }
.as-bloco-body p { margin: 0 0 1em; }
.as-bloco-body p:last-child { margin-bottom: 0; }

/* Mini-fluxograma (Fluxo dos resíduos) */
.as-mini-fluxo {
    list-style: none; padding: 0; margin: 26px 0 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.as-mini-fluxo li {
    background: #f7faf8;
    border: 1px solid #e6ebe8;
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    position: relative;
    transition: transform .18s ease, border-color .2s ease;
}
.as-mini-fluxo li:hover { transform: translateY(-2px); border-color: var(--brand); }
.as-mini-fluxo li::after {
    content: "→"; position: absolute;
    right: -12px; top: 50%; transform: translateY(-50%);
    color: var(--brand); font-size: 1.1rem; font-weight: 700;
    z-index: 1;
}
.as-mini-fluxo li:last-child::after { display: none; }
.as-mini-fluxo li strong { display: block; color: var(--brand-dark); font-size: .98rem; margin-bottom: 4px; }
.as-mini-fluxo li span { color: var(--text-muted); font-size: .82rem; line-height: 1.4; }
.as-mini-fluxo li.alt { background: #fff7e0; border-color: #f0d68a; }
.as-mini-fluxo li.alt strong { color: #6b4500; }
.as-mini-fluxo li.dark { background: #2c3a48; border-color: #2c3a48; }
.as-mini-fluxo li.dark strong { color: #fff; }
.as-mini-fluxo li.dark span  { color: rgba(255,255,255,.78); }
@media (max-width: 880px) {
    .as-mini-fluxo { grid-template-columns: repeat(2, 1fr); }
    .as-mini-fluxo li:nth-child(2)::after { display: none; }
}

/* Critérios de localização */
.as-criterios {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
    margin-top: 18px;
}
.as-criterio {
    display: flex; align-items: flex-start; gap: 12px;
    background: #f7faf8;
    border: 1px solid #e6ebe8;
    border-radius: 12px;
    padding: 14px 16px;
    transition: border-color .2s ease, transform .15s ease;
}
.as-criterio:hover { border-color: var(--brand); transform: translateX(2px); }
.as-criterio-mark {
    flex: 0 0 auto;
    width: 26px; height: 26px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand); color: #fff;
    border-radius: 50%;
    margin-top: 1px;
}
.as-criterio-mark svg { width: 14px; height: 14px; }
.as-criterio > span:last-child { font-size: .94rem; line-height: 1.5; color: var(--text); }
@media (max-width: 720px) { .as-criterios { grid-template-columns: 1fr; } }

/* Diagrama de camadas */
.as-camadas {
    margin-top: 26px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 32, 39, .10);
}
.as-camada {
    padding: 16px 22px;
    color: #fff;
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
    flex-wrap: wrap;
}
.as-camada strong { font-size: 1rem; }
.as-camada span { font-size: .85rem; opacity: .9; }
.as-camada-residuos { background: #1d3941; }
.as-camada-cobertura { background: #6b5b3a; }
.as-camada-drenagem  { background: #9e9282; color: #1a1a1a; }
.as-camada-drenagem strong { color: #1a1a1a; }
.as-camada-tela1     { background: #2c3a48; }
.as-camada-tela2     { background: #1a1f24; }
.as-camada-solo      { background: #3f2e1f; }

/* Bloco energia (biogás) */
.as-bloco-energia {
    background: linear-gradient(135deg, #fff7e0 0%, #fff 60%);
    border-color: #f0d68a;
}
.as-bloco-icone-energia { background: #fff3b8; color: #c47700; }
.as-bloco-tag-energia { background: #fff3b8; color: #8a5e00; }
.as-energia-stats {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
    margin-top: 22px;
}
.as-energia-stats > div {
    background: #fff;
    border: 1px solid #f0d68a;
    border-radius: 14px;
    padding: 22px 22px 18px;
    text-align: center;
}
.as-energia-num {
    display: block;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 800;
    color: #c47700;
    line-height: 1;
}
.as-energia-rotulo {
    display: block; margin-top: 8px;
    color: #6b4500; font-size: .9rem; line-height: 1.4;
}
@media (max-width: 640px) { .as-energia-stats { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
    .as-bloco { padding: 28px 22px 24px; }
    .as-bloco-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---------- Galeria mosaico ---------- */
.as-galeria {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 8px;
}
.as-galeria-item {
    background-size: cover;
    background-position: center;
    background-color: #1d3941;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
    cursor: pointer;
}
.as-galeria-item::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,32,39,0) 50%, rgba(15,32,39,.55) 100%);
    opacity: 0;
    transition: opacity .25s ease;
}
.as-galeria-item:hover { transform: scale(1.02); box-shadow: 0 14px 32px rgba(15, 32, 39, .25); z-index: 2; }
.as-galeria-item:hover::after { opacity: 1; }
.as-galeria-zoom {
    position: absolute; right: 12px; bottom: 12px;
    width: 40px; height: 40px;
    background: rgba(255,255,255,.92);
    color: var(--brand-dark);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    opacity: 0;
    transform: scale(.8);
    transition: opacity .25s ease, transform .25s ease;
    z-index: 1;
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.as-galeria-zoom svg { width: 18px; height: 18px; }
.as-galeria-item:hover .as-galeria-zoom { opacity: 1; transform: scale(1); }

/* Padrão mosaico — primeiro item maior, alguns esticados */
.as-galeria-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.as-galeria-item:nth-child(4) { grid-column: span 2; }
.as-galeria-item:nth-child(9) { grid-row: span 2; }
.as-galeria-item:nth-child(12) { grid-column: span 2; }

@media (max-width: 920px) {
    .as-galeria { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; }
    .as-galeria-item:nth-child(1)  { grid-column: span 2; grid-row: span 2; }
    .as-galeria-item:nth-child(4)  { grid-column: auto; }
    .as-galeria-item:nth-child(9)  { grid-row: auto; }
    .as-galeria-item:nth-child(12) { grid-column: auto; }
}
@media (max-width: 580px) {
    .as-galeria { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
    .as-galeria-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}

/* ============================================================================
   Resíduos Indiferenciados — fluxo e bifurcação
============================================================================ */
.ri-fluxo {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 14px;
    max-width: 880px; margin: 0 auto;
    position: relative;
}
.ri-fluxo::before {
    content: ""; position: absolute;
    left: 48px; top: 24px; bottom: 24px;
    width: 3px;
    background: linear-gradient(180deg, var(--brand-light) 0%, var(--brand) 100%);
    border-radius: 2px;
    z-index: 0;
}
.ri-etapa {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: 0 8px 22px rgba(15, 32, 39, .06);
    position: relative; z-index: 1;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.ri-etapa:hover { transform: translateX(4px); box-shadow: 0 14px 32px rgba(15, 32, 39, .12); border-color: var(--brand); }
.ri-etapa-num {
    flex: 0 0 auto;
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    border-radius: 50%;
    font-weight: 800; font-size: .92rem;
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 6px 16px rgba(25, 110, 48, .32);
    z-index: 2;
}
.ri-etapa-icone {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-soft); color: var(--brand);
    border-radius: 12px;
}
.ri-etapa-icone svg { width: 22px; height: 22px; }
.ri-etapa-body h3 { margin: 0 0 4px; color: var(--brand-dark); font-size: 1.05rem; }
.ri-etapa-body p  { margin: 0; color: var(--text-muted); font-size: .94rem; line-height: 1.5; }

/* Última etapa em destaque verde-escuro */
.ri-etapa:last-child {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 14px 36px rgba(25, 110, 48, .28);
}
.ri-etapa:last-child .ri-etapa-num { background: #fff; color: var(--brand); box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.ri-etapa:last-child .ri-etapa-icone { background: rgba(255,255,255,.18); color: #fff; }
.ri-etapa:last-child h3 { color: #fff; }
.ri-etapa:last-child p  { color: rgba(255,255,255,.88); }

@media (max-width: 640px) {
    .ri-fluxo::before { display: none; }
    .ri-etapa { grid-template-columns: auto 1fr; padding: 16px 18px; }
    .ri-etapa-icone { display: none; }
}

/* Bifurcação (2 vias) */
.ri-vias {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.ri-via {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 18px;
    padding: 32px 30px 28px;
    position: relative;
    box-shadow: 0 12px 32px rgba(15, 32, 39, .08);
    display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.ri-via:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(15, 32, 39, .14); }
.ri-via-icone {
    width: 72px; height: 72px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 20px;
    margin-bottom: 16px;
    box-shadow: inset 0 0 0 3px #fff;
}
.ri-via-icone svg { width: 34px; height: 34px; }
.ri-via h3 { margin: 0 0 10px; font-size: 1.2rem; }
.ri-via > p { margin: 0 0 20px; color: var(--text); font-size: .98rem; line-height: 1.6; flex: 1; }
.ri-via-cta {
    display: inline-flex; align-items: center; gap: 8px;
    align-self: flex-start;
    padding: 11px 20px;
    border-radius: 10px;
    font-weight: 700; font-size: .95rem;
    transition: background .2s ease, transform .15s ease;
}
.ri-via-cta svg { width: 16px; height: 16px; transition: transform .2s ease; }
.ri-via-cta:hover svg { transform: translateX(4px); }

.ri-via-verde { border-color: #c5e6cf; background: linear-gradient(180deg, #effbf2 0%, #fff 50%); }
.ri-via-verde .ri-via-icone { background: #d6efdd; color: #145a2a; }
.ri-via-verde h3 { color: #145a2a; }
.ri-via-verde .ri-via-cta { background: var(--brand); color: #fff; }
.ri-via-verde .ri-via-cta:hover { background: var(--brand-light); color: #fff; text-decoration: none; }

.ri-via-cinza { border-color: #d5dadc; background: linear-gradient(180deg, #f4f6f7 0%, #fff 50%); }
.ri-via-cinza .ri-via-icone { background: #e3e8ee; color: #455463; }
.ri-via-cinza h3 { color: #2c3a48; }
.ri-via-cinza .ri-via-cta { background: #455463; color: #fff; }
.ri-via-cinza .ri-via-cta:hover { background: #2c3a48; color: #fff; text-decoration: none; }

@media (max-width: 820px) {
    .ri-vias { grid-template-columns: 1fr; }
}

/* Entidades */
.ri-entidades {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
    max-width: 880px; margin: 0 auto;
}
.ri-entidade {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 16px;
    padding: 28px 28px 24px;
    text-align: center;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.ri-entidade:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 14px 34px rgba(15, 32, 39, .12); }
.ri-entidade-icone {
    width: 64px; height: 64px; margin: 0 auto 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-soft); color: var(--brand);
    border-radius: 50%;
}
.ri-entidade-icone svg { width: 30px; height: 30px; }
.ri-entidade h3 { margin: 0 0 8px; color: var(--brand-dark); font-size: 1.1rem; }
.ri-entidade p  { margin: 0; color: var(--text-muted); font-size: .94rem; line-height: 1.55; }
@media (max-width: 640px) { .ri-entidades { grid-template-columns: 1fr; } }

/* CTA prevenção (banner) */
.ri-prevencao-cta {
    margin-top: 56px;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    color: #fff;
    border-radius: 18px;
    padding: 32px 36px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    box-shadow: 0 16px 44px rgba(25, 110, 48, .28);
    position: relative; overflow: hidden;
}
.ri-prevencao-cta::after {
    content: ""; position: absolute;
    right: -80px; bottom: -80px;
    width: 240px; height: 240px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
    pointer-events: none;
}
.ri-prevencao-icone {
    width: 72px; height: 72px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.18);
    border: 2px solid rgba(255,255,255,.25);
    border-radius: 20px;
    color: #fff;
    position: relative; z-index: 1;
}
.ri-prevencao-icone svg { width: 34px; height: 34px; }
.ri-prevencao-body { position: relative; z-index: 1; }
.ri-prevencao-body h3 { color: #fff; margin: 0 0 4px; font-size: 1.25rem; }
.ri-prevencao-body p  { margin: 0; color: rgba(255,255,255,.88); font-size: .98rem; line-height: 1.5; }
.ri-prevencao-cta .btn-primary { position: relative; z-index: 1; background: #fff; color: var(--brand-dark); }
.ri-prevencao-cta .btn-primary:hover { background: rgba(255,255,255,.92); color: var(--brand-dark); }

@media (max-width: 880px) {
    .ri-prevencao-cta { grid-template-columns: 1fr; text-align: center; padding: 28px 24px; }
    .ri-prevencao-icone { margin: 0 auto; }
}

/* ============================================================================
   Prevenção de Resíduos — página premium
============================================================================ */
.pr-hierarquia {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
    max-width: 820px; margin: 0 auto;
}
.pr-nivel {
    display: flex; align-items: center; gap: 18px;
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: 0 8px 20px rgba(15, 32, 39, .05);
    /* pirâmide invertida: cada nível ligeiramente mais estreito */
    width: calc(100% - var(--lvl, 0) * 28px);
    margin-left: calc(var(--lvl, 0) * 14px);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    position: relative;
}
.pr-nivel:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 32, 39, .12); border-color: var(--brand); }
.pr-nivel-num {
    flex: 0 0 auto;
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-soft); color: var(--brand);
    border-radius: 10px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.pr-nivel > div { flex: 1; min-width: 0; }
.pr-nivel strong { display: block; color: var(--brand-dark); font-size: 1.05rem; }
.pr-nivel > div span { display: block; color: var(--text-muted); font-size: .9rem; margin-top: 2px; }
.pr-nivel-badge {
    background: var(--brand); color: #fff;
    padding: 4px 10px; border-radius: 999px;
    font-size: .72rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    box-shadow: 0 6px 14px rgba(25, 110, 48, .28);
}
.pr-nivel.is-destaque {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 16px 38px rgba(25, 110, 48, .28);
}
.pr-nivel.is-destaque .pr-nivel-num {
    background: rgba(255,255,255,.18); color: #fff;
}
.pr-nivel.is-destaque strong { color: #fff; font-size: 1.18rem; }
.pr-nivel.is-destaque > div span { color: rgba(255,255,255,.85); }
@media (max-width: 720px) {
    .pr-nivel { width: 100%; margin-left: 0; flex-wrap: wrap; }
    .pr-nivel-badge { margin-left: 56px; }
}

/* Três tipos de prevenção */
.pr-tipos {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.pr-tipo {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 16px;
    padding: 28px 24px 24px;
    position: relative; overflow: hidden;
    text-align: center;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.pr-tipo::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: var(--t-cor);
}
.pr-tipo::after {
    content: ""; position: absolute; right: -40px; top: -40px;
    width: 140px; height: 140px; border-radius: 50%;
    background: var(--t-cor-clara); opacity: .55;
    transition: transform .35s ease;
}
.pr-tipo > * { position: relative; z-index: 1; }
.pr-tipo:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 32, 39, .12); border-color: var(--t-cor); }
.pr-tipo:hover::after { transform: scale(1.18); }
.pr-tipo-icone {
    width: 64px; height: 64px; margin: 0 auto 14px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--t-cor-clara); color: var(--t-cor);
}
.pr-tipo-icone svg { width: 30px; height: 30px; }
.pr-tipo h3 { margin: 0 0 6px; color: var(--brand-dark); font-size: 1.1rem; }
.pr-tipo p  { margin: 0; color: var(--text-muted); font-size: .94rem; line-height: 1.55; }
@media (max-width: 820px) { .pr-tipos { grid-template-columns: 1fr; } }

/* 12 hábitos */
.pr-habitos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.pr-habito {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 14px;
    padding: 16px 18px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pr-habito:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 32, 39, .10); border-color: var(--brand); }
.pr-habito-num {
    font-size: 1.4rem; font-weight: 800;
    color: var(--brand);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.02em;
}
.pr-habito-icone {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-soft); color: var(--brand);
    border-radius: 10px;
}
.pr-habito-icone svg { width: 22px; height: 22px; }
.pr-habito p {
    margin: 0; font-size: .92rem; line-height: 1.5;
    color: var(--text);
}
.pr-habito p em { font-style: italic; color: var(--brand-dark); }
@media (max-width: 980px) { .pr-habitos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .pr-habitos { grid-template-columns: 1fr; } }

/* Citação destacada após os hábitos */
.pr-citacao {
    margin-top: 26px;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    color: #fff;
    border-radius: 16px;
    padding: 30px 36px;
    display: flex; align-items: center; gap: 22px;
    position: relative; overflow: hidden;
    box-shadow: 0 14px 38px rgba(25, 110, 48, .26);
}
.pr-citacao::after {
    content: ""; position: absolute; right: -60px; bottom: -60px;
    width: 220px; height: 220px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
}
.pr-citacao svg {
    flex: 0 0 auto; width: 48px; height: 48px;
    fill: rgba(255,255,255,.20);
    position: relative; z-index: 1;
}
.pr-citacao p {
    position: relative; z-index: 1;
    margin: 0;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.4;
    color: rgba(255,255,255,.95);
}
.pr-citacao strong {
    color: #fff;
    background: rgba(255,255,255,.18);
    padding: 1px 8px; border-radius: 4px;
}
@media (max-width: 640px) {
    .pr-citacao { flex-direction: column; text-align: center; padding: 28px 24px; }
}

/* EWWR */
.pr-ewwr {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 18px;
    padding: 36px 36px 32px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
    box-shadow: 0 12px 36px rgba(15, 32, 39, .08);
}
.pr-ewwr-icone {
    width: 80px; height: 80px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 26px rgba(25, 110, 48, .28);
}
.pr-ewwr-icone svg { width: 40px; height: 40px; }
.pr-ewwr-corpo { color: var(--text); line-height: 1.65; }
.pr-ewwr-corpo p { margin: 0 0 1em; }
.pr-ewwr-corpo p:last-child { margin-bottom: 0; }
.pr-ewwr-corpo a { color: var(--brand); font-weight: 600; }
@media (max-width: 640px) {
    .pr-ewwr { grid-template-columns: 1fr; padding: 28px 22px 24px; }
}

/* ============================================================================
   Contactos — página premium
============================================================================ */
.ct-hero { padding: 70px 0 60px; }
.ct-hero-tiles {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 14px; margin-top: 38px;
}
.ct-tile {
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px;
    padding: 22px 22px 20px;
    color: #fff;
    transition: background .22s ease, transform .15s ease, border-color .22s ease;
}
.ct-tile:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.32);
    transform: translateY(-3px);
    text-decoration: none;
    color: #fff;
}
.ct-tile-static:hover { transform: none; cursor: default; }
.ct-tile-icone {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.18);
    border-radius: 12px;
    margin-bottom: 6px;
}
.ct-tile-icone svg { width: 22px; height: 22px; color: #fff; }
.ct-tile-rotulo {
    font-size: .76rem; font-weight: 600;
    color: rgba(255,255,255,.78);
    letter-spacing: .08em; text-transform: uppercase;
}
.ct-tile strong {
    font-size: 1.04rem; font-weight: 700;
    color: #fff;
    line-height: 1.35;
}
.ct-tile-aviso {
    display: block;
    font-size: .68rem;
    color: rgba(255,255,255,.62);
    font-style: italic;
    margin-top: 4px;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
}
@media (max-width: 820px) {
    .ct-hero-tiles { grid-template-columns: 1fr; gap: 10px; }
}

/* Grid principal: aside + form */
.ct-pagina { padding: 56px 0 64px; }
.ct-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px;
    align-items: start;
    margin-top: 8px;
}
.ct-aside {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 10px 32px rgba(15, 32, 39, .06);
    position: sticky; top: 24px;
}
.ct-aside-head { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid #eef2f0; }
.ct-aside-tag {
    display: inline-block;
    background: var(--brand-soft); color: var(--brand);
    padding: 4px 12px; border-radius: 999px;
    font-size: .74rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 10px;
}
.ct-aside-head h2 {
    color: var(--brand-dark);
    font-size: 1.32rem;
    margin: 0;
}

.ct-horario {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px;
    background: linear-gradient(180deg, #f7faf8 0%, #fff 100%);
    border: 1px solid #e6ebe8;
    border-radius: 12px;
    margin-bottom: 14px;
    transition: border-color .22s ease, transform .15s ease;
}
.ct-horario:hover { border-color: var(--brand); transform: translateY(-2px); }
.ct-horario-icone {
    flex: 0 0 auto;
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-soft); color: var(--brand);
    border-radius: 12px;
}
.ct-horario-icone svg { width: 22px; height: 22px; }
.ct-horario-body { flex: 1; min-width: 0; }
.ct-horario-body h3 {
    margin: 0 0 6px;
    color: var(--brand-dark);
    font-size: .92rem;
    text-transform: uppercase; letter-spacing: .06em;
}
.ct-horario-body p {
    margin: 0; color: var(--text); font-size: .94rem; line-height: 1.5;
}
.ct-horario-alt .ct-horario-icone {
    background: #fff7e0; color: #c47700;
}

.ct-redes {
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid #eef2f0;
}
.ct-redes-rotulo {
    display: block;
    font-size: .76rem; font-weight: 700;
    color: var(--text-muted);
    letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 10px;
}
.ct-redes-icons { display: flex; gap: 10px; }
.ct-redes-icons a {
    width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-soft); color: var(--brand);
    border-radius: 10px;
    transition: background .2s ease, color .2s ease, transform .15s ease;
}
.ct-redes-icons a:hover {
    background: var(--brand); color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}
.ct-redes-icons svg { width: 20px; height: 20px; fill: currentColor; }

.ct-slogan {
    margin: 22px 0 0;
    color: var(--brand);
    font-style: italic;
    font-size: .98rem;
    text-align: center;
    padding-top: 16px;
    border-top: 1px dashed #e6ebe8;
}

/* Formulário em card branco */
.ct-form {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 18px;
    padding: 36px 38px 32px;
    box-shadow: 0 14px 40px rgba(15, 32, 39, .08);
}
.ct-form-head {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef2f0;
}
.ct-form-tag {
    display: inline-block;
    background: var(--brand-soft); color: var(--brand);
    padding: 4px 12px; border-radius: 999px;
    font-size: .74rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 10px;
}
.ct-form-head h2 {
    margin: 0 0 6px;
    color: var(--brand-dark);
    font-size: clamp(1.4rem, 2.2vw, 1.65rem);
}
.ct-form-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: .94rem;
}

@media (max-width: 920px) {
    .ct-grid { grid-template-columns: 1fr; }
    .ct-aside { position: static; }
}
@media (max-width: 640px) {
    .ct-form { padding: 26px 22px 24px; }
    .ct-aside { padding: 26px 22px; }
}

/* Mapa */
.ct-mapa-secao { padding: 48px 0 64px; background: #fff; }
.ct-mapa-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(15, 32, 39, .12);
    border: 1px solid #eef2f0;
}
.ct-mapa-card iframe { display: block; }
.ct-mapa-card-grande iframe { min-height: 540px; }
@media (max-width: 720px) {
    .ct-mapa-card-grande iframe { min-height: 360px; height: 400px !important; }
}

/* Serviços (cards) na página de contactos */
.ct-servicos-secao {
    padding: 24px 0 64px;
    background: linear-gradient(180deg, #ffffff 0%, var(--brand-soft) 100%);
}
.ct-servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 24px;
}
.ct-servico-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    border: 1px solid #e2ece5;
    border-radius: 16px;
    padding: 26px 26px 22px;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 6px 18px rgba(15, 32, 39, .04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    position: relative;
    overflow: hidden;
}
.ct-servico-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-light) 100%);
    opacity: 0;
    transition: opacity .2s ease;
}
.ct-servico-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(15, 32, 39, .10);
    border-color: var(--brand);
    text-decoration: none;
}
.ct-servico-card:hover::before { opacity: 1; }
.ct-servico-icone {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--brand-soft);
    color: var(--brand);
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .22s ease, color .22s ease, transform .22s ease;
}
.ct-servico-icone svg { width: 26px; height: 26px; }
.ct-servico-card:hover .ct-servico-icone {
    background: var(--brand);
    color: #fff;
    transform: scale(1.05);
}
.ct-servico-card h3 {
    margin: 0;
    color: var(--brand-dark);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
}
.ct-servico-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: .92rem;
    line-height: 1.5;
    flex: 1;
}
.ct-servico-cta {
    display: inline-flex; align-items: center; gap: 8px;
    align-self: flex-start;
    margin-top: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    letter-spacing: .01em;
    box-shadow: 0 4px 10px rgba(25, 110, 48, .22);
    transition: gap .18s ease, background .22s ease, box-shadow .22s ease, transform .15s ease;
}
.ct-servico-card:hover .ct-servico-cta {
    gap: 12px;
    background: var(--brand-light);
    box-shadow: 0 6px 16px rgba(25, 110, 48, .32);
    transform: translateX(2px);
}

@media (max-width: 980px) {
    .ct-servicos-grid { grid-template-columns: 1fr 1fr; }
    .ct-servicos-grid .ct-servico-card:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
    .ct-servicos-grid { grid-template-columns: 1fr; }
    .ct-servicos-grid .ct-servico-card:nth-child(3) { grid-column: auto; }
    .ct-servico-card { padding: 20px 22px 18px; }
}

/* ============================================================================
   Hero genérico de páginas (Óleo, Sensibilização, Visitas, REEE, Círios, PF)
============================================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    color: #fff; padding: 80px 0 70px; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 92% 8%, rgba(255,255,255,.10), transparent 55%),
        radial-gradient(circle at 5% 100%, rgba(46,156,77,.30), transparent 60%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-tag {
    display: inline-block; background: rgba(255,255,255,.16);
    padding: 6px 14px; border-radius: 999px;
    font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 14px;
}
.page-hero h1 {
    color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.2rem);
    margin: 0 0 10px; line-height: 1.15;
}
.page-hero-sub {
    color: rgba(255,255,255,.88); font-size: 1.12rem;
    max-width: 720px; margin: 0;
}
.page-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.page-hero-cta .btn-light { padding: 12px 22px; }

.page-hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 14px; margin-top: 36px;
}
.page-hero-stats > div {
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px; padding: 18px 16px;
    text-align: center;
}
.page-hero-stats strong {
    display: block; font-size: clamp(1.2rem, 2.2vw, 1.7rem);
    font-weight: 800; line-height: 1; color: #fff;
}
.page-hero-stats span {
    display: block; margin-top: 8px; font-size: .82rem; color: rgba(255,255,255,.82);
}

.page-pagina { background: linear-gradient(180deg, #f4f8f5 0%, #fff 380px); }
.page-intro { max-width: 880px; margin: 0 auto 40px; font-size: 1.04rem; line-height: 1.7; color: var(--text); }
.page-intro p:first-child { font-size: 1.1rem; color: var(--brand-dark); font-weight: 500; }

.page-secao-title { text-align: center; margin: 0 0 26px; }
.page-secao-title--mt { margin-top: 64px; }
.page-secao-title h2 {
    color: var(--brand-dark); font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin: 0 0 8px; position: relative; padding-bottom: 14px;
}
.page-secao-title h2::after {
    content: ""; position: absolute; left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 64px; height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand-light));
    border-radius: 2px;
}
.page-secao-title p { max-width: 640px; margin: 0 auto; font-size: 1rem; }

/* Aviso genérico (callout amarelo) */
.page-aviso {
    display: flex; align-items: flex-start; gap: 14px;
    background: #fff7e0;
    border: 1px solid #f0d68a;
    border-left: 5px solid #c47700;
    border-radius: 12px;
    padding: 16px 20px;
    color: #5a4400; font-size: .96rem; line-height: 1.55;
    margin-top: 40px;
}
.page-aviso-icone {
    flex: 0 0 auto;
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: #c47700; color: #fff;
}
.page-aviso-icone svg { width: 18px; height: 18px; }
.page-aviso strong { color: #6b4500; }

@media (max-width: 720px) {
    .page-hero-stats { grid-template-columns: repeat(2, 1fr); }
    .page-hero { padding: 56px 0 44px; }
}

/* ---------- Passos (Óleo: "Como funciona") ---------- */
.passos-grid {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.passo {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 16px;
    padding: 32px 24px 24px;
    position: relative;
    box-shadow: 0 8px 22px rgba(15, 32, 39, .06);
    transition: transform .22s ease, box-shadow .22s ease;
}
.passo:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 32, 39, .12); }
.passo-num {
    position: absolute; top: -16px; left: 24px;
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(25, 110, 48, .35);
}
.passo-icone {
    width: 52px; height: 52px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-soft); color: var(--brand);
    border-radius: 14px;
    margin-bottom: 12px;
}
.passo-icone svg { width: 26px; height: 26px; }
.passo strong { display: block; color: var(--brand-dark); font-size: 1.05rem; margin-bottom: 6px; }
.passo p { margin: 0; color: var(--text-muted); font-size: .94rem; line-height: 1.55; }
@media (max-width: 820px) { .passos-grid { grid-template-columns: 1fr; } }

/* ---------- Públicos (Sensibilização) ---------- */
.publicos-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.publico {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 16px;
    padding: 26px 22px 22px;
    text-align: center;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.publico:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 14px 34px rgba(15, 32, 39, .12); }
.publico-icone {
    width: 64px; height: 64px; margin: 0 auto 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-soft); color: var(--brand);
    border-radius: 50%;
}
.publico-icone svg { width: 30px; height: 30px; }
.publico h3 { color: var(--brand-dark); margin: 0 0 6px; font-size: 1.05rem; }
.publico p { margin: 0; color: var(--text-muted); font-size: .9rem; line-height: 1.5; }
@media (max-width: 880px) { .publicos-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- REEE tipos ---------- */
.reee-tipos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reee-tipo {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 16px;
    padding: 28px 26px 22px;
    box-shadow: 0 8px 24px rgba(15, 32, 39, .06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.reee-tipo:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 18px 40px rgba(15, 32, 39, .14); }
.reee-tipo-icone {
    width: 60px; height: 60px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px; background: var(--brand-soft); color: var(--brand);
    margin-bottom: 14px;
}
.reee-tipo-icone svg { width: 28px; height: 28px; }
.reee-tipo h3 { margin: 0 0 8px; color: var(--brand-dark); font-size: 1.12rem; }
.reee-tipo > p { color: var(--text-muted); font-size: .94rem; line-height: 1.55; margin: 0 0 14px; }
.reee-tipo-destino {
    display: flex; align-items: center; gap: 8px;
    padding-top: 12px;
    border-top: 1px dashed #e6ebe8;
    color: var(--brand-dark); font-size: .88rem; font-weight: 600;
}
.reee-tipo-destino svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--brand); }
@media (max-width: 820px) { .reee-tipos { grid-template-columns: 1fr; } }

/* Locais REEE Braga */
.reee-locais-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px;
    margin-bottom: 16px;
}
.reee-local {
    display: flex; align-items: center; gap: 12px;
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 12px;
    padding: 14px 16px;
    transition: transform .15s ease, border-color .2s ease;
}
.reee-local:hover { transform: translateY(-2px); border-color: var(--brand); }
.reee-local-icone {
    flex: 0 0 auto;
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: var(--brand-soft); color: var(--brand);
}
.reee-local-icone svg { width: 22px; height: 22px; }
.reee-local h3 { margin: 0 0 2px; color: var(--brand-dark); font-size: .98rem; }
.reee-local span { font-size: .82rem; color: var(--text-muted); }
.reee-extra-locais { margin: 0 0 12px; }

.reee-mapa-card {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 26px rgba(15, 32, 39, .08);
}
.reee-mapa-card .responsive-iframe-wrap { margin-bottom: 12px; }
.reee-mapa-fonte { margin: 0; font-size: .82rem; color: var(--text-muted); text-align: right; }

/* ---------- Círios (materiais + instruções) ---------- */
.cir-materiais {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.cir-material {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 16px;
    padding: 28px 24px 24px;
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: transform .22s ease, box-shadow .22s ease;
}
.cir-material::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--m-cor);
}
.cir-material::after {
    content: ""; position: absolute; right: -40px; top: -40px;
    width: 140px; height: 140px; border-radius: 50%;
    background: var(--m-cor-clara); opacity: .5;
    z-index: 0;
}
.cir-material > * { position: relative; z-index: 1; }
.cir-material:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 32, 39, .12); }
.cir-material-icone {
    width: 64px; height: 64px; margin: 0 auto 14px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--m-cor-clara); color: var(--m-cor);
}
.cir-material-icone svg { width: 30px; height: 30px; }
.cir-material h3 { margin: 0 0 8px; color: var(--brand-dark); font-size: 1.08rem; }
.cir-material p  { margin: 0; color: var(--text-muted); font-size: .94rem; line-height: 1.55; }
@media (max-width: 820px) { .cir-materiais { grid-template-columns: 1fr; } }

.cir-instrucoes {
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.cir-col {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 14px;
    padding: 22px 24px 20px;
}
.cir-col-head {
    display: flex; align-items: center; gap: 12px;
    padding-bottom: 12px; margin-bottom: 14px;
    border-bottom: 1px solid #eef2f0;
}
.cir-col-head h3 { margin: 0; font-size: 1.08rem; }
.cir-col-mark {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.cir-col-mark svg { width: 16px; height: 16px; }
.cir-col-sim { background: linear-gradient(180deg, #effbf2 0%, #fff 100%); border-color: #c5e6cf; }
.cir-col-sim .cir-col-mark { background: #1e8a4a; color: #fff; }
.cir-col-sim h3 { color: #145a2a; }
.cir-col-nao { background: linear-gradient(180deg, #fdf1f1 0%, #fff 100%); border-color: #f3d2d2; }
.cir-col-nao .cir-col-mark { background: #c41e1e; color: #fff; }
.cir-col-nao h3 { color: #862c2c; }
.cir-col ul { list-style: none; padding: 0; margin: 0; }
.cir-col li { padding: 8px 0 8px 24px; position: relative; font-size: .94rem; line-height: 1.5; }
.cir-col li + li { border-top: 1px dashed #e6ebe8; }
.cir-col-sim li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: #1e8a4a; font-weight: 800; }
.cir-col-nao li::before { content: "×"; position: absolute; left: 0; top: 8px; color: #c41e1e; font-weight: 800; font-size: 1.1rem; }
@media (max-width: 720px) { .cir-instrucoes { grid-template-columns: 1fr; } }

/* ---------- Projetos Financiados ---------- */
.pf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 22px;
}
.pf-card {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 18px;
    overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 12px 30px rgba(15, 32, 39, .08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pf-card:hover { transform: translateY(-5px); border-color: var(--brand); box-shadow: 0 22px 50px rgba(15, 32, 39, .15); }
.pf-card-top {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    color: #fff;
    padding: 22px 24px 18px;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    position: relative; overflow: hidden;
}
.pf-card-top::after {
    content: ""; position: absolute;
    right: -40px; top: -40px;
    width: 140px; height: 140px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
}
.pf-card-num {
    position: relative; z-index: 1;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.28);
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 800; font-size: .92rem;
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
}
.pf-card-brand {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
}
.pf-logo { height: 30px; width: auto; filter: brightness(0) invert(1); }
.pf-logo-sub {
    font-size: .68rem; letter-spacing: .12em;
    color: rgba(255,255,255,.78); text-transform: uppercase;
}
.pf-card-body { padding: 22px 24px 18px; flex: 1; }
.pf-card-body h3 {
    margin: 0 0 12px;
    color: var(--brand-dark);
    font-size: 1.12rem;
    line-height: 1.35;
}
.pf-desc { color: var(--text); font-size: .94rem; line-height: 1.55; margin: 0; }
.pf-card-foot {
    border-top: 1px solid #eef2f0;
    padding: 18px 24px 22px;
    display: flex; flex-direction: column; gap: 14px;
}
.pf-financiadores {
    display: flex; flex-direction: column; gap: 6px;
}
.pf-financiadores-rotulo {
    font-size: .72rem; font-weight: 700;
    color: var(--text-muted);
    letter-spacing: .08em; text-transform: uppercase;
}
.pf-financiadores img { max-width: 100%; height: auto; max-height: 70px; object-fit: contain; }
.pf-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pf-link svg { width: 16px; height: 16px; }

/* ============================================================================
   Hero partilhado entre páginas (Tarifário, Info Empresarial, Recrutamento)
============================================================================ */
.tar-hero, .ie-hero, .rec-hero {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    color: #fff; padding: 80px 0 70px; position: relative; overflow: hidden;
}
.tar-hero::before, .ie-hero::before, .rec-hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 92% 8%, rgba(255,255,255,.10), transparent 55%),
        radial-gradient(circle at 5% 100%, rgba(46,156,77,.30), transparent 60%);
    pointer-events: none;
}
.tar-hero .container, .ie-hero .container, .rec-hero .container { position: relative; z-index: 1; }
.tar-hero-tag, .ie-hero-tag, .rec-hero-tag {
    display: inline-block; background: rgba(255,255,255,.16);
    padding: 6px 14px; border-radius: 999px;
    font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 14px;
}
.tar-hero h1, .ie-hero h1, .rec-hero h1 {
    color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.2rem);
    margin: 0 0 10px; line-height: 1.15;
}
.tar-hero-sub, .ie-hero-sub, .rec-hero-sub {
    color: rgba(255,255,255,.88); font-size: 1.12rem;
    max-width: 720px; margin: 0;
}
.tar-hero-stats, .ie-hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 14px; margin-top: 38px;
}
.tar-hero-stats > div, .ie-hero-stats > div {
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px; padding: 18px 16px;
    text-align: center;
}
.tar-hero-stats strong, .ie-hero-stats strong {
    display: block; font-size: clamp(1.3rem, 2.4vw, 1.85rem);
    font-weight: 800; line-height: 1; color: #fff;
}
.tar-hero-stats span, .ie-hero-stats span {
    display: block; margin-top: 8px; font-size: .82rem; color: rgba(255,255,255,.82);
}
@media (max-width: 720px) {
    .tar-hero-stats, .ie-hero-stats { grid-template-columns: repeat(2, 1fr); }
    .tar-hero, .ie-hero, .rec-hero { padding: 56px 0 44px; }
}

.tar-pagina, .ie-pagina, .rec-pagina { background: linear-gradient(180deg, #f4f8f5 0%, #fff 380px); }
.tar-intro, .ie-intro { max-width: 880px; margin: 0 auto 40px; font-size: 1.02rem; line-height: 1.65; color: var(--text); }

/* Section title (reaproveita o estilo PMV/História) */
.tar-pagina .ie-secao-title, .ie-secao-title, .rec-secao-title {
    text-align: center; margin: 0 0 28px;
}
.ie-secao-title--mt, .rec-secao-title--mt { margin-top: 72px; }
.ie-secao-title h2, .rec-secao-title h2 {
    color: var(--brand-dark); font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin: 0 0 8px; position: relative; padding-bottom: 14px;
}
.ie-secao-title h2::after, .rec-secao-title h2::after {
    content: ""; position: absolute; left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 64px; height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand-light));
    border-radius: 2px;
}
.ie-secao-title p, .rec-secao-title p { max-width: 640px; margin: 0 auto; font-size: 1rem; }

/* ============================================================================
   Tarifário — chips e card
============================================================================ */
.tar-chips {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin: 0 0 18px;
}
.tar-chip {
    appearance: none; border: 1px solid #dbe3df; background: #fff;
    border-radius: 999px; padding: 9px 16px;
    display: inline-flex; align-items: center; gap: 8px;
    cursor: pointer; font: inherit; font-size: .9rem; color: var(--text);
    transition: background .18s ease, border-color .18s ease, transform .15s ease, color .18s ease;
}
.tar-chip:hover { transform: translateY(-1px); border-color: var(--brand); color: var(--brand); }
.tar-chip-count {
    background: var(--brand-soft); color: var(--brand);
    padding: 2px 8px; border-radius: 999px;
    font-size: .76rem; font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.tar-chip.is-active {
    background: var(--brand); border-color: var(--brand); color: #fff;
}
.tar-chip.is-active .tar-chip-count { background: rgba(255,255,255,.22); color: #fff; }

.tar-card-wrap { margin-top: 8px; }
.tar-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #eef2f0;
    box-shadow: 0 12px 38px rgba(15, 32, 39, .08);
    overflow: hidden;
}
.tar-toolbar {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
    padding: 18px 22px;
    background: linear-gradient(180deg, #f7faf8 0%, #fff 100%);
    border-bottom: 1px solid #eef2f0;
}
.tar-search {
    flex: 1 1 260px; min-width: 220px;
    position: relative;
}
.tar-search svg {
    position: absolute; left: 14px; top: 50%;
    transform: translateY(-50%);
    width: 18px; height: 18px;
    color: var(--text-muted);
    pointer-events: none;
}
.tar-toolbar input[type="search"],
.tar-toolbar select {
    padding: 11px 14px; border: 1px solid #dbe3df; border-radius: 10px;
    background: #fff; font: inherit; color: var(--text);
}
.tar-toolbar input[type="search"] { padding-left: 40px; width: 100%; }
.tar-toolbar input[type="search"]:focus,
.tar-toolbar select:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.tar-toolbar select { min-width: 220px; }
.tar-check {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .9rem; color: var(--text-muted);
    padding: 9px 14px; border-radius: 10px;
    background: #fff; border: 1px solid #dbe3df;
}
.tar-check:hover { border-color: var(--brand); color: var(--brand); }
.tar-counter {
    margin-left: auto;
    background: var(--brand-soft); color: var(--brand);
    padding: 8px 14px; border-radius: 999px;
    font-size: .85rem; font-weight: 600;
}

.tar-tabela thead th {
    background: linear-gradient(180deg, #fff 0%, #f7faf8 100%) !important;
    color: var(--brand-dark) !important;
    font-weight: 700; font-size: .88rem;
    text-transform: uppercase; letter-spacing: .04em;
    border-bottom: 2px solid #eef2f0;
}
.tar-ler {
    background: var(--brand-soft); color: var(--brand-dark);
    padding: 4px 10px; border-radius: 6px;
    font-family: ui-monospace, Consolas, monospace; font-size: .82rem;
    display: inline-block;
}
.tar-foot {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
    padding: 16px 22px;
    background: #f7faf8;
    border-top: 1px solid #eef2f0;
    font-size: .88rem;
}
.tar-foot-nota {
    display: flex; align-items: center; gap: 10px;
    color: var(--text);
}
.tar-foot-nota svg {
    flex: 0 0 auto; width: 18px; height: 18px; color: var(--brand);
}
.tar-foot-data { font-size: .82rem; }

/* ============================================================================
   Informação Empresarial — categorias com ícones
============================================================================ */
.ie-cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.ie-cat {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 16px;
    padding: 26px 22px 22px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(15, 32, 39, .06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    display: flex; flex-direction: column;
}
.ie-cat::before {
    content: ""; position: absolute;
    right: -50px; top: -50px;
    width: 140px; height: 140px;
    background: var(--brand-soft);
    border-radius: 50%;
    opacity: .55;
    transition: transform .35s ease;
}
.ie-cat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 32, 39, .14); border-color: var(--brand); }
.ie-cat:hover::before { transform: scale(1.2); }
.ie-cat.is-empty { opacity: .68; }
.ie-cat-icone {
    position: relative; z-index: 1;
    width: 56px; height: 56px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--brand-soft); color: var(--brand);
    margin-bottom: 14px;
    transition: background .25s ease, color .25s ease;
}
.ie-cat:hover .ie-cat-icone { background: var(--brand); color: #fff; }
.ie-cat-icone svg { width: 28px; height: 28px; }
.ie-cat h3 {
    position: relative; z-index: 1;
    color: var(--brand-dark);
    font-size: 1.08rem;
    margin: 0 0 6px;
    line-height: 1.3;
}
.ie-cat-count {
    position: relative; z-index: 1;
    color: var(--text-muted);
    font-size: .85rem;
    margin-bottom: 16px;
    flex: 1;
}
.ie-cat-btn {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 10px 16px;
    background: var(--brand-soft); color: var(--brand);
    border: 0; border-radius: 10px;
    font-weight: 700; font-size: .9rem;
    cursor: pointer; font-family: inherit;
    transition: background .2s ease, color .2s ease, transform .15s ease;
}
.ie-cat-btn:hover:not(:disabled) {
    background: var(--brand); color: #fff;
    transform: translateY(-1px);
}
.ie-cat-btn:disabled { cursor: not-allowed; opacity: .55; }
.ie-cat-btn .btn-arrow { transition: transform .2s ease; }
.ie-cat-btn:hover:not(:disabled) .btn-arrow { transform: translateX(3px); }

/* Órgãos sociais — melhorias visuais (sobre o existente) */
.ie-orgaos-card { box-shadow: 0 14px 40px rgba(15, 32, 39, .10); border: 1px solid #eef2f0; }
.ie-orgaos-card .orgaos-tabs { background: linear-gradient(135deg, var(--brand-dark), var(--brand) 110%); }
.ie-orgaos-card .orgao-tab {
    flex-direction: row; gap: 12px; padding: 18px 16px;
    text-align: left; align-items: center; justify-content: flex-start;
}
.orgao-avatar {
    flex: 0 0 auto;
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.18);
    border: 2px solid rgba(255,255,255,.25);
    border-radius: 50%;
    font-weight: 800; font-size: .92rem;
    letter-spacing: .04em;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.orgao-tab-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ie-orgaos-card .orgao-tab.is-active .orgao-avatar {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}
.ie-orgaos-card .orgao-panel { padding: 36px 40px; }
@media (max-width: 700px) {
    .ie-orgaos-card .orgaos-tabs { grid-template-columns: 1fr; }
    .ie-orgaos-card .orgao-tab { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
    .ie-orgaos-card .orgao-tab:last-child { border-bottom: 0; }
}

/* ============================================================================
   Recrutamento — vagas e formulário
============================================================================ */
.rec-hero-intro {
    color: rgba(255,255,255,.95);
    font-size: 1.05rem; max-width: 680px;
    margin: 12px 0 24px;
}
.rec-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.btn-light {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--brand-dark);
    padding: 12px 22px; border-radius: 10px;
    font-weight: 700; font-size: .95rem;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
    transition: transform .15s ease, box-shadow .2s ease;
}
.btn-light svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.24); text-decoration: none; color: var(--brand-dark); }
.btn-outline-light {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.10); color: #fff;
    padding: 12px 22px; border-radius: 10px;
    font-weight: 700; font-size: .95rem;
    white-space: nowrap;
    border: 1.5px solid rgba(255,255,255,.5);
    transition: background .2s ease, transform .15s ease;
}
.btn-outline-light svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-outline-light:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); text-decoration: none; color: #fff; }

.rec-vagas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
}
.rec-vaga {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 16px;
    padding: 28px 26px 26px;
    position: relative;
    box-shadow: 0 8px 24px rgba(15, 32, 39, .06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    display: flex; flex-direction: column;
}
.rec-vaga:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(15, 32, 39, .14); border-color: var(--brand); }
.rec-vaga-status {
    align-self: flex-start;
    padding: 4px 12px; border-radius: 999px;
    font-size: .76rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em;
    margin-bottom: 14px;
}
.rec-vaga-status.is-open    { background: #d6efdd; color: #145a2a; }
.rec-vaga-status.is-closed  { background: #f3dada; color: #7a1212; }
.rec-vaga-head h3 {
    color: var(--brand-dark);
    font-size: 1.18rem;
    margin: 0 0 4px;
    line-height: 1.3;
}
.rec-vaga-head .vaga-ref {
    display: inline-block;
    font-size: .82rem;
    color: var(--text-muted);
    background: var(--brand-soft); padding: 2px 8px; border-radius: 4px;
    margin-bottom: 14px;
    font-family: ui-monospace, Consolas, monospace;
}
.rec-vaga-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; }
.rec-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: #f7faf8;
    border: 1px solid #e6ebe8;
    color: var(--text);
    padding: 5px 11px; border-radius: 999px;
    font-size: .82rem;
}
.rec-chip svg { width: 14px; height: 14px; color: var(--brand); }
.rec-chip-prazo { background: #fff7e0; border-color: #f0d68a; color: #6b4500; }
.rec-chip-prazo svg { color: #c47700; }
.rec-vaga .vaga-resumo { color: var(--text); font-size: .96rem; line-height: 1.55; margin: 0 0 14px; }
.rec-vaga-detalhes summary {
    cursor: pointer; padding: 10px 14px;
    background: var(--brand-soft); color: var(--brand);
    border-radius: 8px; font-weight: 600; font-size: .92rem;
    list-style: none; user-select: none;
    transition: background .2s ease;
}
.rec-vaga-detalhes summary::-webkit-details-marker { display: none; }
.rec-vaga-detalhes summary::before {
    content: "▸ "; display: inline-block;
    transition: transform .2s ease;
}
.rec-vaga-detalhes[open] summary::before { transform: rotate(90deg); }
.rec-vaga-detalhes summary:hover { background: color-mix(in srgb, var(--brand-soft) 60%, #d3e6da); }
.rec-vaga-detalhes[open] summary { margin-bottom: 12px; }
.rec-vaga-detalhes .conteudo { font-size: .94rem; }
.rec-vaga-apply { margin-top: auto; }

.rec-empty {
    text-align: center;
    padding: 50px 24px;
    background: #fff;
    border: 1px dashed #cbd6cf;
    border-radius: 16px;
}
.rec-empty svg { width: 48px; height: 48px; color: var(--brand); margin-bottom: 12px; }
.rec-empty h3 { color: var(--brand-dark); margin: 0 0 8px; }
.rec-empty p { max-width: 520px; margin: 0 auto; font-size: .96rem; }

/* Bloco candidatura (aside + form) */
.rec-cand-bloco {
    display: grid;
    grid-template-columns: 360px 1fr;
    margin-top: 56px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 32, 39, .10);
    border: 1px solid #eef2f0;
}
.rec-cand-aside {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    color: #fff;
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
}
.rec-cand-aside::after {
    content: ""; position: absolute;
    right: -80px; bottom: -80px;
    width: 240px; height: 240px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
    pointer-events: none;
}
.rec-cand-aside-inner { position: relative; z-index: 1; }
.rec-aside-tag {
    display: inline-block;
    background: rgba(255,255,255,.18);
    padding: 5px 12px; border-radius: 999px;
    font-size: .76rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    margin-bottom: 14px;
}
.rec-cand-aside h2 { color: #fff; font-size: 1.6rem; margin: 0 0 10px; }
.rec-cand-aside p { color: rgba(255,255,255,.88); line-height: 1.55; margin: 0 0 22px; }
.rec-aside-list { list-style: none; padding: 0; margin: 0; }
.rec-aside-list li {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 0;
    color: rgba(255,255,255,.92);
    font-size: .94rem;
}
.rec-aside-list svg {
    width: 16px; height: 16px; flex: 0 0 auto;
    background: rgba(255,255,255,.18);
    border-radius: 50%; padding: 4px;
    box-sizing: content-box;
}
.rec-cand-form { padding: 44px 40px; }

@media (max-width: 880px) {
    .rec-cand-bloco { grid-template-columns: 1fr; }
    .rec-cand-aside { padding: 32px 28px; }
    .rec-cand-form { padding: 32px 24px; }
}
@media (max-width: 640px) {
    .rec-hero-cta { flex-direction: column; align-items: stretch; }
    .btn-light, .btn-outline-light { justify-content: center; }
}

/* ============================================================================
   Política, Missão e Valores — página premium (texto editorial intacto)
============================================================================ */
.pmv-hero {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    color: #fff; padding: 80px 0 64px; position: relative; overflow: hidden;
}
.pmv-hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 92% 8%, rgba(255,255,255,.10), transparent 55%),
        radial-gradient(circle at 5% 100%, rgba(46,156,77,.30), transparent 60%);
    pointer-events: none;
}
.pmv-hero::after {
    content: ""; position: absolute;
    left: 50%; bottom: -120px;
    width: 600px; height: 600px;
    transform: translateX(-50%);
    border: 2px solid rgba(255,255,255,.05);
    border-radius: 50%;
    pointer-events: none;
}
.pmv-hero .container { position: relative; z-index: 1; }
.pmv-hero-tag {
    display: inline-block; background: rgba(255,255,255,.16);
    padding: 6px 14px; border-radius: 999px;
    font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 16px;
}
.pmv-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin: 0 0 10px; line-height: 1.15; }
.pmv-hero-sub { color: rgba(255,255,255,.88); font-size: 1.15rem; max-width: 720px; margin: 0 0 28px; }
.pmv-hero-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.pmv-hero-nav a {
    background: rgba(255,255,255,.12);
    color: #fff;
    padding: 9px 20px; border-radius: 999px;
    font-weight: 600; font-size: .92rem;
    border: 1px solid rgba(255,255,255,.18);
    transition: background .2s ease, transform .15s ease;
}
.pmv-hero-nav a:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); text-decoration: none; }

.pmv-pagina { background: linear-gradient(180deg, #f4f8f5 0%, #fff 400px); }

/* Bloco genérico (Política / Missão / Visão) */
.pmv-bloco {
    background: #fff;
    border-radius: 20px;
    padding: 44px 40px 40px;
    margin-top: 36px;
    box-shadow: 0 14px 44px rgba(15, 32, 39, .08);
    border: 1px solid #eef2f0;
    scroll-margin-top: 20px;
}
.pmv-bloco:first-of-type { margin-top: 0; }
.pmv-bloco-head {
    display: flex; align-items: center; gap: 22px;
    padding-bottom: 22px; margin-bottom: 26px;
    border-bottom: 1px solid #eef2f0;
}
.pmv-bloco-num {
    flex: 0 0 auto;
    width: 64px; height: 64px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    border-radius: 18px;
    font-size: 1.4rem; font-weight: 800;
    letter-spacing: .04em;
    box-shadow: 0 10px 22px rgba(25, 110, 48, .28);
}
.pmv-bloco-tag {
    display: inline-block; background: var(--brand-soft); color: var(--brand);
    padding: 4px 12px; border-radius: 999px;
    font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 6px;
}
.pmv-bloco-head h2 {
    margin: 0; color: var(--brand-dark);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
}
.pmv-bloco-intro {
    color: var(--text); font-size: 1.04rem; line-height: 1.65;
    max-width: 860px; margin: 0 0 28px;
}
.pmv-bloco-intro p:first-child {
    font-size: 1.1rem; color: var(--brand-dark); font-weight: 500;
}

/* ---------- Princípios da Política (cards numerados) ---------- */
.pmv-principios {
    display: flex; flex-direction: column; gap: 18px;
}
.pmv-principio {
    display: grid; grid-template-columns: 96px 1fr;
    gap: 24px;
    background: #f7faf8;
    border: 1px solid #e6ebe8;
    border-radius: 16px;
    padding: 26px 28px 24px;
    position: relative;
    overflow: hidden;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.pmv-principio::before {
    content: ""; position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--p-cor, var(--brand));
    transition: width .25s ease;
}
.pmv-principio:hover {
    background: #fff;
    border-color: var(--p-cor, var(--brand));
    box-shadow: 0 14px 36px rgba(15, 32, 39, .12);
    transform: translateY(-2px);
}
.pmv-principio:hover::before { width: 6px; }

.pmv-principio-marker {
    position: relative;
    display: flex; align-items: flex-start; justify-content: center;
}
.pmv-principio-icone {
    width: 72px; height: 72px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--p-cor) 12%, #fff);
    color: var(--p-cor);
    box-shadow: inset 0 0 0 4px #fff;
    transition: transform .25s ease;
}
.pmv-principio:hover .pmv-principio-icone { transform: scale(1.05); }
.pmv-principio-icone svg { width: 34px; height: 34px; }
.pmv-principio-num {
    position: absolute; top: -4px; right: -2px;
    background: var(--p-cor);
    color: #fff;
    font-size: .76rem; font-weight: 800;
    padding: 3px 8px; border-radius: 999px;
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 4px 10px rgba(0,0,0,.18);
}

.pmv-principio-body h3 {
    margin: 4px 0 12px;
    color: var(--brand-dark);
    font-size: 1.15rem;
    line-height: 1.35;
    padding-bottom: 12px;
    border-bottom: 1px dashed color-mix(in srgb, var(--p-cor) 25%, #e0e6e2);
}
.pmv-principio-corpo { color: var(--text); font-size: .98rem; line-height: 1.7; }
.pmv-principio-corpo ul {
    list-style: none; padding: 0; margin: 0;
}
.pmv-principio-corpo ul li {
    padding: 8px 0 8px 28px;
    position: relative;
    line-height: 1.6;
}
.pmv-principio-corpo ul li + li { border-top: 1px dashed #e6ebe8; }
.pmv-principio-corpo ul li::before {
    content: "";
    position: absolute; left: 4px; top: 16px;
    width: 10px; height: 10px;
    background: var(--p-cor);
    border-radius: 50%;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--p-cor) 18%, transparent);
}
.pmv-principio-corpo p { margin: 0 0 1em; }

@media (max-width: 720px) {
    .pmv-principio { grid-template-columns: 1fr; gap: 14px; padding: 22px 22px 20px; }
    .pmv-principio-marker { justify-content: flex-start; }
}

/* ---------- Missão (pull-quote) ---------- */
.pmv-missao-card {
    position: relative;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    color: #fff;
    border-radius: 18px;
    padding: 52px 56px 48px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(25, 110, 48, .25);
}
.pmv-missao-card::after {
    content: ""; position: absolute;
    right: -80px; bottom: -80px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
    pointer-events: none;
}
.pmv-missao-quote {
    position: absolute; top: 28px; left: 36px;
    width: 64px; height: 64px;
    fill: rgba(255,255,255,.10);
    pointer-events: none;
}
.pmv-missao-conteudo {
    position: relative; z-index: 1;
    max-width: 820px; margin: 0 auto;
}
.pmv-missao-conteudo p {
    margin: 0 0 1em;
    font-size: 1.08rem;
    color: rgba(255,255,255,.92);
    line-height: 1.6;
}
.pmv-missao-card .pmv-missao-conteudo blockquote {
    margin: 8px 0 0;
    padding: 24px 30px;
    background: rgba(0, 0, 0, .28);
    border-left: 4px solid #ffd86b;
    border-radius: 0 12px 12px 0;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.pmv-missao-card .pmv-missao-conteudo blockquote p {
    margin: 0;
    color: #fff;
    font-size: clamp(1.1rem, 1.8vw, 1.32rem);
    line-height: 1.6;
    font-weight: 500;
    font-style: normal;
    text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

@media (max-width: 640px) {
    .pmv-missao-card { padding: 60px 24px 32px; }
    .pmv-missao-quote { width: 44px; height: 44px; top: 18px; left: 18px; }
}

/* ---------- Visão (grid de cards iconados) ---------- */
.pmv-visao-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.pmv-visao-card {
    background: linear-gradient(180deg, #fff 0%, #f7faf8 100%);
    border: 1px solid #eef2f0;
    border-radius: 16px;
    padding: 30px 24px 26px;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pmv-visao-card::before {
    content: ""; position: absolute;
    right: -60px; top: -60px;
    width: 160px; height: 160px;
    background: var(--brand-soft);
    border-radius: 50%;
    opacity: .55;
    transition: transform .35s ease;
}
.pmv-visao-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 32, 39, .14);
    border-color: var(--brand);
}
.pmv-visao-card:hover::before { transform: scale(1.15); }

.pmv-visao-icone {
    position: relative; z-index: 1;
    width: 68px; height: 68px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    border: 2px solid var(--brand-soft);
    margin-bottom: 18px;
    box-shadow: 0 8px 22px rgba(25, 110, 48, .14);
}
.pmv-visao-icone svg { width: 32px; height: 32px; }
.pmv-visao-texto {
    position: relative; z-index: 1;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.55;
}
@media (max-width: 820px) { .pmv-visao-grid { grid-template-columns: 1fr; } }

/* ---------- Valores (card com ícone e prosa) ---------- */
.pmv-valores-card {
    position: relative;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 32px;
    align-items: start;
    background: linear-gradient(135deg, #f7faf8 0%, #ffffff 60%);
    border: 1px solid #e6efe9;
    border-left: 6px solid var(--brand);
    border-radius: 18px;
    padding: 40px 44px;
    box-shadow: 0 14px 38px rgba(15, 32, 39, .08);
}
.pmv-valores-icone {
    width: 84px; height: 84px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    border: 2px solid var(--brand-soft);
    box-shadow: 0 10px 26px rgba(25, 110, 48, .18);
}
.pmv-valores-icone svg { width: 42px; height: 42px; }
.pmv-valores-conteudo {
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.7;
}
.pmv-valores-conteudo p { margin: 0 0 14px; }
.pmv-valores-conteudo p:last-child { margin-bottom: 0; }
.pmv-valores-conteudo strong {
    color: var(--brand-dark);
    font-weight: 700;
    letter-spacing: .02em;
}
@media (max-width: 720px) {
    .pmv-valores-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 30px 22px;
    }
    .pmv-valores-icone { width: 64px; height: 64px; }
    .pmv-valores-icone svg { width: 32px; height: 32px; }
}

@media (max-width: 640px) {
    .pmv-bloco { padding: 32px 24px 28px; }
    .pmv-bloco-head { flex-direction: column; align-items: flex-start; gap: 14px; }
    .pmv-bloco-num { width: 56px; height: 56px; font-size: 1.2rem; }
}

/* ============================================================================
   História — página premium
============================================================================ */
.hist-hero {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    color: #fff; padding: 80px 0 70px; position: relative; overflow: hidden;
}
.hist-hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 85% 0%, rgba(255,255,255,.10), transparent 55%),
        radial-gradient(circle at 5% 100%, rgba(46,156,77,.30), transparent 60%);
    pointer-events: none;
}
.hist-hero::after {
    content: ""; position: absolute; right: -120px; top: -120px;
    width: 380px; height: 380px;
    border: 2px solid rgba(255,255,255,.06);
    border-radius: 50%;
    pointer-events: none;
}
.hist-hero .container { position: relative; z-index: 1; }
.hist-hero-tag {
    display: inline-block; background: rgba(255,255,255,.16);
    padding: 6px 14px; border-radius: 999px;
    font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 16px;
}
.hist-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin: 0 0 10px; line-height: 1.15; }
.hist-hero-sub { color: rgba(255,255,255,.88); font-size: 1.15rem; max-width: 720px; margin: 0; }
.hist-hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 14px; margin-top: 42px;
}
.hist-hero-stats > div {
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px; padding: 20px 16px;
    text-align: center;
}
.hist-hero-stats strong { display: block; font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 800; line-height: 1; }
.hist-hero-stats span  { display: block; margin-top: 8px; font-size: .82rem; color: rgba(255,255,255,.82); }
@media (max-width: 720px) {
    .hist-hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hist-hero { padding: 56px 0 44px; }
}

.hist-pagina { background: linear-gradient(180deg, #f4f8f5 0%, #fff 380px); }
.hist-intro { max-width: 880px; margin: 0 auto 56px; font-size: 1.04rem; line-height: 1.7; color: var(--text); }
.hist-intro p:first-child { font-size: 1.18rem; color: var(--brand-dark); font-weight: 500; }

.hist-secao-title { text-align: center; margin: 0 0 28px; }
.hist-secao-title--mt { margin-top: 72px; }
.hist-secao-title h2 {
    color: var(--brand-dark); font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin: 0 0 8px; position: relative; padding-bottom: 14px;
}
.hist-secao-title h2::after {
    content: ""; position: absolute; left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 64px; height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand-light));
    border-radius: 2px;
}
.hist-secao-title p { max-width: 640px; margin: 0 auto; font-size: 1rem; }

/* ---------- Objetivos (3 cards numerados) ---------- */
.hist-objetivos {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.hist-objetivo {
    position: relative;
    background: #fff; border: 1px solid #eef2f0;
    border-radius: 16px;
    padding: 36px 26px 26px;
    box-shadow: 0 8px 28px rgba(15, 32, 39, .07);
    transition: transform .25s ease, box-shadow .25s ease;
}
.hist-objetivo:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 32, 39, .14); }
.hist-objetivo-num {
    position: absolute; top: -18px; left: 26px;
    width: 36px; height: 36px;
    background: var(--brand); color: #fff;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem;
    box-shadow: 0 8px 18px rgba(25, 110, 48, .35);
}
.hist-objetivo-icone {
    width: 56px; height: 56px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--brand-soft); color: var(--brand);
    margin-bottom: 14px;
}
.hist-objetivo-icone svg { width: 28px; height: 28px; }
.hist-objetivo h3 { color: var(--brand-dark); margin: 0 0 8px; font-size: 1.1rem; }
.hist-objetivo p  { color: var(--text-muted); font-size: .94rem; line-height: 1.55; margin: 0; }
@media (max-width: 820px) { .hist-objetivos { grid-template-columns: 1fr; } }

/* ---------- Timeline (alternada com linha colorida) ---------- */
.hist-timeline-wrap { position: relative; max-width: 920px; margin: 0 auto; }
.hist-timeline {
    list-style: none; padding: 30px 0; margin: 0;
    position: relative;
}
/* Linha base — cinza claro (estado "ainda não passou") */
.hist-timeline::before {
    content: ""; position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 3px;
    background: rgba(25, 110, 48, .12);
    transform: translateX(-50%);
    border-radius: 2px;
    z-index: 0;
}
/* Linha de progresso — verde, height controlado via JS (--progress) */
.hist-timeline-line {
    position: absolute;
    left: 50%; top: 30px;
    width: 3px;
    background: linear-gradient(180deg, var(--brand) 0%, var(--brand-light) 100%);
    transform: translateX(-50%);
    height: var(--progress, 0%);
    border-radius: 2px;
    transition: height .25s cubic-bezier(.2,.8,.2,1);
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 0 18px rgba(25, 110, 48, .3);
}
.hist-tl-item {
    position: relative;
    width: 50%;
    padding: 18px 36px;
    box-sizing: border-box;
    opacity: 1;
    transition: opacity .4s ease, transform .4s ease, max-height .5s ease, padding .4s ease;
}
.hist-tl--esq { margin-left: 0; padding-right: 56px; text-align: right; }
.hist-tl--dir { margin-left: 50%; padding-left: 56px; text-align: left; }

/* Estado colapsado — só os destaques aparecem */
.hist-timeline-wrap[data-collapsed="true"] .hist-tl--secundario {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    pointer-events: none;
}
.hist-timeline-wrap[data-collapsed="false"] .hist-tl-item {
    animation: hist-tl-fade-in .5s cubic-bezier(.2, .8, .2, 1) backwards;
}
@keyframes hist-tl-fade-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hist-tl-dot {
    position: absolute; top: 32px;
    width: 24px; height: 24px;
    background: #fff; border: 3px solid rgba(25, 110, 48, .25);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px #fff, 0 4px 12px rgba(15, 32, 39, .08);
    transition: border-color .4s ease, box-shadow .4s ease, transform .3s ease;
}
.hist-tl-dot span {
    position: absolute; inset: 4px;
    background: rgba(25, 110, 48, .3);
    border-radius: 50%;
    transition: background .4s ease, transform .4s ease;
}
/* Quando o dot é "passado" pelo scroll, fica completamente verde + pulse */
.hist-tl-item.is-passed .hist-tl-dot {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px #fff, 0 6px 18px rgba(25, 110, 48, .35);
}
.hist-tl-item.is-passed .hist-tl-dot span {
    background: var(--brand);
    animation: hist-pulse 2.4s ease-in-out infinite;
}
.hist-tl--destaque .hist-tl-dot {
    width: 28px; height: 28px;
    top: 30px;
}
.hist-tl--destaque .hist-tl-data {
    background: var(--brand);
    color: #fff;
}
@keyframes hist-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(.75); opacity: .65; }
}
.hist-tl--esq .hist-tl-dot { right: -12px; }
.hist-tl--dir .hist-tl-dot { left: -12px; }

.hist-tl-card {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 6px 22px rgba(15, 32, 39, .06);
    position: relative;
    transition: transform .22s ease, box-shadow .22s ease;
}
.hist-tl-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15, 32, 39, .12); }
.hist-tl-card::before {
    content: ""; position: absolute; top: 28px;
    width: 12px; height: 12px;
    background: #fff;
    border: 1px solid #eef2f0;
    transform: rotate(45deg);
}
.hist-tl--esq .hist-tl-card::before { right: -7px; border-left: 0; border-bottom: 0; }
.hist-tl--dir .hist-tl-card::before { left: -7px; border-right: 0; border-top: 0; }

.hist-tl-data {
    display: inline-block;
    background: var(--brand-soft); color: var(--brand);
    padding: 4px 12px; border-radius: 999px;
    font-size: .78rem; font-weight: 700;
    letter-spacing: .05em; text-transform: uppercase;
    margin-bottom: 8px;
}
.hist-tl-card h3 { margin: 0 0 8px; color: var(--brand-dark); font-size: 1.08rem; }
.hist-tl-card p  { margin: 0; color: var(--text-muted); font-size: .94rem; line-height: 1.55; }

@media (max-width: 720px) {
    .hist-timeline::before { left: 18px; }
    .hist-timeline-line { left: 18px; }
    .hist-tl-item { width: 100%; margin-left: 0; padding: 14px 0 14px 50px; text-align: left; }
    .hist-tl--esq, .hist-tl--dir { margin-left: 0; padding-left: 50px; padding-right: 0; text-align: left; }
    .hist-tl--esq .hist-tl-dot, .hist-tl--dir .hist-tl-dot { left: 6px; right: auto; }
    .hist-tl--esq .hist-tl-card::before { left: -7px; right: auto; border-left: 0; border-bottom: 0; border-right: 1px solid #eef2f0; border-top: 1px solid #eef2f0; }
}

/* Botão "Ver toda a cronologia" — com pulse ring */
.hist-tl-expand-wrap {
    text-align: center;
    margin-top: 20px;
    position: relative;
}
.hist-tl-expand {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--brand);
    color: #fff;
    border: 0;
    padding: 14px 28px;
    border-radius: 999px;
    font: inherit;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(25, 110, 48, .28);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    position: relative;
    isolation: isolate;
}
.hist-tl-expand:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(25, 110, 48, .35);
    background: var(--brand-dark);
}
.hist-tl-expand strong { font-weight: 700; opacity: .9; }
.hist-tl-expand svg { transition: transform .25s ease; }
/* Pulse ring continuo para chamar a atenção */
.hist-tl-expand::before, .hist-tl-expand::after {
    content: ""; position: absolute; inset: 0;
    border-radius: 999px;
    box-shadow: 0 0 0 0 rgba(25, 110, 48, .55);
    z-index: -1;
    animation: hist-btn-pulse 2.6s ease-out infinite;
}
.hist-tl-expand::after { animation-delay: 1.3s; }
@keyframes hist-btn-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(25, 110, 48, .55); }
    70%  { box-shadow: 0 0 0 18px rgba(25, 110, 48, 0); }
    100% { box-shadow: 0 0 0 0 rgba(25, 110, 48, 0); }
}

/* Botão "Resumir" — aparece quando expandido */
.hist-tl-collapse-wrap {
    text-align: center;
    margin-top: 24px;
    display: none;
}
.hist-tl-collapse {
    display: inline-flex; align-items: center; gap: 6px;
    background: transparent;
    color: var(--brand);
    border: 1px solid rgba(25, 110, 48, .35);
    padding: 9px 18px;
    border-radius: 999px;
    font: inherit;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.hist-tl-collapse:hover {
    background: var(--brand-soft);
    border-color: var(--brand);
}
/* Toggle entre wraps consoante o estado */
.hist-timeline-wrap[data-collapsed="false"] .hist-tl-expand-wrap { display: none; }
.hist-timeline-wrap[data-collapsed="false"] .hist-tl-collapse-wrap { display: block; }

@media (prefers-reduced-motion: reduce) {
    .hist-tl-expand::before, .hist-tl-expand::after { animation: none; }
    .hist-tl-item { transition: none !important; }
}

/* ---------- Seção Selagem ---------- */
.hist-secao {
    background: #fff;
    border-radius: 18px;
    padding: 40px 36px 36px;
    margin-top: 40px;
    box-shadow: 0 12px 38px rgba(15, 32, 39, .08);
    border: 1px solid #eef2f0;
}
.hist-secao-head {
    display: flex; align-items: center; gap: 20px;
    padding-bottom: 22px; margin-bottom: 22px;
    border-bottom: 1px solid #eef2f0;
}
.hist-secao-icone {
    width: 72px; height: 72px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 18px;
    color: var(--brand); background: var(--brand-soft);
    box-shadow: inset 0 0 0 3px #fff, 0 8px 22px rgba(25, 110, 48, .14);
}
.hist-secao-icone svg { width: 34px; height: 34px; }
.hist-secao-tag {
    display: inline-block; background: var(--brand-soft); color: var(--brand);
    padding: 4px 12px; border-radius: 999px;
    font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    margin-bottom: 8px;
}
.hist-secao-titulo-wrap h2 {
    margin: 0; color: var(--brand-dark);
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}
.hist-secao-body { color: var(--text); line-height: 1.65; }
.hist-secao-body p { margin: 0 0 1em; }

.hist-mini-title {
    margin: 26px 0 14px;
    color: var(--brand-dark);
    font-size: 1.05rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
}

/* Aspetos técnicos (grid numerada) */
.hist-aspetos {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.hist-aspeto {
    background: #f7faf8;
    border: 1px solid #e6ebe8;
    border-radius: 12px;
    padding: 18px 18px 16px;
    position: relative;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hist-aspeto:hover { background: #fff; border-color: var(--brand); transform: translateY(-2px); }
.hist-aspeto-num {
    display: inline-block;
    font-size: .82rem; font-weight: 800;
    color: var(--brand);
    letter-spacing: .04em;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}
.hist-aspeto h4 { margin: 0 0 6px; color: var(--brand-dark); font-size: 1rem; }
.hist-aspeto p  { margin: 0; color: var(--text-muted); font-size: .9rem; line-height: 1.5; }

@media (max-width: 640px) {
    .hist-secao { padding: 28px 20px 24px; }
    .hist-secao-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---------- Galeria de lixeiras ---------- */
.hist-lixeiras {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
.hist-lixeira {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 32, 39, .12);
    border: 4px solid var(--brand);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.hist-lixeira:hover { transform: translateY(-5px) scale(1.01); box-shadow: 0 22px 50px rgba(15, 32, 39, .22); border-color: var(--brand-light); }
.hist-lixeira-img {
    aspect-ratio: 4 / 3;
    background-size: cover; background-position: center;
    background-color: #3f5240;
    position: relative;
    display: flex; align-items: flex-end;
}
.hist-lixeira-img::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.78) 100%);
    transition: background .3s ease;
}
.hist-lixeira:hover .hist-lixeira-img::before {
    background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(25,110,48,.40) 60%, rgba(15,32,39,.85) 100%);
}
.hist-lixeira-overlay {
    position: relative; z-index: 1;
    padding: 22px 22px 20px;
    color: #fff;
    width: 100%;
}
.hist-lixeira-overlay h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.hist-lixeira-overlay span {
    display: block;
    color: rgba(255,255,255,.85);
    font-size: .9rem;
    letter-spacing: .03em;
}

/* ============================================================================
   Resíduos Valorizáveis — página premium
============================================================================ */
.rv-hero {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    color: #fff; padding: 70px 0 60px; position: relative; overflow: hidden;
}
.rv-hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 80% 10%, rgba(255,255,255,.10), transparent 55%),
        radial-gradient(circle at 10% 90%, rgba(46,156,77,.30), transparent 60%);
    pointer-events: none;
}
.rv-hero .container { position: relative; z-index: 1; }
.rv-hero-tag {
    display: inline-block; background: rgba(255,255,255,.16); color: #fff;
    padding: 6px 14px; border-radius: 999px;
    font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 14px;
}
.rv-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 10px; }
.rv-hero-sub { color: rgba(255,255,255,.88); font-size: 1.12rem; max-width: 720px; margin: 0; }
.rv-hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px; margin-top: 38px;
}
.rv-hero-stats > div {
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px; padding: 18px 16px;
    text-align: center;
}
.rv-hero-stats strong { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1; }
.rv-hero-stats span  { display: block; margin-top: 8px; font-size: .85rem; color: rgba(255,255,255,.82); }
@media (max-width: 720px) {
    .rv-hero-stats { grid-template-columns: repeat(2, 1fr); }
    .rv-hero { padding: 50px 0 40px; }
}

.rv-pagina { background: linear-gradient(180deg, #f4f8f5 0%, #fff 320px); }
.rv-intro { max-width: 880px; margin: 0 auto 56px; font-size: 1.05rem; line-height: 1.7; color: var(--text); }
.rv-intro p:first-child { font-size: 1.18rem; color: var(--brand-dark); font-weight: 500; }

.rv-secao-title { text-align: center; margin: 0 0 26px; }
.rv-secao-title h2 {
    color: var(--brand-dark); font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin: 0 0 8px; position: relative; padding-bottom: 14px;
}
.rv-secao-title h2::after {
    content: ""; position: absolute; left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 64px; height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand-light));
    border-radius: 2px;
}
.rv-secao-title p { max-width: 640px; margin: 0 auto; font-size: 1rem; }

/* ---------- Materiais grid ---------- */
.rv-materiais-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 18px; margin: 0 0 56px;
}
.rv-material {
    background: #fff; border-radius: 16px;
    padding: 28px 22px 24px;
    text-align: center;
    border: 1px solid #eef2f0;
    box-shadow: 0 8px 24px rgba(15, 32, 39, .06);
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
    isolation: isolate;
    overflow: hidden;
}
.rv-material::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--m-cor);
    z-index: 1;
}
.rv-material::after {
    content: ""; position: absolute; right: -40px; top: -40px;
    width: 140px; height: 140px; border-radius: 50%;
    background: var(--m-cor-clara); opacity: .55;
    z-index: -1;
}
.rv-material:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 32, 39, .12); }
.rv-material-icone {
    width: 64px; height: 64px; margin: 8px auto 14px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--m-cor-clara); color: var(--m-cor);
}
.rv-material-icone svg { width: 30px; height: 30px; }
.rv-material h3 { color: var(--brand-dark); font-size: 1.12rem; margin: 0 0 8px; }
.rv-material p  { color: var(--text-muted); font-size: .92rem; line-height: 1.5; margin: 0 0 16px; min-height: 70px; }
.rv-material-stat {
    display: inline-block; padding: 5px 12px;
    background: var(--m-cor); color: #fff;
    border-radius: 999px; font-size: .78rem; font-weight: 700;
    letter-spacing: .04em;
}
@media (max-width: 920px) { .rv-materiais-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .rv-materiais-grid { grid-template-columns: 1fr; } }

/* ---------- Seções genéricas (Pneus, Óleo, REEE) ---------- */
.rv-secao {
    background: #fff;
    border-radius: 18px;
    padding: 40px 36px 36px;
    margin-top: 40px;
    box-shadow: 0 12px 38px rgba(15, 32, 39, .08);
    border: 1px solid #eef2f0;
    position: relative;
}
.rv-secao-head {
    display: flex; align-items: center; gap: 20px;
    padding-bottom: 22px; margin-bottom: 22px;
    border-bottom: 1px solid #eef2f0;
}
.rv-secao-icone {
    width: 72px; height: 72px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 18px;
    color: var(--brand);
    background: var(--brand-soft);
    box-shadow: inset 0 0 0 3px #fff, 0 8px 22px rgba(25, 110, 48, .14);
}
.rv-secao-icone svg { width: 34px; height: 34px; }
.rv-secao-tag {
    display: inline-block; background: var(--brand-soft); color: var(--brand);
    padding: 4px 12px; border-radius: 999px;
    font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    margin-bottom: 8px;
}
.rv-secao-titulo-wrap h2 {
    margin: 0; color: var(--brand-dark);
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}
.rv-secao-body { color: var(--text); line-height: 1.65; }
.rv-secao-body p { margin: 0 0 1em; }
.rv-secao-body a { color: var(--brand); font-weight: 600; }

.rv-mini-title {
    margin: 26px 0 14px;
    color: var(--brand-dark);
    font-size: 1.05rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
}

/* Variantes cromáticas por seção */
.rv-secao-pneus .rv-secao-icone { color: #444; background: #e8eaed; }
.rv-secao-oleo  .rv-secao-icone { color: #c47700; background: #fbeec5; }
.rv-secao-reee  .rv-secao-icone { color: #1e6fc4; background: #dbe9f8; }
.rv-secao-pneus .rv-secao-tag   { color: #444; background: #e8eaed; }
.rv-secao-oleo  .rv-secao-tag   { color: #8a5e00; background: #fbeec5; }
.rv-secao-reee  .rv-secao-tag   { color: #0f4577; background: #dbe9f8; }

/* ---------- Destinos dos pneus (4 cards) ---------- */
.rv-destinos {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.rv-destino {
    background: #f7faf8;
    border: 1px solid #e6ebe8;
    border-radius: 14px;
    padding: 22px 16px 18px;
    text-align: center;
    position: relative;
    transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.rv-destino:hover { transform: translateY(-3px); background: #fff; border-color: var(--brand); }
.rv-destino-num {
    position: absolute; top: 10px; right: 12px;
    width: 22px; height: 22px;
    background: var(--brand); color: #fff;
    border-radius: 50%; font-size: .76rem; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}
.rv-destino-icone {
    width: 48px; height: 48px; margin: 0 auto 10px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--brand-soft); color: var(--brand);
}
.rv-destino-icone svg { width: 24px; height: 24px; }
.rv-destino > span { font-weight: 600; color: var(--brand-dark); font-size: .92rem; }
@media (max-width: 720px) { .rv-destinos { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA do óleo (telefone destacado) ---------- */
.rv-cta {
    display: flex; align-items: center; gap: 22px;
    background: linear-gradient(135deg, #ffefc7 0%, #fff7e0 100%);
    border: 1px solid #f0d68a;
    border-radius: 16px; padding: 22px 26px;
    margin: 26px 0;
}
.rv-cta-icone {
    width: 56px; height: 56px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: #fff; color: #c47700;
    box-shadow: 0 4px 12px rgba(196, 119, 0, .25);
}
.rv-cta-icone svg { width: 26px; height: 26px; }
.rv-cta-body { flex: 1; min-width: 0; }
.rv-cta-rotulo {
    display: block; font-size: .82rem; font-weight: 600;
    color: #8a5e00; letter-spacing: .04em; text-transform: uppercase;
    margin-bottom: 4px;
}
.rv-cta-tel {
    font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
    color: #c47700; letter-spacing: .04em;
}
.rv-cta-tel:hover { color: #a05c00; text-decoration: none; }
.rv-cta-btn { flex: 0 0 auto; }
@media (max-width: 640px) {
    .rv-cta { flex-direction: column; text-align: center; gap: 14px; padding: 22px; }
}

/* ---------- Processo do óleo (ordered list) ---------- */
.rv-processo {
    list-style: none; padding: 0; margin: 0 0 28px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.rv-processo li {
    background: #fff; border: 1px solid #e6ebe8;
    border-radius: 12px; padding: 22px 16px 18px;
    position: relative; text-align: center;
}
.rv-processo li::after {
    content: "→"; position: absolute; right: -14px; top: 50%;
    transform: translateY(-50%);
    color: var(--brand); font-size: 1.3rem; font-weight: 700;
}
.rv-processo li:last-child::after { display: none; }
.rv-processo-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; margin-bottom: 10px;
    background: var(--brand); color: #fff;
    border-radius: 50%; font-weight: 800;
}
.rv-processo li strong { display: block; color: var(--brand-dark); margin-bottom: 4px; }
.rv-processo-desc { display: block; font-size: .86rem; color: var(--text-muted); line-height: 1.4; }
@media (max-width: 820px) {
    .rv-processo { grid-template-columns: repeat(2, 1fr); }
    .rv-processo li:nth-child(2)::after { display: none; }
}
@media (max-width: 480px) { .rv-processo { grid-template-columns: 1fr; } .rv-processo li::after { display: none; } }

/* ---------- Cuidados (do/don't) ---------- */
.rv-cuidados {
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.rv-cuidados-col {
    padding: 22px; border-radius: 14px;
    border: 1px solid #e6ebe8; background: #fff;
}
.rv-cuidados-col h4 {
    display: flex; align-items: center; gap: 10px;
    margin: 0 0 14px; font-size: 1rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
}
.rv-mark {
    width: 26px; height: 26px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.rv-mark svg { width: 14px; height: 14px; }
.rv-cuidados-sim h4 { color: #145a2a; }
.rv-cuidados-sim .rv-mark { background: #1e8a4a; color: #fff; }
.rv-cuidados-sim { background: linear-gradient(180deg, #effbf2 0%, #fff 100%); border-color: #c5e6cf; }
.rv-cuidados-nao h4 { color: #862c2c; }
.rv-cuidados-nao .rv-mark { background: #c41e1e; color: #fff; }
.rv-cuidados-nao { background: linear-gradient(180deg, #fdf1f1 0%, #fff 100%); border-color: #f3d2d2; }
.rv-cuidados-col ul { list-style: none; padding: 0; margin: 0; }
.rv-cuidados-col li { padding: 8px 0 8px 24px; position: relative; font-size: .94rem; line-height: 1.45; }
.rv-cuidados-col li + li { border-top: 1px dashed #e6ebe8; }
.rv-cuidados-sim li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: #1e8a4a; font-weight: 800; }
.rv-cuidados-nao li::before { content: "×"; position: absolute; left: 0; top: 8px; color: #c41e1e; font-weight: 800; font-size: 1.1rem; }
@media (max-width: 720px) { .rv-cuidados { grid-template-columns: 1fr; } }

/* ---------- Locais REEE (chips) ---------- */
.rv-locais {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-bottom: 22px;
}
.rv-local {
    background: #dbe9f8; color: #0f4577;
    padding: 9px 16px; border-radius: 999px;
    font-weight: 600; font-size: .92rem;
    border: 1px solid #b9d4ee;
    transition: transform .15s ease, background .2s ease;
}
.rv-local:hover { transform: translateY(-2px); }
.rv-local-link { background: #1e6fc4; color: #fff; border-color: #1e6fc4; }
.rv-local-link:hover { background: #0f4577; color: #fff; text-decoration: none; }

/* ---------- Aviso (warning callout) ---------- */
.rv-aviso {
    display: flex; align-items: flex-start; gap: 14px;
    background: #fff7e0;
    border: 1px solid #f0d68a;
    border-left: 5px solid #c47700;
    border-radius: 12px;
    padding: 16px 20px;
    color: #5a4400; font-size: .96rem; line-height: 1.55;
    margin-top: 18px;
}
.rv-aviso-icone {
    flex: 0 0 auto;
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: #c47700; color: #fff;
}
.rv-aviso-icone svg { width: 18px; height: 18px; }
.rv-aviso strong { color: #6b4500; }

@media (max-width: 640px) {
    .rv-secao { padding: 28px 20px 24px; }
    .rv-secao-head { flex-direction: column; align-items: flex-start; text-align: left; gap: 12px; }
}

/* ============================================================================
   Ecoponto premium (Resíduos Valorizáveis) — tabs + tema cromático por fileira
============================================================================ */
.ecop-fileiras-block {
    --tab-cor: #1e6fc4;
    --tab-cor-clara: #dbe9f8;
    --tab-cor-escura: #0f4577;
    margin-top: 36px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--tab-cor-clara) 0%, #f3f8f5 70%);
    transition: background 0.5s ease;
    position: relative;
    box-shadow: 0 14px 50px rgba(15, 32, 39, .08);
}
.ecop-fileiras-block::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--tab-cor) 18%, transparent) 0%, transparent 50%),
        radial-gradient(circle at 10% 100%, color-mix(in srgb, var(--tab-cor) 12%, transparent) 0%, transparent 55%);
    pointer-events: none;
    transition: background 0.5s ease;
}

.ecop-fileiras-hero {
    position: relative; z-index: 1;
    text-align: center;
    padding: 56px 24px 0;
}
.ecop-fileiras-ghost {
    display: block;
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    font-weight: 900;
    letter-spacing: .25em;
    color: #fff;
    opacity: .55;
    text-shadow: 0 2px 0 rgba(255,255,255,.4);
    line-height: 1;
    user-select: none;
    margin-bottom: -.55em;
    transition: color .4s ease;
}
.ecop-fileiras-hero h2 {
    position: relative; z-index: 2;
    color: var(--tab-cor-escura);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin: 0 0 8px;
    transition: color .4s ease;
}
.ecop-fileiras-sub {
    color: var(--text-muted); margin: 0;
    max-width: 560px; margin-left: auto; margin-right: auto;
    font-size: 1rem;
}

/* Container das tabs */
.ecop-tabs {
    position: relative; z-index: 1;
    margin: 36px auto 0;
    max-width: 1100px;
    padding: 0 24px 36px;
}

/* Navegação de tabs (botões grandes) */
.ecop-tabs-nav {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: -18px;
    position: relative;
    z-index: 3;
}
.ecop-tab {
    appearance: none; border: 0; cursor: pointer; font: inherit;
    background: #fff;
    padding: 22px 14px 30px;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--text-muted);
    border-radius: 16px 16px 18px 18px;
    box-shadow: 0 6px 18px rgba(15, 32, 39, .08);
    transition: transform .25s ease, box-shadow .25s ease, color .25s ease, background .25s ease;
    position: relative;
    isolation: isolate;
}
.ecop-tab::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, var(--btn-cor-clara) 0%, #fff 100%);
    opacity: 0; transition: opacity .3s ease;
    border-radius: inherit; z-index: -1;
}
.ecop-tab:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 32, 39, .14); }
.ecop-tab:hover::before { opacity: 1; }
.ecop-tab:hover .ecop-tab-titulo { color: var(--btn-cor); }
.ecop-tab:focus-visible { outline: 2px solid var(--btn-cor); outline-offset: 2px; }
.ecop-tab-icone {
    width: 64px; height: 64px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--btn-cor-clara, rgba(0,0,0,.05));
    color: var(--btn-cor);
    transition: background .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.ecop-tab-icone svg { width: 30px; height: 30px; }
.ecop-tab-titulo {
    font-size: .92rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase;
    transition: color .25s ease;
}

/* Tab ativa — preenchida na cor da fileira, com elevação */
.ecop-tab.is-active {
    background: var(--btn-cor);
    color: #fff;
    transform: translateY(-6px);
    box-shadow: 0 16px 34px color-mix(in srgb, var(--btn-cor) 38%, transparent);
}
.ecop-tab.is-active::before { opacity: 0; }
.ecop-tab.is-active .ecop-tab-icone {
    background: rgba(255,255,255,.22);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.ecop-tab.is-active .ecop-tab-titulo { color: #fff; }
.ecop-tab.is-active::after {
    content: '';
    position: absolute; left: 50%; bottom: -10px;
    width: 0; height: 0;
    transform: translateX(-50%);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid var(--btn-cor);
    filter: drop-shadow(0 4px 4px color-mix(in srgb, var(--btn-cor) 30%, transparent));
}

/* Painel — fundo branco com borda colorida no topo */
.ecop-tab-panel {
    display: none;
    background: #fff;
    border-radius: 18px;
    padding: 56px 36px 36px;
    box-shadow: 0 18px 50px rgba(15, 32, 39, .10);
    border-top: 6px solid var(--tab-cor);
    position: relative;
}
.ecop-tab-panel.is-active {
    display: block;
    animation: ecop-panel-in .42s cubic-bezier(.2, .8, .2, 1);
}
@keyframes ecop-panel-in {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Header do painel: ícone grande + título + tagline + stat */
.ecop-panel-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    padding-bottom: 22px;
    border-bottom: 1px dashed color-mix(in srgb, var(--tab-cor) 30%, #e0e6e2);
    margin-bottom: 26px;
}
.ecop-panel-icone {
    width: 78px; height: 78px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--tab-cor-clara);
    color: var(--tab-cor);
    box-shadow: inset 0 0 0 4px #fff, 0 8px 22px color-mix(in srgb, var(--tab-cor) 22%, transparent);
}
.ecop-panel-icone svg { width: 38px; height: 38px; }
.ecop-panel-titulo {
    margin: 0; color: var(--tab-cor-escura);
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}
.ecop-panel-tagline {
    margin: 4px 0 0; color: var(--text-muted);
    font-size: .98rem;
}
.ecop-panel-stat {
    text-align: center;
    background: var(--tab-cor-clara);
    border-radius: 14px;
    padding: 14px 22px;
    color: var(--tab-cor-escura);
    min-width: 130px;
}
.ecop-stat-valor {
    display: block;
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1;
    color: var(--tab-cor);
}
.ecop-stat-rotulo {
    display: block; margin-top: 4px;
    font-size: .76rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--text-muted);
}

/* Grid de conteúdo: listas à esquerda, "sabias que" à direita */
.ecop-panel-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
    align-items: start;
}
.ecop-listas-col { display: flex; flex-direction: column; gap: 20px; }
.ecop-lista h4 {
    display: flex; align-items: center; gap: 10px;
    margin: 0 0 12px;
    font-size: .98rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
}
.ecop-lista-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; border-radius: 50%;
    font-size: .82rem; font-weight: 800;
}
.ecop-lista-podes h4 { color: var(--tab-cor-escura); }
.ecop-lista-podes .ecop-lista-mark { background: var(--tab-cor); color: #fff; }
.ecop-lista-nao   h4 { color: #862c2c; }
.ecop-lista-nao   .ecop-lista-mark { background: #f3dada; color: #8b1f1f; }

.ecop-lista ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 8px;
}
.ecop-lista li {
    background: #f7faf8; color: var(--text);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .9rem;
    border: 1px solid #e6ebe8;
    transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.ecop-lista-podes li {
    background: color-mix(in srgb, var(--tab-cor-clara) 65%, #fff);
    border-color: color-mix(in srgb, var(--tab-cor) 25%, #e6ebe8);
    color: var(--tab-cor-escura);
}
.ecop-lista-podes li:hover {
    transform: translateY(-2px);
    background: var(--tab-cor); color: #fff;
    border-color: var(--tab-cor);
}
.ecop-lista-nao li {
    background: #fbf1f1; border-color: #f3dada; color: #5a2020;
}
.ecop-lista-nao li::before {
    content: '×'; margin-right: 6px; color: #b73030; font-weight: 800;
}

/* Card "Sabias que…" */
.ecop-sabias-card {
    position: relative;
    background: linear-gradient(160deg, var(--tab-cor) 0%, var(--tab-cor-escura) 110%);
    color: #fff;
    border-radius: 16px;
    padding: 26px 24px 24px;
    box-shadow: 0 14px 38px color-mix(in srgb, var(--tab-cor) 30%, transparent);
    overflow: hidden;
}
.ecop-sabias-card::after {
    content: ''; position: absolute;
    right: -40px; bottom: -50px;
    width: 200px; height: 200px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    pointer-events: none;
}
.ecop-sabias-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.18);
    padding: 6px 12px; border-radius: 999px;
    font-size: .76rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    margin-bottom: 14px;
}
.ecop-sabias-tag svg { width: 16px; height: 16px; }
.ecop-sabias-texto {
    margin: 0; font-size: 1.04rem; line-height: 1.55;
    position: relative; z-index: 1;
}
.ecop-sabias-texto strong { color: #fff; background: rgba(255,255,255,.18); padding: 1px 6px; border-radius: 4px; }

/* Responsivo */
@media (max-width: 880px) {
    .ecop-panel-header { grid-template-columns: auto 1fr; }
    .ecop-panel-stat { grid-column: 1 / -1; justify-self: stretch; }
    .ecop-panel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .ecop-fileiras-hero { padding: 40px 16px 0; }
    .ecop-tabs { padding: 0 14px 28px; }
    .ecop-tabs-nav { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ecop-tab { padding: 16px 10px 22px; }
    .ecop-tab-icone { width: 52px; height: 52px; }
    .ecop-tab-icone svg { width: 24px; height: 24px; }
    .ecop-tab-titulo { font-size: .8rem; }
    .ecop-tab-panel { padding: 40px 22px 26px; }
    .ecop-panel-icone { width: 60px; height: 60px; }
    .ecop-panel-icone svg { width: 28px; height: 28px; }
}

/* ------------- Política dos 3R's (Prevenção de Resíduos) ------------- */
.tres-rs-section {
    background: var(--brand);
    color: #fff;
    padding: 64px 0 80px;
    margin-top: 40px;
}
.tres-rs-titulo {
    color: #fff; font-size: 1.6rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .06em;
    margin: 0 0 32px;
}
.tres-rs-wheel {
    position: relative; width: 520px; height: 520px;
    margin: 0 auto;
    max-width: 100%;
}
.tres-rs-ring {
    position: absolute; top: 8%; left: 8%; right: 8%; bottom: 8%;
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    animation: tres-rs-girar 60s linear infinite;
}
@keyframes tres-rs-girar {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.tres-rs-center {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 360px; height: 360px; max-width: 78%; max-height: 78%;
    border-radius: 50%; background: #fff;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 40px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
}
.tres-rs-texto { margin: 0; font-size: 1.05rem; line-height: 1.5; color: var(--text); }
.tres-rs-texto strong { color: var(--brand); font-size: 1.1rem; }
#tres-rs-titulo-texto { display: inline; }
#tres-rs-desc { color: var(--text-muted); display: inline; }

.tres-rs-ball {
    position: absolute;
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    border: 2px solid rgba(255, 255, 255, .35);
    color: #fff;
    font: inherit; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
    z-index: 5;
}
.tres-rs-ball:hover {
    background: rgba(255, 255, 255, .25);
    transform: scale(1.08);
}
.tres-rs-ball.is-active {
    background: var(--brand-dark);
    border-color: rgba(255, 255, 255, .85);
    transform: scale(1.18);
    box-shadow: 0 10px 24px rgba(15, 32, 39, .45);
    z-index: 10;
}
.tres-rs-icone {
    font-size: 1.6rem; line-height: 1; font-weight: 700;
    transition: transform .25s ease;
}
.tres-rs-ball.is-active .tres-rs-icone { transform: scale(1.1); }

/* Posicionamento triangular dos 3 balls */
.tres-rs-ball[data-pos="top"] { top: 0; left: 50%; transform: translateX(-50%); }
.tres-rs-ball[data-pos="top"].is-active { transform: translateX(-50%) scale(1.18); }
.tres-rs-ball[data-pos="top"]:hover     { transform: translateX(-50%) scale(1.08); }
.tres-rs-ball[data-pos="bl"]  { bottom: 60px; left: 30px; }
.tres-rs-ball[data-pos="br"]  { bottom: 60px; right: 30px; }

.tres-rs-vantagens {
    max-width: 760px; margin: 32px auto 0;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius);
    padding: 20px 28px;
    color: rgba(255, 255, 255, .95);
}
.tres-rs-vantagens p { margin: 0 0 .8em; }
.tres-rs-vantagens p:last-child { margin-bottom: 0; }
.tres-rs-vantagens strong { color: #fff; }
.tres-rs-vantagens ul { margin: 0 0 1em 1.4em; }
.tres-rs-vantagens li { margin-bottom: .3em; }
.tres-rs-vantagens li::marker { color: rgba(255, 255, 255, .7); }

@media (max-width: 600px) {
    .tres-rs-wheel { width: 360px; height: 360px; }
    .tres-rs-center { width: 240px; height: 240px; padding: 24px; }
    .tres-rs-ball { width: 56px; height: 56px; }
    .tres-rs-icone { font-size: 1.3rem; }
    .tres-rs-ball[data-pos="bl"] { bottom: 40px; left: 10px; }
    .tres-rs-ball[data-pos="br"] { bottom: 40px; right: 10px; }
    .tres-rs-texto { font-size: .9rem; }
}

/* ------------- Projetos Financiados ------------- */
.projetos-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
    max-width: 1180px; margin: 0 auto;
}
@media (max-width: 900px) { .projetos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .projetos-grid { grid-template-columns: 1fr; } }

.projeto-card {
    background: #fff; border: 2px solid var(--brand);
    border-radius: 4px; padding: 28px 22px 18px;
    display: flex; flex-direction: column; align-items: center;
    gap: 22px; min-height: 480px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.projeto-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.projeto-card-top {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.projeto-logo { max-width: 140px; height: auto; }
.projeto-logo-sub {
    font-size: .85rem; color: var(--text-muted);
    letter-spacing: .12em; text-transform: lowercase;
    margin-top: -10px;
}

.projeto-card-body {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 10px;
    text-align: center;
}
.projeto-card-body h3 {
    margin: 0; font-size: 1.05rem; line-height: 1.4;
    color: var(--brand-dark); font-weight: 700;
}
.projeto-desc { margin: 0; color: var(--text-muted); font-size: .9rem; }

.projeto-card-foot {
    width: 100%; display: flex; flex-direction: column;
    align-items: center; gap: 14px;
}
.projeto-financiadores {
    max-width: 100%; max-height: 60px; height: auto;
    object-fit: contain;
}
.projeto-link {
    padding: 8px 16px; font-size: .82rem; text-decoration: none;
    border-radius: 999px;
}

/* ------------- Iframe responsivo + Aviso importante ------------- */
.responsive-iframe-wrap {
    position: relative; width: 100%;
    margin: 1.4em 0;
    border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border); box-shadow: var(--shadow);
}
.responsive-iframe-wrap iframe {
    display: block; width: 100%; height: 700px; border: 0;
}
@media (max-width: 700px) {
    .responsive-iframe-wrap iframe { height: 480px; }
}

.aviso-importante {
    background: #fff7ed; border-left: 4px solid #ea580c;
    color: #7c2d12; padding: 14px 18px; border-radius: 6px;
    margin: 1.4em 0; font-size: 1rem;
}
.aviso-importante strong { color: #7c2d12; }

/* ------------- Conteúdo de páginas dinâmicas ------------- */
.conteudo { max-width: 820px; font-size: 1.02rem; line-height: 1.65; color: var(--text); }
.conteudo h2 {
    margin: 2.4em 0 .6em; font-size: 1.55rem; color: var(--brand-dark);
    padding-bottom: .35em; border-bottom: 2px solid var(--brand-soft);
}
.conteudo h2:first-child { margin-top: 0; }
.conteudo h3 {
    margin: 1.9em 0 .5em; font-size: 1.05rem; color: var(--brand);
    text-transform: uppercase; letter-spacing: .04em; font-weight: 700;
}
.conteudo h4 { margin: 1.4em 0 .4em; font-size: 1rem; color: var(--brand-dark); }
.conteudo p  { margin: 0 0 1em; }
.conteudo ul, .conteudo ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.conteudo li { margin-bottom: .45em; }
.conteudo li::marker { color: var(--brand); }
.conteudo strong { color: var(--brand-dark); font-weight: 700; }
.conteudo a {
    color: var(--brand); text-decoration: underline; text-underline-offset: 2px;
}
.conteudo a:hover { color: var(--brand-light); }
.conteudo blockquote {
    border-left: 4px solid var(--brand); padding: .8em 1.2em; margin: 1.4em 0;
    background: var(--brand-soft); border-radius: 4px;
    font-size: 1.05rem; color: var(--brand-dark);
}
.conteudo blockquote p:last-child { margin-bottom: 0; }
.conteudo img { border-radius: var(--radius-sm); margin: 1em 0; }
.conteudo hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.conteudo table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.conteudo th, .conteudo td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.conteudo th { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }

/* ------------- Informação Empresarial — Cards + Expander ------------- */
.infoemp-grid { display: flex; flex-direction: column; gap: 12px; max-width: 980px; margin: 0 auto; }
.info-card {
    display: flex; align-items: center; gap: 18px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 18px 22px; box-shadow: var(--shadow);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.info-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.info-card-bar {
    flex: 0 0 6px; align-self: stretch; min-height: 36px;
    background: var(--brand); border-radius: 8px;
}
.info-card-title {
    flex: 1 1 auto; margin: 0;
    color: var(--brand-dark); font-size: 1.05rem; font-weight: 700;
    line-height: 1.3; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline;
}
.info-card-count {
    font-size: .82rem; font-weight: 500; color: var(--text-muted);
    padding: 2px 10px; background: var(--brand-soft); border-radius: 999px;
}
.btn-docs {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 999px;
    background: var(--brand); color: #fff; border: 0; cursor: pointer;
    font: inherit; font-weight: 600; font-size: .92rem;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}
.btn-docs:hover { background: var(--brand-light); color: #fff; text-decoration: none; transform: translateX(2px); }
.btn-docs:disabled, .btn-docs[aria-disabled="true"] {
    background: var(--surface-2); color: var(--text-muted); cursor: not-allowed; transform: none;
}
.btn-docs .btn-arrow { transition: transform .15s ease; }
.btn-docs:hover .btn-arrow { transform: translateX(3px); }
.btn-docs:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Expander aberto após click */
.doc-data { display: none; }

/* ============================================================================
   Modal de documentos (Informação Empresarial)
============================================================================ */
.doc-modal {
    position: fixed; inset: 0;
    z-index: 9000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.doc-modal[hidden] { display: none; }
.doc-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(15, 32, 39, .55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .25s ease;
}
.doc-modal.is-open .doc-modal-backdrop { opacity: 1; }

.doc-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: calc(100vh - 40px);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(15, 32, 39, .4);
    display: flex; flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(.96);
    opacity: 0;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .25s ease;
}
.doc-modal.is-open .doc-modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.doc-modal-head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 14px;
    padding: 22px 24px 16px;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    color: #fff;
}
.doc-modal-tag {
    display: inline-block;
    background: rgba(255,255,255,.18);
    padding: 4px 12px; border-radius: 999px;
    font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    margin-bottom: 8px;
}
.doc-modal-head h3 {
    margin: 0 0 4px;
    font-size: 1.25rem;
    color: #fff;
    line-height: 1.25;
}
.doc-modal-count {
    margin: 0;
    font-size: .85rem;
    color: rgba(255,255,255,.78);
}
.doc-modal-close {
    flex: 0 0 auto;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.22);
    color: #fff;
    width: 38px; height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .2s ease, transform .2s ease;
}
.doc-modal-close:hover { background: rgba(255,255,255,.28); transform: rotate(90deg); }

.doc-modal-search {
    position: relative;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}
.doc-modal-search svg {
    position: absolute; left: 38px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}
.doc-modal-search input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font: inherit; font-size: .9rem;
    background: #fff;
    color: var(--text);
}
.doc-modal-search input:focus {
    outline: 2px solid var(--brand);
    outline-offset: 1px;
    border-color: var(--brand);
}

.doc-modal-list {
    list-style: none;
    margin: 0; padding: 14px 14px 20px;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}
.doc-modal-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 30px 20px;
    margin: 0;
}

.doc-item {
    margin: 0 0 8px;
}
.doc-item-link {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.doc-item-link:hover {
    border-color: var(--brand);
    background: var(--brand-soft);
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(15, 32, 39, .08);
}
.doc-item-icon {
    flex: 0 0 auto;
    width: 40px; height: 40px;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s ease, color .15s ease;
}
.doc-item-link:hover .doc-item-icon {
    background: var(--brand);
    color: #fff;
}
.doc-item-body {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; gap: 2px;
}
.doc-item-titulo {
    color: var(--brand-dark);
    font-size: .96rem;
    font-weight: 600;
    line-height: 1.35;
}
.doc-item-meta {
    font-size: .76rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
}
.doc-item-arrow {
    flex: 0 0 auto;
    color: var(--text-muted);
    opacity: .6;
    transition: transform .2s ease, opacity .2s ease, color .2s ease;
}
.doc-item-link:hover .doc-item-arrow {
    color: var(--brand);
    opacity: 1;
    transform: translate(3px, -3px);
}

/* Variações de cor por tipo de ficheiro */
.doc-item-pdf .doc-item-icon { background: #fadcdc; color: #c41e1e; }
.doc-item-pdf .doc-item-link:hover .doc-item-icon { background: #c41e1e; color: #fff; }
.doc-item-doc .doc-item-icon, .doc-item-docx .doc-item-icon { background: #dbe9f8; color: #1e6fc4; }
.doc-item-doc .doc-item-link:hover .doc-item-icon, .doc-item-docx .doc-item-link:hover .doc-item-icon { background: #1e6fc4; color: #fff; }
.doc-item-xls .doc-item-icon, .doc-item-xlsx .doc-item-icon { background: #d6efdd; color: #1e8a4a; }
.doc-item-xls .doc-item-link:hover .doc-item-icon, .doc-item-xlsx .doc-item-link:hover .doc-item-icon { background: #1e8a4a; color: #fff; }

/* Body lock quando modal aberto */
body.doc-modal-open { overflow: hidden; }

@media (max-width: 720px) {
    .doc-modal { padding: 0; align-items: flex-end; }
    .doc-modal-dialog {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 18px 18px 0 0;
        transform: translateY(40px);
    }
    .doc-modal.is-open .doc-modal-dialog { transform: translateY(0); }
    .doc-modal-head { padding: 18px 20px 14px; }
    .doc-modal-head h3 { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .doc-modal-backdrop, .doc-modal-dialog { transition: none !important; }
    .doc-modal-close:hover { transform: none; }
}

/* ============================================================================
   Recolha Óleo — segmented toggle (Pedido recolha | Novo cliente)
============================================================================ */
.oleo-toggle {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px;
    margin: 0 0 22px;
    isolation: isolate;
}
.oleo-toggle-btn {
    position: relative;
    z-index: 1;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 18px;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: var(--text-muted);
    font: inherit;
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
    transition: color .25s ease;
}
.oleo-toggle-btn svg {
    transition: transform .25s ease;
    flex: 0 0 auto;
}
.oleo-toggle-btn:hover { color: var(--text); }
.oleo-toggle-btn.is-active { color: #fff; }
.oleo-toggle-btn.is-active svg { transform: scale(1.1); }

.oleo-toggle-indicator {
    position: absolute;
    top: 4px; bottom: 4px; left: 4px;
    width: calc(50% - 4px);
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    border-radius: 999px;
    z-index: 0;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 4px 14px rgba(25, 110, 48, .35);
}
.oleo-form[data-tipo="novo_cliente"] .oleo-toggle-indicator {
    transform: translateX(100%);
}

/* Título / sub que mudam dinamicamente */
.oleo-form-title {
    transition: opacity .25s ease;
}
.oleo-form-sub {
    color: var(--text-muted);
    font-size: .92rem;
    margin: -8px 0 18px;
    transition: opacity .25s ease;
}

/* Grelha base dos formulários "pedido-form" (e por isso também .oleo-form) */
.pedido-form .form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: end;
}

/* Campos exclusivos de cada modo — colapsam por completo no modo oposto */
.oleo-form[data-tipo="recolha"]      .oleo-only-novo,
.oleo-form[data-tipo="novo_cliente"] .oleo-only-recolha {
    display: none !important;
}

/* Quando o par "Código Postal | Concelho" perde o Código Postal (modo recolha),
   o Concelho ocupa a linha toda. */
.oleo-form[data-tipo="recolha"] .oleo-pair-cp-conc > .oleo-cell-conc {
    grid-column: 1 / -1;
}

/* Auxiliar partilhado entre o label da mensagem (asterisco / "(opcional)") */
.oleo-msg-req.is-hidden,
.oleo-msg-opt.is-hidden { display: none !important; }
.oleo-msg-opt { color: var(--text-muted); margin-left: 4px; }

@media (max-width: 480px) {
    .oleo-toggle-btn { padding: 10px 12px; font-size: .85rem; gap: 6px; }
    .oleo-toggle-btn svg { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .oleo-toggle-indicator,
    .oleo-toggle-btn, .oleo-toggle-btn svg { transition: none !important; }
}

/* ------------- Bloco "Número de Trabalhadores" ------------- */
.trabalhadores-titulo {
    text-align: center; margin: 56px 0 24px;
    font-size: 1.6rem; font-weight: 800;
    color: var(--brand); text-transform: uppercase; letter-spacing: .04em;
}
.trabalhadores-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px; max-width: 980px; margin: 0 auto;
}
@media (max-width: 800px) { .trabalhadores-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .trabalhadores-grid { grid-template-columns: 1fr; } }

.trab-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 28px 16px; min-height: 140px;
    border-radius: 14px; color: #fff;
    box-shadow: 0 10px 25px rgba(15, 32, 39, .18);
    text-align: center;
    transition: transform .15s ease, box-shadow .15s ease;
}
.trab-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 32, 39, .25); }
.trab-card__label {
    font-size: 1.05rem; font-weight: 700; margin-bottom: 6px;
    text-transform: uppercase; letter-spacing: .02em;
}
.trab-card__valor {
    font-size: 2.2rem; font-weight: 700; line-height: 1.1;
}
/* Variantes de cor (gradients suaves) */
.trab-card--1 { background: linear-gradient(135deg, #1c8a3e, #135a27); }   /* verde */
.trab-card--2 { background: linear-gradient(135deg, #2f5963, #1f3e47); }   /* teal-verde */
.trab-card--3 { background: linear-gradient(135deg, #1d3941, #0f2027); }   /* azul-escuro */
.trab-card--4 { background: linear-gradient(135deg, #1a1f24, #0a0d10); }   /* quase preto */

.trabalhadores-data {
    text-align: center; margin: 16px 0 0;
    color: var(--text-muted); font-size: .85rem;
}

/* ------------- Bloco "Órgãos Sociais" — Tabs ------------- */
.orgaos-titulo {
    text-align: center; margin: 64px 0 24px;
    font-size: 1.6rem; font-weight: 800;
    color: var(--brand); text-transform: uppercase; letter-spacing: .04em;
}
.orgaos-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
    max-width: 1180px; margin: 0 auto;
}
.orgaos-tabs {
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--brand);
}
.orgao-tab {
    appearance: none; border: 0; cursor: pointer; font: inherit;
    padding: 22px 16px;
    background: var(--brand); color: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; text-align: center;
    border-right: 1px solid rgba(255,255,255,.18);
    transition: background .15s ease, color .15s ease;
    position: relative;
}
.orgao-tab:last-child { border-right: 0; }
.orgao-tab__nome {
    font-size: .92rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
}
.orgao-tab__cargo { font-size: .82rem; font-weight: 400; opacity: .92; }
.orgao-tab:hover { background: var(--brand-light); }
.orgao-tab.is-active {
    background: #fff; color: var(--brand-dark);
    border-right-color: var(--border);
}
.orgao-tab.is-active::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: var(--brand-dark);
}
.orgao-tab.is-active .orgao-tab__cargo { color: var(--text-muted); }
.orgao-tab:focus-visible { outline: 2px solid var(--brand-dark); outline-offset: -2px; }

.orgao-panel {
    display: none;
    padding: 32px 36px;
    color: var(--text); line-height: 1.7;
}
.orgao-panel.is-active { display: block; }
.orgao-panel p { margin: 0 0 1em; }
.orgao-panel p:last-child { margin-bottom: 0; }
.orgao-panel strong { color: var(--brand-dark); }
.orgao-panel em { color: var(--brand); font-style: italic; }

@media (max-width: 700px) {
    .orgaos-tabs { grid-template-columns: 1fr; }
    .orgao-tab { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); padding: 16px; }
    .orgao-tab.is-active { border-bottom-color: var(--border); }
    .orgao-tab.is-active::before { display: none; }
    .orgao-tab.is-active::after {
        content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
        background: var(--brand-dark);
    }
    .orgao-panel { padding: 22px; }
}

@media (max-width: 600px) {
    .info-card { flex-direction: column; align-items: stretch; padding: 16px; }
    .info-card-bar { display: none; }
    .info-card-title { font-size: 1rem; }
    .btn-docs { justify-content: center; }
}

/* ------------- Formulários de pedido (Óleo, Sensibilização, Visitas...) ------------- */
.pedido-form-wrap {
    display: grid; grid-template-columns: minmax(220px, 1fr) 1.4fr; gap: 24px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 22px; box-shadow: var(--shadow);
    align-items: stretch;
}
/* Quando há imagem (não regulamento card), centra verticalmente */
.pedido-form-wrap:has(.pedido-imagem) { align-items: center; }
.pedido-imagem { display: flex; justify-content: center; align-items: center; min-height: 200px; }
.pedido-imagem img {
    max-width: 100%; max-height: 380px; border-radius: var(--radius-sm); object-fit: contain;
}
/* Imagem maior nos forms com foto vertical (óleo e sensibilização) */
.pedido-form-wrap:has(.sens-form) .pedido-imagem img { max-height: 580px; }
/* Óleo: a foto é mais alta (proporção 1.78), por isso aumentamos o tecto para
   ela poder ocupar 100% da largura da coluna sem deixar espaço em branco. */
.pedido-form-wrap:has(.oleo-form) .pedido-imagem img {
    max-height: 720px;
    width: 100%;
    object-fit: contain;
}
.pedido-form { width: 100%; }
.pedido-form h2 {
    text-align: center; margin: 0 0 18px;
    color: var(--brand); text-transform: uppercase; letter-spacing: .04em;
    font-size: 1.2rem; font-weight: 800;
}
.pedido-form label { display: block; font-weight: 600; font-size: .82rem; margin-bottom: 4px; color: var(--brand-dark); }
.pedido-form .req { color: var(--danger); }
.pedido-form .form-row { margin-bottom: 12px; }
.pedido-form input[type="text"],
.pedido-form input[type="email"],
.pedido-form input[type="tel"],
.pedido-form input[type="number"],
.pedido-form input[type="date"],
.pedido-form select,
.pedido-form textarea {
    width: 100%; padding: 9px 0; font: inherit; font-size: .95rem;
    border: 0; border-bottom: 1.5px solid var(--brand); background: transparent;
    border-radius: 0; color: var(--text);
}
.pedido-form input:focus, .pedido-form select:focus, .pedido-form textarea:focus {
    outline: none; border-bottom-color: var(--brand-light);
    box-shadow: 0 1px 0 0 var(--brand);
}
.pedido-form textarea { min-height: 100px; resize: vertical; }
.pedido-form select { background: transparent; cursor: pointer; }
.pedido-actions {
    display: flex; gap: 16px; align-items: center; justify-content: flex-end;
    margin: 18px 0 6px; flex-wrap: wrap;
}
.pedido-captcha {
    display: inline-flex; align-items: baseline; gap: 8px;
    color: var(--text-muted); font-size: .9rem; margin-bottom: 0;
}
.pedido-captcha input { width: 80px; padding: 4px 0; font-size: 1rem; text-align: center; }
.pedido-form .small { font-size: .78rem; margin-top: 8px; }

@media (max-width: 800px) {
    .pedido-form-wrap { grid-template-columns: 1fr; padding: 16px; }
    .pedido-imagem { max-width: 240px; margin: 0 auto; min-height: 0; }
}

/* Regulamento (Marcação Visitas) — card apresentável na coluna esquerda */
.visitas-regulamento {
    align-self: stretch;
    background: linear-gradient(180deg, #f4faf6 0%, #ffffff 100%);
    border: 1px solid #e2ece5;
    border-radius: 14px;
    padding: 22px 22px 20px;
    font-size: .92rem;
    line-height: 1.55;
    color: var(--text);
    box-shadow: 0 6px 18px rgba(15, 32, 39, .04);
}
.visitas-regulamento-head {
    display: flex; gap: 12px; align-items: flex-start;
    padding-bottom: 14px; margin-bottom: 14px;
    border-bottom: 1px dashed #d6e5d9;
}
.visitas-regulamento-icon {
    flex: 0 0 42px;
    width: 42px; height: 42px;
    background: var(--brand);
    color: #fff;
    border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(25, 110, 48, .22);
}
.visitas-regulamento-icon svg { width: 22px; height: 22px; }
.visitas-regulamento-tag {
    display: inline-block;
    font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--brand);
    background: rgba(25, 110, 48, .08);
    padding: 3px 8px; border-radius: 5px;
    margin-bottom: 4px;
}
.visitas-regulamento h3 {
    color: var(--brand-dark);
    font-size: 1.02rem;
    margin: 0;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: 0;
}

.visitas-regulamento-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    counter-reset: regulamento;
}
.visitas-regulamento-list li {
    display: flex; gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #ecf3ee;
}
.visitas-regulamento-list li:last-child { border-bottom: 0; }
.visitas-regulamento-check {
    flex: 0 0 22px;
    width: 22px; height: 22px;
    background: rgba(25, 110, 48, .10);
    color: var(--brand);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: 1px;
}
.visitas-regulamento-check svg { width: 13px; height: 13px; }
.visitas-regulamento-text {
    flex: 1;
    font-size: .9rem;
    line-height: 1.5;
    color: var(--text);
}
.visitas-regulamento-text strong { color: var(--brand-dark); }

.visitas-regulamento-nota {
    display: flex; gap: 10px; align-items: flex-start;
    background: #fff8de;
    border: 1px solid #f5e7b8;
    border-radius: 10px;
    padding: 12px 14px;
    color: #6b4500;
    font-size: .86rem;
    line-height: 1.5;
}
.visitas-regulamento-nota svg { flex: 0 0 18px; width: 18px; height: 18px; color: #c47700; margin-top: 1px; }
.visitas-regulamento-nota div p { margin: 0 0 .35em; }
.visitas-regulamento-nota div p:last-child { margin: 0; }

@media (max-width: 800px) {
    .visitas-regulamento { padding: 18px 18px 16px; }
    .visitas-regulamento-head { gap: 10px; }
    .visitas-regulamento-icon { width: 38px; height: 38px; flex-basis: 38px; }
    .visitas-regulamento-icon svg { width: 20px; height: 20px; }
    .visitas-regulamento h3 { font-size: .98rem; }
}

.visitas-aceita {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: .9rem; margin: 10px 0; cursor: pointer;
}
.visitas-aceita input { margin-top: 3px; }
.visitas-aceita .req { color: var(--danger); }

/* ------------- Contactos — premium ------------- */
.contactos-topo {
    display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px;
    align-items: start;
}
@media (max-width: 900px) { .contactos-topo { grid-template-columns: 1fr; } }

.contactos-horarios { display: flex; flex-direction: column; gap: 8px; }
.ct-horario-bloco {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 22px 28px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.ct-horario-bloco:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.ct-bloco-titulo {
    text-align: center; margin: 0 0 14px; padding-bottom: 10px;
    color: var(--brand-dark); font-size: 1.1rem; font-weight: 700;
    border-bottom: 2px solid var(--brand-soft);
}
.ct-bloco-corpo {
    display: flex; align-items: center; gap: 24px;
}
.ct-icone-relogio {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%;
    border: 2px solid var(--text-muted); color: var(--text-muted); flex-shrink: 0;
}
.ct-icone-relogio.brand { border-color: var(--brand); color: var(--brand); }
.ct-bloco-texto {
    flex: 1; text-align: center; color: var(--text-muted); font-size: 1.05rem;
    line-height: 1.7; letter-spacing: .02em;
}
.ct-bloco-texto br + * { font-weight: 600; }

.contactos-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 22px 26px;
    display: flex; flex-direction: column; gap: 20px;
}
.ct-card-row { display: flex; gap: 18px; align-items: flex-start; }
.ct-card-icon {
    flex: 0 0 32px; width: 32px; height: 32px; color: var(--brand);
    display: inline-flex; align-items: center; justify-content: center;
}
.ct-card-row h4 {
    margin: 0 0 4px; color: var(--brand); font-size: .92rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .04em;
}
.ct-card-row a, .ct-card-row p {
    margin: 0; color: var(--text-muted); font-size: .95rem; line-height: 1.5;
    text-decoration: none;
}
.ct-card-row a:hover { color: var(--brand); text-decoration: underline; }

/* Form de contacto — herda .pedido-form mas com lado esquerdo decorativo */
.contactos-form-wrap {
    align-items: stretch;
}
.contactos-form-side {
    display: flex; align-items: center; justify-content: center;
    color: var(--brand); min-height: 240px;
}
.contactos-decoracao { opacity: .9; }
@media (max-width: 800px) { .contactos-form-side { display: none; } }

/* Redes sociais centradas + slogan */
.contactos-redes {
    text-align: center; padding: 40px 0;
    display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.contactos-redes-icons { display: flex; gap: 24px; }
.contactos-redes-icons a {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    border-radius: 50%; background: var(--surface-2); color: var(--text-muted);
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.contactos-redes-icons a:hover {
    background: var(--brand); color: #fff; transform: translateY(-2px);
}
.contactos-redes-icons svg { width: 22px; height: 22px; fill: currentColor; }
.contactos-slogan {
    margin: 0; color: var(--text-muted); font-size: 1.05rem;
    text-transform: uppercase; letter-spacing: .12em; font-weight: 500;
}

/* Mapa edge-to-edge no fim */
.contactos-mapa { width: 100%; line-height: 0; }
.contactos-mapa iframe { width: 100%; height: 450px; border: 0; display: block; }
@media (max-width: 600px) { .contactos-mapa iframe { height: 320px; } }

/* ------------- Tarifário ------------- */
.pricelist-wrap { margin-top: 24px; }
.pricelist-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow);
}
.pricelist-toolbar {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
    padding: 14px 16px; background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.pricelist-toolbar input[type="search"],
.pricelist-toolbar select {
    padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px;
    background: #fff; font: inherit; font-size: .92rem;
}
.pricelist-toolbar input[type="search"] { flex: 1 1 220px; min-width: 200px; }
.pricelist-toolbar select { min-width: 200px; }
.pricelist-toolbar .check { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; }
.pricelist-toolbar .pl-counter { margin-left: auto; color: var(--text-muted); font-size: .85rem; }

.table-wrap { overflow-x: auto; }
.pricelist {
    width: 100%; border-collapse: collapse; font-size: .92rem;
}
.pricelist thead th {
    text-align: left; background: var(--brand-soft); color: var(--brand-dark);
    padding: 12px 16px; font-weight: 700; font-size: .82rem;
    text-transform: uppercase; letter-spacing: .04em;
    border-bottom: 2px solid var(--brand);
    user-select: none; white-space: nowrap;
}
.pricelist thead th:hover { background: #d8ebe0; }
.pricelist thead th[data-dir] { color: var(--brand); }
.pricelist tbody td {
    padding: 11px 16px; border-bottom: 1px solid var(--border); vertical-align: middle;
}
.pricelist tbody tr:nth-child(odd) td { background: #fcfdfc; }
.pricelist tbody tr:hover td { background: var(--brand-soft); }
.pricelist tbody td:nth-child(2) { white-space: nowrap; font-family: ui-monospace, Consolas, monospace; color: var(--brand-dark); font-size: .88rem; }
.pricelist .price {
    display: inline-block; padding: 3px 10px; border-radius: 6px;
    background: var(--brand); color: #fff; font-weight: 700; font-size: .85rem; white-space: nowrap;
}
.pricelist .pill {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    background: #fff7d6; color: #6b5a00; border: 1px solid #e6d77f;
    font-weight: 600; font-size: .82rem; white-space: nowrap;
}
.pricelist .muted { color: var(--text-muted); }
.pricelist-foot {
    padding: 14px 16px; border-top: 1px solid var(--border);
    background: var(--surface);
    display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between;
    font-size: .85rem;
}

@media (max-width: 600px) {
    .pricelist-toolbar { flex-direction: column; align-items: stretch; }
    .pricelist-toolbar .pl-counter { margin: 0; text-align: center; }
    .pricelist thead th, .pricelist tbody td { padding: 10px 8px; font-size: .85rem; }
}

/* ------------- Ecopontos: mapa + painel ------------- */
.ecop-wrap { max-width: 1180px; margin: 0 auto; }
.ecop-map  {
    height: 520px; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); border: 1px solid var(--border);
    margin-bottom: 16px;
}
.ecop-panel {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 18px; box-shadow: var(--shadow);
}
.ecop-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.ecop-strong { font-weight: 700; color: var(--brand-dark); }
.ecop-sel { color: var(--brand-dark); font-weight: 600; }
.ecop-coords { color: var(--text-muted); font-size: .85rem; margin-left: auto; font-family: ui-monospace, Consolas, monospace; }
.ecop-block { margin: 14px 0; }
.ecop-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ecop-chip {
    padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border);
    background: #fff; cursor: pointer; font: inherit; font-weight: 600; font-size: .85rem;
    transition: transform .12s ease, box-shadow .12s ease;
    user-select: none;
}
.ecop-chip:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.ecop-act.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.ecop-hint { font-size: .82rem; color: var(--text-muted); margin-top: 6px; }
.ecop-grid-2 {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px;
}
.ecop-input {
    width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px;
    font: inherit; font-size: .95rem; background: #fff;
}
.ecop-input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.ecop-full { grid-column: 1 / -1; }
textarea.ecop-input { min-height: 90px; resize: vertical; }
.ecop-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ecop-status { font-size: .9rem; color: var(--text-muted); min-height: 18px; flex: 1 1 auto; }
@media (max-width: 600px) {
    .ecop-grid-2 { grid-template-columns: 1fr; }
    .ecop-map { height: 380px; }
}

/* Pin custom do mapa — com animação drop */
.brv-pin-wrap {
    position: relative;
    transform: translate(-50%, -100%);
    animation: brv-pin-drop .55s cubic-bezier(.34, 1.56, .64, 1) backwards;
    animation-delay: calc(var(--pin-delay, 0) * 1ms);
}
@keyframes brv-pin-drop {
    0%   { opacity: 0; transform: translate(-50%, -100%) translateY(-30px) scale(.6); }
    60%  { opacity: 1; transform: translate(-50%, -100%) translateY(4px)   scale(1.05); }
    100% { opacity: 1; transform: translate(-50%, -100%) translateY(0)     scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .brv-pin-wrap { animation: none; }
}
.brv-pin-badge {
    position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
    background: var(--brand-dark); color: #fff;
    border: 1px solid rgba(255,255,255,.9);
    font: 800 11px/18px 'Plus Jakarta Sans', system-ui, sans-serif;
    height: 18px; min-width: 18px; padding: 0 6px; border-radius: 999px;
    text-align: center; box-shadow: 0 6px 14px rgba(15, 32, 39, .25); white-space: nowrap;
}
.brv-pin {
    width: 34px; height: 34px; border-radius: 50%;
    box-shadow: 0 10px 22px rgba(15, 32, 39, .35);
    border: 2px solid rgba(255, 255, 255, .95);
}

/* ------------- Rede de Ecopontos: mapa + drawer + cards ------------- */
.rede-final { max-width: 1200px; margin: 0 auto; }

.rede-controls {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 14px; margin-bottom: 16px; box-shadow: var(--shadow);
}
.rede-filters-row {
    display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.rede-input {
    padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px;
    font: inherit; font-size: .92rem; background: #fff;
}
.rede-input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.rede-filters-row select.rede-input { flex: 1 1 180px; min-width: 150px; }
.rede-filters-row .rede-search { flex: 2 1 260px; min-width: 200px; }

.rede-map-wrap {
    position: relative; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border); box-shadow: var(--shadow);
    height: 620px; background: #f8fafc;
}
#rede-map { width: 100%; height: 100%; }

.rede-legend {
    position: absolute; top: 12px; right: 60px; z-index: 500;
    background: #fff; padding: 8px; border-radius: 12px;
    border: 1px solid var(--border); box-shadow: var(--shadow);
    display: flex; gap: 6px; flex-wrap: wrap;
}
.rede-legend .legend-item {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px; border-radius: 999px;
    background: #fff; border: 1px solid var(--border);
    font-size: .8rem; cursor: pointer; user-select: none;
    transition: background .12s ease;
}
.rede-legend .legend-item:hover { background: var(--brand-soft); }
.rede-legend .legend-item.active { outline: 2px solid var(--brand); background: var(--brand-soft); }
.rede-legend .legend-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
@media (max-width: 700px) {
    .rede-legend { top: auto; bottom: 8px; left: 8px; right: 8px; padding: 6px; }
}

.rede-panel {
    position: absolute; top: 0; right: 0; height: 100%; width: 380px; max-width: 92vw;
    background: #fff; border-left: 1px solid var(--border);
    box-shadow: -12px 0 30px rgba(15, 32, 39, .15);
    transform: translateX(100%); transition: transform .28s ease;
    z-index: 600; display: flex; flex-direction: column;
}
.rede-panel.open { transform: translateX(0); }
.rede-panel-head {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 14px 16px; border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #fff, var(--surface));
}
.rede-panel-title { font-weight: 700; color: var(--brand-dark); font-size: 1rem; }
.rede-panel-coords { font-size: .8rem; color: var(--text-muted); margin-top: 2px; }
.rede-panel-close {
    background: #fff; border: 1px solid var(--border); border-radius: 8px;
    padding: 6px 12px; font: inherit; font-weight: 600; cursor: pointer; color: var(--text);
}
.rede-panel-close:hover { background: var(--surface); }
.rede-panel-body { padding: 14px; overflow-y: auto; flex: 1; }

.rede-cards { display: flex; flex-direction: column; gap: 8px; }
.rede-card {
    position: relative; padding: 12px; border-radius: 10px;
    border: 1px solid var(--border); background: #fff;
    box-shadow: 0 2px 6px rgba(15, 32, 39, .04);
}
.rede-card-row { display: flex; align-items: flex-start; gap: 10px; }
.rede-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; }
.rede-radio { display: flex; gap: 10px; align-items: flex-start; flex: 1; cursor: pointer; }
.rede-radio input { margin-top: 3px; }
.rede-name { font-weight: 700; font-size: .92rem; color: var(--brand-dark); }
.rede-meta { font-size: .8rem; color: var(--text-muted); margin-top: 2px; }
.rede-meta-strong { margin-top: 6px; }
.rede-meta-label { font-weight: 600; color: var(--text); }

/* ============================================================================
   Ecopontos /pedidos — cards de contentor com volume + última recolha
============================================================================ */
.ecop-cont {
    display: block; width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    margin: 0 0 8px;
    cursor: pointer;
    font: inherit;
    transition: border-color .18s ease, box-shadow .18s ease, transform .15s ease, background .18s ease;
    position: relative;
}
.ecop-cont:hover {
    border-color: var(--brand);
    box-shadow: 0 8px 20px rgba(15, 32, 39, .08);
    transform: translateY(-1px);
}
.ecop-cont.is-selected {
    border-color: var(--brand);
    background: var(--brand-soft);
    box-shadow: 0 8px 20px rgba(25, 110, 48, .15), inset 0 0 0 1px var(--brand);
}
.ecop-cont-head {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 6px;
}
.ecop-cont-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    flex: 0 0 auto;
    box-shadow: 0 0 0 2px rgba(0,0,0,.04);
}
.ecop-cont-tipo {
    color: var(--brand-dark);
    font-size: 1rem;
    flex: 1; min-width: 0;
}
.ecop-cont-state {
    font-size: .7rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 999px;
    letter-spacing: .04em;
}
.ecop-cont-state-ok {
    background: var(--brand-soft);
    color: #0d4a1f;
    border: 1px solid #b4d8c2;
}
.ecop-cont-state-warn {
    background: #fff3b8;
    color: #6b4500;
    border: 1px solid #f0d68a;
}
.ecop-cont-state-danger {
    background: #fadcdc;
    color: #9a1a1a;
    border: 1px solid #f0bbbb;
    animation: ecop-cont-pulse 1.8s ease-in-out infinite;
}
@keyframes ecop-cont-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(196, 30, 30, .35); }
    50%      { box-shadow: 0 0 0 6px rgba(196, 30, 30, 0); }
}
.ecop-cont-meta {
    font-size: .78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.ecop-cont-stats {
    display: flex; gap: 14px; flex-wrap: wrap;
    font-size: .82rem;
    color: var(--text);
    margin-bottom: 8px;
}
.ecop-cont-stats b {
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 2px;
}
.ecop-cont-meter {
    height: 6px;
    background: var(--surface);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}
.ecop-cont-meter i {
    display: block; height: 100%;
    background: linear-gradient(90deg, var(--m-col, var(--brand)) 0%, var(--m-col, var(--brand-light)) 100%);
    border-radius: 999px;
    transition: width .5s cubic-bezier(.2, .8, .2, 1);
}

/* ============================================================================
   Ecopontos — botões grandes Recolha/Limpeza/Manutenção (com ícone)
============================================================================ */
.ecop-acoes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.ecop-act {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 8px 12px;
    cursor: pointer;
    font: inherit;
    text-align: center;
    transition: border-color .18s ease, box-shadow .18s ease, transform .15s ease, background .18s ease;
}
.ecop-act:hover {
    border-color: var(--brand);
    box-shadow: 0 8px 20px rgba(15, 32, 39, .08);
    transform: translateY(-2px);
}
.ecop-act.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 10px 22px rgba(25, 110, 48, .3);
}
.ecop-act-icon {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 50%;
    margin-bottom: 4px;
    transition: background .18s ease, color .18s ease, transform .2s ease;
}
.ecop-act:hover .ecop-act-icon { transform: scale(1.05); }
.ecop-act.active .ecop-act-icon {
    background: rgba(255,255,255,.2);
    color: #fff;
}
.ecop-act-label {
    font-weight: 700;
    font-size: .92rem;
    color: var(--brand-dark);
    line-height: 1.2;
}
.ecop-act.active .ecop-act-label { color: #fff; }
.ecop-act-sub {
    font-size: .7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
}
.ecop-act.active .ecop-act-sub { color: rgba(255,255,255,.85); }
@media (max-width: 420px) {
    .ecop-act-sub { display: none; }
    .ecop-act { padding: 12px 6px; }
}

/* Switcher Mapa/Satélite — canto inferior esquerdo do mapa */
.rede-base-switcher {
    display: inline-flex;
    background: #fff;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 32, 39, .2) !important;
    border: 1px solid var(--border) !important;
}
.rede-base-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff;
    color: var(--text-muted);
    border: 0;
    padding: 8px 14px;
    font: inherit;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.rede-base-btn + .rede-base-btn { border-left: 1px solid var(--border); }
.rede-base-btn:hover { background: var(--brand-soft); color: var(--brand-dark); }
.rede-base-btn.is-active {
    background: var(--brand);
    color: #fff;
}
.rede-base-btn svg { flex: 0 0 auto; }
@media (max-width: 480px) {
    .rede-base-btn span { display: none; }
    .rede-base-btn { padding: 8px 10px; }
}
.rede-meter {
    height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin-top: 10px;
}
.rede-meter i {
    display: block; height: 100%;
    background: linear-gradient(90deg, #2e9c4d, var(--brand));
}
.rede-badge {
    position: absolute; top: 8px; right: 8px;
    font-size: .7rem; padding: 3px 8px; border-radius: 999px;
    font-weight: 700;
}
.rede-badge--ok     { background: var(--brand-soft); color: var(--brand); border: 1px solid #b6dcc1; }
.rede-badge--warn   { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; }
.rede-badge--danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.rede-form { margin-top: 16px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; }
.rede-frow { display: flex; gap: 8px; margin-bottom: 8px; }
.rede-frow .rede-input { flex: 1; }
.rede-form .rede-input { width: 100%; padding: 9px 10px; margin-bottom: 8px; font-size: .9rem; }
.rede-form textarea.rede-input { min-height: 70px; resize: vertical; }
.rede-check { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; margin: 6px 0; }
.rede-check input { margin-top: 3px; flex-shrink: 0; }
.rede-form-actions { display: flex; gap: 8px; margin-top: 8px; }
.rede-status { font-size: .82rem; color: var(--text-muted); min-height: 18px; margin-top: 8px; }

/* ------------- Recrutamento ------------- */
.vagas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 16px; }
@media (max-width: 800px) { .vagas-grid { grid-template-columns: 1fr; } }

.vaga-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 22px; box-shadow: var(--shadow);
    transition: transform .15s ease, box-shadow .15s ease;
    display: flex; flex-direction: column; gap: 10px;
}
.vaga-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.vaga-card header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.vaga-card h3 { margin: 0; color: var(--brand-dark); font-size: 1.15rem; }
.vaga-ref {
    font-size: .75rem; padding: 3px 10px; background: var(--brand-soft); color: var(--brand);
    border-radius: 999px; font-weight: 600; font-family: ui-monospace, Consolas, monospace;
}
.vaga-meta {
    display: flex; flex-wrap: wrap; gap: 12px;
    font-size: .85rem; color: var(--text-muted);
}
.vaga-resumo { margin: 0; }
.vaga-detalhes { background: var(--surface); border-radius: 8px; padding: 12px 16px; }
.vaga-detalhes summary { cursor: pointer; font-weight: 600; color: var(--brand-dark); }
.vaga-detalhes[open] summary { margin-bottom: 12px; }
.vaga-detalhes h4 { margin: 1em 0 .4em; color: var(--brand); font-size: 1rem; }
.vaga-apply { margin-top: 8px; align-self: flex-start; }

/* Formulário de candidatura */
.form-candidatura {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; box-shadow: var(--shadow);
    max-width: 820px;
}
.form-candidatura .req { color: var(--danger); font-weight: 700; }
.form-candidatura textarea,
.form-candidatura select,
.form-candidatura input[type="text"],
.form-candidatura input[type="email"],
.form-candidatura input[type="tel"],
.form-candidatura input[type="file"] {
    width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: #fff; font: inherit; font-size: .95rem;
}
.form-candidatura textarea { min-height: 140px; resize: vertical; }
.form-candidatura input:focus, .form-candidatura textarea:focus, .form-candidatura select:focus {
    outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand);
}
.form-candidatura .form-row-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-candidatura .form-row-grid { grid-template-columns: 1fr; } }
.form-candidatura .check-row { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.form-candidatura .check-row input { margin-top: 3px; flex-shrink: 0; }

/* Honeypot — invisível para humanos */
.hp-trap {
    position: absolute !important; left: -9999px !important; top: -9999px !important;
    width: 1px; height: 1px; overflow: hidden;
}

/* ============================================================================
   Notícias — listagem premium
============================================================================ */
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

.noticias-hero {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 110%);
    color: #fff; padding: 64px 0 56px; text-align: center;
    position: relative; overflow: hidden;
}
.noticias-hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.10), transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(46,156,77,.25), transparent 65%);
    pointer-events: none;
}
.noticias-hero .container { position: relative; z-index: 1; }
.noticias-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.noticias-hero .lead { color: rgba(255,255,255,.85); max-width: 680px; margin: 0 auto; font-size: 1.08rem; }

.noticias-filtros {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
    background: #fff; border: 1px solid #e6ebe8; border-radius: 14px;
    padding: 14px; margin-bottom: 24px;
    box-shadow: 0 6px 24px rgba(15,32,39,.04);
}
.noticias-input {
    flex: 1 1 200px; min-width: 0;
    padding: 11px 14px; border: 1px solid #dbe3df; border-radius: 8px;
    background: #f9fbfa; font: inherit; color: var(--text);
}
.noticias-input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.noticias-filtros .btn { flex: 0 0 auto; }

/* Destaque */
.noticia-destaque {
    background: #fff; border-radius: 18px; overflow: hidden; margin-bottom: 32px;
    box-shadow: 0 14px 40px rgba(15,32,39,.08);
    border: 1px solid #eef2f0; transition: transform .25s, box-shadow .25s;
}
.noticia-destaque:hover { transform: translateY(-3px); box-shadow: 0 22px 56px rgba(15,32,39,.14); }
.noticia-destaque-link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); color: inherit; }
.noticia-destaque-link:hover { text-decoration: none; }
.noticia-destaque-img {
    position: relative; min-height: 360px;
    background-size: cover; background-position: center; background-color: var(--brand-soft);
}
.noticia-badge-destaque {
    position: absolute; top: 18px; left: 18px;
    background: var(--brand); color: #fff;
    padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600;
    letter-spacing: .03em; box-shadow: 0 4px 14px rgba(25,110,48,.35);
}
.noticia-destaque-info { padding: 38px 36px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.noticia-destaque-info h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin: 4px 0 6px; }
.noticia-destaque-info .noticia-sub { color: var(--text-muted); font-size: 1.04rem; margin: 0; }
.noticia-destaque-info p { color: var(--text); line-height: 1.55; margin: 6px 0 0; }
@media (max-width: 820px) {
    .noticia-destaque-link { grid-template-columns: 1fr; }
    .noticia-destaque-img { min-height: 240px; }
    .noticia-destaque-info { padding: 24px; }
}

/* Grid de cards */
.noticias-grid {
    display: grid; gap: 22px;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.noticia-card {
    background: #fff; border-radius: 14px; overflow: hidden;
    border: 1px solid #eef2f0; box-shadow: 0 6px 22px rgba(15,32,39,.05);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    display: flex;
}
.noticia-card:hover { transform: translateY(-4px); box-shadow: 0 18px 46px rgba(15,32,39,.12); border-color: var(--brand-soft); }
.noticia-card-link { display: flex; flex-direction: column; color: inherit; width: 100%; }
.noticia-card-link:hover { text-decoration: none; }
.noticia-card-img {
    aspect-ratio: 16 / 9; background-size: cover; background-position: center;
    background-color: var(--brand-soft);
}
.noticia-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.noticia-card-body h3 { font-size: 1.12rem; margin: 4px 0 4px; line-height: 1.3; }
.noticia-card-body p { color: var(--text-muted); font-size: .95rem; line-height: 1.5; margin: 0; flex: 1; }

.noticia-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .82rem; color: var(--text-muted); }
.noticia-cat {
    background: var(--brand-soft); color: var(--brand);
    padding: 3px 10px; border-radius: 999px; font-weight: 600;
    font-size: .76rem; letter-spacing: .02em; text-transform: uppercase;
}
.noticia-cat-light { background: rgba(255,255,255,.18); color: #fff; }
.noticia-meta time { font-variant-numeric: tabular-nums; }
.noticia-ler { color: var(--brand); font-weight: 600; font-size: .92rem; margin-top: 6px; }

/* Paginação */
.noticias-paginacao {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: 36px; flex-wrap: wrap;
}
.noticias-paginacao .small { font-size: .92rem; }

/* ============================================================================
   Notícia individual — layout editorial
============================================================================ */
.noticia-artigo-hero {
    color: #fff; padding: 90px 0 80px;
    background-size: cover; background-position: center;
    position: relative;
}
.noticia-artigo-hero h1 {
    color: #fff; font-size: clamp(2rem, 4vw, 3rem);
    max-width: 880px; margin: 12px 0 14px; line-height: 1.18;
    text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.noticia-artigo-sub {
    color: rgba(255,255,255,.92); font-size: 1.18rem;
    max-width: 760px; margin: 0; line-height: 1.45;
}
.noticia-artigo-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; color: rgba(255,255,255,.85); font-size: .9rem; }

.noticia-breadcrumb {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    color: rgba(255,255,255,.78); font-size: .88rem; margin-bottom: 10px;
}
.noticia-breadcrumb a { color: rgba(255,255,255,.9); }
.noticia-breadcrumb a:hover { color: #fff; }
.noticia-breadcrumb span { opacity: .6; }

.noticia-artigo-body { padding: 56px 0 32px; background: #fff; }
.noticia-artigo-lead {
    font-size: 1.18rem; line-height: 1.6; color: var(--brand-dark);
    border-left: 4px solid var(--brand); padding: 6px 0 6px 18px;
    margin: 0 0 28px;
}
.noticia-artigo-body .conteudo { font-size: 1.04rem; line-height: 1.72; color: var(--text); }
.noticia-artigo-body .conteudo p { margin: 0 0 1.1em; }
.noticia-artigo-body .conteudo h2 { margin-top: 1.6em; color: var(--brand-dark); }
.noticia-artigo-body .conteudo h3 { margin-top: 1.3em; color: var(--brand-dark); }
.noticia-artigo-body .conteudo img { max-width: 100%; height: auto; border-radius: 10px; margin: 18px 0; }
.noticia-artigo-body .conteudo blockquote {
    border-left: 4px solid var(--brand);
    padding: 6px 18px; margin: 24px 0;
    background: var(--brand-soft); border-radius: 0 8px 8px 0;
    font-style: italic; color: var(--brand-dark);
}

.noticia-artigo-share {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin: 36px 0 20px; padding-top: 24px; border-top: 1px solid #eef2f0;
}
.share-btn {
    display: inline-flex; align-items: center; padding: 8px 14px;
    background: var(--brand-soft); color: var(--brand);
    border-radius: 999px; font-size: .88rem; font-weight: 600;
}
.share-btn:hover { background: var(--brand); color: #fff; text-decoration: none; }

.noticia-artigo-voltar { margin-top: 18px; }

.noticia-relacionadas { background: #f7faf8; padding: 56px 0 64px; }
.noticia-relacionadas h2 { color: var(--brand-dark); }

/* ============================================================================
   Indicadores — cards de KPIs
============================================================================ */
.ind-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 14px;
}
.ind-card {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 16px;
    padding: 24px 22px 22px;
    box-shadow: 0 8px 22px rgba(15, 32, 39, .06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    display: flex; flex-direction: column; gap: 6px;
}
.ind-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand);
    box-shadow: 0 18px 40px rgba(15, 32, 39, .12);
}
.ind-icone {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-soft); color: var(--brand);
    border-radius: 12px;
    margin-bottom: 8px;
}
.ind-icone svg { width: 22px; height: 22px; }
.ind-valor {
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    font-weight: 800;
    color: var(--brand-dark);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.ind-rotulo { color: var(--text-muted); font-size: .88rem; line-height: 1.4; }
@media (max-width: 880px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ind-grid { grid-template-columns: 1fr; } }

/* ============================================================================
   Compostagem — fluxo de processo + Ferti+
============================================================================ */
.cmp-fluxo {
    list-style: none; padding: 0; margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.cmp-fluxo li {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 14px;
    padding: 24px 18px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 20px rgba(15, 32, 39, .05);
}
.cmp-fluxo li::after {
    content: "→";
    position: absolute;
    right: -14px; top: 50%;
    transform: translateY(-50%);
    color: var(--brand);
    font-size: 1.4rem; font-weight: 700;
}
.cmp-fluxo li:last-child::after { display: none; }
.cmp-fluxo-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: var(--brand); color: #fff;
    border-radius: 50%;
    font-weight: 800;
    margin-bottom: 10px;
    box-shadow: 0 6px 14px rgba(25, 110, 48, .28);
}
.cmp-fluxo strong { display: block; color: var(--brand-dark); margin-bottom: 4px; }
.cmp-fluxo span.cmp-desc { display: block; font-size: .86rem; color: var(--text-muted); line-height: 1.5; }
@media (max-width: 820px) { .cmp-fluxo { grid-template-columns: repeat(2, 1fr); } .cmp-fluxo li:nth-child(2)::after { display: none; } }
@media (max-width: 480px) { .cmp-fluxo { grid-template-columns: 1fr; } .cmp-fluxo li::after { display: none; } }

.cmp-ferti {
    margin-top: 56px;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    color: #fff;
    border-radius: 18px;
    padding: 36px 40px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    box-shadow: 0 16px 44px rgba(25, 110, 48, .28);
    position: relative; overflow: hidden;
}
.cmp-ferti::after {
    content: ""; position: absolute;
    right: -80px; bottom: -80px;
    width: 240px; height: 240px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
}
.cmp-ferti-icone {
    width: 80px; height: 80px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.18);
    border: 2px solid rgba(255,255,255,.25);
    border-radius: 22px;
    color: #fff;
    position: relative; z-index: 1;
}
.cmp-ferti-icone svg { width: 40px; height: 40px; }
.cmp-ferti-body { position: relative; z-index: 1; }
.cmp-ferti-tag {
    display: inline-block;
    background: rgba(255,255,255,.18);
    padding: 4px 12px; border-radius: 999px;
    font-size: .76rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    margin-bottom: 10px;
}
.cmp-ferti h3 { color: #fff; margin: 0 0 8px; font-size: 1.4rem; }
.cmp-ferti p  { margin: 0; color: rgba(255,255,255,.92); line-height: 1.6; }
@media (max-width: 720px) {
    .cmp-ferti { grid-template-columns: 1fr; padding: 28px 24px; text-align: center; }
    .cmp-ferti-icone { margin: 0 auto; }
}

/* ============================================================================
   Sensibilização Ambiental — programa global
============================================================================ */
.sa-pilares {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.sa-pilar {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 16px;
    padding: 32px 26px 26px;
    position: relative;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.sa-pilar:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 18px 40px rgba(15, 32, 39, .12); }
.sa-pilar::before {
    content: ""; position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--brand-light));
    border-radius: 16px 16px 0 0;
}
.sa-pilar-num {
    position: absolute; top: -16px; left: 26px;
    width: 36px; height: 36px;
    background: var(--brand); color: #fff;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(25, 110, 48, .35);
}
.sa-pilar-icone {
    width: 56px; height: 56px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--brand-soft); color: var(--brand);
    margin-bottom: 14px;
}
.sa-pilar-icone svg { width: 28px; height: 28px; }
.sa-pilar h3 { margin: 0 0 8px; color: var(--brand-dark); font-size: 1.1rem; }
.sa-pilar p  { margin: 0; color: var(--text-muted); font-size: .94rem; line-height: 1.55; }
@media (max-width: 820px) { .sa-pilares { grid-template-columns: 1fr; } }

/* ============================================================================
   Documentos legais (Privacidade / Termos / Cookies)
============================================================================ */
.legal-doc h2 {
    margin-top: 2em;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    color: var(--brand-dark);
    font-size: 1.25rem;
}
.legal-doc h3 {
    margin-top: 1.5em;
    color: var(--brand-dark);
    font-size: 1.05rem;
}
.legal-doc p { line-height: 1.7; }
.legal-doc ul { line-height: 1.7; }
.legal-doc li { margin-bottom: .35em; }
.legal-doc code {
    background: var(--brand-soft); color: var(--brand-dark);
    padding: 2px 7px; border-radius: 4px;
    font-size: .92em;
}
.legal-doc table {
    width: 100%; border-collapse: collapse;
    margin: 16px 0;
    font-size: .94rem;
}

/* ============================================================================
   Banner de consentimento de cookies (RGPD)
============================================================================ */
.cookie-banner {
    position: fixed;
    left: 50%; bottom: 16px;
    transform: translateX(-50%) translateY(120%);
    width: min(960px, calc(100vw - 32px));
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(15, 32, 39, .22);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    z-index: 9000;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.cookie-banner.is-open { transform: translateX(-50%) translateY(0); }
.cookie-banner-body {
    flex: 1; min-width: 240px;
    display: flex; flex-direction: column; gap: 4px;
}
.cookie-banner-body strong {
    color: var(--brand-dark);
    font-size: 1rem;
}
.cookie-banner-body span {
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.5;
}
.cookie-banner-body a {
    color: var(--brand);
    font-weight: 600;
}
.cookie-banner-actions {
    display: flex; gap: 8px;
    flex-wrap: wrap;
}
.cookie-banner-actions .btn { padding: 9px 16px; font-size: .9rem; }

@media (max-width: 640px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        left: 8px; right: 8px;
        width: auto;
        transform: translateY(120%);
        padding: 16px;
    }
    .cookie-banner.is-open { transform: translateY(0); }
    .cookie-banner-actions { justify-content: stretch; }
    .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}

/* ============================================================================
   Lightbox (galerias)
============================================================================ */
html.lb-locked { overflow: hidden; }
.lb-overlay {
    position: fixed; inset: 0;
    background: rgba(8, 14, 18, .92);
    backdrop-filter: blur(8px);
    display: none;
    z-index: 9999;
    align-items: center; justify-content: center;
    padding: 60px 24px;
}
.lb-overlay.is-open { display: flex; animation: lb-fade .25s ease; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lb-figure {
    margin: 0;
    max-width: 92vw; max-height: 84vh;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    animation: lb-zoom .3s cubic-bezier(.2, .8, .2, 1);
}
@keyframes lb-zoom { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.lb-img {
    max-width: 100%; max-height: 76vh;
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
    object-fit: contain;
    background: #1a1a1a;
}
.lb-caption {
    color: rgba(255,255,255,.88);
    font-size: .92rem;
    text-align: center;
    max-width: 720px;
    line-height: 1.4;
}
.lb-counter {
    position: fixed; top: 20px; left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,.10);
    color: rgba(255,255,255,.85);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .82rem; font-weight: 600;
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
    border: 1px solid rgba(255,255,255,.15);
}
.lb-close,
.lb-nav {
    appearance: none; border: 0; cursor: pointer; font: inherit;
    background: rgba(255,255,255,.10);
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    transition: background .2s ease, transform .15s ease;
    z-index: 2;
}
.lb-close:hover,
.lb-nav:hover { background: rgba(255,255,255,.22); transform: scale(1.06); }
.lb-close {
    position: fixed; top: 18px; right: 18px;
    width: 44px; height: 44px;
    font-size: 1.6rem; line-height: 1;
}
.lb-nav {
    position: fixed; top: 50%;
    transform: translateY(-50%);
    width: 52px; height: 52px;
    font-size: 1.8rem; line-height: 1;
}
.lb-nav:hover { transform: translateY(-50%) scale(1.06); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
@media (max-width: 640px) {
    .lb-overlay { padding: 60px 8px; }
    .lb-nav { width: 44px; height: 44px; font-size: 1.5rem; }
    .lb-prev { left: 8px; }
    .lb-next { right: 8px; }
}

/* ------------- Utilities ------------- */
.muted { color: var(--text-muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 32px; }

/* ============================================================================
   Responsividade global — safety net + correções mobile/tablet
============================================================================ */

/* Evita zoom automático em iOS e overflow horizontal */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
/* overflow-x: clip não cria scroll container — preserva position:sticky.
   Browsers antigos caem para hidden (não suportam clip). */
html, body {
    overflow-x: hidden;
    overflow-x: clip;
}
img, svg, video, iframe {
    max-width: 100%;
    height: auto;
}
/* Imagens com height fixo em CSS (ex: capas) mantêm proporção */
.as-capa-link img,
.noticia-card-img,
.noticia-destaque-img,
.noticia-artigo-hero,
.hist-lixeira-img,
.pf-financiadores img { height: auto; }

/* Tabelas com scroll horizontal automático */
.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-wrap table { min-width: 600px; }

/* Inputs com font-size >= 16px no mobile (impede zoom iOS) */
@media (max-width: 768px) {
    input[type="text"], input[type="email"], input[type="tel"],
    input[type="number"], input[type="search"], input[type="date"],
    input[type="password"], input[type="url"], select, textarea {
        font-size: 16px !important;
    }
}

/* ------------- Tablet (≤ 980px) ------------- */
@media (max-width: 980px) {
    .container { padding: 0 20px; }
    .section { padding: 48px 0; }

    /* Heros */
    .page-hero, .hist-hero, .pmv-hero, .ct-hero,
    .tar-hero, .ie-hero, .rec-hero, .rv-hero { padding: 56px 0 44px; }

    /* Hero stats: 4 → 2 colunas */
    .page-hero-stats, .hist-hero-stats, .tar-hero-stats,
    .ie-hero-stats, .as-hero-stats, .rv-hero-stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Grids 4-col → 2-col */
    .ie-cats-grid, .rv-materiais-grid, .rec-vagas-grid,
    .pf-grid, .biod-vantagens, .reee-locais-grid,
    .ct-hero-tiles, .ri-vias { grid-template-columns: repeat(2, 1fr) !important; }

    /* Grids 3-col → 2-col */
    .publicos-grid, .reee-tipos, .cir-materiais,
    .passos-grid, .pr-tipos, .pr-habitos,
    .ri-entidades, .rv-destinos, .composicao-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ------------- Mobile grande (≤ 720px) ------------- */
@media (max-width: 720px) {
    .container { padding: 0 16px; }
    .section { padding: 36px 0; }

    /* Tipografia ligeiramente menor */
    h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
    h2 { font-size: clamp(1.3rem, 4vw, 1.7rem); }
    h3 { font-size: clamp(1.05rem, 3.5vw, 1.25rem); }
    body { font-size: 15px; }

    /* Heros mais compactos */
    .page-hero, .hist-hero, .pmv-hero, .ct-hero,
    .tar-hero, .ie-hero, .rec-hero, .rv-hero { padding: 44px 0 36px; }

    /* Section titles */
    .page-secao-title, .ie-secao-title, .rec-secao-title,
    .hist-secao-title, .rv-secao-title { margin-bottom: 22px; }
    .page-secao-title--mt, .ie-secao-title--mt,
    .hist-secao-title--mt { margin-top: 44px; }

    /* Cards genéricos: padding reduzido */
    .pmv-bloco, .hist-secao, .as-bloco, .rv-secao,
    .rec-vaga, .ie-cat, .rv-material, .pr-tipo,
    .biod-vantagem, .reee-tipo, .cir-material,
    .composicao-item, .publico, .passo, .hist-objetivo,
    .hist-aspeto, .fileira { padding: 22px 18px; }

    /* Hero stats: tipografia */
    .page-hero-stats strong, .hist-hero-stats strong,
    .tar-hero-stats strong, .ie-hero-stats strong,
    .as-hero-stats strong, .rv-hero-stats strong {
        font-size: 1.2rem !important;
    }

    /* CTAs full-width em mobile */
    .page-hero-cta, .rec-hero-cta {
        flex-direction: column; align-items: stretch;
    }
    .page-hero-cta .btn-light,
    .page-hero-cta .btn-outline-light,
    .rec-hero-cta .btn-light,
    .rec-hero-cta .btn-outline-light { justify-content: center; }

    /* Aviso/CTAs em coluna */
    .page-aviso, .rv-aviso, .biod-impacto,
    .ri-prevencao-cta { grid-template-columns: 1fr; text-align: left; padding: 22px 18px; }
    .biod-impacto, .ri-prevencao-cta { text-align: center; }
    .biod-impacto-icone, .ri-prevencao-icone { margin: 0 auto; }

    /* Forms: padding reduzido */
    .pedido-form { padding: 24px 18px !important; }
    .pedido-form .form-row-grid { grid-template-columns: 1fr !important; }
    .pedido-actions { flex-direction: column; align-items: stretch; gap: 12px; }
    .pedido-captcha { justify-content: center; }

    /* Contactos: aside + form em coluna */
    .ct-grid { grid-template-columns: 1fr !important; }
    .ct-aside { position: static !important; }
    .ct-hero-tiles { grid-template-columns: 1fr !important; }

    /* Recrutamento: bloco candidatura em coluna */
    .rec-cand-bloco { grid-template-columns: 1fr !important; }
    .rec-cand-aside, .rec-cand-form { padding: 26px 22px !important; }

    /* Tarifário: toolbar em coluna */
    .tar-toolbar { flex-direction: column; align-items: stretch; }
    .tar-search { min-width: 0; }
    .tar-counter { margin: 4px 0 0; align-self: flex-start; }
    .tar-chips { gap: 6px; }
    .tar-chip { padding: 7px 12px; font-size: .85rem; }

    /* Pricelist: tipografia menor */
    .pricelist thead th, .pricelist tbody td { padding: 10px 8px; font-size: .82rem; }

    /* Notícia destaque: imagem em cima */
    .noticia-destaque-link { grid-template-columns: 1fr !important; }
    .noticia-destaque-img { min-height: 220px; }

    /* Sub-card grids 3-col → 1-col em muito pequenos */
    .biod-vantagens, .pr-tipos, .cir-materiais,
    .reee-tipos, .composicao-grid { grid-template-columns: 1fr !important; }

    /* Mantém 2-col em grids visualmente compactos */
    .pr-habitos, .ri-entidades { grid-template-columns: 1fr !important; }

    /* História: timeline → uma coluna esquerda */
    .hist-timeline::before { left: 18px !important; }
    .hist-tl-item, .hist-tl--esq, .hist-tl--dir {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 14px 0 14px 50px !important;
        text-align: left !important;
    }
    .hist-tl--esq .hist-tl-dot, .hist-tl--dir .hist-tl-dot {
        left: 6px !important; right: auto !important;
    }

    /* Galeria mosaico mobile: 2 cols, primeiro item span 2 */
    .as-galeria { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
    .as-galeria-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }

    /* Footer: stack em mobile */
    .site-footer .footer-cols { grid-template-columns: 1fr !important; gap: 24px !important; }
    .site-footer .footer-brand { grid-column: 1 !important; }
    .site-footer .copy { flex-direction: column; text-align: center; gap: 12px; }
    .site-footer .copy-links { justify-content: center; }

    /* Topbar */
    .site-topbar-info { gap: 12px; }
    .site-topbar-redes { gap: 2px; }
}

/* ------------- Mobile pequeno (≤ 480px) ------------- */
@media (max-width: 480px) {
    .container { padding: 0 14px; }

    /* Hero stats em 1 col em muito pequeno */
    .page-hero-stats, .hist-hero-stats, .tar-hero-stats,
    .ie-hero-stats, .as-hero-stats, .rv-hero-stats {
        grid-template-columns: 1fr !important;
    }

    /* Todos os card grids 2-col → 1-col */
    .ie-cats-grid, .rv-materiais-grid, .rec-vagas-grid,
    .pf-grid, .publicos-grid, .ri-vias,
    .reee-locais-grid, .rv-destinos, .ct-hero-tiles,
    .fileiras-grid { grid-template-columns: 1fr !important; }

    /* Tabelas: scroll horizontal e fonte menor */
    .table-wrap table { min-width: 480px; }

    /* Botões grandes em mobile */
    .btn { padding: 11px 18px; font-size: .95rem; width: 100%; justify-content: center; }
    .pedido-actions .btn { width: auto; }

    /* Galeria final */
    .as-galeria { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .as-galeria-item:nth-child(1) { grid-column: auto; grid-row: auto; }

    /* Lightbox: navegação menor */
    .lb-nav { width: 40px; height: 40px; font-size: 1.4rem; }
    .lb-prev { left: 4px; }
    .lb-next { right: 4px; }
    .lb-close { width: 40px; height: 40px; top: 12px; right: 12px; }
}

/* ------------- Touch targets (acessibilidade) ------------- */
@media (hover: none) and (pointer: coarse) {
    .btn, .btn-light, .btn-outline-light, .btn-mini,
    .site-nav > a, .nav-trigger, .ct-redes-icons a,
    .site-topbar-redes a, .as-galeria-item, .tar-chip {
        min-height: 44px;
    }
    /* Desativa animação 'pulse' se utilizador prefere menos movimento */
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================================
   Mapa do site — listagem por secções
============================================================================ */
.mapa-site-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-bottom: 30px;
}
.mapa-site-secao {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
    box-shadow: var(--shadow);
}
.mapa-site-secao.mapa-site-secao-wide {
    grid-column: 1 / -1;
}
.mapa-site-secao h2 {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    color: var(--brand-dark);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 700;
}
.mapa-site-secao ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mapa-site-secao li {
    padding: 6px 0;
    display: flex; align-items: center; gap: 10px; justify-content: space-between;
}
.mapa-site-secao li a {
    color: var(--text);
    text-decoration: none;
    transition: color .15s ease, padding-left .18s ease;
    flex: 1;
    position: relative;
    padding-left: 14px;
}
.mapa-site-secao li a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 700;
    transition: transform .18s ease;
}
.mapa-site-secao li a:hover {
    color: var(--brand);
    padding-left: 18px;
}
.mapa-site-secao li a:hover::before {
    transform: translateX(2px);
}
.mapa-site-secao li small {
    flex: 0 0 auto;
    font-size: .78rem;
    color: var(--text-muted);
}
.mapa-site-secao p.small a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
}
.mapa-site-nota {
    text-align: center;
    margin-top: 24px;
    padding: 14px 18px;
    background: var(--brand-soft);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}
.mapa-site-nota code {
    background: #fff;
    padding: 2px 7px;
    border-radius: 5px;
    border: 1px solid var(--border);
    font-size: .88rem;
}

/* ============================================================================
   Ecopontos v2 — page-hero compacto, grid mapa|painel, legenda, info cards
============================================================================ */
.page-hero-compact { padding: 56px 0 44px; }
.page-hero-compact .page-hero-stats { margin-top: 24px; }
.section-tight { padding-top: 36px; padding-bottom: 56px; }
.lead-intro {
    max-width: 820px;
    color: var(--text-muted);
    font-size: 1.04rem;
    margin: 0 0 18px;
}

/* Grid principal: mapa à esquerda, painel à direita */
.ecop-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
    gap: 20px;
    align-items: start;
}
.ecop-map-col {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ecop-grid .ecop-map {
    height: 620px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin: 0;
}

/* Legenda inline abaixo do mapa */
.ecop-legend {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(15, 32, 39, .05);
}
.ecop-legend-title {
    font-size: .76rem;
    font-weight: 700;
    color: var(--brand-dark);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 8px;
}
.ecop-legend-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}
.ecop-legend-grid span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .86rem;
    color: var(--text);
}
.ecop-legend-grid i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}

/* Painel passo-a-passo */
.ecop-grid .ecop-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px 22px 20px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}
.ecop-panel-header-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--brand-soft);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
}
.ecop-panel-header-bar--alt { margin-top: 22px; }
.ecop-panel-step {
    width: 32px; height: 32px; flex: 0 0 auto;
    background: var(--brand);
    color: #fff;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(25, 110, 48, .25);
}
.ecop-panel-step-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--brand-dark);
    margin-bottom: 2px;
}
.ecop-grid .ecop-sel {
    font-weight: 700;
    color: var(--brand-dark);
    font-size: .98rem;
}
.ecop-grid .ecop-coords {
    color: var(--text-muted);
    font-size: .78rem;
    font-family: ui-monospace, Consolas, monospace;
    margin-top: 2px;
}

/* Howto cards (3 passos) — entre o intro e o mapa */
.ecop-howto {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 18px 0 24px;
}
.ecop-howto-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: linear-gradient(180deg, #f4faf6 0%, #fff 100%);
    border: 1px solid #e2ece5;
    border-radius: 14px;
    padding: 16px 18px;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ecop-howto-card:hover {
    transform: translateY(-2px);
    border-color: var(--brand);
    box-shadow: 0 10px 22px rgba(25, 110, 48, .08);
}
.ecop-howto-num {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(25, 110, 48, .25);
}
.ecop-howto-body h3 {
    margin: 0 0 4px;
    color: var(--brand-dark);
    font-size: .98rem;
    line-height: 1.25;
}
.ecop-howto-body p {
    margin: 0;
    color: var(--text-muted);
    font-size: .86rem;
    line-height: 1.45;
}
@media (max-width: 880px) {
    .ecop-howto { grid-template-columns: 1fr; gap: 10px; margin: 14px 0 20px; }
    .ecop-howto-card { padding: 12px 14px; gap: 12px; }
    .ecop-howto-num { flex-basis: 30px; width: 30px; height: 30px; font-size: .92rem; }
    .ecop-howto-body h3 { font-size: .94rem; }
    .ecop-howto-body p { font-size: .82rem; }
}

/* Info cards abaixo do mapa */
.ecop-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 36px;
}
.ecop-info-card {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 14px;
    padding: 22px 20px 18px;
    box-shadow: 0 6px 18px rgba(15, 32, 39, .04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ecop-info-card:hover {
    transform: translateY(-2px);
    border-color: var(--brand);
    box-shadow: 0 14px 32px rgba(15, 32, 39, .1);
}
.ecop-info-icone {
    width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    margin-bottom: 10px;
}
.ecop-info-icone svg { width: 24px; height: 24px; }
.ecop-info-card h3 {
    margin: 0 0 4px;
    color: var(--brand-dark);
    font-size: 1rem;
}
.ecop-info-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: .88rem;
    line-height: 1.5;
}

/* Breakpoint 1080px — empilha mas mantém densidade decente */
@media (max-width: 1080px) {
    .ecop-grid { grid-template-columns: 1fr; gap: 14px; }
    .ecop-grid .ecop-panel {
        position: static;
        max-height: none;
        padding: 18px 18px 16px;
    }
    .ecop-grid .ecop-map { height: 440px; }
    .ecop-info-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet pequeno / phone landscape — começa a compactar */
@media (max-width: 720px) {
    .ecop-grid .ecop-map { height: 380px; }

    /* Header bar do painel (passo "Local selecionado") mais compacto */
    .ecop-panel-header-bar { padding: 10px 12px; gap: 10px; margin-bottom: 10px; }
    .ecop-panel-header-bar--alt { margin-top: 16px; }
    .ecop-panel-step { width: 28px; height: 28px; font-size: .9rem; }
    .ecop-panel-step-label { font-size: .68rem; }

    /* Cards de contentor — mais densos */
    .ecop-cont { padding: 10px 12px; margin-bottom: 6px; }
    .ecop-cont-head { gap: 8px; margin-bottom: 4px; }
    .ecop-cont-tipo { font-size: .94rem; }
    .ecop-cont-state { padding: 2px 7px; font-size: .65rem; }
    .ecop-cont-meta { font-size: .72rem; margin-bottom: 5px; }
    .ecop-cont-stats { gap: 10px; font-size: .76rem; margin-bottom: 5px; }
    .ecop-cont-meter { height: 5px; }

    /* Form 2 cols → 1 col em mobile */
    .ecop-grid-2 { grid-template-columns: 1fr; gap: 8px; }

    /* Ações — mantém 3 colunas, mas compactas */
    .ecop-acoes { gap: 6px; }
    .ecop-act { padding: 10px 4px 8px; }
    .ecop-act-icon { width: 32px; height: 32px; margin-bottom: 2px; }
    .ecop-act-icon svg { width: 17px; height: 17px; }
    .ecop-act-label { font-size: .82rem; }
    .ecop-act-sub { font-size: .62rem; }

    /* Legenda inline mais compacta */
    .ecop-legend { padding: 10px 12px; }
    .ecop-legend-title { font-size: .7rem; margin-bottom: 6px; }
    .ecop-legend-grid { gap: 8px 12px; }
    .ecop-legend-grid span { font-size: .8rem; }

    /* Info cards (Papel/Embalagens/...) ficam mais densos */
    .ecop-info-card { padding: 16px 14px 14px; }
    .ecop-info-card h3 { font-size: .94rem; }
    .ecop-info-card p { font-size: .82rem; }
    .ecop-info-icone { width: 40px; height: 40px; margin-bottom: 8px; }
    .ecop-info-icone svg { width: 20px; height: 20px; }
}

/* Phone portrait — máxima compressão sem partir UX */
@media (max-width: 480px) {
    .ecop-grid .ecop-map { height: 320px; }
    .ecop-info-grid { grid-template-columns: 1fr; gap: 12px; }
    .page-hero-compact { padding: 36px 0 28px; }

    /* Painel ainda mais compacto */
    .ecop-grid .ecop-panel {
        padding: 14px 14px 12px;
        border-radius: 14px;
    }

    /* Hero stats 2 cols em vez de 4 */
    .page-hero-compact .page-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .page-hero-compact .page-hero-stats > div { padding: 10px 12px; }
    .page-hero-compact .page-hero-stats strong { font-size: 1.1rem; }
    .page-hero-compact .page-hero-stats span { font-size: .74rem; margin-top: 4px; }

    /* Stats do card de contentor em 2 linhas dedicadas */
    .ecop-cont-stats {
        flex-direction: column;
        gap: 2px;
        font-size: .76rem;
    }

    /* Ações: passa a 1 só linha de pills compactas (3 numa linha) */
    .ecop-acoes { grid-template-columns: repeat(3, 1fr); gap: 4px; }
    .ecop-act { padding: 8px 4px 6px; gap: 2px; }
    .ecop-act-icon { width: 28px; height: 28px; }
    .ecop-act-icon svg { width: 15px; height: 15px; }
    .ecop-act-label { font-size: .76rem; }
    .ecop-act-sub { display: none; } /* já estava em <420px, antecipa */

    /* Captcha + botões na mesma linha → coluna mais arejada */
    .ecop-actions { flex-direction: column; gap: 8px; align-items: stretch; }
    .ecop-actions .btn { width: 100%; }

    /* Status texto mais discreto */
    .ecop-status { text-align: center; font-size: .82rem; }
}

/* Phone muito pequeno */
@media (max-width: 360px) {
    .ecop-acoes { grid-template-columns: 1fr; }
    .ecop-act { flex-direction: row; justify-content: center; gap: 8px; padding: 10px; }
    .ecop-act-icon { margin-bottom: 0; }
    .ecop-act-sub { display: none; }
}

/* ============================================================================
   Rede de Ecopontos v2 — toolbar pill, result count, drawer header, CTA
============================================================================ */
.rede-toolbar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: var(--shadow);
    margin-bottom: 14px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
}
.rede-toolbar-icone {
    width: 42px; height: 42px;
    flex: 0 0 auto;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
}
.rede-toolbar-icone svg { width: 22px; height: 22px; }
.rede-toolbar-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px;
}
.rede-toolbar-actions {
    display: flex;
    gap: 8px;
}
.rede-result-count {
    color: var(--text-muted);
    font-size: .9rem;
    padding: 0 4px 12px;
    min-height: 22px;
}
.rede-result-count strong { color: var(--brand-dark); }

@media (max-width: 880px) {
    .rede-toolbar { grid-template-columns: 1fr; }
    .rede-toolbar-icone { display: none; }
    .rede-toolbar-actions { justify-content: stretch; }
    .rede-toolbar-actions .btn { flex: 1; }
}

/* Drawer head com cor de marca */
.rede-panel-head {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%) !important;
    color: #fff;
}
.rede-panel-title { color: #fff !important; }
.rede-panel-coords { color: rgba(255,255,255,.78) !important; }
.rede-panel-close {
    background: rgba(255,255,255,.16) !important;
    border-color: rgba(255,255,255,.22) !important;
    color: #fff !important;
    padding: 8px !important;
    display: inline-flex !important;
    align-items: center; justify-content: center;
}
.rede-panel-close:hover {
    background: rgba(255,255,255,.28) !important;
}

/* CTA card no fim da rede */
.rede-cta {
    margin-top: 22px;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    color: #fff;
    border-radius: 18px;
    padding: 26px 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    box-shadow: 0 12px 30px rgba(15, 32, 39, .15);
}
.rede-cta-body {
    display: flex;
    gap: 16px;
    align-items: center;
    flex: 1;
    min-width: 280px;
}
.rede-cta-icone {
    width: 52px; height: 52px;
    flex: 0 0 auto;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
}
.rede-cta-icone svg { width: 26px; height: 26px; }
.rede-cta strong { font-size: 1.05rem; }
.rede-cta p { margin: 4px 0 0; color: rgba(255,255,255,.86); line-height: 1.5; }
.rede-cta .btn {
    background: #fff;
    color: var(--brand-dark);
    border-color: #fff;
    font-weight: 700;
}
.rede-cta .btn:hover { background: #f4f7f5; color: var(--brand-dark); }
@media (max-width: 720px) {
    .rede-cta { padding: 22px 20px; }
    .rede-cta .btn { width: 100%; text-align: center; }
}

/* Legenda da rede — refinada */
.rede-legend {
    padding: 10px 12px;
    gap: 8px;
}
.rede-legend .legend-item {
    padding: 6px 12px;
    font-weight: 600;
}

/* ============================================================================
   Animações scroll-triggered (animations.js)
============================================================================ */
.reveal-init {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1);
    will-change: opacity, transform;
}
[data-reveal="left"].reveal-init  { transform: translateX(-24px); }
[data-reveal="right"].reveal-init { transform: translateX(24px); }
[data-reveal="zoom"].reveal-init  { transform: scale(.94); }
[data-reveal="fade"].reveal-init  { transform: none; }

.reveal-init.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Counter — usa tabular-nums para evitar saltos de largura */
.page-hero-stats strong,
[data-counter] {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

/* Respeita prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-init { opacity: 1 !important; transform: none !important; transition: none !important; }
    html { scroll-behavior: auto !important; }
}

/* Smooth scroll para anchors (#braga, #pedido, etc.) */
html { scroll-behavior: smooth; }
/* scroll-margin-top: deixa espaço para o header fixo quando saltas para um anchor */
:target,
[id^="braga"],
[id^="pedido"],
[id^="recolha"],
section[id] { scroll-margin-top: 90px; }

/* Barra de progresso de leitura (faixa fina no topo) */
.reading-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-light) 100%);
    z-index: 9999;
    transition: opacity .3s ease;
    box-shadow: 0 0 8px rgba(25, 110, 48, .35);
    pointer-events: none;
}

/* Botão voltar ao topo */
.back-to-top {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 44px; height: 44px;
    background: var(--brand);
    color: #fff;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    opacity: 0;
    transform: translateY(20px) scale(.85);
    transition: opacity .3s ease, transform .3s cubic-bezier(.2, .8, .2, 1), background .2s ease, box-shadow .2s ease;
    box-shadow: 0 8px 24px rgba(25, 110, 48, .35);
    pointer-events: none;
    z-index: 998;
}
.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.back-to-top:hover {
    background: var(--brand-dark);
    box-shadow: 0 14px 32px rgba(25, 110, 48, .45);
    transform: translateY(-2px) scale(1.05);
}
.back-to-top:focus-visible {
    outline: 2px solid var(--brand-light);
    outline-offset: 3px;
}
@media (max-width: 720px) {
    .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .back-to-top, .reading-progress { transition: none !important; }
}

/* Counter em tempo real */
.live-counter {
    display: inline-flex; align-items: center;
    gap: 12px; flex-wrap: wrap;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(6px);
    border-radius: 999px;
    padding: 10px 22px;
    margin: 20px auto 0;
    color: #fff;
    font-size: .95rem;
}
.hero .live-counter { /* na home, dentro do hero verde */
    align-self: center;
}
.live-counter-dot {
    width: 10px; height: 10px;
    background: #4ade80; /* verde claro pulsante */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, .8);
    animation: live-pulse 1.6s ease-out infinite;
}
@keyframes live-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); }
    70%  { box-shadow: 0 0 0 12px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.live-counter-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    opacity: .85;
}
.live-counter-value {
    font-size: 1.3rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    color: #fff;
    line-height: 1;
}
.live-counter-unit {
    font-size: .88rem;
    opacity: .85;
}
@media (max-width: 720px) {
    .live-counter { font-size: .85rem; padding: 9px 16px; }
    .live-counter-value { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .live-counter-dot { animation: none; }
}

/* Ciclo da economia circular */
.ciclo-section { padding-top: 60px; padding-bottom: 60px; }
.ciclo-wrap {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    aspect-ratio: 1;
}
.ciclo-svg {
    width: 100%; height: 100%;
    overflow: visible;
}
.ciclo-arcs {
    transform-origin: 160px 160px;
    animation: ciclo-rotate 24s linear infinite;
}
@keyframes ciclo-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.ciclo-step {
    position: absolute;
    background: #fff;
    border: 2px solid var(--c, var(--brand));
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 10px 28px rgba(15, 32, 39, .1);
    min-width: 150px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}
.ciclo-step:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 38px rgba(15, 32, 39, .18);
}
.ciclo-step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px;
    background: var(--c, var(--brand));
    color: #fff;
    border-radius: 50%;
    font-weight: 800;
    font-size: .9rem;
    margin-bottom: 6px;
}
.ciclo-step strong {
    display: block;
    color: var(--brand-dark);
    font-size: 1.02rem;
    margin-bottom: 2px;
}
.ciclo-step span:not(.ciclo-step-num) {
    display: block;
    color: var(--text-muted);
    font-size: .82rem;
    line-height: 1.4;
}
/* Posições — N E S W */
.ciclo-step-1 { top: -10px;  left: 50%; transform: translateX(-50%); }
.ciclo-step-2 { right: -10px; top: 50%; transform: translateY(-50%); }
.ciclo-step-3 { bottom: -10px; left: 50%; transform: translateX(-50%); }
.ciclo-step-4 { left: -10px;  top: 50%; transform: translateY(-50%); }

.ciclo-step-1:hover { transform: translate(-50%, -8px) scale(1.05); }
.ciclo-step-2:hover { transform: translate(8px, -50%) scale(1.05); }
.ciclo-step-3:hover { transform: translate(-50%, 8px) scale(1.05); }
.ciclo-step-4:hover { transform: translate(-8px, -50%) scale(1.05); }

@media (max-width: 720px) {
    .ciclo-wrap { max-width: 100%; aspect-ratio: auto; }
    .ciclo-svg { max-width: 280px; margin: 0 auto; display: block; }
    .ciclo-step,
    .ciclo-step-1, .ciclo-step-2, .ciclo-step-3, .ciclo-step-4 {
        position: static;
        transform: none !important;
        width: 100%;
        max-width: 320px;
        margin: 12px auto 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ciclo-arcs { animation: none; }
}


/* =================================================================
 * Modal de sucesso (lightbox pós-submissão de formulário)
 * ================================================================= */
.has-modal-open { overflow: hidden; }
.success-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.success-modal.is-open { display: flex; }
.success-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 32, 39, .55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: modalFadeIn .25s ease;
}
.success-modal-card {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 18px;
    padding: 36px 32px 28px;
    width: 100%;
    max-width: 460px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(15, 32, 39, .28);
    animation: modalPopIn .35s cubic-bezier(.34, 1.56, .64, 1);
}
.success-modal-close {
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, color .15s ease;
}
.success-modal-close:hover { background: var(--brand-soft); color: var(--brand-dark); }
.success-modal-icon {
    width: 76px; height: 76px;
    border-radius: 50%;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(25, 110, 48, .35);
    animation: iconPop .5s cubic-bezier(.34, 1.56, .64, 1) .15s both;
}
.success-modal-title {
    margin: 0 0 10px;
    font-size: 1.35rem;
    color: var(--brand-dark);
    letter-spacing: -0.01em;
    font-weight: 800;
    line-height: 1.25;
}
.success-modal-msg {
    margin: 0 0 22px;
    color: var(--text-muted);
    font-size: .98rem;
    line-height: 1.55;
}
.success-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.success-modal-actions .btn { min-width: 160px; }

@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPopIn {
    from { opacity: 0; transform: translateY(20px) scale(.95); }
    to   { opacity: 1; transform: translateY(0)    scale(1);   }
}
@keyframes iconPop {
    from { opacity: 0; transform: scale(.3); }
    to   { opacity: 1; transform: scale(1);  }
}
@media (prefers-reduced-motion: reduce) {
    .success-modal-backdrop,
    .success-modal-card,
    .success-modal-icon { animation: none; }
}
@media (max-width: 480px) {
    .success-modal-card { padding: 28px 22px 22px; border-radius: 16px; }
    .success-modal-title { font-size: 1.18rem; }
    .success-modal-actions .btn { min-width: 0; flex: 1 1 100%; }
}

/* Estado "inválido" em inputs (usado pelos form-helpers JS) */
.pedido-form input.is-invalid,
.pedido-form select.is-invalid,
.pedido-form textarea.is-invalid {
    border-bottom-color: var(--danger) !important;
    background: linear-gradient(180deg, transparent 0%, rgba(220, 38, 38, .04) 100%);
}
.pedido-form .form-row .form-err-msg {
    display: block;
    font-size: .78rem;
    color: var(--danger);
    margin-top: 4px;
    min-height: 0;
}

/* =================================================================
 * Página: Colocação de Ecoponto (pública)
 * ================================================================= */
.col-hero {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 60%, var(--brand-light) 100%);
}

.col-mapa-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 32, 39, .06);
}
.col-mapa-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: linear-gradient(180deg, #f6faf7 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border);
}
.col-mapa-coords {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    color: var(--text-muted);
}
.col-mapa-coords strong {
    font-family: ui-monospace, Consolas, monospace;
    color: var(--brand-dark);
    font-size: .92rem;
    background: var(--brand-soft);
    padding: 3px 10px;
    border-radius: 6px;
    margin: 0 4px;
}
.col-mapa-coords svg { color: var(--brand); }
.col-mapa-coords .muted-inline {
    font-size: .82rem;
    color: var(--text-muted);
    font-style: italic;
}
.col-coords-concelho {
    display: inline-block;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: .8rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    margin-left: 4px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.col-coords-err {
    color: #b30000;
    font-weight: 700;
}

/* Shake do mapa quando o utilizador tenta colocar fora dos 6 concelhos */
@keyframes colMapaShake {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-6px); }
    50%      { transform: translateX(6px); }
    75%      { transform: translateX(-4px); }
}
.col-mapa.col-mapa-shake {
    animation: colMapaShake .38s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
    .col-mapa.col-mapa-shake { animation: none; }
}

/* Botão "Usar a minha localização" — pill premium com gradiente */
.col-geoloc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
    color: #ffffff;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .01em;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(25, 110, 48, .28);
    transition: transform .18s ease, box-shadow .18s ease, background .25s ease;
    white-space: nowrap;
}
.col-geoloc-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(25, 110, 48, .38);
}
.col-geoloc-btn:active { transform: translateY(0); }
.col-geoloc-btn:disabled { opacity: .8; cursor: wait; }
.col-geoloc-btn .col-geoloc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    background: rgba(255, 255, 255, .22);
    border-radius: 50%;
}
.col-geoloc-btn.is-loading .col-geoloc-icon {
    animation: colGeoSpin .9s linear infinite;
}
.col-geoloc-btn.is-error {
    background: linear-gradient(135deg, #b30000 0%, #d63a3a 100%);
    box-shadow: 0 4px 12px rgba(179, 0, 0, .25);
}
@keyframes colGeoSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .col-geoloc-btn.is-loading .col-geoloc-icon { animation: none; }
}

/* Controlo de camadas do Leaflet (Ruas/Satélite) — pill toggler */
.col-mapa .leaflet-control-layers {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(15, 32, 39, .12);
    padding: 4px;
    margin-top: 12px;
    margin-right: 12px;
}
.col-mapa .leaflet-control-layers-list {
    display: flex;
    flex-direction: row;
    gap: 2px;
    padding: 0;
}
.col-mapa .leaflet-control-layers-base label {
    margin: 0;
    padding: 7px 14px;
    border-radius: 7px;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: background .15s ease, color .15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.col-mapa .leaflet-control-layers-base label:hover {
    background: var(--brand-soft);
    color: var(--brand-dark);
}
.col-mapa .leaflet-control-layers-base label input { display: none; }
.col-mapa .leaflet-control-layers-base label:has(input:checked) {
    background: var(--brand);
    color: #ffffff;
}
.col-mapa .leaflet-control-layers-separator { display: none; }
.col-mapa .leaflet-control-layers-base span { font-weight: inherit; }

.col-mapa {
    width: 100%;
    height: 460px;
    background: #e8f0eb;
}
.col-mapa-hint {
    font-size: .82rem;
    color: var(--text-muted);
    margin: 0;
    padding: 10px 16px;
    background: #fafbfa;
    border-top: 1px solid var(--border);
    font-style: italic;
}

/* Pino custom (verde com pulse) */
.col-pino-wrap { position: relative; }
.col-pino {
    position: relative;
    width: 40px; height: 50px;
    filter: drop-shadow(0 4px 6px rgba(15, 32, 39, .35));
}
.col-pino svg { width: 40px; height: 50px; display: block; }
.col-pino-pulse {
    position: absolute;
    left: 50%; bottom: 2px;
    width: 18px; height: 18px;
    margin-left: -9px;
    border-radius: 50%;
    background: rgba(25, 110, 48, .35);
    animation: colPinoPulse 1.6s ease-out infinite;
}
@keyframes colPinoPulse {
    0%   { transform: scale(.8); opacity: .8; }
    100% { transform: scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .col-pino-pulse { animation: none; }
}

.col-form-subtitle {
    margin: 26px 0 14px;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--brand);
    font-weight: 800;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--brand-soft);
}

@media (max-width: 600px) {
    .col-mapa { height: 360px; }
    .col-mapa-toolbar { flex-direction: column; align-items: stretch; }
    .col-mapa-coords { justify-content: center; }
}

/* Backoffice — mapa de pré-visualização */
.col-admin-mapa {
    width: 100%;
    height: 320px;
    border-radius: 10px;
    border: 1px solid var(--border, #e2e8f0);
    overflow: hidden;
}

/* =================================================================
 * Home: Pedidos de Autorização Online — secção destaque
 * ================================================================= */
.pedidos-aut-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 0% 0%, rgba(46, 156, 77, .25) 0%, transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(25, 110, 48, .35) 0%, transparent 50%),
        linear-gradient(135deg, var(--brand-dark) 0%, #11371d 60%, var(--brand) 100%);
    color: #ffffff;
    isolation: isolate;
}
.pedidos-aut-section > .container { position: relative; z-index: 2; }

/* Decoração de fundo (blobs animados + grelha subtil) */
.pedidos-aut-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}
.pedidos-aut-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
}
.pedidos-aut-blob-1 {
    width: 380px; height: 380px;
    top: -120px; right: -80px;
    background: radial-gradient(circle, var(--brand-light) 0%, transparent 70%);
    animation: pedAutFloat 14s ease-in-out infinite;
}
.pedidos-aut-blob-2 {
    width: 460px; height: 460px;
    bottom: -180px; left: -120px;
    background: radial-gradient(circle, #2bd07f 0%, transparent 70%);
    opacity: .35;
    animation: pedAutFloat 18s ease-in-out infinite reverse;
}
@keyframes pedAutFloat {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(30px, -20px); }
}
.pedidos-aut-grid-decor {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
            mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
}
@media (prefers-reduced-motion: reduce) {
    .pedidos-aut-blob { animation: none; }
}

/* Header da secção */
.pedidos-aut-header {
    max-width: 720px;
    margin: 0 auto 44px;
    text-align: center;
}
.pedidos-aut-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 18px;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.pedidos-aut-pill-dot {
    width: 8px; height: 8px;
    background: #5dffae;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(93, 255, 174, .25);
    animation: pedAutPulse 1.8s ease-in-out infinite;
}
@keyframes pedAutPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(93, 255, 174, .25); }
    50%      { box-shadow: 0 0 0 8px rgba(93, 255, 174, 0);   }
}
@media (prefers-reduced-motion: reduce) {
    .pedidos-aut-pill-dot { animation: none; }
}
.pedidos-aut-titulo {
    margin: 0 0 14px;
    font-size: clamp(1.8rem, 3.6vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -.02em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .18);
}
.pedidos-aut-sub {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .82);
    font-size: 1.05rem;
    line-height: 1.55;
}
.pedidos-aut-trust {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin-top: 8px;
    color: rgba(255, 255, 255, .72);
    font-size: .85rem;
    font-weight: 600;
}
.pedidos-aut-trust > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.pedidos-aut-trust svg { color: #5dffae; flex-shrink: 0; }

.pedidos-aut-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    position: relative;
    z-index: 2;
}
.pedido-aut-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e2ece5;
    border-radius: 18px;
    padding: 28px 26px 24px;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 8px 22px rgba(15, 32, 39, .05);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    overflow: hidden;
    isolation: isolate;
}
.pedido-aut-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(46, 156, 77, .12) 0%, transparent 55%);
    opacity: 0;
    transition: opacity .25s ease;
    z-index: -1;
}
.pedido-aut-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-dark) 0%, var(--brand) 45%, var(--brand-light) 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.pedido-aut-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-light);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
    text-decoration: none;
}
.pedido-aut-card:hover::before { opacity: 1; }
.pedido-aut-card:hover::after  { transform: scaleX(1); }

/* Número grande decorativo no canto superior direito */
.pedido-aut-num {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 2.6rem;
    font-weight: 900;
    color: rgba(25, 110, 48, .08);
    letter-spacing: -.02em;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    line-height: 1;
    pointer-events: none;
    transition: color .25s ease, transform .25s ease;
}
.pedido-aut-card:hover .pedido-aut-num {
    color: rgba(25, 110, 48, .18);
    transform: scale(1.1);
}

.pedido-aut-icone {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand-soft) 0%, #ffffff 100%);
    color: var(--brand);
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(25, 110, 48, .12);
    transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.pedido-aut-icone svg { width: 28px; height: 28px; }
.pedido-aut-card:hover .pedido-aut-icone {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
    color: #ffffff;
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 6px 16px rgba(25, 110, 48, .35);
}

.pedido-aut-card h3 {
    margin: 0;
    color: var(--brand-dark);
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.01em;
}
.pedido-aut-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: .94rem;
    line-height: 1.55;
    flex: 1;
}
.pedido-aut-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: var(--brand);
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .01em;
    transition: gap .2s ease;
}
.pedido-aut-ext {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px; height: 18px;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 800;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.pedido-aut-card:hover .pedido-aut-cta { gap: 10px; }
.pedido-aut-card:hover .pedido-aut-ext {
    background: var(--brand);
    color: #ffffff;
    transform: translate(2px, -2px);
}

@media (max-width: 880px) {
    .pedidos-aut-grid { grid-template-columns: 1fr; gap: 14px; }
    .pedido-aut-card { padding: 22px 20px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .pedido-aut-card,
    .pedido-aut-card::before,
    .pedido-aut-card::after,
    .pedido-aut-icone,
    .pedido-aut-cta,
    .pedido-aut-ext { transition: none; }
}
