/* ======================= ROOT DESIGN SYSTEM (ARENA STYLE) ======================= */
:root {
  --color-primary: #651d35;
  --color-primary-hover: #a54b4b;
  --color-accent: #ffcc33;
  --color-text: #ffffff;
  --color-dark: #501414;
  --glass-bg: rgba(124, 152, 181, 0.34);
  --glass-border: rgba(255, 255, 255, 0.15);
  --radius-lg: 18px;
  --radius-full: 50%;
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.15);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s ease;
} /* ======================= RESET ======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} 

/* =======================
   BODY
======================= */
/* =======================
   BODY
======================= */
body {
  font-family: Arial, sans-serif;
  background-image: url("../../assets/img/depoimentos/gravx1.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  margin: 0;
}

/* =======================
   BOTÃO VOLTAR
======================= */
.back-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 999;
  background: var(--color-primary);
  color: var(--color-text);
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition-fast);
}

.back-link:hover {
  background: var(--color-primary-hover);
}

/* =======================
   SEÇÃO PRINCIPAL
======================= */
.testimonials {
  display: flex;
  justify-content: center;
  padding: 80px 20px;
}

/* =======================
   WRAPPER
======================= */
.testimonials-wrapper {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: row-reverse;
  gap: 40px;
  align-items: flex-start; /* NÃO stretch */
}

/* =======================
   COLUNAS
======================= */

.carousel-container {
  flex: 1;
  max-width: 900px;
  height: 100%;
  display: flex;
  justify-content: center;
}

.feedback-container {
  flex: 1;
  max-width: 520px;
  display: flex;
}

/* =======================
   CARD BASE
======================= */
.card {
  width: 100%;

  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 20px 20px 60px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
  justify-content: center;
}

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

/* =======================
   FORMULÁRIO
======================= */
.feedback-card {
  padding: 24px;
  justify-content: flex-start;
}

.feedback-header {
  margin-bottom: 25px;
  text-align: center;
}

.feedback-header h2 {
  color: var(--color-text);
  margin-bottom: 6px;
}

.feedback-subtitle {
  font-size: 14px;
  opacity: 0.8;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.required {
  color: #ff6b6b;
}

.photo-info,
.char-info {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 4px;
}

.btn-submit {
  margin-top: 15px;
  padding: 16px;
  border: none;
  border-radius: 40px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-hover)
  );
  color: white;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 10px 30px rgba(101, 29, 53, 0.6);
}

.btn-submit:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(101, 29, 53, 0.8);
}

/* =======================
   CARROSSEL
======================= */
.card-content {
  display: flex;
  gap: 20px;
  align-items: center;
}

.card-content img {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.text-area p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
}

.stars {
  color: var(--color-accent);
  font-size: 20px;
  margin: 10px 0 6px;
}

.client-name {
  font-family: "Great Vibes", cursive;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 20px;
}

/* =======================
   NAVEGAÇÃO
======================= */
.carousel-nav {
  position: absolute;
  bottom: 18px;
  left: 0;
  width: 100%;
  padding: 0 24px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav {
  background: rgba(255, 255, 255, 0.25);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.nav:hover {
  background: rgba(255, 255, 255, 0.45);
}

.dots {
  display: none;
}

/* ======================= RESPONSIVO ======================= */
@media (max-width: 1024px) {
  .testimonials-wrapper {
    flex-direction: column;
    gap: 40px;
  }
  .nav {
    display: none;
  }
  .dots {
    display: flex;
  }
  .card {
    min-height: 500px;
  }
  .card-content {
    flex-direction: column;
    text-align: center;
  }
  .card-content img {
    width: 110px;
    height: 110px;
  }
  .carousel-nav {
    justify-content: center;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .card {
    padding: 22px 18px 55px;
  }
  .card-content img {
    width: 84px;
    height: 84px;
  }
  .text-area p {
    font-size: 13.5px;
  }
}
