:root {
  --navy: #09263f;
  --navy-2: #0d3554;
  --ink: #102536;
  --cyan: #1db6c9;
  --coral: #f26f5b;
  --blue: #407bff;
  --mist: #eef5f7;
  --white: #fff;
  --muted: #617384;
  --border: #dce7eb;
  --shadow: 0 24px 70px rgba(9, 38, 63, 0.12);
  --radius: 18px;
  --shell: min(1180px, calc(100% - 40px));
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button,
input {
  font: inherit;
}
.shell {
  width: var(--shell);
  margin-inline: auto;
}
.skip {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: #fff;
  padding: 0.8rem 1rem;
  border-radius: 8px;
}
.skip:focus {
  top: 1rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.topline {
  background: var(--navy);
  color: #c9dbe6;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.topline-inner {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topline a {
  color: #fff;
  font-weight: 700;
}
.nav {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: grid;
  line-height: 1;
}
.brand-name {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.07em;
  color: var(--navy);
}
.brand-name span {
  color: var(--coral);
}
.brand-baseline {
  margin-top: 0.25rem;
  font-size: 0.61rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--muted);
  font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  font-size: 0.88rem;
  font-weight: 700;
}
.nav-links > a:not(.button) {
  position: relative;
}
.nav-links > a:not(.button):after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--coral);
  transition: right 0.25s;
}
.nav-links > a:hover:after {
  right: 0;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 0.5rem;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--navy);
  margin: 5px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--coral);
  color: #fff;
  padding: 1rem 1.35rem;
  border-radius: 7px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(242, 111, 91, 0.22);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(242, 111, 91, 0.32);
}
.button-small {
  padding: 0.72rem 1rem;
  font-size: 0.82rem;
}
.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #e8eff1;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 30, 50, 0.95) 0%,
    rgba(7, 30, 50, 0.85) 37%,
    rgba(7, 30, 50, 0.22) 67%,
    rgba(7, 30, 50, 0.04) 100%
  );
}
.hero-content {
  position: relative;
  color: #fff;
  padding-block: 5.8rem;
  z-index: 1;
}
.eyebrow,
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.73rem;
  font-weight: 900;
  color: var(--coral);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #cfe8ef;
}
.eyebrow span {
  width: 30px;
  height: 2px;
  background: var(--coral);
}
h1 {
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin: 1.1rem 0 1.4rem;
  max-width: 780px;
}
h1 em {
  font-style: normal;
  color: #72d6df;
}
.hero-content > p {
  max-width: 600px;
  font-size: 1.14rem;
  color: #e0ebf0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.2rem;
}
.text-link {
  font-weight: 800;
  color: #fff;
}
.text-link span {
  margin-left: 0.5rem;
}
.text-link.dark {
  color: var(--navy);
}
.trust-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 3.2rem 0 0;
  color: #d5e4ea;
  font-size: 0.85rem;
  font-weight: 700;
}
.trust-list span {
  color: #75dae2;
  margin-right: 0.4rem;
}
.quick-search {
  position: relative;
  margin-top: -52px;
  z-index: 2;
}
.search-card {
  min-height: 128px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 1.8rem 2.2rem;
}
.search-card h2 {
  font-size: 1.35rem;
  margin: 0.3rem 0 0;
}
.search-field {
  height: 58px;
  border: 1px solid var(--border);
  border-radius: 9px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding-left: 1rem;
  background: #f9fbfc;
}
.search-field svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2;
}
.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 1rem;
  color: var(--ink);
}
.search-field button {
  height: 44px;
  width: 44px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--navy);
  cursor: pointer;
}
.section {
  padding-block: 7rem;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
  margin-bottom: 2.6rem;
}
.section-heading h2,
.impact h2,
.approach h2,
.faq-intro h2,
.contact h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0.8rem 0 0;
  max-width: 720px;
}
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.training-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
  background: #fff;
}
.training-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.training-card.featured {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 2.2rem;
}
.card-icon.cyan {
  background: var(--cyan);
}
.card-icon.coral {
  background: var(--coral);
}
.card-icon.navy {
  background: var(--navy);
}
.card-tag {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.68rem;
  font-weight: 900;
  color: var(--coral);
}
.training-card h3 {
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin: 0.7rem 0;
}
.training-card p {
  color: var(--muted);
  margin-top: 0;
}
.training-card.featured p {
  color: #bfd0da;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: auto 0 1.5rem;
}
.card-meta span {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.6rem;
  border-radius: 99px;
  background: var(--mist);
  color: var(--navy);
}
.featured .card-meta span {
  background: #173f5e;
  color: #d4e6ed;
}
.training-card > a {
  font-weight: 900;
  font-size: 0.86rem;
  color: var(--coral);
}
.impact {
  background: var(--navy);
  color: #fff;
  padding-block: 7rem;
  overflow: hidden;
}
.impact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 5rem;
}
.section-kicker.light {
  color: #76d9e2;
}
.impact-copy > p {
  color: #c2d4de;
  max-width: 480px;
}
.data-note {
  font-size: 0.75rem;
  opacity: 0.65;
}
.donuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.donut-card {
  text-align: center;
  padding: 1.5rem 0.5rem;
}
.donut {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 1.3rem;
}
.donut svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.donut circle {
  fill: none;
  stroke-width: 7;
}
.donut .track {
  stroke: #21445f;
}
.donut .progress {
  stroke-dasharray: 320.44;
  stroke-dashoffset: 320.44;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cyan-stroke {
  stroke: var(--cyan);
}
.coral-stroke {
  stroke: var(--coral);
}
.blue-stroke {
  stroke: #6d9bff;
}
.donut strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2.1rem;
}
.donut small {
  font-size: 0.9rem;
}
.donut-card h3 {
  font-size: 1rem;
  margin: 0;
}
.donut-card p {
  color: #9fb7c6;
  margin: 0;
  font-size: 0.82rem;
}
.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.approach-panel {
  position: relative;
  padding-left: 3rem;
}
.approach-number {
  position: absolute;
  left: 0;
  top: -4rem;
  font-size: 8rem;
  font-weight: 900;
  color: #eef3f5;
  line-height: 1;
  z-index: -1;
}
.approach-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.steps div {
  background: #fff;
  padding: 1.7rem;
}
.steps span {
  color: var(--coral);
  font-weight: 900;
  font-size: 0.75rem;
}
.steps strong {
  display: block;
  font-size: 1.1rem;
  margin: 0.55rem 0;
}
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.faq-section {
  background: var(--mist);
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 6rem;
}
.faq-intro > p {
  color: var(--muted);
}
.faq-list details {
  border-bottom: 1px solid #cbdce2;
  padding: 1.2rem 0;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-weight: 850;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary span {
  color: var(--coral);
  font-size: 1.3rem;
  transition: transform 0.2s;
}
.faq-list details[open] summary span {
  transform: rotate(45deg);
}
.faq-list p {
  color: var(--muted);
  padding-right: 3rem;
}
.contact {
  padding-block: 5rem;
  background: var(--coral);
  color: #fff;
}
.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.contact h2 {
  margin-top: 0.5rem;
}
.button-light {
  background: #fff;
  color: var(--navy);
  box-shadow: none;
  white-space: nowrap;
}
.footer {
  background: #061d30;
  color: #9fb3c0;
  padding-block: 2.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  font-size: 0.78rem;
}
.footer-brand {
  color: #fff;
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .donut .progress {
    transition: none;
  }
  .button,
  .training-card {
    transition: none;
  }
}
@media (max-width: 900px) {
  :root {
    --shell: min(100% - 32px, 720px);
  }
  .topline {
    display: none;
  }
  .nav {
    height: 70px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    z-index: 10;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 20px 35px rgba(9, 38, 63, 0.12);
    padding: 1.2rem 1rem;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 0.35rem 1rem;
  }
  .hero {
    min-height: 620px;
  }
  .hero-image {
    object-position: 62% center;
  }
  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(7, 30, 50, 0.96),
      rgba(7, 30, 50, 0.8) 62%,
      rgba(7, 30, 50, 0.35)
    );
  }
  .hero-content {
    padding-block: 4.4rem;
  }
  .search-card {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }
  .training-grid {
    grid-template-columns: 1fr 1fr;
  }
  .training-card:last-child {
    grid-column: 1/-1;
  }
  .impact-grid,
  .approach,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .donuts {
    max-width: 650px;
  }
  .footer-inner {
    grid-template-columns: 1fr 2fr;
  }
  .footer-inner p:last-child {
    display: none;
  }
}
@media (max-width: 600px) {
  :root {
    --shell: calc(100% - 28px);
  }
  body {
    font-size: 16px;
  }
  .brand-name {
    font-size: 1.65rem;
  }
  .brand-baseline {
    font-size: 0.52rem;
  }
  .hero {
    min-height: 690px;
  }
  .hero-image {
    object-position: 66% center;
  }
  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(7, 30, 50, 0.96),
      rgba(7, 30, 50, 0.8)
    );
  }
  .hero-content {
    padding-block: 3.5rem 7rem;
  }
  h1 {
    font-size: 2.7rem;
  }
  .hero-content > p {
    font-size: 1rem;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 1.1rem;
  }
  .text-link {
    text-align: center;
  }
  .trust-list {
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 2rem;
  }
  .quick-search {
    margin-top: -62px;
  }
  .search-card {
    padding: 1.35rem;
    min-height: 0;
  }
  .search-card h2 {
    font-size: 1.1rem;
  }
  .section {
    padding-block: 4.5rem;
  }
  .section-heading {
    display: block;
  }
  .section-heading .text-link {
    display: inline-block;
    margin-top: 1.5rem;
  }
  .training-grid {
    grid-template-columns: 1fr;
  }
  .training-card,
  .training-card:last-child {
    grid-column: auto;
    min-height: 390px;
  }
  .impact {
    padding-block: 4.5rem;
  }
  .donuts {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .donut-card:last-child {
    grid-column: 1/-1;
  }
  .donut {
    width: 125px;
    height: 125px;
  }
  .approach {
    gap: 3.5rem;
  }
  .approach-panel {
    padding-left: 0;
  }
  .approach-number {
    left: -0.5rem;
    top: -2.5rem;
    font-size: 6rem;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    gap: 2rem;
  }
  .contact-inner {
    align-items: stretch;
    flex-direction: column;
  }
  .contact h2 {
    font-size: 2.25rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}
/* Identité visuelle officielle RSST */
.brand {
  display: block;
}
.brand img {
  width: 190px;
  height: auto;
}
.donut strong {
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.05em;
}
.donut small {
  font-size: 0.78rem;
  margin-left: 0.15rem;
}
.footer-logo {
  width: 145px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
@media (max-width: 600px) {
  .brand img {
    width: 150px;
  }
}
/* Catalogue et fiche formation */
.inner-hero {
  background: var(--navy);
  color: #fff;
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.inner-hero:after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 80px solid rgba(29, 182, 201, 0.12);
  border-radius: 50%;
  right: -120px;
  top: -180px;
}
.breadcrumbs {
  font-size: 0.78rem;
  color: #b7cbd7;
  margin-bottom: 1.3rem;
}
.breadcrumbs a {
  color: #fff;
}
.inner-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  max-width: 850px;
  margin: 0.5rem 0 1rem;
}
.inner-hero p {
  max-width: 700px;
  color: #d5e3e9;
  font-size: 1.08rem;
}
.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin: 2.3rem 0 1.5rem;
}
.catalog-search {
  height: 58px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 1rem;
  width: 100%;
  background: #f8fbfc;
}
.filter-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.filter-chip {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 0.62rem 0.9rem;
  font-weight: 800;
  cursor: pointer;
}
.filter-chip[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.catalog-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1.6rem;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.catalog-grid .training-card {
  min-height: 350px;
}
.training-card[hidden] {
  display: none;
}
.category-title {
  grid-column: 1/-1;
  margin: 2rem 0 0;
}
.page-section {
  padding-block: 5rem;
}
.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 4rem;
  align-items: start;
}
.course-main h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 3.5rem 0 1rem;
}
.course-main h2:first-child {
  margin-top: 0;
}
.course-main h3 {
  font-size: 1.2rem;
  margin: 2rem 0 0.6rem;
}
.course-main p,
.course-main li {
  color: var(--muted);
}
.course-main li + li {
  margin-top: 0.55rem;
}
.course-summary {
  position: sticky;
  top: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.course-summary h2 {
  font-size: 1.2rem;
  margin: 0 0 1rem;
}
.fact-list {
  margin: 0 0 1.5rem;
}
.fact-list div {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}
.fact-list dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 900;
}
.fact-list dd {
  margin: 0.15rem 0 0;
  font-weight: 850;
  color: var(--navy);
}
.course-summary .button {
  width: 100%;
  margin-top: 0.6rem;
}
.outline-button {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--border);
  box-shadow: none;
}
.objectives {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  list-style: none;
  padding: 0;
}
.objectives li {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  color: var(--ink);
}
.objectives li:before {
  content: "✓";
  color: var(--coral);
  font-weight: 900;
  margin-right: 0.6rem;
}
.program-list {
  counter-reset: item;
  list-style: none;
  padding: 0;
}
.program-list li {
  counter-increment: item;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.program-list li:before {
  content: counter(item);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--navy);
  font-weight: 900;
}
.course-faq details {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.course-faq summary {
  cursor: pointer;
  font-weight: 850;
}
.mobile-actions {
  display: none;
}
@media (max-width: 900px) {
  .catalog-toolbar {
    grid-template-columns: 1fr;
  }
  .catalog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .course-layout {
    grid-template-columns: 1fr;
  }
  .course-summary {
    position: static;
  }
}
@media (max-width: 600px) {
  .inner-hero {
    padding: 3.5rem 0;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .filter-row {
    flex-wrap: nowrap;
    overflow: auto;
    padding-bottom: 0.4rem;
  }
  .filter-chip {
    white-space: nowrap;
  }
  .course-layout {
    gap: 2rem;
  }
  .objectives {
    grid-template-columns: 1fr;
  }
  .course-summary .button {
    display: none;
  }
  .mobile-actions {
    position: fixed;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 0.5rem;
    z-index: 20;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.65rem;
    background: #fff;
    box-shadow: 0 -8px 25px rgba(9, 38, 63, 0.13);
  }
  .mobile-actions a {
    padding: 0.8rem 0.5rem;
    text-align: center;
    border-radius: 7px;
    font-weight: 850;
  }
  .mobile-actions a:first-child {
    border: 1px solid var(--border);
  }
  .mobile-actions a:last-child {
    background: var(--coral);
    color: #fff;
  }
  .footer {
    padding-bottom: 6rem;
  }
}
.legal-content {
  max-width: 920px;
}
.legal-content h2 {
  scroll-margin-top: 1rem;
}
.legal-content a:not(.button) {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.contact-options section {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: #fff;
}
.contact-options h2 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}
.contact-options .button {
  display: inline-flex;
}
.error-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
@media (max-width: 760px) {
  .contact-options {
    grid-template-columns: 1fr;
  }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.footer-grid h2 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.8rem;
}
.footer-grid p {
  margin: 0 0 0.8rem;
}
.footer-grid a {
  text-decoration: none;
}
.footer-grid a:hover {
  text-decoration: underline;
}
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
}
.footer-bottom p {
  margin: 0;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-bottom {
    margin-top: 1.5rem;
  }
}
.form-hero {
  padding-bottom: 3.5rem;
}
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3rem;
  align-items: start;
}
.rsst-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff;
  box-shadow: var(--shadow);
}
.rsst-form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 2.2rem;
}
.rsst-form legend {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1.2rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field.span-2 {
  grid-column: 1/-1;
}
.field label {
  font-weight: 800;
  color: var(--navy);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b8c8d1;
  border-radius: 9px;
  padding: 0.82rem 0.9rem;
}
.field input,
.field select {
  min-height: 48px;
}
.field textarea {
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(29, 182, 201, 0.22);
  border-color: var(--teal);
}
.field small {
  color: var(--muted);
  text-align: right;
}
.form-privacy {
  font-size: 0.87rem;
  color: var(--muted);
}
.form-privacy a,
.form-help a {
  text-decoration: underline;
}
.preview-notice {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 1rem 0;
  padding: 1rem;
  border-left: 4px solid var(--teal);
  border-radius: 0 9px 9px 0;
  background: var(--mist);
}
.preview-notice[hidden],
.company-fields[hidden] {
  display: none;
}
.form-aside {
  position: sticky;
  top: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--mist);
}
.form-aside h2 {
  font-size: 1.25rem;
  margin: 1.8rem 0 0.5rem;
}
.form-aside h2:first-child {
  margin-top: 0;
}
.form-aside hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}
.login-wrap {
  display: grid;
  place-items: center;
}
.login-card {
  width: min(100%, 520px);
}
.login-card .field + .field {
  margin-top: 1rem;
}
.form-help {
  margin-bottom: 0;
  color: var(--muted);
}
@media (max-width: 850px) {
  .form-layout {
    grid-template-columns: 1fr;
  }
  .form-aside {
    position: static;
  }
}
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.span-2 {
    grid-column: auto;
  }
  .rsst-form {
    padding: 1.1rem;
  }
  .form-layout {
    gap: 1.5rem;
  }
}
.captcha-block {
  margin: 1.2rem 0 1.4rem;
}
.captcha-label {
  display: block;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.55rem;
}
.captcha-block small {
  display: block;
  color: var(--muted);
  margin-top: 0.45rem;
}
.g-recaptcha {
  max-width: 100%;
  overflow: hidden;
}
@media (max-width: 380px) {
  .g-recaptcha {
    transform: scale(0.86);
    transform-origin: left top;
    margin-bottom: -11px;
  }
}
.registration-form {
  max-width: 980px;
  margin: auto;
}
.form-progress {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.form-progress span {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: var(--mist);
  font-size: 0.8rem;
  font-weight: 850;
}
.form-progress .active {
  background: var(--navy);
  color: #fff;
}
.participant-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: #fafdfe;
}
.participant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.participant-head h2 {
  font-size: 1.15rem;
  margin: 0;
}
.remove-participant {
  border: 0;
  background: transparent;
  color: #a33737;
  text-decoration: underline;
  cursor: pointer;
}
.add-participant {
  margin-top: 0.4rem;
}
.rsst-form .consent-row {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  gap: 0.75rem;
  align-items: start;
  margin: 1.4rem 0;
}
.rsst-form .consent-row input[type="checkbox"] {
  display: block;
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  margin: 0.15rem 0 0 !important;
  padding: 0 !important;
}
.rsst-form .consent-row label {
  display: block;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  line-height: 1.55;
}
.rsst-form .consent-row .field-error-message {
  grid-column: 1/-1;
}
.document-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.document-toolbar h2 {
  margin: 0.35rem 0 0;
}
.document-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.document-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.3rem;
  background: #fff;
}
.document-card h2 {
  font-size: 1.15rem;
  margin: 0.7rem 0;
}
.document-card p {
  color: var(--muted);
  flex: 1;
}
.document-card small {
  display: block;
  color: var(--muted);
  margin-top: 0.55rem;
}
.document-card button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}
.document-type {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  color: var(--coral);
}
@media (max-width: 850px) {
  .document-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .document-toolbar {
    align-items: start;
    flex-direction: column;
  }
  .document-grid {
    grid-template-columns: 1fr;
  }
}
/* Contenu éditorial détaillé des formations */
.course-toc {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fbfc;
  margin-bottom: 2.8rem;
}
.course-toc strong {
  margin-right: 0.35rem;
  color: var(--navy);
}
.course-toc a {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--navy);
  padding: 0.35rem 0.65rem;
  border-radius: 99px;
  background: #fff;
  border: 1px solid var(--border);
}
.course-highlight {
  margin: 1.8rem 0;
  padding: 1.4rem 1.5rem;
  border-left: 4px solid var(--coral);
  background: var(--mist);
  border-radius: 0 12px 12px 0;
}
.course-highlight strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
}
.course-highlight p {
  margin: 0.35rem 0 0;
}
.program-block {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.3rem 1.5rem;
  margin: 1rem 0;
  background: #fff;
}
.program-block h3 {
  margin: 0.35rem 0 0.7rem;
}
.program-block ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}
.program-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 900;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.detail-grid > div {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.3rem;
}
.detail-grid h3 {
  margin-top: 0;
}
.inline-link {
  color: #0a668f;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 800;
}
.source-note {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}
.sessions-section {
  margin: 3rem 0;
  padding: 2rem;
  border-radius: 18px;
  background: var(--mist);
}
.sessions-section > h2 {
  margin-top: 0.45rem;
}
.sessions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.4rem;
}
.session-card {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
.session-card > span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.session-card h3 {
  margin: 0.4rem 0;
  font-size: 1.05rem;
}
.session-card p {
  margin: 0 0 0.8rem;
}
.session-card a {
  color: #0a668f;
  font-size: 0.85rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 600px) {
  .detail-grid,
  .sessions-grid {
    grid-template-columns: 1fr;
  }
  .course-toc {
    align-items: flex-start;
  }
  .sessions-section {
    padding: 1.35rem;
  }
}
.field-invalid input,
.field-invalid select,
.field-invalid textarea,
.captcha-invalid {
  border: 2px solid #b42318 !important;
  background: #fff8f7;
}
.field-invalid input:focus,
.field-invalid select:focus,
.field-invalid textarea:focus {
  outline: 3px solid rgba(180, 35, 24, 0.18);
  border-color: #b42318;
}
.field-error-message {
  display: block;
  color: #b42318;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: left !important;
}
.form-status {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  border: 2px solid;
  border-radius: 12px;
}
.form-status[hidden] {
  display: none;
}
.form-status-error {
  border-color: #b42318;
  background: #fff1f0;
  color: #7a271a;
}
.form-status-success {
  border-color: #16803b;
  background: #edfdf3;
  color: #116329;
}
.form-status strong {
  font-size: 1rem;
}
.captcha-invalid {
  padding: 1rem;
  border-radius: 12px;
}
.consent-row.field-invalid {
  padding: 0.9rem;
  border: 2px solid #b42318;
  border-radius: 10px;
  background: #fff8f7;
}
.consent-row.field-invalid .field-error-message {
  grid-column: 1/-1;
}
.about-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.about-numbers > div,
.certification-grid article {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem;
  background: #fff;
}
.about-numbers strong {
  display: block;
  color: var(--navy);
  font-size: 1.35rem;
}
.about-numbers span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
}
.certification-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.certification-grid h3 {
  margin: 0.45rem 0;
}
.certification-grid article > span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 900;
}
@media (max-width: 720px) {
  .about-numbers,
  .certification-grid {
    grid-template-columns: 1fr;
  }
}
.certification-logo {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
}
.certification-logo img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
}
.certification-logo-wide img {
  max-height: 110px;
}
.certification-wide {
  grid-column: 1/-1;
}
.inrs-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}
.inrs-logo-grid figure {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  background: #fff;
}
.inrs-logo-grid img {
  width: 100%;
  height: 170px;
  object-fit: contain;
}
.inrs-logo-grid figcaption {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--navy);
}
@media (max-width: 720px) {
  .inrs-logo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .certification-wide {
    grid-column: auto;
  }
}
@media (max-width: 420px) {
  .inrs-logo-grid {
    grid-template-columns: 1fr;
  }
}
/* Références et témoignages clients */
.section-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}
.section-heading p {
  color: var(--muted);
}
.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.client-logo {
  min-height: 110px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.client-logo img {
  width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.82;
  transition:
    filter 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}
.client-logo:hover img,
.client-logo:focus-within img {
  filter: none;
  opacity: 1;
  transform: scale(1.03);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.testimonial-card {
  margin: 0;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(2, 35, 60, 0.06);
}
.testimonial-card p {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
}
.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.testimonial-card footer span {
  color: var(--muted);
  font-size: 0.9rem;
}
.more-testimonials {
  margin-top: 1.5rem;
}
.more-testimonials > summary {
  width: max-content;
  margin: auto;
  padding: 0.8rem 1.15rem;
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.more-testimonials[open] > summary {
  margin-bottom: 1.5rem;
}
@media (max-width: 900px) {
  .client-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .client-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .client-logo {
    min-height: 88px;
    padding: 0.75rem;
  }
  .client-logo img {
    max-height: 58px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .client-logo img {
    transition: none;
  }
}
/* Hiérarchie renforcée des titres de section */
.section-kicker {
  display: inline-block;
  font-size: 0.88rem;
  line-height: 1.35;
  letter-spacing: 0.13em;
}
.client-proof .section-heading,
.testimonials .section-heading {
  display: block;
  max-width: 900px;
  margin: 0 auto 2.4rem;
  text-align: center;
}
.client-proof .section-heading h2,
.testimonials .section-heading h2 {
  max-width: none;
  margin: 0.65rem 0 0.75rem;
  font-size: clamp(2.25rem, 4vw, 3.35rem);
  line-height: 1.08;
  text-wrap: balance;
}
.client-proof .section-heading p,
.testimonials .section-heading p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.02rem;
}
@media (max-width: 600px) {
  .section-kicker {
    font-size: 0.8rem;
  }
  .client-proof .section-heading h2,
  .testimonials .section-heading h2 {
    font-size: 2.1rem;
  }
}
.course-main .section-kicker + h2,
.catalog-head .section-kicker + h2 {
  margin-top: 0.65rem;
}
/* Équipe RSST */
.team-section {
  background: var(--mist);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}
.team-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 20px;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.team-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.team-card-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1.35rem 1.25rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(4, 24, 40, 0.94));
}
.team-card h3 {
  margin: 0;
  font-size: 1.45rem;
}
.team-card p {
  margin: 0.25rem 0 0;
  color: #e3edf2;
}
.team-role {
  font-weight: 750;
}
.team-link {
  text-align: center;
  margin: 1.75rem 0 0;
}
.team-grid-detailed {
  margin: 1.5rem 0 3.5rem;
}
.team-grid-detailed .team-card-copy {
  position: static;
  background: var(--navy);
  padding: 1.25rem;
}
.team-grid-detailed .team-card-copy p:last-child {
  font-size: 0.92rem;
  color: #d5e3e9;
}
.team-grid-detailed .team-card img {
  height: 240px;
  aspect-ratio: auto;
  object-position: center 24%;
}
@media (max-width: 760px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-card {
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }
  .team-grid-detailed .team-card img {
    height: 280px;
    aspect-ratio: auto;
  }
}
.team-section .section-heading {
  display: block;
  max-width: 900px;
  margin: 0 auto 2.4rem;
  text-align: center;
}
.team-section .section-heading h2 {
  max-width: none;
  margin: 0.65rem 0 0.75rem;
  font-size: clamp(2.25rem, 4vw, 3.35rem);
  line-height: 1.08;
  text-wrap: balance;
}
.team-section .section-heading p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.02rem;
}
.team-section .team-grid {
  max-width: 1000px;
  margin-inline: auto;
}
.team-section .team-card img {
  height: 260px;
  aspect-ratio: auto;
  object-position: center 24%;
}
@media (max-width: 760px) {
  .team-section .section-heading h2 {
    font-size: 2.1rem;
  }
  .team-section .team-card {
    max-width: 400px;
  }
  .team-section .team-card img {
    height: 280px;
    aspect-ratio: auto;
  }
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.portal-logout {
  max-width: 980px;
  margin: 1rem auto 3rem;
}
.portal-logout form {
  margin: 0;
}
.portal-logout .button {
  margin: 0;
}
/* Bandeaux illustrés des rubriques principales */
.inner-hero.hero-photo {
  background-color: var(--navy);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  isolation: isolate;
}
.inner-hero.hero-photo:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 30, 50, 0.98) 0%,
    rgba(7, 30, 50, 0.9) 42%,
    rgba(7, 30, 50, 0.58) 70%,
    rgba(7, 30, 50, 0.42) 100%
  );
  z-index: -1;
}
.inner-hero.hero-photo:after {
  display: none;
}
.inner-hero.hero-photo > .shell {
  position: relative;
  z-index: 1;
}
.inner-hero.hero-formations {
  background-image: url("hero-formations-prap-desktop.webp");
}
.inner-hero.hero-audit {
  background-image: url("hero-audit-desktop.webp");
}
.inner-hero.hero-qvct {
  background-image: url("hero-qvct-desktop.webp");
}
.inner-hero.hero-outils {
  background-image: url("hero-outils-desktop.webp");
}
.inner-hero.hero-actualites {
  background-image: url("hero-actualites-desktop.webp");
}
.inner-hero.hero-equipe {
  background-image: url("hero-equipe-desktop.webp");
}
@media (max-width: 700px) {
  .inner-hero.hero-photo {
    background-position: 68% center;
  }
  .inner-hero.hero-photo:before {
    background: rgba(7, 30, 50, 0.88);
  }
}
/* En-tête des formations essentielles sur l'accueil */
#formations .section-heading {
  display: flex;
  max-width: none;
  margin: 0 0 2.6rem;
  text-align: left;
  align-items: flex-end;
}
#formations .section-heading > div {
  max-width: 760px;
}
#formations .section-heading h2 {
  max-width: 720px;
  text-wrap: balance;
}
#formations .section-heading .text-link {
  flex: 0 0 auto;
  margin-left: auto;
  margin-bottom: 0.45rem;
  text-align: right;
}
@media (max-width: 600px) {
  #formations .section-heading {
    display: block;
  }
  #formations .section-heading .text-link {
    margin: 1.4rem 0 0;
    text-align: left;
  }
}

/* Ressources prévention et orientation PRAP */
.rsst-hub > h2 { margin-top: 2.8rem; }
.rsst-hub > p, .rsst-hub > ol { max-width: 850px; }
.rsst-hub .catalog-grid { margin: 1.5rem 0 2rem; }
.rsst-hub-note { margin-top: 1.5rem; }
.rsst-guide li, .rsst-related li { margin-bottom: .65rem; }
.rsst-related { border-top: 1px solid var(--border); margin-top: 2rem; padding-top: .5rem; }
.rsst-guide a, .rsst-related a, .course-highlight a, .source-note a { text-decoration: underline; text-underline-offset: .18em; }
.rsst-guide, .rsst-related, .course-summary { overflow-wrap: break-word; }

/* RSST v3 — continuity with the existing navy, cyan and coral visual identity */
.rsst-resource-page { background: var(--mist); padding-bottom: 1px; }
.rsst-resource-hero { position: relative; isolation: isolate; }
.rsst-resource-hero:before { content: ''; position: absolute; inset: 0; z-index: -1; background-position: center; background-size: cover; opacity: .14; }
.rsst-hero-audit:before { background-image: url('hero-audit-desktop.webp'); }
.rsst-hero-prap:before { background-image: url('hero-formations-prap-desktop.webp'); }
.rsst-resource-hero .section-kicker { display: inline-block; border: 1px solid #4b7b8e; border-radius: 99px; padding: .4rem .8rem; margin-top: 1rem; }
.rsst-resource-hero .breadcrumbs { color: #cfdee6; font-size: .8rem; }
.rsst-resource-page .course-layout { gap: 2rem; padding-block: 3rem; }
.rsst-resource-page .rsst-hub { padding-block: 3rem; }
.rsst-hub-intro { max-width: 680px; margin-bottom: 2rem; }
.rsst-hub-intro h2, .rsst-hub > h2 { font-size: clamp(1.8rem,3vw,2.5rem); line-height: 1.2; letter-spacing: -.035em; margin: .6rem 0 1rem; }
.rsst-hub-intro p { color: var(--muted); }
.rsst-resource-card { position: relative; overflow: hidden; border-top: 4px solid var(--cyan); box-shadow: 0 8px 28px #09263f08; }
.rsst-resource-card:nth-child(3n+2) { border-top-color: var(--coral); }
.rsst-resource-card:nth-child(3n) { border-top-color: var(--navy); }
.rsst-resource-card .card-tag { color: #a24232; }
.rsst-card-symbol { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; color: #6b8391; font-weight: 800; font-size: .75rem; }
.rsst-card-symbol svg { width: 46px; height: 46px; padding: 10px; background: #e8f7f9; color: #087083; border-radius: 12px; }
.rsst-resource-card:nth-child(3n+2) .rsst-card-symbol svg { color: #a24232; background: #fff0ed; }
.rsst-resource-card:nth-child(3n) .rsst-card-symbol svg { color: var(--navy); background: #e9eff4; }
.rsst-resource-card h2 { font-size: 1.5rem; letter-spacing: -.025em; line-height: 1.25; margin: .7rem 0 1rem; }
.rsst-resource-card > .button { color: var(--navy); font-size: .85rem; margin-top: auto; justify-content: space-between; padding: .85rem 1rem; border-color: #bcd3dd; }
.rsst-resource-card > .button:hover { background: var(--navy); color: #fff; }
.rsst-hub-story { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.5rem,4vw,3rem); margin-block: 2rem; }
.rsst-hub-story h2 { font-size: 1.8rem; letter-spacing: -.03em; line-height: 1.25; }
.rsst-hub-story h2:first-child { margin-top: 0; }
.rsst-hub-story > p { max-width: 850px; color: var(--muted); }
.rsst-hub-story ol, .rsst-reading-panel ol { counter-reset: step; list-style: none; padding: 0; display: grid; gap: .8rem; }
.rsst-hub-story ol li, .rsst-reading-panel ol li { counter-increment: step; position: relative; padding: 1rem 1rem 1rem 3.7rem; border-radius: 12px; background: #f1f7f9; color: var(--ink); margin: 0; }
.rsst-hub-story ol li:before, .rsst-reading-panel ol li:before { content: counter(step); position: absolute; left: 1rem; top: 1rem; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; background: var(--navy); color: #fff; border-radius: 50%; font-size: .8rem; font-weight: 800; }
.rsst-reading-panel { padding: clamp(1.5rem,3vw,2.3rem); margin-bottom: 1.25rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); scroll-margin-top: 1.5rem; }
.rsst-panel-label { font-size: .7rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; color: #0b7282; }
.rsst-reading-panel h2 { font-size: clamp(1.6rem,2.7vw,2rem); line-height: 1.2; margin: .7rem 0 1rem; }
.rsst-reading-panel p:last-child { margin-bottom: 0; }
.rsst-reading-panel p, .rsst-reading-panel li { color: #4b6272; }
.rsst-answer-panel { background: var(--navy); border: 0; box-shadow: 0 12px 30px #09263f12; }
.rsst-answer-panel h2 { color: #fff; }
.rsst-answer-panel p { color: #d7e7ee; }
.rsst-answer-panel .rsst-panel-label { color: #7bd8e0; }
.rsst-guide-nav { box-shadow: none; padding: 1.4rem; }
.rsst-guide-nav > .section-kicker { color: #0b7282; }
.rsst-guide-nav h2 { margin-top: .5rem; }
.rsst-guide-nav nav { display: grid; gap: .35rem; }
.rsst-guide-nav nav a { display: flex; gap: .65rem; padding: .7rem; background: #f1f6f8; border-radius: 9px; font-weight: 650; font-size: .82rem; line-height: 1.45; }
.rsst-guide-nav nav a span { color: #0b7282; font-weight: 850; }
.rsst-guide-nav nav a:hover { background: #dceef2; }
.rsst-sidebar-cta { margin: 1.2rem -1.4rem -1.4rem; padding: 1.4rem; border-radius: 0 0 var(--radius) var(--radius); background: var(--navy); color: #fff; }
.rsst-sidebar-cta strong { font-size: 1.1rem; }
.rsst-sidebar-cta p { font-size: .9rem; color: #d7e7ee; }
.rsst-sidebar-cta .button { font-size: .86rem; padding: .85rem; }
.course-highlight.rsst-commercial { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; padding: clamp(1.5rem,3vw,2.3rem); background: var(--navy); border: 0; border-radius: var(--radius); color: #fff; box-shadow: 0 15px 35px #09263f10; }
.rsst-commercial-copy { flex: 1 1 320px; min-width: 0; }
.rsst-commercial .section-kicker { color: #7bd8e0; font-size: .68rem; }
.rsst-commercial strong { color: #fff; font-size: 1.45rem; margin: .5rem 0; line-height: 1.25; }
.rsst-commercial p { color: #d7e7ee; font-size: .95rem; }
.rsst-commercial-copy a { color: #fff; }
.rsst-commercial > .button { flex: 0 1 auto; }
.rsst-commercial > .button, .rsst-sidebar-cta .button { color: var(--navy); }
.rsst-related.rsst-next { border: 0; padding: 2rem 0 0; }
.rsst-next h2 { font-size: clamp(1.65rem,3vw,2.2rem); margin: .65rem 0 1.3rem; }
.rsst-next > .section-kicker { color: #0b7282; }
.rsst-next-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.rsst-next-card { display: grid; grid-template-columns: 1fr auto; gap: .6rem; background: #fff; border: 1px solid #cfdee5; border-radius: 14px; padding: 1.2rem; color: var(--navy); font-size: .93rem; font-weight: 750; line-height: 1.45; transition: background .2s, border-color .2s; }
.rsst-next-number { grid-column: 1 / -1; font-size: .67rem; font-weight: 900; color: #0b7282; letter-spacing: .1em; }
.rsst-next-arrow { display: grid; place-items: center; align-self: end; width: 28px; height: 28px; border-radius: 50%; color: #9d3424; background: #ffede8; }
.rsst-next-card:hover { background: #edf8fa; border-color: #1d8492; }
.rsst-related a.rsst-next-card, .course-highlight a.button, .rsst-resource-page a.button { text-decoration: none; }
.rsst-resource-page .source-note { border-top: 1px solid var(--border); padding-top: .9rem; font-size: .8rem; }
.rsst-resource-page a:focus-visible, .rsst-commercial a:focus-visible, .rsst-next a:focus-visible { outline: 3px solid #1596a7; outline-offset: 4px; }
.rsst-commercial a:focus-visible { outline-color: #85e6ef; }
@media(max-width: 900px) {
 .rsst-resource-page .course-layout { grid-template-columns: 1fr; }
 .rsst-guide-nav { position: static; }
}
@media(max-width: 600px) {
 .rsst-resource-page .course-layout, .rsst-resource-page .rsst-hub { padding-block: 2rem; }
 .rsst-resource-card { padding: 1.5rem; }
 .rsst-next-grid { grid-template-columns: 1fr; }
 .rsst-commercial > .button { width: 100%; }
 .rsst-guide-nav .button { display: inline-flex; }
 .rsst-commercial-copy { flex-basis: 100%; }
}
@media(prefers-reduced-motion: reduce) {
 .rsst-resource-card, .rsst-next-card, .rsst-resource-page .button { transition: none; }
}

/* RSST v4 — accueil : hiérarchie du titre et rythme vertical */
.rsst-home > .section { padding-block: 4rem; }
.rsst-home > .page-section { padding-block: 3.5rem; }
.rsst-home > .home-priorities { padding-top: 3rem; padding-bottom: 1.5rem; }
.home-priorities-heading { display: block; text-align: left; margin: 0 0 1.7rem; }
.home-priorities-heading .section-kicker { display: block; }
.home-priorities-heading h2 { color: var(--navy); font-size: clamp(2rem,3.6vw,3rem); line-height: 1.12; letter-spacing: -.045em; margin: .6rem 0 0; max-width: none; text-wrap: balance; }
.home-priorities .training-card { min-height: 0; padding: 1.7rem; }
.home-priorities .training-card h2 { font-size: 1.45rem; line-height: 1.3; letter-spacing: -.025em; margin: .8rem 0 1rem; }
.home-priorities .training-card > .home-priority-button { margin-top: auto; color: var(--navy); justify-content: space-between; font-size: .85rem; padding: .75rem 1rem; }
.home-priorities .rsst-hub-note { margin: 1.2rem 0 0; font-size: .9rem; }
.home-priorities .rsst-hub-note a { color: #0b7282; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.rsst-home > .home-priorities + #formations { padding-top: 2rem; }
@media(max-width:600px) {
 .rsst-home > .section, .rsst-home > .page-section { padding-block: 2.5rem; }
 .rsst-home > .home-priorities { padding-top: 2rem; padding-bottom: 1rem; }
 .rsst-home > .home-priorities + #formations { padding-top: 1.5rem; }
 .home-priorities .training-card { padding: 1.4rem; }
}

/* RSST v5 — un accueil représentatif de toute l’offre */
.rsst-home .hero h1 { max-width: 950px; font-size: clamp(2.4rem,5.2vw,4.5rem); }
.rsst-home .hero-content > p { max-width: 760px; }
.rsst-home .hero-actions { flex-wrap: wrap; gap: 1rem; }
.rsst-home .home-audits-button { color: #fff; background: transparent; border: 1px solid #9cbccf; box-shadow: none; }
.rsst-home .home-audits-button:hover { background: #183d59; }
.rsst-home .home-training-grid .training-card { min-height: 330px; }
.rsst-home .home-training-grid .training-card:last-child { grid-column: auto; }
.rsst-home .home-training-grid .card-icon { margin-bottom: 1.3rem; }
.rsst-home .home-training-grid .home-family-button { margin-top: auto; color: var(--navy); font-size: .82rem; padding: .85rem 1rem; justify-content: space-between; }
.rsst-home .home-training-grid .featured .home-family-button { background: #fff; border-color: #fff; }
@media(max-width:600px) {
 .rsst-home .hero h1 { font-size: clamp(2.1rem,8.8vw,2.6rem); }
 .rsst-home .hero-actions .button { width: 100%; }
 .rsst-home .home-training-grid .training-card { min-height: 0; }
}

/* RSST v7 — sommaire et informations des formations */
.rsst-formation-layout > .course-main { grid-column: 1; grid-row: 1; min-width: 0; }
.rsst-formation-layout > .rsst-formation-sidebar { grid-column: 2; grid-row: 1; }
.rsst-formation-sidebar { display: flex; flex-direction: column; padding: 0; overflow: hidden; max-height: calc(100dvh - 3rem); box-shadow: 0 12px 36px #09263f0c; }
.rsst-formation-sidebar-body { padding: 1.35rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; min-height: 0; }
.rsst-formation-sidebar .section-kicker { color: #0b7282; }
.rsst-formation-navigation > summary { font-weight: 800; color: var(--navy); cursor: pointer; margin: .5rem 0 .85rem; font-size: 1.05rem; }
.rsst-formation-navigation nav { display: grid; gap: .35rem; }
.rsst-formation-navigation nav a { display: flex; gap: .65rem; background: #eef5f7; padding: .55rem .7rem; border-radius: 9px; font-size: .81rem; font-weight: 750; line-height: 1.4; }
.rsst-formation-navigation nav a span { color: #0b7282; }
.rsst-formation-navigation nav a:hover { background: #dceef2; }
.rsst-formation-sidebar h2 { margin: 1.1rem 0 .3rem; font-size: 1rem; }
.rsst-formation-quick { margin-bottom: .7rem; }
.rsst-formation-quick div { padding: .5rem 0; }
.rsst-formation-quick dd { font-size: .9rem; }
.rsst-formation-facts summary { cursor: pointer; font-weight: 750; font-size: .82rem; padding: .75rem 0; color: #0b7282; }
.rsst-formation-facts .fact-list { margin: 0; }
.rsst-formation-facts dd { font-size: .9rem; }
.rsst-formation-sidebar > .rsst-sidebar-cta { margin: 0; padding: 1.2rem 1.35rem; flex-shrink: 0; }
.rsst-formation-sidebar .rsst-sidebar-cta strong { font-size: 1rem; }
.rsst-formation-sidebar .rsst-sidebar-cta p { margin: .35rem 0 .75rem; font-size: .85rem; }
.rsst-formation-sidebar .button { display: inline-flex; margin: 0; }
.rsst-formation-sidebar a:focus-visible, .rsst-formation-sidebar summary:focus-visible { outline: 3px solid #1596a7; outline-offset: 3px; }
.rsst-formation-layout .course-main [id] { scroll-margin-top: 1.5rem; }
@media(max-width:900px) {
 .rsst-formation-layout { grid-template-columns: 1fr; gap: 2rem; }
 .rsst-formation-layout > .rsst-formation-sidebar { grid-column: 1; grid-row: 1; position: static; max-height: none; }
 .rsst-formation-layout > .course-main { grid-column: 1; grid-row: 2; }
 .rsst-formation-sidebar-body { overflow: visible; }
 .rsst-formation-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* RSST v8 — photographie de formation PRAP */
.inner-hero.hero-formations { background-position: center 24%; }
@media(max-width:700px) { .inner-hero.hero-formations { background-position: 72% center; } }

/* Visuels des familles de formations — v9 */
.inner-hero.hero-family-electricite { background-image: url("hero-formation-electricite-desktop.webp"); background-position: center 22%; }
.inner-hero.hero-family-secourisme { background-image: url("hero-formation-secourisme-desktop.webp"); background-position: center 22%; }
.inner-hero.hero-family-ergonomie { background-image: url("hero-formation-ergonomie-desktop.webp"); background-position: center 22%; }
.inner-hero.hero-family-incendie { background-image: url("hero-formation-incendie-desktop.webp"); background-position: center top; }
.inner-hero.hero-family-prevention { background-image: url("hero-formation-prevention-desktop.webp"); background-position: center top; }
.inner-hero.hero-family-relations { background-image: url("hero-formation-relations-desktop.webp"); background-position: center 22%; }
.inner-hero.hero-family-mobilite { background-image: url("hero-formation-mobilite-desktop.webp"); background-position: center top; }
.inner-hero.hero-family-enfance { background-image: url("hero-formation-enfance-desktop.webp"); background-position: center top; }
.inner-hero.hero-family-eveil { background-image: url("hero-formation-eveil-desktop.webp"); background-position: center top; }
.inner-hero.hero-family-prap { background-image: url("hero-formations-prap-desktop.webp"); background-position: center 22%; }
@media(max-width:700px) {
  .inner-hero[class*="hero-family-"] { background-position: 72% center; }
}

/* Images mobiles : cadrage vertical pour éviter de charger les côtés invisibles. */
@media(max-width:700px) {
.inner-hero.hero-formations { background-image: url("hero-formations-prap-mobile.webp"); }
.rsst-hero-prap:before { background-image: url("hero-formations-prap-mobile.webp"); }
.inner-hero.hero-family-prap { background-image: url("hero-formations-prap-mobile.webp"); }
.inner-hero.hero-audit { background-image: url("hero-audit-mobile.webp"); }
.rsst-hero-audit:before { background-image: url("hero-audit-mobile.webp"); }
.inner-hero.hero-qvct { background-image: url("hero-qvct-mobile.webp"); }
.inner-hero.hero-outils { background-image: url("hero-outils-mobile.webp"); }
.inner-hero.hero-actualites { background-image: url("hero-actualites-mobile.webp"); }
.inner-hero.hero-equipe { background-image: url("hero-equipe-mobile.webp"); }
/* Visuels des familles de formations — v9 */
.inner-hero.hero-family-electricite { background-image: url("hero-formation-electricite-mobile.webp"); }
.inner-hero.hero-family-secourisme { background-image: url("hero-formation-secourisme-mobile.webp"); }
.inner-hero.hero-family-ergonomie { background-image: url("hero-formation-ergonomie-mobile.webp"); }
.inner-hero.hero-family-incendie { background-image: url("hero-formation-incendie-mobile.webp"); }
.inner-hero.hero-family-prevention { background-image: url("hero-formation-prevention-mobile.webp"); }
.inner-hero.hero-family-relations { background-image: url("hero-formation-relations-mobile.webp"); }
.inner-hero.hero-family-mobilite { background-image: url("hero-formation-mobilite-mobile.webp"); }
.inner-hero.hero-family-enfance { background-image: url("hero-formation-enfance-mobile.webp"); }
.inner-hero.hero-family-eveil { background-image: url("hero-formation-eveil-mobile.webp"); }
}

/* RSST v12 — footer commun */
.footer.rsst-footer { background:#061d30; color:#b7cbd7; padding:0; border-top:0; }
.rsst-footer a { text-decoration:none; transition:color .18s,background .18s,border-color .18s; }
.rsst-footer a:focus-visible { outline:3px solid #65d9ec; outline-offset:5px; }
.rsst-footer-invite { display:flex; align-items:center; justify-content:space-between; gap:2rem; padding:3.3rem 0 2.8rem; border-bottom:1px solid #294253; }
.rsst-footer .rsst-footer-kicker { color:#66d8e9; font-size:.72rem; font-weight:800; letter-spacing:.13em; margin:0 0 .8rem; }
.rsst-footer-invite h2 { color:white; font-size:clamp(2rem,3.8vw,3.2rem); line-height:1.08; letter-spacing:-.035em; margin:0 0 1rem; }
.rsst-footer-invite h2 span { color:#fa705e; }
.rsst-footer-invite p { margin:0; font-size:.95rem; }
.rsst-footer .rsst-footer-cta { display:flex; align-items:center; justify-content:space-between; gap:2rem; background:#fa705e; color:#061d30; padding:1.15rem 1.5rem; border-radius:10px; font-weight:800; box-shadow:0 12px 35px #fa705e20; }
.rsst-footer .rsst-footer-cta:hover { background:#ff8a79; }
.rsst-footer-cta span { font-size:1.45rem; }
.rsst-footer-columns { display:grid; grid-template-columns:1.15fr 1fr 1fr; gap:4rem; padding:2.8rem 0; }
.rsst-footer .footer-logo { width:160px; height:auto; display:block; margin-bottom:1.1rem; }
.rsst-footer-brand p { margin:0 0 1rem; line-height:1.8; }
.rsst-footer-brand strong { color:#edf7fc; font-weight:600; }
.rsst-footer-location { font-size:.76rem; color:#89a8ba; }
.rsst-footer-columns h2,.rsst-footer-access h2 { font-size:.85rem; color:#fff; font-weight:700; margin:0 0 1rem; }
.rsst-footer-links a { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.38rem 0; font-size:.9rem; }
.rsst-footer-links a span { color:#688b9f; }
.rsst-footer-links a:hover,.rsst-footer-contact>a:hover,.rsst-footer-legal a:hover { color:#66d8e9; }
.rsst-footer-contact>a { display:block; font-size:.9rem; }
.rsst-footer-contact .rsst-footer-phone { font-size:1.6rem; font-weight:800; color:#fff; letter-spacing:-.02em; margin-bottom:.15rem; }
.rsst-footer-contact address { font-style:normal; font-size:.85rem; line-height:1.8; margin:1rem 0; }
.rsst-footer-contact .rsst-footer-contact-button { display:inline-flex; gap:1.8rem; align-items:center; border:1px solid #466577; border-radius:8px; padding:.6rem 1rem; color:#fff; font-weight:700; font-size:.8rem; }
.rsst-footer-access { display:flex; align-items:center; gap:.75rem; background:#102c40; border:1px solid #294657; border-radius:12px; padding:1.1rem 1.25rem; }
.rsst-footer-access h2 { margin:0 auto 0 0; white-space:nowrap; }
.rsst-footer-access a { display:flex; justify-content:space-between; gap:1rem; border:1px solid #3b5869; padding:.65rem .9rem; border-radius:7px; color:#d9e9f2; font-size:.78rem; }
.rsst-footer-access a:hover { background:#23475b; border-color:#66d8e9; }
.rsst-footer-legal { display:flex; justify-content:space-between; gap:1.5rem; padding:1.8rem 0; font-size:.7rem; color:#99b2c1; }
.rsst-footer-legal p { margin:0; }
.rsst-footer-legal nav { display:flex; flex-wrap:wrap; gap:.6rem 1.2rem; }
@media(max-width:900px) {
 .rsst-footer-columns { gap:2rem; }
 .rsst-footer-access { flex-wrap:wrap; }
 .rsst-footer-access h2 { width:100%; }
 .rsst-footer-legal { flex-direction:column; gap:.7rem; }
}
@media(max-width:600px) {
 .rsst-footer-invite { flex-direction:column; align-items:stretch; padding:2.3rem 0; gap:1.5rem; }
 .rsst-footer-columns { grid-template-columns:1fr; padding:2rem 0; gap:2rem; }
 .rsst-footer-links a { min-height:44px; border-bottom:1px solid #213d50; }
 .rsst-footer-access { flex-direction:column; align-items:stretch; padding:1.1rem; }
 .rsst-footer-access a { min-height:44px; align-items:center; }
 .rsst-footer-legal nav a { padding:.4rem 0; }
}

/* RSST v13 — un seul appel à l’action en fin de page.
   Le sélecteur de frères laisse passer les scripts entre le bandeau et le footer. */
section.contact ~ .rsst-footer .rsst-footer-invite,
main:has(> section.contact:last-child) ~ .rsst-footer .rsst-footer-invite {
  display: none;
}

/* v14 — images de bandeaux HTML, présentation inchangée */
.inner-hero.rsst-html-hero { background-image:none!important; }
.rsst-hero-picture { position:absolute; inset:0; z-index:-2; display:block; pointer-events:none; }
.rsst-hero-picture img { width:100%; height:100%; object-fit:cover; object-position:center; }
.rsst-resource-hero.rsst-html-hero:before { background-image:none; }
.rsst-resource-hero .rsst-hero-picture { z-index:-1; opacity:.14; }
.hero-family-electricite .rsst-hero-picture img { object-position:center 22%; }
.hero-family-secourisme .rsst-hero-picture img { object-position:center 22%; }
.hero-family-ergonomie .rsst-hero-picture img { object-position:center 22%; }
.hero-family-incendie .rsst-hero-picture img { object-position:center top; }
.hero-family-prevention .rsst-hero-picture img { object-position:center top; }
.hero-family-relations .rsst-hero-picture img { object-position:center 22%; }
.hero-family-mobilite .rsst-hero-picture img { object-position:center top; }
.hero-family-enfance .rsst-hero-picture img { object-position:center top; }
.hero-family-eveil .rsst-hero-picture img { object-position:center top; }
.hero-family-prap .rsst-hero-picture img { object-position:center 22%; }
.hero-formations .rsst-hero-picture img { object-position:center 24%; }
@media(max-width:700px) { .rsst-html-hero .rsst-hero-picture img { object-position:72% center; } }

/* v19 — durée des formations mise en évidence */
.rsst-formation-sidebar:has(nav[aria-label="Sommaire de la formation"]) .rsst-formation-quick > div:first-child {
 background:#0b2940; border:0; border-left:4px solid #fa705e; border-radius:10px; padding:.85rem 1rem; margin:.65rem 0 .4rem;
}
.rsst-formation-sidebar:has(nav[aria-label="Sommaire de la formation"]) .rsst-formation-quick > div:first-child dt { color:#76deec; font-size:.7rem; letter-spacing:.12em; margin-bottom:.35rem; }
.rsst-formation-sidebar:has(nav[aria-label="Sommaire de la formation"]) .rsst-formation-quick > div:first-child dd { color:#fff; font-size:1.2rem; line-height:1.4; font-weight:800; }
@media(max-width:900px) { .rsst-formation-sidebar:has(nav[aria-label="Sommaire de la formation"]) .rsst-formation-quick > div:first-child { grid-column:1/-1; } }

/* Catalogue : repères de famille, sans formation privilégiée. */
.rsst-family-catalog .training-card { --family-color:#007b8c; --family-tint:#e8f6f8; border-top:4px solid var(--family-color); min-width:0; }
.rsst-family-catalog [data-category="secourisme"] { --family-color:#b84336; --family-tint:#fff0ec; }
.rsst-family-catalog [data-category="formateurs"] { --family-color:#635095; --family-tint:#f2eef9; }
.rsst-family-catalog [data-category="risques"] { --family-color:#32724d; --family-tint:#edf6ef; }
.rsst-family-catalog [data-category="cse"] { --family-color:#315b93; --family-tint:#edf2fa; }
.rsst-family-catalog [data-category="electrique"] { --family-color:#875b12; --family-tint:#fff5dd; }
.rsst-family-catalog [data-category="incendie"] { --family-color:#a84420; --family-tint:#fff0e7; }
.rsst-family-catalog .card-tag { align-self:flex-start; color:var(--family-color); background:var(--family-tint); padding:.45rem .7rem; border-radius:8px; letter-spacing:.08em; line-height:1.5; }
.rsst-family-catalog .training-card > a { display:flex; align-items:center; justify-content:space-between; gap:.75rem; min-height:46px; padding:.75rem 1rem; border:1px solid #b9cdd9; border-radius:8px; background:#f4f8fa; color:var(--navy); text-decoration:none; transition:background .2s,border-color .2s,color .2s; }
.rsst-family-catalog .training-card > a:hover { background:var(--navy); border-color:var(--navy); color:#fff; }
.rsst-family-catalog .training-card:hover, .rsst-family-catalog .training-card:focus-within { border-color:var(--family-color); box-shadow:0 10px 24px rgba(10,40,60,.09); transform:translateY(-3px); }
.rsst-family-catalog .training-card > a:focus-visible { outline:3px solid var(--family-color); outline-offset:3px; }
@media(prefers-reduced-motion:reduce) { .rsst-family-catalog .training-card, .rsst-family-catalog .training-card > a { transition:none; transform:none; } }

/* Guides : fond et bandeaux photographiques alignés sur les formations. */
.rsst-resource-page.rsst-guide-page { background: #fff; }
.rsst-guide-page > .inner-hero.rsst-html-hero { isolation: isolate; }
.rsst-guide-page > .inner-hero.rsst-html-hero > .rsst-hero-picture {
  z-index: 0; opacity: 1;
}
.rsst-guide-page > .inner-hero.rsst-html-hero:before {
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 30, 50, .98) 0%, rgba(7, 30, 50, .9) 42%, rgba(7, 30, 50, .58) 70%, rgba(7, 30, 50, .42) 100%);
}
.rsst-guide-page > .inner-hero.rsst-html-hero:after { display: none; }
.rsst-guide-page > .inner-hero.rsst-html-hero > .shell { position: relative; z-index: 2; }
.rsst-guide-page > .inner-hero.rsst-html-hero .rsst-hero-picture img { object-position: center 22%; }
@media (max-width: 700px) {
  .rsst-guide-page > .inner-hero.rsst-html-hero:before { background: rgba(7, 30, 50, .88); }
  .rsst-guide-page > .inner-hero.rsst-html-hero .rsst-hero-picture img { object-position: 72% center; }
}
/* Footer : trois zones lisibles, titres turquoise et accès alignés. */
.rsst-footer-columns {
 display:grid; grid-template-columns:1.2fr .9fr 1fr;
 gap:0; padding:2rem 0 1.5rem; align-items:start;
}
.rsst-footer-columns > * { min-width:0; }
.rsst-footer-brand { padding-right:2rem; }
.rsst-footer-columns > .rsst-footer-links,
.rsst-footer-columns > .rsst-footer-contact {
 border-left:1px solid #294253; padding-left:2rem; margin-left:1rem;
}
.rsst-footer .footer-logo { width:145px; margin-bottom:.8rem; }
.rsst-footer-brand p { margin:0 0 .6rem; line-height:1.6; max-width:34ch; }
.rsst-footer-brand .rsst-footer-links { display:flex; flex-wrap:wrap; gap:.2rem 1.2rem; margin-top:.4rem; }
.rsst-footer-brand .rsst-footer-links a { padding:.3rem 0; }
.rsst-footer-columns h2,.rsst-footer-access h2 {
 color:#66d8e9; font-size:.78rem; font-weight:700;
 letter-spacing:.08em; text-transform:uppercase; margin:0 0 .9rem;
}
.rsst-footer-columns > .rsst-footer-links a { justify-content:flex-start; padding:.45rem 0; }
.rsst-footer-contact .rsst-footer-phone { font-size:1.4rem; }
.rsst-footer-contact address { margin:.6rem 0; line-height:1.6; }
.rsst-footer-access {
 display:grid; grid-template-columns:130px repeat(3,minmax(0,1fr));
 gap:.75rem; padding:.8rem 1rem; border-radius:8px;
}
.rsst-footer-access h2 { margin:0; white-space:normal; width:auto; }
.rsst-footer-access a { padding:.6rem .75rem; align-items:center; }
.rsst-footer-legal { padding:1.1rem 0; gap:1rem; }
@media(max-width:900px) {
 .rsst-footer-brand { padding-right:1rem; }
 .rsst-footer-columns > .rsst-footer-links,
 .rsst-footer-columns > .rsst-footer-contact { padding-left:1.2rem; margin-left:0; }
 .rsst-footer-access { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .rsst-footer-access h2 { grid-column:1/-1; }
}
@media(max-width:600px) {
 .rsst-footer-columns { grid-template-columns:1fr; padding:1.5rem 0; gap:1.3rem; }
 .rsst-footer-brand { padding-right:0; }
 .rsst-footer-columns > .rsst-footer-links,
 .rsst-footer-columns > .rsst-footer-contact { border-left:0; border-top:1px solid #294253; padding:1.2rem 0 0; margin:0; }
 .rsst-footer-brand .rsst-footer-links a { min-height:44px; display:flex; align-items:center; border-bottom:0; }
 .rsst-footer-access { grid-template-columns:1fr; padding:.85rem; }
 .rsst-footer-access a { min-height:44px; }
}