header .logo-desktop,
header .logo-mobile-menu {
  width: 140px;
  margin: 1rem 0;
}

.texto-paises {
  font-size: 22px !important;
}

/* FOOTER */
footer {
  background-color: #00202b;
  margin-top: 3rem;
}
footer .logo-desktop {
  max-width: 132px;
}
footer h3 {
  margin-top: 0;
  font-size: 1.125rem;
  color: var(--light);
}
footer .footer__nav li a:not(.btn) {
  display: block;
  padding: 5px 0;
  font-size: 1rem;
  color: var(--light);
  transition: 0.3s;
}
footer .footer__nav li a i {
  font-size: 1rem;
}
footer .footer__nav li a:hover {
  color: var(--primary-color-light);
}
footer .address :is(span, a):not(.btn) {
  color: var(--light);
  font-size: 1rem;
  line-height: 25px;
  transition: 0.3s;
}
footer .address a:not(.btn):hover {
  color: var(--primary-color-light);
}

.copyright-footer .btn.selos {
  min-height: unset;
}
@media screen and (max-width: 992.05px) {
  footer .social {
    justify-content: center;
  }
}

html {
  scroll-behavior: smooth;
}
footer .footer__back-to-top {
  font-size: 0.9375rem;
}
footer .footer__back-to-top span.rounded-circle {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  color: var(--light);
  border-color: var(--light) !important;
  transition: 0.3s;
}
footer .footer__back-to-top:hover span {
  color: var(--light);
}
footer .footer__back-to-top:hover span.rounded-circle {
  background-color: var(--light);
  border-color: var(--light) !important;
  color: var(--dark);
}
footer .footer__map {
  line-height: 0;
}
footer .footer__map iframe {
  display: block;
}
.footer-line-divisor {
  border-bottom: 2px solid #00374a;
}
footer .social__icon {
  background-color: #00374a;
  border: 1px solid #005c7c;
  color: var(--light);
}
footer .social__icon:hover {
  color: var(--light);
}

.card.card--23 {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-flow: column nowrap;
  gap: 1rem;
  background-color: var(--dark);
  background-image:
    linear-gradient(-45deg, var(--dark), var(--grey)), var(--card-background);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: multiply, normal;
  border-radius: 1rem;
  padding: 1rem;
  position: relative;
  height: 100%;
}
.card.card--23:focus-within,
.card.card--23:hover {
  box-shadow: 0 0 0 2px var(--secondary-color);
}
.card.card--23 .card__title {
  color: #fff;
  font-size: 1.25rem;
  text-shadow: 0 0 0.25rem var(--dark);
  margin: 0;
  min-height: calc(1.25rem * 2 * 1.3);
}
.card.card--23 .card__link {
  z-index: 1;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-flow: row nowrap;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  transition: var(--transition);
  color: var(--light);
  font-weight: 600;
  border: 2px solid currentColor;
  border-radius: 99px;
}
.card.card--23 .card__link > span {
  width: 0;
  max-width: fit-content;
  opacity: 0;
  transition: var(--transition);
}
.card.card--23 .card__link:focus > span,
.card.card--23 .card__link:hover > span {
  width: 100px;
  opacity: 1;
  margin-right: 0.5rem;
}
.card.card--23 .card__link::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  backface-visibility: visible;
}
.card.card--23 .card__link:focus,
.card.card--23 .card__link:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}

.card-portfolio {
  background-color: #fafafa;
}
.card-portfolio .card-date {
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #e9e9e9;
  background-color: #fafafa;
  padding: 4px 12px;
}

.card-service {
  box-shadow:
    0 1px 4px 0 rgba(27, 27, 27, 0.05),
    0 1px 4px 0 rgba(27, 27, 27, 0.05);
  border-radius: 24px;
  border: 1px solid #e9e9e9;
  overflow: hidden;
}
.card-service img.card-img-top {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: contain;
  padding: 16px; /* respiro em volta da logo, evita que "grude" nas bordas */
  background: #fff;
}
.card-service .card-body {
  padding: 32px 24px !important; /* era 48px 24px — reduz um pouco a altura do card */
  background: #005c7c;
}
#card-engear-consultoria .card-body,
#card-consultoria .card-body {
  background: #005472;
}
#card-engear-laboratorio .card-body {
  background: #0090b9;
}
#card-linha-ecogear .card-body {
  background: linear-gradient(to right, #a8d099, #64b0a2);
}


#card-engear-consultoria img.card-img-top,
#card-engear-laboratorio img.card-img-top,
#card-linha-ecogear img.card-img-top {
  object-fit: contain;
  aspect-ratio: 3/2;
}

.card-service .btn {
  padding: 6px 10px;
  font-size: 0.8125rem; /* levemente menor, acompanha o card mais compacto */
  color: #1a1a1a;
}

.category-logo {
  width: 100%;
  max-width: 210px;
}

.card-blog {
  border-radius: 24px;
  overflow: hidden;
  background-color: #fafafa;
}
.card-blog .card-body {
  background-color: transparent;
}
.card-blog__date span {
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid #e9e9e9;
  background: #fafafa;
  font-family: var(--secondary-font, sans-serif);
  color: var(--grey);
}

.shadow-19 {
  box-shadow:
    rgba(50, 50, 93, 0.25) 0 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0 1px 3px -1px;
}

.title-subtitle {
  margin-bottom: 0;
}
.title-subtitle span {
  display: block;
  font-size: 0.9rem;
  color: #000;
  line-height: 1rem;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
}

/* ================= CLIENTES ================= */
.clientes .clientes__item {
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: var(--bs-border-radius);
  overflow: hidden;
  background-color: #fff;
}
.clientes .clientes__item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  margin: 0 auto;
  opacity: 0.75;
  border-radius: var(--bs-border-radius-sm);
  transition: opacity var(--transition);
  mix-blend-mode: multiply;
}
.clientes .clientes__item:hover img {
  opacity: 1;
}

/* ================= DEPOIMENTOS ================= */
.testimonial .testimonial-author-image {
  width: 100%;
  max-width: 64px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 999px;
}

/* BOX AND CARDS */
.box-form {
  box-shadow: 0 1px 4px 0 rgba(27, 27, 27, 0.05);
  background: #fafafa;
  border: 1px solid #e9e9e9;
  border-radius: 24px;
  padding: 32px;
}

.box--base {
  width: 100%;
  height: 100%;
  padding: 32px;
  background: var(--background);
  border: var(--border, 0);
  border-radius: var(--br);
}
.box__image--author {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-position: center;
  object-fit: cover;
}

/* CONTATO */
.form--contato label {
  font-family: var(--secondary-font);
}
.form--contato :is(input, textarea, select) {
  background-color: transparent;
  padding: 16px 12px;
  border-radius: 8px;
  font-size: 14px;
}
.contact__image {
  width: unset;
  height: 29px;
  object-fit: contain;
}

/* CARD DO MENU LATERAL */
.aside-mod-1 {
  width: 100%;
}

.aside-mod-1 .aside__menu {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  padding: 28px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* TÍTULO */
.aside-mod-1 .aside-title {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.aside-mod-1 .aside-title a {
  color: #4a4848;
  text-decoration: none;
}

/* ÁREA DOS ITENS */
.aside-mod-1 .aside__nav {
  max-height: 350px;
  overflow-y: auto;
  padding-right: 8px;
}

/* UL */
.aside-mod-1 .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ITENS */
.aside-mod-1 .sub-menu li {
  margin: 0;
  padding: 0;
}

/* LINKS */
.aside-mod-1 .sub-menu li a {
  display: block;
  padding: 10px 12px;
  margin-bottom: 7px;

  color: #1a1a1a;
  background: transparent;
  border: 0;
  border-radius: 8px;

  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;

  text-decoration: none;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    padding-left 0.2s ease;
}

/* HOVER LEVE */
.aside-mod-1 .sub-menu li a:hover {
  color: #008bb8;
}
.aside-mod-1 .sub-menu li a {
  background: transparent;
}
.aside-mod-1 .aside__nav {
  scrollbar-color: #008bb8 #eeeeee;
}

.aside-mod-1 .aside__nav::-webkit-scrollbar {
  width: 16px;
}

.aside-mod-1 .aside__nav::-webkit-scrollbar-track {
  background: #eeeeee;
  border-radius: 10px;
}

.aside-mod-1 .aside__nav::-webkit-scrollbar-thumb {
  background: #008bb8;
  border-radius: 10px;
}

/* UTILS */
.clientes img {
  mix-blend-mode: multiply;
}
.btn {
  padding: 12px 12px;
}
.banner__btn {
}
.line-divisor {
  width: 100%;
  background-color: var(--background);
}
.bg {
  background: var(--background);
}

.bg-center {
  background-position: center center;
}

.bg-cover {
  background-size: cover;
}

.bg-no-repeat {
  background-repeat: no-repeat;
}

.my-8 {
  margin-top: 8px;
  margin-bottom: 8px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.fs-12 {
  font-size: 0.75rem;
}

.fs-13 {
  font-size: 0.8125rem;
}

.fs-14 {
  font-size: 0.875rem;
}

.fs-16 {
  font-size: 1rem;
}

.fs-17 {
  font-size: 1.0625rem;
}

.fs-18 {
  font-size: 1.125rem;
}

.fs-20 {
  font-size: 1.25rem;
}

.fs-22 {
  font-size: 22px;
}
.fs-24 {
  font-size: 1.5rem;
}

.fs-28 {
  font-size: 1.75rem;
}

.fs-30 {
  font-size: 1.875rem;
}

.fs-32 {
  font-size: 2rem;
}

.fs-38 {
  font-size: 2.375rem;
}

.fs-40 {
  font-size: 2.5rem;
}

.pt-30 {
  padding-top: 30px;
}

.my-0 {
  margin-top: 0;
  margin-bottom: 0;
}

.my-8 {
  margin-top: 8px;
  margin-bottom: 8px;
}

.my-40 {
  margin-top: 40px;
  margin-bottom: 40px;
}

.bg {
  background: var(--background);
}
.bg-cta {
  background: var(--background);
  border-radius: 16px;
}

.bg-center {
  background-position: center center;
}

.bg-cover {
  background-size: cover;
}

.bg-no-repeat {
  background-repeat: no-repeat;
}

.fw-300 {
  font-weight: 300;
}

.fw-400 {
  font-weight: 400;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.fw-900 {
  font-weight: 900;
}

.btn-rounded {
  border-radius: 30px;
}
.mix-blend-multiply {
  mix-blend-mode: multiply;
}
.primary-font {
  font-family: var(--primary-font, sans-serif);
}

.secondary-font {
  font-family: var(--secondary-font, sans-serif);
}
.bread--default {
  background: var(--background);
  background-position: center center;
  background-size: cover;
  padding: 180px 0 80px;
}
.bread nav li,
.bread nav li a {
  color: var(--light) !important;
}
.bread h1 {
  font-size: 32px;
  color: var(--light);
}

.institucional__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}
.grey {
  color: var(--grey);
}

.btn-link {
  color: var(--color);
  text-decoration: none;
}

@media screen and (min-width: 768.05px) {
  header:not(.headerFixed) {
    position: absolute;
    top: 0;
    width: 100%;
    background-color: transparent;
    z-index: 9999;
  }
  header nav > ul#dropdown-custom > li.nav-item > a.nav-link > span,
  header nav > ul#dropdown-custom > li.nav-item > a.nav-link {
    color: #fff;
  }
  header.headerFixed {
    background: var(--primary-color-dark) !important;
  }
}

.title-line-top {
  position: relative;
}
.title-line-top::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 24px;
  height: 3px;
  background-color: var(--bgLine);
}
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--primary-font) !important;
}
p {
  font-family: var(--secondary-font) !important;
}
body {
  background: #fafafa;
}

header nav.offcanvas-body ul#dropdown-custom .dropdown-submenu .dropdown-menu {
  display: none !important;
}

/* BARRA DOUTOR (IDIOMAS) */
/* Fora do fluxo: o header é absolute sobre o banner, então a barra vira um chip
   no canto superior direito, acima do menu, sem empurrar o conteúdo. */
.barra_doutor {
  position: absolute;
  top: 0.375rem;
  right: 0.75rem;
}
.barra_doutor .widget__lang {
  width: auto;
  padding: 0.25rem 0.625rem;
  border-radius: var(--bs-border-radius);
  background-color: var(--primary-color-dark);
}
.barra_doutor .translate-container {
  width: auto;
}
.barra_doutor .translate-container img {
  border-radius: var(--bs-border-radius-sm);
  transition: transform var(--transition);
}
.barra_doutor .translate-container a:is(:hover, :focus-visible) img {
  transform: scale(1.1);
}
@media screen and (min-width: 768.05px) {
  /* o header é absolute com z-index 9999; sem isso ele intercepta o clique nas bandeiras */
  .barra_doutor {
    z-index: 10000;
  }
}
/* menu (offcanvas) aberto: o painel precisa ficar por cima das bandeiras */
body:has(.offcanvas.show, .offcanvas.showing) .barra_doutor {
  z-index: auto;
}

/* TEXTO COM DEGRADÊ E BANDEIRAS */
.text-gradient {
  --text-gradient: linear-gradient(to right, #a8d199, var(--primary-color));
  display: inline-block;
  background-image: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (forced-colors: active) {
  .text-gradient {
    -webkit-text-fill-color: currentColor;
  }
}
/* realce escuro atrás do degradê; apagar este bloco deixa só o degradê */
.text-gradient {
  margin: 0.1em 0;
  padding: 0.04em 0.2em;
  border-radius: 0.25em;
  background-color: var(--primary-color-dark);
  background-image: var(--text-gradient), none;
  -webkit-background-clip: text, border-box;
  background-clip: text, border-box;
}
.country {
  font-family: inherit;
  white-space: nowrap;
}
.country__flag {
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
}


.certificacao-container {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
  padding-left: 50px;
  padding-right: 50px;
}

.certificacao-container .row {
  max-width: 1400px;
  margin: 0 auto;
}

.certificacao-container img {
  width: 100%;
  height: auto;
}
