/* Page ÉCLOSION — complète trajectoire.css : onglets des exemples, cadre de la carte intégrée, exemples, idées. */
.ec-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ec-tab { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 18px 11px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--navy); font: inherit; text-align: left; cursor: pointer; transition: box-shadow .25s, background .25s, color .25s; }
.ec-tab__n { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.ec-tab__t { font-weight: 550; font-size: .98rem; }
.ec-tab:hover { box-shadow: inset 0 0 0 1.5px var(--violet); }
.ec-tab[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: none; }
.ec-tab[aria-selected="true"] .ec-tab__n { color: var(--gold-l, #FFC466); }
.ec-tab:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }

/* la carte autonome, intégrée : fond papier pendant le chargement */
.ec-stage { background: #f6e4c8; color: inherit; }
.ec-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #f6e4c8; }
@media (max-width: 700px) {
  /* en portrait, la carte se compose en hauteur ; on laisse de la marge pour faire défiler la page */
  .ec-stage { aspect-ratio: 3 / 4; max-height: 76svh; }
}

.ec-under__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ec-under__actions .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ec-transcript__t { margin: 10px 0 2px; font-weight: 550; color: var(--navy); }

/* les deux exemples */
.ec-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(28px, 4vw, 48px); }
.ec-example { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.ec-example img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #f6e4c8; }
.ec-example__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.ec-example__title { font-size: clamp(1.3rem, 1rem + .9vw, 1.7rem); letter-spacing: -.02em; }
.ec-example__steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; color: var(--ink-2); font-size: .95rem; }
.ec-example__steps span { display: inline-block; min-width: 6.2em; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); font-weight: 500; }
.ec-example__final { margin: 2px 0 0; font-weight: 550; color: var(--navy); }
.ec-example__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: auto; padding-top: 8px; }
.ec-example__actions .btn svg { width: 15px; height: 15px; fill: currentColor; }

/* idées de déclinaison */
.ec-ideas { margin-top: clamp(48px, 6vw, 80px); }
.ec-ideas__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ec-ideas__list li { padding: 18px 20px; border-radius: var(--radius-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 6px; }
.ec-ideas__list strong { font-weight: 550; color: var(--navy); }
.ec-ideas__list span { color: var(--ink-2); font-size: .93rem; }

@media (max-width: 900px) {
  .ec-examples { grid-template-columns: 1fr; }
  .ec-ideas__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .ec-ideas__list { grid-template-columns: 1fr; }
  .ec-tab { flex: 1 1 0; }
}
