:root {
  --azul-caixa: #0066b3;
  --azul-caixa-escuro: #014075;
  --azul-caixa-claro: #006bae;
  --laranja-caixa: #d87b00;
  --texto: #4c556c;
  --fundo: #ffffff;
  --fundo-suave: #f5f7fa;
  --borda: #d7dde7;
  --sombra: 0 20px 48px rgba(1, 64, 117, 0.12);
  --container: 1640px;
  --font-caixa: "CAIXA Std", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-caixa);
  color: var(--texto);
  background: var(--fundo);
}

img {
  display: block;
  max-width: 100%;
}

.credito-page {
  overflow-x: hidden;
}

.credito-shell {
  width: 100%;
  position: relative;
  max-width: 1640px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .credito-shell {
    width: 90%;
  }
}

@media (min-width: 1200px) {
  .credito-shell {
    width: 87%;
  }
}

.credito-header {
  background: #005ca9;
}

.credito-header__hero {
  width: 100%;
  aspect-ratio: 1920 / 711;
  object-fit: cover;
  object-position: center;
}

.credito-section-title {
  margin: 0;
  color: var(--azul-caixa);
  font-family: 'CAIXA Std SemiBold', sans-serif;
  font-size: 24px;
  line-height: 1.2;
  padding: 28px 0 20px;

}

.credito-section-produtos {
  padding-bottom: 28px;
}

@media (min-width: 1024px) {
  .credito-section-title {
    font-size: 28px;
    padding: 34px 0 24px;

  }
}

.credito-section-title--center {
  text-align: center;
}

.credito-video-placeholder {
  width: min(100%, 760px);
  min-height: 430px;
  margin: 0 auto;
  border: 2px #9fb8d5;
  border-radius: 8px;
  background: linear-gradient(135deg, #eef4fa, #dfeaf4);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
}

.credito-video-placeholder strong {
  display: block;
  color: var(--azul-caixa);
  font-size: 24px;
  margin-bottom: 8px;
}

.credito-video-placeholder span {
  font-size: 16px;
  line-height: 1.5;
  max-width: 32ch;
}

.credito-card-grid {
  display: grid;
  gap: 24px;
}

.credito-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.credito-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.credito-product-card {
  background: var(--fundo-suave);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--borda);
  box-shadow: 0 10px 28px rgba(1, 64, 117, 0.08);
  display: flex;
  flex-direction: column;
}

.credito-product-card img {
  width: 100%;
  aspect-ratio: 386 / 274;
  object-fit: cover;
}

.credito-product-card__content {
  padding: 28px 30px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 208px;
}

.credito-product-card__title {
  margin: 0;
  color: var(--azul-caixa-claro);
  font-size: 22px;
  font-family: 'CAIXA Std SemiBold';
}

.credito-product-card__description {
  margin: 0;
  font-size: 1.1rem;
}

.credito-product-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--laranja-caixa);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.credito-product-card__link::after {
  content: "›";
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 1200px) {
  .credito-card-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credito-card-grid--three {
    grid-template-columns: 1fr;
  }
}

.credito-section {
  padding: 20px 0;
}

@media (max-width: 720px) {
  .credito-section {
    padding: 12px 0;
  }

  .credito-card-grid--four,
  .credito-card-grid--three {
    grid-template-columns: 1fr;
  }

  .credito-product-card__content {
    padding: 22px 20px 18px;
    min-height: 0;
  }

  .credito-section-title {
    font-size: 24px;
  }

  .credito-product-card__description {
    font-size: 18px;
  }

  .credito-video-placeholder {
    min-height: 280px;
    padding: 24px;
  }
}

._caixa_ef_container {
  width: 100%;
  max-width: 1640px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  margin-top: 116px;
}

@media (min-width: 768px) {
  ._caixa_ef_container {
    width: 90%;
  }
}

@media (min-width: 1200px) {
  ._caixa_ef_container {
    width: 87%;
  }
}

#_page_hero.credito-page-hero {
  position: relative;
  width: 100%;
  color: #fff;
  background:
    linear-gradient(270deg, rgba(0, 0, 0, 0) 39.41%, rgba(0, 0, 0, 0.55) 99.6%),
    url('../../PublishingImages/header-home.webp') lightgray center / cover no-repeat;
  padding: 2rem 1rem 3.5rem;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
}

#_page_hero.credito-page-hero .credito-header__container {
  width: 100%;
}

.credito-header__badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.82);
  background: transparent;
}

.credito-header__badge span {
  color: #fff;
  font-family: var(--font-caixa);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.credito-header__badge img {
  width: 86px;
  height: auto;
}

#_page_hero.credito-page-hero h2 {
  margin: 28px 0 0;
  max-width: 700px;
  color: #fff;
  font-size: 4.7em;
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-family: 'CAIXA Std Book';
}


@media screen and (max-width: 768px) {
  #_page_hero.credito-page-hero h2 {
    font-size: 2.6em;
  }
}

#_page_hero.credito-page-hero ._btn {
  min-width: 202px;
  width: fit-content;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-radius: 4px;
  background: #F38230;
  border: none;
  color: #fff;
  font-family: 'CAIXA Std Book', var(--font-caixa);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

#_page_hero.credito-page-hero ._btn:hover {
  background: #D17D00;
  color: #fff;
}

@media screen and (min-width: 37.5em) {
  #_page_hero.credito-page-hero ._btn {
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  #_page_hero.credito-page-hero {
    min-height: 640px;
    padding: 4rem 3rem 5rem;
    background-position: center top;
  }

  .credito-header__badge span {
    font-size: 24px;
  }

  .credito-header__badge img {
    width: 112px;
  }
}
