:root {
  --custom_color: #0130c6;
  --custom_color_hover: #002491;
  --header_yellow: #f1bd0f;
  --header_navy: #0c3a56;
  --header_orange: #f1bd0f;
  --header_cyan: #00c3ff;
  --header_text: #0f2736;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/libraries/materialdesignicons/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/libraries/materialdesignicons/fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
}

/* Ensure icon font swaps immediately to avoid FOIT on materialdesignicons */
@font-face {
  font-family: "Material Design Icons";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url('/libraries/materialdesignicons/fonts/materialdesignicons-webfont.woff2?v=7.4.47') format('woff2'),
    url('/libraries/materialdesignicons/fonts/materialdesignicons-webfont.woff?v=7.4.47') format('woff'),
    url('https://cdn.jsdelivr.net/npm/@mdi/font@7.4.47/fonts/materialdesignicons-webfont.woff2') format('woff2');
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--header_text);
}

.container,
.hero-search__container,
.hero-banner__container,
.states__container {
  max-width: 100%;
  padding-left: 15%;
  padding-right: 15%;
}

/* footer container uses normal page padding so it aligns with other sections */
/* (no override, keep the 15% left/right from .container rule above) */

/* Remove wide horizontal padding on footer container for small screens */
@media (max-width: 767.98px) {
  footer .container,
  .site-footer .container,
  .footer .container {
    padding-left: 0;
    padding-right: 0;
  }

  /* Center footer items and stack them vertically on small screens */
  footer .row {
    justify-content: center !important;
    text-align: center;
    flex-direction: column;
  }

  footer .row > .col-md-4,
  footer .row .nav.col-md-4 {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center !important;
    align-items: center;
    margin-top: .5rem;
  }

  /* smarter responsive structure for our custom footer sections */
  .footer-assist {
    display: flex;
    flex-direction: column;
    gap: 1rem;    /* slightly smaller gap to reduce vertical bulk */
    align-items: center;
    padding: 1rem 0; /* reduce top/bottom padding */
  }
  .footer-assist .col-md-3 {
    flex: none;
    max-width: none;
    width: 100%;
    text-align: center;
  }
  .footer-assist .site-logo img {
    max-height: 48px; /* shrink logo for mobile */
  }
  .footer-assist p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
  .footer-assist .site-logo,
  .footer-assist .site-logo img {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-assist h6 {
    margin-top: .5rem;
    margin-bottom: .5rem;
  }
  .footer-assist .btn {
    margin: .75rem auto;
  }

  .site-footer .footer-top {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .site-footer .footer-categories {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .site-footer .footer-navigation,
  .site-footer .footer-actions {
    width: 100%;
    text-align: center;
  }

  .site-footer .footer-socials {
    margin-top: 1.5rem;
  }

  footer .nav img.dev-logo {
    margin-left: .5rem;
  }
}

img {
  max-width: 100%;
}

main {
  min-height: 100vh;
  position: relative;
}

#preloader {
  position: fixed;
  background: #fff;
  z-index: 99999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#preloader:before {
  content: '';
  position: fixed;
  top: calc(50% - 50px);
  left: calc(50% - 50px);
  border: 6px solid #f2f2f2;
  border-top: 6px solid var(--custom_color);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  -webkit-animation: loader-animation 1s linear infinite;
  animation: loader-animation 1s linear infinite;
}

footer .dev-logo {
  height: 15px;
}

/* New footer styles */
.site-footer {
  color: #5a5c5e;
  font-size: 0.9rem;
  line-height: 1.5;
}
.site-footer a { color: inherit; }
.site-footer h6 { color: #3b3f44; margin-bottom: .5rem; }
/* revert to bootstrap grid rather than custom flex wrap */
.site-footer .footer-top {
  display: block;
  /* give a little breathing room between stacked rows */
  row-gap: 1rem;
  /* center each row's contents horizontally without centering text */
}
/* ensure the rows inside the footer (assist + top) are centered */
.footer-assist.row {
  /* distribute the four blocks evenly across the full width */
  justify-content: space-evenly;
  gap: 2rem; /* add explicit horizontal gap between columns */
}
.footer-assist .col-md-3 {
  /* make each column take equal share of available space */
  flex: 1 1 0;
  max-width: 25%;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.site-footer .footer-top.row {
  justify-content: center;
}
/* remove extra margins from assist columns; bootstrap gutters are sufficient */
.footer-assist .col-md-4 {
  margin: 0;
}
/* ensure each column stacks its own contents vertically */
.site-footer .footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 1rem;
}
/* about section should be vertical with logo on top */
.site-footer .footer-about {
  display: block;
}
.site-footer .footer-about .site-logo {
  margin-bottom: 1rem;
}
.site-footer .footer-socials {
  text-align: center;
  margin-top: 1rem;
}
.site-footer .footer-socials a {
  margin: 0 1rem;
  font-size: 2.5rem;
  color: #3b3f44;
}
/* top assist row above main footer columns */
.footer-assist {
  border-bottom: 1px solid #ddd;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}
.footer-assist .site-logo img {
  max-height: 64px;
  width: auto;
}
.footer-assist .col-md-4:first-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.footer-assist .col-md-4:not(:first-child) {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.footer-assist .col-md-4:not(:first-child) h6 {
  margin-top: 0;
  margin-bottom: 0.25rem;
}
.footer-assist .col-md-4:not(:first-child) ul {
  margin-bottom: 0.75rem;
}

/* spacing between help and navigation within second assist column */
.footer-assist .col-md-4 .row > .col-6 {
  padding-right: 0.75rem;
}
.footer-assist .col-md-4 .row > .col-6:last-child {
  padding-right: 0;
}
/* contact information inserted after help links */
.footer-assist .col-md-4 .col-6 h6 + a {
  display: block;
  margin-bottom: 0.5rem;
}
.footer-assist .col-md-4 h6 {
  margin-bottom: 0.25rem;
}
.footer-assist .col-md-4:first-child p {
  margin-bottom: 0.5rem;
}
.footer-assist .col-md-4:first-child h6 {
  margin-bottom: 0.25rem;
}
.footer-assist h6 {
  margin-bottom: .5rem;
}
.footer-assist ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.footer-assist ul li a {
  color: inherit;
  text-decoration: underline;
}
.site-footer .footer-categories {
  /* use grid so entries stretch evenly and adapt to container width */
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem 2rem;
}
.site-footer .footer-categories .footer-category {
  margin-bottom: 1rem;
  /* grid items auto-flow, break-inside not needed but keep safe */
  break-inside: avoid;
}

/* remove old flex‑based rules (container no longer flex) */
/* remove old column-splitting helpers (markup no longer uses .cat-col) */
/* give a little indent on subcategory list */
.site-footer .footer-categories .footer-subcats {
  margin-top: 0.25rem;
}
.site-footer .footer-navigation ul {
  padding-left: 0;
  list-style: none;
}
.site-footer .footer-navigation a {
  display: block;
  margin-bottom: .75rem;
  line-height: 1.4;
}

.site-footer .footer-about p {
  margin-bottom: .5rem;
  max-width: 100%;
}
.site-footer .footer-about h6 {
  margin-top: .5rem;
  margin-bottom: .25rem;
}
.site-footer .footer-about .contact-item {
  margin-top: .25rem;
}

/* responsive tweaks: ensure categories column grows on larger screens */
@media (min-width: 992px) {
  .site-footer .footer-col.col-md-4 {
    flex: 0 0 40%;
    max-width: 40%;
  }
  .site-footer .footer-col.col-md-2 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}
.site-footer .footer-actions {
  text-align: right;
}

.site-footer .footer-top {
  border-bottom: 1px solid #eee;
}
.site-footer .site-logo { display:block; margin-bottom:12px; }
.site-footer .site-logo img { max-height: 64px; width: auto; display:block; }
.site-footer .contact-item { margin-bottom: 8px; display:flex; align-items:center; gap:8px; }
.site-footer .newsletter-form { display:flex; gap:8px; max-width:420px; }
.site-footer .newsletter-form input { flex:1; padding: 10px 12px; border-radius: 6px; border:1px solid #ddd; }
.site-footer .newsletter-form button { padding: 10px 18px; border-radius: 6px; }
.site-footer .socials a {
  margin-right: 10px;
  color: #333;
  font-size: 2.4rem;
}
.site-footer .cert-list { display:flex; gap:12px; justify-content:flex-end; align-items:center; flex-wrap:wrap; }
.site-footer .cert-list img { max-height:48px; display:block; width:auto; flex:0 0 auto; }

/* Garantir exibição lado-a-lado em telas médias/maiores */
@media (min-width: 576px) {
  .site-footer .cert-list { flex-wrap: nowrap; }
  .site-footer .cert-list img { max-width: 160px; }
}

.site-footer .footer-bottom { display:flex; justify-content:space-between; align-items:center; padding-top:18px; font-size:0.9rem; color:#666; }

/* FAQ section styles */
.faq-section { padding: 48px 0; background: #ffffff; }
.faq-section .section-title { font-size: 1.6rem; margin-bottom: 8px; color: var(--header_navy); font-weight: 700; }
.faq-section .section-intro { margin-bottom: 20px; color: #6d7176; font-size: 1.05rem; line-height: 1.5; max-width: 720px; }
.faq-section .accordion { margin-top: 12px; }
.faq-section .accordion-item { border: none; border-radius: 12px; margin-bottom: 14px; overflow: hidden; box-shadow: 0 8px 30px rgba(18,33,50,0.04); }
.faq-section .accordion-button { background: transparent; color: var(--header_navy); font-weight: 600; padding: 1rem 1.25rem; display: flex; align-items: center; gap: 12px; border-left: 4px solid var(--header_yellow); transition: background .18s ease, border-color .18s ease, color .18s ease; }
.faq-section .accordion-button::after { transition: transform .22s cubic-bezier(.2,.8,.2,1); }
.faq-section .accordion-button.collapsed { color: #21303a; }
.faq-section .accordion-button:not(.collapsed) { background: #fffbe6; border-left-color: var(--header_yellow); }
.faq-section .accordion-button:not(.collapsed)::after { transform: rotate(180deg); }
.faq-section .accordion-body { padding: 1.25rem 1.5rem; color: #4f5559; font-size: 1.04rem; line-height: 1.6; background: #fff; border-top: 1px solid #eef1f3; }
.faq-section .accordion-button:focus { box-shadow: 0 6px 18px rgba(18,33,50,0.06); outline: none; }
.faq-section .accordion-item:first-child { margin-top: 6px; }

@media (max-width: 576px) {
  .faq-section { padding: 36px 0; }
  .faq-section .section-title { font-size: 1.35rem; }
  .faq-section .accordion-item { border-radius: 8px; box-shadow: 0 6px 18px rgba(18,33,50,0.03); }
  .faq-section .accordion-button { padding: 0.9rem 1rem; }
}

@media (max-width: 767.98px) {
  .site-footer .cert-list { justify-content:center; margin-top:6px; }
}

@media (max-width: 767.98px) {
  /* Layout: logo à esquerda, textos empilhados à direita */
  .site-footer .footer-top { display: flex; align-items: flex-start; gap: 18px; flex-wrap: nowrap; }
  .site-footer .footer-top .footer-col { width: auto; max-width: none; }

  /* Coluna da logo (fixa) */
  .site-footer .footer-top .footer-col:first-child { flex: 0 0 140px; text-align: left; }
  .site-footer .site-logo { margin: 0; max-width: 250px; }
  .site-footer .site-logo img { max-height: 56px; display: block; width: auto; }

  /* Coluna de conteúdo: empilha itens e alinha à esquerda */
  .site-footer .footer-top .footer-col:last-child { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; text-align: left; }
  .site-footer .newsletter-form { justify-content: flex-start; width:100%; }
  .site-footer .socials { justify-content: flex-start; }
  .site-footer .cert-list { justify-content: flex-start; margin-top: 0; }

  /* Footer bottom: empilha e alinha à esquerda em tablet/mobile */
  .site-footer .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
  .site-footer .footer-bottom .text-end { text-align: left; }

  /* Override container utility-classes inside footer so mobile respects left alignment */
  .site-footer .footer-top .d-flex.justify-content-end { justify-content: flex-start !important; }
  .site-footer .footer-top .d-flex.align-items-end { align-items: flex-start !important; }
  /* ensure newsletter/social blocks aren't forced right by utility classes */
  .site-footer .newsletter, .site-footer .socials { text-align: left !important; }

  /* Ajustes menores para elementos internos */
  .site-footer .socials a { font-size: 2.0rem; margin-right: 12px; }
  .site-footer .newsletter-form input { max-width: 320px; }
}

@media (max-width: 420px) {
  /* Em telas muito pequenas: empilhar verticalmente, MAS alinhar tudo à esquerda */
  .site-footer .footer-top { flex-direction: column; gap: 12px; }
  .site-footer .footer-top .footer-col:first-child,
  .site-footer .footer-top .footer-col:last-child { width: 100%; }

  /* Forçar alinhamento à esquerda no conteúdo (newsletter / socials) */
  .site-footer .footer-top .footer-col:last-child { align-items: flex-start; text-align: left; }
  .site-footer .newsletter-form, .site-footer .socials { justify-content: flex-start; }

  /* Footer bottom: empilha e alinha à esquerda em telas pequenas */
  .site-footer .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
  .site-footer .footer-bottom .text-end { text-align: left; }
}


.hidden-captcha .form-group {
  display: flex;
  align-items: center;
}

.hidden-captcha .captcha {
  user-select: none;
  cursor: default;
  padding: 5px 15px;
  border: 1px solid #dddddd;
  border-radius: 0;
  font-size: 1.2rem;
  font-weight: 700;
  background: url("/arquivos/imagens/captcha.jpg") no-repeat center !important;
  text-transform: none !important;
  height: 50px;
  margin: 0;
  white-space: nowrap;
}

.hidden-captcha input.captcha_result {
  padding: 5px;
  border: 1px solid #dddddd;
  border-radius: 0;
  width: 100%;
  height: 50px;
}

.form-group{
  margin-bottom: 1rem;
}

/* Select pesquisável (combo personalizado) */
.select-search {
  position: relative;
  display: block;
  width: 100%;
}
/* dentro de search-pill, permitir que o select pesquisável expanda para preencher o espaço */
.search-pill .select-search {
  flex: 1 1 auto;
  width: 100%;
}
.select-search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  /* remove default background inside the pill so it looks integrated */
}
/* fazer o input corresponder visualmente ao pill (sem borda interna) quando dentro de .search-pill */
.search-pill .select-search-input {
  border: none;
  padding: 8px 6px;
  background: transparent;
}
.select-search-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  max-height: 220px;
  overflow: auto;
  z-index: 2000;
  display: none;
}

/* Inline spinner shown for selects that are disabled/loading */
.form-select.is-loading {
  /* provide space on the right for the spinner */
  padding-right: 2.6rem;
}
.select-inline-spinner {
  display: inline-block;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border: 2px solid #e6e6e6;
  border-top-color: var(--custom_color);
  border-radius: 50%;
  animation: loader-animation 0.9s linear infinite;
  pointer-events: none;
  z-index: 2;
}
.select-inline-spinner[hidden] { display: none; }
.select-search-item {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 0.95rem;
}
.select-search-item:hover,
.select-search-item.select-search-item--active {
  background: #f4f7fb;
}

@media (max-width: 576px) {
  .select-search-list { max-height: 160px; }
}

@keyframes loader-animation {
  to {
    transform: rotate(360deg);
  }
}

/* HEADER */
.site-header {
  --site-header-height: 84px;
  background: var(--header_yellow);
  padding: 15px 0 0px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.06);
}

/* Adicionar padding-top ao conteúdo principal igual à altura do cabeçalho */
main {
  padding-top: var(--site-header-height);
  transition: padding-top 380ms cubic-bezier(.2,.8,.2,1);
}

/* Estado de cabeçalho compacto quando o usuário rola no desktop */
.site-header--compact {
  /* visual-only state: do NOT change height or layout variables to avoid jumps */
}

.site-header--compact .site-header__top {
  /* keep internal padding stable to avoid flicker */
  padding-top: 10px;
  padding-bottom: 10px;
}

/* animate the bottom area (IP, nav, solution) instead of hiding abruptly */
.site-header__bottom {
  transition: max-height 420ms cubic-bezier(.2,.8,.2,1), opacity 380ms ease, transform 380ms cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
  max-height: 200px; /* default space when visible */
  margin-top: 10px;
}

.site-header--compact .site-header__bottom {
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  margin-top: 0; /* remove leftover gap */
}

/* garantir que o cabeçalho não deslize pra fora da tela ao compactar */
.site-header--compact {
  transform: translateY(0) !important;
}

/* subtle shrink for logo, search and CTA for better balance */
.site-logo {
  transition: width 380ms cubic-bezier(.2,.8,.2,1), transform 380ms cubic-bezier(.2,.8,.2,1);
}

.site-logo {
  max-width: 220px;
  width: auto;
}

.site-header__search,
.site-header__cta {
  transition: transform 380ms cubic-bezier(.2,.8,.2,1), opacity 380ms ease;
}

/* Smooth transitions */
.site-header {
  transition: transform 420ms cubic-bezier(.2,.8,.2,1), box-shadow 300ms ease, background 300ms ease, padding 300ms ease;
  will-change: transform;
  min-height: var(--site-header-height); /* keep header height constant */
}

/* ensure header top area does not collapse */
.site-header__top { padding-top: 10px; padding-bottom: 10px; }
/* Hidden state: slide header out of view (used when scrolling down) */
.site-header--hidden {
  transform: translateY(calc(-1 * var(--site-header-height)));
}

@media (max-width: 768px) {
  .site-header { --site-header-height: 110px; }
  main { padding-top: var(--site-header-height); }
}

@media (max-width: 420px) {
  .site-header { --site-header-height: 140px; }
  main { padding-top: var(--site-header-height); }
}

.site-header__top {
  display: grid;
  /* fixed logo, search min width fixed to avoid shrinking, CTA has min width */
  grid-template-columns: 220px minmax(460px, 1fr) minmax(200px, auto);
  align-items: center;
  column-gap: 16px;
  row-gap: 10px;
  min-height: 48px; /* keep consistent top area height to avoid inner item shrinking */
}

/* Ensure important elements don't shrink when header compacts */
.site-logo { width: 220px !important; }
.site-header__search { min-width: 460px; }
.site-cta { min-width: 200px; }
.site-header--compact .site-header__search { min-width: 460px !important; }
.site-header--compact .site-cta { min-width: 200px !important; }

/* Keep search pill height stable */
.search-pill { min-height: 44px; display: flex; align-items: center; }


.site-logo {
  width: 220px;
  height: 50px;
  background: #09233d;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 10px;
}

.site-logo img {
  max-height: 100%;
  width: auto;
  display: block;
}

.site-header__search {
  min-width: 460px;
  max-width: 760px;
  justify-self: center;
  transition: min-width 220ms ease;
}

.search-pill {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 32px;
  padding: 5px 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
  position: relative;
}

.search-pill .form-control::placeholder {
  color: #6c7480;
}

.search-pill .form-control:focus {
  box-shadow: none;
}

.search-icon,
.search-pin {
  color: var(--header_navy);
  font-size: 1.25rem;
}

.search-pin {
  font-size: 1.38rem;
}

.site-header__cta {
  white-space: nowrap;
  justify-self: end;
  flex-direction: column;
  align-items: flex-end;
}

.site-header__collapse {
  display: grid;
  grid-template-rows: auto auto;
  row-gap: 14px;
  margin-top: 8px;
}

.site-header__top-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.header-menu-btn {
  display: none;
  border: 2px solid var(--header_navy);
  background: transparent;
  color: var(--header_navy);
  border-radius: 10px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  justify-self: end;
  margin-left: auto;
}

.header-menu-btn .mdi {
  font-size: 1.6rem;
}

.hero-search.d-flex.justify-content-center {
  margin-top: 75px;
}

@media (min-width: 993px) {
  .site-header .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 22px;
    row-gap: 6px;
  }

  .site-header__top {
    grid-column: 1;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }

  .site-header__collapse {
    display: contents;
  }

  .site-header__top-content {
    grid-column: 2 / 4;
    grid-row: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .site-header__bottom {
    grid-column: 1 / 4;
    grid-row: 2;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 18px;
  }

  .header-menu-btn {
    display: none;
  }

  .site-header__cta {
    align-items: flex-end;
    justify-self: end;
  }

  .col-lg-7 {
    flex: 0 0 auto;
    width: 42%;
  }

  .col-lg-3 {
    flex: 0 0 auto;
    width: 41%;
  }
}

.solution__text {
  font-size: 0.92rem;
  color: #4e4e4e;
}

.solution__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  background: #0130c6;
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 6px 14px rgba(46, 167, 255, 0.3);
}

.site-cta {
  border: 2px solid var(--header_navy);
  color: var(--header_navy);
  border-radius: 26px;
  padding: 12px 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: transparent;
  min-width: 200px;
}

/* footer-specific call-to-action uses darker custom color */
.site-footer .site-cta {
  background: #09233d;
  color: #fff;
  border-color: #09233d;
  font-size: 0.9rem;
}
.site-footer .site-cta:hover,
.site-footer .site-cta:focus {
  /* keep same on hover so color doesn't invert */
  background: #09233d;
  color: #fff;
}

.site-cta:hover,
.site-cta:focus {
  background: var(--header_navy);
  color: #fff;
}

.site-header__bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 32px;
}

.site-nav.site-nav--center {
  margin-bottom: 15px;
}

.ip-info {
  font-size: 1rem;
  color: var(--header_text);
  margin-top: 10px;
}

.solution.d-flex.align-items-center.gap-2.justify-content-end {
  margin-top: 5px;
  margin-bottom: 15px;
}

.ip-info.d-flex.align-items-center.gap-2 {
  margin-bottom: 15px;
}

.ip-info__value {
  color: var(--header_navy);
  letter-spacing: 0.01em;
}

.site-nav .nav-link {
  color: var(--header_text);
  font-weight: 600;
  font-size: 1.08rem;
  padding: 8px 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
}

.site-nav .nav-link.active {
  border-bottom-color: var(--header_navy);
}

.site-nav--center {
  justify-self: center;
}
.header-spacer {
  width: 1px;
  height: 1px;
}

.site-nav .nav-link:hover {
  color: var(--header_navy);
}

.nav-item--has-dropdown {
  position: relative;
  z-index: 1300;
}

.site-nav .nav-link--dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px 0;
  cursor: pointer;
}

.nav-link__chevron {
  font-size: 1.05rem;
  line-height: 1;
}

.site-nav .nav-link--dropdown:focus-visible {
  outline: 2px solid #0c7bc2;
  outline-offset: 2px;
}

.nav-item--open > .nav-link {
  color: var(--header_navy);
}

.blog-menu {
  position: fixed;
  top: calc(var(--site-header-height) + 61px);
  left: 50%;
  transform: translate(-50%, 0px);
  width: min(100%, calc(100vw - 30px));
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(7, 36, 79, 0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 1200;
}

.blog-menu[hidden] {
  display: block; /* allow CSS hover/focus rules to work even if hidden attr is present */
}

.blog-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-item--has-dropdown:focus-within .blog-menu,
.nav-item--has-dropdown:hover .blog-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.blog-menu__inner {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.blog-menu__title {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #4a4f59;
  font-size: 0.9rem;
}



.blog-menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

.blog-menu__category {
  font-weight: 800;
  color: #5c636f;
  text-transform: uppercase;
  font-size: 0.86rem;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.blog-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.blog-menu__link {
  color: #0f2736;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-menu__link:hover {
  color: #0c7bc2;
}

.blog-menu__empty {
  color: #8a909c;
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .site-header {
    --site-header-height: 100px;
    position: fixed;
  }
  main { padding-top: var(--site-header-height); }

  .site-header__top {
    grid-template-columns: auto 1fr 48px; /* logo | search | menu */
    row-gap: 6px;
    justify-items: start;
    align-items: center;
  }

  .site-logo { justify-self: start; }
  /* Use <picture> - show image and cap height in mobile */
  .site-logo picture img { display: block; max-height: 40px; width: auto; }

  .site-header__search--top { display: block; width: 100%; }
  .site-header__search { width: 100%; max-width: none; min-width: 0; }

  .header-menu-btn { display: inline-flex; justify-self: end; }

  .site-header__collapse { display: none; }
  #header-menu-toggle:checked ~ .site-header__collapse { display: grid; }

  /* Mobile overlay styles */
  .site-header-mobile {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(9,35,61,0.95); /* slightly translucent */
    transform: translateX(-100%);
    transition: transform 360ms cubic-bezier(.2,.8,.2,1);
    z-index: 1100;
    color: #fff;
    -webkit-font-smoothing: antialiased;
  }

  .site-header-mobile.open {
    transform: translateX(0);
  }

  /* Force all text inside the mobile overlay to white (including link hovers) */
  .site-header-mobile,
  .site-header-mobile * {
    color: #fff !important;
  }
  .site-header-mobile a,
  .site-header-mobile .nav-link,
  .site-header-mobile a:hover,
  .site-header-mobile .nav-link:hover {
    color: #fff !important;
    opacity: 1 !important;
  }

  .blog-menu {
    display: none;
  }

  .site-header-mobile .nav-link--dropdown {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 0;
    cursor: pointer;
  }

  .mobile-blog-menu {
    display: none;
    padding: 8px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    max-height: 60vh; /* limit menu height so overlay can scroll */
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-blog-menu.is-open {
    display: block;
  }

  

  .mobile-blog-menu__group + .mobile-blog-menu__group {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-blog-menu__category {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 6px 0;
  }

  .mobile-blog-menu__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
  }

  .mobile-blog-menu__link {
    text-decoration: none;
    font-weight: 600;
  }

  .mobile-blog-menu__empty {
    font-size: 0.9rem;
    opacity: 0.8;
  }

  /* Make the CTA border and text white inside the overlay */
  .site-header-mobile .site-cta {
    border-color: #fff !important;
    color: #fff !important;
  }
  .site-header-mobile .site-cta:hover,
  .site-header-mobile .site-cta:focus {
    background: rgba(255,255,255,0.06) !important;
    color: #fff !important;
    border-color: #fff !important;
  }

  .site-header-mobile__inner {
    width: min(768px, 100vw);
    height: 100%;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;
    background: #09233d;
    overflow-y: auto; /* allow overlay to scroll when content exceeds viewport */
    -webkit-overflow-scrolling: touch;
  }

  .site-header-mobile__close {
    margin-left: auto;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 1.2rem;
  }

  .site-header-mobile__logo img { max-height: 44px; }
  .site-header-mobile__search { margin-top: 6px; }

  .site-header-mobile__nav .nav-link {
    color: #fff;
    padding: 12px 0;
    font-weight: 700;
    font-size: 1.3rem;
    display: block;
    text-align: left;
  }

  .site-header-mobile__nav .nav-link:hover { color: #f1bd0f; }

  .site-header-mobile__nav {
    padding: 40px 0;
    border-top: 5px solid #fff;
    border-bottom: 5px solid #fff;
    margin: 30px 0;
  }

  .site-header-mobile__cta {
    margin-top: 12px;
  }

  .site-header-mobile__cta .site-cta {
    border-width: 2px;
  }

  .site-header-mobile__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 12px;
  }

  .site-header-mobile__footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
  }

  .site-header-mobile__footer .ip-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-align: center;
    justify-content: center;
  }
  .site-header-mobile__footer .ip-info__label {
    font-size: 0.9rem;
    color: #fff;
    opacity: 0.95;
    margin: 0;
  }
  .site-header-mobile__footer .ip-info__value {
    font-weight: 700;
    font-size: 1rem;
  }

  .site-header-mobile__footer .solution {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
  }
  .site-header-mobile__footer .solution__text,
  .site-header-mobile__footer .solution__badge {
    display: inline-block;
    line-height: 1;
  }

  /* Only show mobile overlay behavior on <= 992px */
  @media (min-width: 993px) {
    .site-header-mobile { display: none !important; }
  }

  .site-header__collapse { position: relative; padding-bottom: 78px; }

  .site-header__top-content { grid-template-columns: 1fr; row-gap: 12px; }

  .site-header__cta { width: 100%; justify-content: flex-start; justify-self: stretch; align-items: flex-start; }

  .site-header__bottom {
    order: -1;
    grid-template-columns: 1fr;
    align-items: flex-start;
    row-gap: 10px;
    column-gap: 0;
    grid-template-areas: "nav";
    margin-top: 8px;
  }

  .site-nav.site-nav--center {
    grid-area: nav;
    justify-self: stretch;
  }

  /* Override previous absolute footer positioning for mobile overlay
     and force footer items to stack and center inside the overlay */
  .site-header-mobile__footer .ip-info,
  .site-header-mobile__footer .solution {
    position: static !important;
    bottom: auto !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 !important;
  }

  .site-header-mobile__footer .ip-info {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .site-header-mobile__footer .solution__text,
  .site-header-mobile__footer .solution__badge {
    font-size: 0.9rem;
  }

  /* fallback for any remaining utility class overrides */
  .ip-info.d-flex.align-items-center.gap-2,
  .solution.d-flex.align-items-center.gap-2 {
    margin: 0 !important;
    justify-content: center !important;
  }

  .site-nav .nav {
    gap: 14px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

   .site-cta {
    width: 75%;
    text-align: center;
  }

  .blog-mini__link {
    grid-template-columns: 1fr 64px;
  }
}

.hero-search.d-flex.justify-content-center {
  padding: 20px 0px 20px 0px;
}

/* HERO SEARCH */
.hero-search {
  padding: 14px 0 18px;
}

.hero-search__box {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 6px;
  padding: 12px 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  font-size: 0.98rem;
  color: #4a5866;
  text-align: center;
  width: 100%;
  min-height: 44px;
  display: block;
  box-sizing: border-box;
}

.hero-search__container {
  width: 100%;
}

/* HERO BANNER */
.hero-banner {
  padding: 0 0 32px;
}

.hero-banner__content {
  background: #f1bd0f url('/arquivos/imagens/Solar01.webp') right -250px center/contain no-repeat;
  border-radius: 7px;
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  min-height: 425px;
  overflow: hidden;
}

.hero-banner__text {
  padding: 46px 46px 40px 46px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.hero-banner__text h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #0f2736;
}

.hero-highlight {
  color: #1a2bb8;
}

.hero-banner__text p {
  margin: 0;
  font-size: 1rem;
  color: #4e4e4e;
}

.hero-btn {
  align-self: flex-start;
  margin-top: 8px;
  background: transparent;
  border: 2px solid #fefefe;
  color: #fefefe;
  border-radius: 36px;
  padding: 14px 32px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-btn:hover,
.hero-btn:focus {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero-banner__image {
  background: none;
  min-height: 0;
}

/* STATES */
.states {
  padding: 18px 0 44px;
}

.states__header {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
}

.states__title {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 600;
  color: #424b55;
}

.states__body {
  display: grid;
  grid-template-columns: 7% 1fr 40px;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.states__arrow {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: #b8b8b8;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}

.states__arrow .mdi {
  font-size: 1.18rem;
  color: #ffffff;
}

.states__carousel {
  margin-top: 0;
  width: 100%;
  overflow: hidden;
}

.states__carousel .owl-stage-outer {
  overflow: hidden;
}

.states__carousel .owl-stage {
  display: flex;
}

/* chips already have a right margin in components/states.css; within
   the carousel we want a fixed 12px gap and we also need to zero the
   last element so the button spacing stays even. */
.states__carousel .states__chip {
  margin-right: 12px;
}
.states__carousel .states__chip:last-child {
  margin-right: 0;
}

.states__chip {
  min-width: 81px;
  text-align: center;
  padding: 6px 26px;
  border-radius: 30px;
  background: #ffffff;
  border: 2px solid #d9d9d9;
  font-weight: 700;
  color: #0130c6;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: none;
}

.states__chip--placeholder {
  color: #7a8090;
  background: #f2f4f7;
  border-style: dashed;
}

@media (max-width: 768px) {
  .states__body {
    grid-template-columns: 32px 1fr 32px;
    gap: 10px;
  }

  .states__arrow {
    width: 32px;
    height: 32px;
  }

   .states__chip {
    min-width: 75px;
    padding: 10px 15px;
    font-size: 1rem;
    margin-left: 5px;
  }

}

/* PARTNERS SEARCH */
.partners {
  background: #f3f5f7;
  padding: 44px 0 52px;
}

.partners__container {
  max-width: 75%;
  margin: 0 auto;
    margin-top: 0px;
  padding: 0 24px;
  margin-top: 50px;
}

.partners__title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #3a434d;
  margin: 0 0 20px;
}

.partners__card {
  background: #ffffff;
  border-radius: 10px;
  padding: 18px 20px 22px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.partners__card-header {
  margin-bottom: 12px;
}

.partners__icon {
  font-size: 1.35rem;
  color: #2b7ff6;
}

.partners__card-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #222c3c;
}

.partners__form {
  margin-top: 6px;
}

.partners__label {
  display: block;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: #8a8f99;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.partners__select {
  height: 48px;
  border-radius: 6px;
  border: 1px solid #d8dbe2;
  color: #4a5059;
  font-size: 0.98rem;
  padding: 10px 14px;
  box-shadow: none;
}

.partners__select:focus {
  border-color: #bfc4ce;
  box-shadow: none;
}

.partners__btn {
  height: 48px;
  border-radius: 6px;
  background: #1f2b44;
  color: #f1bd0f;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

.partners__btn:hover,
.partners__btn:focus {
  color: #f1bd0f;
  background: #192235;
}

/* Results grid */
.partners__results {
  margin-top: 18px;
}
.partners__notice {
  padding: 8px 12px;
  text-align: center;
  color: #57606a;
}


.partners__grid-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cards per row on desktop */
  gap: 20px;
}

/* Responsive breakpoints: 2 / 1 columns */
@media (max-width: 991px) {
  .partners__grid-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .partners__grid-inner { grid-template-columns: 1fr; }
}

.partners__card-item { width: 100%; }

/* Partners-specific card tweaks: left-aligned, consistent heights and truncation */
.partners__card-item .company-card {
  padding: 16px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  box-sizing: border-box;
}

/* Make header area align left and allow badge on the right */
.partners__card-item .company-card__top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.partners__card-item .company-card__logo {
  width: 88px;
  height: 48px;
  object-fit: contain;
  margin-right: 12px;
}

/* Title: allow up to two lines then ellipsis */
.partners__card-item .company-card__title {
  font-size: 1rem;
  margin: 8px 0 4px 0;
  line-height: 1.18;
  max-height: 2.36em; /* 2 lines */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.partners__card-item .company-card__location { display: block; margin-top: 4px; color: #6a7079; }



/* Actions: keep them at the bottom and side-by-side on desktop */
.partners__card-item .company-card__actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}
.partners__card-item .company-card__btn-whatsapp { flex: 1 1 auto; }

/* Small screens: stack actions */
@media (max-width: 576px) {
  .partners__card-item .company-card { min-height: 0; padding: 12px; }
  .partners__card-item .company-card__actions { flex-direction: column; }
  .partners__card-item .company-card__btn-whatsapp { width: 100%; }
}

/* subtle hover and transition */
.partners__card-item .company-card { transition: transform .18s ease, box-shadow .18s ease; }
.partners__card-item .company-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,0.10); }


/* COMPANIES CAROUSEL */
.companies {
  padding: 34px 0 42px;
}

.companies__container {
  max-width: 75%;
  margin: 0 auto;
  width: 100%;
}

.companies__body {
  display: grid;
  grid-template-columns: 0px 1fr 20px;
  gap: 0;
  align-items: center;
  margin-left: 20px;
}

.companies__arrow {
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 50%;
  background: #b8b8b8;
  border: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
  z-index: 5;
}

.companies__arrow:first-child {
  justify-self: start;
  margin-left: -25px;
  margin-top: 30px;
}

.companies__arrow:last-child {
  justify-self: end;
  margin-right: -5px;
  margin-top: 30px;
}

.companies__arrow .mdi {
  font-size: 1.3rem;
  color: #ffffff;
}

.companies__carousel .owl-stage {
  display: flex;
}

.companies__carousel .owl-item {
  display: flex;
  height: 100%;
}

.companies__carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  --companies-peek: 0px;
}

.companies__carousel .owl-stage-outer {
  overflow: hidden;
  padding-left: 0 !important;
  padding-right: var(--companies-peek) !important;
}

.companies__carousel .owl-stage {
  margin-left: calc(-1 * var(--companies-peek)) !important;
}

/* Ensure carousel items stretch to the same height so cards align */
.companies__carousel .owl-item {
  display: flex !important;
  align-items: stretch !important;
}
.companies__carousel .owl-item .company-card {
  flex: 1 1 auto;
}

/* carousel apenas com logotipos dos parceiros (sem cards) */
.companies-logos {
  padding: 32px 0;
  background: #f9f9f9;
}
.companies-logos__container {
  position: relative;
  margin-left: 13%;
  margin-right: 13%;
}
/* mirror some of the companies carousel internals to avoid jumpiness */
.companies-logos__carousel .owl-stage {
  display: flex;
}
.companies-logos__carousel .owl-item {
  display: flex;
  justify-content: center;
  align-items: center;
}
.companies-logos__carousel .owl-stage-outer {
  overflow: hidden;
}
.companies-logos__carousel .owl-stage {
  margin-left: 0 !important;
}
/* horizontal scrolling strip – handled in JS */
.companies-logos__carousel {
  overflow-x: hidden;
  white-space: nowrap;
}
.companies-logos__carousel .companies-logos__item {
  display: inline-block;
  flex: none;
}
.companies-logos__item img {
  max-height: 75px;
  width: auto;
  max-width: 100%;
  transition: filter 0.3s ease, opacity 0.3s ease;
  max-width: 200px;
  padding: 13px;
}
.companies-logos__item img:hover {
  filter: none;
  opacity: 1;
}

.partners__notice {
  background: #ffffff;
  border: 1px solid #e0e4e8;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  font-weight: 500;
}
.partners__notice--initial {
  padding: 2rem 1rem;
  font-size: 1.5rem;
  font-weight: 800;
}
.partners__notice--secondary {
  padding: 1.5rem 1rem;
  color: #57606a;
  font-size: 1.5rem;
}
.companies-logos__carousel {
  margin-top: 20px;
}

.company-card {
  flex: 1 1 auto;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #e0e4e8;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.company-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Larger min-height on bigger screens for better balance */
@media (min-width: 992px) {
  .company-card {
    min-height: 220px;
  }
}

@media (max-width: 420px) {
  .company-card { min-height: 0; }
}

.company-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.company-card__logo {
  width: 88px;
  height: 48px;
  object-fit: contain;
  margin: 0 auto;
}

.company-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e7f8ed;
  color: #1c9c5f;
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid #c7ebd6;
}

.company-card__title {
  margin: 0;
  font-weight: 700;
  color: #1f2d34;
  font-size: 1.05rem;
  line-height: 1.2;
}

.company-card__location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6a7079;
  font-size: 0.92rem;
}

.company-card__location .mdi {
  color: #f1bd0f;
  font-size: 1rem;
}

.company-card__distance {
  font-size: 0.9rem;
  color: #556270;
  font-weight: 700;
}

.company-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* home-only partnership carousel link styling */
[data-companies-home] .company-card__actions a {
  color: #0066cc;
  text-decoration: underline;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  font-weight: normal !important;
}

/* partners page buttons side-by-side */
.company-card__actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.company-card__actions .company-card__btn-secondary {
  flex: 6 1 0;
}
.company-card__actions .company-card__btn-whatsapp {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}
.company-card__btn-whatsapp .mdi {
  margin: 0;
}

.companies__title.text-center {
  margin-bottom: 2.5rem;
}



.company-card__btn-whatsapp {
  width: 100%;
  height: 40px;
  border-radius: 6px;
  background: #1f9a5a;
  color: #ffffff;
  border: none;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}
.company-card__btn-whatsapp:hover {
  background: #178048;
  transform: translateY(-1px);
}

.company-card__btn-secondary {
  width: 100%;
  height: 40px;
  border-radius: 6px;
  background: #ffffff;
  color: #0f2736;
  border: 1px solid #d1d5db;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.company-card__btn-secondary:hover,
.company-card__btn-secondary:focus {
  background: #f4f6f9;
  border-color: #b5beca;
  color: #0f2736;
}

.company-card__btn-whatsapp:hover,
.company-card__btn-whatsapp:focus {
  background: #1f9a5a;
  border-color: #1f9a5a;
  color: #ffffff;
}

.company-card__btn-whatsapp .mdi {
  color: inherit;
  font-size: 1.1rem;
}

.company-card--placeholder {
  text-align: center;
  color: #7a8090;
}

@media (max-width: 992px) {
  .companies__body {
    grid-template-columns: 44px 1fr 44px;
  }

  .companies__arrow {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 768px) {
   .companies__body {
    position: relative;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0px 0px 0px 30px;
  }

  .companies__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #f1bd0f;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  }

  .companies__body > .companies__arrow:first-child {
    position: absolute;
    left: 15px;
    top: -10%;
    transform: translateY(-50%);
    margin: 0;
  }

  .companies__body > .companies__arrow:last-child {
    position: absolute;
    right: 15px;
    top: -10%;
    transform: translateY(-50%);
    margin: 0;
  }

  .companies__arrow .mdi {
    color: #1f2b44;
  }
}

@media (max-width: 1100px) {
  .site-header .container {
    padding-left: 12%;
    padding-right: 12%;
  }

  .hero-banner__content {
    display: grid;
    grid-template-columns: 1fr;
    background-position: right bottom;
    background-size: 70%;
    padding: 22px 20px 140px;
  }

  .hero-banner__text {
    padding: 18px 18px 10px;
    text-align: left;
    align-items: flex-start;
    grid-area: title;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .companies__title.text-center {
    margin: 0px 25px 45px 24px;
  }

  .hero-banner__text h1 {
    order: 1;
  }

  .hero-banner__text p {
    order: 2;
    text-align: left;
  }

  .hero-btn {
    order: 0;
    align-self: flex-start;
    margin-bottom: 8px;
  }

  .hero-banner__cta {
    grid-area: cta;
    align-self: start;
  }

  .hero-banner__image {
    grid-area: image;
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .hero-search__container,
  .hero-banner__container,
  .states__container {
    padding: 0 18px;
  }

  .hero-banner__text h1 {
    font-size: 1.3rem;
  }

  .hero-banner__text {
    padding: 25px 20px 35px;
  }

  .states__chips {
    gap: 10px;
  }

  .site-header .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-banner__text {
    text-align: center;
    align-items: center;
  }

  .hero-banner__text p {
    order: 2;
    text-align: center;
  }

  .partners__container,
  .companies__container,
  .blog__container,
  .blog-page__container,
  .cta-block__container {
    max-width: 100%;
  }

  .solution.d-flex.align-items-center.gap-2.justify-content-end {
  justify-content: center !important;
  }

  .ip-info.d-flex.align-items-center.gap-2 {
  justify-content: center;  
  }

  .btn.hero-btn {
  width: 100%;
  }
}

/* CTA BLOCK */
.cta-block {
  padding: 28px 0 10px;
  background: #f3f5f7;
}

.cta-block__container {
  max-width: 73%;
  margin: 0 auto;
  padding: 0 18px;
  background: #f7f7f7;
  border-radius: 12px;
  border: 1px solid #e2e2e2;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 210px 1fr 160px;
  align-items: center;
  gap: 18px;
  min-height: 170px;
  position: relative;
  overflow: hidden;
}

.cta-block__container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30px;
  background: linear-gradient(180deg, #f1bd0f 0%, #f1bd0f 100%);
  border-radius: 12px 0 0 12px;
}

.cta-block__image {
  padding: 0 10px 0 28px;
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 1;
}

.cta-block__image img {
  max-height: 150px;
  width: auto;
  object-fit: contain;
}

.cta-block__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-block__title {
  margin: 0;
  font-size: 1.72rem;
  font-weight: 700;
  color: #3c3f45;
}

.cta-block__subtitle {
  margin: 0;
  font-size: 1.05rem;
  color: #7a7f87;
  line-height: 1.5;
}

.cta-block__action {
  display: flex;
  align-items: center;
}

.cta-block__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 6px;
  background: #f1bd0f;
  color: #3b3e45;
  font-weight: 700;
  border: none;
  min-width: 140px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

.cta-block__btn:hover,
.cta-block__btn:focus {
  background: #f1bd0f;
  color: #2f3238;
}

/* PROMO CTA (below news) */
.promo-cta {
  padding: 26px 0 40px;
}
.promo-cta__inner {
  max-width: 73%;
  margin: 0 auto;
  /* gradient overlay + full CTA image */
  background-image: linear-gradient(180deg, rgba(9,35,61,0.06), rgba(9,35,61,0.04)), url('/arquivos/imagens/ctaimg.png');
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(6,21,38,0.06);
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0;
  align-items: center;
}
.promo-cta__visual {
  background: transparent;
  min-height: 140px;
  height: 100%;
}
.promo-cta__content {
  padding: 40px 50px;
}
.promo-cta__title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.9rem;
  line-height: 1.1;
  font-weight: 800;
}
.promo-cta__subtitle {
  margin: 0 0 16px;
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
}
.promo-cta__btn {
  background: #f1bd0f;
  color: #0f2736;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: none;
}
.promo-cta__btn:hover { background: #e6ab11; }

@media (max-width: 992px) {
  .promo-cta__inner {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    padding: 20px 28px;
    background: url('/arquivos/imagens/ctaimg.png') 65% center/cover no-repeat;
    color: #ffffff;
    align-items: flex-start;
    gap: 18px;
  }
  .promo-cta__content {
    padding: 20px;
    background: transparent; /* deixar igual ao news-cta container */
  }
  .promo-cta__visual { display: none; }
}

/* ACCESS NEWS SECTION */
.promo-cta {
  background: #f7f7f7;
}
.access-news {
  padding: 25px 0 30px;
  background: #f7f7f7;
}
.access-news__container {
  /* match blog container spacing */
  max-width: 75%;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.access-news__header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.access-news__title {
  margin: 0;
  font-size: 1.6rem;
  color: #0f2736;
  font-weight: 800;
  padding-left: 16px; /* align with card body text */
}
.access-news__subtitle {
  margin: 0;
  color: #51606c;
  font-size: 1rem;
}
.access-news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* when we insert CTAs as extra grid items they should span all columns */
.access-news__grid-item.access-news__cta {
  grid-column: 1 / -1;
  /* ensure CTA background matches section */
  background: transparent;
}

/* on the noticias page the CTAs should fill entire row */
.blog-page .access-news__grid-item.access-news__cta .promo-cta__inner,
.blog-page .access-news__grid-item.access-news__cta .news-cta__container {
  max-width: 100%;
}
.access-news__card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.access-news__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}
.access-news__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.access-news__thumb {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #e9eef2;
}
.access-news__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.access-news__pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #10db59;
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.22);
}
.access-news__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.access-news__meta {
  font-size: 0.9rem;
  color: #6a7680;
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.access-news__headline {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  color: #0f2736;
  font-weight: 700;
}
.access-news__excerpt {
  margin: 0;
  color: #4f5962;
  font-size: 0.96rem;
  line-height: 1.45;
}
.access-news__actions {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.access-news__more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: #0f2736;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.access-news__more-btn:hover {
  background: #102f45;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.18);
}

@media (max-width: 992px) {
.access-news__container {
    max-width: 100%;
}
  .access-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .access-news { padding: 28px 0 42px; }
  .access-news__grid { grid-template-columns: 1fr; }
  .access-news__title { font-size: 1.4rem; }
}

.access-news__empty {
  padding: 16px 0;
  color: #6a7680;
  font-size: 0.98rem;
}

/* NEWS CTA (between sections) */
.news-cta {
  padding: 32px 0 40px;
}
.news-cta__container {
  /* align outer width with blog container; keep internal padding for visual card */
  max-width: 75%;
  margin: 0 auto;
  padding: 50px 60px;
  border-radius: 14px;
  background: url('/arquivos/imagens/ctaimg2.png') center/cover no-repeat;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 18px 36px rgba(6,21,38,0.12);
}
.news-cta__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 720px;
}
.news-cta__eyebrow {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.news-cta__title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 800;
}
.news-cta__subtitle {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  line-height: 1.4;
}
.news-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 9px;
  border-radius: 999px;
  background: #f1bd0f;
  color: #0f2736;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  font-size: 0.9rem;
}
.news-cta__btn:hover {
  background: #e6ab11;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.22);
}

@media (max-width: 992px) {
  .news-cta__container {
    max-width: 92%;
    flex-direction: column;
    align-items: flex-start;
  }
  .news-cta__actions { width: 100%; }
}

@media (max-width: 640px) {
  .news-cta { padding: 26px 0 34px; }
  .news-cta__title { font-size: 1.4rem; }
  .news-cta__container { padding: 18px 20px; }
}

/* STRATEGY NEWS SECTION (Mercado & Estratégia) */
.strategy-news {
  padding: 34px 0 54px;
  background: #ffffff;
}
.strategy-news__container {
  max-width: 73%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.strategy-news__header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.strategy-news__title {
  margin: 0;
  font-size: 1.6rem;
  color: #0f2736;
  font-weight: 800;
}
.strategy-news__subtitle {
  margin: 0;
  color: #51606c;
  font-size: 1rem;
}
.strategy-news__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.strategy-news__card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.strategy-news__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}
.strategy-news__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.strategy-news__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9eef2;
}
.strategy-news__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.strategy-news__pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #10db59;
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.22);
}
.strategy-news__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.strategy-news__meta {
  font-size: 0.9rem;
  color: #6a7680;
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.strategy-news__headline {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #0f2736;
  font-weight: 700;
}
.strategy-news__excerpt {
  margin: 0;
  color: #4f5962;
  font-size: 0.95rem;
  line-height: 1.45;
}
.strategy-news__actions {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.strategy-news__more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: #0f2736;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.strategy-news__more-btn:hover {
  background: #102f45;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.18);
}
.strategy-news__empty {
  padding: 16px 0;
  color: #6a7680;
  font-size: 0.98rem;
}

@media (max-width: 1200px) {
  .strategy-news__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
  .strategy-news__container { max-width: 92%; }
  .strategy-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .strategy-news { padding: 28px 0 42px; }
  .strategy-news__grid { grid-template-columns: 1fr; }
  .strategy-news__title { font-size: 1.4rem; }
}

.company-card__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 70px;
  max-height: 70px;
  object-fit: contain;
  min-height: 70px;
  margin: 0;
}

/* Slightly smaller logos on narrow screens */
@media (max-width: 576px) {
  .company-card__logo {
    max-width: 90px;
    max-height: 48px;
  }
}

.owl-carousel .owl-item img {
  display: block;
  width: auto;
}

@media (max-width: 900px) {
  .cta-block__container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 18px 16px 20px;
  }

  .cta-block__image {
    border-radius: 12px 12px 0 0;
    justify-content: center;
    padding: 12px;
  }

  .cta-block__action {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .cta-block {
    padding: 22px 0 30px;
  }

  .cta-block__container {
    max-width: 94%;
    padding: 16px 14px 18px;
    gap: 14px;
  }

  .cta-block__container::before {
    width: 100%;
    height: 8px;
    top: 0;
    left: 0;
    border-radius: 10px 10px 0 0;
  }

  .cta-block__image {
    padding: 6px 6px 2px;
  }

  .cta-block__image img {
    max-height: 120px;
  }

  .cta-block__text {
    align-items: center;
  }

  .cta-block__title {
    font-size: 1.4rem;
  }

  .cta-block__subtitle {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .cta-block__action {
    justify-content: center;
  }

  .cta-block__btn {
    width: 100%;
    max-width: 260px;
    padding: 12px 18px;
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .cta-block__container {
    max-width: 98%;
    padding: 14px 12px 16px;
    gap: 12px;
  }

  .cta-block__title {
    font-size: 1.28rem;
  }

  .cta-block__subtitle {
    font-size: 0.94rem;
  }

  .cta-block__btn {
    padding: 12px 14px;
  }
}

/* BLOG */
.blog {
  padding: 10px 0 50px;
  background: #f7f7f7;
}

.blog__container {
  max-width: 75%;
  margin: 0 auto;
  padding: 0 18px;
}

.blog__title {
  font-size: 1.26rem;
  font-weight: 700;
  color: #3a3f45;
  margin: 0 0 12px;
  padding-left: 4px;
}

.blog__grid {
  /* layout handled by Bootstrap row/col gutters; no custom gap needed */
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* ensure columns (main + sidebar) always match height */
}

.blog__main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;    /* match sidebar height when side-by-side */
  min-height: 0;   /* allows children to scroll/shrink correctly */
  /* max-height removed so items can grow naturally on tall content */
}

/* ensure the featured block stretches to fill available height, aligning with sidebar */
.blog__main > .blog-featured, .blog__main > .blog-featured--home2, .blog__main > .blog-featured--home {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  height: 100%;
}

/* make the two featured cards share equal height within the featured container */
.blog-featured--home2,
.blog-featured--home {
  display: flex;
  gap: 20px;
  height: 100%; /* fill parent so flex children can stretch */
}
.blog-featured--home2 .blog-card--featured,
.blog-featured--home .blog-card--featured {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
}
.blog-featured--home2 .blog-card__link,
.blog-featured--home .blog-card__link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.blog-video {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  flex: 0 0 auto; /* keep intrinsic height so featured area absorbs remaining space */
}

.blog-video__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #dfe3e8;
  overflow: hidden;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  outline: none;
  cursor: pointer;
}

.blog-video__frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.blog-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.blog-video__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-video__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: none;
  background: rgba(241, 189, 15, 0.95);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.blog-video__play .mdi {
  font-size: 1.8rem;
}

.blog-video__body {
  padding: 10px 12px 12px;
  text-align: left;
  border-top: 1px solid #e7e7e7;
}

.blog-video__headline {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #2f343d;
  font-weight: 700;
}

.blog-video__subtitle {
  margin: 0;
  font-size: 0.92rem;
  color: #6a7079;
  letter-spacing: 0.02em;
}
/* .blog-featured removed — homepage must use an explicit, namespaced class (e.g. .blog-featured--home) */

/* legacy generic featured rules removed — use .blog-featured--home2 for homepage featured cards */

/* .blog-featured--home rules removed — ready for a clean re-implementation. */


/* --- Home featured (2 cards, vertical layout: thumb on top, text below) --- */
.blog-featured--home2 {
  display: flex;
  gap: 20px;
  align-items: stretch;
  height: 100%;
}
.blog-featured--home2 .blog-card--featured {
  flex: 1 1 0;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px;
}
.blog-featured--home2 .blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0; /* override generic card paddings for stacked layout */
  color: inherit;
  text-decoration: none;
}
.blog-featured--home2 .blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-featured--home2 .blog-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}
.blog-featured--home2 .blog-card__eyebrow {
  font-size: 0.82rem;
  color: #6a7680;
  text-transform: none;
  margin: 0;
}
.blog-featured--home2 .blog-card__category-pill {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #10db59;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
}
.blog-featured--home2 .blog-card__title {
  margin: 6px 0 0 0;
  color: #1f2d34;
  font-size: 1.05rem;
  line-height: 1.12;
  font-weight: 800;
}
.blog-featured--home2 .blog-card__excerpt {
  margin: 0;
  color: #4f5962;
  -webkit-line-clamp: 2; /* slightly more compact */
  line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-left: 14px; /* keeps the visual bullet/indent */
}
.blog-featured--home2 .blog-card__meta--below {
  color: #7c818a;
  font-size: 0.88rem;
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 992px) {
  .blog-featured--home2 { flex-direction: column; }
  .blog-featured--home2 .blog-card--featured {
    height: auto; /* allow cards to size to content instead of stretching */
    padding: 8px;
  }
  .blog-featured--home2 .blog-card__thumb {
    height: auto; /* let image scale naturally */
    aspect-ratio: 16/9;
    border-radius: 8px;
  }
  .blog-featured--home2 .blog-card__body {
    padding: 14px;
  }
  /* enforce fixed max height on sidebar when responsive */
  .blog__sidebar {
    max-height: 912px !important;
    min-height: auto !important;
    overflow-y: auto; /* allow scrolling if content exceeds */
  }
}

/* --- Featured hero (3-up) used on the Notícias page --- */
.blog-featured--hero3 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.blog-featured--hero3 .blog-card {
  /* slightly reduced height for a more compact hero */
  min-height: 240px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.blog-featured--hero3 .blog-card:nth-child(1) {
  grid-row: 1 / span 2;
}

.blog-featured--hero3 .blog-card .blog-card__link {
  display: block;
  height: 100%;
  padding: 0;
}

.blog-featured--hero3 .blog-card .blog-card__thumb {
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
}

.blog-featured--hero3 .blog-card .blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .36s ease;
}

.blog-featured--hero3 .blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.10) 30%, rgba(0,0,0,0.40) 65%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

.blog-featured--hero3 .blog-card .blog-card__body {
  position: absolute;
  z-index: 2;
  bottom: 20px;
  left: 22px;
  right: 22px;
  color: #fff;
  text-shadow: 0 6px 18px rgba(0,0,0,0.5);
  padding: 0;
}

.blog-featured--hero3 .blog-card .blog-card__meta {
  position: absolute;
  top: 18px;
  left: 22px;
  z-index: 3;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.6rem;
  letter-spacing: 0.03em;
  margin: 0;
}

/* category pill shown below meta on hero cards (stacked, not side-by-side) */
.blog-featured--hero3 .blog-card .blog-card__category-pill {
  position: absolute;
  top: 44px; /* placed under the meta which sits at ~18px */
  left: 22px; /* align with meta/text */
  z-index: 3;
  background: #10db59;
  color: #fff;
  padding: 6px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1;
  max-width: none;
}

.blog-featured--hero3 .blog-card .blog-card__title {
  color: #fff;
  font-size: 1.9rem;
  line-height: 1.06;
  margin: 6px 0 0;
  font-weight: 800;
}

.blog-featured--hero3 .blog-card .blog-card__excerpt {
  color: rgba(255,255,255,0.95);
  -webkit-line-clamp: 3;
  margin-top: 8px;
}

.blog-featured--hero3 .blog-card:hover .blog-card__thumb img {
  transform: scale(1.08);
}

.blog-featured--hero3 .blog-card:not(:first-child) .blog-card__title {
  font-size: 1rem;
  font-weight: 700;
}

.blog-card__excerpt {
  font-size: 0.8rem;
}

/* Keep hero text color unchanged on hover (ensure meta stays white) */
.blog-featured--hero3 .blog-card__link:hover .blog-card__title,
.blog-featured--hero3 .blog-card__link:hover .blog-card__excerpt {
  color: inherit;
}
.blog-featured--hero3 .blog-card__link:hover .blog-card__meta {
  color: rgba(255,255,255,0.95); /* force white meta on hover */
  text-shadow: none;
}

@media (max-width: 992px) {
  .blog-featured--hero3 {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .blog-featured--hero3 .blog-card {
    /* slightly lower on mobile as well */
    min-height: 200px;
  }
  /* reset meta/pill positioning on small screens so they remain in normal flow */
  .blog-featured--hero3 .blog-card .blog-card__meta,
  .blog-featured--hero3 .blog-card .blog-card__category-pill {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    margin: 0 0 6px 0;
    color: rgba(15,23,42,0.75);
    background: #10db59; /* keep pill color but in-flow */
  }

  .blog-featured--hero3 .blog-card .blog-card__body {
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
  .blog-featured--hero3 .blog-card .blog-card__title { font-size: 1.2rem; }
}

.blog-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;   /* let featured cards expand to match sidebar/main height */
  min-height: 0;
  transition: transform 0.18s ease; /* animate lift on the article element instead of the link */
}
.blog-card__link:hover {
  background: #fbfdff;
}

/* apply the lift to the article itself to avoid creating a stacking context on the link */
.blog-card:hover {
  transform: translateY(-3px);
}

.blog-card__thumb {
  border-radius: 10px;
  overflow: hidden;
  background: #e6ecf1;
  aspect-ratio: 3 / 2;
  min-height: 100px;
}

.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease;
}

.blog-card__thumb img:hover {
  transform: scale(1.03);
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-card__meta {
  font-size: 0.78rem;
  color: #66707a;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-card__title {
  margin: 0;
  font-size: 1.28rem;
  color: #053e5f;
  line-height: 1.15;
  font-weight: 800;
}

.blog-card__category-pill {
  display: inline-block;
  margin: 6px 0 0 0;
  padding: 8px 8px;
  border-radius: 5px;
  background: #10db59;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.76rem;
  line-height: 1;
  text-transform: none;
  max-width: max-content;
}

.blog-mini__category-pill {
  display: inline-block;
  margin: 0 0 6px 0;
  padding: 5px 10px;
  border-radius: 5px;
  background: #10db59;
  color: #fff;
  font-weight: 700;
  font-size: 0.7rem;
  line-height: 1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-card__excerpt {
  margin: 0;
  font-size: 1rem;
  color: #5e646a;
  position: relative;
  padding-left: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__excerpt::before {
  content: '\2022';
  position: absolute;
  left: 0;
  top: 2px;
  color: #0c7bc2;
  font-size: 1.2rem;
  line-height: 1;
}

.blog-card__author {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #0c7bc2;
  font-weight: 700;
}

.blog-card__link:hover .blog-card__title {
  color: #005b9a;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-card__meta {
  font-size: 0.84rem;
  color: #7c818a;
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-card__title {
  margin: 0;
  font-size: 1.06rem;
  color: #0f2736;
  line-height: 1.25;
  font-weight: 700;
}

.blog-card__excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: #68707a;
  position: relative;
  padding-left: 14px;
}

.blog-card__excerpt::before {
  content: '\2022';
  position: absolute;
  left: 0;
  top: 0;
  color: #0c7bc2;
}

.blog__sidebar {
  display: flex;
  flex-direction: column;
}

.blog__list {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0px 0px 10px 10px;
}
.blog__sidebar-title {
  margin: 0px 0px -1px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #3c4048;
}

.blog__sidebar-title {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px 10px 0px 0px;
  padding: 10px;
}

.blog__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;       /* allow list to grow and fill sidebar height */
  overflow: visible;    /* items will be shown/hidden dynamically by JS */
  padding-right: 6px;
}

/* hidden utility for sidebar items */
.blog-mini.hidden {
  display: none !important;
}


.blog-mini {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0;
}

.blog-mini__link {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #ededed;
  color: inherit;
  text-decoration: none;
}

.blog-mini:last-child .blog-mini__link {
  border-bottom: none;
}

.blog-mini__link:hover .blog-mini__title {
  color: #005b9a;
}

.blog-mini__thumb {
  width: 72px;
  aspect-ratio: 3 / 2;
  height: auto;
  background: #e1e5eb;
  order: 2;
  border-radius: 5px;
}

.blog-mini__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

.blog-mini__body {
  order: 1;
}

.blog-mini__title {
  font-size: 0.9rem;
  color: #0f2736;
  line-height: 1.24;
  font-weight: 600;
}

.blog-mini__meta {
  margin: 0;
  font-size: 0.82rem;
  color: #808590;
  display: block;
  width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* BLOG PAGE */
.blog-page {
  background: #f7f7f7;
  padding: 32px 0 72px;
}

.blog-page__container {
  /* page-level container should be full-width; inner sections use their own centered containers */
  max-width: 100%;
  margin: 0 auto;
  margin-top: 0px;
  padding: 0 18px;
}

.blog-page__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.blog-page__title {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #2f343d;
  padding-left: 16px; /* aligned with card body/text */
}

.blog-page__card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.blog-page__link {
  display: grid;
  grid-template-columns: 36% 1fr;
  gap: 14px;
  padding: 14px;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.blog-page__link:hover .blog-page__headline {
  color: #005b9a;
}

.blog-page__thumb {
  border-radius: 8px;
  overflow: hidden;
  background: #e1e5eb;
  aspect-ratio: 3 / 2; /* use same 1200x800 proportion */
  min-height: 120px;
}

.blog-page__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-page__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-page__headline {
  margin: 0;
  font-size: 1.1rem;
  color: #0c7bc2;
  line-height: 1.28;
  font-weight: 700;
}

.blog-page__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-detail {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 50px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-detail__thumb {
  width: 60%;
  border-radius: 10px;
  overflow: hidden;
  background: #e1e5eb;
  aspect-ratio: 3 / 2;
  margin-left: 20%;
  margin-right: 20%;
}

.blog-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-detail__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #6a7079;
}

.blog-detail__tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 20px;
  background: #eef6ff;
  color: #0c7bc2;
  font-weight: 700;
  font-size: 0.82rem;
}

.blog-detail__title {
  margin: 0;
  font-size: 1.8rem;
  color: #1f2a3a;
  line-height: 1.3;
  font-weight: 800;
}

.blog-detail {
  margin-left: 12%;
  margin-right: 12%;
  margin-top: 7%;
  margin-bottom: 4%;
}

.blog-detail__excerpt {
  margin: 0;
  font-size: 1rem;
  color: #4c5561;
  font-weight: 500;
}

.blog-detail__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  color: #3b4250;
  line-height: 1.58;
  padding: 8px 0; /* pequeno espaçamento interno */
}

/* garantir espaçamento consistente entre blocos (parágrafos, listas, headings) */
.blog-detail__content > * { margin: 0; }
.blog-detail__content > * + * { margin-top: 12px; }

.blog-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #0c7bc2;
  text-decoration: none;
}

.blog-detail__back:hover {
  color: #005b9a;
}

.blog-page__aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-page__video {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.07);
}

.btn:hover {
  color: var(--bs-btn-hover-color);
  background-color: #f1bd0fd9;
  border-color: #161616c7;
}

.search-pill.d-flex.align-items-center {
  position: absolute !important;
  right: 35%;
  top: 24px;
  width: 30%;
}

.partner-page {
  margin-top: 40px;
}

.partner-page .img-fluid.mb-3 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

.blog-page__container {
  margin-top: 90px;
}

@media (max-width: 992px) {
  .blog-page__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .blog-page__card {
    grid-template-columns: 1fr;
  }

  .blog-page__link {
    grid-template-columns: 1fr;
  }

  .blog-page__thumb {
    min-height: 190px;
  }
}

@media (max-width: 992px) {
  .blog__grid {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  /* On small screens the main content should come first (video/featured),
     and the sidebar should follow below it */
  .blog__sidebar {
    order: 0;
  }
}

@media (max-width: 768px) {
  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-card__link {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 12px;
  }

  .blog-card__thumb {
    min-height: 240px;
    width: 100%;
    border-radius: 10px;
  }

  /* Sidebar improvements for small screens */
  .blog__sidebar {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #ececec;
    background: #fff;
    margin-top: 8px;
  }

  .blog__sidebar-title {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .blog-mini {
    grid-template-columns: 1fr;
  }

  .blog-mini__link {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f6f6f6;
    min-width: 0; /* allow flex children to shrink on small screens */
    overflow: hidden;
  }

  .blog-mini__thumb {
    width: 88px;
    aspect-ratio: 3 / 2; /* mini thumbs keep same proportion */
    height: auto;
    border-radius: 10px;
    order: 0;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    background: linear-gradient(180deg, #f7f8fa 0%, #eef2f6 100%);
    flex-shrink: 0;
  }

  .blog-mini__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
    max-width: 100%;
  }

  .blog-mini__thumb img:hover {
    transform: scale(1.03);
  }

  .blog-mini__body {
    order: 1;
    min-width: 0; /* ensure text block can shrink inside flex */
  }

  .blog-mini__title {
    font-size: 1.04rem;
    margin-bottom: 6px;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }

  .blog-mini__meta {
    font-size: 0.85rem;
    color: #7f858d;
  }

  .companies__body {
    margin-left: 0px;
  }

  .cta-block__container {
    margin: 0px 20px 0px 20px;
  }

  .site-logo {
  max-width: 50px;
  }

  .companies-logos__container {
  position: relative;
  margin-left: 5%;
  margin-right: 5%;
  }

  .hero-search.d-flex.justify-content-center {
  margin-top: 0px;
  }

  .search-pill.d-flex.align-items-center {
  position: absolute !important;
  right: 20%;
  top: 24px;
  width: 60%;
  }
}

@media (max-width: 640px) {
  .blog {
    padding: 18px 0 32px;
  }

  /* mobile: sidebar becomes regular block, show full list */
  .blog__list { overflow: visible; padding-right: 0; }
  .blog__sidebar { display: block; height: auto; }

  .blog__container {
    max-width: 94%;
    padding: 0 12px;
  }

  .blog__title {
    text-align: center;
    font-size: 1.18rem;
    margin-bottom: 14px;
  }

  .blog__grid {
    gap: 14px;
  }

  .blog__main {
    gap: 12px;
  }

  .blog-video__play {
    width: 56px;
    height: 56px;
  }

  .blog-video__play .mdi {
    font-size: 1.6rem;
  }

  .blog-video__body {
    padding: 10px 10px 12px;
  }

  .blog-card__link {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .blog-card__body {
    gap: 5px;
  }

  .blog__sidebar {
    gap: 8px;
    padding: 10px;
  }

  .blog-mini__link {
    grid-template-columns: 84px 1fr;
    gap: 10px;
  }

  .blog-mini__thumb {
    width: 84px;
    aspect-ratio: 3 / 2; /* mini thumbs keep same proportion */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  }
}

@media (max-width: 420px) {
  .blog {
    padding: 16px 0 28px;
  }

  .blog__container {
    max-width: 96%;
    padding: 0 10px;
  }

  .blog__title {
    font-size: 1.08rem;
  }

  .blog-video__play {
    width: 52px;
    height: 52px;
  }

  .blog-video__play .mdi {
    font-size: 1.5rem;
  }

  .blog-video__headline {
    font-size: 0.98rem;
  }

  .blog-video__subtitle {
    font-size: 0.88rem;
  }

  .blog-card__title {
    font-size: 1rem;
  }

  .blog-card__excerpt {
    font-size: 0.86rem;
  }

  .blog-mini__link {
    gap: 6px;
  }

  .blog-mini__thumb {
    width: 60px;
    aspect-ratio: 3 / 2; /* mini thumbs keep same proportion */
    height: auto;
  }

}

/* Partner page styles (brand refresh: #09233d navy and #f1bd0f yellow) */
.partner-hero {
  /* solid yellow background with decorative white donut */
  background: #f1bd0f;
  color: #09233d; /* navy text for contrast on yellow */
  border-radius: 14px 14px 0 0; /* rounded only on top */
  overflow: hidden;
  position: relative;
}
.partner-hero__title { color: #09233d; }
.partner-hero__subtitle { color: rgba(9,35,61,0.85); }

/* Ensure all text inside partner-hero uses the brand navy color */
.partner-hero, .partner-hero * { color: #09233d !important; }
.partner-hero::after {
  content: '';
  position: absolute;
  top: -35px;
  right: 154px;
  width: 420px;
  height: 420px;
  background-image: url('/arquivos/imagens/partner-accent.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .partner-hero::after {
    width: 220px;
    height: 220px;
    top: -8px;
    right: -12px;
    transform: rotate(-6deg) scale(0.95);
  }
}.partner-hero__inner {
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  gap: 1rem;
}
.partner-hero__logo { display: none; }
.partner-hero__title { font-size: 1.6rem; font-weight: 800; color: #ffffff; margin: 0; }
.partner-hero__subtitle { color: #ffffff; opacity: 0.92; }
.partner-hero__cta .btn { min-width: auto; }
/* reduce the vertical padding of the hero to bring content closer to top/bottom */
.partner-hero { padding-top: 12px; padding-bottom: 12px; }

/* ensure left content start and CTA at the end */
.partner-hero__meta { display:flex; flex-direction:column; align-items:flex-start; }
.partner-hero__cta { display:flex; align-items:center; justify-content:flex-end; }

/* mobile: stack and align start */
@media (max-width: 768px) {
  /* keep hero content and CTA side-by-side on narrower screens */
  .partner-hero__inner { flex-direction: row; align-items: center; gap: 12px; justify-content: space-between; }
  .partner-hero__meta { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
  .partner-hero__title { font-size: 1.05rem; }
  .partner-hero__subtitle { font-size: 0.88rem; opacity: 0.95; }
  .partner-hero__cta { display: flex; align-items: center; justify-content: flex-end; flex: 0 0 auto; margin-left: 12px; }
  .partner-hero__cta .btn { white-space: nowrap; padding: 6px 10px; }
}

.partner-page { background: linear-gradient(180deg, #f8fafb 0%, #ffffff 100%); }
.partner-card {
  position: relative;
  border-radius: 0 0 14px 14px;
  background: #fff;
  border: none;
  box-shadow: 0 12px 32px rgba(9,35,61,0.04);
  overflow: hidden;
}
.partner-card__inner { display: flex; gap: 24px; align-items: stretch; position: relative; }
.partner-card__left { padding: 28px; border-left: 6px solid #f1bd0f; min-width: 260px; display:flex; flex-direction:column; }
.partner-card__right { flex: 1 1 auto; }
.partner-card__logo img { max-height: 140px; margin: 0 auto 12px; }

/* Align actions to bottom of left card and make both cards consistent */
.partner-card__left .d-grid { margin-top: auto; }
.partner-card__right dl { display:flex; flex-direction:column; gap:12px; flex:1 1 auto; }
.partner-card__right hr { margin-top: 18px; margin-bottom: 18px; }

/* unify definition list labels and values */
.partner-card dl.row dt { color: #213144; font-weight: 700; font-size: 1rem; }
.partner-card dl.row dd { margin-bottom: 8px; color: #46505a; font-size: 1rem; }
/* Ensure left column text matches */
.partner-card__left h2 { font-size: 1rem; }
.partner-card__left .text-muted { font-size: 1rem; }


.partner-card__meta-top { position: absolute; top: 12px; right: 12px; background: #ffffff; border: none; padding: 8px 12px; border-radius: 8px; min-width: 220px; max-width: 36%; box-shadow: none !important; font-family: inherit; font-size: 1rem; line-height: 1.25; color: #46505a; }
.partner-card__meta-top .meta-title { font-weight: 700; color: #09233d; margin-bottom: 6px; font-size: 1rem; }
.partner-card__meta-top .meta-body { color: #46505a; font-size: 1rem; line-height: 1.35; }
.partner-card__meta-top .meta-states .badge { background: #09233d !important; color: #fff !important; margin-right: 6px; font-weight: 700; }
.partner-card__meta-top .meta-cities .small { display:block; }
/* Force small and muted text in meta-top and card to same size */
.partner-card__meta-top .small,
.partner-card .small,
.partner-card .text-muted,
.partner-card dl.row dt,
.partner-card dl.row dd,
.partner-card__left h2,
.partner-card__left .text-muted {
  font-size: 1rem !important;
  line-height: 1.35 !important;
}
/* Ensure overall card textual elements use same base */
.partner-card,
.partner-card * {
  font-size: 1rem;
}

.blog-mini {
  padding: 10px;
}

/* Responsive stack */
@media (max-width: 768px) {
  /* Stack the card internals vertically and move meta-top below using order */
  .partner-card { display: flex; flex-direction: column; }
  .partner-card__inner { flex-direction: column; order: 1; }
  .partner-card__meta-top {
    position: static;
    width: 100%;
    max-width: none;
    box-shadow: none;
    padding: 0px 0 12px 0;
    margin-top: -45px;
    order: 3;
    margin-left: 30px;
  }
  .partner-card__left { min-width: auto; border-left: none; border-top: 6px solid #f1bd0f; padding: 12px; }

  /* Make hero more compact on small screens */
  .partner-hero { padding-top: 10px; padding-bottom: 10px; }
  .partner-hero__inner { padding-left: 1rem; padding-right: 1rem; }
  .partner-hero__title { font-size: 1.2rem; }
  .partner-hero__subtitle { font-size: 0.95rem; }

  /* Reduce decorative donut size and shift it to be less intrusive */
   .partner-hero::after {
    display: none;
  }
  /* Compact card paddings */
  .partner-card { padding: 8px; }
  .partner-card__left { padding: 12px; }
  .partner-card__right { padding: 10px; }

  /* Ensure meta-top typography scales well */
  .partner-card__meta-top .meta-body { font-size: 0.95rem; }
  .blog-card {
    min-height: 470px;
  }
  .promo-cta__inner {
  max-width: 92%;
  } 

  #faq .container {
    padding-left: 7%;
    padding-right: 7%;
  }
   
  .blog__sidebar {
  max-height: 912px;
  }

  .blog-page__container {
  margin-top: 0px;
  }

  .blog-detail {
  margin-left: 0%;
  margin-right: 0%;
  }

  .blog-detail {
  padding: 30px;
  }

  .blog-detail__thumb {
  width: 90%;
  margin-left: 6%;
  }

  .footer-top.row.py-4 {
    margin-left: 0%;
  }

  /* Buttons full-width and stacked (defensive) */
  .partner-card__left .btn { width: 100%; }

  .blog__main > .blog-featured, .blog__main > .blog-featured--home2, .blog__main > .blog-featured--home {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  }
  
  .partners__notice--initial {
  font-size: 1rem;
  }

  .partners__notice--secondary {
  font-size: 1rem;
  }

  }

.partner-page h1, .partner-page h2, .partner-page h3 { color: #09233d; }
.partner-page .badge { border-radius: 8px; padding: 6px 10px; font-weight: 700; }
.owl-nav.disabled {
  display: none;
}

/* Brand button styles (local to partner page) */
.partner-page .btn.btn-primary { background: #f1bd0f !important; border-color: #f1bd0f !important; color: #09233d !important; font-weight: 700; }
.partner-page .btn.btn-outline-primary { color: #09233d; border-color: #09233d; background: transparent; }
.partner-page .btn.btn-outline-primary:hover { background: rgba(9,35,61,0.04); }
.partner-page .btn.btn-outline-light {
  border-color: #09233d;
}
/* make badges use brand colors */
.partner-page .badge.bg-primary { background: #09233d !important; color: #fff !important; }
.partner-page .badge.bg-secondary { background: rgba(9,35,61,0.06) !important; color: #09233d !important; }

/* On mobile make buttons full width and stack nicely */
@media (max-width: 576px) {
  .partner-page .d-grid .btn { width: 100%; }
  /* Keep hero text and CTA side-by-side on small screens; allow wrapping only if necessary */
  .partner-hero__inner { flex-direction: row; align-items: center; gap: 8px; justify-content: space-between; flex-wrap: nowrap; }
  .partner-hero__meta { min-width: 0; flex: 1 1 auto; }
  .partner-hero__title { font-size: 1.02rem; }
  .partner-hero__subtitle { font-size: 0.86rem; }
  .partner-hero__logo img { width: 64px; }
  .partner-page .partner-card-left { padding: 18px; }

  /* hide subtitle on very small screens to avoid wrapping */
  @media (max-width: 420px) {
    .partner-hero__subtitle { display: none; }
    .partner-hero__title { font-size: 1.05rem; }
  }
}

/* Project small helpers */
.partner-logo{max-height:120px;object-fit:contain;}
.partners__notice{margin-bottom:8px;}
.hidden-captcha{display:none;}
.mb-2 {
  margin-bottom: 2rem !important;
}
.ms-3 {
  margin-left: 0rem !important;
}

/* mobile footer fix – placed at very end to override earlier rules */
@media (max-width: 767.98px) {
  .footer-assist {
    justify-content: center !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    padding: 0.75rem 0 !important;
    align-items: center;
  }
  .footer-assist .col-md-3 {
    flex: none !important;
    max-width: none !important;
    width: 100% !important;
    /* default to left-align; logo overrides below */
    text-align: left;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .footer-assist .col-md-3:first-child {
    text-align: left;
  }

  .footer-assist.row.py-4 {
    margin-left: 3%;
    margin-right: 3%;
  }
  .footer-assist .site-logo {
    text-align: center !important;
    width: 100%;
  }
  .footer-assist .site-logo img {
    max-height: 40px !important;
    display: inline-block;
  }
  .footer-assist p {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
  }
  .footer-assist .btn {
    margin: 0.5rem auto !important;
  }

  .site-footer .footer-top {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: center;
  }
  .site-footer .footer-categories {
    grid-template-columns: 1fr !important;
    gap: 0.5rem 1rem !important;
  }
  .site-footer .footer-navigation,
  .site-footer .footer-actions {
    width: 100% !important;
    text-align: center !important;
  }
  .site-footer .footer-socials {
    margin-top: 1rem !important;
  }

  .mb-2 {
  margin-bottom: 0rem !important;
  }
}
