/* =========================================================
   HOME
========================================================= */

/* =========================================================
   HERO CAROUSEL
========================================================= */

.hero-carousel {
  position: relative;
  text-align: right;
  height: 100vh;
  overflow: hidden;
}

/* CONTAINER */
.carousel-container {
  position: relative;
  height: 100%;
}

/* SLIDES */
.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 80px;
  padding-top: 100px;

  opacity: 0;
  visibility: hidden;
  transition: all 0.6s ease-in-out;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: opacity, transform;
}

/* SLIDE ATIVO */
.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

/* IMAGENS */
.slide-1 {
  background-image: url("../imgs/hero1.webp");
}

.slide-2 {
  background-image: url("../imgs/hero2.webp");
}

.slide-3 {
  background-image: url("../imgs/hero3.webp");
}

/* OVERLAY (escurece imagem) */
.carousel-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* CONTEÚDO */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 500px;
  padding: 0 20px;
  color: white;
}

/* TÍTULO (escopo: não redefinir .title-elegant global usado em outras páginas) */
.hero-content .title-elegant {
  font-size: clamp(28px, 5vw, 42px);
  margin-bottom: 20px;
}

.services h2,
.header-planos h2 {
  font-size: clamp(26px, 4vw, 42px);
}

.services,
.planos,
.produtos,
.maternal-showcase {
  padding: clamp(60px, 8vw, 100px) 5%;
}

.hero-content .title-elegant span {
  display: block;
}

.hero-content .title-elegant em {
  color: #cfb1d1;
  font-style: normal;
}

/* TEXTO */
.subtitle {
  font-size: clamp(14px, 2.5vw, 18px);
  margin-bottom: 15px;
  color: #ffffff;
}

.author {
  font-size: 14px;
  margin-bottom: 30px;
  color: #ddd;
}

/* BOTÕES */
.buttons {
  display: flex;
  justify-content: left;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.primary {
  background: #cfb1d1;
  color: white;
}

.secondary {
  border: 1px solid white;
  color: white;
}

.btn:hover {
  transform: translateY(-3px);
}

/* INDICADORES */
.carousel-indicators {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.indicator.active {
  background: white;
}

/* SETAS */
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
}

.carousel-prev {
  left: 20px;
}
.carousel-next {
  right: 20px;
}

.cards-produtos,
.showcase-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .hero-content .title-elegant {
    font-size: 40px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    text-align: center;
  }

  .subtitle {
    font-size: 15px;
    color: #ffffff;
  }

  .buttons {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
  }

  .carousel-prev,
  .carousel-next {
    width: 35px;
    height: 35px;
  }

  .carousel-slide {
    justify-content: center;
    padding: 120px 20px 40px 20px;
    text-align: center;
  }

  .planos .cards {
    grid-template-columns: 1fr;
  }

  .planos .card {
    width: 100%;
    max-width: 100%;
  }

  .card {
    max-width: 100%;
  }
}

/* =========================================================
   INDICADORES/STATS
========================================================= */

.stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #dbdcd2;
  padding: 18px 20px;
  text-align: center;
}

.stat h2 {
  font-size: 48px;
  color: #6b7d4f;
  margin: 0;
  font-weight: bold;
  position: relative;
}

/* adiciona o "+ de" antes do número */
.stat h2::before {
  content: "+ de ";
  font-weight: normal;
}

.stat p {
  font-size: 20px;
  color: #555;
  margin-top: 8px;
}

/* Responsivo */
@media (max-width: 768px) {
  .stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat h2 {
    font-size: 36px;
  }
}

/* =========================================================
   SERVICES
========================================================= */

.services .cards-service {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;

  max-width: 1200px;
  margin: 0 auto;

  align-items: stretch; /* 🔥 garante mesma altura */
}

.services .section-tag,
.services h2 {
  text-align: center;
}

.services .section-tag {
  display: block;
  text-align: center;
}

.card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Modal */

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background: white;
  margin: 10% auto;
  padding: 20px;
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
}

.close {
  float: right;
  font-size: 28px;
  cursor: pointer;
}

/* Texto pequeno superior da seção */
.section-tag {
  text-align: center;
  font-size: 13px;
  letter-spacing: 3px;
  color: #cfb1d1;
}

/* Título da seção */
.services h2 {
  font-size: 42px;
  font-weight: 500;
  color: #7a7a7a;
  line-height: 1.3;
  padding-bottom: 30px;
  padding-top: 10px;
}

/* Destaque no título */
.services h2 em {
  color: #7a7a7a;
  font-style: normal;
}

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  justify-content: center;
}

/* Classe ativada via JS para animação de entrada */
.card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Sombra ao passar o mouse */
.card:hover {
  box-shadow: 0 20px 40px rgba(207, 177, 209, 0.25);
}

/* Ícone antigo (não está sendo usado atualmente) */
.icon {
  font-size: 30px;
  margin-bottom: 20px;
  color: #cfb1d1;
}

/* =========================================================
   Planos
========================================================= */

body {
  margin: 0;
}

.plans {
  background-color: #eadaea; /* fundo lilás */
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.card {
  background-color: #e9e9e6;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.icon {
  font-size: 40px;
  color: #b7b277; /* tom dourado/oliva */
  margin-bottom: 15px;
}

.card h2 {
  color: #8e3a8c; /* roxo */
  font-size: 36px;
  margin-bottom: 15px;
}

.card p {
  color: #555;
  font-size: 18px;
  line-height: 1.6;
  margin: 8px 0;
}

/* Responsivo */
@media (max-width: 768px) {
  .plans {
    gap: 30px;
  }

  .card {
    justify-content: center;
    max-width: 100%;
  }

  .services {
    justify-content: center;
    align-items: stretch;
  }

  .services .section-tag {
    display: block;
    text-align: center;
    width: 100%;
  }

  .services h2 {
    text-align: center;
  }

  .card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
  }

  .cards-service {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   FORMULÁRIO DE CONTATO
========================================================= */

form {
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}

.step {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.step.active {
  display: flex;
}

input,
select,
button {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

label {
  font-size: 14px;
}

button {
  background: #b59ac9;
  color: white;
  border: none;
  cursor: pointer;
}

/* =========================================================
   CTA
========================================================= */

.cta {
  background: #eadaea;
  padding: 80px 20px;
  text-align: center;
}

/* TÍTULO */
.cta h2 {
  font-size: 32px;
  color: #7a7a7a;
  margin-bottom: 20px;
}

/* TEXTO */
.cta p {
  font-size: 16px;
  color: #7a7a7a;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* BOTÃO */
.cta-btn {
  display: inline-block;
  background: white;
  color: #7a7a7a;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s ease;
}

/* HOVER */
.cta-btn:hover {
  background: #b894ba;
  transform: translateY(-2px);
}

/* =========================================================
   COMPONENTES COMPLEMENTARES
========================================================= */

/* Wrapper dos ícones SVG */
.icon-wrapper {
  width: 70px;
  height: 70px;
  background: #e7d0e6;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
}

/* Estilização do SVG */
.icon-wrapper svg {
  width: 28px;
  height: 28px;
  stroke: #cfb1d1;
  stroke-width: 1.8;
  fill: none;
}

/* Segunda definição do card (efeito glass) */
.card {
  background: #ffffffcc;
  backdrop-filter: blur(4px);
  border: 1px solid #e7d0e6;
}

/* =========================================================
   INDICADOR DE SCROLL
========================================================= */

.scroll {
  margin-top: 80px;
  display: flex;
  justify-content: center;
}

/* Animação da seta */
.arrow {
  font-size: 26px;
  opacity: 0.6;
  animation: bounceArrow 2s infinite;
}

/* Animação suave e orgânica */
@keyframes bounceArrow {
  0% {
    transform: translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateY(12px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }
}

/* =====================================
   DIFERENÇA: LOCAÇÃO x ALUGUEL
===================================== 

.difference {
  padding: 120px 8%;
  text-align: center;
  background: #fff8f6;
}

.difference h2 {
  font-family: 'Cheri', cursive;
  font-size: 42px;
  margin: 20px 0 60px;
  color: #4a4a4a;
}

.difference h2 em {
  color: #cfb1d1;
  font-style: normal;
}

.difference-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.difference-box {
  background: white;
  padding: 40px;
  border-radius: 25px;
  border: 1px solid #e7d0e6;
  transition: 0.3s;
}

.difference-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(207,177,209,0.2);
}

.difference-box h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #cfb1d1;
}

.difference-note {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(120deg, #e7d0e6, #f6f4d8);
  padding: 30px;
  border-radius: 25px;
  font-size: 15px;
} */

/* VITRINE MATERNA */

.maternal-showcase {
  padding: 100px 10%;
  background: #f7f3f2;
  text-align: center;
}

.maternal-showcase h2 {
  margin: 20px 0 60px;
  font-size: 32px;
  color: #7a7a7a;
}

.maternal-showcase h2 em {
  font-style: normal;
  color: #c79a94;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.showcase-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.showcase-card:hover {
  transform: translateY(-6px);
}

.showcase-card img {
  width: 100%;
  height: clamp(180px, 25vw, 220px);
  object-fit: cover;
}

.showcase-text {
  padding: 25px;
  text-align: left;
}

.showcase-text h3 {
  margin-bottom: 10px;
  color: #5a4e4a;
}

.showcase-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #6f6462;
}

/* LOCAÇÃO DE EQUIPAMENTOS */

.planos {
  padding: 100px 8%;
  background: #f8f6fb;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center; /* centraliza tudo dentro */
}

.planos .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  justify-content: center;
  gap: 30px;
  width: 100%;
  max-width: 1000px;
  margin-bottom: 50px;
}

.header-planos {
  text-align: center;
  margin-bottom: 70px;
}

/* subtítulo pequeno */
.header-planos .tag {
  display: block;
  font-size: 12px;
  letter-spacing: 3px;
  color: #b59ac9;
  margin-bottom: 15px;
}

/* título principal */
.header-planos h2 {
  font-size: 42px;
  font-weight: 500;
  color: #7a7a7a;
  line-height: 1.3;
}

/* palavra destacada */
.header-planos sp span {
  color: #b59ac9;
  font-weight: 600;
}

/* HEADER */
.header-planos {
  margin-bottom: 60px;
}

.header-planos p {
  color: #666;
  font-size: 16px;
}

/* CARD */
.card-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #eee;
  overflow: hidden;
  transition: 0.4s;
  position: relative;

  opacity: 0;
  transform: translateY(40px);
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* TOPO */
.top {
  height: 80px;
  background: #eadcf5;
}

.card.destaque .top {
  background: #d6c3e6;
}

.card.hospital .top {
  background: #e9e7d8;
}

/* CONTEÚDO */
.content {
  padding: 25px;
  text-align: left;
}

.content h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.subtitle {
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 15px;
}

/* PREÇO */
.price {
  font-size: 22px;
  font-weight: 600;
  color: #9b6cc3;
  margin-bottom: 15px;
}

.price span {
  font-size: 13px;
  color: #888;
}

/* LISTA */
ul {
  list-style: none;
}

ul li {
  font-size: 13px;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  color: #555;
}

ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #9b6cc3;
  font-size: 12px;
}

/* BADGE */
.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #bda3d6;
  color: white;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 15px;
}

/* BOTÃO */
.btn-cta {
  display: inline-block;
  padding: 14px 35px;
  background: #b59ac9;
  color: white;
  border-radius: 40px;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
}

.btn-cta:hover {
  background: #9c7fb8;
  transform: scale(1.05);
}

/* GRID */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

/* CARD */
.card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: 0.4s;
  position: relative;

  opacity: 0;
  transform: translateY(40px);
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* IMAGEM */
.card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(200px, 30vw, 280px);
  background: #f8f6fb;
}

.card-image img {
  max-width: 80%;
  height: auto;
  object-fit: contain;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

/* BADGE */
.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #bda3d6;
  color: white;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 20px;
  z-index: 2;
}

/* CONTEÚDO */
.content {
  padding: 25px;
}

.content h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.subtitle {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 15px;
}

/* PREÇO */
.price {
  font-size: 22px;
  font-weight: 600;
  color: #9b6cc3;
  margin-bottom: 15px;
}

.price span {
  font-size: 13px;
  color: #888;
}

/* LISTA */
.content ul {
  list-style: none;
  margin-bottom: 20px;
}

.content ul li {
  font-size: 13px;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.content ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #9b6cc3;
}

.btn-card:hover {
  background: #9c7fb8;
  transform: scale(1.05);
}

/* COMPRAR */
/* SEÇÃO */
.produtos {
  padding: 100px 8%;
  background: #f8f6fb;
  text-align: center;
}

/* GRID */
.cards-produtos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 50px 30px;
}

/* CARD */
.produto-card {
  background: #ffffffcc;
  backdrop-filter: blur(6px);
  border: 1px solid #e7d0e6;
  border-radius: 25px;
  overflow: hidden;
  transition: 0.4s;
}

.produto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(207, 177, 209, 0.2);
}

/* IMAGEM */
.produto-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f1f8;
  padding: 20px;
  overflow: hidden; /* impede de estourar */
}

.produto-img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* mantém proporção e centraliza */
}

.produto-card:hover img {
  transform: scale(1.08);
}

/* CONTEÚDO */
.produto-content {
  padding: 25px;
  text-align: left;
}

.produto-content h3 {
  margin-bottom: 10px;
  color: #4a4a4a;
}

.produto-content p {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

/* FOOTER */
.produto-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* PREÇO */
.preco {
  font-size: 18px;
  font-weight: 600;
  color: #b59ac9;
}

/* BOTÃO */
.btn-comprar {
  background: #b59ac9;
  color: #3e3e3e;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.3s;
}

.btn-comprar:hover {
  background: #b59ac9;
  color: white;
}

@media (max-width: 480px) {
  .stat h2 {
    font-size: 28px;
  }

  .stat p {
    font-size: 16px;
  }

  .btn,
  .btn-cta,
  .btn-comprar {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
