/**
 * Autossocorro - Estilos para espaçamento e alinhamento de texto
 */

/* Conteúdo principal - espaçamento consistente */
.page-content .content {
  margin: 16px 15px 18px 15px;
  padding: 0;
}
.page-content .content p {
  margin-bottom: 1em;
  line-height: 1.6;
  text-align: left;
}
.page-content .content p:last-child {
  margin-bottom: 0;
}

/* Cards - padding interno uniforme */
.card-style .content {
  padding: 18px 18px 20px 18px !important;
}
.card-style .content p {
  margin-bottom: 1em;
  line-height: 1.55;
}

/* Títulos em cards */
.card-style .content h5,
.card-style .content h6 {
  margin-bottom: 0.65em;
  margin-top: 0;
  line-height: 1.35;
}
.card-style .content h5 + p,
.card-style .content h6 + p {
  margin-top: 0.25em;
}

/* Listas */
.card-style .content ul,
.card-style .content ol {
  padding-left: 1.25em;
  margin: 0.5em 0 1em 0;
  line-height: 1.6;
}
.card-style .content ul.list-unstyled {
  padding-left: 0;
  margin: 0.5em 0 0 0;
}
.card-style .content li {
  margin-bottom: 0.4em;
}
.card-style .content li:last-child {
  margin-bottom: 0;
}

/* Espaçamento entre seções */
.content.mb-2.mt-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 0.5rem !important;
}
.card-style + .card-style {
  margin-top: 0.75rem;
}

/* Cards com flex - alinhamento */
#page .card-style .content .d-flex.align-items-start > div {
  flex: 1;
  min-width: 0;
}
#page .card-style .content .flex-grow-1 p {
  margin-bottom: 0.35em;
}

/* Rows com gap */
.row.g-2 {
  margin-left: -4px;
  margin-right: -4px;
}
.row.g-2 > [class*="col-"] {
  padding-left: 4px;
  padding-right: 4px;
  margin-bottom: 8px;
}

/* Page title */
.page-title-small,
.page-title-large {
  padding: 12px 15px 12px 15px;
}

/* Lista de parceiros e busca */
.list-custom-large a {
  padding: 14px 15px 14px 15px !important;
  min-height: 68px;
}
.list-custom-large a img {
  margin-right: 10px;
  vertical-align: middle;
}
.list-custom-large a strong {
  font-size: 11px !important;
  display: block;
  margin-top: 2px;
  opacity: 0.85;
  line-height: 1.3;
}

/* Footer e menu */
.menu-footer .boxed-text-l,
.footer .boxed-text-l {
  line-height: 1.55;
  padding: 0 10px;
  text-align: center;
}

/* Lista custom small (serviços) */
.list-custom-small.list-icon-0 a {
  padding: 12px 0 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.list-custom-small.list-icon-0 a:last-of-type {
  border-bottom: none;
}
.list-custom-small a small {
  display: block;
  margin-top: 2px;
  line-height: 1.4;
}

/* Formulário contato */
#validator-name, #validator-mail1, #validator-phone1 {
  margin: 0 15px 10px 15px;
}

/* Parágrafos consecutivos */
.card-style .content p + p {
  margin-top: 0.85em;
}
.card-style .content p + ul,
.card-style .content p + ol {
  margin-top: 0.5em;
}
.card-style .content ol.ps-3 {
  padding-left: 1.5em;
}
.card-style .content ol.ps-3 li {
  margin-bottom: 0.5em;
}

/* Ícones e textos inline */
.content .d-flex.align-items-start {
  align-items: flex-start;
}
.content .me-3 {
  margin-right: 0.9rem !important;
}
.content .me-4 {
  margin-right: 1.1rem !important;
}
