/* ============================================================
   CONTATO.CSS — Estilos exclusivos de contato.html
   ============================================================ */

/* ──────────────────────────────────────────
   LAYOUT PRINCIPAL
────────────────────────────────────────── */
.contact-area {
  padding: 4rem 5% 6rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}

/* ──────────────────────────────────────────
   CARD DO FORMULÁRIO
────────────────────────────────────────── */
.form-card {
  background: var(--bg-mid);
  border: 1px solid rgba(139, 68, 247, 0.15);
  border-radius: 28px;
  padding: 3rem;
}
.form-card h2 {
  font-family: var(--font-heading);
  font-size: 1.9rem; font-weight: 900;
  margin-bottom: 0.5rem;
}
.form-card > p {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ── Linhas de campo (2 colunas) ── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* ── Grupo de campo ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.form-group:last-of-type { margin-bottom: 0; }

.form-group label {
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.03em;
}
.form-group label .req { color: var(--purple-light); }

/* Inputs, selects e textarea */
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(139, 68, 247, 0.2);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group select { cursor: pointer; appearance: none; }
.form-group select option { background: #1a1030; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  background: rgba(139, 68, 247, 0.06);
  box-shadow: 0 0 0 3px rgba(139, 68, 247, 0.12);
}

/* Estado de erro */
.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: var(--error); }

.form-group .error-msg {
  font-size: 0.75rem;
  color: var(--error);
  display: none;
  align-items: center;
  gap: 0.3rem;
}
.form-group.error .error-msg { display: flex; }

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

/* Wrapper do select com seta customizada */
.select-wrapper { position: relative; }
.select-wrapper::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.85rem;
}

/* ── Checkbox LGPD ── */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 1.4rem 0;
}
.checkbox-group input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px;
  margin-top: 1px;
  accent-color: var(--purple);
  cursor: pointer;
}
.checkbox-group label {
  font-size: 0.82rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1.5;
}
.checkbox-group label a { color: var(--purple-light); text-decoration: none; }
.checkbox-group label a:hover { text-decoration: underline; }

.lgpd-error {
  color: var(--error);
  font-size: 0.75rem;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  display: none;
  align-items: center;
  gap: 0.3rem;
}

/* ── Botão de enviar ── */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  background: var(--gradient);
  color: var(--white);
  padding: 1.05rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 700;
  border: none; cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.25s;
  box-shadow: 0 8px 30px rgba(139, 68, 247, 0.4);
  letter-spacing: 0.02em;
}
.btn-submit:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(139, 68, 247, 0.55);
}
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Spinner de carregamento */
.btn-submit .spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn-submit.loading .spinner   { display: block; }
.btn-submit.loading .btn-text  { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Estado de sucesso do formulário ── */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
}
.form-success.show   { display: flex; }
.form-content.hidden { display: none; }

.success-icon {
  width: 72px; height: 72px;
  background: rgba(76, 255, 168, 0.12);
  border: 2px solid rgba(76, 255, 168, 0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--success);
  margin-bottom: 1.5rem;
}
.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem; font-weight: 900;
  margin-bottom: 0.8rem;
}
.form-success p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

.btn-reset {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent;
  border: 1.5px solid rgba(139, 68, 247, 0.3);
  color: var(--purple-light);
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; margin-top: 1.5rem;
  transition: border-color 0.2s, background 0.2s;
}
.btn-reset:hover {
  border-color: var(--purple-light);
  background: rgba(139, 68, 247, 0.08);
}

/* ──────────────────────────────────────────
   SIDEBAR DE INFORMAÇÕES
────────────────────────────────────────── */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.info-card {
  background: var(--bg-mid);
  border: 1px solid rgba(139, 68, 247, 0.15);
  border-radius: 20px;
  padding: 1.8rem;
  transition: transform 0.3s, border-color 0.3s;
}
.info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 68, 247, 0.35);
}
.info-card-icon {
  width: 48px; height: 48px;
  background: rgba(139, 68, 247, 0.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--purple-light);
  margin-bottom: 1rem;
}
.info-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.info-card p  { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }
.info-card a  { color: var(--purple-light); text-decoration: none; font-weight: 500; }
.info-card a:hover { text-decoration: underline; }

/* Card de agendar reunião */
.meeting-card {
  background: var(--gradient);
  border-radius: 20px;
  padding: 1.8rem;
  text-align: center;
  box-shadow: 0 16px 50px rgba(139, 68, 247, 0.3);
  position: relative; overflow: hidden;
}
.meeting-card::after {
  content: '';
  position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}
.meeting-card i { font-size: 2.2rem; margin-bottom: 0.8rem; display: block; }
.meeting-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 900;
  margin-bottom: 0.5rem;
}
.meeting-card p {
  font-size: 0.85rem; opacity: 0.85;
  line-height: 1.6; margin-bottom: 1.2rem;
}
.btn-meeting {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--white);
  color: var(--purple-dark);
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-xl);
  font-size: 0.88rem; font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.btn-meeting:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Links de redes sociais */
.social-links {
  background: var(--bg-mid);
  border: 1px solid rgba(139, 68, 247, 0.15);
  border-radius: 20px;
  padding: 1.8rem;
}
.social-links h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; }
.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.social-item {
  display: flex; align-items: center; gap: 0.7rem;
  background: rgba(139, 68, 247, 0.08);
  border: 1px solid rgba(139, 68, 247, 0.15);
  border-radius: 12px;
  padding: 0.75rem;
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.82rem; font-weight: 500;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-item:hover {
  background: rgba(139, 68, 247, 0.18);
  color: var(--white);
  border-color: rgba(139, 68, 247, 0.4);
}
.social-item i { font-size: 1rem; color: var(--purple-light); min-width: 16px; }

/* ──────────────────────────────────────────
   FAQ
────────────────────────────────────────── */
.faq-section {
  padding: 4rem 5% 6rem;
  max-width: 900px;
  margin: 0 auto;
}
.faq-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 0.8rem;
  text-align: center;
}
.faq-sub {
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.faq-item {
  background: var(--bg-mid);
  border: 1px solid rgba(139, 68, 247, 0.12);
  border-radius: var(--radius-md);
  margin-bottom: 0.8rem;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(139, 68, 247, 0.35); }

.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.5rem;
  background: none; border: none; cursor: pointer;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600;
  text-align: left; gap: 1rem;
}
.faq-question i {
  color: var(--purple-light);
  font-size: 0.85rem; flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
  padding: 0 1.5rem;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 1.5rem 1.2rem;
}
.faq-answer p {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ──────────────────────────────────────────
   RESPONSIVO
────────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-area  { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row      { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .form-card     { padding: 2rem 1.5rem; }
  .social-grid   { grid-template-columns: 1fr 1fr; }
}
