.csf-caces-public{--csf-blue:#0e3554;--csf-accent:#0d85b5;max-width:1180px;margin:0 auto;padding:36px 20px 64px;color:#10283a}.csf-caces-public__crumbs{display:flex;gap:8px;flex-wrap:wrap;font-size:14px;margin-bottom:22px}.csf-caces-public__crumbs a{color:var(--csf-accent);text-decoration:none}.csf-caces-public__hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:34px;align-items:center;background:linear-gradient(135deg,#0e3554,#0e5f87);border-radius:24px;padding:42px;color:#fff}.csf-caces-public__eyebrow{display:block;font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:12px;opacity:.85}.csf-caces-public__hero h1{font-size:clamp(30px,4vw,54px);line-height:1.05;margin:10px 0 14px;color:#fff}.csf-caces-public__hero p{font-size:18px;line-height:1.55;max-width:760px}.csf-caces-public__hero-media{background:#fff;border-radius:18px;min-height:220px;display:flex;align-items:center;justify-content:center;padding:18px}.csf-caces-public__hero-media img{max-height:300px;width:100%;object-fit:contain}.csf-caces-public__body{margin-top:28px}.csf-caces-public__body .csf-catalogue-content{max-width:none}.csf-caces-public__nav{display:flex;justify-content:space-between;gap:16px;margin:28px 0}.csf-caces-public__nav a{border:1px solid #cdd9e3;border-radius:999px;padding:11px 18px;text-decoration:none}.csf-caces-public__cta{margin-top:32px;background:#eef7fb;border-radius:18px;padding:24px;display:flex;justify-content:space-between;gap:28px;align-items:center}.csf-caces-public__cta strong{font-size:22px}.csf-caces-public__cta p{margin:8px 0 0}.csf-caces-public__cta>a{background:#0b6595;color:#fff;text-decoration:none;border-radius:999px;padding:13px 22px;font-weight:700;white-space:nowrap}@media(max-width:767px){.csf-caces-public__hero{grid-template-columns:1fr;padding:26px}.csf-caces-public__cta{align-items:flex-start;flex-direction:column}.csf-caces-public__nav{flex-direction:column}}

/* V8.3.2 — attribution des médias documentés */
.csf-caces-public__hero-media{margin:0}.csf-caces-public__media-credit{display:flex;flex-wrap:wrap;gap:5px 9px;margin-top:7px;font-size:11px;line-height:1.45;color:rgba(255,255,255,.78)}.csf-caces-public__media-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}.csf-caces-public__media-credit span:last-child{flex-basis:100%;font-size:10px;opacity:.86}

/* V8.5.3.3 — CACES Family Page UX & Content Deduplication */
.csf-caces-public--caces-family .csf-caces-public__hero{padding:30px 34px;gap:26px}
.csf-caces-public--caces-family .csf-caces-public__hero h1{font-size:clamp(30px,3.35vw,46px);margin-bottom:10px}
.csf-caces-public--caces-family .csf-caces-public__body{margin-top:20px}
.csf-caces-public--caces-family .csf-catalogue-content{padding-top:18px}
.csf-caces-public--caces-family .csf-catalogue-content__meta{margin-bottom:20px}
@media(max-width:767px){.csf-caces-public--caces-family .csf-caces-public__hero{padding:24px}.csf-caces-public--caces-family .csf-caces-public__body{margin-top:16px}}


/* V8.5.3.4 — CACES Category Page Presentation Polish */
.csf-caces-public--caces-category{max-width:1120px;padding-top:28px}
.csf-caces-public--caces-category .csf-caces-public__hero{padding:34px 38px;grid-template-columns:minmax(0,1.45fr) minmax(230px,.55fr);gap:30px}
.csf-caces-public--caces-category .csf-caces-public__hero h1{font-size:clamp(32px,3.65vw,50px);max-width:760px}
.csf-caces-public--caces-category .csf-caces-public__hero-media{min-height:210px;padding:14px}
.csf-caces-public--caces-category .csf-caces-public__hero-media img{max-height:270px}
.csf-caces-public__body--category{margin-top:24px}
.csf-caces-category-sheet{display:grid;gap:20px}
.csf-caces-category-sheet__facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.csf-caces-category-sheet__facts article{min-height:82px;padding:16px 18px;border:1px solid #dfe7ef;border-radius:15px;background:#f5f8fb;display:flex;flex-direction:column;justify-content:center}
.csf-caces-category-sheet__facts span{font-size:12px;color:#64748b;margin-bottom:5px}
.csf-caces-category-sheet__facts strong{font-size:17px;color:#0e3554;line-height:1.25}
.csf-caces-category-sheet__details{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.csf-caces-category-sheet__detail{padding:22px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(14,53,84,.045)}
.csf-caces-category-sheet__kicker{display:block;margin-bottom:6px;color:#0d85b5;font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.csf-caces-category-sheet__detail h2,.csf-caces-category-sheet__training h2{margin:0 0 10px;color:#0e3554;font-size:22px;line-height:1.2}
.csf-caces-category-sheet__detail p,.csf-caces-category-sheet__detail ul,.csf-caces-category-sheet__training p{margin:0;color:#526174;line-height:1.6}
.csf-caces-category-sheet__detail ul{padding-left:20px}
.csf-caces-category-sheet__detail li+li{margin-top:6px}
.csf-caces-category-sheet__training{padding:24px;border-radius:20px;background:linear-gradient(135deg,#eef7fb,#f7fbfd);border:1px solid #d8e9f2}
.csf-caces-category-sheet__training-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 22px;align-items:center}
.csf-caces-category-sheet__training-item h2{grid-column:1}
.csf-caces-category-sheet__training-item h2 a{color:#0e3554;text-decoration:none}
.csf-caces-category-sheet__training-item p{grid-column:1}
.csf-caces-category-sheet__button{grid-column:2;grid-row:1/3;align-self:center;display:inline-flex;align-items:center;justify-content:center;padding:11px 18px;border-radius:999px;background:#0b6595;color:#fff!important;text-decoration:none!important;font-weight:800;white-space:nowrap}
.csf-caces-category-sheet__source{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}
.csf-caces-category-sheet__source span{font-size:12px;font-weight:800;color:#64748b;text-transform:uppercase;letter-spacing:.08em}
.csf-caces-category-sheet__source a{color:#0b6595;text-decoration:underline;text-underline-offset:3px;font-weight:700}
.csf-caces-public__nav--category{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin:24px 0 8px;padding:12px 0;border-top:1px solid #e4ebf1;border-bottom:1px solid #e4ebf1}
.csf-caces-public__nav--category .csf-caces-public__nav-slot{display:flex;justify-content:flex-start}
.csf-caces-public__nav--category .csf-caces-public__nav-slot--end{justify-content:flex-end}
.csf-caces-public__nav--category a{color:#0b6595;border-color:#c8dbe7;font-weight:700}
.csf-caces-public__nav-current{padding:8px 14px;border-radius:999px;background:#f3f7fb;color:#0e3554;font-size:13px;font-weight:800;white-space:nowrap}
.csf-caces-public--caces-category .csf-caces-public__cta{margin-top:22px}
.csf-caces-public--caces-category a:focus-visible{outline:3px solid #f59e0b;outline-offset:3px}
@media(max-width:900px){
 .csf-caces-category-sheet__facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .csf-caces-category-sheet__details{grid-template-columns:1fr}
}
@media(max-width:767px){
 .csf-caces-public--caces-category .csf-caces-public__hero{grid-template-columns:1fr;padding:26px}
 .csf-caces-category-sheet__facts{grid-template-columns:1fr 1fr}
 .csf-caces-category-sheet__training-item{grid-template-columns:1fr}
 .csf-caces-category-sheet__training-item h2,.csf-caces-category-sheet__training-item p,.csf-caces-category-sheet__button{grid-column:1;grid-row:auto}
 .csf-caces-category-sheet__button{justify-self:start;margin-top:6px}
 .csf-caces-category-sheet__source{align-items:flex-start;flex-direction:column}
 .csf-caces-public__nav--category{grid-template-columns:1fr;gap:10px;text-align:center}
 .csf-caces-public__nav--category .csf-caces-public__nav-slot,.csf-caces-public__nav--category .csf-caces-public__nav-slot--end{justify-content:center}
 .csf-caces-public__nav-current{grid-row:1}
}
@media(max-width:480px){.csf-caces-category-sheet__facts{grid-template-columns:1fr}}

/* V8.5.3.6 — CACES Category Hero Media Containment
 * Le crédit média est conservé, mais reste contenu sous l'image dans la carte blanche.
 * Évite tout débordement de texte dans la zone bleue du hero.
 */
.csf-caces-public--caces-category .csf-caces-public__hero>div{min-width:0}
.csf-caces-public--caces-category .csf-caces-public__hero-media{
  min-width:0;
  max-width:100%;
  min-height:190px;
  box-sizing:border-box;
  flex-direction:column;
  align-items:stretch;
  justify-content:center;
  overflow:hidden;
}
.csf-caces-public--caces-category .csf-caces-public__hero-media img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  max-height:250px;
  margin:0 auto;
  object-fit:contain;
}
.csf-caces-public--caces-category .csf-caces-public__media-credit{
  width:100%;
  min-width:0;
  box-sizing:border-box;
  margin:10px 0 0;
  padding:9px 2px 0;
  border-top:1px solid #e2e8f0;
  color:#526174;
  font-size:10px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.csf-caces-public--caces-category .csf-caces-public__media-credit a{
  color:#0b6595;
  text-decoration:underline;
  text-underline-offset:2px;
}
.csf-caces-public--caces-category .csf-caces-public__media-credit span:last-child{
  flex-basis:100%;
  color:#64748b;
}
@media(max-width:767px){
  .csf-caces-public--caces-category .csf-caces-public__hero-media{min-height:0}
  .csf-caces-public--caces-category .csf-caces-public__hero-media img{max-height:280px}
}


/* V8.5.3.7 — CACES Family Grid & Premium Presentation */
.csf-caces-public--caces-family{max-width:1160px;padding-top:28px}
.csf-caces-public--caces-family .csf-caces-public__hero{grid-template-columns:1fr;padding:36px 40px;min-height:0}
.csf-caces-public--caces-family .csf-caces-public__hero h1{max-width:900px;font-size:clamp(32px,3.7vw,50px)}
.csf-caces-public--caces-family .csf-caces-public__hero p{max-width:900px}
.csf-caces-public__body--family{margin-top:20px}
.csf-caces-family-sheet{display:grid;gap:24px}
.csf-caces-family-sheet__facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.csf-caces-family-sheet__facts article{min-height:86px;padding:16px 18px;border:1px solid #dfe7ef;border-radius:15px;background:#f5f8fb;display:flex;flex-direction:column;justify-content:center}
.csf-caces-family-sheet__facts span{font-size:12px;color:#64748b;margin-bottom:5px}
.csf-caces-family-sheet__facts strong{font-size:17px;color:#0e3554;line-height:1.25}
.csf-caces-family-sheet__heading{display:flex;justify-content:space-between;gap:20px;align-items:end;padding-top:4px}
.csf-caces-family-sheet__kicker{display:block;margin-bottom:6px;color:#0d85b5;font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.csf-caces-family-sheet__heading h2{margin:0;color:#0e3554;font-size:clamp(26px,3vw,36px);line-height:1.15}
.csf-caces-family-sheet__heading p{margin:8px 0 0;color:#64748b;line-height:1.55}
.csf-caces-family-sheet__grid{display:grid;gap:18px;align-items:stretch}
.csf-caces-family-sheet__grid--1{grid-template-columns:minmax(0,560px);justify-content:center}
.csf-caces-family-sheet__grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.csf-caces-family-sheet__grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.csf-caces-family-sheet__grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.csf-caces-family-card{min-width:0;border:1px solid #dfe7ef;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 12px 30px rgba(14,53,84,.055);display:flex;flex-direction:column}
.csf-caces-family-card__media{aspect-ratio:4/3;min-height:180px;padding:14px;background:#f5f8fb;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #e5edf3}
.csf-caces-family-card__media img{display:block;width:100%;height:100%;max-height:220px;object-fit:contain;border-radius:12px}
.csf-caces-family-card__content{padding:20px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;flex:1}
.csf-caces-family-card__code{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eaf5fa;color:#0b6595;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.csf-caces-family-card h3{margin:0;color:#0e3554;font-size:21px;line-height:1.2}
.csf-caces-family-card p{margin:0;color:#59697a;line-height:1.55;font-size:14px}
.csf-caces-family-card__count{display:inline-flex;margin-top:auto;padding-top:4px;color:#526174;font-size:12px;font-weight:700}
.csf-caces-family-card__button{display:inline-flex;align-items:center;justify-content:center;margin-top:4px;padding:11px 16px;border-radius:999px;background:#0b6595;color:#fff!important;text-decoration:none!important;font-weight:800;font-size:14px;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.csf-caces-family-card__button:hover{background:#084e74;transform:translateY(-1px);box-shadow:0 8px 18px rgba(11,101,149,.18)}
.csf-caces-family-card__button:focus-visible,.csf-caces-family-sheet__source a:focus-visible{outline:3px solid #f59e0b;outline-offset:3px}
.csf-caces-family-sheet__source{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border:1px solid #dfe7ef;border-radius:16px;background:#f8fbfd}
.csf-caces-family-sheet__source>div{display:flex;flex-direction:column;gap:3px}
.csf-caces-family-sheet__source span{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#64748b}
.csf-caces-family-sheet__source strong{color:#0e3554;font-size:16px}
.csf-caces-family-sheet__source a{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border:1px solid #bfd6e4;border-radius:999px;color:#0b6595;text-decoration:none;font-weight:800;white-space:nowrap}
.csf-caces-public--caces-family .csf-caces-public__cta{margin-top:24px}
@media(max-width:1020px){
 .csf-caces-family-sheet__grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
 .csf-caces-family-sheet__grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
 .csf-caces-family-sheet__facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .csf-caces-public--caces-family .csf-caces-public__hero{padding:30px}
}
@media(max-width:640px){
 .csf-caces-family-sheet__grid--2,.csf-caces-family-sheet__grid--3,.csf-caces-family-sheet__grid--4{grid-template-columns:1fr}
 .csf-caces-family-sheet__facts{grid-template-columns:1fr 1fr}
 .csf-caces-family-sheet__source{align-items:flex-start;flex-direction:column}
 .csf-caces-family-sheet__source a{white-space:normal;text-align:center}
}
@media(max-width:460px){
 .csf-caces-family-sheet__facts{grid-template-columns:1fr}
 .csf-caces-public--caces-family .csf-caces-public__hero{padding:24px}
 .csf-caces-family-card__media{min-height:150px}
}
