/* ══════════════════════════════════════════
   FEEDBACK.CSS — Click32 Feedback Landing
   Padrão advertise/about
   ══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #2c3e50;
  --navy-mid: #3b566e;
  --cyan: #00ccff;
  --cyan-dim: #00b7eb;
  --cyan-pale: #e0f8ff;
  --light: #ecf0f1;
  --mid: #34495e;
  --white: #ffffff;
  --radius: 14px;
  --font: 'Plus Jakarta Sans', sans-serif;
  --success: #27ae60;
}

body {
  font-family: var(--font);
  background: var(--light);
  color: var(--navy);
  overflow-x: hidden;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.feedback-hero {
  min-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 50%, #1a7fa8 100%);
  padding: 20px 16px;
}

.feedback-hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
  background: var(--cyan);
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -80px;
  right: -80px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -40px;
  left: -50px;
}

.feedback-hero-header {
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  animation: fadeUp 0.6s ease-out both;
  max-width: 100%;
}

.feedback-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 204, 255, 0.18);
  border: 1px solid rgba(0, 204, 255, 0.35);
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.feedback-hero h1 {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--light);
  margin-bottom: 6px;
}

.feedback-hero h1 .highlight {
  color: var(--cyan);
}

.feedback-hero-header p {
  font-size: 0.85rem;
  font-weight: 400;
  color: #c8e0ec;
  max-width: 100%;
  line-height: 1.5;
}

/* ══════════════════════════════
   FORM WRAP
══════════════════════════════ */
.feedback-form-wrap {
  width: 100%;
  max-width: 480px;
  margin: 50px auto;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
  animation: fadeUp 0.7s 0.1s ease-out both;
}

.feedback-rating-block {
  text-align: center;
  margin-bottom: 14px;
}

.feedback-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  text-align: left;
}

.star-rating {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.star-rating i {
  font-size: 1.4rem;
  color: #ddd;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-rating i:hover,
.star-rating i.hovered {
  color: #ffc107;
  transform: scale(1.1);
}

.star-rating i.selected {
  color: #ffc107;
}

.feedback-field {
  margin-bottom: 13px;
}

.feedback-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.category-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 8px;
  background: var(--light);
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mid);
}

.category-btn:hover {
  border-color: var(--cyan);
  background: var(--cyan-pale);
}

.category-btn.active {
  border-color: var(--cyan);
  background: var(--cyan-pale);
  color: var(--navy);
}

.category-btn i {
  font-size: 1rem;
  color: var(--cyan-dim);
}

.feedback-textarea {
  width: 100%;
  padding: 10px;
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--light);
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  resize: vertical;
  min-height: 90px;
  transition: border-color 0.2s ease;
}

.feedback-textarea:focus {
  outline: none;
  border-color: var(--cyan);
}

.feedback-textarea::placeholder {
  color: #aaa;
  font-size: 0.8rem;
}

.char-count {
  text-align: right;
  font-size: 0.7rem;
  color: var(--mid);
  margin-top: 3px;
}

.feedback-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dim) 100%);
  color: var(--navy);
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 204, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--font);
}

.feedback-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 204, 255, 0.45);
}

.feedback-submit-btn:active {
  transform: translateY(0);
}

/* ══════════════════════════════
   SUCCESS STATE
══════════════════════════════ */
.feedback-success {
  display: none;
  text-align: center;
  padding: 32px 18px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  margin: 0 auto;
  animation: fadeUp 0.5s ease-out both;
  position: relative;
  z-index: 1;
}

.feedback-success.visible {
  display: block;
}

.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  background: var(--cyan-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon i {
  font-size: 2rem;
  color: var(--success);
}

.feedback-success h3 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}

.feedback-success p {
  font-size: 0.85rem;
  color: var(--mid);
  margin-bottom: 16px;
}

.feedback-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 30px;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: var(--font);
}

.feedback-back-btn:hover {
  background: var(--navy-mid);
}

/* ══════════════════════════════
   INFO SECTION (SEGUNDA TELA)
══════════════════════════════ */
.feedback-info-section {
  display: flex;
  flex-direction: column;
  padding: 32px 16px;
  background: var(--light);
}

.feedback-info-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex: 1;
}

.feedback-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  max-width: 500px;
}

.info-card {
  padding: 12px 14px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  text-align: center;
}

.info-card i {
  font-size: 1.4rem;
  color: var(--cyan-dim);
  margin-bottom: 4px;
  display: block;
}

.info-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.info-card p {
  font-size: 0.75rem;
  color: var(--mid);
  line-height: 1.3;
}

/* ── CONNECT CTA ── */
.connect-section {
    padding: 64px 20px;
    background: linear-gradient(135deg, var(--navy) 0%, #1a7fa8 100%);
    text-align: center;
}

.connect-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.connect-text h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.2;
}

.connect-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

.connect-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 400px;
}

.connect-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--white);
    transition: background 0.2s, transform 0.2s;
}

.connect-link:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.connect-link i {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.connect-link.whatsapp i { color: #25D366; }
.connect-link.instagram i { color: #f58529; }
.connect-link.email i { color: var(--cyan); }

.link-title {
    font-size: 0.95rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.link-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    display: block;
}


/* ══════════════════════════════
   ANIMATIONS
══════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════
   RESPONSIVE 480px+
══════════════════════════════ */
@media (min-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .feedback-hero {
    padding: 24px 20px 32px;
  }

  .feedback-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
    margin-bottom: 10px;
  }

  .feedback-hero h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .feedback-hero-header p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .feedback-form-wrap {
    padding: 22px 20px;
    max-width: 520px;
  }

  .feedback-label {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }

  .feedback-rating-block {
    margin-bottom: 18px;
  }

  .star-rating i {
    font-size: 1.6rem;
    gap: 6px;
  }

  .feedback-field {
    margin-bottom: 16px;
  }

  .feedback-category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .category-btn {
    padding: 12px 10px;
    font-size: 0.8rem;
  }

  .category-btn i {
    font-size: 1.1rem;
  }

  .feedback-textarea {
    padding: 12px;
    font-size: 0.88rem;
    min-height: 110px;
  }

  .feedback-submit-btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .feedback-success {
    padding: 40px 20px;
  }

  .success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
  }

  .success-icon i {
    font-size: 2.2rem;
  }

  .feedback-success h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .feedback-success p {
    font-size: 0.92rem;
    margin-bottom: 20px;
  }

  .feedback-info-section {
    padding: 40px 20px;
  }

  .feedback-info-section .container {
    gap: 40px;
  }

  .feedback-info-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 100%;
  }

  .info-card {
    padding: 14px 16px;
  }

  .info-card i {
    font-size: 1.6rem;
    margin-bottom: 6px;
  }

  .info-card h4 {
    font-size: 0.88rem;
    margin-bottom: 3px;
  }

  .info-card p {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .feedback-cta-footer h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
  }

  .feedback-cta-cards {
    max-width: 440px;
    gap: 12px;
  }

  .feedback-cta-card {
    padding: 14px 16px;
    gap: 14px;
  }

  .feedback-cta-card i {
    font-size: 1.5rem;
  }

  .feedback-cta-card span {
    font-size: 0.85rem;
  }

  .feedback-cta-card small {
    font-size: 0.73rem;
  }
}

/* ══════════════════════════════
   RESPONSIVE 768px+
══════════════════════════════ */
@media (min-width: 768px) {
  .feedback-hero {
    padding: 32px 24px 40px;
  }

  .feedback-hero h1 {
    font-size: 2.2rem;
  }

  .feedback-hero-header p {
    font-size: 1rem;
  }

  .feedback-form-wrap {
    padding: 28px 24px;
    max-width: 540px;
  }

  .feedback-cta-cards {
    flex-direction: row;
    justify-content: center;
    max-width: 100%;
  }

  .feedback-cta-card {
    flex: 1;
    min-width: 160px;
    max-width: 220px;
  }
}