/* /wp-content/themes/team-ek-child/assets/css/actus/sap-25.css */
/* ================== WINTER SAP 2025/2026 — Styles scoped .sap25- ================== */

:root {
  --font-base: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-title: "Poppins", "Segoe UI", Arial, sans-serif;

  --bg: #fafbfc;
  --text: #111;
  --text-muted: #555;
  --border: #e5e7eb;
  --accent: #e94560;
  --accent-dark: #c9344e;

  --ok: #10b981;
  --warn: #f59e0b;
  --err: #ef4444;

  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.06);
  --container: 1100px;
}

/* ============= Utils & bases ============= */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sap25-wrap {
  width: min(90%, var(--container));
  margin: 0 auto;
  padding-block: clamp(24px, 4vw, 44px);
}

.sap25-section {
  padding: clamp(32px, 5vw, 60px) 0;
  background: transparent;
}

.sap25-section--tight {
  padding: clamp(20px, 3vw, 40px) 0;
}

.sap25-h2 {
  font-family: var(--font-title);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  text-align: center;
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-weight: 800;
}

.sap25-h3 {
  font-size: 1.1rem;
  margin: 0 0 .4rem;
  font-weight: 700;
}

p.lead,
.sap25-lead,
.sap25-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 820px;
  margin: .3rem auto 1rem;
}

/* Grilles génériques */
.sap25-two {
  display: grid;
  gap: clamp(16px, 2vw, 20px);
  grid-template-columns: 1.1fr .9fr;
}

.sap25-two--balanced { grid-template-columns: 1fr 1fr; }

@media (max-width: 980px) {
  .sap25-two,
  .sap25-two--balanced {
    grid-template-columns: 1fr;
  }
}

/* Cartes génériques */
.mini-card,
.sap25-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
}

/* Boutons */
.btn {
  background: var(--accent);
  color: #fff;
  padding: .8rem 1.4rem;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
}
.btn:hover { background: var(--accent-dark); }

.btn.btn-ghost {
  background: transparent;
  border: 1px solid currentColor;
  color: var(--accent);
  border-radius: 10px;
}
.btn.btn-ghost:hover { background: var(--accent); color: #fff; }

/* ============ HERO ============ */
.sap25-hero {
  position: relative;
  min-height: min(70vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  isolation: isolate;
  background: #000;
}

.sap25-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25)),
    url("../../images/SAP/2024/training.jpeg") center/cover no-repeat;
}

.sap25-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  padding: clamp(12px, 3vw, 24px) 1rem;
}

.sap25-hero__logo img {
  width: clamp(140px, 22vw, 240px);
  margin: 0 auto 10px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.3));
}

.sap25-hero__badge {
  display: inline-block;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .3);
  padding: .35rem .8rem;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: .5rem;
}

.sap25-hero__title {
  font-weight: 900;
  letter-spacing: -.4px;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  margin: .3rem 0;
}

.sap25-hero__lead {
  color: #f2f2f2;
  max-width: 780px;
  margin: 0 auto 1rem;
}

.sap25-hero__cta {
  display: flex;
  justify-content: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}

/* ============ EXPÉRIENCE ============ */
.sap25-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(16px, 2vw, 20px);
  box-shadow: var(--shadow-soft);
}

.sap25-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.sap25-feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sap25-feature__icon { font-size: 22px; line-height: 1; }
.sap25-feature__body h3 { margin: 0 0 2px; color: #111; font-size: 1.05rem; font-weight: 700; }
.sap25-feature__body p { margin: 0; color: var(--text-muted); }

/* ============ CHECKLIST “pour qui” ============ */
.sap25-forwho-grid {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}
@media(min-width:880px){
  .sap25-forwho-grid {
    grid-template-columns: 1.1fr .9fr;
    align-items: start;
  }
}

.sap25-formcard {
  background: #fff;
  border: 1px dashed rgba(0, 0, 0, .12);
  border-radius: 14px;
  padding: clamp(12px, 2.2vw, 16px);
  box-shadow: var(--shadow-soft);
}
.sap25-formcard__list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
}
.sap25-formcard__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fafbfc;
  border: 1px solid var(--border);
  transition: background .2s, border-color .2s;
}
.sap25-formcard__list li.is-checked {
  background: #f0fdf4;
  border-color: #10b981;
}
.sap25-formcard input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  background: rgba(233, 69, 96, .08);
  cursor: pointer;
  position: relative;
}
.sap25-formcard input[type="checkbox"]:checked {
  background: #10b981;
  border-color: #10b981;
}
.sap25-formcard input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #fff;
  border-radius: 2px;
}
.sap25-check-hint {
  font-size: .9rem;
  color: var(--accent-dark);
  margin-top: .4rem;
  text-align: center;
  font-weight: 600;
}
.sap25-congrats {
  display: none;
  margin-top: .6rem;
  border: 1px solid #10b981;
  background: #ecfdf5;
  color: #065f46;
  border-radius: 12px;
  padding: .8rem 1rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.15);
}

/* ============ BÉNÉFICES ============ */
.sap25-benefits__grid {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
@media(min-width:700px){
  .sap25-benefits__grid { grid-template-columns: repeat(2,1fr); }
}
.sap25-card h3 { color: var(--accent-dark); font-size: 1.1rem; margin: 0 0 .2rem; }
.sap25-card p { color: var(--text-muted); margin: 0; }

/* ============ CLUB / CRED ============ */
.sap25-metrics {
  list-style: none;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: .7rem 0 0;
}
.sap25-metrics li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: var(--shadow-soft);
}
.sap25-metrics strong { font-size: 1.1rem; }

/* ============ COACH ============ */
.sap25-coach__grid {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  align-items: center;
}
@media(min-width:900px){
  .sap25-coach__grid { grid-template-columns: 1fr 1fr; }
}
.sap25-coach__media img {
  border-radius: 14px;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}
.sap25-quote {
  color: var(--accent);
  font-weight: 700;
  margin-top: .6rem;
  font-style: italic;
}

/* ============ TÉMOIGNAGES ============ */
.sap25-testi__grid {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
@media(min-width:760px){
  .sap25-testi__grid { grid-template-columns: repeat(2,1fr); }
}
.sap25-tosti-note {
  font-size: .9rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: .4rem;
}
.sap25-testi__grid li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 12px;
}
.sap25-testi__grid blockquote {
  margin: 0;
  color: var(--text-muted);
  border-left: 4px solid var(--accent);
  padding: .4rem .8rem;
  border-radius: 4px;
}

/* ============ INFOS PRATIQUES ============ */
.sap25-info__grid {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
@media(min-width:760px){
  .sap25-info__grid { grid-template-columns: repeat(2,1fr); }
}
.sap25-mini {
  display: flex;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 12px;
  box-shadow: var(--shadow-soft);
}
.sap25-mini__icon { color: var(--accent); font-size: 20px; line-height: 1; }
.sap25-mini__body h3 { margin: 0 0 .2rem; color: #111; }
.sap25-mini__body p { margin: 0; color: var(--text-muted); }

.sap25-bulleted { list-style: none; margin: 0; padding: 0; }
.sap25-bulleted li {
  position: relative;
  padding-left: 18px;
  margin: .2rem 0;
}
.sap25-bulleted li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

/* ============ FAQ ============ */
.sap25-faq__grid { display: grid; gap: 10px; }
.sap25-faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .8rem 1rem;
  box-shadow: var(--shadow-soft);
}
.sap25-faq summary { cursor: pointer; font-weight: 800; }
.sap25-faq p { margin: .5rem 0 0; color: var(--text-muted); }

/* ============ LIGHTBOX QR ============ */
.qr-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.qr-lightbox.is-open { display: flex; }
.qr-lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, .4);
}
.qr-lightbox__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* ===== Ajustement des sections courtes ===== */
.sap25-compact .sap25-wrap { padding-block: clamp(12px, 2vw, 28px); }
.sap25-wrap>p:only-of-type { margin-bottom: .5rem; }
.sap25-wrap>:first-child.sap25-h2 + p:only-of-type { margin-bottom: .5rem; }