/* ══════════════════════════════════════════════
   SERVIÇOS —
   Fundo da seção definido em 21-vida.css (ritmo de cor
   global, carregado por último — não redeclarar aqui).
══════════════════════════════════════════════ */

.wave-sobre-servicos {
  margin-top: -1px;
  margin-bottom: -2px;
  overflow: hidden;
  background: var(--white);
  color: var(--menta);
  line-height: 0;
}

.wave-sobre-servicos svg {
  display: block;
  width: 100%;
  height: clamp(40px, 5vw, 72px);
}


.srv-section .section-eyebrow,
.srv-section .section-header h2,
.srv-section .section-sub,
.srv-card {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--easing-expo),
    transform 0.7s var(--easing-expo);
}

.srv-section.is-visible .section-eyebrow,
.srv-section.is-visible .section-header h2,
.srv-section.is-visible .section-sub,
.srv-section.is-visible .srv-card {
  opacity: 1;
  transform: translateY(0);
}

.srv-section .section-eyebrow { transition-delay: 0.05s; }
.srv-section .section-header h2 { transition-delay: 0.1s; }
.srv-section .section-sub { transition-delay: 0.15s; }
.srv-card:nth-child(1) { transition-delay: 0.22s; }
.srv-card:nth-child(2) { transition-delay: 0.28s; }
.srv-card:nth-child(3) { transition-delay: 0.34s; }
@media (prefers-reduced-motion: reduce) {
  .srv-section .section-eyebrow,
  .srv-section .section-header h2,
  .srv-section .section-sub,
  .srv-card {
    transition: none !important;
  }
}


.srv-section {
  padding-bottom: 4rem;
}

.srv-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(330px, auto));
  grid-template-areas:
    "pilates gestantes"
    "pilates fisio";
  gap: 1.1rem;
}

.srv-card {
  position: relative;
  border-radius: 20px;
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.65rem;
  overflow: hidden;
  color: var(--white);
  transition:
    transform 0.35s var(--easing-expo),
    box-shadow 0.35s ease,
    opacity 0.7s var(--easing-expo);
}

.srv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px -20px rgba(var(--verde-profundo-rgb), 0.28);
}

.srv-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  background: rgba(var(--white-rgb), 0.16);
}

.srv-icon [data-lucide],
.srv-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
  color: var(--white);
}

.srv-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.25;
  color: var(--white);
}

.srv-card p {
  font-size: clamp(0.86rem, 1vw, 0.95rem);
  line-height: 1.6;
  color: rgba(var(--white-rgb), 0.85);
  max-width: 38ch;
}

.srv-card p strong {
  color: var(--white);
  font-weight: 700;
}

.srv-card--pilates {
  grid-area: pilates;
  min-height: clamp(460px, 42vw, 560px);
  background-color: var(--terracota-medio);
  background-image: linear-gradient(
      190deg,
      rgba(20, 12, 8, 0.05) 35%,
      rgba(20, 12, 8, 0.85) 100%
    ),
    url("../assets/imagens/pilates-foto.webp");
  background-size: cover;
  background-position: 70% 20%;
  background-repeat: no-repeat;
}

.srv-card--pilates h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
}

.srv-points {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 44ch;
}

.srv-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 1.5;
  color: rgba(var(--white-rgb), 0.92);
}

.srv-points [data-lucide],
.srv-points svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  stroke-width: 2;
  color: var(--sol);
}

.srv-card--gestantes {
  grid-area: gestantes;
  background-color: var(--verde-gestantes-2);
  background-image: linear-gradient(
      190deg,
      rgba(20, 12, 8, 0.05) 20%,
      rgba(20, 12, 8, 0.85) 100%
    ),
    url("../assets/imagens/gestantes-1.webp");
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
}

.srv-card--fisio {
  grid-area: fisio;
  background-color: var(--verde-profundo);
  background-image: linear-gradient(
      190deg,
      rgba(20, 12, 8, 0.05) 20%,
      rgba(20, 12, 8, 0.85) 100%
    ),
    url("../assets/imagens/fisioterapia.webp");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
@media (max-width: 900px) {
  .srv-section {
    padding-bottom: 4.5rem;
  }

  .srv-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "pilates pilates"
      "gestantes fisio";
  }

  .srv-card {
    min-height: 330px;
  }

  .srv-card--pilates {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .srv-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "pilates"
      "gestantes"
      "fisio";
  }

  .srv-card {
    min-height: 380px;
  }

  .srv-card--fisio {
    background-position: 90% 30%;
  }

  .srv-card--pilates {
    min-height: 480px;
    background-image: linear-gradient(
        190deg,
        rgba(20, 12, 8, 0) 25%,
        rgba(20, 12, 8, 0.6) 55%,
        rgba(20, 12, 8, 0.9) 100%
      ),
      url("../assets/imagens/pilates-foto.webp");
    background-position: 80% top;
  }}
