/* =============================================
   BASE
   ============================================= */
html {
  scroll-behavior: smooth;
}

::selection {
  background-color: #C96F4A;
  color: #FAF6F1;
}

/* =============================================
   CTA — botão pílula sólido
   ============================================= */
.btn-cta {
  display: inline-block;
  background-color: #25D366;
  color: #FAF6F1;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95rem 2.4rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-cta:hover,
.btn-cta:focus-visible {
  background-color: #1EBE5A;
  transform: translateY(-1px);
}

.btn-cta:focus-visible {
  outline: 2px solid #24413D;
  outline-offset: 3px;
}

/* CTA — invertido (fundo claro sobre bloco escuro) */
.btn-cta-invert {
  display: inline-block;
  background-color: #FAF6F1;
  color: #24413D;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95rem 2.4rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-cta-invert:hover,
.btn-cta-invert:focus-visible {
  background-color: #ffffff;
  transform: translateY(-1px);
}

.btn-cta-invert:focus-visible {
  outline: 2px solid #FAF6F1;
  outline-offset: 3px;
}

/* =============================================
   "QUANDO PROCURAR" — cards com ícone e profundidade
   ============================================= */
.quando-card {
  background-color: #FAF6F1;
  border-radius: 1.1rem;
  padding: 1.75rem;
  box-shadow: 0 2px 10px rgba(36, 65, 61, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.quando-card:hover {
  box-shadow: 0 14px 30px rgba(36, 65, 61, 0.12);
  transform: translateY(-3px);
}

.quando-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 999px;
  background-color: rgba(201, 111, 74, 0.12);
  color: #C96F4A;
  margin-bottom: 1rem;
}

.quando-icon svg {
  height: 1.35rem;
  width: 1.35rem;
}

/* =============================================
   MODALIDADES — cards visuais (imagem + bloco colorido)
   ============================================= */
.modalidade-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(36, 65, 61, 0.10);
}

.modalidade-image {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  border-radius: 1.5rem 1.5rem 0 0;
  overflow: hidden;
  background-color: #C96F4A;
}

.modalidade-image--secondary {
  background-color: #24413D;
}

.modalidade-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 999px;
  background-color: #FAF6F1;
  color: #24413D;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.modalidade-badge svg {
  height: 1.15rem;
  width: 1.15rem;
}

.modalidade-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.75rem 1.75rem;
  border-radius: 0 0 1.5rem 1.5rem;
}

.modalidade-info ul {
  margin-bottom: 1.5rem;
}

.modalidade-btn {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #FAF6F1;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.modalidade-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

/* =============================================
   DEPOIMENTOS
   ============================================= */
.testimonial-card {
  background-color: #FAF6F1;
  border-radius: 1.1rem;
  padding: 1.75rem;
  box-shadow: 0 2px 10px rgba(36, 65, 61, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.testimonial-card:hover {
  box-shadow: 0 14px 30px rgba(36, 65, 61, 0.12);
  transform: translateY(-3px);
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  color: #C96F4A;
  margin-bottom: 0.9rem;
}

.testimonial-stars svg {
  height: 1rem;
  width: 1rem;
}

.testimonial-name {
  margin-top: 1.1rem;
  font-weight: 600;
  color: #24413D;
}

/* =============================================
   FAQ — accordion nativo (details/summary)
   ============================================= */
.faq-item {
  background-color: #ffffff;
  border-radius: 1.25rem;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 2px 10px rgba(36, 65, 61, 0.05);
  transition: box-shadow 0.25s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 24px rgba(36, 65, 61, 0.08);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: #24413D;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
  border-radius: 999px;
  background-color: rgba(36, 65, 61, 0.06);
  color: #24413D;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background-color: rgba(201, 111, 74, 0.12);
  color: #C96F4A;
}

.faq-item p {
  margin-top: 0.9rem;
  color: rgba(43, 43, 40, 0.72);
  line-height: 1.65;
  max-width: 60ch;
}

/* =============================================
   WHATSAPP FLUTUANTE
   ============================================= */
@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.45;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  display: block;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(36, 65, 61, 0.35);
  transition: transform 0.2s ease;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  animation: whatsapp-pulse 2.5s ease-out infinite;
}

.whatsapp-float img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.05);
}

.whatsapp-float:hover::before {
  animation-play-state: paused;
}

@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    width: 3.25rem;
    height: 3.25rem;
  }
}
