/* ---------- Pages d'offres et de formations ---------- */
.back-link{font-size:.88rem;font-weight:700;text-decoration:none;color:var(--black);display:inline-flex;align-items:center;gap:.4rem}
.back-link:hover{color:var(--orange)}

/* en-tête */
.p-hero{padding:1.4rem 0 0}
.p-hero-card{
  background:var(--black);color:#fff;border-radius:calc(var(--radius) + 10px);
  padding:2.4rem 1.5rem;position:relative;overflow:hidden;
  display:grid;gap:2rem;
}
.p-hero-card::before{
  content:"";position:absolute;inset:0;opacity:.07;pointer-events:none;
  background-image:linear-gradient(#fff 1px,transparent 1px),linear-gradient(90deg,#fff 1px,transparent 1px);
  background-size:72px 72px;
}
.p-hero-card > *{position:relative}
@media(min-width:960px){.p-hero-card{grid-template-columns:1.35fr .65fr;align-items:center;padding:3.4rem 3rem}}
.p-kicker{display:inline-flex;align-items:center;gap:.55rem;font-size:.85rem;font-weight:700;color:rgba(255,255,255,.75)}
.p-kicker .oa-mark{background:var(--orange)}
.p-hero h1{font-size:clamp(2rem,6vw,3.3rem);font-weight:800;margin:.8rem 0 .9rem;color:#fff}
.p-hero h1 .oit{color:var(--orange);font-style:italic}
.p-lead{font-size:1.02rem;color:rgba(255,255,255,.78);max-width:36rem}
.p-ctas{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.6rem}
.p-ctas .btn-ghost-w{padding:.85rem 1.3rem}

/* encadré « En bref » */
.brief{background:var(--black-2);border:1px solid var(--line-dark);border-radius:18px;padding:1.3rem 1.3rem .6rem}
.brief h2{font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--orange);margin:0 0 .6rem}
.brief dl{display:grid}
.brief dt{font-size:.74rem;font-weight:600;color:rgba(255,255,255,.55)}
.brief dd{font-size:.95rem;font-weight:700;color:#fff;padding-bottom:.75rem;margin-bottom:.75rem;border-bottom:1px solid var(--line-dark)}
.brief dd:last-child{border-bottom:none;margin-bottom:0}

/* blocs */
.blk{padding:3.4rem 0 0}
.blk h2{font-size:clamp(1.5rem,4vw,2.2rem);margin:.5rem 0 .6rem}
.blk .sub{margin-bottom:1.6rem}
.chips{display:flex;flex-wrap:wrap;gap:.5rem}
.chips span{font-size:.82rem;font-weight:700;background:var(--white);border:1px solid var(--line);border-radius:99px;padding:.5rem 1rem}

/* liste à cocher sur 2 colonnes */
.checks{list-style:none;display:grid;gap:.7rem;background:var(--white);border-radius:var(--radius);padding:1.5rem 1.4rem}
@media(min-width:760px){.checks{grid-template-columns:1fr 1fr;gap:.9rem 2rem;padding:1.8rem 2rem}}
.checks li{display:flex;gap:.65rem;align-items:flex-start;font-size:.95rem;font-weight:600;line-height:1.45}
.checks li::before{
  content:"";flex:none;width:20px;height:20px;margin-top:.05rem;border-radius:50%;
  background:var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* cartes de formules */
.kinds{display:grid;gap:1rem}
@media(min-width:900px){.kinds{grid-template-columns:repeat(3,1fr)}}
.kind{background:var(--white);border-radius:var(--radius);padding:1.6rem 1.4rem;display:flex;flex-direction:column;gap:.6rem}
.kind.dark{background:var(--black);color:#fff}
.kind .k-num{font-size:.85rem;font-weight:800;color:var(--orange)}
.kind h3{font-size:1.25rem;font-weight:800}
.kind p{font-size:.92rem;color:#3c3c3c}
.kind.dark p{color:rgba(255,255,255,.78)}
.kind .btn-wa{margin-top:auto;align-self:flex-start;font-size:.85rem;padding:.7rem 1.15rem}
.kind .k-spacer{flex:1}

/* déroulé compact : ligne sur ordinateur, liste serrée sur mobile */
.flowline{list-style:none;display:grid;gap:0;background:var(--white);border-radius:var(--radius);padding:1.2rem 1.3rem}
.flowline li{display:grid;grid-template-columns:28px 1fr;gap:.75rem;align-items:start;padding:.55rem 0;position:relative}
.flowline li::before{
  content:attr(data-n);width:28px;height:28px;border-radius:50%;background:var(--black);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:.78rem;font-weight:800;
}
.flowline li:first-child::before{background:var(--orange)}
.flowline b{display:block;font-size:.95rem;font-weight:800;line-height:1.3}
.flowline span{display:block;font-size:.84rem;color:var(--gray);line-height:1.45}
@media(min-width:960px){
  .flowline{grid-template-columns:repeat(var(--steps,5),1fr);gap:1rem;padding:1.6rem 1.6rem}
  .flowline li{grid-template-columns:1fr;gap:.6rem;padding:0}
  .flowline li:not(:last-child)::after{
    content:"";position:absolute;top:14px;left:38px;right:-6px;height:2px;background:var(--line);
  }
}

/* preuves */
.proofs{display:grid;gap:1rem}
@media(min-width:760px){.proofs{grid-template-columns:repeat(3,1fr)}}
.proof-card{background:var(--white);border-radius:var(--radius);padding:1.4rem 1.3rem;display:flex;flex-direction:column;gap:.4rem}
.proof-card b{font-size:1.05rem;font-weight:800}
.proof-card small{font-size:.86rem;color:var(--gray);line-height:1.5}
.proof-card .tag{align-self:flex-start;font-size:.72rem;font-weight:800;color:#1f8a52;display:inline-flex;align-items:center;gap:.4rem}

/* modules de formation */
.modules{display:grid;gap:.8rem}
@media(min-width:760px){.modules{grid-template-columns:1fr 1fr}}
.module{background:var(--white);border-radius:18px;padding:1.3rem 1.3rem;display:grid;grid-template-columns:auto 1fr;gap:.2rem 1rem}
.module .m-num{grid-row:1/3;font-size:1.6rem;font-weight:800;color:var(--orange);line-height:1}
.module b{font-size:1rem;font-weight:800}
.module span{font-size:.88rem;color:var(--gray);line-height:1.5}

/* FAQ */
.faq{display:grid;gap:.6rem}
.faq details{background:var(--white);border-radius:16px;padding:0 1.2rem}
.faq summary{
  cursor:pointer;list-style:none;font-weight:800;font-size:.98rem;padding:1.05rem 0;
  display:flex;justify-content:space-between;gap:1rem;align-items:center;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";width:18px;height:18px;flex:none;transition:transform .2s;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4551E' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{font-size:.92rem;color:#3c3c3c;padding:0 0 1.1rem}

/* bandeau final */
.p-final{padding:3.4rem 0 6.5rem}
.p-final .contact-card{padding:2.8rem 1.5rem}

/* barre d'action fixe en bas (mobile) */
.sticky-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:150;display:flex;gap:.6rem;align-items:center;
  background:rgba(241,239,236,.96);backdrop-filter:blur(8px);padding:.7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  border-top:1px solid var(--line);
}
.sticky-cta .btn-wa{flex:1}
.sticky-cta small{font-size:.72rem;color:var(--gray);font-weight:600;max-width:7rem;line-height:1.3}
@media(min-width:861px){.sticky-cta{display:none}.p-final{padding-bottom:4.5rem}}
@media(max-width:860px){.wa-float{display:none}}

/* lien « Voir l'offre » sur les cartes de l'accueil */
.more-link{font-size:.88rem;font-weight:700;text-decoration:none;color:inherit;display:inline-flex;align-items:center;gap:.35rem;border-bottom:2px solid var(--orange);padding-bottom:.1rem}
.more-link:hover{color:var(--orange)}
.offer h3 a{color:inherit;text-decoration:none}
.offer h3 a:hover{color:var(--orange)}
