.condominio-section {
  background: #f9fafc;
  padding: 56px 16px 96px;
  border-radius: var(--radius);
  margin-bottom: 36px;
}

.servicos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 36px;
}

.servico-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08), 0 2px 6px rgba(123,47,242,0.08);
  width: min(320px, 96vw);
  min-height: 260px;
  padding: 28px 24px 22px;
  transition: box-shadow 0.4s var(--easing), transform 0.4s var(--easing);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
}

.servico-icon {
  font-size: 2.2rem;
  color: var(--cor-site-2);
  margin-bottom: 12px;
  margin-top: 2px;
}

.servico-card h3 {
  font-size: 1.25rem;
  color: #222;
  font-weight: 700;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
}

.servico-card ul {
  padding-left: 0px;
  margin: 0;
  color: #444;
  font-size: 1.07rem;
  line-height: 1.5;
}

.servico-card ul li {
  margin-bottom: 6px;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--cor-site-2) 60%, #F25F47 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.11rem;
  padding: 12px 28px;
  border-radius: 99px;
  box-shadow: 0 2px 12px rgba(123,47,242,.14);
  margin-top: 18px;
  text-decoration: none;
  transition: background 0.3s, box-shadow 0.3s;
}
.cta-btn:hover {
  background: linear-gradient(90deg, #F25F47 60%, var(--cor-site-2) 100%);
   color: #fff;
  box-shadow: 0 4px 20px rgba(123,47,242,.22);
}

.cabecalho-secao__descricao-sm {
  font-size: 1rem;
  color: #777;
  margin-top: 4px;
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .servicos-grid {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .servico-card {
    width: 100%;
    min-width: 0;
    padding: 22px 12px 18px;
    font-size: 1rem;
  }
}

:root {
  --page: #f3f4f5;
  --ink: #0b0b0c;
  --radius: 12px;
  --w: 240px;
  --wHighlight: 420px;
  --h: 440px;
  --gap: 24px;
  --easing: cubic-bezier(0.4, 0.8, 0.2, 1);
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
}
.wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 16px;
  background: #f9fafc;
}
.slider {
  width: min(1200px, 100%);
  margin-inline: auto;
}
.stage {
  display: flex;
  gap: var(--gap);
  justify-content: center;
  align-items: flex-end;
  min-height: var(--h);
  margin-bottom: 0px;
  position: relative;
}
.card {
  color: #fff;
  border-radius: var(--radius);
  width: var(--w);
  height: var(--h);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16), 0 6px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.9s var(--easing), transform 0.9s var(--easing),
    filter 0.9s var(--easing), width 0.9s var(--easing);
  z-index: 1;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.4s;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.card .title {
  display: none;
}

.card.highlight .title {
  display: block;
  position: relative;
  z-index: 2;
  padding: 28px 34px 48px;
  font-weight: 900;
  font-size: clamp(1.2rem, 2.5vw, 2.2rem);
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.52);
}

.card.highlight {
  width: var(--wHighlight);
  box-shadow: 0 4px 20px rgb(242 47 47 / 22%), 0 10px 18px rgba(0, 0, 0, 0.08);
  z-index: 3;
  filter: brightness(1.09);
}

.card:not(.highlight) {
  filter: grayscale(0.09) brightness(0.93);
  opacity: 0.93;
  transform: scale(1) translateY(0);
  z-index: 1;
}
.card:not(.highlight) .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* Ajuste a opacidade conforme desejar */
  pointer-events: none; /* Para não bloquear clique nos cards */
  border-radius: 10px; /* Se o card tiver borda arredondada */
  z-index: 2;
}

/* Informações abaixo do card */
.card-info-row {
  display: flex;
  gap: var(--gap);
  justify-content: center;
  margin-top: 18px;
  height: 100px; /* Troque 90px pelo valor que acomodar o maior texto sem pulo */
}

.card-info {
  width: var(--w); /* largura padrão */
  min-height: 70px;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transition: width 0.9s var(--easing), opacity 0.4s;
  pointer-events: none;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: normal;
  text-align: start;
  hyphens: auto;
}

.card-info.active {
  width: var(--wHighlight);
  font-size: 1.19rem;
  font-weight: 600;
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.card-info.active > span {
  opacity: 0;
  transition: opacity 0.4s 0.9s; /* 0.9s de delay, só aparece após width expandir */
  display: block;
}

.card-info.active.show-text > span {
  opacity: 1;
}

.bullets {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cfcfd6;
  border: 0;
  cursor: pointer;
}
.dot[aria-current="true"] {
  background: var(--cor-site-2);
}

@media (max-width: 600px) {
  :root {
    --w: 90vw;
    --wHighlight: 98vw;
    --h: 260px;
    --gap: 1vw;
  }
  .slider {
    max-width: 100vw;
    overflow-x: hidden;
    padding: 0;
  }
  .stage {
    width: 100vw;
    max-width: 100vw;
    overflow-x: auto;
    padding: 0;
  }
  .card {
    min-width: var(--w);
    max-width: var(--w);
    width: var(--w);
  }
  .card.highlight {
    min-width: var(--wHighlight);
    max-width: var(--wHighlight);
    width: var(--wHighlight);
  }
  .card-info-row {
    gap: 1vw;
  }
  .card-info {
    width: var(--w);
    padding: 0 2vw;
  }
  .card-info.active {
    width: var(--wHighlight);
  }
}

.cabecalho-secao {
  margin-bottom: 36px;
  padding-bottom: 8px;
}

.cabecalho-secao__titulo {
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.1;
  letter-spacing: -1px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cabecalho-secao__titulo-principal {
  display: block;
  color: var(--cor-site-2); /* Combinando com destaque das bullets */
}

.cabecalho-secao__titulo-sublinhado {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: #444;
  border-bottom: 2px solid var(--cor-site-2);
  padding-bottom: 3px;
  margin-top: 4px;
  letter-spacing: 0.5px;
      width: max-content;
}

.cabecalho-secao__descricao {
  color: #555;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 12px;
  margin-bottom: 0;
  line-height: 1.4;
}
