/* ===== Design cartes automatiques - Niort Postural Style ===== */

.od-modern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

@media (max-width: 900px) {
  .od-modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .od-modern-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Carte ---- */
.od-modern-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f9fbf9;
  border: 1px solid #e6ebe6;
  border-radius: 14px 40px 14px 14px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  padding: 22px 24px;
  text-decoration: none;
  color: #1a1a1a;
  transition: all 0.25s ease;
}

.od-modern-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

/* ---- Contenu ---- */
.od-content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

/* ---- Icône ---- */
.od-modern-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #cde5cf;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.od-icon-inner {
  width: 22px;
  height: 26px;
  border-radius: 4px;
  border: 2px solid #3b7a3f;
  position: relative;
}

.od-icon-inner::before,
.od-icon-inner::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  height: 2px;
  background: #3b7a3f;
}

.od-icon-inner::before { top: 8px; }
.od-icon-inner::after  { top: 15px; }

/* ---- Texte ---- */
.od-modern-text {
  flex: 1;
}

.od-modern-text h3 {
    line-height: 1.2 !important;
    font-family: "Poppins", "Segoe UI", sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: #222;
    margin: 0 0 6px 0;
}

.od-sub {
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 14px;
  color: #666;
  margin: 0 0 4px 0;
}

.od-desc {
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 15px;
  color: #777;
  line-height: 1.4;
  margin: 0px 0px 5px;
}

/* ---- Bouton ---- */
.od-btn {
  display: block;
  width: 100%;
  border: 1px solid #4d9251;
  border-radius: 999px;
  background: #fdfaf5;
  color: #4d9251;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  padding: 10px 0;
  transition: all 0.25s ease;
}

.od-btn:hover {
  background: #eaf3ea;
  color: #3a7a3c;
}
