/* Estilos gerais */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #333;
}

header, footer {
    background-color: #004080;
    color: white;
    padding: 1rem;
    text-align: center;
}

.container {
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Grid responsivo para cards de estados */
.estados-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

.estado-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
    padding: 1rem;
    text-align: center;
    transition: box-shadow 0.3s ease;
    color: #004080;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.estado-card:hover {
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.2);
    text-decoration: none;
}

.estado-card img {
    width: 80px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.estado-card span {
    font-weight: bold;
    font-size: 1.1rem;
}

/* Media query para desktop */
@media (min-width: 768px) {
    .estados-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 600px) {
    .cards-grid {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      padding-left: 0 !important;
    }
    .card, .card-no-bottom-radius, .card-no-top-radius, .cep-card {
      width: 90% !important;
      max-width: 400px !important;
      margin-left: auto !important;
      margin-right: auto !important;
    }
  }
  