/* ===== DISONS DINETTE — Page "Nos engagements" ===== */
/* Vient compléter assets/css/legal.css (palette, reset, nav, footer) */

/* ===== HERO ===== */
.eg-hero {
  padding: 70px 24px 50px;
  text-align: center;
  background: linear-gradient(180deg, var(--creme-rose), var(--creme));
  position: relative;
  overflow: hidden;
}
.eg-hero .section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 14px; justify-content: center;
}
.eg-hero h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 14px; }
.eg-hero .eg-lede { max-width: 580px; margin: 0 auto; color: rgba(26,26,26,.65); font-size: 1rem; line-height: 1.65; }
.eg-leaf { position: absolute; opacity: .14; color: var(--vert-fonce); width: 120px; height: 120px; }
.eg-leaf--1 { top: -20px; left: -20px; transform: rotate(-15deg); }
.eg-leaf--2 { bottom: -30px; right: -10px; transform: rotate(25deg); }

/* ===== PILIERS ===== */
.eg-pillars {
  max-width: 1180px; margin: 0 auto;
  padding: 70px 24px;
  display: flex; flex-direction: column; gap: 90px;
}
.eg-pillar {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.eg-pillar--reverse .eg-pillar-media { order: 2; }
.eg-pillar--reverse .eg-pillar-body { order: 1; }

.eg-pillar-media {
  border-radius: 20px; overflow: hidden; min-height: 360px;
  box-shadow: 0 10px 36px rgba(0,0,0,.1);
}
.eg-pillar-media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 360px; }

.eg-pillar-icon { width: 64px; height: 64px; object-fit: contain; margin-bottom: 18px; }
.eg-pillar-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.25; margin-bottom: 16px; }
.eg-pillar-body p { font-size: .95rem; line-height: 1.75; color: #555; }

/* ===== ENGAGEMENTS CONCRETS ===== */
.eg-checklist {
  background: var(--creme-rose);
  padding: 70px 24px 80px;
}
.eg-checklist .section-header { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.eg-checklist h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 12px; }
.eg-checklist .section-sub { font-size: .95rem; color: #666; line-height: 1.6; }

.eg-check-grid {
  max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px;
}
.eg-check-item { display: flex; align-items: flex-start; gap: 14px; }
.eg-check-icon {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--vert-fonce); display: flex; align-items: center; justify-content: center;
}
.eg-check-icon svg { width: 15px; height: 15px; color: #fff; }
.eg-check-item p { font-size: .92rem; line-height: 1.6; color: var(--noir); padding-top: 4px; }
.eg-check-item strong { color: var(--vert-fonce); }

/* ===== CTA bas de page ===== */
.eg-cta {
  text-align: center; padding: 80px 24px 90px;
  background: var(--creme);
}
.eg-cta .script { font-family: 'Dancing Script', cursive; color: var(--rose); }
.eg-cta h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.eg-cta p { max-width: 480px; margin: 0 auto 28px; color: rgba(26,26,26,.65); }
.eg-btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.eg-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 30px; font-size: .92rem; font-weight: 500;
  text-decoration: none; transition: transform .15s, background .2s, color .2s;
}
.eg-btn--primary { background: var(--rose); color: #fff; }
.eg-btn--primary:hover { transform: translateY(-2px); background: var(--vert-fonce); }
.eg-btn--outline { border: 1.5px solid var(--vert-fonce); color: var(--vert-fonce); }
.eg-btn--outline:hover { transform: translateY(-2px); background: var(--vert-fonce); color: #fff; }

/* ===== Apparition au scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .eg-pillar { grid-template-columns: 1fr; gap: 28px; }
  .eg-pillar--reverse .eg-pillar-media, .eg-pillar--reverse .eg-pillar-body { order: 0; }
  .eg-pillar-media, .eg-pillar-media img { min-height: 280px; }
  .eg-pillars { gap: 60px; padding: 56px 20px; }
}
@media (max-width: 640px) {
  .eg-check-grid { grid-template-columns: 1fr; }
  .eg-checklist { padding: 56px 20px 64px; }
}
