﻿@import url("seja-parceiro.css");
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&family=Space+Grotesk:wght@300..700&display=swap');

/* Estilos especificos de servidores-gravatai.html */
body {
  font-family: "Raleway", sans-serif;
}

.home-slider .item {
  height: 780px;
}

.home-slider .caption {
  background-color: transparent;
}

.home-slider .item-first {
  background-image: url("../images/cover-servidores-ipg.png");
  background-position: center;
}

.partner-hero-title {
  font-family: "Raleway", sans-serif;
  font-style: normal;
}

.partner-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: #ffffff;
  font-size: clamp(1.3rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  backdrop-filter: blur(2px);
}

.partner-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 80px;
  background: #ffe600;
  color: #0f3b2f;
  border-radius: 24px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.partner-cta:hover,
.partner-cta:focus {
  background: #ffef3a;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.2);
  color: #0f3b2f;
}

.partner-cta .cta-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.partner-cta .hero-chat-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.custom-navbar .navbar-nav.navbar-right li .menu-cta-link {
  background: #ffe600;
  color: #0f3b2f;
  border-radius: 999px;
  font-weight: 700;
  padding: 8px 24px;
  margin-top: 8px;
}

.custom-navbar .navbar-nav.navbar-right li .menu-cta-link:hover,
.custom-navbar .navbar-nav.navbar-right li .menu-cta-link:focus {
  background: #ffef3a;
  color: #0f3b2f;
}

.custom-navbar .navbar-nav.navbar-right li .menu-cta-link .menu-cta-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
}

.consignado-advantages-section {
  padding: 88px 0 74px;
  background: #ececec;
}


.consignado-advantages-head {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.consignado-advantages-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  padding: 8px 20px;
  border-radius: 999px;
  background: #d8e8df;
  color: #006d46;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.consignado-advantages-head h2 {
  margin: 0 0 12px;
  color: #1f3555;
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  line-height: 1.12;
}

.consignado-advantages-head p {
  margin: 0;
  color: #2c4558;
  font-size: 1.221rem;
  line-height: 1.55;
}

.consignado-advantages-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.consignado-adv-card {
  min-height: 208px;
  background: #f4f6f5;
  border: 1px solid #c4d1ca;
  border-radius: 10px;
  padding: 22px 18px;
}

.consignado-adv-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #006d46;
  border-radius: 999px;
  margin-bottom: 12px;
  color: #006d46;
  font-size: 16px;
}

.consignado-adv-card h3 {
  margin: 0 0 10px;
  color: #1f3555;
  font-size: 1.22rem;
  line-height: 1.35;
}

.consignado-adv-card p {
  margin: 0;
  color: #2c4558;
  font-size: 1.355rem;
  line-height: 1.5;
}

.consignado-advantages-action {
  margin-top: 38px;
  display: flex;
  justify-content: center;
}

.consignado-advantages-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  min-height: 56px;
  padding: 12px 30px;
  border-radius: 999px;
  background: #006d46;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(0, 109, 70, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.consignado-advantages-btn:hover,
.consignado-advantages-btn:focus {
  background: #005d3b;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(0, 109, 70, 0.3);
}

.commitment-section {
  padding: 96px 0 120px;
  background: #ffffff;
}

.commitment-section .container {
  max-width: 1900px;
}

.commitment-card {
  background: #006d46;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

.commitment-copy {
  margin-top: 60px;
  color: #ffffff;
  padding: 40px 28px;
}

.commitment-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2.3rem, 4.6vw, 3.74rem);
  line-height: 1.08;
  color: #ffffff;
}

.commitment-copy p {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1.55rem;
  line-height: 1.45;
}

.commitment-copy .commitment-lead {
  margin-top: 60px;
  margin-bottom: 22px;
  font-weight: 700;
}

.commitment-actions {
  display: grid;
  gap: 12px;
  max-width: 470px;
}

.commitment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: clamp(1.09rem, 2.65vw, 1.15rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.commitment-whatsapp-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.commitment-btn:hover,
.commitment-btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.commitment-btn-solid {
  background: #f2f2f2;
  color: #006d46;
}

.commitment-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.commitment-media {
  min-height: 300px;
  background: #dedede;
  overflow: hidden;
}

.commitment-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.anchor-spacer {
  height: 1px;
}

.loan-products-section {
  padding: 0 0 112px;
  background: #ececec;
}

.loan-products-shell {
  border-radius: 14px;
  overflow: hidden;
}

.loan-products-hero {
  display: grid;
  grid-template-columns: 1fr;
  background: #e9e9e9;
}

.loan-products-copy {
  margin-top: 50px;
  padding: 42px 28px 30px;
}

.loan-products-copy p.loan-products-trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #d8e8df;
  color: #006d46;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: none;
}

.loan-products-trust-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.loan-products-copy h2 {
  margin: 0 0 12px;
  color: #1f3555;
  font-size: clamp(2.3rem, 5.18vw, 3.74rem);
  line-height: 1.06;
}

.loan-products-copy p {
  margin: 0;
  color: #1f3555;
  max-width: 32ch;
  font-size: 1.68rem;
  line-height: 1.45;
}

.loan-products-visual {
  position: relative;
  min-height: 260px;
  background: #e9e9e9;
  overflow: hidden;
}

.loan-products-visual::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  background: #006e46;
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
}

.visual-circle {
  position: absolute;
  left: 6%;
  top: 14px;
  width: min(56vw, 300px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid #e9e9e9;
  z-index: 2;
}

.visual-circle img,
.visual-diagonal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-diagonal {
  position: absolute;
  right: 0;
  top: 0;
  width: 64%;
  height: 100%;
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 3;
}

.loan-grid {
  background: #006e46;
  padding: 18px;
  display: grid;
  gap: 14px;
}

.loan-card {
  background: #efefef;
  border-radius: 8px;
  padding: 20px 18px 16px;
}

.loan-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #d8ece4;
  color: #006e46;
  font-size: 16px;
  margin-bottom: 10px;
}

.loan-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.loan-card h3 {
  margin: 0 0 8px;
  color: #1f3555;
  font-size: 1.29rem;
}

.loan-card p {
  margin: 0 0 14px;
  color: #233656;
  font-size: 1.53rem;
  line-height: 1.45;
}

.loan-card a {
  display: block;
  text-decoration: underline;
  color: #2d256f;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.loan-card a:last-child {
  color: #006e46;
  margin-bottom: 0;
}

.steps-contract-section {
  padding: 0 0 112px;
  background: #ececec;
}

.steps-contract-section .container {
  width: calc(100% - 30px);
  max-width: 1380px;
}

.steps-contract-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  border-radius: 14px;
  background: #e9e9e9;
  padding: 34px 24px;
  overflow: hidden;
}

.steps-contract-visual {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps-contract-visual img {
  position: relative;
  z-index: 3;
  width: min(100%, 449px);
  height: auto;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.16));
}

.steps-accent-shape {
  position: absolute;
  z-index: 1;
}

.steps-accent-shape-a {
  left: 8%;
  bottom: 48px;
  width: 180px;
  height: 74px;
  border-radius: 999px;
  background: #006d46;
  transform: rotate(-42deg);
}

.steps-accent-shape-b {
  right: 10%;
  top: 20%;
  width: 230px;
  height: 230px;
  border: 2px solid #2d256f;
  border-radius: 50%;
  background: transparent;
}

.steps-contract-content {
  max-width: 720px;
  margin-left: 50px;
}

.steps-contract-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #d8e8df;
  color: #006d46;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.steps-contract-content h2 {
  margin: 0 0 24px;
  color: #1f3555;
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  line-height: 1.15;
  max-width: 18ch;
}

.steps-contract-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.steps-contract-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.steps-contract-index {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #006d46;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
}

.steps-contract-text h3 {
  margin: 0 0 4px;
  color: #1f3555;
  font-size: 1.85rem;
  line-height: 1.25;
}

.steps-contract-text p {
  margin: 0;
  color: #233656;
  font-size: 1.22rem;
  line-height: 1.45;
}

.steps-contract-btn {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 290px;
  min-height: 56px;
  border-radius: 999px;
  background: #006d46;
  color: #ffffff;
  font-size: 1.24rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(0, 109, 70, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.steps-contract-btn:hover,
.steps-contract-btn:focus {
  color: #ffffff;
  background: #005d3b;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(0, 109, 70, 0.3);
}

.support-channels-section {
  padding: 0 0 112px;
  background: #ececec;
}

.support-channels-wrap {
  max-width: 1060px;
  margin-top: 80px;
}

.support-title {
  margin: 0 0 18px;
  color: #39424f;
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  line-height: 1.06;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.support-card {
  position: relative;
  display: block;
  min-height: 170px;
  border-radius: 12px;
  background: #f2f2f2;
  border: 1px solid #dddddd;
  padding: 18px 16px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.support-card h3 {
  margin: 0;
  color: #475160;
  font-size: clamp(1.6rem, 3.2vw, 2.05rem);
  line-height: 1.2;
  max-width: 12ch;
}

.support-icon {
  position: absolute;
  right: 16px;
  bottom: 12px;
  color: #485362;
  font-size: 3.9rem;
  line-height: 1;
}

.support-card:hover,
.support-card:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: #c8c8c8;
}

#footer .row {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
}

#footer .row > [class*="col-"] {
  float: none;
  flex: 1 1 0;
  min-width: 0;
}

@media (min-width: 768px) {
  .commitment-copy {
    padding: 52px 44px;
  }

  .commitment-btn {
    min-height: 60px;
  }
}

@media (min-width: 992px) {
  .consignado-advantages-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .commitment-card {
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .commitment-copy {
    padding: 60px 56px;
  }

  .commitment-media {
    min-height: 100%;
    border-top-left-radius: 210px;
    /* border-bottom-left-radius: 210px; */
  }

  .loan-products-hero {
    grid-template-columns: minmax(0, 0.68fr) minmax(0, 1fr);
    min-height: 430px;
  }

  .loan-products-copy {
    padding: 72px 44px 44px;
  }

  .loan-products-copy h2 {
    margin-bottom: 14px;
  }

  .loan-products-visual {
    min-height: 430px;
  }

  .visual-circle {
    left: 8%;
    top: 32px;
    width: min(30vw, 360px);
    border-width: 10px;
  }

  .visual-diagonal {
    width: 87%;
    clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  }

  .loan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 16px;
  }

  .loan-card {
    min-height: 245px;
    padding: 22px 20px 18px;
  }

  .steps-contract-wrap {
    grid-template-columns: minmax(0, 0.74fr) minmax(0, 1fr);
    gap: 34px;
    padding: 44px 42px;
  }

  .steps-contract-visual {
    min-height: 520px;
  }

  .steps-contract-visual img {
    width: min(100%, 515px);
  }

  .steps-accent-shape-a {
    width: 210px;
    height: 84px;
    left: 6%;
    bottom: 68px;
  }

  .steps-accent-shape-b {
    width: 290px;
    height: 290px;
    right: 4%;
    top: 14%;
  }

  .support-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .support-card {
    min-height: 260px;
    padding: 22px 18px;
  }

  .support-icon {
    right: 18px;
    bottom: 16px;
    font-size: 4.2rem;
  }
}

@media (max-width: 767px) {
  .consignado-advantages-section {
    padding: 72px 0 58px;
  }

  .consignado-advantages-tag {
    margin-bottom: 14px;
    padding: 7px 16px;
    font-size: 1.1rem;
  }

  .consignado-advantages-head h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .consignado-advantages-grid {
    margin-top: 30px;
  }

  .consignado-adv-card {
    min-height: auto;
  }

  .consignado-advantages-btn {
    width: 100%;
    min-width: 0;
    font-size: 1.08rem;
  }

  #home .home-slider .item-first {
    position: relative;
    overflow: hidden;
  }

  #home .home-slider .item-first::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.58) 38%,
      rgba(0, 0, 0, 0.48) 100%
    );
    pointer-events: none;
    z-index: 1;
  }

  #home .home-slider .item-first .caption {
    position: relative;
    z-index: 2;
  }

  .partner-trust-badge {
    width: 100%;
    padding: 10px 14px;
    font-size: 1.15rem;
    border-radius: 14px;
  }

  .partner-cta {
    padding: 12px 34px;
  }

  .custom-navbar .navbar-nav.navbar-right li .menu-cta-link {
    margin: 8px 15px;
    text-align: center;
  }

  .commitment-section {
    padding: 72px 0 92px;
  }

  .loan-products-section {
    padding: 0 0 88px;
  }

  .steps-contract-section {
    padding: 0 0 88px;
  }

  .steps-contract-wrap {
    padding: 28px 18px;
    gap: 20px;
  }

  .steps-contract-visual {
    min-height: 320px;
  }

  .steps-contract-visual img {
    width: min(100%, 343px);
  }

  .steps-accent-shape-a {
    width: 136px;
    height: 56px;
    bottom: 28px;
  }

  .steps-accent-shape-b {
    width: 170px;
    height: 170px;
    right: 6%;
    top: 18%;
  }

  .steps-contract-content h2 {
    max-width: none;
  }

  .steps-contract-text h3 {
    font-size: 1.55rem;
  }

  .steps-contract-text p {
    font-size: 1.08rem;
  }

  .steps-contract-btn {
    width: 100%;
    min-width: 0;
  }

  .support-channels-section {
    padding: 0 0 88px;
  }

  .commitment-btn {
    width: 100%;
  }

  #footer .row {
    flex-wrap: wrap;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .consignado-advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-contract-wrap {
    grid-template-columns: 1fr;
    padding: 34px 30px;
  }

  .steps-contract-visual {
    min-height: 430px;
  }

  .steps-contract-content h2 {
    max-width: none;
  }
}
