/* MIND & PERF — Styles du site. Base Helios : main.css (inchangé).
   1. Identité et accueil  2. Pages intérieures  3. Contact
   4. Outils et références de l’accueil  5. Accessibilité
   Les images des bandeaux sont définies une seule fois par page. */
:root {
  --slate: #2e3842;
  --teal: #21b2a6;
  --ink: #33434c;
}
body {
  color: var(--ink);
}
h1, h2, h3, h4 {
  color: var(--slate);
}
a:hover {
  color: #137b74;
}
.button, input[type=submit] {
  background: #137b74;
  color: #fff;
}
.button:hover {
  background: #106a63;
  color: #fff;
}
a:focus-visible, .button:focus-visible {
  outline: 3px solid #e9cf79;
  outline-offset: 5px;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -6rem;
  z-index: 100;
  background: white;
  padding: .5rem 1rem;
}
.skip-link:focus {
  top: 1rem;
}
#header {
  background-image: linear-gradient(
              180deg,
              rgba(34,46,57,.28),
              rgba(34,46,57,.55)
          ),
          url("../../images/accueil.jpg");
  background-attachment: scroll;
}
body.homepage #header {
  min-height: 760px;
  height: 100svh;
  padding: 5.5em 1.5em 4em;
}
#header .inner {
  max-width: 1080px;
}
#header header {
  display: block;
}
#header .brand {
  display: inline-block;
  border: none;
  line-height: 0;
  margin-bottom: 1.1em;
}
#header .brand img {
  width: 220px;
  height: 124px;
  object-fit: contain;
}
body.homepage #header .inner header h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.25;
  font-weight: 400;
  max-width: 1050px;
  margin: 0 auto;
}
#header hr {
  margin: 1.1em auto 1.35em;
  top: 0;
  max-width: 560px;
  opacity: 0.35;
}
#header header > p.hero-description {
  font-size: 1.15em;
  line-height: 1.55;
}
#header header > p.hero-location {
  margin-top: .85em;
  font-size: .8em;
  letter-spacing: .06em;
}
#header .button {
  background: var(--teal);
  color: #152c35;
  font-size: 1em;
  font-weight: 600;
  width: 5em;
  height: 5em;
  line-height: 5em;
}
#header .button:hover {
  background: #66d9ce;
}
#header:after {
  pointer-events: none;
}
#nav {
  z-index: 3;
}
#nav > ul > li > a {
  font-weight: 400;
}
.discover {
  position: absolute;
  bottom: 1.4em;
  left: 50%;
  transform: translateX(-50%);
  border: none;
  font-size: .75em;
  letter-spacing: .12em;
  z-index: 2;
}
.discover span {
  display: block;
  font-size: 1.5em;
}
.eyebrow {
  text-transform: uppercase;
  font-size: .68em;
  font-weight: 600;
  letter-spacing: .16em;
  color: #137b74;
  margin-bottom: 1em;
}
#banner {
  padding: 4em 1.5em 2.5em;
}
#banner h2 {
  font-size: 2.1em;
}
#banner header > p:not(.eyebrow) {
  font-size: 1.05em;
  line-height: 1.65;
  margin-top: 1em;
}
#banner header > .eyebrow {
  font-size: .68em;
  margin: 0 0 1em;
}
.wrapper.situations {
  background: white;
  padding: 1em 0 4em;
  margin: 0;
}
.situation .image {
  margin-bottom: 1.3em;
}
.situation .image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.situation h3 {
  font-size: 1.35em;
}
.situation p {
  font-size: .95em;
  line-height: 1.7;
  text-align: left;
}
.situation header {
  margin-bottom: .8em;
}
.approach {
  background: #eef3f3;
  padding: 4em 0;
  margin: 0;
}
.approach-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 3em;
  align-items: start;
}
.portrait img {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  object-position: center top;
}
.approach h2 {
  font-size: 2.2em;
}
.approach header {
  margin-bottom: 1.4em;
}
.approach p {
  font-size: .95em;
  line-height: 1.75;
  text-align: left;
}
.approach .eyebrow {
  font-size: .68em;
}
.practical {
  border-left: 3px solid var(--teal);
  padding-left: 1.1em;
  margin: 1.5em 0;
}
.practical strong {
  color: var(--slate);
}
.practical p {
  margin: .5em 0 0;
}
#footer {
  margin: 0;
  background: #25303a;
  color: #cbd6dd;
  padding: 1.8em 1em;
  text-align: center;
}
#footer p {
  text-align: center;
  font-size: .8em;
  margin: 0;
}
#footer .credits {
  font-size: .65em;
  margin-top: .4em;
}
#navPanel {
  background: var(--slate);
}
[hidden] {
  display: none !important;
}
.dropotron {
  background: var(--slate);
  color: white;
}
.dropotron li a:hover {
  color: #73dcd1;
}
.home-practice {
  background: white;
  padding: 4em 0;
  margin: 0;
}
.home-practice header, .home-collectives > .container > header {
  text-align: center;
  margin-bottom: 2.5em;
}
.home-practice h2, .home-collectives h2 {
  font-size: 2em;
}
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 2em;
}
.practice-grid h3 {
  font-size: 1.3em;
  padding-bottom: .7em;
  border-bottom: 2px solid var(--teal);
  margin-bottom: .7em;
}
.practice-grid p, .home-formats p, .collective-grid p {
  font-size: .95em;
  line-height: 1.75;
  text-align: left;
}
.home-formats {
  margin: 2em auto 0;
  max-width: 850px;
  padding-top: 2em;
  border-top: 1px solid #d3dede;
}
.home-formats h3 {
  margin-bottom: .7em;
}
.text-link {
  color: #137b74;
  font-size: .85em;
  font-weight: 600;
}
.home-collectives {
  background: #edf3f3;
  padding: 4em 0;
  margin: 0;
}
.home-collectives header > p:not(.eyebrow) {
  font-size: 1.05em;
  line-height: 1.7;
}
.collective-grid {
  display: grid;
  gap: 2.5em;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.collective-grid .image {
  margin-bottom: 1.3em;
}
.collective-grid img {
  height: auto;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.collective-grid h3 {
  margin-bottom: .8em;
}
.collective-grid .button {
  font-size: .8em;
  padding: .75em 1.3em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.5em;
  margin-top: auto;
  white-space: normal;
  line-height: 1.4;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .3em 1.3em;
  margin: 1em auto;
  font-size: .75em;
  line-height: 1.8;
  max-width: 1000px;
}
.editorial {
  max-width: 960px;
  padding-top: 2em;
  padding-bottom: 3em;
}
.breadcrumb {
  font-size: .7em;
  color: #5a6a73;
  margin-bottom: 2em;
}
.breadcrumb a {
  color: #137b74;
}
.page-lead {
  font-size: 1.15em;
  line-height: 1.7;
  color: var(--slate);
  text-align: left;
  margin-bottom: 2em;
}
.editorial-section {
  margin: 2.5em 0;
}
.editorial-section h2 {
  font-size: 1.65em;
  margin-bottom: .9em;
}
.editorial-section h3 {
  font-size: 1.2em;
  margin-bottom: .6em;
}
.editorial-section p {
  text-align: left;
  font-size: .95em;
  line-height: 1.8;
}
.editorial-section a {
  color: #137b74;
}
.need-list {
  list-style: disc;
  padding-left: 1.2em;
  font-size: .95em;
  line-height: 1.75;
  margin-bottom: 1.5em;
}
.need-list li {
  padding-left: .3em;
  margin-bottom: .7em;
}
.session-steps {
  list-style: decimal;
  padding-left: 1.3em;
  font-size: .95em;
  line-height: 1.75;
  margin-bottom: 1.5em;
}
.session-steps li {
  margin-bottom: .9em;
  padding-left: .3em;
}
.session-steps li::marker {
  color: #137b74;
  font-weight: 600;
}
.example {
  padding: 1.6em 1.8em;
  border-left: 4px solid var(--teal);
  background: #e7efef;
  margin: 2em 0;
}
.example h3 {
  font-size: 1.25em;
  margin-bottom: .7em;
}
.example p:not(.eyebrow) {
  font-size: .95em;
  line-height: 1.8;
  text-align: left;
  margin-bottom: 0;
}
.format-list article {
  border-top: 1px solid #cfdddd;
  padding-top: 1.4em;
  margin-top: 1.4em;
}
.faq details {
  border-top: 1px solid #c7d4d4;
  padding: 1em 0;
}
.faq summary {
  display: list-item;
  cursor: pointer;
  color: var(--slate);
  font-weight: 600;
  font-size: .95em;
  padding-right: .5em;
}
.faq details p {
  margin: 1em 0 0;
}
#accompagnement .approach-layout {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2.5em;
}
#accompagnement .portrait {
  width: 220px;
  margin: 0;
}
#accompagnement .portrait img {
  width: 220px;
  height: 280px;
  max-height: none;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 3px;
  filter: saturate(.76) contrast(1.03);
}
#accompagnement .portrait figcaption {
  margin-top: .9em;
  color: var(--slate);
  font-size: .85em;
  font-weight: 600;
  line-height: 1.55;
}
#accompagnement .portrait figcaption span {
  font-size: .85em;
  font-weight: 400;
}
#accompagnement .parcours {
  margin: 1.7em 0;
}
#accompagnement .parcours h3 {
  font-size: 1.2em;
  margin-bottom: 1em;
}
#accompagnement .parcours p {
  font-size: .9em;
}
.collective-grid article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
}
.collective-grid p {
  flex: 1;
}
@media (max-width: 840px) {
  .approach-layout {
    grid-template-columns: 1fr;
    gap: 2em;
  }
  .portrait img {
    max-width: 420px;
    max-height: 460px;
    margin: 0 auto;
  }
  #accompagnement .approach-layout {
    grid-template-columns: 1fr;
    gap: 1.8em;
  }
  #accompagnement .portrait {
    width: 180px;
    margin: 0 auto;
    text-align: center;
  }
  #accompagnement .portrait img {
    width: 180px;
    height: 225px;
  }
}
@media (max-width: 736px) {
  body.homepage #header {
    min-height: 720px;
    height: 100svh;
    padding: 4em 1.4em 3em;
  }
  #header .brand img {
    width: 180px;
    height: 101px;
  }
  body.homepage #header h1 {
    font-size: 2.05em;
  }
  .desktop-break {
    display: none;
  }
  #header header > p.hero-description {
    font-size: 1.05em;
  }
  .container {
    width: calc(100% - 3em);
  }
  #banner {
    padding: 3em 1.5em 1.5em;
  }
  #banner h2, .approach h2 {
    font-size: 1.8em;
  }
  #banner br {
    display: none;
  }
  .wrapper.situations {
    padding-bottom: 2em;
  }
  .situation {
    margin-bottom: 1em;
  }
  .approach {
    padding: 3em 0;
  }
  .practice-grid, .collective-grid {
    grid-template-columns: 1fr;
    gap: 1.7em;
  }
  .home-practice, .home-collectives {
    padding: 3em 0;
  }
  .home-practice h2, .home-collectives h2, .page-cta h2 {
    font-size: 1.75em;
  }
  .collective-grid .button {
    width: 100%;
    white-space: normal;
  }
  .editorial {
    padding-top: 1.5em;
  }
  .page-lead {
    font-size: 1.1em;
  }
  .editorial-section h2 {
    font-size: 1.55em;
  }
  .example {
    padding: 1.3em;
  }
  .footer-links {
    gap: .5em 1em;
  }
  .collective-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.page-brand {
  display: inline-block;
  font-size: .85em;
  letter-spacing: .12em;
  border: 0;
  margin-bottom: 1.4em;
}
/* 2. PAGES INTÉRIEURES — bandeaux et composants partagés */
body.pm-page {
  --page-image: url("../../images/defi.webp");
  --hero-overlay-start: .42;
  --hero-overlay-end: .70;
}
body.sophro-page {
  --page-image: url("../../images/sophro.webp");
  --hero-position: center 40%;
}
body.hypnose-page {
  --page-image: url("../../images/hypnose.webp");
  --hero-position: center 40%;
}
body.clubs-page {
  --page-image: url("../../images/clubs.webp");
  --hero-position: center 45%;
}
body.entreprise-page {
  --page-image: url("../../images/entreprise-poignee-main.webp");
  --hero-position: center 58%;
  --hero-overlay-start: .62;
}
body.subpage #header.page-hero {
  background-image: linear-gradient(180deg, rgba(27,40,49,var(--hero-overlay-start,.58)), rgba(27,40,49,var(--hero-overlay-end,.76))), var(--page-image);
  background-size: cover;
  background-position: var(--hero-position, center);
  background-repeat: no-repeat;
  background-attachment: scroll;
  min-height: 460px;
  height: auto;
  padding: 6.5rem 1.5rem 3.5rem;
  display: grid;
  place-items: center;
}
body.subpage #header:before {
  display: none;
}
body.subpage #header .inner {
  width: 100%;
  max-width: 1000px;
}
body.subpage #header h1 {
  font-size: clamp(2rem,4vw,3.3rem);
  line-height: 1.2;
  margin: 0 auto;
  color: #fff;
}
body.subpage #header .eyebrow {
  color: #82e3d9;
  font-size: .65em;
  margin-bottom: .9em;
}
body.subpage #header .page-subtitle {
  color: #fff;
  max-width: 760px;
  margin: 1em auto 0;
  font-size: 1.1em;
  line-height: 1.6;
}
body.subpage #header footer {
  margin: 1.6rem 0 0;
}
body.subpage #header .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 48px;
  padding: .85rem 1.6rem;
  border-radius: .45rem;
  font-size: 1rem;
  line-height: 1.4;
  white-space: normal;
  text-align: center;
}
.practice-grid > article, .collective-grid > article {
  margin: 0;
  min-width: 0;
}
.card-grid {
  gap: 1.2rem;
}
.card-grid > article {
  padding: 1.2rem;
  border: 1px solid #d3dede;
  border-radius: .45rem;
  background: #fff;
}
.card-grid h3 {
  font-size: 1.05em;
  line-height: 1.3;
}
.card-grid p {
  margin: 0;
}
.card-grid--muted > article {
  background: #edf3f3;
}
.card-grid .eyebrow {
  font-size: .65em;
  line-height: 1.6;
  margin: 0 0 .7rem;
}
.more-info {
  margin: 1.2rem 0;
  border-top: 1px solid #c7d4d4;
  border-bottom: 1px solid #c7d4d4;
}
.more-info summary {
  display: list-item;
  padding: .9rem 0;
  color: #137b74;
  font-size: .85em;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}
.more-info > p {
  margin: .4rem 0 1rem;
}
.more-info > div {
  padding: 0 .5rem .5rem;
}
.more-info .need-list {
  margin-bottom: .5rem;
}
.need-list--columns {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  column-gap: 2rem;
  row-gap: .5rem;
}
.practice-note {
  border-left: 3px solid var(--teal);
  padding: .9rem 1.2rem;
  background: #edf3f3;
}
.practice-note p {
  margin: 0;
}
.context-links {
  margin-top: 1.5rem;
}
.hypnose-health {
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--teal);
  background: #fff;
  border-radius: 0 .45rem .45rem 0;
}
.hypnose-health > p:last-child {
  margin-bottom: 0;
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1rem;
}
.link-grid a {
  display: flex;
  align-items: center;
  padding: 1rem 1.2rem;
  border: 1px solid #c7d4d4;
  border-radius: .45rem;
  background: #edf3f3;
  line-height: 1.5;
  text-decoration: none;
}
.link-grid a:hover {
  border-color: #137b74;
  background: #fff;
}
.enterprise-paths {
  margin: 0 0 2.5rem;
}
.club-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 2rem;
  margin: -1rem 0 2.5rem;
}
.pm-strategy-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.5rem;
}
.pm-strategy-list li {
  padding: .4rem .75rem;
  margin: 0;
  border: 1px solid #c7d4d4;
  border-radius: .4rem;
  background: #edf3f3;
  color: var(--ink);
  font-size: .8em;
  line-height: 1.4;
}
/* 3. CONTACT — même formulaire, disponible sur chaque page */
.contact-section {
  background: var(--slate);
  color: #edf3f5;
  padding: 3rem 0 2.5rem;
  text-align: center;
  margin: 0;
}
.contact-section h2, .contact-section h3 {
  color: #fff;
}
.contact-section h2 {
  font-size: clamp(1.65rem,3vw,2.4rem);
  line-height: 1.25;
}
.contact-section .eyebrow {
  color: #73dcd1;
}
.contact-section header {
  margin: 0 auto 1.5rem;
  max-width: 760px;
}
.contact-section header > p:not(.eyebrow) {
  font-size: 1em;
  line-height: 1.65;
  margin: 1rem auto 0;
  text-align: center;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto;
}
.contact-section .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 48px;
  max-width: 100%;
  padding: .85rem 1.3rem;
  line-height: 1.4;
  white-space: normal;
  font-size: .9em;
  font-weight: 600;
  background: var(--teal);
  color: #152c35;
  border: 1px solid transparent;
  border-radius: .45rem;
}
.contact-section .button.alt {
  color: #fff;
  background: transparent;
  border-color: #b3c1c9;
}
.contact-section .button:hover {
  background: #66d9ce;
  color: #152c35;
}
.message-form {
  margin: 2rem auto 0;
  max-width: 850px;
  scroll-margin-top: 2rem;
}
.message-form h3 {
  margin-bottom: 1rem;
}
.message-form iframe {
  display: block;
  width: 100%;
  height: 1000px;
  margin: 0 auto;
  border: 0;
  background: #fff;
  border-radius: .45rem;
}
.message-form p, .contact-privacy {
  font-size: .75em;
  line-height: 1.5;
  text-align: center;
  margin: 1rem auto;
}
.form-close {
  color: #fff;
  background: transparent;
  border: 1px solid #b3c1c9;
  border-radius: .4rem;
  padding: .5rem 1rem;
  font: inherit;
  font-size: .8em;
  cursor: pointer;
}
.contact-direct {
  margin: 1.5rem 0 0;
  font-size: .85em;
  text-align: center;
}
.contact-direct .icon {
  margin-right: .4rem;
}
.contact-socials {
  margin: 1.2rem auto 0;
}
.contact-socials nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}
.contact-socials nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(115,220,209,.3);
  border-radius: 50%;
  color: #73dcd1;
}
.contact-socials nav a:hover {
  background: rgba(115,220,209,.12);
  border-color: #73dcd1;
}
.contact-section a:focus-visible, .form-close:focus-visible {
  outline: 3px solid #73dcd1;
  outline-offset: 4px;
}
@media (max-width: 980px) and (min-width: 737px) {
  .club-needs {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 736px) {
  body.subpage #header.page-hero {
    min-height: 400px;
    padding: 4.5rem 1.25rem 2.5rem;
  }
  body.subpage #header .page-subtitle {
    font-size: 1rem;
  }
  body.subpage #header .page-subtitle br {
    display: none;
  }
  .practice-grid, .collective-grid, .need-list--columns, .link-grid {
    grid-template-columns: 1fr;
  }
  .contact-section {
    padding: 2.5rem 0;
  }
  .contact-actions {
    flex-direction: column;
    max-width: 360px;
  }
  .contact-actions .button {
    width: 100%;
  }
  .message-form iframe {
    height: 1250px;
  }
}
/* 4. ACCUEIL — cartes des approches */
/* Cartes des approches : complément aux styles Helios et Mind & Perf. */
#outils.approaches-compact {
  max-width: 1000px;
}
#outils .approaches-intro {
  margin: 0 0 1.2em;
}
#outils .approach-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1em;
}
#outils .approach-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  background: #f3f7f6;
  border: 1px solid #d5e2df;
  border-radius: 6px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
#outils .approach-card > img {
  display: block;
  width: 100%;
  height: 110px;
  object-fit: cover;
}
#outils .approach-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: .85em 1em;
}
#outils .approach-card h4 {
  margin: 0 0 .4em;
  color: #244a49;
  font-size: 1em;
  line-height: 1.3;
}
#outils .approach-card p {
  margin: 0 0 .75em;
  font-size: .8em;
  line-height: 1.5;
  text-align: left;
}
#outils .approach-card-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5em;
  margin-top: auto;
  color: #137b74;
  font-size: .7em;
  font-weight: 600;
}
#outils .approach-card:hover {
  border-color: #137b74;
  box-shadow: 0 5px 16px rgba(36, 74, 73, .1);
  transform: translateY(-2px);
}
#outils .approach-card:focus-visible {
  outline: 3px solid #137b74;
  outline-offset: 4px;
}
@media screen and (max-width: 736px) {
  #outils .approach-cards {
    grid-template-columns: 1fr;
    gap: .75em;
  }
  #outils .approach-card {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
  }
  #outils .approach-card > img {
    height: 100%;
    min-height: 130px;
  }
  #outils .approach-card-body {
    padding: .8em;
  }
}
@media (prefers-reduced-motion: reduce) {
  #outils .approach-card {
    transition: none;
  }
  #outils .approach-card:hover {
    transform: none;
  }
}
/* Références : carrousel Helios compact */
/* Charger après main.css et mindperf.css. Remplace l’ancien references.css. */
#references.references-section {
  background: #f6f7f8;
  color: #52616c;
  padding: 24px 0 16px;
  margin: 0;
  font-size: 16px;
}
#references > header {
  text-align: center;
  padding: 0 20px;
  margin: 0 auto 12px;
}
#references > header .eyebrow {
  color: #397e7b;
  font-size: 11px;
  line-height: 1.4;
  margin: 0 0 6px;
}
#references > header h2 {
  color: #2e3942;
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 8px;
}
#references > header > p:not(.eyebrow) {
  color: #52616c;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
#references .references-carousel {
  padding: 8px 0;
  margin: 0;
}
#references .reel {
  padding: 0 24px;
}
#references .references-carousel article {
  width: 232px;
  height: 208px;
  vertical-align: top;
  box-sizing: border-box;
  padding: 12px 14px;
  margin: 0 14px 0 0;
  border: 1px solid #e2e6e9;
  border-radius: 10px;
  background: #fff;
}
#references .reference-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 10px;
}
#references .reference-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#references .reference-name {
  color: #344451;
  font-size: 24px;
  font-weight: 600;
}
#references article h3 {
  color: #2e3942;
  font-size: 14px;
  line-height: 1.3;
  min-height: 37px;
  margin: 0 0 5px;
}
#references article h3 span {
  display: block;
  font-size: 12px;
  font-weight: 400;
}
#references article p {
  color: #626c75;
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}
#references .references-note {
  color: #626c75;
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
  margin: 5px 16px 0;
}
#references .references-credit {
  color: #626c75;
  text-align: center;
  font-size: 10px;
  line-height: 1.4;
  margin: 4px 16px 0;
}
#references .references-credit a {
  color: inherit;
}
#references .reel:focus-visible {
  outline: 2px solid #526879;
  outline-offset: -2px;
}
#references .forward, #references .backward {
  width: 40px;
  height: 100px;
  margin-top: -50px;
}
#references .forward:before, #references .backward:before {
  width: 64px;
  height: 64px;
  margin-top: -32px;
}
#references .forward:before {
  right: -32px;
}
#references .backward:before {
  left: -32px;
}
#references .forward:after, #references .backward:after {
  width: 26px;
  height: 26px;
  margin-top: -13px;
}
#references .forward:after {
  right: -3px;
}
#references .backward:after {
  left: -3px;
}
@media screen and (max-width: 736px) {
  #references.references-section {
    padding: 20px 0 14px;
  }
  #references > header h2 {
    font-size: 24px;
  }
  #references .reel {
    padding: 0 16px;
  }
  #references .references-carousel article {
    width: 210px;
    margin-right: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #references .references-carousel article {
    transition: none;
  }
}
/* 5. Accessibilité et mises en page robustes */
img {
  max-width: 100%;
}
[id] {
  scroll-margin-top: 1.5rem;
}
summary:focus-visible {
  outline: 3px solid #e9cf79;
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
