/* ========== COMPONENTS ==========
   Cards, carrossel, botões especiais, etc.
*/

/* CARD */
.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-body {
  padding: 1rem;
}
.card-body h3 {
  margin-bottom: 0.4rem;
}

/* TEAM */
.team-card img {
  height: 260px;
}

/* TESTIMONIALS */
.section-testimonials {
  background: rgba(255, 255, 255, 0.03);
}
.testimonials {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: 40px 1fr 40px;
  gap: 1rem;
}
.ts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  scroll-behavior: smooth;
}
.ts-item {
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}
.ts-item blockquote {
  margin: 0;
}
.ts-item footer {
  margin-top: 0.6rem;
  color: var(--color-gold);
  font-weight: 600;
}

.ts-nav {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}
.ts-nav:hover {
  background: rgba(255, 255, 255, 0.09);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: var(--shadow);
  z-index: 60;
}

/* SECTION SURFACES */
.section-services {
  background: rgba(255, 255, 255, 0.02);
}
.section-team {
  background: transparent;
}
.section-map {
  background: rgba(255, 255, 255, 0.02);
}
.section-contact {
  background: transparent;
}

/* --- Carrossel de mídia (vídeo + foto) --- */
.media-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
}

.media-item {
  flex: 0 0 auto;
  width: clamp(220px, 28vw, 340px);
  aspect-ratio: 9 / 16; /* ótimo para Reels */
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.media-item .media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  color: #fff;
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
}
