/* =============================== HEADER =============================== */
header {
    width: 100%;
}

header .header__logo img { display: block; margin: 10px 40px; max-width: 100px;}
header .topo {
    padding: 8px 0;
}

header .topo :is(span, a) {
    font: 13px var(--primary-font);
    color: #fff;
}

header .topo a {
    padding-left: 10px;
    transition: .3s;
}

.header-menu{
    background-color: #fff;
    margin-top: 1.25rem;
    border-radius: 50px;
}
header #menu ul{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 40px;
}

/* HEADER HOME */

header.header-home {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
}

header.header-home #menu li a {
    color: #000;
}

/* HEADER HOME TOPO FIXO */

header.headerFixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

header.headerFixed #menu .dropdown> :is(.sub-menu, .sub-menu-info)>li>a {
    color: white;
}

header.headerFixed #menu .dropdown> :is(.sub-menu, .sub-menu-info)>li:hover>a {
    color: var(--primary-color)
}

header.headerFixed #menu li a {
    color: #000;
}

header #menu .dropdown :is(.sub-menu, .sub-menu-info) {
    right: 0 !important;
}

/* HEADER PAGES */

header.header-pages:not(.headerFixed) {
    background: #fff;
}

header.header-pages:not(.headerFixed) #menu a {
    color: #000;
}

header.header-pages:not(.headerFixed) #menu li a:hover {
    color: var(--secondary-color);
}

/* MEDIUM DEVICE */
@media only screen and (max-width: 768px) {
    header {
        position: static;
    }
}

/* MENU */
header #menu li {
    padding: 25px 0;
}

header #menu a {
    font: 12px var(--primary-font);
    color: #fff;
    padding: 12px;
    text-transform: uppercase;
    font-weight: 600;
}


header #menu :is(.sub-menu, .sub-menu-info) {
    background-color: var(--primary-color);
}

/* Configuração padrão dos links */
header.header-pages #menu>ul>li>a,
header.header-home #menu>ul>li>a {
    position: relative;
    color: var(--secondary-color); /* Cor padrão */
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

/* Cor do link ativo e no hover */
header.header-pages #menu>ul>li:hover>a,
header.header-home #menu>ul>li:hover>a,
header.header-pages #menu>ul>li>a.active-menu-topo,
header.header-home #menu>ul>li>a.active-menu-topo {
    color: var(--primary-color);
}

/* Criando a linha animada */
header.header-pages #menu>ul>li>a::after,
header.header-home #menu>ul>li>a::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -3px; /* Ajuste para posicionar a linha abaixo do texto */
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color); /* Linha na mesma cor do hover/ativo */
    transition: width 0.3s ease-in-out;
}

/* Efeito de crescimento da linha no hover e no ativo */
header.header-pages #menu>ul>li:hover>a::after,
header.header-home #menu>ul>li:hover>a::after,
header.header-pages #menu>ul>li>a.active-menu-topo::after,
header.header-home #menu>ul>li>a.active-menu-topo::after {
    width: 100%;
}

header.header-mobile{
    background-color: var(--dark);
}

.bread {
    background: url("<?=$url?>imagens/bread.webp");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 2rem 0 3.125rem 0;
  }

  .bread__row{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .bread #breadcrumb {
    color: #FFF;
  }

  .bread .bread__title {
    color: #fff;
    font-weight: 500;
  }


/* ASIDE */
.aside .aside__btn, .aside .aside__menu h2, .aside .aside__contato h2 { font-size: 14px; background-color: var(--primary-color); padding: 10px; display: block; transition: .3s; color: #fff; }
.aside .aside__btn { color: #fff; text-align: center; border-radius: 3px; }
.aside .aside__btn:hover { background-color: var(--dark); }
.aside .aside__menu h2 a { color: #fff; }
.aside .aside__menu nav ul li { border-left: 2px solid var(--primary-color); margin: 10px 0; padding: 5px; transition: .2s; }
.aside .aside__menu nav ul li a { color: var(--dark); font-size: 12px; border-left: 0; padding: 0; transition: .3s; }
.aside .aside__menu nav ul li:hover { border-left-color: var(--dark); background-color: #f0f0f0; }
.aside .aside__menu nav ul li a.active-menu-aside { color: var(--primary-color); font-weight: bold; }
.aside .aside__contato h2 { text-align: center; }
.aside .aside__contato a { color: var(--dark); text-align: center; display: block; margin: 10px; transition: all .2s ease; }
.aside .aside__contato a:hover { color: #5492c3; }
.aside .fb-page { display: block; margin-bottom: 25px; }


/* =============================== FOOTER =============================== */
footer {background-color: var(--primary-color); padding: 25px 0; }
footer h3 {margin-top: 0; font-size: 18px; color: var(--light); }
footer h3:after { content: ''; display: block; margin: 5px 0; height: 2.5px; background: var(--light); width: 10%;}
footer .footer__menu li a { display: block; padding: 5px 0; font-size: 14px; color: var(--light); transition: .3s;}
footer .footer__menu li a i { font-size: 10px; }
footer .footer__menu li a:hover { opacity: 0.8;}
footer .address :is(span, a):not(.btn) { color: var(--light); font-size: 14px; line-height: 25px; transition: .3s;}
footer .address a:not(.btn):hover { color: var(--primary-color); }
footer .social { gap: 10px; margin-top: 15px; }
footer .social__icons { font-size: 32px; opacity: 0.75; color: var(--light); }
footer .social__icons:hover { opacity: 1; }
footer img{filter: brightness(0) invert(1);}
/* MEDIUM DEVICE */
@media only screen and (max-width:768px) {
    footer img { display: block; margin: 0 auto; }
}
/* SMALL DEVICE */
@media only screen and (max-width:576px) {
    footer h3:after { margin-left: auto; margin-right: auto; }
    footer .address .btn { display: inline-block; margin: 1rem auto; width: auto; }
    footer .social { justify-content: center; }
}
 
/* DESTAQUES */

.destaques-mpi {
    margin: 32px 0;
}

.destaques-mpi__title {	margin: 0 0 30px 0;	color: var(--primary-color); }

.destaques-mpi__title span { color: var(--dark); }

/* FIM DESTAQUES */

/* CLIENTES */

.clientes {
    padding: 32px 0;
}

.clientes__title { margin: 0 0 30px 0; }
.clientes__item { display: flex !important; justify-content: center; align-items: center; width: 100%; aspect-ratio: 1/1; padding: 8px; margin: 0 10px; background-color: #fff;}

.clientes__carousel {
    padding: 0 16px;
}

.clientes__image {
	max-width: 100%;
	max-height: 100%;
}

/* FIM CLIENTES */

/* ==================== Cards mod-21 ==================== */

.card.card--mod-21 {position: relative;border-radius: .25rem;overflow: hidden}
.card.card--mod-21 .card__image {display: block;width: 100%;aspect-ratio: 4/4;object-fit: cover}
.card.card--mod-21 .card__title {margin: 0;padding: .75rem;display: flex;align-items: center;justify-content: center;position: absolute;left: 0;bottom: 0;width: 100%;height: calc((1.125rem * 3)*1.3);font-size: 1.125rem;text-align: center;color: #fff;background-color: var(--primary-color);line-height: 1.3;}
.card.card--mod-21 .card__title::after {content: "";position: absolute;top: 0;left: 0;width: 100%;height: 100%;margin: 0;border: 2px solid #fffC;opacity: 0;border-radius: .25rem;transition: all .3s ease-out;transition-delay: 0s}
.card.card--mod-21:focus .card__title,
.card.card--mod-21:hover .card__title {height: 100%;}
.card.card--mod-21:hover .card__title::after {width: calc(100% - 2rem);height: calc(100% - 2rem);margin: 1rem;opacity: 1;transition-delay: .2s}

/* ================== FIM Cards mod-21 ================== */

.bg-image{
    background-image:url("<?=$url?>imagens/cta.webp");
    background-size: cover;
    background-position: center;
}

.recrutamento-card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: var(--primary-color);
    border-radius: 20px;
    transition: .5s;
}

.recrutamento-card img{
    filter: brightness(0) invert(1);
}

.recrutamento-card:hover{
    background-color: #fff;
}
.recrutamento-card:hover h3{
    color: var(--primary-color);
}

.recrutamento-card:hover span,
.recrutamento-card:hover p{
    color: var(--grey);
}

.recrutamento-card:hover img{
    filter: none;
}

.title-02 {
    position: relative;
    padding-left: 20px; 
}

.title-02::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
}


.title-03 { position: relative; }

.title-03::after {
  content: "";
  display: block;
  width: 6%;
  min-width: 3rem;
  height: .25rem;
  margin-top: .5rem;
  background-color: currentColor;
}

.title-03.title-03--full::after {
  width: 100%
}

.title-03.text-center::after {
  margin-left: auto;
  margin-right: auto;
}

.title-03.text-right::after {
  margin-left: auto;
}

.card-11{
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);  
    padding: 16px 16px 24px 16px;
    background-color: #fafafa;
    transition: all 0.4s ease;
}
.card-11__image{
    width: 100%;
    height: 260px;
    object-fit: cover;
}
.card-11, .card-11__image{
    border-radius: 15px;
}
.card-11__title{
    font-size: 1.4375rem;
    color: var(--grey, #606062);
    margin-top: 16px;
}
.card-11__text{
    font-size: 16px;
    color: var(--grey, #606062);
}
.btn-right{
    text-align: right;
}
.card-11__btn{
    color: var(--dark, #333);
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 600;
    padding: 11px 16px;
    background-color: transparent;
    transition: all 0.4s ease;
    border-radius: 10px;
}
.card-11__btn:hover{
    color: var(--light, #fff);
}
.card-11:hover{
    background-color: #e7e7e7;
}
.card-11:hover .card-11__btn{
    background-color: var(--primary-color, #26306D);
    color: var(--light);
}
.card-11:hover .card-11__title{
    color: var(--primary-color, #26306D);
}