/* Fin Farma — vitrine dos módulos.
   Escopo: somente a página institucional, sem alterar Chat, app ou e-commerce. */
.ff-layout-proposta .ff-modules-refined {
  padding-block: clamp(42px, 5.5vw, 76px) clamp(50px, 6vw, 90px);
  background: #fff;
}
.ff-layout-proposta .ff-modules-refined .ff-modules-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto 20px;
  color: #4f6992;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .15em;
  text-align: center;
  text-transform: uppercase;
}
.ff-layout-proposta .ff-modules-refined .ff-modules-line {
  width: clamp(18px, 9vw, 112px);
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9d9ee);
}
.ff-layout-proposta .ff-modules-refined .ff-modules-line:last-child {
  background: linear-gradient(90deg, #c9d9ee, transparent);
}
.ff-layout-proposta .ff-modules-refined .ff-module-showcase {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e0e9f6;
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(24, 54, 99, .045);
}
.ff-layout-proposta .ff-modules-refined .ff-module-showcase .eyebrow {
  display: block;
  color: #4266a3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.ff-layout-proposta .ff-modules-refined .ff-module-showcase .eyebrow span {
  color: #b38d4e;
  padding: 0 .38em;
}
.ff-layout-proposta .ff-modules-refined .ff-module-showcase .module-feature-copy h2 {
  font-family: Jost, Archivo, sans-serif;
  font-size: clamp(30px, 3.1vw, 43px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.027em;
  color: #102b60;
  margin: 0;
  max-width: 550px;
}
.ff-layout-proposta .ff-modules-refined .ff-module-showcase .module-feature-copy > p:not(.eyebrow) {
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.65;
  color: #526886;
  margin: 15px 0 0;
  max-width: 510px;
}
.ff-layout-proposta .ff-modules-refined .ff-module-showcase .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 19px;
  min-height: 40px;
  color: #12377a;
  font-weight: 700;
  text-underline-offset: 5px;
}
.ff-layout-proposta .ff-modules-refined .ff-module-showcase .text-link:hover {
  color: #2865b2;
}
.ff-layout-proposta .ff-modules-refined .ff-module-showcase .premium-visual {
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.ff-layout-proposta .ff-modules-refined .ff-module-showcase .premium-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: none;
}
.ff-layout-proposta .ff-modules-refined .ff-module-showcase .premium-visual figcaption {
  display: block;
  color: #7a8da9;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .015em;
  padding: 4px 0 0;
  text-align: center;
}
.ff-layout-proposta .ff-modules-refined .ff-team-feature.ff-module-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: clamp(26px, 3.2vw, 44px) clamp(18px, 5vw, 70px) 20px;
  background:
    radial-gradient(ellipse at 50% 90%, rgba(173, 204, 250, .32), transparent 65%),
    linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
}
.ff-layout-proposta .ff-modules-refined .ff-team-feature.ff-module-showcase > .module-feature-copy {
  grid-column: 1;
  grid-row: 1;
  order: 0;
  position: relative;
  z-index: 1;
  max-width: 760px;
  width: 100%;
  text-align: center;
}
.ff-layout-proposta .ff-modules-refined .ff-team-feature.ff-module-showcase .module-feature-copy h2,
.ff-layout-proposta .ff-modules-refined .ff-team-feature.ff-module-showcase .module-feature-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin-inline: auto;
}
.ff-layout-proposta .ff-modules-refined .ff-team-feature.ff-module-showcase > .team-premium-visual {
  grid-column: 1;
  grid-row: 2;
  order: 0;
  width: min(100%, 1070px);
  max-width: 1070px;
  margin-inline: auto;
  justify-self: center;
}
.ff-layout-proposta .ff-modules-refined .ff-team-feature.ff-module-showcase .team-premium-visual img {
  border-radius: 0;
}
.ff-layout-proposta .ff-modules-refined .ff-sales-feature.ff-module-showcase,
.ff-layout-proposta .ff-modules-refined .ff-stock-feature.ff-module-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin: 0 0 22px;
  padding: clamp(24px, 3.2vw, 40px) clamp(24px, 4.3vw, 58px);
  background: #fff;
}
.ff-layout-proposta .ff-modules-refined .ff-stock-feature.ff-module-showcase {
  background: #f7faff;
  margin-bottom: 0;
}
.ff-layout-proposta .ff-modules-refined .ff-sales-feature.ff-module-showcase > .ff-sales-visual {
  grid-column: 1;
  grid-row: 1;
}
.ff-layout-proposta .ff-modules-refined .ff-sales-feature.ff-module-showcase > .module-feature-copy {
  grid-column: 2;
  grid-row: 1;
}
.ff-layout-proposta .ff-modules-refined .ff-stock-feature.ff-module-showcase > .module-feature-copy {
  grid-column: 1;
  grid-row: 1;
}
.ff-layout-proposta .ff-modules-refined .ff-stock-feature.ff-module-showcase > .ff-stock-visual {
  grid-column: 2;
  grid-row: 1;
}
.ff-layout-proposta .ff-modules-refined .ff-sales-feature .module-feature-copy,
.ff-layout-proposta .ff-modules-refined .ff-stock-feature .module-feature-copy {
  min-width: 0;
}
@media (max-width: 760px) {
  .ff-layout-proposta .ff-modules-refined {
    padding-block: 34px 52px;
  }
  .ff-layout-proposta .ff-modules-refined .ff-modules-intro {
    gap: 8px;
    margin-bottom: 15px;
    font-size: 10px;
  }
  .ff-layout-proposta .ff-modules-refined .ff-team-feature.ff-module-showcase {
    padding: 28px 17px 15px;
    gap: 14px;
    border-radius: 20px;
    margin-bottom: 16px;
  }
  .ff-layout-proposta .ff-modules-refined .ff-module-showcase .module-feature-copy h2 {
    font-size: clamp(27px, 6.8vw, 34px);
  }
  .ff-layout-proposta .ff-modules-refined .ff-module-showcase .module-feature-copy > p:not(.eyebrow) {
    font-size: 15px;
  }
  .ff-layout-proposta .ff-modules-refined .ff-sales-feature.ff-module-showcase,
  .ff-layout-proposta .ff-modules-refined .ff-stock-feature.ff-module-showcase {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 27px 20px 18px;
    border-radius: 20px;
    margin-bottom: 16px;
  }
  .ff-layout-proposta .ff-modules-refined .ff-sales-feature.ff-module-showcase > .module-feature-copy,
  .ff-layout-proposta .ff-modules-refined .ff-stock-feature.ff-module-showcase > .module-feature-copy {
    grid-column: 1;
    grid-row: 1;
    order: 0;
  }
  .ff-layout-proposta .ff-modules-refined .ff-sales-feature.ff-module-showcase > .ff-sales-visual,
  .ff-layout-proposta .ff-modules-refined .ff-stock-feature.ff-module-showcase > .ff-stock-visual {
    grid-column: 1;
    grid-row: 2;
    order: 0;
    max-width: 520px;
    width: 100%;
    justify-self: center;
  }
  .ff-layout-proposta .ff-modules-refined .ff-module-showcase .premium-visual figcaption {
    padding-top: 0;
  }
}
@media (max-width: 390px) {
  .ff-layout-proposta .ff-modules-refined .ff-modules-line { width: 26px; }
  .ff-layout-proposta .ff-modules-refined .ff-module-showcase .text-link { margin-top: 12px; }
}
