/* ==========================================================================
   Instituto Blue Educação e Cultura — Complete Unified Design System
   Matches 100% the brand identity with high-end editorial polish
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600;1,700;1,800&display=swap');

:root {
    --ib-font: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Palette */
    --ib-navy: #0b1e3f;
    --ib-navy-deep: #061226;
    --ib-navy-light: #152d57;
    --ib-blue: #1d5cb8;
    --ib-blue-bright: #2575fc;
    --ib-blue-icon: #1d5cb8;
    --ib-blue-pale: #edf5fd;
    --ib-gold: #c59247;
    --ib-gold-dark: #a87932;
    --ib-gold-light: #f7eedb;
    --ib-gold-pale: #fdfaf2;
    --ib-cream: #faf8f5;
    --ib-cream-dark: #f0ece3;
    --ib-white: #ffffff;
    --ib-text-dark: #0b1e3f;
    --ib-text-body: #475569;
    --ib-text-light: #64748b;
    --ib-text-muted: #94a3b8;
    --ib-border: #edf0f5;
    --ib-border-dark: #cbd5e1;
    --ib-border-gold: rgba(197, 146, 71, 0.35);

    /* Sizing & Radii */
    --ib-container-w: 1180px;
    --ib-container-px: 20px;
    --ib-radius-sm: 6px;
    --ib-radius-md: 10px;
    --ib-radius-lg: 16px;
    --ib-radius-xl: 20px;
    --ib-radius-pill: 9999px;
    --ib-radius-full: 9999px;
    --ib-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --ib-shadow-sm: 0 2px 8px rgba(11, 30, 63, 0.04);
    --ib-shadow: 0 8px 24px rgba(11, 30, 63, 0.06);
    --ib-shadow-lg: 0 16px 40px rgba(11, 30, 63, 0.1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--ib-font);
    font-size: 1.45rem;
    line-height: 1.6;
    color: var(--ib-text-body);
    background-color: var(--ib-white);
    overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all var(--ib-transition); }
ul { list-style: none; }

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

/* Strict SVG sizing */
svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ============================================================
   HEADER & NAVBAR
   ============================================================ */
.ib-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transition: all var(--ib-transition);
    border-bottom: 1px solid rgba(11, 30, 63, 0.06);
}
.ib-header.scrolled {
    box-shadow: 0 4px 18px rgba(11, 30, 63, 0.05);
}
.ib-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}
.ib-logo-link {
    display: flex;
    align-items: center;
}
.ib-logo-img {
    height: 44px;
    width: auto;
}
.ib-nav-list {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}
.ib-nav-link {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ib-navy);
    padding: 0.4rem 0.2rem;
    position: relative;
}
.ib-nav-link:hover,
.ib-nav-link.active {
    color: var(--ib-blue-bright);
}
.ib-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0; right: 0;
    height: 2.5px;
    background: var(--ib-gold);
    border-radius: 2px;
}

/* Buttons */
.ib-btn-cta {
    background: var(--ib-gold);
    color: var(--ib-navy);
    font-family: var(--ib-font);
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 1rem 2.2rem;
    border-radius: var(--ib-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all var(--ib-transition);
}
.ib-btn-cta:hover {
    background: var(--ib-gold-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(197, 146, 71, 0.35);
}

.ib-btn-navy {
    background: var(--ib-navy);
    color: var(--ib-white);
    font-family: var(--ib-font);
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 1.1rem 2.2rem;
    border-radius: var(--ib-radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    border: none;
    transition: all var(--ib-transition);
}
.ib-btn-navy:hover {
    background: var(--ib-navy-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(11, 30, 63, 0.25);
}

.ib-btn-outline {
    background: transparent;
    color: var(--ib-navy);
    border: 2px solid var(--ib-navy);
    font-family: var(--ib-font);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.9rem 2rem;
    border-radius: var(--ib-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--ib-transition);
}
.ib-btn-outline:hover {
    background: var(--ib-navy);
    color: var(--ib-white);
}

/* Mobile Toggle */
.ib-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.ib-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ib-navy);
    border-radius: 2px;
    transition: all var(--ib-transition);
}
.ib-mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.ib-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.ib-mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.ib-mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--ib-white);
    z-index: 999;
    padding: 90px var(--ib-container-px) 2rem;
    overflow-y: auto;
}
.ib-mobile-menu.active { display: block; }
.ib-mobile-nav-list li a {
    display: block;
    padding: 1.4rem 0;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ib-navy);
    border-bottom: 1px solid var(--ib-border);
}

/* ============================================================
   HOME PAGE: HERO SECTION
   ============================================================ */
.ib-hero {
    position: relative;
    padding: 110px 0 55px;
    background: #ffffff;
    overflow: hidden;
}
.ib-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 3.5rem;
    align-items: center;
}
.ib-hero-content {
    padding-right: 1.5rem;
    z-index: 2;
}
.ib-hero-title {
    font-family: var(--ib-font);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}
.ib-hero-title .ib-line-navy {
    display: block;
    color: var(--ib-navy);
}
.ib-hero-title .ib-line-gold {
    display: block;
    color: var(--ib-gold);
}
.ib-hero-subtitle {
    font-size: 1.65rem;
    line-height: 1.55;
    color: var(--ib-text-body);
    max-width: 440px;
    font-weight: 500;
}
.ib-hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 146, 71, 0.12);
    border: 1px solid rgba(197, 146, 71, 0.35);
    color: #9a6b22;
    padding: 0.6rem 1.6rem;
    border-radius: 9999px !important;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 1.8rem;
}
.ib-hero-badge-pill .ib-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.ib-hero-actions {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin-top: 2.8rem;
    flex-wrap: wrap;
}
.ib-hero-image-wrap {
    position: relative;
    z-index: 1;
}
.ib-hero-image-wrap img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: center 25%;
    border-radius: var(--ib-radius-xl);
    box-shadow: 0 14px 36px rgba(11, 30, 63, 0.09);
}

/* ============================================================
   HOME PAGE: FLOATING STATS BAR
   ============================================================ */
.ib-stats-wrap {
    position: relative;
    z-index: 10;
    margin-top: -38px;
    margin-bottom: 45px;
}
.ib-stats-box {
    background: var(--ib-white);
    border-radius: var(--ib-radius-lg);
    box-shadow: 0 8px 28px rgba(11, 30, 63, 0.07);
    border: 1px solid #edf0f6;
    padding: 1.8rem 2.8rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}
.ib-stat-item {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 0.3rem 1.2rem;
    border-right: 1px solid var(--ib-border);
}
.ib-stat-item:last-child {
    border-right: none;
}
.ib-stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ib-stat-icon svg {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    stroke: var(--ib-blue-icon);
    stroke-width: 1.6;
    fill: none;
}
.ib-stat-number {
    font-family: var(--ib-font);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--ib-navy);
    line-height: 1.1;
}
.ib-stat-label {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ib-gold);
    margin-top: 2px;
}

/* ============================================================
   HOME PAGE: SECTION ACREDITAMOS
   ============================================================ */
/* ============================================================
   HOME PAGE: SECTION ACREDITAMOS (SEAMLESS SLANTED PANELS BANNER)
   ============================================================ */
.ib-believe-section {
    padding: 25px 0 65px;
    background: #ffffff;
}
.ib-believe-banner {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1.25fr 1fr;
    height: 300px;
    max-height: 300px;
    background: var(--ib-white);
    border-radius: var(--ib-radius-lg);
    box-shadow: 0 10px 32px rgba(11, 30, 63, 0.07);
    border: 1px solid #edf0f6;
    overflow: hidden;
    position: relative;
}
.ib-believe-pane-text {
    height: 300px;
    background: #ffffff;
    padding: 3rem 3.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 4;
    clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
    margin-right: -24px;
    box-sizing: border-box;
}
.ib-believe-pane-text .ib-accent-bar {
    width: 38px;
    height: 3.5px;
    background: var(--ib-gold);
    margin-bottom: 1.5rem;
    border-radius: 2px;
    flex-shrink: 0;
}
.ib-believe-pane-text .ib-believe-title {
    font-family: var(--ib-font);
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--ib-navy);
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
}
.ib-believe-pane-text .ib-believe-text {
    font-size: 1.35rem;
    line-height: 1.55;
    color: var(--ib-text-body);
    margin-bottom: 1.8rem;
    max-width: 340px;
}
.ib-believe-pane-img {
    height: 300px;
    max-height: 300px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}
.ib-believe-pane-img-1 {
    z-index: 3;
    clip-path: polygon(26px 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
    margin-right: -24px;
}
.ib-believe-pane-img-2 {
    z-index: 2;
    clip-path: polygon(26px 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
    margin-right: -24px;
}
.ib-believe-pane-img-3 {
    z-index: 1;
    clip-path: polygon(26px 0, 100% 0, 100% 100%, 0 100%);
}
.ib-believe-pane-img img {
    width: 100% !important;
    height: 300px !important;
    max-height: 300px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.4s ease;
}
.ib-believe-pane-img:hover img {
    transform: scale(1.04);
}

.ib-pilares-section {
    padding: 50px 0 75px;
    background: #ffffff;
    border-top: 1px solid var(--ib-border);
}
.ib-pilares-header {
    text-align: center;
    margin-bottom: 4rem;
}
.ib-pilares-title {
    font-family: var(--ib-font);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--ib-navy);
}
.ib-pilares-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}
.ib-pilar-card {
    background: var(--ib-white);
    padding: 1.5rem 1.8rem;
    text-align: left;
    border-right: 1px solid var(--ib-border);
    transition: all var(--ib-transition);
}
.ib-pilar-card:last-child {
    border-right: none;
}
.ib-pilar-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.ib-pilar-icon svg {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    stroke: var(--ib-navy);
    stroke-width: 1.6;
    fill: none;
}
.ib-pilar-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--ib-navy);
    margin-bottom: 0.6rem;
}
.ib-pilar-desc {
    font-size: 1.28rem;
    line-height: 1.5;
    color: var(--ib-text-body);
}

/* ============================================================
   INTERNAL PAGE HERO (PREMIUM UPGRADE)
   ============================================================ */
.ib-page-hero {
    position: relative;
    padding: 130px 0 65px;
    background: linear-gradient(135deg, var(--ib-navy-deep) 0%, var(--ib-navy) 60%, var(--ib-navy-light) 100%);
    color: var(--ib-white);
    overflow: hidden;
}
.ib-page-hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(197, 146, 71, 0.12) 0%, rgba(11, 30, 63, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}
.ib-page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.4rem;
    background: rgba(197, 146, 71, 0.15);
    border: 1px solid rgba(197, 146, 71, 0.35);
    border-radius: var(--ib-radius-pill);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ib-gold);
    margin-bottom: 1.6rem;
}
.ib-page-hero-title {
    font-size: 4.4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ib-white);
    margin-bottom: 1.2rem;
}
.ib-page-hero-subtitle {
    font-size: 1.7rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    font-weight: 400;
}
.ib-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}
.ib-breadcrumb a { color: var(--ib-gold); }
.ib-breadcrumb a:hover { color: var(--ib-white); }

/* ============================================================
   SECTIONS & ACCENTS
   ============================================================ */
.ib-section { padding: 80px 0; }
.ib-section-white { background: var(--ib-white); }
.ib-section-cream { background: var(--ib-cream); }
.ib-section-navy { background: var(--ib-navy); color: var(--ib-white); }

.ib-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 5rem;
}
.ib-section-label {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ib-gold);
    margin-bottom: 1rem;
}
.ib-section-title {
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--ib-navy);
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.ib-section-navy .ib-section-title { color: var(--ib-white); }
.ib-section-subtitle {
    font-size: 1.6rem;
    color: var(--ib-text-body);
    margin-top: 1rem;
    line-height: 1.65;
}
.ib-section-navy .ib-section-subtitle { color: rgba(255, 255, 255, 0.75); }

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.ib-feature-card {
    background: var(--ib-white);
    border: 1px solid var(--ib-border);
    border-radius: var(--ib-radius-lg);
    padding: 3.5rem;
    box-shadow: var(--ib-shadow-sm);
    transition: all var(--ib-transition);
    position: relative;
    overflow: hidden;
}
.ib-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: transparent;
    transition: background var(--ib-transition);
}
.ib-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ib-shadow);
    border-color: var(--ib-border-gold);
}
.ib-feature-card:hover::before {
    background: var(--ib-gold);
}
.ib-card-icon-wrap {
    width: 52px; height: 52px;
    border-radius: var(--ib-radius-md);
    background: var(--ib-blue-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--ib-blue);
}
.ib-card-icon-wrap.gold {
    background: var(--ib-gold-pale);
    color: var(--ib-gold);
}
.ib-card-icon-wrap svg {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}
.ib-feature-card-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--ib-navy);
    margin-bottom: 1.2rem;
}
.ib-feature-card-text {
    font-size: 1.5rem;
    color: var(--ib-text-body);
    line-height: 1.7;
}

/* 2-Column Content Layout */
.ib-content-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 5rem;
    align-items: center;
}
.ib-content-grid.reverse {
    grid-template-columns: 1fr 1.05fr;
}
.ib-content-text h3 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--ib-navy);
    margin-bottom: 1.6rem;
    line-height: 1.25;
}
.ib-content-text p {
    font-size: 1.55rem;
    color: var(--ib-text-body);
    line-height: 1.75;
    margin-bottom: 1.8rem;
}
.ib-content-img {
    border-radius: var(--ib-radius-xl);
    overflow: hidden;
    box-shadow: var(--ib-shadow-lg);
}
.ib-content-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.ib-content-img:hover img {
    transform: scale(1.02);
}

/* ============================================================
   VALORES GRID
   ============================================================ */
.ib-valores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    margin-top: 3.5rem;
}
.ib-valor-card {
    background: var(--ib-white);
    border: 1px solid var(--ib-border);
    border-radius: var(--ib-radius-md);
    padding: 2.2rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    transition: all var(--ib-transition);
}
.ib-valor-card:hover {
    border-color: var(--ib-gold);
    box-shadow: var(--ib-shadow-sm);
    transform: translateY(-2px);
}
.ib-valor-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--ib-gold-pale);
    color: var(--ib-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ib-valor-icon svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
}
.ib-valor-name {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--ib-navy);
}

/* ============================================================
   DOCUMENTOS (TRANSPARÊNCIA / EDITAIS)
   ============================================================ */
.ib-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.ib-doc-card {
    background: var(--ib-white);
    border: 1px solid var(--ib-border);
    border-radius: var(--ib-radius-md);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--ib-transition);
    position: relative;
}
.ib-doc-card:hover {
    border-color: var(--ib-gold);
    box-shadow: var(--ib-shadow);
    transform: translateY(-3px);
}
.ib-doc-top {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    margin-bottom: 1.6rem;
}
.ib-doc-icon {
    width: 44px; height: 44px;
    border-radius: var(--ib-radius-sm);
    background: var(--ib-gold-pale);
    color: var(--ib-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ib-doc-icon svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}
.ib-doc-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ib-navy);
    line-height: 1.35;
}
.ib-doc-meta {
    font-size: 1.2rem;
    color: var(--ib-text-muted);
    margin-top: 4px;
    font-weight: 600;
}
.ib-doc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 1rem;
    background: #f1f5f9;
    border-radius: var(--ib-radius-pill);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ib-text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    align-self: flex-start;
}
.ib-doc-badge.status-open {
    background: #ecfdf5;
    color: #065f46;
}

/* ============================================================
   GOVERNANÇA
   ============================================================ */
.ib-gov-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.ib-gov-card {
    background: var(--ib-white);
    border: 1px solid var(--ib-border);
    border-radius: var(--ib-radius-lg);
    padding: 3rem 2.2rem;
    text-align: center;
    transition: all var(--ib-transition);
}
.ib-gov-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ib-shadow);
    border-color: var(--ib-gold);
}
.ib-gov-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--ib-blue-pale);
    color: var(--ib-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
}
.ib-gov-icon svg {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}
.ib-gov-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--ib-navy);
    margin-bottom: 1rem;
}
.ib-gov-desc {
    font-size: 1.35rem;
    color: var(--ib-text-body);
    line-height: 1.6;
}

/* ============================================================
   IMPACTO
   ============================================================ */
.ib-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
.ib-impact-card {
    background: var(--ib-white);
    border: 1px solid var(--ib-border);
    border-radius: var(--ib-radius-lg);
    padding: 4rem 2.5rem;
    text-align: center;
    box-shadow: var(--ib-shadow-sm);
    transition: all var(--ib-transition);
}
.ib-impact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ib-shadow);
    border-color: var(--ib-border-gold);
}
.ib-impact-num {
    font-size: 4.8rem;
    font-weight: 800;
    color: var(--ib-gold);
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.ib-impact-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--ib-navy);
    margin-bottom: 0.6rem;
}
.ib-impact-desc {
    font-size: 1.35rem;
    color: var(--ib-text-body);
}

.ib-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
.ib-testimonial-card {
    background: var(--ib-white);
    border: 1px solid var(--ib-border);
    border-radius: var(--ib-radius-lg);
    padding: 3.5rem;
    box-shadow: var(--ib-shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ib-quote-icon {
    font-size: 4.5rem;
    line-height: 1;
    color: var(--ib-gold);
    opacity: 0.3;
    font-family: Georgia, serif;
    margin-bottom: 1rem;
}
.ib-testimonial-text {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--ib-text-body);
    font-style: italic;
    margin-bottom: 2.2rem;
}
.ib-testimonial-author-box {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border-top: 1px solid var(--ib-border);
    padding-top: 1.6rem;
}
.ib-testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--ib-gold-pale);
    color: var(--ib-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
}
.ib-testimonial-author {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ib-navy);
}
.ib-testimonial-role {
    font-size: 1.25rem;
    color: var(--ib-text-muted);
}

/* ============================================================
   FORMS & CONTATO
   ============================================================ */
.ib-form-wrapper {
    background: var(--ib-white);
    border: 1px solid var(--ib-border);
    border-radius: var(--ib-radius-xl);
    padding: 4rem;
    box-shadow: var(--ib-shadow);
}
.ib-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.ib-form-full { grid-column: 1 / -1; }
.ib-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.ib-form-label {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ib-navy);
}
.ib-form-control {
    width: 100%;
    padding: 1.3rem 1.6rem;
    border: 1.5px solid var(--ib-border);
    border-radius: var(--ib-radius-sm);
    font-family: var(--ib-font);
    font-size: 1.45rem;
    color: var(--ib-text-dark);
    background: #fafbfe;
    transition: all var(--ib-transition);
}
.ib-form-control:focus {
    outline: none;
    border-color: var(--ib-blue-bright);
    background: var(--ib-white);
    box-shadow: 0 0 0 3.5px rgba(37, 117, 252, 0.12);
}
textarea.ib-form-control { min-height: 120px; resize: vertical; }

select.ib-form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.4rem center;
    padding-right: 4rem;
}

.ib-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.3rem;
    color: var(--ib-text-body);
    cursor: pointer;
    line-height: 1.55;
}
.ib-checkbox-label input[type="checkbox"],
.ib-checkbox-label input[type="radio"] {
    margin-top: 3px;
    width: 18px; height: 18px;
    accent-color: var(--ib-gold);
    flex-shrink: 0;
}

.ib-contact-card {
    background: var(--ib-white);
    border: 1px solid var(--ib-border);
    border-radius: var(--ib-radius-lg);
    padding: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 1.8rem;
    transition: all var(--ib-transition);
}
.ib-contact-card:hover {
    border-color: var(--ib-gold);
    box-shadow: var(--ib-shadow-sm);
    transform: translateY(-2px);
}
.ib-contact-icon {
    width: 48px; height: 48px;
    border-radius: var(--ib-radius-sm);
    background: var(--ib-blue-pale);
    color: var(--ib-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ib-contact-icon svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}
.ib-contact-title {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ib-gold);
    margin-bottom: 0.4rem;
}
.ib-contact-val {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ib-navy);
    line-height: 1.4;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.ib-cta-section {
    background: linear-gradient(135deg, var(--ib-navy) 0%, #162f56 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--ib-white);
}
.ib-cta-title { font-size: 3rem; font-weight: 800; margin-bottom: 1.2rem; }
.ib-cta-text { font-size: 1.55rem; opacity: 0.85; max-width: 580px; margin: 0 auto 2.6rem; line-height: 1.65; }

/* ============================================================
   FOOTER
   ============================================================ */
.ib-footer {
    background: var(--ib-navy-deep);
    color: var(--ib-white);
    padding: 70px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ib-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ib-footer-logo { height: 46px; width: auto; margin-bottom: 1.6rem; }
.ib-footer-tagline { font-size: 1.4rem; line-height: 1.7; color: rgba(255, 255, 255, 0.65); max-width: 340px; }
.ib-footer-heading { font-size: 1.3rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ib-gold); margin-bottom: 1.6rem; }
.ib-footer-list { display: flex; flex-direction: column; gap: 0.9rem; }
.ib-footer-list li, .ib-footer-list li a { font-size: 1.4rem; color: rgba(255, 255, 255, 0.65); }
.ib-footer-list li a:hover { color: var(--ib-white); }
.ib-footer-bottom { padding: 2.2rem 0; text-align: center; }
.ib-footer-bottom p { font-size: 1.3rem; color: rgba(255, 255, 255, 0.4); }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
    .ib-stats-box { grid-template-columns: repeat(2, 1fr); }
    .ib-stat-item:nth-child(2) { border-right: none; }
    .ib-pilares-grid { grid-template-columns: repeat(3, 1fr); }
    .ib-pilar-card:nth-child(3) { border-right: none; }
    .ib-valores-grid { grid-template-columns: repeat(2, 1fr); }
    .ib-gov-grid { grid-template-columns: repeat(2, 1fr); }
    .ib-impact-grid { grid-template-columns: repeat(3, 1fr); }
    .ib-testimonial-grid { grid-template-columns: 1fr; }
    .ib-content-grid { grid-template-columns: 1fr; gap: 3.5rem; }
    .ib-content-grid.reverse { grid-template-columns: 1fr; }
    .ib-footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .ib-nav, .ib-btn-cta:not(.ib-mobile-nav-list .ib-btn-cta) { display: none; }
    .ib-mobile-toggle { display: flex; }
    .ib-hero { padding: 95px 0 25px; }
    .ib-hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
    .ib-hero-title { font-size: 3.6rem; }
    .ib-hero-image-wrap img { height: 300px; }
    .ib-stats-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.4rem 1rem;
        padding: 1.8rem 1.4rem;
    }
    .ib-stat-item {
        border-right: none;
        border-bottom: none;
        padding: 0.4rem 0.2rem;
        gap: 1rem;
    }
    .ib-stat-item:nth-child(1),
    .ib-stat-item:nth-child(3) {
        border-right: 1px solid var(--ib-border);
        padding-right: 0.8rem;
    }
    .ib-stat-icon {
        width: 32px;
        height: 32px;
    }
    .ib-stat-icon svg {
        width: 26px !important;
        height: 26px !important;
        max-width: 26px !important;
        max-height: 26px !important;
    }
    .ib-stat-number {
        font-size: 2.1rem;
    }
    .ib-stat-label {
        font-size: 0.95rem;
        letter-spacing: 0.05em;
    }
    .ib-believe-banner { display: flex; flex-direction: column; height: auto; max-height: none; }
    .ib-believe-pane-text { height: auto; clip-path: none !important; margin-right: 0 !important; padding: 2.5rem 2rem; }
    .ib-believe-pane-img-1, .ib-believe-pane-img-2, .ib-believe-pane-img-3 { height: 220px !important; max-height: 220px !important; clip-path: none !important; margin-right: 0 !important; }
    .ib-believe-pane-img img { height: 220px !important; max-height: 220px !important; }
    .ib-pilares-grid { grid-template-columns: 1fr; }
    .ib-pilar-card { border-right: none; border-bottom: 1px solid var(--ib-border); padding: 1.5rem 0; }
    .ib-pilar-card:last-child { border-bottom: none; }
    .ib-page-hero { padding: 110px 0 45px; }
    .ib-page-hero-title { font-size: 3.4rem; }
    .ib-section { padding: 60px 0; }
    .ib-section-title { font-size: 2.8rem; }
    .ib-valores-grid { grid-template-columns: 1fr; }
    .ib-gov-grid { grid-template-columns: 1fr; }
    .ib-impact-grid { grid-template-columns: 1fr; }
    .ib-doc-grid { grid-template-columns: 1fr; }
    .ib-form-grid { grid-template-columns: 1fr; }
    .ib-form-wrapper { padding: 2.5rem; }
    .ib-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }
    .ib-footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .ib-footer-logo {
        margin: 0 auto 1.4rem;
    }
    .ib-footer-tagline {
        max-width: 100%;
        text-align: center;
    }
    .ib-footer-col {
        text-align: center;
    }
    .ib-footer-heading {
        text-align: center;
    }
    .ib-footer-list {
        align-items: center;
        text-align: center;
    }
}

/* ============================================================
   HOME PAGE: SECTION NOSSOS PILARES (EXACT MATCHING CLIENT DESIGN)
   ============================================================ */
.ib-pilares-section {
    padding: 45px 0 70px;
    background: #ffffff;
    border-top: 1px solid #edf0f6;
}
.ib-pilares-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.ib-pilares-title {
    font-family: var(--ib-font);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--ib-navy);
    letter-spacing: -0.01em;
}
.ib-pilares-accent {
    width: 32px;
    height: 3px;
    background: var(--ib-gold);
    margin: 8px auto 0;
    border-radius: 2px;
}
.ib-pilares-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    align-items: center;
}
.ib-pilar-item {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 0.8rem 1.6rem;
    border-right: 1px solid #e8ded0;
    transition: all var(--ib-transition);
}
.ib-pilar-item:last-child {
    border-right: none;
}
.ib-pilar-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ib-pilar-icon svg {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
}
.ib-pilar-content {
    display: flex;
    flex-direction: column;
}
.ib-pilar-title {
    font-family: var(--ib-font);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--ib-navy);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}
.ib-pilar-desc {
    font-size: 1.22rem;
    line-height: 1.45;
    color: var(--ib-text-body);
}

@media (max-width: 1024px) {
    .ib-pilares-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.6rem;
    }
    .ib-pilar-item {
        border-right: none;
        border: 1px solid var(--ib-border);
        border-radius: var(--ib-radius-md);
        background: var(--ib-white);
        padding: 2.2rem 1.8rem;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 1rem;
    }
    .ib-pilar-icon {
        margin: 0 auto;
    }
    .ib-pilar-content {
        align-items: center;
        text-align: center;
    }
    .ib-pilar-desc {
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .ib-pilares-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .ib-believe-banner {
        display: flex;
        flex-direction: column;
        height: auto;
        max-height: none;
        background: transparent;
        border: none;
        box-shadow: none;
        gap: 1.6rem;
    }
    .ib-believe-pane-text {
        height: auto;
        clip-path: none !important;
        margin-right: 0 !important;
        background: var(--ib-white);
        border: 1px solid var(--ib-border);
        border-radius: var(--ib-radius-lg);
        box-shadow: var(--ib-shadow-sm);
        padding: 3rem 2.4rem;
        text-align: center;
        align-items: center;
    }
    .ib-believe-pane-text .ib-accent-bar {
        margin: 0 auto 1.5rem;
    }
    .ib-believe-pane-text .ib-believe-text {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    .ib-believe-pane-img-1,
    .ib-believe-pane-img-2,
    .ib-believe-pane-img-3 {
        height: 220px !important;
        max-height: 220px !important;
        clip-path: none !important;
        margin-right: 0 !important;
        border-radius: var(--ib-radius-md);
        overflow: hidden;
        border: 1px solid var(--ib-border);
        box-shadow: 0 6px 20px rgba(11, 30, 63, 0.08);
    }
    .ib-believe-pane-img img {
        height: 220px !important;
        max-height: 220px !important;
        width: 100% !important;
        object-fit: cover !important;
    }
}

/* ============================================================
   RESPONSIVE GRIDS FOR SUBPAGES (DESKTOP + MOBILE)
   ============================================================ */
.ib-mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}
.ib-editais-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.ib-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 4.5rem;
    align-items: start;
}

@media (max-width: 768px) {
    .ib-mv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }
    .ib-feature-card {
        padding: 2.5rem 2rem;
    }
    .ib-editais-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .ib-split-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .ib-valores-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .ib-gov-grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }
    .ib-impact-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    .ib-doc-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }
    .ib-content-img img {
        height: 260px;
    }
}

/* ============================================================
   PROCESSOS SELETIVOS & DOCUMENT LISTS (PREMIUM UPGRADE)
   ============================================================ */
.ib-doc-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 2.5rem;
}

.ib-doc-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.4rem;
    background: #f8fafc;
    border: 1px solid var(--ib-border);
    border-radius: var(--ib-radius-sm);
    font-size: 1.35rem;
    text-decoration: none;
    color: var(--ib-navy);
    transition: all 0.22s ease;
    position: relative;
}

.ib-doc-list-item:hover {
    background: #ffffff;
    border-color: var(--ib-gold);
    box-shadow: 0 4px 14px rgba(11, 30, 63, 0.08);
    transform: translateX(3px);
    color: var(--ib-navy);
}

.ib-doc-list-item.blue-theme:hover {
    border-color: var(--ib-blue);
    box-shadow: 0 4px 14px rgba(29, 92, 184, 0.12);
}

.ib-doc-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    line-height: 1.35;
}

.ib-doc-item-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--ib-gold);
}

.ib-doc-list-item.blue-theme .ib-doc-item-icon {
    color: var(--ib-blue);
}

.ib-doc-list-item.disabled .ib-doc-item-icon {
    color: #94a3b8;
}

.ib-doc-item-icon svg {
    width: 17px;
    height: 17px;
}

.ib-doc-item-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ib-doc-tag {
    font-size: 1.15rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: var(--ib-radius-pill);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ib-doc-tag.gold {
    color: var(--ib-gold);
    background: var(--ib-gold-pale);
    border: 1px solid rgba(197, 146, 71, 0.25);
}

.ib-doc-tag.blue {
    color: var(--ib-blue);
    background: var(--ib-blue-pale);
    border: 1px solid rgba(29, 92, 184, 0.25);
}

.ib-doc-list-item.disabled,
.ib-doc-list-item.is-pending {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #64748b;
    cursor: default;
    opacity: 0.88;
}

.ib-doc-list-item.disabled:hover,
.ib-doc-list-item.is-pending:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    transform: none;
    box-shadow: none;
    color: #64748b;
}

.ib-doc-list-item.disabled .ib-doc-download-icon,
.ib-doc-list-item.is-pending .ib-doc-download-icon {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: default;
}

.ib-doc-list-item.disabled:hover .ib-doc-download-icon,
.ib-doc-list-item.is-pending:hover .ib-doc-download-icon {
    background: #e2e8f0;
    color: #94a3b8;
    transform: none;
}

.ib-doc-tag.muted {
    color: #64748b;
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
}

.ib-form-cta-box {
    background: linear-gradient(135deg, rgba(29, 92, 184, 0.06) 0%, rgba(197, 146, 71, 0.08) 100%);
    border: 1.5px dashed var(--ib-blue);
    border-radius: var(--ib-radius-md);
    padding: 1.6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.2rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ib-form-cta-box.gold-theme {
    border-color: var(--ib-gold);
    background: linear-gradient(135deg, rgba(197, 146, 71, 0.08) 0%, rgba(253, 250, 242, 1) 100%);
}

.ib-form-cta-box.disabled {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.ib-doc-section-title {
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ib-navy);
    margin: 1.8rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ib-doc-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 14px;
    background: var(--ib-gold);
    border-radius: 2px;
}

/* HOME 2027 EDITAIS CTA BANNER */
.ib-home-editais-section {
    padding: 6rem 0;
    background: #f8fafc;
    position: relative;
}

.ib-home-editais-banner {
    background: linear-gradient(135deg, var(--ib-navy-deep) 0%, var(--ib-navy) 60%, #152d58 100%);
    border-radius: var(--ib-radius-xl);
    padding: 4.5rem 5rem;
    color: #ffffff;
    box-shadow: var(--ib-shadow-xl);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(197, 146, 71, 0.35);
}

.ib-home-editais-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(197, 146, 71, 0.18) 0%, rgba(29, 92, 184, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ib-home-editais-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ib-home-editais-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 146, 71, 0.2);
    border: 1px solid var(--ib-gold);
    color: #ffd88a;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.5rem 1.4rem;
    border-radius: var(--ib-radius-full);
    margin-bottom: 1.5rem;
}

.ib-home-editais-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.4rem;
}

.ib-home-editais-title span {
    color: var(--ib-gold-light);
}

.ib-home-editais-desc {
    font-size: 1.55rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.ib-home-editais-actions {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
}

.ib-home-editais-cards {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.ib-home-card-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--ib-radius-lg);
    padding: 2rem 2.2rem;
    transition: var(--ib-transition);
}

.ib-home-card-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(197, 146, 71, 0.6);
    transform: translateY(-2px);
}

.ib-home-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.ib-home-card-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
}

.ib-home-card-tag {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: var(--ib-radius-full);
    text-transform: uppercase;
}

.ib-home-card-tag.active {
    background: #10b981;
    color: #ffffff;
}

.ib-home-card-tag.pending {
    background: rgba(255, 255, 255, 0.2);
    color: #cbd5e1;
}

.ib-home-card-desc {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .ib-home-editais-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .ib-home-editais-banner {
        padding: 3.5rem 2.5rem;
    }
    .ib-home-editais-title {
        font-size: 2.6rem;
    }
}


.ib-doc-download-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(11, 30, 63, 0.05);
    color: var(--ib-navy);
    transition: all 0.2s ease;
}

.ib-doc-list-item:hover .ib-doc-download-icon {
    background: var(--ib-gold);
    color: #ffffff;
    transform: scale(1.1);
}

.ib-doc-list-item.blue-theme:hover .ib-doc-download-icon {
    background: var(--ib-blue);
    color: #ffffff;
}

.ib-doc-download-icon svg {
    width: 12px !important;
    height: 12px !important;
    stroke: currentColor;
    stroke-width: 2.4;
    fill: none;
}

/* Process Timeline & Years Banner */
.ib-processos-banner {
    background: linear-gradient(135deg, #0b1e3f 0%, #152d57 100%);
    border-radius: var(--ib-radius-lg);
    padding: 3rem 3.5rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: var(--ib-shadow);
    margin-bottom: 3.5rem;
}

.ib-processos-banner-text h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.ib-processos-banner-text p {
    font-size: 1.45rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    line-height: 1.5;
}

.ib-year-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(197, 146, 71, 0.15);
    border: 1px solid var(--ib-gold);
    color: var(--ib-gold);
    padding: 0.4rem 1.2rem;
    border-radius: var(--ib-radius-pill);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.ib-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.9rem;
    border-radius: var(--ib-radius-pill);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ib-status-badge.closed {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

.ib-status-badge.active {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

@media (max-width: 768px) {
    .ib-processos-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 2.2rem 1.8rem;
    }
    .ib-doc-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
    .ib-doc-item-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* ============================================================
   LEGAL PAGES & POLICIES (LGPD, COOKIES, TERMS)
   ============================================================ */
.ib-legal-wrap {
    max-width: 920px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--ib-border);
    border-radius: var(--ib-radius-xl);
    padding: 4.5rem 5rem;
    box-shadow: var(--ib-shadow-sm);
}

.ib-legal-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 2rem;
    margin-bottom: 3.5rem;
    border-bottom: 1.5px solid var(--ib-border);
    flex-wrap: wrap;
    gap: 1.2rem;
}

.ib-legal-date {
    font-size: 1.3rem;
    color: var(--ib-text-muted);
    font-weight: 600;
}

.ib-legal-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--ib-navy);
    margin-top: 3.5rem;
    margin-bottom: 1.4rem;
    line-height: 1.3;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--ib-gold-pale);
    display: flex;
    align-items: center;
    gap: 10px;
}

.ib-legal-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ib-navy-light);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.ib-legal-content p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--ib-text-body);
    margin-bottom: 1.6rem;
}

.ib-legal-content p strong,
.ib-legal-content p b {
    color: var(--ib-navy);
    font-weight: 700;
}

.ib-legal-content ul,
.ib-legal-content ol {
    margin-bottom: 2rem;
    padding-left: 2.4rem;
}

.ib-legal-content li {
    font-size: 1.48rem;
    line-height: 1.75;
    color: var(--ib-text-body);
    margin-bottom: 0.8rem;
}

.ib-legal-content li strong,
.ib-legal-content li b {
    color: var(--ib-navy);
}

.ib-legal-alert {
    background: var(--ib-gold-pale);
    border-left: 4px solid var(--ib-gold);
    border-radius: var(--ib-radius-sm);
    padding: 1.8rem 2.2rem;
    margin: 2.5rem 0;
}

.ib-legal-alert p {
    margin-bottom: 0;
    font-size: 1.45rem;
    color: var(--ib-navy);
    font-weight: 600;
    line-height: 1.6;
}

.ib-legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    border-radius: var(--ib-radius-md);
    overflow: hidden;
    border: 1px solid var(--ib-border);
    font-size: 1.4rem;
}

.ib-legal-table th {
    background: var(--ib-navy);
    color: #ffffff;
    font-weight: 700;
    text-align: left;
    padding: 1.4rem 1.8rem;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
}

.ib-legal-table td {
    padding: 1.4rem 1.8rem;
    border-bottom: 1px solid var(--ib-border);
    color: var(--ib-text-body);
    line-height: 1.6;
    vertical-align: top;
}

.ib-legal-table tr:nth-child(even) td {
    background: #f8fafc;
}

.ib-legal-table tr:last-child td {
    border-bottom: none;
}

.ib-legal-table td p {
    margin-bottom: 0.5rem;
    font-size: 1.38rem;
}

.ib-legal-table td p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .ib-legal-wrap {
        padding: 3rem 2rem;
        border-radius: var(--ib-radius-lg);
    }
    .ib-legal-content h2 {
        font-size: 1.9rem;
    }
    .ib-legal-table {
        display: block;
        overflow-x: auto;
    }
}