/* ============================================
   CONTATO.CSS - ESTILOS ESPECÍFICOS DA PÁGINA
   Complementa estilo-base.css
   ============================================ */

.content-container {
  margin: 20px auto 0 auto;
}

/* ===== ESPACAMENTO DO FORMULARIO DE CONTATO ===== */
/* Respiro entre o subtitulo e os campos (escopado ao card do formulario) */
.card-body:has(#formSuporte) .card-subtitle {
  margin-bottom: var(--spacing-6, 24px);
}

/* Remove o espaco extra abaixo do botao (a margem do btn-group somava com
   o padding do card-body) */
.card-body:has(#formSuporte) .btn-group {
  margin-bottom: 0;
}

/* ===== MENSAGENS DE STATUS ===== */
.mensagem-status {
  padding: 15px 20px;
  border-radius: 8px;
  margin: 20px 0;
  font-weight: 500;
  text-align: center;
}

.mensagem-sucesso,
.mensagem-status.sucesso {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.mensagem-erro,
.mensagem-status.erro {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ===== INPUTS COM ERRO ===== */
.form-group input.erro,
.form-group textarea.erro {
  border-color: #dc3545;
  background-color: #fff5f5;
}

/* ===== GRID DOS CARDS DE CONTATO ===== */
.contato-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4, 16px);
  align-items: stretch;
}

.contato-cards-grid > .card {
  display: flex;
  flex-direction: column;
}

.contato-cards-grid > .card > .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .contato-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CARD DO WHATSAPP ===== */
.whatsapp-card-link {
  display: block;
  text-decoration: none;
  margin-top: 0px;
}

.whatsapp-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background-color: #F0FFF4;
  border: 1px solid #D4E9D9;
  border-radius: 15px;
  transition: border-color 0.3s ease;
}

.whatsapp-icon-and-text {
  display: flex;
  align-items: center;
}

.whatsapp-cta-button {
  background-color: #25D366;
  color: var(--secondary-dark);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.9rem;
  white-space: nowrap;
  margin-left: 20px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.whatsapp-cta-button:hover {
  background-color: #1EAE54;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.whatsapp-icon {
  flex-shrink: 0;
  margin-right: 20px;
}

.whatsapp-icon svg {
  width: 50px;
  height: 50px;
  fill: #25D366;
}

.whatsapp-text h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  color: #145034;
}

.whatsapp-text p {
  margin: 0;
  font-size: 0.9rem;
  color: #333;
}

/* ===== TEMA ESCURO - CARD DO WHATSAPP ===== */
[data-theme="dark"] .whatsapp-card {
  background-color: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.3);
}

[data-theme="dark"] .whatsapp-text h4 {
  color: #25D366;
}

[data-theme="dark"] .whatsapp-text p {
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .whatsapp-cta-button {
  background-color: #25D366;
  color: #1a1a1a;
}

[data-theme="dark"] .whatsapp-cta-button:hover {
  background-color: #1EAE54;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* ===== RESPONSIVIDADE DO CARD WHATSAPP ===== */
@media (max-width: 768px) {
  .whatsapp-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 20px 15px;
  }

  .whatsapp-icon-and-text {
    flex-direction: column;
    text-align: center;
    margin-bottom: 15px;
  }

  .whatsapp-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .whatsapp-icon svg {
    width: 60px;
    height: 60px;
  }

  .whatsapp-cta-button {
    margin-left: 0;
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .whatsapp-text h4 {
    font-size: 1rem;
  }

  .whatsapp-text p {
    font-size: 0.85rem;
  }
}

/* ===== CARD DO TELEGRAM ===== */
.telegram-card-link {
  display: block;
  text-decoration: none;
}

.telegram-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background-color: #E8F4FD;
  border: 1px solid #C5DEF0;
  border-radius: 15px;
  transition: border-color 0.3s ease;
}

.telegram-icon-and-text {
  display: flex;
  align-items: center;
}

.telegram-cta-button {
  background-color: #0088cc;
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.9rem;
  white-space: nowrap;
  margin-left: 20px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.telegram-cta-button:hover {
  background-color: #006daa;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.telegram-icon {
  flex-shrink: 0;
  margin-right: 20px;
}

.telegram-icon svg {
  width: 50px;
  height: 50px;
  fill: #0088cc;
}

.telegram-text h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  color: #0a4d7a;
}

.telegram-text p {
  margin: 0;
  font-size: 0.9rem;
  color: #333;
}

/* ===== CARD DO ASSISTENTE ATLAS ===== */
.atlas-card-link {
  display: block;
  text-decoration: none;
}

.atlas-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background-color: #E8F5E9;
  border: 1px solid #C5E1C8;
  border-radius: 15px;
  transition: border-color 0.3s ease;
}

.atlas-icon-and-text {
  display: flex;
  align-items: center;
}

.atlas-cta-button {
  background-color: #007e4f;
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.9rem;
  white-space: nowrap;
  margin-left: 20px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.atlas-cta-button:hover {
  background-color: #006841;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.atlas-icon {
  flex-shrink: 0;
  margin-right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007e4f, #28a745);
  display: flex;
  align-items: center;
  justify-content: center;
}

.atlas-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.atlas-text h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  color: #0a5e3a;
}

.atlas-text p {
  margin: 0;
  font-size: 0.9rem;
  color: #333;
}

/* ===== TEMA ESCURO - CARD DO ATLAS ===== */
[data-theme="dark"] .atlas-card {
  background-color: rgba(0, 126, 79, 0.1);
  border-color: rgba(0, 126, 79, 0.3);
}

[data-theme="dark"] .atlas-text h4 {
  color: #4caf50;
}

[data-theme="dark"] .atlas-text p {
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .atlas-cta-button {
  background-color: #007e4f;
  color: #fff;
}

[data-theme="dark"] .atlas-cta-button:hover {
  background-color: #006841;
  box-shadow: 0 4px 12px rgba(0, 126, 79, 0.3);
}

/* ===== TEMA ESCURO - CARD DO TELEGRAM ===== */
[data-theme="dark"] .telegram-card {
  background-color: rgba(0, 136, 204, 0.1);
  border-color: rgba(0, 136, 204, 0.3);
}

[data-theme="dark"] .telegram-text h4 {
  color: #29b6f6;
}

[data-theme="dark"] .telegram-text p {
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .telegram-cta-button {
  background-color: #0088cc;
  color: #fff;
}

[data-theme="dark"] .telegram-cta-button:hover {
  background-color: #006daa;
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

/* ===== RESPONSIVIDADE DOS CARDS DE CONTATO ===== */
@media (max-width: 768px) {
  .atlas-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 20px 15px;
  }

  .atlas-icon-and-text {
    flex-direction: column;
    text-align: center;
    margin-bottom: 15px;
  }

  .atlas-icon {
    margin-right: 0;
    margin-bottom: 15px;
    margin-inline: auto;
  }

  .atlas-cta-button {
    margin-left: 0;
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .atlas-text h4 {
    font-size: 1rem;
  }

  .atlas-text p {
    font-size: 0.85rem;
  }

  .telegram-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 20px 15px;
  }

  .telegram-icon-and-text {
    flex-direction: column;
    text-align: center;
    margin-bottom: 15px;
  }

  .telegram-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .telegram-icon svg {
    width: 60px;
    height: 60px;
  }

  .telegram-cta-button {
    margin-left: 0;
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .telegram-text h4 {
    font-size: 1rem;
  }

  .telegram-text p {
    font-size: 0.85rem;
  }
}

/* ========================================
   PAGINAS DE CONTEUDO (politica / termos / quem somos)
   Marcadores de lista no padrao do design system (escopo .doc-page,
   nao afeta listas de cards em outras paginas).
   ======================================== */
.doc-page .card-body ul {
  list-style: none;
  margin: var(--spacing-3) 0 0;
  padding: 0;
}

.doc-page .card-body ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--spacing-2);
  line-height: 1.6;
  color: var(--text-secondary);
}

.doc-page .card-body ul li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-color);
}

.doc-page .card-body ul li strong {
  color: var(--text-primary);
}

.doc-page .card-body p {
  line-height: 1.65;
}

