﻿/* ===========================================================
   SOLUPRY Institutional Brand System (Generic, reusable)
   Typography: Inter
   Primary: #102A43
   Naming: kebab-case (no __)
   =========================================================== */

/* =========================
   1. Typography
   ========================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* =========================
   2. Tokens
   ========================= */
:root {
    /* Primary */
    --color-primary-900: #0B1F32;
    --color-primary-800: #0E253A;
    --color-primary-700: #102A43;
    --color-primary-600: #1B365D;
    --color-primary-100: #DCE8F3;
    --color-primary-075: #E6EFF6;
    --color-primary-050: #F1F6FB;
    /* Accent */
    --color-accent-dark: #0F8F74;
    --color-accent-base: #17B897;
    /* Neutral */
    --color-neutral-900: #1A202C;
    --color-neutral-700: #4A5568;
    --color-neutral-200: #E2E8F0;
    --color-neutral-100: #F7FAFC;
    /* Global */
    --color-background: var(--color-neutral-100);
    --color-text-primary: var(--color-neutral-900);
    --color-text-secondary: var(--color-neutral-700);
    --font-family-base: 'Inter', sans-serif;
    /* Layout */
    --header-height: 72px;
    --container-max: 1200px;
    /* Spacing scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
}

/* =========================
   3. Reset / Base
   ========================= */
html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: var(--font-family-base);
    background-color: var(--color-background);
    color: var(--color-text-primary);
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================
   4. Layout
   ========================= */
.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
    padding-top: var(--header-height); /* header fixo */
}

/* Container único */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* =========================
   5. Typography scale
   ========================= */
h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 1rem 0;
    letter-spacing: -0.7px;
}

h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.4px;
}

h3 {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

p {
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 1rem 0;
    color: var(--color-text-primary);
}

small {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* =========================
   6. Buttons
   ========================= */

/* Base: all buttons share the same sizing and behavior */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Unified sizing */
    padding: 10px 18px;
    min-height: 44px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    line-height: 1;
    gap: 10px;
    white-space: nowrap;
    transition: transform 0.15s ease, background-color 0.15s ease, opacity 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

/* Primary */
.btn-primary {
    background-color: var(--color-accent-base);
    color: #fff;
    border: 0;
}

    .btn-primary:hover {
        background-color: var(--color-accent-dark);
    }

/* Secondary = OUTLINE WHITE (for dark backgrounds / hero) */
.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255,255,255,0.85);
}

    .btn-secondary:hover {
        background-color: rgba(255,255,255,0.12);
        border-color: #ffffff;
    }

/* Outline Primary (Blue) */
.btn-outline-primary {
    background-color: transparent;
    color: var(--color-primary-800);
    border: 1.5px solid var(--color-primary-800);
}

    .btn-outline-primary:hover {
        background-color: var(--color-primary-800);
        color: #ffffff;
    }

/* =========================
   7. Sections (generic)
   ========================= */
.section {
    padding: 5rem 0;
}

.section-soft {
    background-color: var(--color-neutral-100);
    padding: 5rem 0;
}

.section-light {
    background-color: #fff;
    padding: 5rem 0;
}

/* =========================
   8. Header (Institutional)
   ========================= */
.institutional-header {
    background-color: var(--color-primary-900);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: auto;
    object-fit: contain;
}

.logo-img-full {
    height: clamp(36px, 3vw, 48px);
}

.logo-img-mark {
    height: clamp(32px, 3vw, 44px);
    display: none;
}

@media (max-width: 991.98px) {
    .logo-img-full {
        display: none;
    }

    .logo-img-mark {
        display: block;
    }
}

/* =========================
   Header nav – responsive + active state
   ========================= */

/* Make sure base state is deterministic */
.nav-desktop {
    display: none !important;
}

.nav-mobile {
    display: block !important;
}

@media (min-width: 992px) {
    .nav-desktop {
        display: block !important;
    }

    .nav-mobile {
        display: none !important;
    }
}

/* Nav links */
.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 700;
    padding: 8px 2px;
    transition: color 0.2s ease;
}

    .nav-link:hover {
        color: #fff;
    }

/* Active = green text + underline */
.nav-link-active {
    color: var(--color-accent-base) !important;
}

    .nav-link-active::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -10px;
        height: 3px;
        border-radius: 999px;
        background: var(--color-accent-base);
    }

/* Mobile drawer: keep same active language, but with better tap area */
.mobile-drawer-nav .nav-link {
    padding: 12px 12px;
    border-radius: 12px;
    color: rgba(255,255,255,0.92);
}

    .mobile-drawer-nav .nav-link:hover {
        background-color: rgba(255,255,255,0.08);
        color: #fff;
    }

/* Mobile active underline should not “float” too low inside button area */
.mobile-drawer-nav .nav-link-active::after {
    bottom: 6px;
    left: 12px;
    right: 12px;
}

/* =========================
   8.1 Mobile Drawer
   ========================= */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 2000;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 85vw);
    background-color: var(--color-primary-900);
    color: #fff;
    z-index: 2001;
    padding: 1.25rem;
    box-shadow: -8px 0 24px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.mobile-drawer-title {
    font-weight: 700;
    letter-spacing: 0.3px;
}

.mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .mobile-drawer-nav .nav-link {
        color: rgba(255,255,255,0.92);
        padding: 10px 12px;
        border-radius: 10px;
    }

        .mobile-drawer-nav .nav-link:hover {
            background-color: rgba(255,255,255,0.08);
            color: #fff;
        }

        .mobile-drawer-nav .nav-link.active {
            background-color: rgba(23, 184, 151, 0.18);
            border: 1px solid rgba(23, 184, 151, 0.55);
            color: #fff;
        }

/* =========================
   9. Footer (Institutional)
   ========================= */
.institutional-footer {
    background-color: var(--color-primary-900);
    color: rgba(255,255,255,0.92);
    padding: 3rem 0 1.5rem 0;
}

    .institutional-footer .container {
        padding-left: clamp(1.5rem, 3vw, 3rem);
        padding-right: clamp(1.5rem, 3vw, 3rem);
    }

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
    align-items: start;
}

.footer-brand {
    max-width: 440px;
    padding-right: 1rem;
}

.footer-logo-img {
    height: 110px;
    width: auto;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    margin-top: 0.85rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.65;
    font-size: 14px;
}

.footer-meta {
    margin-top: 0.85rem;
    color: rgba(255,255,255,0.60);
    font-size: 13px;
}

.footer-title {
    margin: 0 0 0.9rem 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
}

.footer-title-pt {
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    text-transform: none;
    letter-spacing: 0;
    margin-left: 6px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

    .footer-link:hover {
        color: #fff;
    }

.footer-text {
    color: rgba(255,255,255,0.70);
    font-size: 13px;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.10);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-bottom-text {
    color: rgba(255,255,255,0.58);
    font-size: 13px;
}

@media (max-width: 991.98px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        max-width: 100%;
    }
}

/* =========================
   10. Content helpers (generic)
   ========================= */
.page {
    padding: 3rem 0 5rem 0;
}

.card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: clamp(1.5rem, 3vw, 3rem);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.prose {
    max-width: 920px;
    margin: 0 auto;
}

    .prose p {
        font-size: 17px;
        line-height: 1.9;
        margin: 0 0 0.9rem 0;
    }

.quote {
    margin: 1.75rem 0;
    padding: 1.25rem 1.25rem;
    border-left: 4px solid var(--color-accent-base);
    background: rgba(16, 185, 129, 0.06);
    border-radius: 10px;
}

.divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: 1.75rem 0;
}

/* Bullet do hero-proof (novo) */
.hero-proof-divider {
    color: rgba(255,255,255,0.35);
    padding: 0 6px;
}

/* =========================
   10.1 Hero (generic)
   ========================= */

/* Base hero has institutional gradient (fixes Manifesto hero background) */
.hero {
    position: relative;
    color: #fff;
    width: 100%;
    background: linear-gradient(180deg, var(--color-primary-900) 0%, #0a2236 100%);
    overflow: hidden;
    /* torna a centralização determinística */
    display: flex;
}

/* Reduced vertical footprint for non-carousel heroes */
.hero--lg {
    min-height: 520px;
}
/* carousel uses this + Radzen height control */
.hero--md {
    min-height: 320px;
}
/* manifesto / internal: smaller */
.hero--sm {
    min-height: 260px;
}
/* small internal */

/* Background image helper */
.hero--bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(10, 34, 54, 0.88) 0%, rgba(10, 34, 54, 0.65) 55%, rgba(10, 34, 54, 0.45) 100% );
}

/* Inner always fills hero and centers vertically */
.hero-inner {
    position: relative;
    z-index: 2;
    /* preenche o hero inteiro */
    flex: 1;
    width: 100%;
    /* centraliza verticalmente de verdade */
    display: flex;
    align-items: center;
    /* mantém alinhamento padrão à esquerda */
    justify-content: flex-start;
    /* padding menor e responsivo (não “puxa” o centro) */
    padding: clamp(1.25rem, 2.5vw, 2rem) 0;
}

.hero-kicker {
    margin: 0 0 1rem 0;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.78);
}

    .hero-kicker span {
        font-weight: 500;
        text-transform: none;
        letter-spacing: 0;
        margin-left: 8px;
        color: rgba(255,255,255,0.70);
    }

.hero-title {
    margin: 0;
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.8px;
}

.hero-subtitle {
    margin-top: 1.15rem;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.86);
    max-width: 820px;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-proof {
    margin-top: 1.4rem;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    color: rgba(255,255,255,0.72);
    font-size: 13px;
}

    .hero-proof .divider {
        color: rgba(255,255,255,0.35);
    }

/* =========================
   11. Hero Carousel (Radzen) – full width
   ========================= */

/* Full-bleed wrapper */
.hero-carousel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}

    /* Force Radzen structure full width */
    .hero-carousel .rz-carousel,
    .hero-carousel .rz-carousel-items,
    .hero-carousel .rz-carousel-item,
    .hero-carousel .rz-carousel-items > li {
        width: 100% !important;
    }

        /* Height control (carousel only) */
        .hero-carousel .rz-carousel,
        .hero-carousel .rz-carousel-items,
        .hero-carousel .rz-carousel-item,
        .hero-carousel .rz-carousel-items > li {
            height: 80vh !important;
            min-height: 520px !important;
        }

    /* Ensure list stretches */
    .hero-carousel .rz-carousel-items {
        display: flex !important;
        align-items: stretch !important;
    }

        /* Each item fill */
        .hero-carousel .rz-carousel-item,
        .hero-carousel .rz-carousel-items > li {
            flex: 0 0 100% !important;
            max-width: 100% !important;
        }

            /* The slide content must fill */
            .hero-carousel .rz-carousel-item > *,
            .hero-carousel .rz-carousel-items > li > * {
                height: 100% !important;
                width: 100% !important;
            }

    /* Slides are heroes */
    .hero-carousel .hero {
        height: 100% !important;
        min-height: 100% !important;
        width: 100% !important;
    }

    /* Carousel: center the CONTENT block (not the whole 1200px container) */
    .hero-carousel .hero-inner {
        justify-content: center;
    }

        /* The content block inside the hero (carousel only) */
        .hero-carousel .hero-inner .container {
            /* keep left text alignment */
            text-align: left;
            /* IMPORTANT: make the content block narrower so it sits visually centered */
            max-width: 920px; /* ajuste fino: 880 / 920 / 980 */
            width: 100%;
            /* allow centering behavior */
            margin-left: auto;
            margin-right: auto;
        }


/* =========================
   12. Home blocks (feature/layers/axes/cta)
   ========================= */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 1.75rem;
}

.feature-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 14px 28px rgba(0,0,0,0.06);
}

    .feature-card h3 {
        margin: 0 0 0.4rem 0;
        font-size: 18px;
    }

    .feature-card p {
        margin: 0;
        color: var(--color-text-secondary);
    }

.layers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 1.75rem;
}

.layer-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 14px 28px rgba(0,0,0,0.06);
    position: relative;
}

.layer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 28px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 12px;
    color: #fff;
    background: var(--color-primary-700);
    margin-bottom: 0.75rem;
}

.layer-card h3 {
    margin: 0 0 0.4rem 0;
    font-size: 18px;
}

.layer-card p {
    margin: 0;
    color: var(--color-text-secondary);
}

.axes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 1.75rem;
}

.axis-card {
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 1.1rem;
    box-shadow: 0 14px 28px rgba(0,0,0,0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .axis-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 36px rgba(0,0,0,0.08);
    }

    .axis-card h3 {
        margin: 0 0 0.35rem 0;
        font-size: 16px;
        color: var(--color-text-primary);
    }

    .axis-card p {
        margin: 0;
        color: var(--color-text-secondary);
        font-size: 14px;
        line-height: 1.6;
    }

.cta-panel {
    background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .layers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .axes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .layers-grid {
        grid-template-columns: 1fr;
    }

    .axes-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   13. Forms (generic)
   ========================= */

.form-grid {
    display: grid;
    gap: 16px;
}

.form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-span-2 {
    grid-column: 1 / -1;
}

@media (max-width: 900px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4px;
    color: var(--color-text-primary);
}

.form-input {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(16, 42, 67, 0.15);
    background: #ffffff;
    font-family: var(--font-family-base);
    font-size: 15px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

    .form-input:focus {
        border-color: var(--color-accent-base);
        box-shadow: 0 0 0 4px rgba(23, 184, 151, 0.12);
    }

.form-actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* =========================
   6. Buttons — enforce consistency for <button>
   ========================= */
button.btn {
    border: 0;
    cursor: pointer;
    font-family: var(--font-family-base);
    border-radius: 12px;
}

/* =========================
   Surfaces
   ========================= */

.surface-soft {
    background: var(--color-primary-100);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: 16px;
}

.surface-soft--tight {
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.surface-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--color-text-primary);
}

.surface-actions {
    margin-top: 14px;
}

/* =========================
   Typography helper
   ========================= */

.page-lead {
    margin: 0 0 18px 0;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* =========================
   Info Grid (generic)
   ========================= */
.info-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr 1.1fr;
    align-items: start;
    margin-top: 4px;
}

@media (max-width: 991.98px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Card helpers (generic)
   ========================= */
.card--compact {
    padding: 20px;
}

.card-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--color-text-primary);
}

.card-text {
    margin: 0 0 14px 0;
    color: rgba(0,0,0,0.72);
    line-height: 1.6;
}

.card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* =========================
   Icon List (generic)
   ========================= */
.icon-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
}

.icon-list-item {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: start;
}

.icon-list-icon {
    font-size: 20px;
    line-height: 1;
    color: var(--color-accent-base);
    margin-top: 2px;
}

.icon-list-link {
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 700;
}

    .icon-list-link:hover {
        text-decoration: underline;
    }

.icon-list-text {
    color: rgba(0,0,0,0.74);
    line-height: 1.5;
}

/* =========================
   Map Embed (generic)
   ========================= */
.map-embed {
    padding: 0;
    overflow: hidden;
}

    .map-embed iframe {
        width: 100%;
        height: 320px;
        border: 0;
        display: block;
    }

@media (max-width: 991.98px) {
    .map-embed iframe {
        height: 300px;
    }
}

/* =========================
   WhatsApp Button
   ========================= */

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: #ffffff;
    border: 0;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .btn-whatsapp:hover {
        background-color: #1ebe5b;
        transform: translateY(-1px);
    }

/* =========================
   Media Split (generic)
   ========================= */
.media-split {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr;
    gap: 22px;
    align-items: center;
}

@media (max-width: 991.98px) {
    .media-split {
        grid-template-columns: 1fr;
    }
}

.media-split-content h3 {
    margin-top: 0;
}

.media-split-visual {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.media-frame {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

    .media-frame img {
        width: 100%;
        height: auto;
        display: block;
    }

.media-caption {
    margin: 0;
    font-size: 13px;
    color: rgba(0,0,0,0.62);
    line-height: 1.5;
}

/* =========================
   Cards Grid (generic)
   ========================= */
.cards-grid {
    display: grid;
    gap: 18px;
    margin-top: 1.75rem;
    /* Auto-fit prevents horizontal scroll by adapting columns */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Generic card variation for "solution" style blocks */
.cards-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 14px 28px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.cards-card-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--color-text-primary);
    display: flex;
    gap: 10px;
    align-items: center;
}

.cards-card-text {
    margin: 0;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Keep action always at bottom */
.cards-card-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Icon accent (institutional green) */
.icon-accent {
    color: var(--color-accent-base);
}

/* Button helper when used inside cards */
.btn-card {
    width: 100%;
    justify-content: center;
}

/* =========================
   Content Cards (generic)
   ========================= */

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 1.75rem;
}

@media (max-width: 1100px) {
    .content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

.content-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    min-width: 0; /* evita overflow em grids */
}

.content-card-media {
    background: var(--color-primary-050);
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

    .content-card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.content-card-body {
    padding: 16px 16px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.content-card-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: rgba(0,0,0,0.55);
}

.content-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.content-card-text {
    margin: 0;
    color: rgba(0,0,0,0.72);
    line-height: 1.65;
}

.content-card-actions {
    padding: 0 16px 16px 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

/* =========================
   Article List (generic)
   ========================= */

.article-row {
    padding: 28px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

    .article-row:last-child {
        border-bottom: 0;
    }

.article-meta {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-title {
    margin: 6px 0 10px 0;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.article-summary {
    margin: 0 0 14px 0;
    color: rgba(0,0,0,0.72);
    line-height: 1.7;
}

.article-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.article-image img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

/* =========================
   Article Intro Grid
   ========================= */

.article-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 28px;
}

.article-intro-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-intro-toc {
    height: 100%;
}

/* Responsivo */
@media (max-width: 980px) {
    .article-intro-grid {
        grid-template-columns: 1fr;
    }

    .article-intro-media {
        order: -1;
    }
}

/* ===========================================================
   Object: Split (2-column layout)
   =========================================================== */

.o-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .o-split {
        grid-template-columns: 1fr;
    }
}

/* ===========================================================
   Object: Card
   =========================================================== */

.o-card {
    background: #fff;
    border: 1px solid rgba(11, 31, 50, 0.10);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(11, 31, 50, 0.06);
}

/* ===========================================================
   Object: TOC (Table of contents)
   =========================================================== */

.o-toc {
    padding: 20px;
}

.o-toc__title {
    margin: 0 0 12px 0;
}

.o-toc__list {
    margin: 0;
    padding-left: 18px;
}

    .o-toc__list a {
        text-decoration: none;
    }

        .o-toc__list a:hover {
            text-decoration: underline;
        }

.o-anchor {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

/* ===========================================================
   Object: Media (image block)
   =========================================================== */

.o-media {
    overflow: hidden;
}

    .o-media img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

@media (max-width: 900px) {
    .o-media img {
        height: 260px;
    }
}

/* ==========================================================
   SOLUPRY – Cookie Consent (Aligned with Site Buttons)
   ========================================================== */

/* Banner */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    padding: 18px 0;
    background: rgba(10, 20, 30, 0.98);
    color: #fff;
    border-top: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
}

.cookie-consent__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cookie-consent__text {
    flex: 1;
    font-size: 0.96rem;
    line-height: 1.5;
}

    .cookie-consent__text strong {
        font-weight: 700;
    }

    .cookie-consent__text a {
        color: inherit; /* mantém coerência com texto */
        text-decoration: underline;
        text-underline-offset: 3px;
        opacity: 0.95;
    }

.cookie-consent__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

    .cookie-consent__actions .btn {
        white-space: nowrap;
    }

/* Reopen button */
.cookie-consent__reopen {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 9998;
}

/* Modal backdrop */
.cookie-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 10000;
}

/* Modal */
.cookie-modal {
    position: fixed;
    left: 50%;
    bottom: 92px;
    transform: translateX(-50%);
    width: min(720px, calc(100% - 28px));
    background: #fff;
    color: #111;
    z-index: 10001;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

.cookie-modal__header,
.cookie-modal__footer {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #f7f7f7;
}

.cookie-modal__body {
    padding: 16px;
    display: grid;
    gap: 12px;
}

.cookie-modal__close {
    border: 0;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}

/* Cookie settings blocks */
.cookie-setting {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 12px;
    display: grid;
    gap: 6px;
}

.cookie-setting__title {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-setting__desc {
    color: rgba(0,0,0,0.70);
    font-size: 0.95rem;
}

.cookie-setting__control {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .cookie-setting__control input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: currentColor; /* segue tema do sistema */
    }

/* Badge */
.badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(16,42,67,0.10);
    color: #102A43;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Prevent footer overlap when banner is visible */
body.cookie-banner-active {
    padding-bottom: 92px;
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 768px) {

    .cookie-consent__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .cookie-consent__actions {
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    body.cookie-banner-active {
        padding-bottom: 128px;
    }
}