/* ============================================================================
   CIMED THEME — quem-somos.css
   Estilos exclusivos da página Quem Somos (com Abas)
   ============================================================================ */

/* ─── HEADER & TABS NAV ─────────────────────────────────────────────────── */
.about-hero-section {
    /* padding-bottom: var(--space-8); */
    background: var(--color-bg);
}

/* Visibilidade condicional dos cabeçalhos */
.about-page .nh-hero-fixed {
    display: none;
}

.about-page .about-simple-header {
    display: block;
    padding: 100px 0 40px;
}

.about-page.is-nh-active .nh-hero-fixed {
    display: block;
}

.about-page.is-nh-active .about-simple-header {
    display: none;
}

.about-page.is-cc-active .cc-hero-fixed {
    display: block;
}

.about-page.is-cc-active .about-simple-header {
    display: none;
}

.about-page.is-ri-active .ri-hero-fixed {
    display: block;
}

.about-page.is-ri-active .about-simple-header {
    display: none;
}

.about-main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--color-dark);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: var(--space-4);
}

.about-main-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    max-width: 60ch;
    margin-inline: auto;
}

.about-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: var(--space-3);
    padding-bottom: var(--space-4);
    margin: 60px 0;
}

.about-tab-btn {
    padding: 0.75em 1.5em;
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-text-muted);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    cursor: pointer;
    white-space: nowrap;
}

.about-tab-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-dark);
}

.about-tab-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-dark);
    box-shadow: var(--shadow-md);
}

.about-tabs-content {
    min-height: 60vh;
}

.about-tab-panel {
    animation: fadeIn var(--transition-base);
    padding-bottom: var(--space-20);
}

.about-tab-panel[hidden] {
    display: none !important;
}

.about-page {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── HELPERS ────────────────────────────────────────────────────────────── */
.bg-gray {
    background-color: var(--color-bg-light);
}

.container-medium {
    max-width: 900px;
}

.container-narrow {
    max-width: 760px;
}

.container:not(.header-inner) {
    max-width: 1240px !important;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab-section-header {
    margin-bottom: var(--space-12);
    padding-top: var(--space-16);
}

.tab-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-dark);
}

.tab-subtitle {
    margin-top: var(--space-4);
    font-size: var(--font-size-md);
    color: var(--color-text-muted);
    max-width: 60ch;
    margin-inline: auto;
}

/* Estilo dos breadcrumbs */
.about-breadcrumbs {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.about-breadcrumbs a {
    text-decoration: none;
    color: #1a1a1a;
    opacity: 0.7;
}

.about-breadcrumbs span {
    opacity: 1;
}

/* ─── NOSSA HISTÓRIA: HERO ────────────────────────────────────────────────── */
.nh-hero-fixed {
    background-color: #FFC000;
    padding: 80px 0 100px;
    background: url('../img/bg-quem-somos.png');
}

.nh-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.nh-hero-title {
    font-size: clamp(2.5rem, 8vw, 56px);
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 24px;
    position: relative;
}

.nh-hero-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 6px;
    background: #1a1a1a;
    margin-top: 15px;
}

.nh-hero-desc {
    font-size: 17px;
    line-height: 1.6;
    color: #1a1a1a;
    max-width: 600px;
    font-weight: 700;
}

.nh-hero-media {
    position: relative;
}

.nh-hero-card {
    position: relative;
    border: 3px solid #FFF;
    border-radius: 40px;
    overflow: visible;
    padding: 10px;
    background: transparent;
}

.nh-hero-main-img {
    width: 100%;
    height: auto;
    border-radius: 40px;
    display: block;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 4px solid #fff;
    transition: rotate 0.2s ease-out;
}

.nh-hero-main-img:hover {
    rotate: 2deg;
}

.nh-hero-img-overlay-text {
    position: absolute;
    bottom: 30px;
    left: 40px;
    color: #FFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    z-index: 3;
}

.nh-iot-lab {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
    opacity: 0.9;
}

.nh-iot-title {
    font-size: 20px;
    font-weight: 700;
}

.nh-hero-floating-stat {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: #FFF;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    z-index: 5;
    gap: 16px;
}

.nh-hfs-num {
    font-size: 16px;
    font-weight: 900;
    color: #1a1a1a;
    background: #FFC000;
    padding: 9px 6px 0 8px;
    border-radius: 100%;
}

/* ─── CÓDIGO DE CONDUTA: HERO ──────────────────────────────────────────────── */
.cc-hero-fixed {
    background-color: #FFF;
    padding: 100px 0 60px;
    display: none;
}

.cc-hero-title {
    font-size: clamp(2.5rem, 9vw, 64px);
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.cc-hero-desc {
    font-size: 18px;
    color: #666;
    max-width: 550px;
    line-height: 1.5;
}

/* ─── CÓDIGO DE CONDUTA: CONTENT ───────────────────────────────────────────── */
.cc-container-grid {
    display: grid;
    grid-template-columns: 1fr; /* Removida a sidebar de 310px */
    gap: 0;
    align-items: start;
    padding-top: 40px;
}

.cc-conduct-downloads {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cc-download-link {
    flex: 1;
    min-width: 280px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #FFF;
    border: 1px solid #FFC000;
    border-radius: 12px;
    padding: 20px 24px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cc-download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 185, 19, 0.15);
}

.cc-dl-icon {
    width: 40px;
    height: 40px;
    background: #FFC000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cc-dl-icon img {
    height: 20px;
}

.cc-dl-text strong {
    display: block;
    font-size: 15px;
    color: #1a1a1a;
    line-height: 1.2;
}

.cc-dl-text span {
    font-size: 13px;
    color: #999;
}

.cc-sidebar-label {
    font-size: 12px;
    font-weight: 900;
    color: #999;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
}

.cc-download-card {
    background: #FFF;
    border: 1px solid #FFC000;
    border-radius: 16px;
    padding: 30px;
}

.cc-dc-content {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.cc-dc-icon {
    background: #FFC000;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cc-dc-icon img {
    height: 26px;
}

.cc-dc-text strong {
    display: block;
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.cc-dc-text span {
    font-size: 13px;
    color: #999;
    line-height: 1.3;
    display: block;
}

/* Abas Internas */
.cc-internal-tabs-wrapper {
    background: #FFF;
    border-radius: 20px;
    border: 1px solid #EEE;
    padding: 40px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.03);
}

.cc-tabs-header {
    display: flex;
    gap: 60px;
    border-bottom: 1px solid #EEE;
    margin-bottom: 40px;
}

.cc-it-btn {
    background: none;
    border: none;
    padding: 0 0 15px 0;
    font-size: 15px;
    font-weight: 700;
    color: #999;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.cc-it-btn.active {
    color: #1a1a1a;
}

.cc-it-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #FFC000;
}

.cc-it-year-select-wrap {
    margin-bottom: 40px;
}

.cc-it-year-select-wrap label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cc-it-year-select-wrap select {
    width: 250px;
    padding: 12px 20px;
    border: 1px solid #EEE;
    border-radius: 10px;
    background-color: #F8F9FA;
    font-weight: 600;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Cpath%20fill%3D%22%23999%22%20d%3D%22M10.293%203.293L6%207.586%201.707%203.293A1%201%200%2000.293%204.707l5%205a1%201%200%20001.414%200l5-5a1%201%200%2010-1.414-1.414z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

/* Cards Grid */
.cc-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cc-info-card {
    background: #F8F9FB;
    border-radius: 16px;
    padding: 35px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cc-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cc-ic-icon-circle {
    width: 44px;
    height: 44px;
    background: rgba(255, 192, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.cc-ic-icon-circle img {
    height: 22px;
}

.cc-ic-title {
    font-size: 20px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.cc-ic-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Contact Footer */
.cc-contact-footer {
    margin-top: 60px;
    padding: 40px 0 0;
    border-top: 1px solid #EEE;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cc-cf-text h3 {
    font-size: 24px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.cc-cf-text p {
    font-size: 15px;
    color: #999;
}

/* ─── RELAÇÃO COM INVESTIDORES: HERO ───────────────────────────────────────── */
.ri-hero-fixed {
    background-color: #FFF;
    padding: 100px 0 60px;
    display: none;
}

.ri-hero-title {
    font-size: clamp(2.5rem, 9vw, 64px);
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.ri-hero-desc {
    font-size: 18px;
    color: #666;
    max-width: 550px;
    line-height: 1.5;
}

/* ─── RELAÇÃO COM INVESTIDORES: COMPONENTS ────────────────────────────────── */
.ri-categories-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

#tab-ri .container {
    padding-inline: var(--container-pad);
    width: 100%;
    margin: 0 auto;
}

.ri-cat-btn {
    padding: 10px 24px;
    background: #F2F2F2;
    border: none;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ri-cat-btn:hover {
    background: #EAEAEA;
    color: #666;
}

.ri-cat-btn.active {
    background: #FFC000;
    color: #1a1a1a;
}

.ri-year-panel {
    display: none;
}

.ri-year-panel.active {
    display: block;
}

.ri-cat-panel {
    display: none;
}

.ri-cat-panel.active {
    display: block;
}

.ri-docs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ri-doc-row {
    background: #FFF;
    border: 1px solid #F0F0F0;
    border-radius: 12px;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

.ri-doc-row:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.ri-doc-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    max-width: 70%;
    line-height: 1.4;
}

.ri-doc-row .btn-sm {
    min-width: 140px;
    font-size: 12px;
    font-weight: 800;
}

/* ─── NOSSA HISTÓRIA: REST ────────────────────────────────────────────────── */

/* Stats Top & Brasil dos Brasis */
.nh-stats-top,
.nh-brasil-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    flex-wrap: wrap;
    /* padding-block: var(--space-10); */
}

.nh-stats-top .nh-stat-item,
.nh-stats-top .nh-b-stat {
    flex: 1 1 30%;
}

.nh-stat-item,
.nh-b-stat {
    text-align: center;
    background: #FFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-12) var(--space-6);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.nh-stat-number,
.nh-b-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
}

.nh-stats-top .nh-stat-number,
.nh-stats-top .nh-b-number {
    font-size: 72px;
}

.nh-stat-suffix,
.nh-b-suffix {
    font-size: 72px;
}

.nh-stat-label,
.nh-b-label {
    margin-top: var(--space-2);
    font-size: 16px;
    color: var(--color-text-muted);
}

.nh-intro {
    padding-block: var(--space-16);
    font-size: 20px;
    line-height: 1.6;
    color: #666;
}

/* Grid blocks (A Cimed, Qualidade, P&D) */
.nh-block {
    padding-block: var(--space-16);
}

.nh-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.nh-grid-reverse {
    direction: rtl;
}

.nh-grid-reverse>* {
    direction: ltr;
}

.nh-block-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: var(--space-6);
    line-height: 1.1;
}

.nh-wysiwyg {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.nh-wysiwyg p+p {
    margin-top: 1em;
}

.nh-block-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 4/3;
}

.nh-tags {
    display: flex;
    gap: 24px;
    margin-bottom: var(--space-5);
    flex-wrap: wrap;
    justify-content: center;
}

.nh-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid #e8e8e8;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.nh-tag svg {
    color: #FDB913;
}

/* Suporte para classes de tamanho comuns em SVGs (estilo Tailwind) */
.nh-tag svg.w-5 {
    width: 20px;
}

.nh-tag svg.h-5 {
    height: 20px;
}

.nh-tag .text-\[#FDB913\] {
    color: #FDB913;
}

.nh-tag:hover {
    border-color: #FFC000;
}

/* Caixinhas */
.nh-caixinhas-section {
    padding-block: var(--space-20);
    background-color: var(--color-bg);
}

.nh-caixinhas-header {
    margin-bottom: var(--space-12);
}

.nh-caixinhas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.nh-caixinha-item {
    background-color: #FFF;
    border: none;
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.nh-caixinha-item:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.nh-cxi-title {
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: var(--space-3);
}

.nh-cxi-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

/* Propósito */
.nh-proposito-section {
    padding-block: var(--space-20);
    background-color: var(--color-bg-light);
}

.nh-proposito-text {
    font-size: var(--font-size-xl);
    line-height: 1.6;
    color: var(--color-dark-2);
}

/* Brasil dos Brasis */
.nh-brasil-section {
    padding-block: var(--space-20);
}

.nh-brasil-desc {
    font-size: var(--font-size-lg);
    max-width: 800px;
    margin: var(--space-4) auto var(--space-12);
}

.nh-brasil-stats {
    padding-block: 0;
    margin-bottom: var(--space-16);
}

.nh-video-container {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #000;
}

.nh-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ─── AÇÕES SOCIAIS ──────────────────────────────────────────────────────── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.card-social {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-fast), box-shadow var(--transition-base);
}

.card-social:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-social.card-large {
    grid-column: 1 / -1;
}

.c-soc-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.card-social.card-large .c-soc-img {
    aspect-ratio: 21/9;
}

.c-soc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-soc-badge {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    background: var(--color-primary);
    color: var(--color-dark);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.3em 0.8em;
    border-radius: var(--radius-full);
}

.c-soc-body {
    padding: var(--space-6);
}

.c-soc-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: var(--space-4);
}

.c-title-icon {
    height: 20px;
    width: auto;
}

.c-soc-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

/* ─── SUSTENTABILIDADE / MEIO AMBIENTE ──────────────────────────────────── */
.cards-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.card-sus {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-fast), box-shadow var(--transition-base);
}

.card-sus:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.c-sus-header {
    margin-bottom: var(--space-6);
}

.c-sus-icon-circle {
    width: 48px;
    height: 48px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-sus-icon-circle img {
    height: 20px;
}

.c-sus-title {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: var(--space-4);
}

.c-sus-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
}

.c-sus-footer {
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--color-success);
}

.c-sus-ft-icon {
    height: 16px;
}

/* Variante Verde (Sustenta+) */
.card-sus.is-green {
    background: var(--color-success);
    border-color: var(--color-success);
    color: #fff;
}

.card-sus.is-green .c-sus-icon-circle {
    background: rgba(255, 255, 255, 0.2);
}

.card-sus.is-green .c-sus-icon-circle img {
    filter: brightness(0) invert(1);
}

.card-sus.is-green .c-sus-title {
    color: #fff;
}

.card-sus.is-green .c-sus-desc {
    color: rgba(255, 255, 255, 0.9);
}

.card-sus.is-green .c-sus-footer {
    border-top-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.card-sus.is-green .c-sus-ft-icon {
    filter: brightness(0) invert(1);
}

/* ─── ESPORTES E PATROCÍNIO ──────────────────────────────────────────────── */
.card-esp {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-fast), box-shadow var(--transition-base);
}

.card-esp:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.c-esp-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.c-esp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-esp-green-overlay {
    position: absolute;
    inset: 0;
    background: rgba(34, 197, 94, 0.4);
    mix-blend-mode: multiply;
    opacity: 0;
}

.c-esp-body {
    padding: var(--space-6);
    flex: 1;
}

.c-esp-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: var(--space-4);
}

.c-esp-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

/* Variante Verde (Copa do Mundo) */
.card-esp.is-world-cup {
    background: var(--color-success);
    border-color: var(--color-success);
    color: #fff;
}

.card-esp.is-world-cup .c-esp-green-overlay {
    opacity: 1;
}

.card-esp.is-world-cup .c-esp-title {
    color: #fff;
}

.card-esp.is-world-cup .c-esp-desc {
    color: rgba(255, 255, 255, 0.9);
}

.card-esp.is-world-cup .c-title-icon {
    filter: brightness(0) invert(1);
}

/* ─── RESPONSIVO ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .nh-stats-top {
        gap: var(--space-8);
    }

    .nh-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .nh-grid-reverse {
        direction: ltr;
    }

    .nh-grid-reverse>* {
        direction: ltr;
    }

    .nh-caixinhas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cc-hero-fixed, .ri-hero-fixed {
        padding: 80px 0 40px;
    }

    .cc-download-link {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .about-tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 5px;
        margin: 40px 0;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .about-tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .nh-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .nh-hero-title::after {
        margin-inline: auto;
    }

    .nh-hero-desc {
        margin-inline: auto;
    }

    .nh-hero-media {
        padding-bottom: 40px;
    }

    .nh-hero-floating-stat {
        right: 0;
        left: 0;
        bottom: -20px;
        margin-inline: auto;
        width: fit-content;
        padding: 15px 20px;
    }

    .nh-caixinhas-grid {
        grid-template-columns: 1fr;
    }

    .nh-brasil-stats {
        flex-direction: column;
        gap: var(--space-8);
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .cards-grid-2 {
        grid-template-columns: 1fr;
    }

    .nh-stats-top .nh-stat-item, .nh-stats-top .nh-b-stat {
        flex: 1 1 100%;
    }

    .nh-stat-number, .nh-stats-top .nh-stat-number {
        font-size: 48px;
    }

    .nh-stat-suffix, .nh-b-suffix {
        font-size: 48px;
    }

    .cc-container-grid {
        display: block !important;
        padding-top: 20px;
        width: 100%;
    }

    .cc-main-content {
        width: 100%;
        overflow: hidden;
    }

    .cc-internal-tabs-wrapper {
        padding: 20px 12px;
        border-radius: 12px;
        width: 100%;
        margin-inline: 0;
        box-sizing: border-box;
    }

    .cc-tabs-header {
        gap: 20px;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 15px;
        margin-bottom: 25px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .cc-tabs-header::-webkit-scrollbar {
        display: none;
    }

    .cc-it-btn {
        font-size: 14px;
        padding-bottom: 10px;
        flex-shrink: 0;
        display: inline-block;
    }

    .cc-cards-grid {
        grid-template-columns: 1fr;
    }

    .cc-contact-footer {
        flex-direction: column !important;
        text-align: center;
        gap: 20px;
        padding-top: 30px;
        width: 100%;
    }

    .cc-cf-text h3 {
        font-size: 18px;
    }

    .ri-doc-row {
        flex-direction: column !important;
        gap: 15px;
        text-align: center;
        padding: 15px;
        width: 100% !important;
        box-sizing: border-box;
    }

    .ri-doc-title {
        max-width: 100% !important;
        font-size: 14px;
        width: 100%;
        display: block;
    }

    .ri-doc-row .btn-sm {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0;
    }

    .cc-it-year-select-wrap {
        width: 100%;
    }

    .cc-it-year-select-wrap select {
        width: 100% !important;
        max-width: 100%;
    }

    .ri-categories-nav {
        gap: 8px;
        width: 100%;
    }

    .ri-cat-btn {
        padding: 8px 14px;
        font-size: 10px;
        flex: 1 1 auto;
        text-align: center;
    }

    .nh-hero-img-overlay-text {
        position: relative;
        left: 0;
    }
}

@media (max-width: 480px) {
    .nh-hero-fixed {
        padding: 60px 0 80px;
    }

    .nh-tag {
        padding: 8px 15px;
        font-size: 10px;
    }

    .nh-block-title {
        font-size: 32px;
    }

    .about-main-title {
        font-size: 32px;
    }
}
