/* =========================================================
   Nídia Pet Care — estilos personalizados
   Complementa o Tailwind CSS (CDN). Paleta:
   laranja-pastel #F5A362 · azul-celeste #5FBCE0 · cinzento neutro
   ========================================================= */

/* ---------- Hero ---------- */
.hero-gradient {
  background:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(95, 188, 224, 0.14), transparent),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(245, 163, 98, 0.16), transparent),
    linear-gradient(180deg, #fff8f2 0%, #fafaf9 100%);
}

/* ---------- Trust badges ---------- */
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

/* ---------- Cards de serviço ---------- */
.service-card {
  background: #ffffff;
  border: 1px solid #e4e4e1;
  border-radius: 1.5rem;
  padding: 1.75rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(43, 43, 40, 0.15);
}

.service-card .service-cta {
  margin-top: auto;
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: 2px solid #f5a362;
  color: #d96f22;
  font-weight: 800;
  font-size: 0.875rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.service-card .service-cta:hover {
  background: #f08a3c;
  color: #ffffff;
}

/* ---------- Como funciona (passos) ---------- */
.step-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e4e4e1;
  border-radius: 1.5rem;
  padding: 2.5rem 1.5rem 1.75rem;
  text-align: center;
}

.step-number {
  position: absolute;
  top: -1.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 9999px;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(43, 43, 40, 0.15);
}

/* Linha de ligação entre passos (desktop) */
@media (min-width: 768px) {
  .steps-grid::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 12%;
    right: 12%;
    border-top: 3px dashed #bce4f4;
    z-index: 0;
  }
  .step-card { z-index: 1; }
}

/* ---------- FAQ accordion ---------- */
.faq-item {
  background: #ffffff;
  border: 1px solid #e4e4e1;
  border-radius: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  text-align: left;
  font-weight: 700;
  color: #2b2b28;
  cursor: pointer;
  transition: background 0.15s ease;
}

.faq-question:hover { background: #fff8f2; }

.faq-chevron {
  flex-shrink: 0;
  color: #f08a3c;
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.925rem;
  color: #54544f;
  line-height: 1.65;
}

.faq-item.open .faq-answer { max-height: 400px; }

/* ---------- Acessibilidade / detalhes ---------- */
:focus-visible {
  outline: 3px solid #5fbce0;
  outline-offset: 2px;
  border-radius: 0.375rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
