/* =========================================================
   DIFERENCIAIS — CETIS
   BENTO TECNOLÓGICO
========================================================= */

.diferenciais {
  position: relative;

  padding: 120px 0;

  overflow: hidden;

  background: #f5f9fc;
}


/* =========================================================
   DECORAÇÃO DE FUNDO
========================================================= */

.diferenciais::before {
  content: "";

  position: absolute;

  width: 520px;
  height: 520px;

  top: -260px;
  right: -180px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(0, 136, 204, 0.08),
      transparent 68%
    );

  pointer-events: none;
}


.diferenciais::after {
  content: "";

  position: absolute;

  width: 420px;
  height: 420px;

  bottom: -260px;
  left: -220px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(8, 127, 189, 0.055),
      transparent 70%
    );

  pointer-events: none;
}


/* =========================================================
   CABEÇALHO
========================================================= */

.diferenciais-cabecalho {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(280px, 0.8fr);

  align-items: end;

  gap: 80px;

  margin-bottom: 65px;
}


.diferenciais-cabecalho .eyebrow {
  display: inline-flex;

  margin-bottom: 20px;

  padding: 8px 15px;

  color: #087fbd;

  background: rgba(8, 127, 189, 0.055);

  border: 1px solid rgba(8, 127, 189, 0.18);

  border-radius: 999px;

  font-size: 0.68rem;

  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


.diferenciais-cabecalho h2 {
  max-width: 760px;

  margin: 0;

  color: #183a5c;

  font-size: clamp(
    2.5rem,
    5vw,
    4.2rem
  );

  line-height: 1.02;

  letter-spacing: -0.05em;
}


.diferenciais-cabecalho h2 span {
  display: block;

  color: #087fbd;

  background:
    linear-gradient(
      135deg,
      #0088cc,
      #087fbd
    );

  -webkit-background-clip: text;

  background-clip: text;

  -webkit-text-fill-color: transparent;
}


.diferenciais-cabecalho > p {
  max-width: 470px;

  margin: 0;

  color: #647b8f;

  font-size: 0.98rem;

  line-height: 1.8;
}


/* =========================================================
   BENTO
========================================================= */

.diferenciais-bento {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    1.25fr
    0.75fr;

  grid-template-rows:
    repeat(2, 235px);

  gap: 16px;

  max-width: 1180px;

  margin: 0 auto;
}


/* =========================================================
   CARD PRINCIPAL
========================================================= */

.diferencial-feature {
  position: relative;

  grid-row: span 2;

  display: flex;

  flex-direction: column;

  min-height: 100%;

  padding: 38px;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f2f9fc 100%
    );

  border: 1px solid rgba(8, 127, 189, 0.14);

  border-radius: 28px;

  box-shadow:
    0 25px 70px rgba(24, 58, 92, 0.08);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}


.diferencial-feature:hover {
  transform: translateY(-7px);

  border-color:
    rgba(8, 127, 189, 0.28);

  box-shadow:
    0 35px 85px rgba(24, 58, 92, 0.13),
    0 0 50px rgba(8, 127, 189, 0.05);
}


/* =========================================================
   GLOW DO CARD PRINCIPAL
========================================================= */

.diferencial-feature-glow {
  position: absolute;

  right: -160px;
  bottom: -180px;

  width: 460px;
  height: 460px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(0, 136, 204, 0.12),
      transparent 68%
    );

  pointer-events: none;

  transition:
    transform 0.6s ease;
}


.diferencial-feature:hover
.diferencial-feature-glow {
  transform: scale(1.15);
}


/* =========================================================
   TOPO
========================================================= */

.diferencial-feature-top {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: flex-start;

  justify-content: space-between;
}


.diferencial-big-number {
  color: rgba(8, 127, 189, 0.18);

  font-size: 4.8rem;

  font-weight: 800;

  line-height: 0.8;

  letter-spacing: -0.08em;
}


.diferencial-status {
  padding: 7px 12px;

  color: #087fbd;

  border: 1px solid rgba(8, 127, 189, 0.16);

  border-radius: 999px;

  font-size: 0.58rem;

  font-weight: 700;

  letter-spacing: 0.12em;
}


/* =========================================================
   ÍCONE PRINCIPAL
========================================================= */

.diferencial-feature-icon {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;

  justify-content: center;

  width: 82px;
  height: 82px;

  margin-top: 25px;

  background:
    linear-gradient(
      145deg,
      #e7f6fb,
      #d7edf6
    );

  border: 1px solid rgba(8, 127, 189, 0.18);

  border-radius: 22px;

  color: #087fbd;

  box-shadow:
    0 15px 35px rgba(8, 127, 189, 0.08);

  transition:
    transform 0.4s ease;
}


.diferencial-feature-icon svg {
  width: 46px;
  height: 46px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.6;

  stroke-linecap: round;

  stroke-linejoin: round;
}


.diferencial-feature:hover
.diferencial-feature-icon {
  transform:
    scale(1.08)
    rotate(-4deg);
}


/* =========================================================
   CONTEÚDO PRINCIPAL
========================================================= */

.diferencial-feature-content {
  position: relative;

  z-index: 2;

  max-width: 500px;

  margin-top: auto;
}


.diferencial-feature-content > span {
  display: block;

  margin-bottom: 8px;

  color: #087fbd;

  font-size: 0.63rem;

  font-weight: 700;

  letter-spacing: 0.14em;
}


.diferencial-feature-content h3 {
  margin: 0 0 13px;

  color: #183a5c;

  font-size: 2.1rem;

  line-height: 1;

  letter-spacing: -0.035em;
}


.diferencial-feature-content p {
  max-width: 490px;

  margin: 0;

  color: #647b8f;

  font-size: 0.94rem;

  line-height: 1.7;
}


/* =========================================================
   RODAPÉ PRINCIPAL
========================================================= */

.diferencial-feature-footer {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;

  gap: 15px;

  margin-top: 30px;

  color: #087fbd;

  font-size: 0.61rem;

  font-weight: 700;

  letter-spacing: 0.10em;

  text-transform: uppercase;
}


.diferencial-footer-line {
  width: 70px;

  height: 1px;

  background:
    rgba(8, 127, 189, 0.25);
}


/* =========================================================
   MÓDULOS MENORES
========================================================= */

.diferencial-module {
  position: relative;

  display: grid;

  grid-template-columns:
    48px
    64px
    minmax(0, 1fr)
    38px;

  align-items: center;

  gap: 16px;

  padding: 25px;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid rgba(24, 58, 92, 0.09);

  border-radius: 22px;

  box-shadow:
    0 14px 35px rgba(24, 58, 92, 0.055);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}


.diferencial-module::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;
  bottom: 0;

  width: 3px;

  background:
    linear-gradient(
      180deg,
      #0088cc,
      #087fbd
    );

  transform: scaleY(0);

  transition:
    transform 0.35s ease;
}


.diferencial-module:hover {
  transform: translateX(6px);

  border-color:
    rgba(8, 127, 189, 0.23);

  box-shadow:
    0 22px 45px rgba(24, 58, 92, 0.09);
}


.diferencial-module:hover::before {
  transform: scaleY(1);
}


/* =========================================================
   NÚMERO
========================================================= */

.diferencial-module-number {
  align-self: start;

  padding-top: 4px;

  color: #a0b0bb;

  font-size: 0.68rem;

  font-weight: 700;

  letter-spacing: 0.08em;

  transition:
    color 0.3s ease;
}


.diferencial-module:hover
.diferencial-module-number {
  color: #087fbd;
}


/* =========================================================
   ÍCONE
========================================================= */

.diferencial-module-icon {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 64px;
  height: 64px;

  background:
    #eef8fc;

  border: 1px solid rgba(8, 127, 189, 0.13);

  border-radius: 17px;

  color: #087fbd;

  transition:
    transform 0.35s ease,
    background 0.35s ease;
}


.diferencial-module-icon svg {
  width: 36px;
  height: 36px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;

  stroke-linecap: round;

  stroke-linejoin: round;
}


.diferencial-module:hover
.diferencial-module-icon {
  transform:
    scale(1.08)
    rotate(-3deg);

  background:
    #e1f3f9;
}


/* =========================================================
   TEXTO
========================================================= */

.diferencial-module-content {
  min-width: 0;
}


.diferencial-module-content > span {
  display: block;

  margin-bottom: 5px;

  color: #087fbd;

  font-size: 0.57rem;

  font-weight: 700;

  letter-spacing: 0.13em;
}


.diferencial-module-content h3 {
  margin: 0 0 7px;

  color: #183a5c;

  font-size: 1.2rem;

  line-height: 1.2;

  letter-spacing: -0.025em;

  transition:
    color 0.25s ease;
}


.diferencial-module:hover
.diferencial-module-content h3 {
  color: #087fbd;
}


.diferencial-module-content p {
  margin: 0;

  color: #6b8091;

  font-size: 0.78rem;

  line-height: 1.5;
}


/* =========================================================
   SETA
========================================================= */

.diferencial-module-arrow {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 36px;
  height: 36px;

  color: #087fbd;

  border: 1px solid rgba(8, 127, 189, 0.15);

  border-radius: 50%;

  font-size: 1rem;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}


.diferencial-module:hover
.diferencial-module-arrow {
  transform: translate(3px, -3px);

  background: #087fbd;

  color: #ffffff;
}


/* =========================================================
   ÚLTIMO MÓDULO — DESTAQUE
========================================================= */

.diferencial-module-last {
  background:
    linear-gradient(
      105deg,
      #e9f6fb,
      #f8fcfe
    );

  border-color:
    rgba(8, 127, 189, 0.16);
}


.diferencial-module-last
.diferencial-module-icon {
  background:
    #dff3fa;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

  .diferenciais {
    padding: 90px 0;
  }


  .diferenciais-cabecalho {
    grid-template-columns: 1fr;

    gap: 20px;

    margin-bottom: 45px;
  }


  .diferenciais-bento {
    grid-template-columns: 1fr 1fr;

    grid-template-rows: auto auto;
  }


  .diferencial-feature {
    grid-row: span 2;
  }


  .diferencial-module {
    grid-template-columns:
      42px
      60px
      minmax(0, 1fr)
      36px;

    gap: 12px;

    padding: 20px;
  }


  .diferencial-module-icon {
    width: 60px;
    height: 60px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .diferenciais {
    padding: 75px 0;
  }


  .diferenciais-cabecalho {
    margin-bottom: 35px;
  }


  .diferenciais-cabecalho h2 {
    font-size: clamp(
      2rem,
      9vw,
      3rem
    );
  }


  .diferenciais-bento {
    display: flex;

    flex-direction: column;

    gap: 12px;
  }


  .diferencial-feature {
    min-height: 470px;

    padding: 27px;

    border-radius: 22px;
  }


  .diferencial-big-number {
    font-size: 4rem;
  }


  .diferencial-feature-icon {
    width: 72px;
    height: 72px;
  }


  .diferencial-feature-content h3 {
    font-size: 1.8rem;
  }


  .diferencial-feature-content p {
    font-size: 0.88rem;
  }


  .diferencial-module {
    display: grid;

    grid-template-columns:
      42px
      62px
      minmax(0, 1fr);

    min-height: 150px;

    padding: 20px;

    border-radius: 18px;
  }


  .diferencial-module-number {
    grid-column: 1;
    grid-row: 1;
  }


  .diferencial-module-icon {
    grid-column: 2;
    grid-row: 1;

    width: 62px;
    height: 62px;
  }


  .diferencial-module-content {
    grid-column: 1 / -1;
    grid-row: 2;
  }


  .diferencial-module-arrow {
    grid-column: 3;
    grid-row: 1;

    margin-left: auto;
  }

}


/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 400px) {

  .diferencial-feature {
    min-height: 440px;

    padding: 23px;
  }


  .diferencial-feature-content h3 {
    font-size: 1.6rem;
  }


  .diferencial-module {
    min-height: 145px;

    padding: 18px;
  }


  .diferencial-module-icon {
    width: 56px;
    height: 56px;
  }


  .diferencial-module-icon svg {
    width: 32px;
    height: 32px;
  }

}