/* ============================================================
   Relt — CSS customizações sobre o Bootstrap 5
   Mantém apenas o que o Bootstrap não cobre nativamente:
   - Fontes Helvetica World
   - Paleta verde (sobrescreve variáveis --bs-*)
   - Overlays e gradientes dos heros
   - Cards de segmento com troca de imagem normal/hover
   - Dropdown da navbar com cor verde
   ============================================================ */

/* ====================  FONTES  ==================== */
@font-face {
  font-family: 'HelveticaW';
  src: url('fonts/helvetica-world.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HelveticaW';
  src: url('fonts/helvetica-world-italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'HelveticaW';
  src: url('fonts/helvetica-world-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HelveticaW';
  src: url('fonts/helvetica-world-bold-italic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ====================  PALETA / OVERRIDES BOOTSTRAP  ==================== */
:root {
  --green: #1d9d74;
  --green-dark: #177a53;
  --green-mid: #1a8c60;
  --green-light: #2ab47c;
  --green-hover: #008d5e;
  --bg-grey: #f5f9ff;
  --bg-white: #f5f7f9;
  --text: #444;
  --text-sm: #707070;

  /* Bootstrap variable overrides */
  --bs-primary: #1d9d74;
  --bs-primary-rgb: 30, 157, 107;
  --bs-link-color: #1d9d74;
  --bs-link-hover-color: #177a53;
  --bs-body-font-family: 'HelveticaW', Helvetica, Arial, sans-serif;
  --bs-body-color: #444;
  --bs-body-font-size: 16px;
  --bs-body-line-height: 1.45;
  --bs-border-radius: 4px;
}

/* Sobrescrever cores de botões primary do Bootstrap para o verde */
.btn-primary {
  --bs-btn-bg: var(--green);
  --bs-btn-border-color: var(--green);
  --bs-btn-hover-bg: var(--green-dark);
  --bs-btn-hover-border-color: var(--green-dark);
  --bs-btn-active-bg: var(--green-dark);
  --bs-btn-active-border-color: var(--green-dark);
}

.btn-outline-primary {
  --bs-btn-color: var(--green);
  --bs-btn-border-color: var(--green);
  --bs-btn-hover-bg: var(--green);
  --bs-btn-hover-border-color: var(--green);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--green);
  --bs-btn-active-border-color: var(--green);
  --bs-btn-bg: #fff;
}

.nav-link {
  --bs-navbar-nav-link-padding-x: 1.25em;
}

.btn-card {
  position: absolute;
  top: 92%;
  left: 37%;
}

body {
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
}

.text-green {
  color: var(--green) !important;
}

.text-green-dark {
  color: var(--green-dark)
}

.bg-green {
  background-color: var(--green) !important;
}

.bg-grey {
  background-color: var(--bg-grey) !important;
}

b,
strong {
  font-weight: 700;
}

.text-sm {
  font-size: 14.5px;
}

.text-md {
  font-size: 16px;
}

.text-lg {
  font-size: 18px;
}

/* ====================  NAVBAR  ==================== */
.site-navbar {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.site-navbar .navbar-brand img {
  height: 60px;
}

.site-navbar .nav-link {
  color: var(--green) !important;
  /*padding: 0 16px !important;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .2s ease;*/
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active,
.site-navbar .dropdown:hover>.nav-link {
  color: var(--green-dark) !important;
  /*font-weight: 600;
  letter-spacing: -0.2px;
  transform: translateY(-2px);*/
}

.site-navbar .dropdown-menu {
  border: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
  border-radius: 6px;
  padding: 8px 0;
  margin-top: 0;
}

.site-navbar .dropdown-item {
  color: var(--green);
  padding: 8px 20px;
  font-size: 14.5px;
}

.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item:focus {
  background: #f0faf5;
  color: var(--green-dark);
}

/* Hover-to-open em telas grandes (lg+) */
@media (min-width: 992px) {
  .site-navbar .dropdown:hover>.dropdown-menu {
    display: block;
  }
}

.btn-suporte {
  background: var(--green);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 14.5px;
  transition: background .2s;
  text-decoration: none;
}

.btn-suporte:hover {
  background: var(--green-dark);
  color: #fff !important;
}

/* ====================  HERO HOME  ==================== */
.hero {
  position: relative;
  background-image: url('img/pages/Home/Home-Header-01.png');
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  min-height: 500px;
}

/*.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(25,140,95,.95) 0%,
    rgba(25,140,95,.88) 25%,
    rgba(25,140,95,.50) 50%,
    rgba(25,140,95,.12) 72%,
    rgba(25,140,95,.0) 85%);
}
.hero > .container { position: relative; z-index: 2; }
.hero h1 { font-size: 46px; font-weight: 400; line-height: 1.18; color: #fff; }
.hero p  { font-size: 15.5px; color: #fff; line-height: 1.55; }
*/

/* ====================  PAGE HERO (inner)  ==================== */
.page-hero {
  position: relative;
  min-height: 280px;
  background-size: cover;
  background-position: center;
}

/*.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(25,140,95,.85) 0%,
    rgba(25,140,95,.72) 25%,
    rgba(25,140,95,.35) 55%,
    rgba(25,140,95,.05) 90%);
}*/
.page-hero>.container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
}

.page-hero2 h1 {
  font-size: 42px;
  font-weight: 400;
  color: var(--green);
  line-height: 1.1;
}

.page-hero .hero-sub,
.page-hero .hero-bullets {
  border-top: 1px solid rgba(255, 255, 255, .6);
  padding-top: 14px;
  max-width: 350px;
  color: #fff;
  font-size: 14.5px;
  line-height: 1.5;
}

.page-hero2 .hero-sub,
.page-hero2 .hero-bullets {
  border-top: 1px solid var(--green);
  padding-top: 14px;
  max-width: 350px;
  font-size: 14.5px;
  line-height: 1.5;
}

.page-hero .hero-bullets ul {
  color: #fff;
  font-size: 15px;
  line-height: 1.75;
}

.page-hero2 .hero-bullets ul {
  color: var(--green);
  font-size: 15px;
  line-height: 1.75;
}

/* ====================  HERO BUTTONS (outline branco)  ==================== */
.btn-outline-white {
  border: 1.5px solid #fff;
  color: #fff;
  background: transparent;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 15px;
  transition: background .2s, color .2s;
  display: inline-block;
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--green);
}

/* ====================  BREADCRUMB customizado  ==================== */
.breadcrumb-strip {
  background: #eef2f6;
  border-bottom: 1px solid #dde4eb;
  font-size: 13.5px;
  color: #6a7480;
  font-style: italic;
  padding: 10px 0;
}

/* ====================  SEÇÃO "SEMPRE SEGURO" (foto centralizada com altura)  ==================== 
.seguro-photo img { max-height: 500px; margin: 0 auto; }*/
.seguro-photo img {
  margin-left: -20px;
}

/* ====================  FLEXÍVEL (banner verde + detalhe com overlap)  ==================== */
.fundo-verde {
  background: var(--green);
  border-radius: 15px;
}

.fundo-verde h1 {
  color: #fff;
}

.sec-flex-banner {
  /*background: var(--green);*/
  padding-top: 38px;
  padding-bottom: 0;
  position: relative;
  z-index: 1;
}

.sec-flex-banner h2 {
  font-size: 36px;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}

.sec-flex-detail {
  background: var(--bg-grey);
  position: relative;
  z-index: 2;
}

.flex-telas-img img {
  max-width: 550px;
  width: 100%;
  margin-left: -65px;
  margin-top: -215px;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .13));
}

.device-ico img {
  max-height: 54px;
  filter: brightness(0) saturate(100%) invert(47%) sepia(58%) saturate(418%) hue-rotate(108deg) brightness(90%) contrast(88%);
}

/* ====================  MOSIG HERO  ==================== */
.sec-mosig-hero {
  position: relative;
  background-image: url('img/pages/Home/Home-Fundo-MoSiG-01.png');
  background-size: cover;
  background-position: center;
}

/*.sec-mosig-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(25,140,95,.6) 0%,
    rgba(25,140,95,.25) 55%,
    rgba(25,140,95,.0) 80%);
}*/
.sec-mosig-hero>.container {
  position: relative;
  z-index: 2;
}

.sec-mosig-hero h2 {
  font-size: 49px;
  font-weight: 400;
  color: #fff;
}

.mosig-hero-screens img {
  max-height: 400px;
}

/* ====================  SEÇÕES SEGMENTOS / ADICIONAIS (fundo verde com imagem)  ==================== */
.sec-segments,
.sec-add,
.sec-outros {
  background-image: url('img/pages/Home/Home-Fundo-Segmentos-01.png');
  background-size: cover;
  background-position: center;
  color: #fff;
}

/*.sec-outros {
  background-image: url('img/pages/Sobre/Sobre-Fundo-Trajetoria.png');
  background-color: var(--green);
}*/
.sec-segments h2,
.sec-add h2,
.sec-outros h2 {
  color: #fff;
  font-weight: 400;
  line-height: 1.22;
}

/* Card de segmento com troca de imagem normal/hover */
.card-border-home {
  border-width: 2.5px;
  border-color: var(--green);
  border-radius: 0 0 15px 15px;
}

.seg-card {
  width: 145px;
  height: 145px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  transition: .25s;
}

.seg-card:hover,
.seg-card.is-active {
  background: rgba(255, 255, 255, .97);
  border-color: rgba(255, 255, 255, .97);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.seg-card .ico {
  /*position: relative;*/
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seg-card .ico .ico-normal,
.seg-card .ico .ico-hover {
  position: absolute;
  /*max-height: 86px;
  max-width: 100%;*/
  transition: opacity .22s;
}

.seg-card .ico .ico-hover {
  opacity: 0;
}

.seg-card:hover .ico .ico-normal,
.seg-card.is-active .ico .ico-normal {
  opacity: 0;
}

.seg-card:hover .ico .ico-hover,
.seg-card.is-active .ico .ico-hover {
  opacity: 1;
}

.seg-card span {
  font-size: 14px;
  color: #fff;
  line-height: 1.35;
  display: block;
  transition: color .22s;
}

.seg-card:hover span,
.seg-card.is-active span {
  color: var(--green);
  font-weight: 700;
}

/* Versão menor (dentro de outros-grid) */
.outros-grid .seg-card {
  padding: 14px 8px 12px;
}

.outros-grid .seg-card .ico {
  height: 64px;
}

.outros-grid .seg-card .ico .ico-normal,
.outros-grid .seg-card .ico .ico-hover {
  max-height: 60px;
}

.outros-grid .seg-card span {
  margin-top: 6px;
  font-size: 13px;
}

.outros-divider {
  border-top: 1.5px solid rgba(255, 255, 255, .45);
  margin: 4px 0 28px;
}

/* ====================  MCARD (Cards verde para MoSig)  ==================== */
.mcard-head {
  background: var(--green);
  color: #fff;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mcard-head img {
  width: 38px;
  height: 38px;
  filter: brightness(0) invert(1);
}

.mcard-head p {
  margin: 0;
  font-size: 18px;
  color: #fff;
}

/* ====================  NÚMEROS  ==================== */
.num-val {
  font-size: 45px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.1;
}

.num-card p {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-sm);
  line-height: 1.35;
}

/* ====================  CONTATO (verde)  ==================== */
.sec-contact {
  background: var(--green);
  color: #fff;
}

.sec-contact h2 {
  color: #fff;
  font-weight: 400;
  line-height: 1.25;
}

.sec-contact label,
.sec-contact .sub {
  color: #fff;
  font-size: 18px;
}

.sec-contact .form-control {
  border: none;
  border-radius: 3px;
  padding: 10px 12px;
}

.sec-contact .form-control:focus {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .45);
  border: none;
}

.btn-submit-white {
  width: 100%;
  padding: 13px;
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
  font-size: 22px;
  border-radius: 3px;
  transition: background .2s, color .2s;
}

.btn-submit-white:hover {
  background: #fff;
  color: var(--green);
}

.btn-hover:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
}

/* ====================  CONTROLE CARDS  ==================== */
.controle-title-card {
  background: var(--green);
  color: #fff;
  border-radius: 15px;
  padding: 30px 26px;
  font-size: 37px;
  line-height: 1.2;
  /*display: flex; flex-direction: column; justify-content: center;*/
  height: 100%;
}

.controle-feature-card {
  background: #ecf2f7;
  border-radius: 4px;
  padding: 22px 18px;
  text-align: center;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
}

.controle-feature-card.empty {
  background: transparent;
}

.controle-feature-card p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.35;
  margin: 0;
}

.controle-feature-card .ico img {
  max-height: 85px;
}

.controle-checks li {
  font-size: 16px;
  color: var(--green);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
}

.controle-checks li img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* ====================  INTRO CARDS  ==================== */
.intro-card {
  background: #ecf2f7;
  border-radius: 4px;
  padding: 22px 20px;
  min-height: 130px;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 100%;
}

.intro-card .icon img {
  max-width: 85px;
  max-height: 85px;
}

.intro-card .label {
  font-size: 17px;
  color: var(--text);
  line-height: 1.25;
  margin: 0;
}

/* ====================  ESSÊNCIA (sobre)  ==================== */
.essencia-title {
  background: var(--green);
  color: #fff;
  border-radius: 15px;
  padding: 30px 26px;
  font-size: 37px;
  line-height: 1.2;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.essencia-card {
  background: #ecf2f7;
  border-radius: 4px;
  padding: 22px 16px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  height: 100%;
}

.essencia-card .ico img {
  max-height: 85px;
}

.essencia-card p {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin: 0;
}

/* ====================  TRAJETÓRIA  ==================== */
.bg-traj {
  background-image: url(img/pages/Sobre/Sobre-Linha-Trajetoria.png);
  background-position: 65% 40%;
  background-repeat: no-repeat;
}

.sec-trajetoria {
  background-image: url('img/pages/Sobre/Sobre-Fundo-Trajetoria.png');
  background-size: cover;
  background-position: center;
  background-color: var(--green);
  color: #fff;
}

.sec-trajetoria h2 {
  color: #fff;
  font-weight: 400;
  line-height: 1.2;
}

.traj-card {
  background: linear-gradient(180deg, #28b07e 0%, #1d9d74 100%);
  border-radius: 15px;
  padding: 22px 22px;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  height: 100%;
}

.traj-card .year {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 8px;
}

.traj-card p {
  font-size: 18px;
  line-height: 1.35;
  margin: 0;
}

/* ====================  TEF CARDS  ==================== */
.tef-card {
  background: #e7effd;
  border-radius: 15px;
  padding: 15px 15px;
  min-height: 105px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  height: 100%;
}

.tef-card-flex {
  background: #e7effd;
  border-radius: 15px;
  padding: 15px 15px;
  min-height: 105px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.tef-card .row-icos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 12px;
}

/*.tef-card img { max-height: 85px; }*/
.tef-card .title {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
}

/* ====================  PHONE / APP SCREENS  ==================== */
.phone-showcase img,
.phone-showcase video {
  max-width: 320px;
  margin: 0 auto;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .16));
}

.app-screen-placeholder {
  background: #f0f3f7;
  border: 1px dashed #b8c2cc;
  border-radius: 22px;
  text-align: center;
  color: #8a939c;
  font-size: 13px;
  aspect-ratio: 9/16;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ====================  BI thumbs  ==================== */
.bi-thumb {
  background: #f0f3f7;
  border: 1px dashed #b8c2cc;
  border-radius: 4px;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a939c;
  font-size: 12px;
}

.bi-amp {
  text-align: center;
  font-style: italic;
  color: var(--green);
  font-weight: 700;
  font-size: 14.5px;
}

/* ====================  ECOMMERCE mockup label  ==================== */
.ec-label {
  color: var(--green);
  font-weight: 700;
  font-size: 17px;
}

/* ====================  PORQUE ESCOLHER  ==================== */
.porque-title h2 {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--green);
}

.porque-item .check img {
  width: 38px;
  height: 38px;
}

/* ====================  DECRETO  ==================== */
.sec-decreto h3 {
  font-size: 22px;
  color: var(--green);
  font-weight: 700;
}

.sec-decreto .decreto-text {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.65;
}

.sec-decreto a {
  text-decoration: underline;
  display: block;
  margin-top: 6px;
}

/* ====================  FOOTER  ==================== */
footer.site-footer {
  background: var(--bg-grey);
  padding: 24px 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--text);
  border-top: 1px solid #d8dfe6;
}

footer.site-footer .foot-logo img {
  height: 60px;
  margin: 0 auto 14px;
}

.mosig-telas img {
  margin-top: -68%;
}

.mosig-telasd {
  margin-top: 3%;
}

.text-suporte-one {
  color: #0d6efd;
  font-weight: bold;
}

.text-suporte-two {
  color: var(--green);
  font-weight: bold;
}

.btn-suporte-one {
  background-color: #0d6efd;
  color: #fff;
}

.btn-suporte-two {
  background-color: var(--green);
  color: #fff;
}

.btn-suporte-one:hover {
  background-color: #0b5ed7;
  color: #fff;
}

.btn-suporte-two:hover {
  background-color: var(--green-dark);
  color: #fff;
}

.hero-margin {
  margin-top: 85px;
}

.seguro_um {
  margin-top: -15%;
}

.seguro_tres {
  margin-top: -20%;
}

.seguro_quatro {
  margin-top: -200px;
}

/* ============================================================
   RESPONSIVO (consolidado)
   Breakpoints alinhados ao Bootstrap 5:
   - <992px  (lg): colunas .col-lg-* empilham -> zera overlaps
   - <768px  (md): navbar colapsa -> tipografia, menu, cards
   - <576px  (sm): celulares -> hero, grade de segmentos
   ============================================================ */

/* ----------  TABLETS E ABAIXO (<992px)  ---------- */
/* Todos os margins negativos de sobreposição pressupõem as colunas
   lado a lado; quando .col-lg-* empilha, eles são zerados aqui.
   (Antes só eram zerados em <576px, deixando 577–991px quebrado.) */
@media (max-width: 991.98px) {

  .seguro_um,
  .seguro_tres {
    margin-top: 0;
  }

  .seguro_quatro {
    margin-top: 32px;
  }

  .seguro-photo img {
    margin-left: 0;
  }

  .flex-telas-img img {
    margin-left: 0;
    margin-top: 20px;
  }

  .mosig-telas img {
    margin-top: 0;
  }

  .mosig-telasd {
    margin-top: 24px;
  }

  .bg-traj {
    background: transparent;
  }
}

/* ----------  NAVBAR COLAPSADA + TIPOGRAFIA (<768px)  ---------- */
@media (max-width: 767.98px) {

  /* Navbar mais compacta e confortável para toque */
  .site-navbar .navbar-brand img {
    height: 46px;
  }

  .hero-margin {
    margin-top: 70px;
  }

  .site-navbar .navbar-collapse {
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    padding: 6px 4px 16px;
  }

  .site-navbar .nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* Dropdowns dentro do menu colapsado: sem "cartão flutuante",
     viram listas indentadas com filete verde */
  .site-navbar .dropdown-menu {
    box-shadow: none;
    border-radius: 0;
    border-left: 3px solid var(--green);
    background: #f4faf7;
    margin: 4px 0 8px 10px;
    padding: 4px 0;
  }

  .site-navbar .dropdown-item {
    padding: 10px 16px;
  }

  .site-navbar .btn-suporte {
    display: inline-block;
    margin-bottom: 10px;
  }

  /* Títulos: os tamanhos de 44–52px vêm de style="" inline,
     por isso o !important é necessário aqui */
  .hero h1,
  .page-hero h1,
  .page-hero2 h1 {
    font-size: 30px;
  }

  .sec-flex-banner h2 {
    font-size: 28px;
  }

  .sec-mosig-hero h2,
  .sec-segments h2,
  .sec-outros h2,
  .sec-contact h2,
  .porque-title h2,
  .bg-grey h2,
  #sobre h2,
  .fundo-verde h1 {
    font-size: 30px !important;
  }

  .controle-title-card,
  .essencia-title {
    font-size: 26px;
  }

  .num-val {
    font-size: 36px;
  }

  .btn-submit-white {
    font-size: 18px;
  }

  .card-border-home .card-body ul {
    font-size: 16px !important;
  }

  /* Botão "Saiba mais" dos cards MoSiG: o posicionamento absoluto
     (top:92%/left:37%) desalinha quando os cards empilham em
     largura total; volta ao fluxo normal, centralizado */
  .btn-card {
    position: static;
  }
}

/* ----------  CELULARES (<576px)  ---------- */
@media (max-width: 575.98px) {

  /* Hero: leve véu verde para garantir contraste do texto branco
     (no mobile o texto cai sobre a área da foto) e CTAs empilhados
     em largura total */
  .hero {
    background-image:
      linear-gradient(rgba(23, 122, 83, .55), rgba(23, 122, 83, .55)),
      url('img/pages/Home/Home-Header-01.png');
    min-height: 440px;
  }

  .hero .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-left: 0 !important;
    /* anula o ms-3 do 2º botão */
  }

  /* Banner verde "Flexível": padding do p-5 é exagerado no celular */
  .container-xxl.fundo-verde {
    padding: 26px 22px !important;
  }

  /* Grade de segmentos/adicionais: com 145px + gutter g-5 (3rem),
     não cabem 2 cards em 360px e a grade vira 1 coluna gigante.
     Cards menores + gutter reduzido = 3 por linha, centralizados */
  .sec-segments .row.g-5,
  .sec-outros .row.g-5 {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
    justify-content: center !important;
  }

  .seg-card {
    width: 100px;
    height: 100px;
  }

  .seg-card .ico {
    height: 84px;
  }

  .seg-card .ico .ico-normal,
  .seg-card .ico .ico-hover {
    max-height: 92px;
    max-width: 92px;
  }

  .outros-grid .seg-card .ico {
    height: 64px;
  }

  .num-card .card-body img {
    max-height: 64px !important;
  }
}

@media (min-width: 768px) {
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: var(--bs-navbar-nav-link-padding-x);
    padding-left: var(--bs-navbar-nav-link-padding-x);
    font-weight: bold;
  }
}