/* v2026_01 : pages cours refondues (ticket #14785, maquette page 3), vue sheet_2026.php.
   Complete category-2026.css (briques cp-*) ; valeurs reprises de la maquette (blocs pp-*, rc-*). */

/* ---------- haut de page : photo de fond + voile, encadre "Course at a glance" ---------- */
.pc .pp-hero-bg{ position:relative; overflow:hidden; background:#EEF5FC; padding:48px 0 88px; }
.pp-hero-bg > .cp-wrap{ position:relative; z-index:1; }
.pp-hero-media{ position:absolute; inset:0; overflow:hidden; }
.pp-hero-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.pp-hero-media .pp-hero-m{ display:none; }
.pp-hero-veil{ position:absolute; inset:0; background:linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.72) 40%, rgba(255,255,255,.12) 100%); }
.pp-hero-in{ display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:56px; align-items:center; }
.pp-card{ position:relative; overflow:hidden; background:#ffffff; border-radius:24px; box-shadow:0 24px 50px rgba(15,27,45,.12); padding:30px; display:flex; flex-direction:column; gap:18px; }
.pp-card::before{ content:""; position:absolute; left:0; right:0; top:0; height:5px; background:linear-gradient(90deg, #1890D8, #7C5CFC); }
.pp-card-t{ font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#6B7E95; }
.pp-facts{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; background:#DCE6EF; border:1px solid #DCE6EF; border-radius:18px; overflow:hidden; margin-top:4px; }
.pp-card .pp-facts{ grid-template-columns:repeat(2,minmax(0,1fr)); margin:0; }
.pp-card .pp-fact:last-child:nth-child(odd){ grid-column:1/-1; }
.pp-fact{ background:#ffffff; padding:14px 16px; display:flex; flex-direction:column; gap:3px; }
.pp-fact span{ font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#6B7E95; }
.pp-fact b{ font-size:15px; color:#0B2540; }
.pp-card-price{ border-radius:16px; background:#FFF4D6; padding:18px 20px; display:flex; flex-direction:column; gap:4px; }
.pp-card-price span{ font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#7A5300; }
.pp-card-price b{ font-size:30px; font-weight:800; color:#0B2540; line-height:1.15; }

/* ---------- barre d'ancres ---------- */
.pp-anchors{ position:sticky; top:0; z-index:20; background:rgba(255,255,255,.96); border-bottom:1px solid #E3EBF2; backdrop-filter:blur(6px); }
.pp-anchors .cp-wrap{ display:flex; gap:6px; overflow-x:auto; padding-top:10px; padding-bottom:10px; }
.cp .pp-anchors a{ flex:none; padding:10px 16px; border-radius:999px; font-size:14px; font-weight:700; color:#0B2540; text-decoration:none; min-height:44px; box-sizing:border-box; display:inline-flex; align-items:center; }
.cp .pp-anchors a:hover, .cp .pp-anchors a:focus-visible{ background:#EEF5FC; color:#057DCD; }
.pc [id^="sec-"], .pc #questions{ scroll-margin-top:72px; }

/* ---------- tableaux ---------- */
.pp-table-box{ overflow-x:auto; background:#ffffff; border-radius:20px; box-shadow:0 16px 36px rgba(11,37,64,.08); }
.pp-table{ width:100%; border-collapse:collapse; min-width:640px; font-size:15px; }
.pp-table th{ text-align:left; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:#6B7E95; padding:18px 22px; border-bottom:1px solid #E3EBF2; font-weight:700; }
.pp-table td{ padding:18px 22px; border-bottom:1px solid #EEF3F8; color:#334155; vertical-align:top; }
.pp-table tr:last-child td{ border-bottom:0; }
.pp-table td b{ color:#0B2540; font-size:16px; }
.pc .pp-table-box + .cp-note{ margin-top:18px; }

/* ---------- calculateur de prix ---------- */
.pp-calc{ display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:28px; align-items:stretch; }
.pp-calc-in{ display:flex; flex-direction:column; gap:26px; }
.pp-step{ display:flex; flex-direction:column; gap:12px; }
.pp-step-t{ font-size:15px; font-weight:800; color:#0B2540; }
.pp-opts{ display:flex; flex-wrap:wrap; gap:10px; }
.pp-opt{ min-height:44px; padding:0 16px; border-radius:12px; border:1px solid #DCE6EF; background:#ffffff; color:#0B2540; font:inherit; font-size:14px; font-weight:700; cursor:pointer; display:inline-flex; align-items:center; gap:6px; }
.pp-opt:hover{ border-color:#057DCD; }
.pp-opt[aria-pressed="true"]{ background:#057DCD; border-color:#057DCD; color:#ffffff; }
.pp-opt small{ font-weight:500; opacity:.8; font-size:inherit; }
.pp-result{ border-radius:24px; padding:34px; background:linear-gradient(135deg, #057DCD 0%, #1890D8 45%, #7C5CFC 100%); color:#ffffff; display:flex; flex-direction:column; gap:10px; }
.pp-result-l{ font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; opacity:.9; }
.pp-result-p{ font-size:56px; font-weight:800; line-height:1; }
.pp-result-p small{ font-size:16px; font-weight:600; opacity:.9; }
.pp-result-t{ font-size:17px; font-weight:600; padding-top:14px; border-top:1px solid rgba(255,255,255,.3); margin-top:6px; }
.pp-result-n{ font-size:13px; line-height:1.55; opacity:.9; margin:0; }
.pp-result .pp-result-btn{ align-self:flex-start; margin-top:6px; }
.pp-full{ margin-top:28px; }
.pp-full summary{ cursor:pointer; font-weight:700; color:#1276B3; min-height:44px; display:inline-flex; align-items:center; list-style:none; }
.pp-full summary::-webkit-details-marker{ display:none; }
.pp-full .pp-table-box{ margin-top:12px; }

/* ---------- "What's included" ---------- */
.pp-inc{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.pp-inc-i{ background:#ffffff; border-radius:20px; padding:26px; display:flex; flex-direction:column; gap:12px; border:1px solid #E2ECF5; }
.pp-inc-i h3{ margin:0; font-size:18px; font-weight:800; color:#0B2540; line-height:1.3; }
.pp-inc-i p{ margin:0; font-size:14.5px; line-height:1.6; }
.pp-inc + .cp-note{ margin-top:24px; }
.cp a.cp-link{ color:#057DCD; font-weight:700; font-size:14px; text-decoration:none; }
.cp a.cp-link:hover{ text-decoration:underline; }

/* ---------- "You might also like" ---------- */
.rc-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.rc-card{ background:#ffffff; border-radius:22px; overflow:hidden; box-shadow:0 14px 30px rgba(15,27,45,.08); border:1px solid #E2ECF5; display:flex; flex-direction:column; transition:transform .2s ease, box-shadow .2s ease; }
.rc-card:hover{ transform:translateY(-4px); box-shadow:0 22px 44px rgba(124,92,252,.14); }
.rc-card img{ width:100%; height:170px; object-fit:cover; display:block; }
.rc-body{ padding:22px 22px 24px; display:flex; flex-direction:column; gap:14px; flex:1; text-align:center; }
.rc-body h3{ margin:0; font-size:18px; font-weight:800; line-height:1.3; color:#057DCD; }
.rc-facts{ display:flex; flex-direction:column; gap:10px; }
.rc-facts div{ display:flex; flex-direction:column; gap:2px; }
.rc-facts span{ font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#6B7E95; }
.rc-facts b{ font-size:15px; color:#0B2540; font-weight:600; }
.rc-body .hp-btn{ margin-top:auto; width:100%; min-height:46px; justify-content:center; }
.pc .pp-related{ padding-top:88px; padding-bottom:88px; }

/* ---------- "More about this course" (texte complet de la fiche, replie) ---------- */
.mx-more{ margin-top:28px; }
.mx-d{ background:#ffffff; border-radius:20px; box-shadow:0 16px 36px rgba(11,37,64,.08); overflow:hidden; }
.mx-d > summary{ list-style:none; cursor:pointer; padding:24px 32px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.mx-d > summary::-webkit-details-marker{ display:none; }
.mx-d > summary b{ font-size:20px; font-weight:800; color:#0B2540; }
.mx-d > summary span{ font-size:14px; color:#6B7E95; font-weight:600; margin-left:auto; }
.mx-d > summary i{ flex:0 0 36px; height:36px; border-radius:50%; background:#057DCD; color:#ffffff; font-style:normal; display:flex; align-items:center; justify-content:center; font-size:20px; font-weight:700; transition:transform .2s; }
.mx-d[open] > summary i{ transform:rotate(45deg); }
.mx-body{ padding:4px 32px 32px; border-top:1px solid #E3ECF5; color:#1F2A37; font-size:16px; line-height:1.75; }
.mx-body h2{ font-size:22px; font-weight:800; color:#0B2540; margin:28px 0 10px; }
.mx-body h3, .mx-body h4{ font-size:18px; font-weight:700; color:#0B2540; margin:22px 0 8px; }
.mx-body p{ margin:0 0 14px; }
.mx-body ul, .mx-body ol{ margin:0 0 14px; padding-left:22px; }
.mx-body li{ margin:4px 0; }
.cp .mx-body a{ color:#057DCD; font-weight:600; }
.mx-body table{ border-collapse:collapse; margin:0 0 14px; width:100%; }
.mx-body td, .mx-body th{ border:1px solid #E3ECF5; padding:8px 10px; text-align:left; }

/* ---------- barre de boutons mobile ---------- */
.pp-sticky{ display:none; }

@media (max-width:1080px){
  .pp-hero-veil{ background:linear-gradient(180deg, rgba(255,255,255,.84) 0%, rgba(255,255,255,.76) 100%); }
  .pp-hero-in{ grid-template-columns:minmax(0,1fr); gap:36px; }
  .pp-calc{ grid-template-columns:minmax(0,1fr); }
  .pp-inc{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rc-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:680px){
  .pc .pp-hero-bg{ padding:28px 0 56px; }
  .pp-hero-media .pp-hero-d{ display:none; }
  .pp-hero-media .pp-hero-m{ display:block; }
  .pp-card{ padding:24px 20px; }
  .pp-card-price b{ font-size:26px; }
  .pp-facts{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pp-result{ padding:26px 22px; }
  .pp-result-p{ font-size:44px; }
  .pp-inc{ grid-template-columns:minmax(0,1fr); }
  .rc-grid{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:14px; margin:0 -20px; padding:4px 20px 12px; }
  .rc-card{ flex:0 0 78%; scroll-snap-align:start; }
  .pc .pp-related{ padding-top:44px; padding-bottom:44px; }
  .mx-d > summary{ padding:20px; }
  .mx-d > summary span{ display:none; }
  .mx-body{ padding:4px 20px 24px; font-size:15px; }
  .pp-sticky{ display:flex; position:sticky; bottom:0; z-index:30; gap:10px; padding:12px 16px; background:#ffffff; border-top:1px solid #E3EBF2; box-shadow:0 -8px 24px rgba(11,37,64,.08); }
  .pp-sticky .hp-btn{ flex:1 1 0; min-height:48px; justify-content:center; padding-left:10px; padding-right:10px; }
}

/* pastilles avec intitule sous des etapes, un tableau ou des elements (Work experience, Summer camp, Coding) */
.pp-pillgroup{ margin-top:28px; display:flex; flex-direction:column; gap:12px; }
/* encadre de prix fixe (ESP, Teacher training) : meme boite que le calculateur, sans les choix */
.pp-fixed .pp-calc-in{ justify-content:center; }
.pp-fixed .cp-head{ margin-bottom:0; }
.pp-fixed .pp-result-t{ font-size:15px; }
