/* Página de Programas
4F28F0 */

:root {
--color-proadi-sus: #7066a7;
--color-pronas: #f18800;
--color-pronon: #ec6062;
}

#sp-main-body>.container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}

.page-header h1, .finder h1{
    background: none;
}

.topo-programa{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    max-width: 2048px;
    margin: 0 auto;
}

.pronon .topo-programa{
    background-position: center center;
}

.img-logo-programa img {
    width: 70%;
}

.proadi-sus .oque {
    /* background: rgb(255 255 255 / 83%) !important; */
}

.oque{
    padding: 30px 60px;
    background: rgb(255 255 255 / 60%);
    margin-bottom: 150px;
    margin-top: 50px;
    border-radius: 20px;
}

.oque .label-info {
    color: #4F28F0;
    font-size: 15px;
}

.oque .fa-check {
    color: #4F28F0;
    margin-right: 15px;
}


#container-caracteristicas {
    background-color: #446DFF;
    position: relative;
    z-index: 200;
    margin-bottom: 50px;
}

.proadi-sus #container-caracteristicas {
    background-color: var(--color-proadi-sus);
}

.pronas-pcd #container-caracteristicas {
    background-color: var(--color-pronas);
}

.pronon #container-caracteristicas {
    background-color: var(--color-pronon);
}


#container-caracteristicas #bg-right {
    height: 602px;
    position: absolute;
    max-width: 300px;
    z-index: 10;
    background-image: url(../../../images/direita-programa.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
    right: 0;
    top: -280px;
    width: 30%;
}

#container-caracteristicas .card {
    background-color: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    width: 29%;
    margin-right: 4%;
    color: #00284E;
    margin-top: -80px;
    z-index: 20;
    background-image: url("../../../images/elipse-programa-caracteristicas.png");
    background-repeat: no-repeat;
    background-position: 30px 20px;
}

#container-caracteristicas .card .label-info {
    font-size: 1.5rem;
    line-height: 4rem;
    color: #00284E;
    font-weight: bold;
}

#container-caracteristicas .card p {
    color: #00284E;
    opacity: 0.7;
    font-size: 0.8rem;
    line-height: 1.5rem;
    margin-bottom: 0px;
}

/* #container-caracteristicas .row-caracteristicas,
#container-caracteristicas .row-estatisticas{
    position: relative;
    top: -100px;
} */

.row-estatisticas .item-estatistica {
    color: #fff;
    padding: 20px;
    width: 29%;
    margin-right: 4%;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.row-estatisticas .item-estatistica h3 {
    color: #fff;
    font-size: 2.8rem;
}

.row-estatisticas .item-estatistica .label-info {
    font-size: 1rem;

    opacity: 0.7;
}

.img-capa {
    width: 100%;
    box-shadow: 0px 25px 60px rgba(0, 73, 140, 0.04);
    position: relative;
    z-index: 99;
}

.descricao-programa {
    background-color: #fff;
    padding: 60px;
    color: var(--color-blue-text);

}

.descricao-programa p {
    font-size: 0.9rem;
    line-height: 1.5rem;
}

.container-hospitais h2 {
    text-align: center;
    font-weight: 500;
    font-size: 36px;
    line-height: 52px;
    color: #000F5C;
    margin: 50px;
}

.container-hospitais a {
    display: inline-block;
    margin: 15px;
}

.programa-tags {
    color: #00284E
}


/* css da parte de projetos*/

.container-projetos {
    margin: 50px 0;
}

.container-projetos h4{
    color: #4F28F0;
    font-size: 15px;
    font-weight: normal;
}

/* Container dos cards com layout em grid responsivo */
.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

/* Estilo base do card usando Bootstrap */
.container-projetos .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    height: 300px;
    background: linear-gradient(
        0deg,
        #f0f0f0 0%,
        rgba(253, 254, 255, 0.39) 26.67%,
        #909090 100%
        );
}

/* Efeito de destaque ao passar o mouse */
.container-projetos .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.container-projetos .PROADI-SUS .card:hover{
  background: linear-gradient(180deg, #7066A7 0%, rgba(112, 102, 167, 0.39) 56.67%, #7066A7 100%);

}
.container-projetos .PRONAS-PCD .card:hover{
   background: linear-gradient(180deg, #F18800 0%, rgba(241, 136, 0, 0.39) 56.67%, #F18800 100%);
}

.container-projetos .PRONON .card:hover{
  background: linear-gradient(180deg, #EC5F62 0%, rgba(236, 95, 98, 0.39) 56.67%, #EC5F62 100%);

}
.container-projetos .card-body {
    color: #00284E;
    font-size: 20px;
    margin: 0 auto;
    border-radius: 1.5rem;
    background-color: white;
    width: 95%;
    position: relative; 
    overflow: hidden;
}

/* Imagem do card */
.container-projetos .card img {
    width: 100%;
    height: auto;
    border-top-left-radius: 0.375rem; /* Bootstrap border-radius */
    border-top-right-radius: 0.375rem;
}

/* Categoria */
.container-projetos .card .card-subtitle {
    font-size: 0.875rem;
    color: #6c757d; /* cor de texto secundária do Bootstrap */
    margin-top: 0.5rem;
}

/* Nome do progrmaa no card*/
.card-text{
    font-family: 'Roboto', sans-serif;
    font-style: Regular;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -0.5px;
    text-align: center;
    color: white;
    margin-top: -10px;
    
}
/* Nome do item */
.container-projetos .card .card-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 0.25rem;
    line-height: 30px;
    color: #00284E;
    max-height: 90%; 
    overflow: hidden;   
}

.card-arrow-projetos{
    bottom: 0px;      
    background-color: red!important;   
    z-index: 9999;
    display: flex;
}
.arrow-icon-projetos{
font-size: 36px;
    position: absolute; 
    bottom: 0px;      
    left:0px;
    transition: left 0.5s ease; /* adiciona transição suave */
}
.card:hover .arrow-icon-projetos{ 
  left: calc(100% - 46px); /* move para o canto direito */
}

.projeto .projeto_programa {
    font-size: 16px;
}

.projeto .projeto_item {
    border-radius: 1.5rem;
    min-height: 450px;
}

.projeto .projeto_desc {
    border-radius: 1.5rem;
    color: #00284E;
    font-size: 20px;
    width: 90%;
    margin: 0 auto;
}

.projetos a {
    display: block;
}

/*responsivo*/
@media (max-width: 770px) {
    .page-header h1{
        min-height: auto;
    }

    .oque{
        margin-top: 40px;
    }

    #container-caracteristicas .card {
        width: 100%;
        margin: 20px 0;
    }

    #container-caracteristicas #bg-left,
    #container-caracteristicas #bg-right {
        display: none;
    }

    .row-estatisticas .item-estatistica {
        width: 100%;
        margin: 20px 0;
    }
}

@media screen and (max-width: 580px) {
    .topo-programa {
        padding: 10px;
    }

    .img-logo-programa img {
        width: 100%;
    }

    .container-hospitais h2 {
        font-size: 24px;
        margin: 20px;
    }

    .descricao-programa p {
        font-size: 0.8rem;
    }

    .container-projetos h4{
        font-size: 14px;
    }

    .row-caracteristicas{
        padding: 0 30px;
    }
    
}



/* Css da seção MANUAIS DOS PROGRAMAS*/

.my-circle-lp::before {
  font-family: "Font Awesome 5 Free"; /* depende da versão */
  font-weight: 900; /* necessário para ícones sólidos */
  content: "\f022"; /* unicode do ícone fa-list-alt */
  font-size: 1.5rem;
}
.my-circle-hospital::before {
  font-family: "Font Awesome 5 Free"; /* ou "Font Awesome 6 Free" se for versão 6 */
  font-weight: 900; /* 900 = ícones sólidos */
  content: "\f0f8"; /* hospital */
  font-size: 1.5rem;
}
.my-circle-user-md::before {
  font-family: "Font Awesome 5 Free"; /* ou "Font Awesome 6 Free", se for versão 6 */
  font-weight: 900; /* 900 = sólido */
  content: "\f0f0"; /* user-md */
  font-size: 1.5rem;
}

.btn {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.btn .dropdown-custom {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  background-color: var(--color-blue-accent-hover);
  color: var(--color-white);
  padding: 10px 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  width: 220px;
  height: 39px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
}

.arrow {
  margin-left: 10px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--color-white);
  min-width: 220px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
}

.dropdown-content a {
  color: var(--color-medium);
  padding: 10px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: var(--color-off-white);
}

.dropdown-custom:hover .dropdown-content {
  display: block;
}



/* CSS seção Arquivos relacionados a programas */

.title-arquivosprogama {
  color: #000F5C;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 38px;
  line-height: 80px;
  letter-spacing: -2px;
  padding-left: 50px;

}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding-left: 30px;
  padding-right: 30px;
}

.file-card {
  background-color: white;
  border-radius: 12px;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.file-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.file-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}
.file-icon {
  font-size: 1.6rem;
  color: #4f8ef7;
  padding: 8px;
  border-radius: 50%;
  line-height: 1;
  flex-shrink: 0; /* impede que o ícone seja reduzido */
}

.file-card p {
  margin: 0;
  line-height: 1.4;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0px;

}

.download-button {
  background-color: #E3E9FF;
  color: #446DFF;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  transition: background 0.2s ease;

  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-style: Medium;
  font-size: 17px;
  letter-spacing: 0px;

}
.download-button:hover {
  background-color: #dcd8ff;
}

/* botão baixar todos */

#download-all {
    background-color: var(--color-blue-accent);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    font-family: Manrope, sans-serif;
    width: 200px;
    text-align: center;
    margin-top: 6px;
}

#download-all:hover {
  background-color: #5a25d4;
  transform: translateY(-2px);
}

#download-all:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(108, 47, 255, 0.2);
}