/* ========================================
   Fale Conosco – Page-Specific Styles
   ======================================== */

/* Hero */
.cs-hero-faleconosco {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../assets/backgroundssite (7).jpg') center/cover no-repeat;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
}

.cs-hero-faleconosco .cs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,30,0.85) 0%, rgba(10,10,30,0.7) 100%);
  z-index: 1;
}

.cs-hero-faleconosco .cs-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.cs-hero-faleconosco .cs-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.cs-hero-faleconosco .cs-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Section */
.cs-contact-section {
  padding: 5rem 0;
  background: var(--cs-bg, #0a0a14);
}

.cs-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Form Container */
.cs-contact-form-wrap {
  background: var(--cs-card-bg, rgba(255,255,255,0.04));
  border: 1px solid var(--cs-border, rgba(255,255,255,0.08));
  border-radius: 16px;
  padding: 2.5rem;
}

.cs-contact-form-wrap .cs-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.cs-contact-form-wrap .cs-section-subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
}

/* Form Fields */
.cs-form-group {
  margin-bottom: 1.25rem;
}

.cs-form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.4rem;
}

.cs-form-input,
.cs-form-select,
.cs-form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}

.cs-form-input::placeholder,
.cs-form-textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

.cs-form-input:focus,
.cs-form-select:focus,
.cs-form-textarea:focus {
  border-color: var(--cs-accent, #6c5ce7);
  box-shadow: 0 0 0 3px rgba(108,92,231,0.2);
}

.cs-form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.6)' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.cs-form-select option {
  background: #1a1a2e;
  color: #fff;
}

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

/* Checkbox */
.cs-form-checkbox-group {
  margin-top: 0.5rem;
}

.cs-form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.cs-form-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cs-form-checkbox-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  margin-top: 1px;
}

.cs-form-checkbox-label input:checked + .cs-form-checkbox-custom {
  background: var(--cs-accent, #6c5ce7);
  border-color: var(--cs-accent, #6c5ce7);
}

.cs-form-checkbox-label input:checked + .cs-form-checkbox-custom::after {
  content: '';
  width: 6px;
  height: 10px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.cs-form-checkbox-label input:focus-visible + .cs-form-checkbox-custom {
  box-shadow: 0 0 0 3px rgba(108,92,231,0.3);
}

.cs-link {
  color: var(--cs-accent, #6c5ce7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cs-link:hover {
  color: #8577ed;
}

/* Error */
.cs-form-error {
  display: none;
  font-size: 0.82rem;
  color: #ff6b6b;
  margin-top: 0.3rem;
  min-height: 1.2em;
}

.cs-form-error.is-visible {
  display: block;
}

.cs-form-input.cs-has-error,
.cs-form-select.cs-has-error,
.cs-form-textarea.cs-has-error {
  border-color: #ff6b6b;
}

/* Submit Button */
.cs-form-submit {
  width: 100%;
  margin-top: 0.5rem;
  position: relative;
}

.cs-btn-loading {
  display: none;
}

.cs-form-submit.is-loading .cs-btn-text {
  visibility: hidden;
}

.cs-form-submit.is-loading .cs-btn-loading {
  display: block;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Feedback */
.cs-form-feedback {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: 0.92rem;
  display: none;
  line-height: 1.5;
}

.cs-form-feedback.is-visible {
  display: block;
}

.cs-form-feedback.cs-feedback-success {
  background: rgba(46,213,115,0.12);
  border: 1px solid rgba(46,213,115,0.3);
  color: #2ed573;
}

.cs-form-feedback.cs-feedback-error {
  background: rgba(255,107,107,0.12);
  border: 1px solid rgba(255,107,107,0.3);
  color: #ff6b6b;
}

/* Contact Info Column */
.cs-contact-info {
  position: sticky;
  top: 100px;
}

.cs-contact-info .cs-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.cs-contact-info .cs-section-subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
}

/* Info Cards */
.cs-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--cs-card-bg, rgba(255,255,255,0.04));
  border: 1px solid var(--cs-border, rgba(255,255,255,0.08));
  border-radius: 14px;
  margin-bottom: 1rem;
  transition: border-color 0.25s, transform 0.25s;
}

.cs-info-card:hover {
  border-color: rgba(108,92,231,0.3);
  transform: translateY(-2px);
}

.cs-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(108,92,231,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cs-accent, #6c5ce7);
}

.cs-info-icon svg {
  width: 22px;
  height: 22px;
}

.cs-info-content h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.cs-info-content p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.cs-info-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.cs-info-link:hover {
  color: var(--cs-accent, #6c5ce7);
}

/* Highlight Box */
.cs-info-highlight {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(108,92,231,0.1), rgba(108,92,231,0.05));
  border: 1px solid rgba(108,92,231,0.2);
  border-radius: 14px;
}

.cs-info-highlight p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.cs-info-highlight strong {
  color: #fff;
}

/* WhatsApp CTA Button */
.cs-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  width: 100%;
  justify-content: center;
}

.cs-btn-whatsapp svg {
  width: 22px;
  height: 22px;
}

.cs-btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

/* Responsive */
@media (max-width: 992px) {
  .cs-contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cs-contact-info {
    position: static;
  }
}

@media (max-width: 768px) {
  .cs-hero-faleconosco {
    min-height: 40vh;
    padding: 7rem 1rem 3rem;
  }

  .cs-hero-faleconosco .cs-hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    max-width: 100%;
    word-break: normal;
  }

  .cs-contact-form-wrap {
    padding: 1.5rem;
  }

  .cs-contact-section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .cs-hero-faleconosco {
    min-height: 35vh;
    padding: 6rem 1rem 2.5rem;
  }

  .cs-contact-form-wrap {
    padding: 1.25rem;
  }

  .cs-info-card {
    padding: 1rem;
  }

  .cs-btn-whatsapp {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }
}
