/* ===== Estilos próprios (carrossel, vídeo, formulário, contato) =====
   Reaproveita os tokens de cor do tema: var(--primary) = #00bad2 etc. */

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

/* ---------- Carrossel ---------- */
.carousel { position: relative; max-width: 64rem; margin: 0 auto; }
.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px -18px rgba(5, 12, 16, .25);
  background: var(--card);
}
.carousel-track { display: flex; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.carousel-slide { min-width: 100%; position: relative; }
.carousel-slide img {
  width: 100%; display: block; aspect-ratio: 2.1 / 1; object-fit: cover;
}
.carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1.5rem 1.1rem; color: #fff; font-weight: 500; font-size: .95rem;
  background: linear-gradient(to top, rgba(5, 12, 16, .82), rgba(5, 12, 16, 0));
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.75rem; height: 2.75rem; border-radius: 9999px;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: var(--foreground); box-shadow: 0 2px 10px rgba(5, 12, 16, .15);
  transition: background .2s, transform .2s;
}
.carousel-btn:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.carousel-btn.prev { left: .75rem; }
.carousel-btn.next { right: .75rem; }
.carousel-dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1.1rem; }
.carousel-dots button {
  width: .55rem; height: .55rem; border-radius: 9999px; border: none;
  background: var(--border); cursor: pointer; padding: 0;
  transition: background .25s, width .25s;
}
.carousel-dots button.active { background: var(--primary); width: 1.6rem; }

/* ---------- Vídeo (embed responsivo 16:9) ---------- */
.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  box-shadow: 0 18px 40px -18px rgba(5, 12, 16, .28); background: #000;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Formulário de contato ---------- */
.contact-form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: .8rem; font-weight: 500; color: var(--foreground); margin-bottom: .35rem; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--border); border-radius: .5rem;
  padding: .65rem .8rem; font-size: .9rem; font-family: inherit;
  background: var(--card); color: var(--foreground); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 186, 210, .22);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-status { font-size: .875rem; min-height: 1.25rem; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #b91c1c; }

/* ---------- Botão flutuante do WhatsApp ---------- */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  width: 3.5rem; height: 3.5rem; border-radius: 9999px; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
