/* ============================================
   WINTER SAP 2025/2026 — Landing officielle
   Team Ek Infinity
   Charte : rose #e94560 / bleu nuit #0e1726 / blanc / or accent
   Fichier: assets/css/actus/sap-25.css
============================================ */

:root {
  --accent: #e94560;
  --accent-light: #ff6f82;
  --dark: #0e1726;
  --bg: #ffffff;
  --bg-alt: #f8f9fb;
  --gold: #d4af37;
  --muted: #6b7280;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
  --container: 1100px;
  --transition: all .25s ease;
}

/* ====== Structure Générale ====== */
.blk {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 20px;
}
.blk h2 {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--dark);
  text-align: center;
}
.blk p {
  color: var(--dark);
  line-height: 1.75;
  font-size: 1.06rem;
}
.blk p.muted {
  color: var(--muted);
  text-align: center;
}

/* ====== SECTION HERO ====== */
.blk.hero {
  position: relative;
  text-align: center;
  background: linear-gradient(160deg, var(--dark) 0%, #1c253b 45%, #222c45 100%);
  color: #fff;
  padding: 140px 20px 120px;
  overflow: hidden;
}
.blk.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -10%, rgba(233,69,96,.25), transparent 60%);
  pointer-events: none;
}
.blk.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff, var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.blk.hero .sub {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.15rem;
  color: #e2e4eb;
}
.cta-rail {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(233,69,96,.3);
  transition: var(--transition);
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(233,69,96,.45);
}
.cta.ghost {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.cta.ghost:hover {
  background: var(--accent);
  color: #fff;
}

/* ====== CONTENT / PROGRAM ====== */
.blk.content {
  background: var(--bg);
  text-align: left;
}
.bullets {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  display: grid;
  gap: 14px;
  max-width: 700px;
}
.bullets li {
  position: relative;
  padding-left: 30px;
  font-size: 1.05rem;
}
.bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0.15em;
  color: var(--accent);
  font-weight: 900;
  font-size: 1.1rem;
}
.inline-cta {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  margin: 24px auto;
  border-radius: var(--radius);
  max-width: 760px;
  text-align: center;
}

/* ====== AUDIENCE ====== */
.blk.audience {
  background: var(--bg-alt);
  border-top: 1px solid #e1e3ea;
  border-bottom: 1px solid #e1e3ea;
  text-align: center;
}
.checks {
  list-style: none;
  max-width: 720px;
  margin: 30px auto 0;
  display: grid;
  gap: 12px;
  padding: 0;
}
.checks li {
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px 16px 46px;
  border: 1px solid #e7e8ee;
  box-shadow: var(--shadow);
  text-align: left;
  position: relative;
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  display: grid;
  place-items: center;
}

/* ====== BENEFITS ====== */
.blk.benefits {
  background: #fff;
  text-align: center;
}
.cards-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
  margin-top: 24px;
}
.cards-4 article {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.cards-4 article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.cards-4 h3 {
  color: var(--dark);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.cards-4 p {
  color: var(--muted);
  margin: 0;
}

/* ====== AUTHORITY & COACH ====== */
.blk.authority {
  background: var(--bg);
  text-align: center;
}
.blk.coach {
  background: var(--bg-alt);
  text-align: center;
  border-top: 1px solid #e1e3ea;
  border-bottom: 1px solid #e1e3ea;
}
.blk.coach blockquote {
  background: #fff;
  margin: 30px auto;
  padding: 26px;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 680px;
  font-style: italic;
}
.blk.coach blockquote footer {
  margin-top: 10px;
  color: var(--gold);
  font-weight: 800;
  font-style: normal;
}

/* ====== PRACTICAL ====== */
.blk.practical {
  background: linear-gradient(135deg, #151b2e, #1d2340);
  color: #fff;
  text-align: center;
}
.facts {
  list-style: none;
  padding: 0;
  margin: 24px auto;
  display: grid;
  gap: 12px;
  max-width: 740px;
  text-align: left;
}
.facts li {
  background: rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.15);
}
.facts strong {
  color: #ffd56a;
}

/* ====== FAQ ====== */
.blk.faq {
  background: #fff;
  text-align: left;
}
details {
  background: #fff;
  border: 1px solid #e7e8ee;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 900;
}
details[open] summary::after {
  content: "–";
}
details p {
  padding: 0 20px 18px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* ====== QR (depuis le template) ====== */
.actu-detail__qr img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

/* ====== COVER (depuis le template) ====== */
.actu-detail__cover img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
  aspect-ratio:16/9;
  border-radius: var(--radius);
}

/* ====== Galerie (thumbnails – section 2024) ====== */
.cards-4 .gallery-thumb,
.cards-4 img[loading="lazy"]{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:12px;
  display:block;
}

/* ====== Sticky CTA ====== */
.sticky-cta{
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: all .3s ease;
  pointer-events: none;
}
.sticky-cta.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ====== Reveal (scroll-in) optionnel ====== */
.reveal{opacity:0; transform: translateY(16px); transition: opacity .45s ease, transform .45s ease;}
.reveal.active{opacity:1; transform: none;}

@media (prefers-reduced-motion: reduce){
  .reveal{transition:none}
  .cta, .cards-4 article{transition:none}
  .sticky-cta{transition:none}
}

/* ====== Responsive ====== */
@media (max-width:768px){
  .blk { padding: 64px 16px; }
  .blk.hero { padding: 120px 16px 100px; }
  .blk.hero h1 { font-size: 2.4rem; }
  .cards-4 { gap: 16px; }
}
@media (max-width:480px){
  .cta { width: 100%; text-align: center; }
  .bullets li, .checks li { font-size: 1rem; }
}

/* Cover au ratio paysage fixe */
.actu-detail__cover {
  border-radius: 16px;
  overflow: hidden;
}
.actu-detail__cover img {
  display:block;
  width:100%;
  aspect-ratio: 16 / 9;
  height:auto;
  object-fit: cover;
}

.actu-cover { aspect-ratio: 16/9; }
.actu-cover img { object-fit: cover; }

.actu-detail__lead{
  margin: 10px 0 0;
  font-size: 1.1rem;
  color: var(--muted);
  text-align: center;
}