/* ==========================================================
   Doussou Formation : formation.css
   Page formation : hero, En bref, sessions, programme, formateurs, tarifs, avis, FAQ, bandeaux
   Règles reprises telles quelles de style.css, dans le même ordre.
   ========================================================== */


/* Titre */
.hero{display:flex;gap:25px;align-items:flex-start}
.hero-img{flex:0 0 286px;height:286px}
.hero-img img{width:100%;height:100%;object-fit:contain}
.hero h1{font-weight:400;font-size:30px;text-transform:uppercase;letter-spacing:.05em;line-height:1;margin-bottom:10px}
.hero p{font-size:12px;line-height:1.5}
.hero-meta{display:flex;flex-wrap:wrap;gap:15px;margin-top:5px}
.hero-meta span{display:flex;align-items:center;gap:10px;font-weight:500;font-size:15px;color:var(--navy)}
.hero-meta svg{width:30px;height:30px;flex:none}

/* Calendrier */
.schedule-row{display:grid;grid-template-columns:repeat(3,261px);gap:25px;justify-content:center}
.card{background:#fff;border:1px solid var(--blue-med);border-radius:15px;padding:14px 12px;display:flex;flex-direction:column;gap:14px}
.dates{display:flex;flex-direction:column;gap:5px}
.date-row{display:flex;align-items:center;justify-content:space-between;border:1px solid rgba(39,146,250,.25);border-radius:10px;padding:5px 10px}
.date-row .pair{display:flex;flex-direction:column;gap:5px}
.date{background:rgba(177,217,255,.2);border:1px solid var(--blue-med);border-radius:10px;padding:5px 10px;font-weight:500;font-size:10px;letter-spacing:.15em}
.date-row .btn{font-size:12px;padding:10px 15px;letter-spacing:.02em}

/* Section bleu marine (détails) */
.details .cols{display:grid;grid-template-columns:1fr 1fr;gap:100px;padding:0 39px 15px}
.col{display:flex;flex-direction:column;gap:15px}
.point{display:flex;flex-direction:column;gap:10px}
.point-head{display:flex;align-items:center;gap:20px;padding-left:15px;color:var(--blue-light)}
.point-head .num{font-weight:300;font-size:35px;line-height:1.5}
.point-head h3{font-weight:500;font-size:20px;line-height:1.5}
.bullets{padding-left:65px;display:flex;flex-direction:column;gap:5px;list-style:disc}
.bullets li{font-weight:500;font-size:11px;color:var(--beige);margin-left:14px}
.bullets ul{list-style:circle;margin-top:3px}
.bullets ul li{margin-left:18px}
.point.plain .bullets{padding-left:25px}
.point p.lead{font-weight:500;font-size:11px;color:var(--beige);padding-left:65px}
.point.plain p.lead{padding-left:15px}
.point.plain p.lead+p.lead{margin-top:-4px}
.details .more{align-self:flex-end;margin-top:35px}

/* Formateurs */
.trainers{display:grid;grid-template-columns:repeat(3,261px);gap:25px;justify-content:center}
.trainer-photo{height:194px;background:#d9d9d9;margin:0 1px}
.trainer-body{padding:0 18px;display:flex;flex-direction:column;gap:14px;flex:1}
.trainer-body p{font-weight:500;font-size:12px;line-height:1.5}
.trainer-body strong{display:block;font-weight:600;margin-bottom:6px}
.trainer-body .btn{align-self:flex-start;margin-top:auto}

/* Tarifs */
.pricing{display:grid;grid-template-columns:repeat(2,357px);gap:25px;justify-content:center}

/* Bandeau formation en ligne */
.pub{background:var(--navy)}
.pub .container{display:flex;align-items:center;gap:66px}
.pub-img{flex:0 0 286px;height:202px;background:var(--blue-light)}
.pub-img img{width:100%;height:100%;object-fit:cover}
.pub-text{flex:1;padding:15px 0 15px 49px;color:var(--blue-light)}
.pub-text h2{font-weight:600;font-size:35px;text-transform:uppercase;letter-spacing:.1em;line-height:1}
.pub-text p{font-weight:500;font-size:20px;margin-top:15px;max-width:533px}
.pub .btn{border-color:var(--navy-2)}

/* Témoignages */
.reviews{border-top:1px solid var(--navy);border-bottom:1px solid var(--navy);padding:10px 0}
.reviews-row{display:flex;justify-content:center;gap:25px}
.reviews-row .sep{width:2px;background:var(--navy);margin:13px 0}
.review{width:280px;display:flex;flex-direction:column;gap:20px}
.review h3{font-weight:500;font-size:17px;letter-spacing:.02em;color:var(--blue-med)}
.review .meta{display:flex;flex-direction:column;gap:5px;margin-top:10px}
.review .meta span{display:flex;align-items:center;gap:15px;font-size:12px;color:var(--blue-med);font-weight:500}
.review .meta svg{width:20px;height:20px;flex:none}
.stars{display:flex;gap:5px}
.stars svg{width:20px;height:20px}
.review blockquote{font-weight:500;font-size:11px;line-height:1.55}
.review .author{align-self:flex-end;display:flex;align-items:center;gap:15px;font-weight:500;font-style:italic;font-size:12px;color:var(--blue-med);margin-top:-15px}
.review .author svg{width:20px;height:20px}
.satisfaction{font-weight:500;font-size:17px;letter-spacing:.02em;color:var(--blue-med);margin-top:10px}

/* FAQ */
.faq{max-width:1000px;width:100%;margin:0 auto;display:flex;flex-direction:column;gap:5px}
.faq details{border-bottom:3px solid var(--navy);padding-bottom:5px}
.faq summary{list-style:none;cursor:pointer;background:var(--navy);color:#fff;min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:5px 20px;font-weight:600;font-size:18px}
.faq summary::-webkit-details-marker{display:none}
.faq summary .pm{font-weight:700;font-size:34px;line-height:1;width:24px;text-align:center}
.faq summary .pm::before{content:"+"}
.faq details[open] summary .pm::before{content:"–"}
.faq .answer{background:var(--blue-light);color:var(--navy);font-weight:600;font-size:12px;padding:5px 63px 5px 19px;margin-top:5px}

/* Bandeau jaune */
.why{background:var(--yellow);padding:35px 0}
.why h2{text-align:center;font-weight:600;font-size:35px;text-transform:uppercase;letter-spacing:.1em;color:var(--navy);line-height:1.5}
@media (max-width:1100px){
  .details .cols{gap:40px;padding:0 0 15px}
  .pub-text{padding-left:0}
}
@media (max-width:900px){
  .schedule-row,.trainers{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
  .pricing{grid-template-columns:1fr}
  .details .cols{grid-template-columns:1fr}
  .pub .container{flex-direction:column;align-items:flex-start;gap:20px;padding-bottom:24px}
  .pub-img{width:100%;flex:none}
  .reviews-row{flex-direction:column;align-items:center}
  .reviews-row .sep{width:100%;height:1px;margin:0}
  .review{width:100%;max-width:420px}
}
@media (max-width:640px){
  .hero{flex-direction:column}
  .hero-img{flex:none;width:180px;height:180px}
  .hero h1,.pub-text h2,.why h2{font-size:24px}
  .bullets,.point p.lead{padding-left:20px}
  .point-head{padding-left:0}
  .point-head .num{font-size:28px}
  .point-head h3{font-size:17px}
  .faq summary{font-size:15px}
  .faq .answer{padding-right:19px}
}

/* ===== Ajouts version PHP ===== */
.btn-disabled{background:#d9d9d9;border-color:#d9d9d9;color:#555;font-size:12px;padding:10px 12px;cursor:not-allowed}
.cols-top{padding-top:15px}
.bullets a{text-decoration:underline;text-underline-offset:2px}
.empty{grid-column:1/-1;text-align:center;font-size:14px}
.empty a{color:var(--blue-btn);text-decoration:underline}
.notfound{padding:80px 16px;text-align:center}
.notfound h1{margin-bottom:24px;font-weight:500}

/* ===== Ajouts SEO / lisibilité (page Power BI) ===== */
.hero-sub{font-size:17px!important;font-weight:500;color:var(--blue);margin-bottom:10px}
.hero-lead{font-size:15px!important;line-height:1.65!important}
.updated{font-size:12px!important;color:#555;margin-top:10px}
.section-title{font-weight:600;font-size:26px;letter-spacing:.02em;color:var(--navy);margin-bottom:18px;text-align:center}
.h3{font-family:'Poppins';font-weight:500;font-size:16px;color:var(--blue);margin-bottom:6px}
.facts-title{font-weight:600;font-size:20px;color:var(--navy)}
.facts{display:grid;grid-template-columns:1fr 1fr;gap:10px 30px;font-size:14px}
.facts div{display:flex;flex-direction:column;border-left:3px solid var(--blue-med);padding-left:10px}
.facts dt{font-weight:600;color:var(--navy);font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.facts dd{margin:0}
ul.dates{list-style:none}
.review-role{font-weight:500;font-size:17px;letter-spacing:.02em;color:var(--blue-med)}
.review blockquote{font-size:13px}
.satisfaction small{font-size:12px;font-weight:400;color:#555}
.faq summary h3{font:inherit;margin:0}
.faq .answer{font-weight:500;font-size:14px;line-height:1.6;padding-top:10px;padding-bottom:10px}
.bullets li,.point p.lead{font-size:13.5px;line-height:1.55}
.trainer-name{font-size:18px;font-weight:600}
.trainer-body p{font-size:13px}
.related{text-align:center}
.related-list{display:flex;flex-direction:column;gap:8px;font-size:15px}
.related-list a{color:var(--blue-btn);text-decoration:underline;font-weight:500}
.related-more{margin-top:16px}
@media (max-width:640px){
  .facts{grid-template-columns:1fr}
  .section-title{font-size:21px}
}
.section-intro{max-width:720px;margin:-6px auto 20px;text-align:center;font-size:14px;line-height:1.6}
.trainers{grid-template-columns:repeat(auto-fit,minmax(240px,300px))}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;max-width:1000px;margin:0 auto}
.stats li{background:var(--blue-bg);border:1px solid var(--blue-med);border-radius:15px;padding:16px;text-align:center;display:flex;flex-direction:column;gap:6px}
.stats strong{font-size:22px;font-weight:600;color:var(--navy)}
.stats span{font-size:13px;line-height:1.45}
.prose{max-width:922px}
.prose p{font-size:15px;line-height:1.7;margin-bottom:12px}
.prose a,.answer a,.trainer-body p a{text-decoration:underline;text-underline-offset:2px}
.prose a{color:var(--blue-btn)}
.table-wrap{overflow-x:auto;margin-top:8px}
.compare{width:100%;border-collapse:collapse;font-size:14px;min-width:560px}
.compare caption{text-align:left;font-size:12px;color:#555;padding-bottom:8px}
.compare th,.compare td{padding:10px 12px;border-bottom:1px solid rgba(39,146,250,.3);text-align:left;vertical-align:top}
.compare thead th{background:var(--navy);color:#fff;font-weight:500}
.compare tbody th{font-weight:600;color:var(--navy);background:var(--blue-bg)}
@media (max-width:900px){
  .stats{grid-template-columns:1fr 1fr}
}

/* ===== Pied de page (reprise du footer du site) ===== */
.pub-text h2{font-size:28px;letter-spacing:.06em;line-height:1.15}
.pub .btn{background:var(--yellow);border-color:var(--yellow);color:var(--navy);font-weight:500}
.pub .btn:hover{background:#fff;border-color:#fff;color:var(--navy)}
@media (max-width:640px){
  .pub-text h2{font-size:22px}
}
