/* --- HERO --- */
.diag-hero {
  margin-bottom: 3rem;
}

.diag-hero h1 {
  font-size: 2.4rem;
  color: var(--smidig-primary);
  margin-bottom: 1rem;
}

.diag-sub {
  font-size: 1.1rem;
  color: var(--smidig-muted);
  max-width: 650px;
}

/* --- TEXTES --- */
.diag-text {
  font-size: 1rem;
  color: var(--smidig-muted);
  margin-bottom: 1.5rem;
}

/* --- LISTES --- */
.diag-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.diag-list li {
  margin-bottom: 0.6rem;
  padding-left: 1.2rem;
  position: relative;
}

.diag-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--smidig-accent);
}

/* --- ÉTAPES --- */
.diag-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.diag-step {
  background: #fff;
  border: 1px solid var(--smidig-border);
  border-radius: 14px;
  padding: 1.5rem;
}

.diag-step-number {
  display: inline-block;
  background: var(--smidig-primary);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

/* --- BENEFICES --- */
.diag-benefits {
  list-style: none;
  padding-left: 0;
}

.diag-benefits li {
  margin-bottom: 0.6rem;
  padding-left: 1.2rem;
  position: relative;
}

.diag-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--smidig-primary);
  font-weight: bold;
}

/* --- REMISE --- */
.discount-card {
  background: #fff;
  border: 1px solid var(--smidig-border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.discount-card h2 {
  margin-top: 0;
  color: var(--smidig-primary);
}

.discount-card p {
  color: var(--smidig-muted);
  margin-bottom: 1.5rem;
}

/* HERO avec illustration */
.diag-hero {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.diag-hero-visual {
  display: block;
  width: auto;
  max-width: 300px;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--smidig-border);
  overflow: hidden; 
  display: flex;
  justify-content: center;
  align-items: center;
}

.diag-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* remplit la zone sans déformer */
  object-position: center; /* centre l’image */
}


/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--smidig-border);
  padding: 0.9rem 1.1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--smidig-primary);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 0.6rem;
  color: var(--smidig-muted);
}


/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .diag-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .diag-hero {
    grid-template-columns: 1fr;
  }
}
