/* ─── Container geral ───────────────────────────────────────────────────────── */
.layout-1-stats-carousel {
    max-width: 876px;
    margin: 2rem auto;
    position: relative;
}

.layout-1-stats-carousel .row {
    display: flex;
    align-items: flex-start;   /* alinha o topo dos conteúdos */
    gap: 1.5rem;               /* espaçamento entre os blocos */
}

.layout-1-stats-carousel .numeber-div {
    flex: 0 0 auto;            /* largura “natural” do conteúdo */
}

.layout-1-stats-carousel .texto-corpo {
    flex: 1;
    font-family: Inter;
    font-size: 16px;
    line-height: 20px;
    color: #00166b;
}

.layout-1-stats-carousel .texto-intro {
    text-align: center;
    margin-bottom: 1rem;
    padding-top: 25px;
}

.layout-1-stats-carousel .texto-intro-left {
    margin-bottom: 1rem;
    padding-top: 25px;
    font-family: 'Intro';
}

.layout-1-stats-carousel .texto-intro h2,
.layout-1-stats-carousel .texto-intro-left h2 {
    color: #171C66;
    font-weight: 300 !important;
    font-size: 28px;
    line-height: 35px;
}

.layout-1-stats-carousel .stats-number{
    text-align: center;
    font: normal normal bold 40px/48px Intro;
    color: #4D80CE;
    margin-bottom: -0.5rem;
}

.layout-1-stats-carousel .texto-cooperativas{
    text-align: center;
    font: normal 20px Intro;
    color: #171C66;
    margin-bottom: 0.2rem;
}

.layout-1-stats-carousel .div-inf-coop{
    margin-left: 20px;
    line-height: 0;
}

.layout-1-stats-carousel .info-cooperativas{
    text-align: center;
    font: normal 12px Inter;
    color: #8F8F8F;
    margin-bottom: -0.5rem;
}

/* Layout */
.layout-1-stats-carousel .row-container {
    max-width: 920px;
}

.layout-1-stats-carousel .row-div {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.layout-1-stats-carousel .numeber-div{
    max-width: 25%;
    flex-basis: 25%;
}

/* ─── Slick Wrapper como linha ─────────────────────────────────────────────── */
.timeline-slick {
    overflow: visible !important;
    position: relative;
}
.timeline-slick::before {
    content:'';
    position:absolute;
    top:50%;
    left:15px;
    right:15px;
    height:7px;
    background:#F0E8E8;
    border-radius:5px;
    transform:translateY(-50%);
}

/* ─── Cada slide vira bolha ────────────────────────────────────────────────── */
.timeline-slide {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    background: transparent;
    outline: none;
    z-index:2;
    flex: 0 0 33.3333% !important;
    box-sizing: border-box;
}

.timeline-slide.active .circle {
    background: #4D80CE;
    border-color: #4D80CE;
    transform: scale(1.2);
}

/* bolinha */
.timeline-slide .circle {
    width:29px;
    height:29px;
    background:#fff;
    border:2px solid #ccc;
    border-radius:50%;
    transition: all .3s;
}

/* valor acima, escondido até o slide vir “center” */
.timeline-slide .slide-value {
    display: block;
    margin-bottom:6px;
    font: bold 28px/39px Intro;
    color:#1C2257;
}

.timeline-slide.active .slide-value {
    display: block;
}
.timeline-slide.active .slide-year {
    color: #4D80CE;
}


/* ano abaixo */
.timeline-slide .slide-year {
    margin-top:6px;
    font: bold 18px/38px Intro;
    color:#999;
}

/* ─── Estados “active” e “completed” ───────────────────────────────────────── */
.timeline-slick .slick-current .circle,
.timeline-slick .slick-active:first-child .circle {
    /* apenas o “current” (centro) vira azul */
    background:#4D80CE;
    border-color:#4D80CE;
    transform: scale(1.2);
}
.timeline-slick .slick-current .slide-value {
    display: block;
}
.timeline-slick .slick-current .slide-year {
    color: #4D80CE;
}

/* ─── Setas Prev/Next ──────────────────────────────────────────────────────── */
.timeline-slick .slick-prev,
.timeline-slick .slick-next {
    position: absolute;
    top: 39%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 5rem;
    color: #CCCCCC;
    z-index: 10 !important;
    cursor: pointer;
    pointer-events: auto !important;
}
.timeline-slick .slick-prev { left: 0; }
.timeline-slick .slick-next { right: 0; }
.timeline-slick .slick-prev:hover,
.timeline-slick .slick-next:hover {
    color: #4A90E2;
}

.timeline-slick .slick-arrow {
    display: block !important;
}

.timeline-slide .slide-value,
.timeline-slide .circle,
.timeline-slide .slide-year {
    opacity: .3;
    transform: scale(1);
}
.timeline-slide.slick-center .slide-value,
.timeline-slide.slick-center .circle,
.timeline-slide.slick-center .slide-year {
    opacity: 1;
    transform: scale(1.2);     /* ou o scale que você preferir pra dar destaque */
}

/** Ãrea dos Grãficos **/

.modramos-grafico {
    color: #001957;
    max-width: 960px;
    margin: 0 auto;
}

.modramos-grafico-container {
    width: 100%;
    margin-bottom: 47px;
}

/* título continua como está */
.modramos-titulo {
    font: normal normal 400 28px/22px Intro;
    margin-bottom: 37px;
    color: #00166B;
}

/* Aqui define 960px como base para as linhas */
.modramos-linha-grafico {
    display: grid;
    grid-template-columns: 60px 1fr 150px; /* ano, barra, valor */
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    height: 34px;
    max-width: 960px;
}

/* Setas podem continuar com 60px */
.modramos-seta-wrapper {
    width: 60px;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

/* Bloco ano */
.modramos-col-ano-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
}

/* Botão do ano */
.modramos-ano {
    font: normal normal 600 12px/17px Intro;
    display: inline-block;
    padding: 2px 14px;
    height: 27px;
    line-height: 24px;
    border-radius: 50px;
    border: 1px solid #4D80CE;
    color: #4D80CE;
    background-color: white;
    box-sizing: border-box;
}

.modramos-ativo {
    color: #fff;
    border: none;
    background-color: #001957 !important;
}

/* Área da barra */
.modramos-barra-container {
    height: 34px;
    background: #E6E6E6 0 0 no-repeat padding-box;
    border-radius: 8px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Barra interna */
.modramos-barra {
    height: 100%;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Valor numérico */
.modramos-valor {
    text-align: left;
    font: normal normal 400 18px/23px Intro;
    color: #707070;
}

.modramos-valor-color {
    font: normal normal 600 29px/36px Intro !important;
}

/* ─── Timeline ────────────────────────────────────────────────────────────── */
.timeline-container {
    display: flex;
    align-items: center;
    justify-content: center;
    /*gap: 16px;*/
    max-width: 876px;
    margin: auto;
}
.arrow-btn {
    border: none;
    background: none;
    color: #CCCCCC;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: box-shadow 0.2s;
    user-select: none;
    opacity: 0.6;
    transform: translateY(-10%);
}
.arrow-btn:disabled {
    opacity: 0.1;
    cursor: default;
    color: #E6E6E6;
}

.timeline-item {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70px; /* ajuste conforme o tamanho da sua bolinha e labels */
    pointer-events: auto;
}
.timeline-number {
    display: block;
    margin-bottom:6px;
    font: bold 28px/39px Intro;
    color: #ddd;
    /*color:#1C2257;*/
}
.timeline-dot {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #ddd;
    margin-bottom: 6px;
    border: 3px solid transparent;
    transition: background 0.2s, border 0.2s;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #444;
    position: relative;
}
.timeline-dot.active {
    background: #4D80CE;
    border-color: #4D80CE;
    color: #fff;
    box-shadow: 0 2px 8px #1976d240;
}
.timeline-year {
    /*color: #4D80CE;*/
    color: #ddd;
    margin-top: 6px;
    font: bold 18px / 38px Intro;
}

.timeline-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.timeline-line {
    position: absolute;
    /*top: 50%;*/
    left: 16px;   /* Deixe espaço pros círculos das pontas */
    right: 16px;
    height: 7px;
    background: #F0E8E8;
    z-index: 0;
    transform: translateY(-50%);
    border-radius: 5px;
    opacity: 1;
}

.timeline {
    position: relative;
    /*display: flex;*/
    /*gap: 32px;*/
    width: 100%;
    height: 100px;
    z-index: 1;
    justify-content: space-between;
    align-items: center;
}
.timeline.timeline-1 {
    justify-content: center;
}
.timeline.timeline-2 {
    justify-content: space-between;
}
.timeline.timeline-3 {
    justify-content: space-between;
}

.dot-inner {
    display: block;
    width: 18px;
    height: 18px;
    background: #FBF9F9;
    border-radius: 50%;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 2px #0002;
}
.timeline-dot.active .dot-inner {
    display: none;
}

.timeline-item.active .timeline-number {
    color: #1C2257;   /* cor de destaque para número */
}
.timeline-item.active .timeline-year {
    color: #4D80CE;   /* cor de destaque para ano */
}

/* POSICIONAMENTO DAS BOLINHAS */
.timeline-1 .timeline-pos-0 {left: 50%;top: -15px;}
.timeline-2 .timeline-pos-0 { left: 4%; top: -15px;}
.timeline-2 .timeline-pos-1 { left: 96%; top: -15px;}
.timeline-3 .timeline-pos-0 { left: 4%; top: -15px;}
.timeline-3 .timeline-pos-1 { left: 50%; top: -15px;}
.timeline-3 .timeline-pos-2 { left: 96%; top: -15px;}



/* ─── Responsivo ───────────────────────────────────────────────────────────── */
@media (max-width:768px){
    .layout-1-stats-carousel .numeber-div {
        max-width: 100% !important;   /* ou unset ou none, dependendo do que você deseja */
        flex-basis: 100% !important;  /* ou unset ou auto */
    }
    .timeline-slide .circle {
        width:20px; height:20px;
    }
    .timeline-slide .slide-value {
        font: bold 11px/22px Intro;
    }
    .timeline-slide .slide-year {
        font: bold 10px/18px Intro;
    }
}
