:root {
  --red-vivid: #e32018;
  --red: #aa1f17;
  --red-deep: #821812;
  --ink: #231f20;
  --paper: #f5f5f5;
  --muted: #696164;
  --glass: rgba(249, 248, 247, 0.91);
  --glass-strong: rgba(252, 251, 250, 0.97);
  --line: rgba(130, 24, 18, 0.16);
  --shadow: 0 30px 90px rgba(10, 6, 7, 0.26);
  --radius: 28px;
  --font: "Poppins", sans-serif;
  --brand: "Ethnocentric", "Poppins", sans-serif;
}

/* Ajustements 2026-07-22 : boussole, logo MSP et charte de don */

.safe-place-keywords {
  isolation: isolate;
}

.safe-place-keywords .safe-place-keywords__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  width: clamp(122px, 18vw, 178px);
  height: clamp(122px, 18vw, 178px);
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 22px 54px rgba(130, 24, 18, 0.2);
  overflow: hidden;
  transform: translate(-50%, -50%);
  animation: none;
}

.safe-place-keywords .safe-place-keywords__logo::after {
  content: none;
}

.safe-place-keywords__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html[data-theme="light"] .safe-place-keywords__logo-night,
html[data-theme="dark"] .safe-place-keywords__logo-day {
  display: none;
}

html[data-theme="dark"] .safe-place-keywords .safe-place-keywords__logo {
  box-shadow: 0 24px 64px rgba(227, 32, 24, 0.28);
}

.safe-place-keywords > span:not(.safe-place-keywords__logo) {
  z-index: 3;
}

.safe-place-keywords > span:nth-child(2) {
  top: 14%;
  left: 13%;
}

.safe-place-keywords > span:nth-child(3) {
  top: 18%;
  right: 9%;
}

.safe-place-keywords > span:nth-child(4) {
  right: 10%;
  bottom: 20%;
}

.safe-place-keywords > span:nth-child(5) {
  bottom: 14%;
  left: 16%;
}

.safe-place-keywords > span:nth-child(6) {
  top: 45%;
  left: 7%;
}

.safe-place-keywords > span:nth-child(7) {
  top: 43%;
  right: 8%;
}

.orientation-compass {
  min-height: 610px;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
}

.orientation-compass__dial {
  position: relative;
  width: min(100%, 430px);
  margin: 18px auto 0;
  aspect-ratio: 1;
  border: 1px solid rgba(130, 24, 18, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--glass-strong) 0 22%, transparent 23%),
    repeating-conic-gradient(from -2deg, rgba(130, 24, 18, 0.22) 0 1deg, transparent 1deg 14deg),
    radial-gradient(circle at 50% 50%, rgba(227, 32, 24, 0.2), rgba(227, 32, 24, 0.06) 44%, transparent 64%);
  box-shadow:
    inset 0 0 0 44px rgba(255, 255, 255, 0.2),
    0 24px 64px rgba(130, 24, 18, 0.14);
}

.orientation-compass__dial::before,
.orientation-compass__dial::after {
  position: absolute;
  border: 1px solid rgba(130, 24, 18, 0.2);
  border-radius: 50%;
  content: "";
}

.orientation-compass__dial::before {
  inset: 15%;
}

.orientation-compass__dial::after {
  inset: 34%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.7));
  box-shadow: inset 0 0 34px rgba(130, 24, 18, 0.12);
}

.orientation-compass__ring,
.orientation-compass__ring--inner {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: none;
  box-shadow: none;
}

.orientation-compass__ring {
  inset: 4%;
  border: 1px solid rgba(130, 24, 18, 0.22);
}

.orientation-compass__ring--inner {
  inset: 26%;
  border-color: rgba(130, 24, 18, 0.16);
}

.orientation-compass__cardinal {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--red-deep);
  font-family: var(--brand);
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.orientation-compass__cardinal--north {
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__cardinal--east {
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
}

.orientation-compass__cardinal--south {
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__cardinal--west {
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
}

.orientation-compass__needle {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  border: 0;
  background: none;
  box-shadow: none;
  transform: rotate(var(--compass-angle));
  transform-origin: 50% 50%;
  transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

.orientation-compass__needle::before {
  position: absolute;
  top: 7%;
  left: 50%;
  width: clamp(34px, 5.4vw, 58px);
  height: 45%;
  border-radius: 999px 999px 42% 42%;
  background: linear-gradient(180deg, var(--red-vivid), var(--red-deep));
  clip-path: polygon(50% 0, 100% 100%, 50% 78%, 0 100%);
  content: "";
  filter: drop-shadow(0 16px 20px rgba(130, 24, 18, 0.28));
  transform: translateX(-50%);
}

.orientation-compass__needle::after {
  position: absolute;
  bottom: 19%;
  left: 50%;
  width: clamp(14px, 2vw, 22px);
  height: 20%;
  border-radius: 999px;
  background: rgba(130, 24, 18, 0.45);
  content: "";
  transform: translateX(-50%);
}

.orientation-compass__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  display: block;
  width: clamp(42px, 6vw, 62px);
  height: clamp(42px, 6vw, 62px);
  border: 8px solid var(--glass-strong);
  border-radius: 50%;
  background: var(--red-deep);
  box-shadow: 0 15px 30px rgba(130, 24, 18, 0.2);
  transform: translate(-50%, -50%);
}

.orientation-compass__points {
  inset: 24px 24px 176px;
  z-index: 8;
  pointer-events: none;
}

.orientation-compass__points button {
  z-index: 9;
  min-height: 58px;
  pointer-events: auto;
  box-shadow: 0 16px 34px rgba(130, 24, 18, 0.1);
}

.orientation-compass__points button:nth-child(1) {
  top: 1.5%;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__points button:nth-child(2) {
  top: 35%;
  right: 0;
  transform: translateY(-50%);
}

.orientation-compass__points button:nth-child(3) {
  bottom: 2.5%;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__points button:nth-child(4) {
  top: 35%;
  left: 0;
  transform: translateY(-50%);
}

.orientation-compass__panel {
  position: relative;
  z-index: 7;
  margin-top: -6px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(12px);
}

html[data-theme="dark"] .orientation-compass__dial {
  background:
    radial-gradient(circle at 50% 50%, rgba(35, 31, 32, 0.94) 0 22%, transparent 23%),
    repeating-conic-gradient(from -2deg, rgba(227, 32, 24, 0.28) 0 1deg, transparent 1deg 14deg),
    radial-gradient(circle at 50% 50%, rgba(227, 32, 24, 0.28), rgba(227, 32, 24, 0.08) 44%, transparent 64%);
  box-shadow:
    inset 0 0 0 44px rgba(255, 255, 255, 0.03),
    0 28px 76px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .orientation-compass__dial::after {
  background: radial-gradient(circle, rgba(35, 31, 32, 0.98), rgba(35, 31, 32, 0.76));
}

html[data-theme="dark"] .orientation-compass__panel {
  background: rgba(35, 31, 32, 0.72);
}

.donation-ethic {
  padding-top: 0;
}

.donation-ethic-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
}

.donation-ethic-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(96px, 14vw, 152px);
  height: clamp(96px, 14vw, 152px);
  justify-self: center;
  border-radius: 32px;
  background: var(--red-vivid);
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 4rem);
  box-shadow: 0 26px 54px rgba(130, 24, 18, 0.24);
}

.donation-ethic-card h3 {
  margin: 0 0 14px;
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(2rem, 4.6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.donation-ethic-card p:not(.eyebrow) {
  max-width: 820px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.65;
}

.donation-ethic-card a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--red-deep);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 760px) {
  .safe-place-keywords .safe-place-keywords__logo {
    width: 112px;
    height: 112px;
  }

  .safe-place-keywords > span:not(.safe-place-keywords__logo) {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 0.62rem;
  }

  .orientation-compass {
    min-height: 560px;
    padding: 18px;
  }

  .orientation-compass__dial {
    width: min(100%, 330px);
    margin-top: 42px;
  }

  .orientation-compass__points {
    inset: 14px 8px 170px;
  }

  .orientation-compass__points button {
    min-height: 48px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  .orientation-compass__points button span {
    display: inline;
  }

  .orientation-compass__panel {
    margin-top: 8px;
  }

  .donation-ethic-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .donation-ethic-card h3,
  .donation-ethic-card p:not(.eyebrow) {
    margin-inline: auto;
  }
}

/* Passe retours 2026-07-21 : association, Safe Place, orientation, adhésion et réseaux */

.x-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--brand);
  font-size: 0.78em;
  font-weight: 700;
  line-height: 1;
}

html[data-theme="light"] .refonte-header {
  border-color: rgba(130, 24, 18, 0.14);
  background: rgba(249, 248, 247, 0.86);
  color: var(--ink);
  box-shadow: 0 18px 55px rgba(35, 31, 32, 0.16);
}

html[data-theme="light"] .refonte-header.is-scrolled {
  background: rgba(249, 248, 247, 0.96);
}

html[data-theme="light"] .main-nav a,
html[data-theme="light"] .main-nav button {
  color: var(--ink);
}

html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .replay-intro,
html[data-theme="light"] .menu-toggle {
  border-color: rgba(130, 24, 18, 0.16);
  background: rgba(35, 31, 32, 0.06);
  color: var(--ink);
}

html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .replay-intro:hover,
html[data-theme="light"] .menu-toggle:hover {
  background: rgba(130, 24, 18, 0.1);
}

html[data-theme="light"] .main-submenu {
  border-color: rgba(130, 24, 18, 0.14);
  background: rgba(249, 248, 247, 0.98);
  box-shadow: 0 20px 45px rgba(35, 31, 32, 0.16);
}

html[data-theme="light"] .main-submenu a:hover,
html[data-theme="light"] .main-submenu a:focus-visible,
html[data-theme="light"] .main-submenu a.is-current {
  background: var(--red-deep);
  color: #fff;
}

.origin-panel--story {
  grid-template-columns: minmax(0, 1fr) minmax(410px, 0.95fr);
}

.origin-panel--story h2 {
  max-width: 780px;
  font-size: clamp(2.25rem, 4.9vw, 4.9rem);
}

.origin-panel__path--expanded {
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
}

.origin-panel__path--expanded span {
  min-height: 142px;
  text-align: left;
}

.origin-panel__path--expanded small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
}

.section-heading:not(.section-heading--right) h2 {
  max-width: 900px;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-card h3 {
  margin-top: 18px;
  font-size: clamp(1.45rem, 2.05vw, 2.05rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  white-space: nowrap;
}

.team-card__dots {
  display: inline-flex;
  gap: 8px;
  margin-top: 14px;
}

.team-card__dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-deep);
}

.team-card__role {
  margin-top: 12px;
  color: var(--red-deep) !important;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-card > p:not(.team-card__role) {
  text-align: left;
}

.history-deck__controls button:disabled {
  opacity: 1;
  cursor: pointer;
}

.history-deck.is-moving-next .history-card.is-active {
  animation: history-card-cover-next 0.52s cubic-bezier(0.18, 0.82, 0.22, 1) both;
}

.history-deck.is-moving-prev .history-card.is-active {
  animation: history-card-cover-prev 0.52s cubic-bezier(0.18, 0.82, 0.22, 1) both;
}

@keyframes history-card-cover-next {
  0% {
    opacity: 0.64;
    transform: translate(42px, 52px) scale(0.88) rotate(-2.2deg);
  }

  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0);
  }
}

@keyframes history-card-cover-prev {
  0% {
    opacity: 0.64;
    transform: translate(-42px, 52px) scale(0.88) rotate(2.2deg);
  }

  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0);
  }
}

.safe-place-keywords {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(227, 32, 24, 0.15), transparent 39%),
    linear-gradient(145deg, var(--surface-soft), rgba(170, 31, 23, 0.08));
  overflow: hidden;
}

.safe-place-keywords::before,
.safe-place-keywords::after {
  position: absolute;
  border: 1px solid rgba(130, 24, 18, 0.18);
  border-radius: 50%;
  content: "";
}

.safe-place-keywords::before {
  inset: 15%;
}

.safe-place-keywords::after {
  inset: 28%;
}

.safe-place-keywords span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass-strong);
  color: var(--red-deep);
  font-family: var(--brand);
  font-size: clamp(0.68rem, 1vw, 0.9rem);
  line-height: 1;
  text-align: center;
  box-shadow: 0 15px 32px rgba(130, 24, 18, 0.12);
  animation: safe-place-float 4.2s ease-in-out infinite;
}

.safe-place-keywords span:nth-child(1) {
  top: 16%;
  left: 12%;
}

.safe-place-keywords span:nth-child(2) {
  top: 18%;
  right: 9%;
  animation-delay: -0.7s;
}

.safe-place-keywords span:nth-child(3) {
  right: 14%;
  bottom: 20%;
  animation-delay: -1.1s;
}

.safe-place-keywords span:nth-child(4) {
  bottom: 14%;
  left: 16%;
  animation-delay: -1.7s;
}

.safe-place-keywords span:nth-child(5) {
  top: 45%;
  left: 7%;
  animation-delay: -2.2s;
}

.safe-place-keywords span:nth-child(6) {
  top: 46%;
  right: 6%;
  animation-delay: -2.8s;
}

.safe-place-keywords span:nth-child(1)::after {
  display: grid;
  position: absolute;
  inset: auto auto -116px 115%;
  width: 118px;
  height: 118px;
  place-items: center;
  border-radius: 50%;
  background: var(--red-vivid);
  color: #fff;
  font-family: "Font Awesome 5 Free";
  font-size: 2.2rem;
  font-weight: 900;
  content: "\f11b";
  box-shadow: 0 22px 45px rgba(227, 32, 24, 0.26);
}

@keyframes safe-place-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.safe-place-bento .info-card h3 {
  max-width: 420px;
}

.orientation-compass {
  position: relative;
  display: grid;
  min-height: 455px;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 43%, rgba(227, 32, 24, 0.14), transparent 35%),
    var(--surface-soft);
  overflow: hidden;
}

.orientation-compass__dial {
  position: relative;
  display: grid;
  width: min(260px, 58vw);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(130, 24, 18, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--glass-strong) 0 31%, transparent 32%),
    conic-gradient(from 45deg, rgba(227, 32, 24, 0.14), transparent 22%, rgba(130, 24, 18, 0.11), transparent 62%, rgba(227, 32, 24, 0.14));
}

.orientation-compass__dial span {
  position: absolute;
  width: 58%;
  height: 58%;
  border: 1px solid rgba(130, 24, 18, 0.24);
  border-radius: 50%;
}

.orientation-compass__dial i {
  position: relative;
  z-index: 2;
  color: var(--red-vivid);
  font-size: clamp(3rem, 7vw, 5.4rem);
  filter: drop-shadow(0 18px 30px rgba(130, 24, 18, 0.22));
  transform: rotate(var(--compass-angle));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.orientation-compass__points {
  position: absolute;
  inset: 24px 24px 118px;
  z-index: 3;
  pointer-events: none;
}

.orientation-compass__points button {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass-strong);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  pointer-events: auto;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.orientation-compass__points button:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__points button:nth-child(2) {
  top: 42%;
  right: 0;
}

.orientation-compass__points button:nth-child(3) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__points button:nth-child(4) {
  top: 42%;
  left: 0;
}

.orientation-compass__points button.is-active,
.orientation-compass__points button:hover,
.orientation-compass__points button:focus-visible {
  background: var(--red-deep);
  color: #fff;
}

.orientation-compass__panel {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 5px;
  width: 100%;
  min-height: 92px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass-strong);
}

.orientation-compass__panel strong,
.orientation-compass__panel span {
  display: block;
}

.orientation-compass__panel span {
  color: var(--muted);
  font-size: 0.82rem;
}

.membership-route {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 56px);
  width: min(1120px, 100%);
  margin-inline: auto;
  padding: clamp(28px, 5vw, 54px);
  overflow: hidden;
}

.membership-route__track {
  position: relative;
  display: grid;
  gap: 18px;
}

.membership-route__track::before {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 32px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(var(--red-vivid), var(--red-deep));
  content: "";
}

.membership-route__step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 64px 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 82px;
  padding: 12px 18px 12px 0;
  border-radius: 24px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.membership-route__step > span {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 2px solid var(--red-vivid);
  border-radius: 50%;
  background: var(--glass-strong);
  color: var(--red-vivid);
  font-family: var(--brand);
  font-size: 0.74rem;
}

.membership-route__step i {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  background: var(--red-vivid);
  color: #fff;
}

.membership-route__step strong {
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  line-height: 1.12;
}

.membership-route__step.is-active,
.membership-route__step:hover,
.membership-route__step:focus-visible {
  background: var(--surface-soft);
}

.membership-route__step.is-active > span {
  background: var(--red-deep);
  color: #fff;
  border-color: var(--red-deep);
}

.membership-route__panel {
  align-self: center;
  display: grid;
  gap: 14px;
  min-height: 315px;
  align-content: center;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface-soft);
}

.membership-route__panel.is-changing {
  animation: membership-panel-slide 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.membership-route__number {
  color: var(--red-vivid);
  font-family: var(--brand);
  font-size: 0.9rem;
}

.membership-route__panel h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.membership-route__panel p {
  color: var(--muted);
}

.membership-route__panel .button {
  width: fit-content;
  margin-top: 8px;
}

@keyframes membership-panel-slide {
  0% {
    opacity: 0;
    transform: translateX(18px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.social-logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.social-logo-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red-deep);
  color: #fff;
  font-size: 1.22rem;
  box-shadow: 0 16px 30px rgba(130, 24, 18, 0.18);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-logo-grid a:hover,
.social-logo-grid a:focus-visible,
.footer-socials a:hover,
.footer-socials a:focus-visible {
  background: var(--red-vivid);
  transform: translateY(-3px);
}

.partners-hero .hero-actions {
  justify-content: flex-start;
}

.partners-hero .button--primary {
  background: var(--red-deep);
}

@media (max-width: 1180px) {
  .origin-panel--story,
  .safe-place-stage,
  .orientation-stage,
  .membership-route {
    grid-template-columns: 1fr;
  }

  .origin-panel__path--expanded {
    grid-template-columns: 1fr;
  }

  .origin-panel__path--expanded > i {
    transform: rotate(90deg);
    justify-self: center;
  }

  .team-card h3 {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .refonte-header {
    top: 12px;
    width: min(calc(100% - 22px), 1260px);
  }

  .origin-panel__path--expanded span {
    min-height: 110px;
  }

  .safe-place-keywords {
    min-height: 360px;
    padding: 20px;
  }

  .safe-place-keywords span {
    min-height: 40px;
    padding-inline: 12px;
  }

  .safe-place-keywords span:nth-child(1)::after {
    inset: auto auto -98px 86%;
    width: 92px;
    height: 92px;
    font-size: 1.7rem;
  }

  .orientation-compass {
    min-height: 430px;
    padding: 20px;
  }

  .orientation-compass__points {
    inset: 14px 14px 112px;
  }

  .orientation-compass__points button {
    gap: 6px;
    min-height: 38px;
    padding-inline: 10px;
    font-size: 0.65rem;
  }

  .orientation-compass__points button span {
    max-width: 86px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .membership-route {
    padding: 24px;
  }

  .membership-route__track::before {
    left: 27px;
  }

  .membership-route__step {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    padding-right: 0;
  }

  .membership-route__step > span {
    width: 54px;
    height: 54px;
  }

  .membership-route__step i {
    display: none;
  }

  .social-logo-grid {
    justify-content: center;
  }

  .team-card > p:not(.team-card__role) {
    text-align: center;
  }
}

/* Surcharge finale 2026-07-22 : mode visuel MSP, vraie boussole et carte charte de don */

.safe-place-keywords {
  isolation: isolate;
}

.safe-place-keywords > span.safe-place-keywords__logo,
.safe-place-keywords span.safe-place-keywords__logo:nth-child(1) {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  z-index: 2;
  display: block;
  width: clamp(128px, 18vw, 184px);
  height: clamp(128px, 18vw, 184px);
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 24px 56px rgba(130, 24, 18, 0.2);
  overflow: hidden;
  transform: translate(-50%, -50%);
  animation: none;
}

.safe-place-keywords > span.safe-place-keywords__logo::after,
.safe-place-keywords span.safe-place-keywords__logo:nth-child(1)::after {
  content: none;
  display: none;
}

.safe-place-keywords__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html[data-theme="light"] .safe-place-keywords__logo-night,
html[data-theme="dark"] .safe-place-keywords__logo-day {
  display: none;
}

html[data-theme="dark"] .safe-place-keywords > span.safe-place-keywords__logo {
  box-shadow: 0 24px 68px rgba(227, 32, 24, 0.28);
}

.safe-place-keywords > span:not(.safe-place-keywords__logo) {
  z-index: 3;
}

.safe-place-keywords > span:nth-child(2) {
  top: 15%;
  left: 13%;
  right: auto;
  bottom: auto;
}

.safe-place-keywords > span:nth-child(3) {
  top: 18%;
  right: 8%;
  bottom: auto;
  left: auto;
}

.safe-place-keywords > span:nth-child(4) {
  right: 11%;
  bottom: 20%;
  top: auto;
  left: auto;
}

.safe-place-keywords > span:nth-child(5) {
  bottom: 13%;
  left: 15%;
  top: auto;
  right: auto;
}

.safe-place-keywords > span:nth-child(6) {
  top: 45%;
  left: 7%;
  right: auto;
  bottom: auto;
}

.safe-place-keywords > span:nth-child(7) {
  top: 46%;
  right: 6%;
  left: auto;
  bottom: auto;
}

.orientation-compass {
  --compass-angle: 0deg;
  position: relative;
  display: grid;
  min-height: 470px;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 43%, rgba(227, 32, 24, 0.14), transparent 37%),
    var(--surface-soft);
  overflow: hidden;
}

.orientation-compass__dial {
  position: relative;
  display: grid;
  width: min(292px, 60vw);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(130, 24, 18, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--glass-strong) 0 25%, transparent 26% 100%),
    repeating-conic-gradient(from -2deg, rgba(130, 24, 18, 0.3) 0 1deg, transparent 1deg 14deg),
    conic-gradient(from 45deg, rgba(227, 32, 24, 0.14), transparent 20%, rgba(130, 24, 18, 0.11), transparent 62%, rgba(227, 32, 24, 0.14));
  box-shadow: inset 0 0 0 18px rgba(255, 255, 255, 0.35), 0 24px 60px rgba(130, 24, 18, 0.13);
}

.orientation-compass__dial::before,
.orientation-compass__dial::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 86%;
  height: 1px;
  border: 0;
  border-radius: 999px;
  background: rgba(130, 24, 18, 0.18);
  content: "";
  transform-origin: left center;
}

.orientation-compass__dial::before {
  transform: rotate(0deg) translateX(-50%);
}

.orientation-compass__dial::after {
  transform: rotate(90deg) translateX(-50%);
}

.orientation-compass__dial span {
  width: auto;
  height: auto;
}

.orientation-compass__ring,
.orientation-compass__ring--inner {
  position: absolute;
  border: 1px solid rgba(130, 24, 18, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.orientation-compass__ring {
  inset: 14%;
}

.orientation-compass__ring--inner {
  inset: 31%;
}

.orientation-compass__cardinal {
  position: absolute;
  z-index: 2;
  border: 0;
  color: var(--red-deep);
  font-family: var(--brand);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  opacity: 0.85;
  pointer-events: none;
}

.orientation-compass__cardinal--north {
  top: 7%;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__cardinal--east {
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
}

.orientation-compass__cardinal--south {
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__cardinal--west {
  top: 50%;
  left: 7%;
  transform: translateY(-50%);
}

.orientation-compass__needle {
  position: absolute;
  z-index: 4;
  width: 112px;
  height: 112px;
  border: 0;
  filter: drop-shadow(0 18px 28px rgba(130, 24, 18, 0.25));
  transform: rotate(var(--compass-angle));
  transform-origin: 50% 50%;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.orientation-compass__needle::before {
  position: absolute;
  inset: 4px 30px 48px 30px;
  background: var(--red-vivid);
  clip-path: polygon(50% 0, 100% 100%, 50% 78%, 0 100%);
  content: "";
}

.orientation-compass__needle::after {
  position: absolute;
  inset: 48px 30px 4px 30px;
  background: var(--red-deep);
  clip-path: polygon(50% 100%, 100% 0, 50% 22%, 0 0);
  content: "";
  opacity: 0.72;
}

.orientation-compass__hub {
  position: absolute;
  z-index: 5;
  width: 22px;
  height: 22px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--red-deep);
  box-shadow: 0 8px 20px rgba(35, 31, 32, 0.18);
  pointer-events: none;
}

.orientation-compass__points {
  position: absolute;
  inset: 24px 24px 118px;
  z-index: 6;
  pointer-events: none;
}

.orientation-compass__points button {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass-strong);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  pointer-events: auto;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.orientation-compass__points button:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__points button:nth-child(2) {
  top: 42%;
  right: 0;
}

.orientation-compass__points button:nth-child(3) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__points button:nth-child(4) {
  top: 42%;
  left: 0;
}

.orientation-compass__points button.is-active,
.orientation-compass__points button:hover,
.orientation-compass__points button:focus-visible {
  background: var(--red-deep);
  color: #fff;
  border-color: var(--red-deep);
}

.orientation-compass__panel {
  position: relative;
  z-index: 7;
  display: grid;
  gap: 5px;
  width: 100%;
  min-height: 96px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--glass-strong);
}

html[data-theme="dark"] .orientation-compass__dial {
  border-color: rgba(227, 32, 24, 0.32);
  background:
    radial-gradient(circle, rgba(35, 31, 32, 0.98) 0 25%, transparent 26% 100%),
    repeating-conic-gradient(from -2deg, rgba(227, 32, 24, 0.36) 0 1deg, transparent 1deg 14deg),
    conic-gradient(from 45deg, rgba(227, 32, 24, 0.2), transparent 20%, rgba(130, 24, 18, 0.18), transparent 62%, rgba(227, 32, 24, 0.22));
  box-shadow: inset 0 0 0 18px rgba(255, 255, 255, 0.04), 0 24px 60px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .orientation-compass__panel {
  background: rgba(35, 31, 32, 0.86);
}

.donation-ethic {
  padding-top: clamp(20px, 4vw, 52px);
}

.donation-ethic-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(22px, 3vw, 38px);
  align-items: center;
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 56px);
  text-align: left;
}

.donation-ethic-card__icon {
  display: grid;
  width: clamp(86px, 10vw, 122px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 30%;
  background: var(--red-vivid);
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 20px 44px rgba(227, 32, 24, 0.22);
}

.donation-ethic-card h3 {
  max-width: 620px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.donation-ethic-card p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 12px;
  color: var(--muted);
}

.donation-ethic-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 22px;
  color: var(--red-deep);
  font-weight: 900;
}

@media (max-width: 767px) {
  .safe-place-keywords > span.safe-place-keywords__logo,
  .safe-place-keywords span.safe-place-keywords__logo:nth-child(1) {
    width: 116px;
    height: 116px;
  }

  .safe-place-keywords > span:not(.safe-place-keywords__logo) {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.61rem;
  }

  .orientation-compass {
    min-height: 450px;
    padding: 20px;
  }

  .orientation-compass__dial {
    width: min(235px, 68vw);
  }

  .orientation-compass__points {
    inset: 14px 14px 116px;
  }

  .orientation-compass__points button {
    gap: 6px;
    min-height: 38px;
    padding-inline: 10px;
    font-size: 0.65rem;
  }

  .orientation-compass__points button span {
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .donation-ethic-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .donation-ethic-card h3,
  .donation-ethic-card p:not(.eyebrow) {
    margin-inline: auto;
  }
}

/* Surcharge finale 2026-07-22 */

.safe-place-keywords {
  isolation: isolate;
}

.safe-place-keywords .safe-place-keywords__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  width: clamp(122px, 18vw, 178px);
  height: clamp(122px, 18vw, 178px);
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 22px 54px rgba(130, 24, 18, 0.2);
  overflow: hidden;
  transform: translate(-50%, -50%);
  animation: none;
}

.safe-place-keywords .safe-place-keywords__logo::after {
  content: none;
}

.safe-place-keywords__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html[data-theme="light"] .safe-place-keywords__logo-night,
html[data-theme="dark"] .safe-place-keywords__logo-day {
  display: none;
}

.safe-place-keywords > span:not(.safe-place-keywords__logo) {
  z-index: 3;
}

.safe-place-keywords > span:nth-child(2) {
  top: 14%;
  left: 13%;
}

.safe-place-keywords > span:nth-child(3) {
  top: 18%;
  right: 9%;
}

.safe-place-keywords > span:nth-child(4) {
  right: 10%;
  bottom: 20%;
}

.safe-place-keywords > span:nth-child(5) {
  bottom: 14%;
  left: 16%;
}

.safe-place-keywords > span:nth-child(6) {
  top: 45%;
  left: 7%;
}

.safe-place-keywords > span:nth-child(7) {
  top: 43%;
  right: 8%;
}

.orientation-compass {
  min-height: 610px;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
}

.orientation-compass__dial {
  position: relative;
  width: min(100%, 430px);
  margin: 18px auto 0;
  aspect-ratio: 1;
  border: 1px solid rgba(130, 24, 18, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--glass-strong) 0 22%, transparent 23%),
    repeating-conic-gradient(from -2deg, rgba(130, 24, 18, 0.22) 0 1deg, transparent 1deg 14deg),
    radial-gradient(circle at 50% 50%, rgba(227, 32, 24, 0.2), rgba(227, 32, 24, 0.06) 44%, transparent 64%);
  box-shadow:
    inset 0 0 0 44px rgba(255, 255, 255, 0.2),
    0 24px 64px rgba(130, 24, 18, 0.14);
}

.orientation-compass__dial::before,
.orientation-compass__dial::after {
  position: absolute;
  border: 1px solid rgba(130, 24, 18, 0.2);
  border-radius: 50%;
  content: "";
}

.orientation-compass__dial::before {
  inset: 15%;
}

.orientation-compass__dial::after {
  inset: 34%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.7));
  box-shadow: inset 0 0 34px rgba(130, 24, 18, 0.12);
}

.orientation-compass__ring,
.orientation-compass__ring--inner {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: none;
  box-shadow: none;
}

.orientation-compass__ring {
  inset: 4%;
  border: 1px solid rgba(130, 24, 18, 0.22);
}

.orientation-compass__ring--inner {
  inset: 26%;
  border-color: rgba(130, 24, 18, 0.16);
}

.orientation-compass__cardinal {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--red-deep);
  font-family: var(--brand);
  font-size: 0.78rem;
  line-height: 1;
}

.orientation-compass__cardinal--north {
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__cardinal--east {
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
}

.orientation-compass__cardinal--south {
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__cardinal--west {
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
}

.orientation-compass__needle {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  border: 0;
  background: none;
  box-shadow: none;
  transform: rotate(var(--compass-angle));
  transform-origin: 50% 50%;
  transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

.orientation-compass__needle::before {
  position: absolute;
  top: 7%;
  left: 50%;
  width: clamp(34px, 5.4vw, 58px);
  height: 45%;
  border-radius: 999px 999px 42% 42%;
  background: linear-gradient(180deg, var(--red-vivid), var(--red-deep));
  clip-path: polygon(50% 0, 100% 100%, 50% 78%, 0 100%);
  content: "";
  filter: drop-shadow(0 16px 20px rgba(130, 24, 18, 0.28));
  transform: translateX(-50%);
}

.orientation-compass__needle::after {
  position: absolute;
  bottom: 19%;
  left: 50%;
  width: clamp(14px, 2vw, 22px);
  height: 20%;
  border-radius: 999px;
  background: rgba(130, 24, 18, 0.45);
  content: "";
  transform: translateX(-50%);
}

.orientation-compass__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  display: block;
  width: clamp(42px, 6vw, 62px);
  height: clamp(42px, 6vw, 62px);
  border: 8px solid var(--glass-strong);
  border-radius: 50%;
  background: var(--red-deep);
  box-shadow: 0 15px 30px rgba(130, 24, 18, 0.2);
  transform: translate(-50%, -50%);
}

.orientation-compass__points {
  inset: 24px 24px 176px;
  z-index: 8;
  pointer-events: none;
}

.orientation-compass__points button {
  z-index: 9;
  min-height: 58px;
  pointer-events: auto;
  box-shadow: 0 16px 34px rgba(130, 24, 18, 0.1);
}

.orientation-compass__points button:nth-child(1) {
  top: 1.5%;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__points button:nth-child(2) {
  top: 35%;
  right: 0;
  transform: translateY(-50%);
}

.orientation-compass__points button:nth-child(3) {
  bottom: 2.5%;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__points button:nth-child(4) {
  top: 35%;
  left: 0;
  transform: translateY(-50%);
}

.orientation-compass__panel {
  position: relative;
  z-index: 7;
  margin-top: -6px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(12px);
}

html[data-theme="dark"] .orientation-compass__dial {
  background:
    radial-gradient(circle at 50% 50%, rgba(35, 31, 32, 0.94) 0 22%, transparent 23%),
    repeating-conic-gradient(from -2deg, rgba(227, 32, 24, 0.28) 0 1deg, transparent 1deg 14deg),
    radial-gradient(circle at 50% 50%, rgba(227, 32, 24, 0.28), rgba(227, 32, 24, 0.08) 44%, transparent 64%);
  box-shadow:
    inset 0 0 0 44px rgba(255, 255, 255, 0.03),
    0 28px 76px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .orientation-compass__dial::after {
  background: radial-gradient(circle, rgba(35, 31, 32, 0.98), rgba(35, 31, 32, 0.76));
}

html[data-theme="dark"] .orientation-compass__panel {
  background: rgba(35, 31, 32, 0.72);
}

.donation-ethic {
  padding-top: 0;
}

.donation-ethic-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
}

.donation-ethic-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(96px, 14vw, 152px);
  height: clamp(96px, 14vw, 152px);
  justify-self: center;
  border-radius: 32px;
  background: var(--red-vivid);
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 4rem);
  box-shadow: 0 26px 54px rgba(130, 24, 18, 0.24);
}

.donation-ethic-card h3 {
  margin: 0 0 14px;
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(2rem, 4.6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.donation-ethic-card p:not(.eyebrow) {
  max-width: 820px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.65;
}

.donation-ethic-card a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--red-deep);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 760px) {
  .safe-place-keywords .safe-place-keywords__logo {
    width: 112px;
    height: 112px;
  }

  .safe-place-keywords > span:not(.safe-place-keywords__logo) {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 0.62rem;
  }

  .orientation-compass {
    min-height: 560px;
    padding: 18px;
  }

  .orientation-compass__dial {
    width: min(100%, 330px);
    margin-top: 42px;
  }

  .orientation-compass__points {
    inset: 14px 8px 170px;
  }

  .orientation-compass__points button {
    min-height: 48px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  .orientation-compass__points button span {
    display: inline;
  }

  .orientation-compass__panel {
    margin-top: 8px;
  }

  .donation-ethic-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .donation-ethic-card h3,
  .donation-ethic-card p:not(.eyebrow) {
    margin-inline: auto;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: #0c0a0b;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.is-intro-running {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
blockquote,
ul,
ol {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(227, 32, 24, 0.18), transparent 30%),
    radial-gradient(circle at 88% 74%, rgba(170, 31, 23, 0.23), transparent 36%),
    linear-gradient(155deg, #151112 0%, #080707 100%);
  pointer-events: none;
}

.site-backdrop::before {
  position: absolute;
  right: -8vw;
  bottom: 4vh;
  width: min(1040px, 82vw);
  height: min(520px, 55vh);
  background: none;
  content: "";
  opacity: 0.3;
  transform: rotate(-6deg);
}

.site-backdrop span {
  position: absolute;
  top: 16vh;
  left: 4vw;
  width: 210px;
  height: 90px;
  background-image: radial-gradient(circle, rgba(227, 32, 24, 0.78) 2.5px, transparent 3px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg, #000 0 30%, transparent 90%);
}

.refonte-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 36px), 1260px);
  min-height: 66px;
  padding: 10px 16px 10px 21px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(22, 17, 19, 0.79);
  color: #fff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
  backdrop-filter: blur(18px) saturate(130%);
  transition: background-color 0.2s ease;
}

.refonte-header.is-scrolled {
  background: rgba(22, 17, 19, 0.96);
}

body.is-intro-running .refonte-header {
  visibility: hidden;
  pointer-events: none;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--brand);
  font-size: clamp(0.8rem, 1.25vw, 1.14rem);
  line-height: 1.2;
  white-space: nowrap;
}

.brand-link img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.1vw, 18px);
}

.main-nav li {
  position: relative;
}

.main-nav a,
.main-nav button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 0;
  background: transparent;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 500;
  white-space: nowrap;
}

.main-nav__list > li > a::after,
.main-nav__list > li > button::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 5px;
  background-image: radial-gradient(circle, var(--red-vivid) 2px, transparent 2.5px);
  background-position: center;
  background-size: 11px 5px;
  content: "";
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-nav__list > li > a:hover::after,
.main-nav__list > li > a:focus-visible::after,
.main-nav__list > li > a.is-current::after,
.main-nav__dropdown.is-current-group > button::after,
.main-nav__list > li > button:hover::after,
.main-nav__list > li > button:focus-visible::after,
.main-nav__dropdown.is-open > button::after {
  opacity: 1;
  transform: translateY(0);
}

.main-nav__dropdown > button i {
  font-size: 0.6rem;
  transition: transform 0.2s ease;
}

.main-nav__dropdown > button[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.main-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: max-content;
  min-width: 238px;
  padding: 9px !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  background: rgba(22, 17, 19, 0.98);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.34);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  backdrop-filter: blur(18px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

.main-submenu::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 10px;
  content: "";
}

.main-nav__dropdown:hover > .main-submenu,
.main-nav__dropdown:focus-within > .main-submenu,
.main-nav__dropdown.is-open > .main-submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

.main-submenu a {
  display: flex;
  width: 100%;
  padding: 10px 12px;
  border-radius: 9px;
  white-space: normal;
}

.main-submenu a:hover,
.main-submenu a:focus-visible,
.main-submenu a.is-current {
  background: rgba(170, 31, 23, 0.52);
}

.menu-toggle {
  display: none;
}

.glass {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(120%);
}

.page-content {
  position: relative;
  z-index: 2;
}

.page-hero {
  display: grid;
  place-items: center;
  min-height: 84svh;
  padding: 130px max(22px, 5vw) 70px;
}

.page-hero__inner {
  position: relative;
  width: min(1040px, 100%);
  padding: clamp(34px, 6vw, 74px);
  overflow: hidden;
  text-align: center;
}

.page-hero__inner::after {
  position: absolute;
  right: -30px;
  bottom: -22px;
  width: 220px;
  height: 100px;
  background-image: radial-gradient(circle, rgba(170, 31, 23, 0.34) 3px, transparent 3.5px);
  background-size: 18px 18px;
  content: "";
  transform: rotate(-6deg);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--red-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 11px 0 var(--red), 22px 0 var(--red), 33px 0 var(--red), 44px 0 var(--red);
  content: "";
  margin-right: 39px;
}

.page-hero .eyebrow {
  justify-content: center;
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin-inline: auto;
  font-size: clamp(2.8rem, 6.2vw, 6rem);
  letter-spacing: -0.065em;
  line-height: 0.97;
  text-transform: uppercase;
}

.page-hero__lead {
  position: relative;
  z-index: 1;
  max-width: 770px;
  margin: 25px auto 0;
  color: #50484a;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.hero-actions,
.button-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--red-deep);
  border-radius: 14px;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--red-deep);
  color: #fff;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--red);
}

.button--light {
  background: rgba(255, 255, 255, 0.58);
  color: var(--red-deep);
}

.button--light:hover,
.button--light:focus-visible {
  background: #fff;
}

.section {
  min-height: 78svh;
  padding: 110px max(22px, 6vw) 80px;
  scroll-margin-top: 95px;
}

.section--compact {
  min-height: auto;
  padding-block: 62px;
}

.section-heading {
  width: min(720px, 100%);
  margin-bottom: 38px;
  padding: clamp(28px, 4.5vw, 52px);
}

.section-heading--right {
  margin-left: auto;
}

.section-heading h2,
.split-panel h2,
.cta-panel h2,
.media-chapter h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.2vw, 4.15rem);
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.section-heading > p:last-child,
.split-panel p,
.cta-panel p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1160px, 100%);
  margin-inline: auto;
}

.card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
  position: relative;
  min-height: 290px;
  padding: 30px;
  overflow: hidden;
}

.info-card::after {
  position: absolute;
  right: -24px;
  bottom: -20px;
  width: 120px;
  height: 72px;
  background-image: radial-gradient(circle, rgba(170, 31, 23, 0.25) 2.5px, transparent 3px);
  background-size: 15px 15px;
  content: "";
}

.info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  background: var(--red-deep);
  color: #fff;
  font-size: 1.2rem;
}

.info-card h3 {
  margin-top: 32px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.info-card p {
  margin-top: 14px;
  color: var(--muted);
}

.info-card a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: var(--red-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.info-card a i {
  transition: transform 0.2s ease;
}

.info-card a:hover i,
.info-card a:focus-visible i {
  transform: translateX(4px);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
  width: min(1120px, 100%);
  margin-inline: auto;
  padding: clamp(30px, 5vw, 62px);
}

.split-panel--reverse > :first-child {
  order: 2;
}

.split-panel__visual {
  display: grid;
  place-items: center;
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 20%, rgba(227, 32, 24, 0.2), transparent 30%),
    rgba(255, 255, 255, 0.52);
}

.split-panel__visual img {
  max-height: 290px;
  object-fit: contain;
}

.big-mark {
  color: var(--red-deep);
  font-family: var(--brand);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1;
  text-align: center;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(1120px, 100%);
  margin-inline: auto;
}

.fact {
  min-height: 132px;
  padding: 24px;
}

.fact strong {
  display: block;
  color: var(--red-deep);
  font-family: var(--brand);
  font-size: 1.5rem;
  line-height: 1.1;
}

.fact span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.story-list,
.timeline {
  width: min(980px, 100%);
  margin: 40px auto 0;
  padding: 0;
  list-style: none;
}

.story-list li,
.timeline li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.story-list__number,
.timeline time {
  color: #ff8a84;
  font-family: var(--brand);
  font-size: 1.05rem;
}

.story-list h3,
.timeline h3 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.story-list p,
.timeline p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.resource-list {
  display: grid;
  gap: 12px;
  width: min(1080px, 100%);
  margin-inline: auto;
}

.resource-item {
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1.3fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
}

.resource-item h3 {
  font-size: 1.05rem;
}

.resource-item p {
  color: var(--muted);
  font-size: 0.82rem;
}

.resource-item a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  width: min(1080px, 100%);
  margin-inline: auto;
  padding: clamp(30px, 5vw, 58px);
}

.cta-panel .button-row {
  margin-top: 0;
}

.quote-panel {
  width: min(900px, 100%);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 58px);
}

.quote-panel blockquote {
  font-size: clamp(1.25rem, 2.4vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.quote-panel cite {
  display: block;
  margin-top: 18px;
  color: var(--red-deep);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.home-video-stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #090708;
  pointer-events: none;
}

.home-video-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-video--mobile {
  display: none;
}

.home-video-stage::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 9, 10, 0.7), rgba(12, 9, 10, 0.38) 38%, rgba(12, 9, 10, 0.74));
  content: "";
  opacity: 1;
  transition: opacity 0.45s ease;
}

body.is-intro-running .home-video-stage::after {
  opacity: 0;
}

.home-main {
  position: relative;
  z-index: 2;
  opacity: 1;
}

body.is-intro-running .home-main {
  visibility: hidden;
  pointer-events: none;
}

.home-hero {
  min-height: 100svh;
}

.home-hero h1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.04em 0.28em;
  max-width: none;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
}

.intro-skip {
  position: fixed;
  right: 26px;
  bottom: 24px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(16, 13, 14, 0.42);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

body:not(.is-intro-running) .intro-skip {
  display: none;
}

.replay-intro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 600;
}

.main-nav__list > li.nav-replay > button::after {
  display: none;
}

.partner-showcase {
  --partner-accent: var(--red-vivid);
  --partner-surface: rgba(255, 255, 255, 0.55);
  --partner-button: var(--red-deep);
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
  width: min(1080px, 100%);
  margin-inline: auto;
  padding: clamp(30px, 5vw, 60px);
}

.partner-logo-box {
  display: grid;
  place-items: center;
  min-height: 340px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--partner-surface);
}

.partner-logo-box img {
  width: min(100%, 280px);
}

.partner-logo-box__placeholder {
  color: var(--partner-accent);
  font-size: clamp(3.5rem, 10vw, 7rem);
}

.partner-showcase .eyebrow {
  color: var(--partner-accent);
}

.partner-showcase .button--primary {
  border-color: var(--partner-button);
  background: var(--partner-button);
}

.partner-showcase .button--light {
  color: var(--partner-button);
}

.partner-showcase h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.partner-showcase p {
  margin-top: 17px;
  color: var(--muted);
}

.media-intro-note {
  width: min(920px, 100%);
  margin: 0 auto 52px;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.58);
}

.media-story {
  display: grid;
  gap: 26px;
  width: min(1140px, 100%);
  margin-inline: auto;
}

.media-chapter {
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
}

.media-chapter:nth-child(even) > :first-child {
  order: 2;
}

.media-chapter__visual {
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.52);
}

.media-chapter__visual img {
  max-height: 230px;
  object-fit: contain;
}

.media-chapter__visual--palette {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.media-chapter__visual--palette span {
  width: 100%;
  height: 150px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(35, 31, 32, 0.12);
}

.download-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.download-list a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--red-deep);
  font-size: 0.75rem;
  font-weight: 700;
}

.download-all-floating {
  position: fixed;
  right: 20px;
  bottom: 18px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(130, 24, 18, 0.92);
  color: #fff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 28px;
  width: min(1080px, 100%);
  margin-inline: auto;
}

.contact-panel,
.contact-form {
  padding: clamp(28px, 4vw, 46px);
}

.contact-panel h2,
.contact-form h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
}

.contact-panel p {
  margin-top: 15px;
  color: var(--muted);
}

.social-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.social-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--red-deep);
  font-weight: 600;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.76rem;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(35, 31, 32, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.form-field input,
.form-field select {
  height: 48px;
  padding: 0 14px;
}

.form-field textarea {
  min-height: 150px;
  padding: 13px 14px;
  resize: vertical;
}

.form-notice,
.form-status {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.75rem;
}

.form-status {
  color: var(--red-deep);
  font-weight: 700;
}

.form-status:empty {
  display: none;
}

.form-status.is-visible {
  display: block;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-soft);
}

.form-status.is-success {
  color: #25733e;
}

.form-status.is-error {
  color: var(--red-vivid);
}

.contact-form__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  width: min(1120px, 100%);
  margin-inline: auto;
}

.legal-nav {
  position: sticky;
  top: 110px;
  align-self: start;
  padding: 22px;
}

.legal-nav strong {
  display: block;
  margin-bottom: 14px;
  color: var(--red-deep);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.legal-nav a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
}

.legal-content {
  display: grid;
  gap: 16px;
}

.legal-card {
  padding: clamp(26px, 4vw, 44px);
  scroll-margin-top: 110px;
}

.legal-card h2 {
  color: var(--red-deep);
  font-size: clamp(1.45rem, 2.8vw, 2.5rem);
  line-height: 1.12;
}

.legal-card h3 {
  margin-top: 22px;
  font-size: 1.05rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card p,
.legal-card ul,
.legal-card ol {
  margin-top: 13px;
}

.legal-card li + li {
  margin-top: 7px;
}

.refonte-footer {
  position: relative;
  z-index: 3;
  padding: 48px max(22px, 5vw) 28px;
}

.refonte-footer__inner {
  width: min(1220px, 100%);
  margin-inline: auto;
  overflow: hidden;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.8fr);
  gap: 34px;
  padding: 40px;
}

.footer-brand strong {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.footer-brand p,
.footer-column a,
.footer-column p {
  color: var(--muted);
  font-size: 0.76rem;
}

.footer-brand p {
  margin-top: 12px;
}

.footer-column h3 {
  margin-bottom: 12px;
  color: var(--red-deep);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  padding: 4px 0;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--red-deep);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 40px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
}

.footer-legal,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom a,
.footer-bottom p {
  color: var(--muted);
  font-size: 0.72rem;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red-deep);
  color: #fff;
}

[data-reveal] {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.62s ease var(--reveal-delay, 0s),
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s);
}

[data-reveal].is-reveal-pending {
  opacity: 0;
  transform: translateY(30px) scale(0.99);
}

[data-reveal].is-reveal-pending.is-visible,
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.noscript-message {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 100;
  padding: 16px;
  border-radius: 12px;
  background: #fff;
}

@media (max-width: 1180px) {
  .refonte-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    gap: 8px;
    min-height: 40px;
    padding: 0 13px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(350px, calc(100vw - 36px));
    max-height: calc(100svh - 110px);
    padding: 12px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(22, 17, 19, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .main-nav__list {
    display: grid;
    gap: 1px;
  }

  .main-nav a,
  .main-nav button {
    justify-content: space-between;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    text-align: left;
  }

  .main-nav__list > li > a::after,
  .main-nav__list > li > button::after {
    display: none;
  }

  .main-nav__list > li > a:hover,
  .main-nav__list > li > a:focus-visible,
  .main-nav__list > li > a.is-current,
  .main-nav__list > li > button:hover,
  .main-nav__list > li > button:focus-visible {
    background-image: radial-gradient(circle, var(--red-vivid) 2px, transparent 2.5px);
    background-position: 12px calc(100% - 4px);
    background-repeat: repeat-x;
    background-size: 11px 5px;
  }

  .main-nav__dropdown:hover > .main-submenu,
  .main-nav__dropdown:focus-within > .main-submenu {
    opacity: 0;
    visibility: hidden;
  }

  .main-nav__dropdown.is-open > .main-submenu {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .main-submenu,
  .main-nav__dropdown:hover > .main-submenu,
  .main-nav__dropdown:focus-within > .main-submenu,
  .main-nav__dropdown.is-open > .main-submenu {
    position: static;
    width: auto;
    min-width: 0;
    padding: 4px 0 7px 12px !important;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    backdrop-filter: none;
  }

  .main-submenu {
    display: none;
  }

  .main-submenu a {
    color: rgba(255, 255, 255, 0.8);
  }

  .card-grid,
  .card-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .site-backdrop::before {
    right: -45vw;
    width: 150vw;
  }

  .refonte-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 58px;
    padding: 8px 9px 8px 13px;
    border-radius: 18px;
  }

  .brand-link {
    max-width: 230px;
    font-size: 0.72rem;
    white-space: normal;
  }

  .brand-link img {
    width: 34px;
    height: 34px;
  }

  .menu-toggle span {
    display: none;
  }

  .menu-toggle {
    width: 40px;
    padding: 0;
  }

  .page-hero {
    min-height: 100svh;
    padding: 92px 16px 32px;
  }

  .page-hero__inner,
  .section-heading,
  .split-panel,
  .cta-panel,
  .quote-panel,
  .partner-showcase,
  .media-chapter,
  .contact-panel,
  .contact-form,
  .legal-card {
    padding: 27px 21px;
    border-radius: 22px;
  }

  .page-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.7rem);
  }

  .home-hero h1 {
    display: grid;
    gap: 0.01em;
  }

  .page-hero__lead {
    font-size: 0.92rem;
  }

  .hero-actions,
  .button-row {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section,
  .section--compact {
    min-height: auto;
    padding: 92px 16px 56px;
  }

  .card-grid,
  .card-grid--four,
  .fact-strip,
  .split-panel,
  .cta-panel,
  .partner-showcase,
  .media-chapter,
  .contact-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: 250px;
    padding: 26px 22px;
    border-radius: 22px;
  }

  .split-panel--reverse > :first-child,
  .media-chapter:nth-child(even) > :first-child {
    order: initial;
  }

  .split-panel__visual,
  .partner-logo-box {
    min-height: 250px;
  }

  .fact {
    min-height: 110px;
    border-radius: 20px;
  }

  .story-list li,
  .timeline li {
    grid-template-columns: 50px 1fr;
    gap: 13px;
    padding: 23px 0;
  }

  .story-list__number,
  .timeline time {
    font-size: 0.72rem;
  }

  .resource-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px;
    border-radius: 20px;
  }

  .cta-panel {
    gap: 26px;
  }

  .cta-panel .button-row {
    margin-top: 0;
  }

  .home-video--desktop {
    display: none;
  }

  .home-video--mobile {
    display: block;
  }

  .intro-skip {
    right: 13px;
    bottom: 14px;
  }

  .media-chapter__visual--palette span {
    height: 100px;
  }

  .download-all-floating {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    font-size: 0.65rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field--wide {
    grid-column: auto;
  }

  .legal-nav {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 30px 22px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }
}

/* Refonte v2 : thèmes, accessibilité et composants fondés sur les contenus réels */

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #ff9b95;
  outline-offset: 3px;
}

html[data-theme="light"] :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline-color: #821812;
}

html[data-theme="light"] {
  --ink: #231f20;
  --muted: #5d5557;
  --glass: rgba(249, 248, 247, 0.91);
  --glass-strong: rgba(252, 251, 250, 0.98);
  --line: rgba(130, 24, 18, 0.2);
  --surface-soft: rgba(255, 255, 255, 0.64);
  --field: rgba(255, 255, 255, 0.84);
  --page-background: #e7e3e3;
  --page-glow: rgba(227, 32, 24, 0.14);
}

html[data-theme="dark"] {
  --ink: #f5f5f5;
  --muted: #d2c8ca;
  --glass: rgba(29, 24, 26, 0.9);
  --glass-strong: rgba(23, 19, 20, 0.98);
  --line: rgba(255, 255, 255, 0.17);
  --surface-soft: rgba(255, 255, 255, 0.07);
  --field: rgba(255, 255, 255, 0.09);
  --page-background: #0c0a0b;
  --page-glow: rgba(227, 32, 24, 0.2);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

body {
  background: var(--page-background);
  color: var(--ink);
  transition: background-color 0.28s ease, color 0.28s ease;
}

html[data-theme="light"] .site-backdrop {
  background:
    radial-gradient(circle at 12% 18%, var(--page-glow), transparent 30%),
    radial-gradient(circle at 88% 74%, rgba(170, 31, 23, 0.12), transparent 36%),
    linear-gradient(155deg, #f4f1f1 0%, #dcd7d8 100%);
}

html[data-theme="dark"] .site-backdrop {
  background:
    radial-gradient(circle at 12% 18%, var(--page-glow), transparent 30%),
    radial-gradient(circle at 88% 74%, rgba(170, 31, 23, 0.23), transparent 36%),
    linear-gradient(155deg, #151112 0%, #080707 100%);
}

html[data-theme="light"] .site-backdrop::before {
  opacity: 0.2;
  filter: brightness(0) saturate(100%) invert(18%) sepia(70%) saturate(2861%) hue-rotate(351deg) brightness(84%) contrast(96%);
}

html[data-theme="dark"] .site-backdrop::before {
  opacity: 0.25;
  filter: none;
}

.site-backdrop span,
.page-hero__inner::after,
.info-card::after {
  display: none;
}

.glass {
  border-color: var(--line);
  color: var(--ink);
  background: var(--glass);
}

.page-hero__lead,
.section-heading > p:last-child,
.split-panel p,
.cta-panel p,
.partner-showcase p,
.contact-panel p,
.footer-brand p,
.footer-column a,
.footer-column p,
.footer-bottom a,
.footer-bottom p,
.legal-card p,
.legal-card li,
.info-card p,
.fact span,
.resource-item p,
.form-notice,
.form-status {
  color: var(--muted);
}

.split-panel__visual,
.partner-logo-box,
.media-chapter__visual,
.social-list a,
.download-list a,
.button--light,
.footer-bottom {
  background: var(--surface-soft);
}

.form-field input,
.form-field select,
.form-field textarea {
  border-color: var(--line);
  background: var(--field);
  color: var(--ink);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

.brand-corner {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 0;
  width: 60px;
  height: 60px;
  opacity: 0.65;
  pointer-events: none;
}

.brand-corner__dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.brand-corner__dot--corner {
  right: 0;
  bottom: 0;
}

.brand-corner__dot--up {
  right: 0;
  bottom: calc(var(--dot-index) * 11px);
}

.brand-corner__dot--left {
  right: calc(var(--dot-index) * 11px);
  bottom: 0;
}

.main-nav__list > li > a::after,
.main-nav__list > li > button::after {
  display: none;
  content: none;
}

.nav-dots {
  position: absolute;
  bottom: 1px;
  left: 50%;
  display: inline-flex;
  gap: 5px;
  width: max-content;
  transform: translateX(-50%);
  pointer-events: none;
}

.nav-dots > span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red-vivid);
  opacity: 0;
  transform: translateY(4px) scale(0.25);
  transition: opacity 0.16s ease calc(var(--dot-index) * 0.035s), transform 0.2s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--dot-index) * 0.035s);
}

.main-nav__list > li > a:hover .nav-dots > span,
.main-nav__list > li > a:focus-visible .nav-dots > span,
.main-nav__list > li > a.is-current .nav-dots > span,
.main-nav__dropdown.is-current-group > button .nav-dots > span,
.main-nav__list > li > button:hover .nav-dots > span,
.main-nav__list > li > button:focus-visible .nav-dots > span,
.main-nav__dropdown.is-open > button .nav-dots > span {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.refonte-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 0.71rem;
  font-weight: 600;
  white-space: nowrap;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}

.page-hero__inner,
.section-heading,
.split-panel,
.cta-panel,
.partner-showcase,
.media-chapter,
.contact-panel,
.contact-form,
.copy-panel,
.echo-conversation,
.legal-intro {
  position: relative;
  overflow: hidden;
}

.copy-panel,
.legal-intro {
  width: min(980px, 100%);
  margin-inline: auto;
  padding: clamp(30px, 5vw, 58px);
}

.copy-panel h2 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.03;
}

.copy-panel p + p,
.split-panel p + p {
  margin-top: 16px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin-inline: auto;
}

.team-card {
  padding: 30px;
}

.team-card h3 {
  font-size: clamp(1.45rem, 2.3vw, 2.1rem);
  line-height: 1.08;
}

.team-card > p:last-of-type {
  margin-top: 16px;
  color: var(--muted);
}

.team-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 24px;
}

.team-card__links a {
  color: var(--red-vivid);
  font-size: 0.78rem;
  font-weight: 700;
}

.story-list li,
.timeline li {
  margin-bottom: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--glass);
  color: var(--ink);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.14);
  text-shadow: none;
  backdrop-filter: blur(18px);
}

.story-list p,
.timeline p {
  color: var(--muted);
}

.story-list__number,
.timeline time {
  color: var(--red-vivid);
}

.plain-check-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-weight: 600;
}

.plain-check-list li::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  color: var(--red-vivid);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f00c";
}

.content-accordion {
  display: grid;
  gap: 12px;
  width: min(1080px, 100%);
  margin-inline: auto;
}

.content-accordion__item {
  overflow: hidden;
  border-radius: 20px;
}

.content-accordion__item h3 {
  margin: 0;
}

.content-accordion__item h3 > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 68px;
  padding: 18px 22px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  text-align: left;
}

.content-accordion__item h3 > button i {
  color: var(--red-vivid);
}

.content-accordion__item h3 > button:hover {
  background: var(--surface-soft);
}

.content-accordion__panel {
  padding: 0 22px 24px;
  color: var(--muted);
}

.content-accordion__panel[hidden] {
  display: none;
}

.content-accordion__panel > p {
  margin-bottom: 18px;
}

.content-accordion__panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-accordion__panel li {
  display: grid;
  gap: 6px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.content-accordion__panel li strong {
  color: var(--ink);
}

.content-accordion__panel li a {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--red-vivid);
  font-size: 0.79rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.content-accordion__panel li p {
  color: var(--muted);
  font-size: 0.88rem;
}

.section--echo {
  display: grid;
  place-items: center;
}

.echo-conversation {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  width: min(920px, 100%);
  padding: clamp(30px, 5vw, 58px);
}

.echo-conversation__avatar {
  width: 180px;
  aspect-ratio: 1;
  object-fit: contain;
}

.echo-conversation__body {
  min-width: 0;
}

.echo-conversation__name {
  color: var(--ink);
  font-weight: 700;
}

.echo-conversation__name span {
  margin-left: 8px;
  color: #4ea56a;
  font-size: 0.74rem;
  font-weight: 600;
}

.echo-conversation__typing {
  display: inline-flex;
  gap: 5px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.echo-conversation__typing[hidden] {
  display: none;
}

.echo-conversation__typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-vivid);
  animation: echo-typing 0.8s infinite alternate;
}

.echo-conversation__typing span:nth-child(2) { animation-delay: 0.16s; }
.echo-conversation__typing span:nth-child(3) { animation-delay: 0.32s; }

@keyframes echo-typing {
  to { transform: translateY(-5px); opacity: 0.45; }
}

.echo-conversation__message {
  max-width: 620px;
  margin-top: 16px;
  padding: 19px 22px;
  border-radius: 4px 20px 20px;
  background: var(--surface-soft);
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.echo-conversation__message.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.partner-showcase h3 {
  margin-top: 26px;
  color: var(--red-vivid);
  font-size: 1rem;
  text-transform: uppercase;
}

.media-intro-note {
  color: var(--ink);
  text-shadow: none;
}

.form-prototype-warning {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 4px solid var(--red-vivid);
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.form-notice a,
.legal-card a {
  color: var(--red-vivid);
  text-decoration: underline;
  text-underline-offset: 0.17em;
}

.legal-intro {
  margin-bottom: 28px;
  color: var(--muted);
}

.legal-cookie-button {
  margin-top: 22px;
}

.footer-column h2 {
  margin-bottom: 12px;
  color: var(--red-deep);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

html[data-theme="dark"] .footer-column h2,
html[data-theme="dark"] .footer-column h3 {
  color: #ff8a84;
}

html[data-theme="dark"] .button--light {
  border-color: #ff8a84;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

html[data-theme="dark"] .button--light:hover,
html[data-theme="dark"] .button--light:focus-visible {
  background: var(--red-deep);
  color: #ffffff;
}

.footer-cookie-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 16px;
  padding: 0;
  background: transparent;
  color: var(--red-vivid);
  font-size: 0.76rem;
  font-weight: 700;
}

.home-video-stage video {
  transition: filter 0.45s ease;
}

html[data-theme="light"] .home-video-stage {
  background: #f5f5f5;
}

html[data-theme="light"] .home-video-stage video {
  filter: brightness(1.08) contrast(0.96) saturate(0.94);
}

html[data-theme="dark"] .home-video-stage video {
  filter: brightness(0.58) contrast(1.08) saturate(0.9);
}

html[data-theme="light"] .home-video-stage::after {
  background: linear-gradient(180deg, rgba(245, 245, 245, 0.3), rgba(245, 245, 245, 0.12) 38%, rgba(35, 31, 32, 0.3));
}

html[data-theme="dark"] .home-video-stage::after {
  background: linear-gradient(180deg, rgba(12, 9, 10, 0.74), rgba(12, 9, 10, 0.42) 38%, rgba(12, 9, 10, 0.78));
}

body.is-intro-running .home-video-stage video {
  filter: none;
}

html[data-theme="dark"] body.is-intro-running .home-video-stage video {
  filter: brightness(0.74) contrast(1.05);
}

.cookie-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  width: min(calc(100% - 40px), 920px);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent__panel {
  margin-left: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(24, 18, 20, 0.97);
  color: #fff;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
}

.cookie-consent__eyebrow {
  color: #ff9b95;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-consent__title {
  margin-top: 6px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.16;
}

.cookie-consent__description {
  max-width: 820px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.87rem;
}

.cookie-consent__description a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cookie-consent__actions,
.cookie-consent__preferences-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cookie-consent__preferences-actions {
  justify-content: flex-end;
}

.cookie-consent__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 0.79rem;
  font-weight: 700;
}

.cookie-consent__button--primary {
  border-color: var(--red-vivid);
  background: var(--red-vivid);
}

.cookie-consent__button--ghost {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-consent__button:hover {
  background-color: var(--red);
}

.cookie-consent__preferences {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.cookie-consent__preferences[hidden] {
  display: none;
}

.cookie-consent__fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.cookie-consent__option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: start;
  padding: 13px 15px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.07);
}

.cookie-consent__checkbox {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--red-vivid);
}

.cookie-consent__option-title,
.cookie-consent__option-description {
  display: block;
}

.cookie-consent__option-title {
  font-size: 0.86rem;
  font-weight: 700;
}

.cookie-consent__option-description {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
}

body.has-cookie-banner .download-all-floating {
  bottom: 290px;
}

/* Refonte v3 : rythme éditorial et compositions propres à chaque page */

.page-content:not(.page-content--home) .section {
  min-height: auto;
  padding-block: clamp(74px, 9vw, 124px);
}

.page-content:not(.page-content--home) .section--compact {
  padding-block: clamp(42px, 6vw, 72px);
}

.page-content--home .section {
  min-height: 88svh;
}

.home-hero__partner-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.home-hero__partner-link i,
.home-action-card a i {
  transition: transform 0.2s ease;
}

.home-hero__partner-link:hover i,
.home-hero__partner-link:focus-visible i,
.home-action-card a:hover i,
.home-action-card a:focus-visible i {
  transform: translateX(4px);
}

.home-progress {
  position: fixed;
  right: max(18px, 3vw);
  bottom: max(18px, 3vh);
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 7px 8px 7px 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(22, 17, 19, 0.84);
  color: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.28);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  backdrop-filter: blur(15px) saturate(125%);
  transition: opacity 0.35s ease, transform 0.35s ease, background-color 0.2s ease;
}

.home-progress i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red-vivid);
}

.home-progress:hover,
.home-progress:focus-visible {
  background: rgba(130, 24, 18, 0.96);
}

body.is-intro-running .home-progress {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}

body.has-cookie-banner .home-progress {
  bottom: 300px;
}

.home-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin-inline: auto;
}

.home-action-card {
  position: relative;
  min-height: 420px;
  padding: 34px;
  overflow: hidden;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.home-action-card:hover {
  border-color: rgba(227, 32, 24, 0.42);
  background: var(--glass-strong);
  transform: translateY(-7px);
}

.home-action-card__index {
  position: absolute;
  top: 26px;
  right: 30px;
  color: rgba(170, 31, 23, 0.28);
  font-family: var(--brand);
  font-size: 1.55rem;
}

.home-action-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--red-deep);
  color: #fff;
  font-size: 1.3rem;
}

.home-action-card h3 {
  margin-top: 46px;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.home-action-card p {
  margin-top: 18px;
  color: var(--muted);
}

.home-action-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--red-vivid);
  font-size: 0.82rem;
  font-weight: 700;
}

.home-story {
  justify-items: start;
}

.home-story__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  width: min(1080px, 100%);
  padding: clamp(34px, 5vw, 64px);
  overflow: hidden;
}

.home-story h2,
.home-audiences h2,
.home-support h2,
.origin-panel h2,
.safe-place-stage h2,
.prevention-stage h2,
.orientation-stage h2,
.trust-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 4.15rem);
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.home-story p,
.home-audiences p,
.home-support p,
.origin-panel p,
.safe-place-stage p,
.prevention-stage p,
.orientation-stage p,
.trust-panel p {
  color: var(--muted);
}

.home-story__milestones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.home-story__milestones span {
  display: grid;
  gap: 3px;
  min-width: 180px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.74rem;
}

.home-story__milestones strong {
  color: var(--red-vivid);
  font-family: var(--brand);
  font-size: 1rem;
}

.home-story__visual {
  display: grid;
  place-items: center;
  min-height: 320px;
}

.home-story__visual img {
  width: min(100%, 360px);
  filter: drop-shadow(0 24px 35px rgba(130, 24, 18, 0.22));
}

.home-audiences {
  justify-items: end;
}

.home-audiences__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(28px, 5vw, 54px);
  width: min(1100px, 100%);
  padding: clamp(32px, 5vw, 60px);
  overflow: hidden;
}

.home-audiences__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-audiences__grid a {
  display: flex;
  min-height: 176px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-soft);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.home-audiences__grid a:hover,
.home-audiences__grid a:focus-visible {
  background: var(--glass-strong);
  transform: translateY(-4px);
}

.home-audiences__grid i {
  margin-bottom: auto;
  color: var(--red-vivid);
  font-size: 1.35rem;
}

.home-audiences__grid strong {
  margin-top: 26px;
  line-height: 1.2;
}

.home-audiences__grid span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.75rem;
}

.home-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1120px, 100%);
  margin-inline: auto;
}

.home-resource-grid--hub {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: stretch;
}

.home-resource-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 30px;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.home-resource-card--featured {
  min-height: 380px;
  grid-row: span 2;
  padding: clamp(34px, 4vw, 52px);
  background:
    linear-gradient(135deg, rgba(239, 30, 24, 0.12), rgba(255, 255, 255, 0.72)),
    var(--glass);
}

.home-resource-card:hover,
.home-resource-card:focus-visible {
  background: var(--glass-strong);
  transform: translateY(-6px);
}

.home-resource-card > span {
  color: var(--red-vivid);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.home-resource-card h3 {
  margin-top: 24px;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.18;
}

.home-resource-card--featured h3 {
  max-width: 820px;
  font-size: clamp(2rem, 3.2vw, 3.45rem);
  line-height: 1.04;
}

.home-resource-card p {
  margin-top: 18px;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.65;
}

.home-resource-card:not(.home-resource-card--featured) p {
  font-size: 0.96rem;
  line-height: 1.55;
}

.home-resource-card > i {
  margin-top: auto;
  align-self: flex-end;
  color: var(--red-vivid);
}

.home-support {
  justify-items: center;
}

.home-support__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.7fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  width: min(1100px, 100%);
  padding: clamp(34px, 5vw, 64px);
  overflow: hidden;
}

.home-support__actions {
  display: grid;
  gap: 10px;
}

.home-support__actions a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 13px;
  align-items: center;
  min-height: 66px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.home-support__actions a:hover,
.home-support__actions a:focus-visible {
  background: var(--red-deep);
  color: #fff;
  transform: translateX(4px);
}

.home-support__actions a > i:first-child {
  color: var(--red-vivid);
  font-size: 1rem;
}

.home-support__actions a:hover > i:first-child,
.home-support__actions a:focus-visible > i:first-child {
  color: #fff;
}

.home-support__actions span,
.home-support__actions small {
  display: block;
}

.home-support__actions small {
  margin-top: 2px;
  color: var(--muted);
}

.home-support__actions a:hover small,
.home-support__actions a:focus-visible small {
  color: rgba(255, 255, 255, 0.78);
}

.origin-panel,
.safe-place-stage,
.prevention-stage,
.orientation-stage,
.trust-panel {
  position: relative;
  display: grid;
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  width: min(1120px, 100%);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 64px);
  overflow: hidden;
}

.origin-panel {
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
}

.origin-panel__path {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}

.origin-panel__path span {
  display: grid;
  gap: 8px;
  min-height: 154px;
  align-content: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.75rem;
}

.origin-panel__path strong {
  color: var(--red-vivid);
  font-family: var(--brand);
  font-size: 1.2rem;
}

.origin-panel__path > i {
  color: var(--red-vivid);
}

.mission-grid .card-grid {
  align-items: stretch;
}

.mission-grid .info-card {
  min-height: 390px;
}

.mission-grid .info-card:nth-child(2) {
  transform: translateY(34px);
}

.team-section .team-card,
.donation-uses .info-card,
.donation-discover .info-card {
  transition: transform 0.24s ease, background-color 0.24s ease;
}

.team-section .team-card:hover,
.donation-uses .info-card:hover,
.donation-discover .info-card:hover {
  background: var(--glass-strong);
  transform: translateY(-5px);
}

.timeline--story {
  position: relative;
  width: min(1080px, 100%);
}

.timeline--story::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline--story li {
  position: relative;
  width: calc(50% - 28px);
  margin-right: auto;
}

.timeline--story li:nth-child(even) {
  margin-right: 0;
  margin-left: auto;
}

.timeline--story li::after {
  position: absolute;
  top: 32px;
  right: -36px;
  width: 13px;
  height: 13px;
  border: 3px solid var(--page-background);
  border-radius: 50%;
  background: var(--red-vivid);
  content: "";
}

.timeline--story li:nth-child(even)::after {
  right: auto;
  left: -35px;
}

.safe-place-stage {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.safe-place-stage__tags,
.risk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.safe-place-stage__tags span,
.risk-tags span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.73rem;
  font-weight: 600;
}

.safe-place-stage__copy > p + p,
.prevention-stage > div:first-child > p + p,
.orientation-stage > div:first-child > p + p,
.trust-panel > div:first-child > p + p {
  margin-top: 14px;
}

.safe-place-stage__echo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 410px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, var(--surface-soft), rgba(170, 31, 23, 0.11));
  overflow: hidden;
}

.safe-place-stage__echo img {
  width: min(82%, 320px);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.24));
}

.safe-place-stage__status {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--glass-strong);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
}

.safe-place-stage__status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ea56a;
}

.safe-place-bento .card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.safe-place-bento .info-card {
  min-height: 270px;
}

.safe-place-bento .info-card:nth-child(1),
.safe-place-bento .info-card:nth-child(4) {
  min-height: 330px;
}

.prevention-stage {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.prevention-stage__words {
  display: grid;
  gap: 10px;
}

.prevention-stage__words span {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-soft);
  color: var(--red-vivid);
  font-family: var(--brand);
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  line-height: 1.2;
}

.prevention-stage__words span:nth-child(2) {
  transform: translateX(32px);
}

.channel-list .card-grid {
  counter-reset: channels;
}

.channel-list .info-card {
  min-height: 330px;
}

.channel-list .info-card::before {
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(170, 31, 23, 0.28);
  font-family: var(--brand);
  content: "0" counter(channels);
  counter-increment: channels;
}

.orientation-stage {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.orientation-stage__audiences {
  display: grid;
  gap: 10px;
}

.orientation-stage__audiences > span {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-soft);
}

.orientation-stage__audiences i {
  grid-row: 1 / span 2;
  color: var(--red-vivid);
  text-align: center;
}

.orientation-stage__audiences strong,
.orientation-stage__audiences small {
  display: block;
}

.orientation-stage__audiences small {
  color: var(--muted);
}

.orientation-path {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(1080px, 100%);
  margin: 0 auto 20px;
}

.orientation-path span {
  position: relative;
  padding: 0 8px 23px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.orientation-path span::before {
  position: absolute;
  bottom: 7px;
  left: 50%;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red-vivid);
  content: "";
  transform: translateX(-50%);
}

.orientation-path span::after {
  position: absolute;
  right: -50%;
  bottom: 11px;
  left: 50%;
  height: 1px;
  background: var(--line);
  content: "";
}

.orientation-path span:last-child::after {
  display: none;
}

.content-accordion__label {
  display: flex;
  align-items: center;
  gap: 16px;
}

.content-accordion__index {
  color: var(--red-vivid);
  font-family: var(--brand);
  font-size: 0.78rem;
}

.trust-panel {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.trust-panel__facts {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-panel__facts li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-soft);
}

.trust-panel__facts i {
  color: var(--red-vivid);
  font-size: 1.1rem;
  text-align: center;
}

.trust-panel__facts span,
.trust-panel__facts strong {
  display: block;
}

.trust-panel__facts span {
  color: var(--muted);
  font-size: 0.76rem;
}

.trust-panel__facts strong {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.85rem;
}

.membership-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, 100%);
  margin-inline: auto;
  padding: 0;
  list-style: none;
}

.membership-steps li {
  position: relative;
  min-height: 360px;
  padding: 28px;
  overflow: hidden;
}

.membership-steps__number {
  color: var(--red-vivid);
  font-family: var(--brand);
  font-size: 1rem;
}

.membership-steps h3 {
  margin-top: 58px;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.08;
}

.membership-steps p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

.membership-steps li:nth-child(even) {
  transform: translateY(28px);
}

.contact-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1080px, 100%);
  margin-inline: auto;
}

.contact-routes a {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 112px;
  padding: 20px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.contact-routes a:hover,
.contact-routes a:focus-visible {
  background: var(--glass-strong);
  transform: translateY(-4px);
}

.contact-routes i {
  color: var(--red-vivid);
  font-size: 1.25rem;
  text-align: center;
}

.contact-routes strong,
.contact-routes small {
  display: block;
}

.contact-routes small {
  margin-top: 4px;
  color: var(--muted);
}

.partner-showcase--featured .partner-logo-box {
  position: relative;
  overflow: hidden;
}

.partner-showcase__label {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--red-deep);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.media-kit-index {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(1120px, 100%);
  margin-inline: auto;
  overflow: hidden;
}

.media-kit-index a {
  display: grid;
  gap: 7px;
  min-height: 118px;
  align-content: center;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
}

.media-kit-index a:last-child {
  border-right: 0;
}

.media-kit-index a:hover,
.media-kit-index a:focus-visible {
  background: var(--surface-soft);
}

.media-kit-index span {
  color: var(--red-vivid);
  font-family: var(--brand);
}

.media-chapter[id] {
  scroll-margin-top: 110px;
}

/* Présentation finale : fonds sobres et en-têtes intérieurs compacts */

html[data-theme="light"] .site-backdrop {
  background: linear-gradient(155deg, #f6f3f3 0%, #ebe5e6 52%, #ded7d8 100%);
}

.site-backdrop::before {
  top: -20vw;
  right: auto;
  bottom: auto;
  left: -16vw;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 32, 24, 0.16) 0%, rgba(170, 31, 23, 0.06) 40%, transparent 70%);
  content: "";
  opacity: 1;
  filter: blur(18px);
  transform: none;
}

html[data-theme="light"] .site-backdrop::before {
  background: radial-gradient(circle, rgba(227, 32, 24, 0.16) 0%, rgba(170, 31, 23, 0.06) 40%, transparent 70%);
  opacity: 1;
  filter: blur(18px);
}

.site-backdrop::after {
  position: absolute;
  right: -22vw;
  bottom: -24vw;
  width: 68vw;
  height: 68vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 24, 18, 0.13) 0%, rgba(227, 32, 24, 0.045) 45%, transparent 72%);
  content: "";
  filter: blur(24px);
}

html[data-theme="dark"] .site-backdrop {
  background: linear-gradient(155deg, #120e10 0%, #0c0a0b 55%, #171011 100%);
}

html[data-theme="dark"] .site-backdrop::before {
  background: radial-gradient(circle, rgba(227, 32, 24, 0.2) 0%, rgba(130, 24, 18, 0.1) 38%, transparent 70%);
  opacity: 0.9;
  filter: blur(28px);
}

html[data-theme="dark"] .site-backdrop::after {
  background: radial-gradient(circle, rgba(170, 31, 23, 0.17) 0%, rgba(130, 24, 18, 0.06) 45%, transparent 72%);
}

.page-content:not(.page-content--home) .page-hero {
  min-height: auto;
  padding: 132px max(22px, 6vw) 34px;
}

.page-content:not(.page-content--home) .page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
  grid-template-rows: auto auto auto;
  column-gap: clamp(38px, 7vw, 100px);
  align-items: start;
  width: min(1180px, 100%);
  padding: 30px 0 42px;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  backdrop-filter: none;
}

.page-content:not(.page-content--home) .page-hero__inner > .brand-corner {
  display: none;
}

.page-content:not(.page-content--home) .page-hero .eyebrow {
  grid-column: 1 / -1;
  justify-content: flex-start;
  margin-bottom: 22px;
}

.page-content:not(.page-content--home) .page-hero h1 {
  grid-column: 1;
  grid-row: 2 / span 2;
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.55rem, 5vw, 5.25rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.page-content:not(.page-content--home) .page-hero__lead {
  grid-column: 2;
  grid-row: 2;
  max-width: 520px;
  margin: 4px 0 0;
  font-size: clamp(0.96rem, 1.3vw, 1.1rem);
}

.page-content:not(.page-content--home) .page-hero .hero-actions {
  grid-column: 2;
  grid-row: 3;
  justify-content: flex-start;
  margin-top: 22px;
}

.page-content:not(.page-content--home) .page-hero + .section {
  padding-top: clamp(54px, 7vw, 88px);
}

html[data-theme="dark"] .home-video-stage video {
  filter: brightness(0.86) contrast(1.04) saturate(0.94);
}

html[data-theme="dark"] body.is-intro-running .home-video-stage video {
  filter: none;
}

@media (max-width: 1180px) {
  .refonte-header {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav__list > li > a::after,
  .main-nav__list > li > button::after {
    display: block;
    right: 12px;
    bottom: 5px;
    left: 12px;
  }

  .main-nav__list > li > a:hover,
  .main-nav__list > li > a:focus-visible,
  .main-nav__list > li > a.is-current,
  .main-nav__list > li > button:hover,
  .main-nav__list > li > button:focus-visible {
    background-image: none;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .nav-dots {
    right: auto;
    bottom: 5px;
    left: 12px;
    transform: none;
  }

  .home-action-grid,
  .home-resource-grid,
  .membership-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-resource-grid--hub {
    grid-template-columns: 1fr;
  }

  .home-action-card:last-child,
  .home-resource-card:last-child {
    grid-column: 1 / -1;
  }

  .home-resource-grid--hub .home-resource-card:last-child {
    grid-column: auto;
  }

  .home-resource-card--featured {
    grid-row: auto;
  }

  .media-kit-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .media-kit-index a:nth-child(3) {
    border-right: 0;
  }

  .media-kit-index a:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 767px) {
  .theme-toggle {
    width: 40px;
    padding: 0;
  }

  .theme-toggle span {
    display: none;
  }

  .brand-corner {
    right: 14px;
    bottom: 13px;
    transform: scale(0.78);
    transform-origin: right bottom;
  }

  .page-content:not(.page-content--home) .page-hero {
    min-height: auto;
    padding: 94px 16px 24px;
  }

  .page-content:not(.page-content--home) .page-hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0;
    padding: 20px 0 30px;
  }

  .page-content:not(.page-content--home) .page-hero .eyebrow,
  .page-content:not(.page-content--home) .page-hero h1,
  .page-content:not(.page-content--home) .page-hero__lead,
  .page-content:not(.page-content--home) .page-hero .hero-actions {
    grid-column: 1;
    grid-row: auto;
  }

  .page-content:not(.page-content--home) .page-hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.45rem);
  }

  .page-content:not(.page-content--home) .page-hero__lead {
    margin-top: 20px;
  }

  .page-content:not(.page-content--home) .page-hero .hero-actions {
    margin-top: 22px;
  }

  .page-content--home .section {
    min-height: auto;
  }

  .home-progress {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    font-size: 0.62rem;
  }

  body.has-cookie-banner .home-progress {
    display: none;
  }

  .home-action-grid,
  .home-resource-grid,
  .home-story__panel,
  .home-audiences__panel,
  .home-audiences__grid,
  .home-support__panel,
  .origin-panel,
  .safe-place-stage,
  .safe-place-bento .card-grid,
  .prevention-stage,
  .orientation-stage,
  .trust-panel,
  .membership-steps,
  .contact-routes {
    grid-template-columns: 1fr;
  }

  .home-action-card:last-child,
  .home-resource-card:last-child {
    grid-column: auto;
  }

  .home-action-card {
    min-height: 330px;
    padding: 27px 22px;
  }

  .home-story__visual {
    min-height: 220px;
  }

  .home-story__visual img {
    width: min(100%, 280px);
  }

  .home-audiences__grid a {
    min-height: 145px;
  }

  .home-resource-card {
    min-height: 240px;
  }

  .home-support__actions a {
    grid-template-columns: 30px 1fr auto;
  }

  .origin-panel__path {
    grid-template-columns: 1fr;
  }

  .origin-panel__path > i {
    transform: rotate(90deg);
    justify-self: center;
  }

  .mission-grid .info-card:nth-child(2),
  .prevention-stage__words span:nth-child(2),
  .membership-steps li:nth-child(even) {
    transform: none;
  }

  .timeline--story::before {
    left: 6px;
  }

  .timeline--story li,
  .timeline--story li:nth-child(even) {
    grid-template-columns: 78px minmax(0, 1fr);
    width: calc(100% - 28px);
    margin-right: 0;
    margin-left: 28px;
  }

  .timeline--story time {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .timeline--story li::after,
  .timeline--story li:nth-child(even)::after {
    top: 31px;
    right: auto;
    left: -35px;
  }

  .safe-place-stage__echo {
    min-height: 300px;
  }

  .safe-place-bento .info-card,
  .safe-place-bento .info-card:nth-child(1),
  .safe-place-bento .info-card:nth-child(4) {
    min-height: 250px;
  }

  .orientation-path {
    display: none;
  }

  .membership-steps li {
    min-height: 280px;
  }

  .media-kit-index {
    grid-template-columns: 1fr;
  }

  .media-kit-index a,
  .media-kit-index a:nth-child(3) {
    min-height: 82px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .media-kit-index a:last-child {
    border-bottom: 0;
  }

  .echo-conversation {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .echo-conversation__avatar {
    width: 130px;
    margin-inline: auto;
  }

  .content-accordion__item h3 > button {
    min-height: 62px;
    padding: 16px 18px;
  }

  .content-accordion__panel {
    padding: 0 18px 20px;
  }

  .cookie-consent {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
  }

  .cookie-consent__panel {
    max-height: calc(100svh - 20px);
    padding: 19px;
    overflow-y: auto;
    border-radius: 18px;
  }

  .cookie-consent__actions,
  .cookie-consent__preferences-actions {
    display: grid;
  }

  .cookie-consent__button {
    width: 100%;
  }

  body.has-cookie-banner .download-all-floating {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* Passe visuelle finale : repères utiles, points francs et contraste renforcé */

.brand-corner {
  width: 61px;
  height: 61px;
  opacity: 1;
}

.brand-corner__dot {
  width: 6px;
  height: 6px;
  background: var(--red-vivid);
}

.eyebrow::before {
  background: var(--red-vivid);
  box-shadow: 11px 0 var(--red-vivid), 22px 0 var(--red-vivid), 33px 0 var(--red-vivid), 44px 0 var(--red-vivid);
}

.home-replay-intro {
  position: absolute;
  top: 112px;
  right: max(24px, 5vw);
  z-index: 5;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(22, 17, 19, 0.84);
  color: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.home-replay-intro:hover,
.home-replay-intro:focus-visible {
  background: var(--red-deep);
}

.home-hero .page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
  width: min(1180px, 100%);
  text-align: left;
}

.home-hero .eyebrow,
.home-hero .hero-actions {
  justify-content: flex-start;
}

.home-hero h1 {
  max-width: 720px;
  margin-inline: 0;
  font-size: clamp(3.15rem, 5.55vw, 5.75rem);
}

.home-hero .page-hero__lead {
  max-width: 690px;
  margin: 24px 0 0;
}

.home-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.home-hero__visual::before {
  position: absolute;
  width: min(29vw, 300px);
  aspect-ratio: 1;
  border: 1px solid rgba(227, 32, 24, 0.42);
  border-radius: 50%;
  content: "";
}

.home-hero__mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(150px, 15vw, 190px);
  aspect-ratio: 1;
  border: 1px solid rgba(227, 32, 24, 0.36);
  border-radius: 50%;
  background: rgba(20, 16, 18, 0.92);
  box-shadow: 0 28px 70px rgba(130, 24, 18, 0.28);
}

.home-hero__mark img {
  width: 73%;
  height: 73%;
  object-fit: contain;
}

.home-hero__visual-icon {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 5px solid var(--glass-strong);
  border-radius: 19px;
  background: var(--red-vivid);
  color: #fff;
  box-shadow: 0 14px 30px rgba(35, 31, 32, 0.24);
  font-size: 1.2rem;
}

.home-hero__visual-icon--community {
  top: 42px;
  left: 14px;
}

.home-hero__visual-icon--prevention {
  top: 70px;
  right: 4px;
}

.home-hero__visual-icon--orientation {
  right: 50%;
  bottom: 30px;
  transform: translateX(50%);
}

.home-actions__count {
  color: var(--red-vivid);
  font-family: var(--brand);
  font-size: 0.86em;
}

.home-action-card__index {
  display: none;
}

.home-action-card__icon {
  display: flex;
  width: 68px;
  height: 68px;
  margin-inline: auto;
  border-radius: 22px;
  background: var(--red-vivid);
  font-size: 1.55rem;
}

.home-action-card h3 {
  margin-top: 34px;
}

.home-story__journey {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-story__journey::before {
  position: absolute;
  top: 35px;
  bottom: 35px;
  left: 31px;
  width: 2px;
  background: var(--red-vivid);
  content: "";
}

.home-story__journey li {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.home-story__journey li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 5px solid var(--glass-strong);
  border-radius: 21px;
  background: var(--red-vivid);
  color: #fff;
  box-shadow: 0 12px 28px rgba(130, 24, 18, 0.2);
  font-size: 1.25rem;
}

.home-story__journey div {
  display: grid;
  gap: 3px;
}

.home-story__journey strong {
  color: var(--ink);
  font-family: var(--brand);
  font-size: clamp(0.78rem, 1.35vw, 1rem);
}

.home-story__journey small {
  color: var(--muted);
  font-size: 0.76rem;
}

.home-audiences__intro h2 {
  max-width: 430px;
  font-size: clamp(2.35rem, 4.4vw, 4.25rem);
}

.home-audiences__grid a {
  min-height: 196px;
}

.home-audiences__grid i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 25px;
  border-radius: 18px;
  background: var(--red-vivid);
  color: #fff;
  font-size: 1.35rem;
}

.home-audiences__grid strong {
  margin-top: auto;
}

.page-content:not(.page-content--home) .page-hero__aside {
  grid-column: 2;
  grid-row: 2 / span 2;
  display: grid;
  justify-items: start;
}

.page-content:not(.page-content--home) .page-hero__symbol {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-bottom: 22px;
  border-radius: 22px;
  background: var(--red-vivid);
  color: #fff;
  box-shadow: 0 16px 36px rgba(130, 24, 18, 0.22);
  font-size: 1.55rem;
}

.page-content:not(.page-content--home) .page-hero__symbol > span {
  position: absolute;
  top: 50%;
  left: calc(100% + 15px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-vivid);
  box-shadow: 11px 0 var(--red-vivid), 22px 0 var(--red-vivid), 33px 0 var(--red-vivid), 44px 0 var(--red-vivid);
  transform: translateY(-50%);
}

.page-content:not(.page-content--home) .page-hero__aside .page-hero__lead,
.page-content:not(.page-content--home) .page-hero__aside .hero-actions {
  grid-column: auto;
  grid-row: auto;
}

.page-content:not(.page-content--home) .page-hero__aside .page-hero__lead {
  margin-top: 0;
}

.page-content:not(.page-content--home) .page-hero__aside .hero-actions {
  margin-top: 22px;
}

.info-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: var(--red-vivid);
  font-size: 1.35rem;
}

.refonte-footer {
  margin-top: clamp(40px, 7vw, 90px);
  padding: 60px max(22px, 5vw) 28px;
  background: #080707;
  color: #fff;
}

.refonte-footer__inner.glass {
  border: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

.footer-column h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.refonte-footer .footer-brand p,
.refonte-footer .footer-column a,
.refonte-footer .footer-column p,
.refonte-footer .footer-bottom a,
.refonte-footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.72);
}

.refonte-footer .footer-column a:hover,
.refonte-footer .footer-column a:focus-visible,
.refonte-footer .footer-cookie-button:hover,
.refonte-footer .footer-cookie-button:focus-visible {
  color: #fff;
}

.refonte-footer .footer-bottom {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
}

@media (max-width: 900px) {
  .home-hero .page-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-hero .eyebrow,
  .home-hero .hero-actions {
    justify-content: center;
  }

  .home-hero h1,
  .home-hero .page-hero__lead {
    margin-inline: auto;
  }

  .home-hero__partner-link {
    justify-content: center;
  }

  .home-hero__visual {
    min-height: 270px;
  }

  .home-hero__visual::before {
    width: 250px;
  }

  .home-hero__visual-icon--community {
    top: 20px;
    left: calc(50% - 145px);
  }

  .home-hero__visual-icon--prevention {
    top: 42px;
    right: calc(50% - 145px);
  }

  .home-hero__visual-icon--orientation {
    bottom: 4px;
  }
}

@media (max-width: 767px) {
  .home-replay-intro {
    top: 88px;
    right: 16px;
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.68rem;
  }

  .home-hero .page-hero__inner {
    gap: 22px;
    padding: 34px 22px 30px;
  }

  .home-hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.1rem);
  }

  .home-hero__visual {
    min-height: 235px;
  }

  .home-hero__visual::before {
    width: 218px;
  }

  .home-hero__mark {
    width: 145px;
  }

  .home-hero__visual-icon {
    width: 50px;
    height: 50px;
    border-width: 4px;
    border-radius: 16px;
    font-size: 1rem;
  }

  .home-hero__visual-icon--community {
    left: calc(50% - 128px);
  }

  .home-hero__visual-icon--prevention {
    right: calc(50% - 128px);
  }

  .home-story__journey {
    margin-top: 28px;
  }

  .home-audiences__intro h2 {
    font-size: clamp(2.25rem, 12vw, 3.45rem);
  }

  .page-content:not(.page-content--home) .page-hero__aside {
    grid-column: 1;
    grid-row: auto;
    margin-top: 24px;
  }

  .page-content:not(.page-content--home) .page-hero__symbol {
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
    border-radius: 19px;
    font-size: 1.3rem;
  }

  .home-audiences__grid i {
    width: 50px;
    height: 50px;
  }

  .refonte-footer {
    padding: 42px 18px 20px;
  }
}

/* Passe visuelle v10 : navigation, portraits, histoire et prévention */

.brand-corner__dot {
  background: var(--red-deep);
}

.header-replay-intro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  gap: 0;
  min-height: 40px;
  padding: 0;
  border-radius: 11px;
  color: #fff;
  font-size: 0.71rem;
  font-weight: 600;
  white-space: nowrap;
}

.header-replay-intro:hover,
.header-replay-intro:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.nav-replay--mobile {
  display: none;
}

.nav-dots {
  left: 0;
  transform: none;
  overflow: visible;
}

.home-hero__visual {
  --radar-radius: clamp(108px, 14vw, 150px);
  min-height: calc((var(--radar-radius) * 2) + 68px);
}

.home-hero__visual::before {
  width: calc(var(--radar-radius) * 2);
  border: 2px solid rgba(130, 24, 18, 0.72);
}

.home-hero__mark {
  border: 0;
  box-shadow: 0 26px 65px rgba(130, 24, 18, 0.24);
}

.home-hero__visual-icon {
  top: 50%;
  left: 50%;
  border: 0;
  box-shadow: 0 15px 34px rgba(35, 31, 32, 0.25);
}

.home-hero__visual-icon--community {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(210deg) translateX(var(--radar-radius)) rotate(-210deg);
}

.home-hero__visual-icon--prevention {
  top: 50%;
  right: auto;
  left: 50%;
  transform: translate(-50%, -50%) rotate(330deg) translateX(var(--radar-radius)) rotate(-330deg);
}

.home-hero__visual-icon--orientation {
  right: auto;
  bottom: auto;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg) translateX(var(--radar-radius)) rotate(-90deg);
}

.home-actions__count {
  display: inline-block;
  margin-right: 0.16em;
  font-size: 1.12em;
  vertical-align: -0.02em;
}

.home-audiences__panel {
  display: block;
  width: min(1180px, 100%);
}

.home-audiences__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  column-gap: clamp(36px, 7vw, 90px);
  align-items: end;
}

.home-audiences__intro .eyebrow {
  grid-column: 1 / -1;
}

.home-audiences__intro h2 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 4.3vw, 4.4rem);
  overflow-wrap: normal;
  text-wrap: balance;
}

.home-audiences__intro > p:last-child {
  margin-bottom: 7px;
  font-size: 0.95rem;
}

.home-audiences__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
}

.home-audiences__grid a {
  min-height: 235px;
}

.team-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.team-card__portrait {
  display: grid;
  place-items: center;
  min-height: 220px;
  margin: -5px -5px 24px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 45%, rgba(227, 32, 24, 0.16), transparent 66%);
  overflow: hidden;
}

.team-card__portrait img {
  width: min(100%, 220px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(35, 31, 32, 0.18));
}

.team-card .eyebrow {
  margin-bottom: 15px;
}

.team-card__links {
  margin-top: auto;
  padding-top: 24px;
}

.history-carousel {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.history-carousel__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.history-carousel__toolbar > p {
  color: var(--muted);
  font-size: 0.82rem;
}

.history-carousel__controls {
  display: flex;
  align-items: center;
  gap: 9px;
}

.history-carousel__controls > span {
  min-width: 62px;
  color: var(--red-deep);
  font-family: var(--brand);
  font-size: 0.72rem;
}

.history-carousel__controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red-deep);
  color: #fff;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.history-carousel__controls button:hover,
.history-carousel__controls button:focus-visible {
  background: var(--red-vivid);
  transform: translateY(-2px);
}

.history-carousel__controls button:disabled {
  opacity: 0.35;
  transform: none;
  cursor: not-allowed;
}

.history-track {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 4px 2px 24px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 2px;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--red-deep) transparent;
  scrollbar-width: thin;
  list-style: none;
}

.history-card {
  position: relative;
  flex: 0 0 min(420px, 82vw);
  min-height: 410px;
  padding: 34px;
  scroll-snap-align: start;
  overflow: hidden;
}

.history-card::before {
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(130, 24, 18, 0.24);
  border-radius: 50%;
  content: "";
}

.history-card__index {
  position: absolute;
  top: 28px;
  right: 30px;
  color: rgba(130, 24, 18, 0.35);
  font-family: var(--brand);
  font-size: 1.35rem;
}

.history-card time {
  display: block;
  max-width: calc(100% - 72px);
  color: var(--red-vivid);
  font-family: var(--brand);
  font-size: 0.9rem;
  line-height: 1.3;
}

.history-card h3 {
  margin-top: 34px;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1.05;
}

.history-card p {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.page-content:not(.page-content--home) .page-hero h1 {
  text-transform: none;
}

.page-content:not(.page-content--home) .page-hero__aside {
  position: relative;
  padding-top: 10px;
}

.page-content:not(.page-content--home) .page-hero__aside > .brand-corner {
  top: 0;
  right: 0;
  bottom: auto;
  display: block;
  transform: scaleY(-1);
  transform-origin: top right;
}

.page-content:not(.page-content--home) .page-hero__symbol > span {
  display: none;
}

.prevention-risk-cloud {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 3vw, 34px);
  padding: 34px 10px;
}

.prevention-risk-cloud::before {
  position: absolute;
  inset: 10% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 32, 24, 0.14), rgba(130, 24, 18, 0.04) 50%, transparent 72%);
  content: "";
  filter: blur(9px);
}

.prevention-risk-cloud span {
  position: relative;
  z-index: 1;
  color: var(--red-vivid);
  font-family: var(--brand);
  font-size: clamp(1.15rem, 2.55vw, 2.55rem);
  line-height: 1.05;
  text-wrap: balance;
}

.prevention-risk-cloud span:nth-child(1) {
  align-self: flex-start;
  transform: rotate(-3deg);
}

.prevention-risk-cloud span:nth-child(2) {
  align-self: flex-end;
  padding-right: 5%;
  font-size: clamp(1.5rem, 3.4vw, 3.5rem);
  transform: rotate(2deg);
}

.prevention-risk-cloud span:nth-child(3) {
  align-self: center;
  max-width: 95%;
  transform: rotate(-1deg);
}

.prevention-risk-cloud span:nth-child(4) {
  align-self: flex-end;
  font-size: clamp(1.35rem, 3vw, 3rem);
  transform: rotate(3deg);
}

.refonte-footer {
  margin-top: clamp(40px, 7vw, 90px);
  padding: 48px max(22px, 5vw) 28px;
  background: transparent;
}

.refonte-footer__inner.glass {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: #080707;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

@media (max-width: 1180px) {
  .header-replay-intro {
    display: none;
  }

  .nav-replay--mobile {
    display: block;
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  .nav-replay--mobile .replay-intro {
    justify-content: flex-start;
    gap: 9px;
    color: rgba(255, 255, 255, 0.86);
  }

  .main-nav__list {
    width: 100%;
    justify-content: stretch;
  }

  .main-nav__list > li {
    width: 100%;
  }

  .main-nav__list > li > a:hover,
  .main-nav__list > li > a:focus-visible,
  .main-nav__list > li > a.is-current,
  .main-nav__list > li > button:hover,
  .main-nav__list > li > button:focus-visible {
    background-image: none;
  }

  .nav-dots {
    right: auto;
    bottom: 5px;
    left: 12px;
    transform: none;
  }

  .home-audiences__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .home-hero__visual {
    --radar-radius: 105px;
    min-height: 270px;
  }

  .home-audiences__intro {
    display: block;
  }

  .home-audiences__intro > p:last-child {
    margin-top: 18px;
  }

  .home-audiences__grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .home-audiences__grid a {
    min-height: 185px;
  }

  .team-card__portrait {
    min-height: 190px;
  }

  .team-card__portrait img {
    width: min(100%, 190px);
  }

  .history-carousel__toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .history-carousel__controls {
    width: 100%;
    justify-content: flex-end;
  }

  .history-card {
    flex-basis: min(340px, 88vw);
    min-height: 450px;
    padding: 28px 25px;
  }

  .history-card__index {
    top: 24px;
    right: 24px;
  }

  .prevention-risk-cloud {
    min-height: 340px;
    margin-top: 10px;
    padding-inline: 0;
  }

  .prevention-risk-cloud span {
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
  }

  .prevention-risk-cloud span:nth-child(1) {
    font-size: 1.03rem;
    white-space: nowrap;
  }

  .page-content:not(.page-content--home) .page-hero__aside > .brand-corner {
    top: -2px;
  }

  .refonte-footer {
    padding: 36px 14px 18px;
  }

  .refonte-footer__inner.glass {
    border-radius: 23px;
  }
}

/* Passe retours 2026-07-20 : cartes, timeline, orientation et kit média */

.main-nav__list > li > a,
.main-nav__list > li > button {
  position: relative;
}

.nav-dots {
  right: 0;
  bottom: 0;
  left: 0;
  justify-content: space-between;
  width: 100%;
  gap: 0;
  transform: none;
  overflow: visible;
}

.nav-dots > span {
  flex: 0 0 4px;
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-card::after,
.channel-list .info-card::before {
  display: none;
  content: none;
}

.info-card__icon {
  margin-inline: auto;
}

.info-card a {
  margin-inline: auto;
}

.channel-list .info-card {
  justify-content: center;
  min-height: 315px;
}

.team-card__portrait {
  min-height: 236px;
  background: transparent;
  overflow: visible;
}

.team-card__portrait img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  clip-path: circle(49.6% at 50% 50%);
  filter: drop-shadow(0 20px 28px rgba(35, 31, 32, 0.2));
}

.team-card__portrait-placeholder {
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(130, 24, 18, 0.18);
  border-radius: 50%;
  background: rgba(227, 32, 24, 0.08);
  color: var(--red-deep);
  font-size: 4rem;
}

.team-card__links {
  display: flex;
  gap: 12px;
}

.team-card__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--red-vivid);
  color: #fff;
  font-size: 1rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.team-card__links a:hover,
.team-card__links a:focus-visible {
  background: var(--red-deep);
  transform: translateY(-3px);
}

.history-deck {
  width: min(760px, 100%);
  margin-inline: auto;
}

.history-deck__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 24px;
}

.history-deck__controls > span {
  min-width: 66px;
  color: var(--red-deep);
  font-family: var(--brand);
  font-size: 0.75rem;
  text-align: right;
}

.history-deck__controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red-deep);
  color: #fff;
  box-shadow: 0 14px 28px rgba(130, 24, 18, 0.2);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.history-deck__controls button:hover,
.history-deck__controls button:focus-visible {
  background: var(--red-vivid);
  transform: translateY(-2px);
}

.history-deck__controls button:disabled {
  opacity: 0.35;
  transform: none;
  cursor: not-allowed;
}

.history-stack {
  position: relative;
  width: min(650px, calc(100% - 34px));
  height: clamp(430px, 47vw, 520px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  perspective: 1200px;
}

.history-stack .history-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex: none;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 58px);
  opacity: 0;
  pointer-events: none;
  scroll-snap-align: none;
  transform:
    translate(calc(var(--stack-offset, 0) * 18px), calc(var(--stack-offset, 0) * 20px))
    scale(calc(1 - (var(--stack-offset, 0) * 0.045)))
    rotate(calc(var(--stack-offset, 0) * -1.1deg));
  transition: opacity 0.25s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.25s ease;
}

.history-stack .history-card.is-visible-stack {
  opacity: 0.62;
}

.history-stack .history-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, 0) scale(1) rotate(0);
}

.history-stack .history-card::before {
  right: -54px;
  bottom: -70px;
  border-color: rgba(130, 24, 18, 0.2);
}

.history-stack .history-card time {
  max-width: 100%;
  font-size: clamp(0.78rem, 1.2vw, 0.96rem);
}

.history-stack .history-card h3 {
  margin-top: 30px;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.history-stack .history-card p {
  max-width: 520px;
  font-size: clamp(0.9rem, 1.35vw, 1.02rem);
}

.history-card__media {
  position: relative;
  z-index: 1;
  width: min(220px, 52%);
  margin-top: 22px;
}

.history-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(35, 31, 32, 0.16);
}

.prevention-stage {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
}

.prevention-risk-cloud {
  display: grid;
  min-width: 0;
  width: 100%;
  min-height: 405px;
  align-content: center;
  justify-items: center;
  gap: clamp(17px, 2.4vw, 28px);
  padding: 16px 0;
  overflow: visible;
}

.prevention-risk-cloud::before {
  inset: 13% 2%;
  background: radial-gradient(circle, rgba(227, 32, 24, 0.13), rgba(130, 24, 18, 0.04) 54%, transparent 73%);
}

.prevention-risk-cloud span {
  --word-rotate: 0deg;
  display: inline-block;
  align-self: auto;
  max-width: 100%;
  color: var(--red-vivid);
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
  transform-origin: 50% 100%;
  animation: risk-word-impact 0.78s cubic-bezier(0.2, 0.9, 0.22, 1.12) both;
  filter: drop-shadow(0 18px 24px rgba(130, 24, 18, 0.12));
}

.prevention-risk-cloud span:nth-child(1) {
  --word-rotate: -3deg;
  justify-self: start;
  font-size: clamp(1rem, 1.85vw, 1.82rem);
  animation-delay: 0.05s;
}

.prevention-risk-cloud span:nth-child(2) {
  --word-rotate: 2deg;
  justify-self: end;
  padding-right: 0;
  font-size: clamp(2.25rem, 5.2vw, 4.6rem);
  animation-delay: 0.17s;
}

.prevention-risk-cloud span:nth-child(3) {
  --word-rotate: -1deg;
  justify-self: center;
  font-size: clamp(0.95rem, 1.75vw, 1.72rem);
  animation-delay: 0.29s;
}

.prevention-risk-cloud span:nth-child(4) {
  --word-rotate: 3deg;
  justify-self: start;
  font-size: clamp(1.35rem, 2.7vw, 2.7rem);
  animation-delay: 0.41s;
}

@keyframes risk-word-impact {
  0% {
    opacity: 0;
    transform: translateY(-82px) scaleX(1.04) scaleY(0.92) rotate(var(--word-rotate));
  }

  64% {
    opacity: 1;
    transform: translateY(13px) scaleX(1.11) scaleY(0.78) rotate(var(--word-rotate));
  }

  82% {
    transform: translateY(-7px) scaleX(0.98) scaleY(1.06) rotate(var(--word-rotate));
  }

  100% {
    opacity: 1;
    transform: translateY(0) scaleX(1) scaleY(1) rotate(var(--word-rotate));
  }
}

.membership-benefit-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  width: min(1120px, 100%);
  margin-inline: auto;
  padding: clamp(30px, 5vw, 58px);
  overflow: hidden;
}

.membership-benefit-board__intro h3 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.membership-benefit-board__intro p:last-child {
  color: var(--muted);
}

.membership-benefit-board__items {
  display: grid;
  gap: 12px;
}

.membership-benefit-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}

.membership-benefit-item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--red-vivid);
  color: #fff;
}

.membership-benefit-item h4 {
  font-size: 1rem;
  line-height: 1.15;
}

.membership-benefit-item p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

.membership-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  width: min(1180px, 100%);
  margin-inline: auto;
  padding: 0;
  list-style: none;
}

.membership-flow li {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 330px;
  padding: 28px;
}

.membership-flow li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -22px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red-deep);
  color: #fff;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f061";
  transform: translateY(-50%);
}

.membership-flow__number {
  color: var(--red-vivid);
  font-family: var(--brand);
  font-size: 0.9rem;
}

.membership-flow__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 21px;
  background: var(--red-vivid);
  color: #fff;
  font-size: 1.3rem;
}

.membership-flow h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.08;
}

.membership-flow p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.media-chapter__visual.media-visual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 18%, rgba(227, 32, 24, 0.16), transparent 34%),
    radial-gradient(circle at 80% 80%, rgba(130, 24, 18, 0.08), transparent 38%),
    rgba(255, 255, 255, 0.55);
}

.media-visual--logos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.media-logo-orbit {
  display: grid;
  grid-column: 1 / -1;
  place-items: center;
  width: 154px;
  height: 154px;
  margin-inline: auto;
  border-radius: 50%;
  background: #231f20;
  box-shadow: 0 20px 45px rgba(35, 31, 32, 0.22);
}

.media-logo-orbit img {
  width: 74%;
  max-height: none;
}

.media-visual--logos > span:not(.media-logo-orbit) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--red-deep);
  font-size: 0.74rem;
  font-weight: 800;
}

.media-visual--identity {
  isolation: isolate;
}

.media-adn-line {
  position: absolute;
  right: -30px;
  left: -30px;
  height: 92px;
  border: 3px solid rgba(227, 32, 24, 0.32);
  border-right: 0;
  border-left: 0;
  border-radius: 50%;
  transform: rotate(-11deg);
}

.media-adn-line--one {
  top: 62px;
}

.media-adn-line--two {
  top: 112px;
  border-color: rgba(130, 24, 18, 0.26);
  transform: rotate(9deg);
}

.media-dot-corner {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-deep);
  box-shadow:
    -14px 0 var(--red-deep),
    -28px 0 var(--red-deep),
    -42px 0 var(--red-deep),
    -56px 0 var(--red-deep),
    0 -14px var(--red-deep),
    0 -28px var(--red-deep),
    0 -42px var(--red-deep),
    0 -56px var(--red-deep);
}

.media-visual--identity strong,
.media-visual--identity small {
  position: relative;
  z-index: 1;
  font-family: var(--brand);
}

.media-visual--identity strong {
  color: var(--red-vivid);
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.media-visual--identity small {
  color: var(--red-deep);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.media-visual--palette {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.media-visual--palette span {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 172px;
  padding: 10px 5px;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(35, 31, 32, 0.12);
}

.media-visual--palette small {
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.media-visual--palette span:last-child small {
  color: var(--ink);
}

.media-visual--texts {
  justify-items: stretch;
  gap: 12px;
}

.media-visual--texts span {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
  color: var(--muted);
  font-weight: 700;
}

.media-visual--texts strong {
  color: var(--red-vivid);
  font-family: var(--brand);
  font-size: 0.82rem;
}

.media-visual--formats {
  min-height: 310px;
}

.media-format {
  position: absolute;
  display: grid;
  place-items: center;
  border: 2px solid rgba(130, 24, 18, 0.22);
  border-radius: 20px;
  background: var(--surface-soft);
  color: var(--red-deep);
  font-family: var(--brand);
  font-size: 0.68rem;
  box-shadow: 0 22px 40px rgba(130, 24, 18, 0.1);
}

.media-format--banner {
  top: 58px;
  right: 32px;
  left: 32px;
  height: 86px;
}

.media-format--square {
  bottom: 34px;
  left: 44px;
  width: 118px;
  height: 118px;
}

.media-format--story {
  right: 52px;
  bottom: 34px;
  width: 74px;
  height: 132px;
}

.refonte-footer {
  background: transparent;
}

.refonte-footer__inner.glass {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: #080707;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

@media (max-width: 1180px) {
  .membership-benefit-board,
  .membership-flow {
    grid-template-columns: 1fr 1fr;
  }

  .membership-flow li:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .nav-dots {
    right: auto;
    width: min(150px, 100%);
  }

  .team-card__portrait img {
    width: 190px;
    height: 190px;
  }

  .history-deck__controls {
    justify-content: center;
  }

  .history-stack {
    width: calc(100% - 54px);
    height: 510px;
  }

  .history-stack .history-card {
    padding: 28px 24px;
    transform:
      translate(calc(var(--stack-offset, 0) * 10px), calc(var(--stack-offset, 0) * 16px))
      scale(calc(1 - (var(--stack-offset, 0) * 0.045)))
      rotate(calc(var(--stack-offset, 0) * -1.1deg));
  }

  .history-stack .history-card.is-active {
    transform: translate(0, 0) scale(1) rotate(0);
  }

  .prevention-stage {
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .prevention-risk-cloud {
    min-height: 290px;
  }

  .prevention-risk-cloud span:nth-child(1) {
    font-size: clamp(0.8rem, 4.35vw, 1.02rem);
  }

  .prevention-risk-cloud span:nth-child(2) {
    font-size: clamp(1.7rem, 10vw, 2.55rem);
  }

  .prevention-risk-cloud span:nth-child(3) {
    font-size: clamp(0.68rem, 3.55vw, 0.92rem);
  }

  .prevention-risk-cloud span:nth-child(4) {
    font-size: clamp(1rem, 6.2vw, 1.45rem);
  }

  .membership-benefit-board,
  .membership-flow {
    grid-template-columns: 1fr;
  }

  .membership-flow li {
    min-height: auto;
  }

  .membership-flow li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  .membership-flow li:nth-child(2)::after {
    display: inline-flex;
  }

  .media-chapter__visual.media-visual {
    min-height: 240px;
  }

  .media-visual--palette {
    grid-template-columns: repeat(5, minmax(38px, 1fr));
  }
}

/* Surcharge finale 2026-07-21 — prend le dessus sur les anciennes passes du prototype */

.x-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--brand);
  font-size: 0.78em;
  font-weight: 700;
  line-height: 1;
}

html[data-theme="light"] .refonte-header {
  border-color: rgba(130, 24, 18, 0.14);
  background: rgba(249, 248, 247, 0.86);
  color: var(--ink);
  box-shadow: 0 18px 55px rgba(35, 31, 32, 0.16);
}

html[data-theme="light"] .refonte-header.is-scrolled {
  background: rgba(249, 248, 247, 0.96);
}

html[data-theme="light"] .main-nav a,
html[data-theme="light"] .main-nav button {
  color: var(--ink);
}

html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .replay-intro,
html[data-theme="light"] .menu-toggle {
  border-color: rgba(130, 24, 18, 0.16);
  background: rgba(35, 31, 32, 0.06);
  color: var(--ink);
}

html[data-theme="light"] .main-submenu {
  border-color: rgba(130, 24, 18, 0.14);
  background: rgba(249, 248, 247, 0.98);
  box-shadow: 0 20px 45px rgba(35, 31, 32, 0.16);
}

html[data-theme="light"] .main-submenu a:hover,
html[data-theme="light"] .main-submenu a:focus-visible,
html[data-theme="light"] .main-submenu a.is-current {
  background: var(--red-deep);
  color: #fff;
}

.origin-panel--story {
  grid-template-columns: minmax(0, 1fr) minmax(410px, 0.95fr);
}

.origin-panel--story h2 {
  max-width: 780px;
  font-size: clamp(2.25rem, 4.9vw, 4.9rem);
}

.origin-panel__path--expanded {
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
}

.origin-panel__path--expanded span {
  min-height: 142px;
  text-align: left;
}

.origin-panel__path--expanded small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-card h3 {
  margin-top: 18px;
  font-size: clamp(1.45rem, 2.05vw, 2.05rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  white-space: nowrap;
}

.team-card__dots {
  display: inline-flex;
  gap: 8px;
  margin-top: 14px;
}

.team-card__dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-deep);
}

.team-card__role {
  margin-top: 12px;
  color: var(--red-deep) !important;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-card > p:not(.team-card__role) {
  text-align: left;
}

.history-deck__controls button:disabled {
  opacity: 1;
  cursor: pointer;
}

.history-deck.is-moving-next .history-card.is-active {
  animation: history-card-cover-next 0.52s cubic-bezier(0.18, 0.82, 0.22, 1) both;
}

.history-deck.is-moving-prev .history-card.is-active {
  animation: history-card-cover-prev 0.52s cubic-bezier(0.18, 0.82, 0.22, 1) both;
}

.safe-place-keywords {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(227, 32, 24, 0.15), transparent 39%),
    linear-gradient(145deg, var(--surface-soft), rgba(170, 31, 23, 0.08));
  overflow: hidden;
}

.safe-place-keywords::before,
.safe-place-keywords::after {
  position: absolute;
  border: 1px solid rgba(130, 24, 18, 0.18);
  border-radius: 50%;
  content: "";
}

.safe-place-keywords::before {
  inset: 15%;
}

.safe-place-keywords::after {
  inset: 28%;
}

.safe-place-keywords span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass-strong);
  color: var(--red-deep);
  font-family: var(--brand);
  font-size: clamp(0.68rem, 1vw, 0.9rem);
  line-height: 1;
  text-align: center;
  box-shadow: 0 15px 32px rgba(130, 24, 18, 0.12);
  animation: safe-place-float 4.2s ease-in-out infinite;
}

.safe-place-keywords span:nth-child(1) {
  top: 16%;
  left: 12%;
}

.safe-place-keywords span:nth-child(2) {
  top: 18%;
  right: 9%;
  animation-delay: -0.7s;
}

.safe-place-keywords span:nth-child(3) {
  right: 14%;
  bottom: 20%;
  animation-delay: -1.1s;
}

.safe-place-keywords span:nth-child(4) {
  bottom: 14%;
  left: 16%;
  animation-delay: -1.7s;
}

.safe-place-keywords span:nth-child(5) {
  top: 45%;
  left: 7%;
  animation-delay: -2.2s;
}

.safe-place-keywords span:nth-child(6) {
  top: 46%;
  right: 6%;
  animation-delay: -2.8s;
}

.safe-place-keywords span:nth-child(1)::after {
  display: grid;
  position: absolute;
  inset: auto auto -116px 115%;
  width: 118px;
  height: 118px;
  place-items: center;
  border-radius: 50%;
  background: var(--red-vivid);
  color: #fff;
  font-family: "Font Awesome 5 Free";
  font-size: 2.2rem;
  font-weight: 900;
  content: "\f11b";
  box-shadow: 0 22px 45px rgba(227, 32, 24, 0.26);
}

.orientation-compass {
  position: relative;
  display: grid;
  min-height: 455px;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 43%, rgba(227, 32, 24, 0.14), transparent 35%),
    var(--surface-soft);
  overflow: hidden;
}

.orientation-compass__dial {
  position: relative;
  display: grid;
  width: min(260px, 58vw);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(130, 24, 18, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--glass-strong) 0 31%, transparent 32%),
    conic-gradient(from 45deg, rgba(227, 32, 24, 0.14), transparent 22%, rgba(130, 24, 18, 0.11), transparent 62%, rgba(227, 32, 24, 0.14));
}

.orientation-compass__dial span {
  position: absolute;
  width: 58%;
  height: 58%;
  border: 1px solid rgba(130, 24, 18, 0.24);
  border-radius: 50%;
}

.orientation-compass__dial i {
  position: relative;
  z-index: 2;
  color: var(--red-vivid);
  font-size: clamp(3rem, 7vw, 5.4rem);
  filter: drop-shadow(0 18px 30px rgba(130, 24, 18, 0.22));
  transform: rotate(var(--compass-angle));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.orientation-compass__points {
  position: absolute;
  inset: 24px 24px 118px;
  z-index: 3;
  pointer-events: none;
}

.orientation-compass__points button {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass-strong);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  pointer-events: auto;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.orientation-compass__points button:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__points button:nth-child(2) {
  top: 42%;
  right: 0;
}

.orientation-compass__points button:nth-child(3) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__points button:nth-child(4) {
  top: 42%;
  left: 0;
}

.orientation-compass__points button.is-active,
.orientation-compass__points button:hover,
.orientation-compass__points button:focus-visible {
  background: var(--red-deep);
  color: #fff;
}

.orientation-compass__panel {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 5px;
  width: 100%;
  min-height: 92px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass-strong);
}

.orientation-compass__panel strong,
.orientation-compass__panel span {
  display: block;
}

.orientation-compass__panel span {
  color: var(--muted);
  font-size: 0.82rem;
}

.membership-route {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 56px);
  width: min(1120px, 100%);
  margin-inline: auto;
  padding: clamp(28px, 5vw, 54px);
  overflow: hidden;
}

.membership-route__track {
  position: relative;
  display: grid;
  gap: 18px;
}

.membership-route__track::before {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 32px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(var(--red-vivid), var(--red-deep));
  content: "";
}

.membership-route__step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 64px 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 82px;
  padding: 12px 18px 12px 0;
  border-radius: 24px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.membership-route__step > span {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 2px solid var(--red-vivid);
  border-radius: 50%;
  background: var(--glass-strong);
  color: var(--red-vivid);
  font-family: var(--brand);
  font-size: 0.74rem;
}

.membership-route__step i {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  background: var(--red-vivid);
  color: #fff;
}

.membership-route__step strong {
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  line-height: 1.12;
}

.membership-route__step.is-active,
.membership-route__step:hover,
.membership-route__step:focus-visible {
  background: var(--surface-soft);
}

.membership-route__step.is-active > span {
  background: var(--red-deep);
  color: #fff;
  border-color: var(--red-deep);
}

.membership-route__panel {
  align-self: center;
  display: grid;
  gap: 14px;
  min-height: 315px;
  align-content: center;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface-soft);
}

.membership-route__panel.is-changing {
  animation: membership-panel-slide 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.membership-route__number {
  color: var(--red-vivid);
  font-family: var(--brand);
  font-size: 0.9rem;
}

.membership-route__panel h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.membership-route__panel p {
  color: var(--muted);
}

.membership-route__panel .button {
  width: fit-content;
  margin-top: 8px;
}

.social-logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.social-logo-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red-deep);
  color: #fff;
  font-size: 1.22rem;
  box-shadow: 0 16px 30px rgba(130, 24, 18, 0.18);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-logo-grid a:hover,
.social-logo-grid a:focus-visible,
.footer-socials a:hover,
.footer-socials a:focus-visible {
  background: var(--red-vivid);
  transform: translateY(-3px);
}

@media (max-width: 1180px) {
  .origin-panel--story,
  .safe-place-stage,
  .orientation-stage,
  .membership-route {
    grid-template-columns: 1fr;
  }

  .origin-panel__path--expanded {
    grid-template-columns: 1fr;
  }

  .origin-panel__path--expanded > i {
    transform: rotate(90deg);
    justify-self: center;
  }

  .team-card h3 {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .origin-panel__path--expanded span {
    min-height: 110px;
  }

  .safe-place-keywords {
    min-height: 360px;
    padding: 20px;
  }

  .safe-place-keywords span {
    min-height: 40px;
    padding-inline: 12px;
  }

  .safe-place-keywords span:nth-child(1)::after {
    inset: auto auto -98px 86%;
    width: 92px;
    height: 92px;
    font-size: 1.7rem;
  }

  .orientation-compass {
    min-height: 430px;
    padding: 20px;
  }

  .orientation-compass__points {
    inset: 14px 14px 112px;
  }

  .orientation-compass__points button {
    gap: 6px;
    min-height: 38px;
    padding-inline: 10px;
    font-size: 0.65rem;
  }

  .orientation-compass__points button span {
    max-width: 86px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .membership-route {
    padding: 24px;
  }

  .membership-route__track::before {
    left: 27px;
  }

  .membership-route__step {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    padding-right: 0;
  }

  .membership-route__step > span {
    width: 54px;
    height: 54px;
  }

  .membership-route__step i {
    display: none;
  }

  .social-logo-grid {
    justify-content: center;
  }

  .team-card > p:not(.team-card__role) {
    text-align: center;
  }
}

/* Surcharge finale 2026-07-22 bis : corrections après retour visuel */

.orientation-compass {
  --compass-angle: 0deg;
  min-height: 500px;
  padding: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(circle at 50% 43%, rgba(227, 32, 24, 0.11), transparent 38%),
    var(--surface-soft);
}

.orientation-compass__dial {
  position: relative;
  width: min(285px, 62vw);
  aspect-ratio: 1;
  border: 1px solid rgba(130, 24, 18, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--surface-soft) 0 20%, transparent 21%),
    repeating-conic-gradient(from 0deg, rgba(130, 24, 18, 0.25) 0 1deg, transparent 1deg 15deg),
    conic-gradient(from 45deg, rgba(227, 32, 24, 0.14), transparent 24%, rgba(130, 24, 18, 0.1), transparent 64%, rgba(227, 32, 24, 0.13));
  box-shadow:
    inset 0 0 0 16px rgba(255, 255, 255, 0.32),
    inset 0 0 0 74px rgba(255, 255, 255, 0.16),
    0 24px 58px rgba(130, 24, 18, 0.12);
}

.orientation-compass__dial::before,
.orientation-compass__dial::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 78%;
  height: 1px;
  border: 0;
  border-radius: 999px;
  background: rgba(130, 24, 18, 0.18);
  content: "";
  transform-origin: center;
}

.orientation-compass__dial::before {
  transform: translate(-50%, -50%);
}

.orientation-compass__dial::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.orientation-compass__dial > span {
  box-sizing: border-box;
  position: absolute;
  border-radius: 50%;
}

.orientation-compass__ring {
  inset: 18%;
  width: auto;
  height: auto;
  border: 1px solid rgba(130, 24, 18, 0.24);
  background: transparent;
  pointer-events: none;
}

.orientation-compass__ring--inner {
  inset: 34%;
  width: auto;
  height: auto;
  border: 1px solid rgba(130, 24, 18, 0.2);
  background: transparent;
}

.orientation-compass__cardinal {
  z-index: 2;
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: var(--red-deep);
  font-family: var(--brand);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1;
  opacity: 0.78;
}

.orientation-compass__cardinal--north {
  top: 7%;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__cardinal--east {
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
}

.orientation-compass__cardinal--south {
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__cardinal--west {
  top: 50%;
  left: 7%;
  transform: translateY(-50%);
}

.orientation-compass__needle {
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 128px;
  height: 128px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 15px 20px rgba(130, 24, 18, 0.28));
  transform: translate(-50%, -50%) rotate(var(--compass-angle));
  transform-origin: 50% 50%;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.orientation-compass__needle::before,
.orientation-compass__needle::after {
  position: absolute;
  left: 50%;
  width: 34px;
  content: "";
  transform: translateX(-50%);
}

.orientation-compass__needle::before {
  top: 5px;
  height: 62px;
  background: var(--red-vivid);
  clip-path: polygon(50% 0, 100% 100%, 50% 78%, 0 100%);
}

.orientation-compass__needle::after {
  bottom: 5px;
  height: 62px;
  background: var(--red-deep);
  clip-path: polygon(50% 100%, 100% 0, 50% 22%, 0 0);
  opacity: 0.72;
}

.orientation-compass__hub {
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--red-deep);
  box-shadow: 0 8px 20px rgba(35, 31, 32, 0.18);
  transform: translate(-50%, -50%);
}

.orientation-compass__points {
  inset: 26px 26px 128px;
  z-index: 6;
}

.orientation-compass__points button {
  min-height: 44px;
  padding: 0 16px;
  box-shadow: 0 14px 30px rgba(130, 24, 18, 0.12);
}

.orientation-compass__points button:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__points button:nth-child(2) {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.orientation-compass__points button:nth-child(3) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.orientation-compass__points button:nth-child(4) {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.orientation-compass__points button.is-active,
.orientation-compass__points button:hover,
.orientation-compass__points button:focus-visible {
  background: var(--red-deep);
  color: #fff;
  border-color: var(--red-deep);
}

.orientation-compass__panel {
  z-index: 7;
  min-height: 96px;
  padding: 18px 22px;
  border-radius: 22px;
  background: var(--glass-strong);
}

html[data-theme="dark"] .orientation-compass__dial {
  border-color: rgba(227, 32, 24, 0.34);
  background:
    radial-gradient(circle, rgba(35, 31, 32, 0.98) 0 20%, transparent 21%),
    repeating-conic-gradient(from 0deg, rgba(227, 32, 24, 0.34) 0 1deg, transparent 1deg 15deg),
    conic-gradient(from 45deg, rgba(227, 32, 24, 0.2), transparent 24%, rgba(130, 24, 18, 0.18), transparent 64%, rgba(227, 32, 24, 0.22));
  box-shadow:
    inset 0 0 0 16px rgba(255, 255, 255, 0.04),
    inset 0 0 0 74px rgba(255, 255, 255, 0.03),
    0 24px 58px rgba(0, 0, 0, 0.26);
}

.safe-place-stage__tags {
  display: none;
}

.safe-place-keywords {
  isolation: isolate;
  min-height: 430px;
  overflow: hidden;
}

.safe-place-keywords > span.safe-place-keywords__logo,
.safe-place-keywords span.safe-place-keywords__logo:nth-child(1) {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  z-index: 2;
  display: block;
  width: clamp(116px, 14vw, 152px);
  height: clamp(116px, 14vw, 152px);
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: 0 20px 50px rgba(130, 24, 18, 0.17);
  overflow: hidden;
  transform: translate(-50%, -50%);
  animation: none;
}

.safe-place-keywords > span.safe-place-keywords__logo::after,
.safe-place-keywords span.safe-place-keywords__logo:nth-child(1)::after {
  content: none;
  display: none;
}

.safe-place-keywords__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html[data-theme="light"] .safe-place-keywords__logo-night,
html[data-theme="dark"] .safe-place-keywords__logo-day {
  display: none;
}

.safe-place-keywords > span:not(.safe-place-keywords__logo) {
  z-index: 3;
  min-height: 48px;
  padding: 0 20px;
  animation: safe-place-float 4.2s ease-in-out infinite;
}

.safe-place-keywords > span:nth-child(2) {
  top: 13%;
  left: 13%;
  right: auto;
  bottom: auto;
}

.safe-place-keywords > span:nth-child(3) {
  top: 16%;
  right: 9%;
  bottom: auto;
  left: auto;
}

.safe-place-keywords > span:nth-child(4) {
  right: 9%;
  bottom: 15%;
  top: auto;
  left: auto;
}

.safe-place-keywords > span:nth-child(5) {
  bottom: 13%;
  left: 14%;
  top: auto;
  right: auto;
}

.safe-place-keywords > span:nth-child(6) {
  top: 44%;
  left: 7%;
  right: auto;
  bottom: auto;
}

.safe-place-keywords > span:nth-child(7) {
  top: 44%;
  right: 6%;
  left: auto;
  bottom: auto;
}

.donation-ethic {
  display: flex;
  justify-content: center;
  padding-top: clamp(22px, 4vw, 56px);
}

.donation-ethic-card {
  grid-template-columns: auto minmax(0, 1fr);
  width: min(1080px, 100%);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 64px);
}

.donation-ethic-card h2 {
  max-width: 760px;
  font-size: clamp(2.2rem, 4.5vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.donation-ethic-card p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}

@media (max-width: 767px) {
  .orientation-compass {
    min-height: 455px;
    padding: 20px;
  }

  .orientation-compass__dial {
    width: min(235px, 68vw);
  }

  .orientation-compass__needle {
    width: 104px;
    height: 104px;
  }

  .orientation-compass__needle::before,
  .orientation-compass__needle::after {
    width: 28px;
    height: 50px;
  }

  .orientation-compass__points {
    inset: 14px 14px 118px;
  }

  .orientation-compass__points button {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 0.65rem;
  }

  .safe-place-keywords {
    min-height: 380px;
  }

  .safe-place-keywords > span.safe-place-keywords__logo,
  .safe-place-keywords span.safe-place-keywords__logo:nth-child(1) {
    width: 108px;
    height: 108px;
    border-radius: 20px;
  }

  .safe-place-keywords > span:not(.safe-place-keywords__logo) {
    min-height: 38px;
    padding-inline: 11px;
    font-size: 0.58rem;
  }

  .donation-ethic-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

/* Verrou anti-héritage ancien : les spans de la boussole ne doivent jamais redevenir des disques */

.orientation-compass .orientation-compass__dial > .orientation-compass__needle {
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 128px;
  height: 128px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translate(-50%, -50%) rotate(var(--compass-angle));
}

.orientation-compass .orientation-compass__dial > .orientation-compass__hub {
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--red-deep);
  box-shadow: 0 8px 20px rgba(35, 31, 32, 0.18);
  transform: translate(-50%, -50%);
}

.orientation-compass .orientation-compass__dial > .orientation-compass__cardinal {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.orientation-compass .orientation-compass__dial > .orientation-compass__ring {
  width: auto;
  height: auto;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 767px) {
  .orientation-compass .orientation-compass__dial > .orientation-compass__needle {
    width: 104px;
    height: 104px;
  }
}

/* Ajustement final de placement : bouton sud visible et logo MSP lisible */

.orientation-compass .orientation-compass__points button:nth-child(3) {
  bottom: 52px;
}

.safe-place-keywords > span.safe-place-keywords__logo,
.safe-place-keywords span.safe-place-keywords__logo:nth-child(1) {
  width: clamp(106px, 12vw, 126px);
  height: clamp(106px, 12vw, 126px);
}

.safe-place-keywords > span:nth-child(2) {
  top: 13%;
  left: 10%;
}

.safe-place-keywords > span:nth-child(3) {
  top: 15%;
  right: 7%;
}

.safe-place-keywords > span:nth-child(4) {
  right: 3%;
  bottom: 17%;
}

.safe-place-keywords > span:nth-child(5) {
  bottom: 13%;
  left: 8%;
}

.safe-place-keywords > span:nth-child(6) {
  top: 44%;
  left: 3%;
}

.safe-place-keywords > span:nth-child(7) {
  top: 44%;
  right: 3%;
}

@media (max-width: 767px) {
  .orientation-compass .orientation-compass__points button:nth-child(3) {
    bottom: 46px;
  }

  .safe-place-keywords > span.safe-place-keywords__logo,
  .safe-place-keywords span.safe-place-keywords__logo:nth-child(1) {
    width: 96px;
    height: 96px;
  }
}

/* Respiration supplémentaire autour du logo Ma Safe Place */

.safe-place-keywords > span.safe-place-keywords__logo,
.safe-place-keywords span.safe-place-keywords__logo:nth-child(1) {
  width: clamp(96px, 10vw, 110px);
  height: clamp(96px, 10vw, 110px);
}

.safe-place-keywords > span:not(.safe-place-keywords__logo) {
  padding-inline: 16px;
  font-size: clamp(0.62rem, 0.92vw, 0.82rem);
}

.safe-place-keywords > span:nth-child(6) {
  left: 1.5%;
}

.safe-place-keywords > span:nth-child(7) {
  right: 1.5%;
}

@media (max-width: 767px) {
  .safe-place-keywords > span.safe-place-keywords__logo,
  .safe-place-keywords span.safe-place-keywords__logo:nth-child(1) {
    width: 88px;
    height: 88px;
  }
}

/* Ma Safe Place : méli-mélo enrichi, logo réellement circulaire */

.safe-place-keywords {
  min-height: clamp(430px, 46vw, 520px);
}

.safe-place-keywords > span.safe-place-keywords__logo,
.safe-place-keywords span.safe-place-keywords__logo:nth-child(1) {
  width: clamp(104px, 11vw, 124px);
  height: clamp(104px, 11vw, 124px);
  border: 1px solid rgba(151, 23, 16, 0.14);
  border-radius: 50%;
  background: var(--card);
  box-shadow: 0 22px 54px rgba(130, 24, 18, 0.18);
}

html[data-theme="dark"] .safe-place-keywords > span.safe-place-keywords__logo,
html[data-theme="dark"] .safe-place-keywords span.safe-place-keywords__logo:nth-child(1) {
  background: #231f20;
}

.safe-place-keywords > span:not(.safe-place-keywords__logo) {
  min-height: 42px;
  padding-inline: clamp(10px, 1.2vw, 15px);
  border-radius: 999px;
  font-size: clamp(0.54rem, 0.78vw, 0.74rem);
  white-space: nowrap;
}

.safe-place-keywords > span:nth-child(2) {
  top: 12%;
  left: 10%;
  right: auto;
  bottom: auto;
}

.safe-place-keywords > span:nth-child(3) {
  top: 13%;
  right: 6%;
  bottom: auto;
  left: auto;
}

.safe-place-keywords > span:nth-child(4) {
  right: 4%;
  bottom: 16%;
  top: auto;
  left: auto;
}

.safe-place-keywords > span:nth-child(5) {
  bottom: 12%;
  left: 8%;
  top: auto;
  right: auto;
}

.safe-place-keywords > span:nth-child(6) {
  top: 44%;
  left: 1.5%;
  right: auto;
  bottom: auto;
}

.safe-place-keywords > span:nth-child(7) {
  top: 44%;
  right: 1.5%;
  left: auto;
  bottom: auto;
}

.safe-place-keywords > span:nth-child(8) {
  top: 28%;
  left: 20%;
  right: auto;
  bottom: auto;
}

.safe-place-keywords > span:nth-child(9) {
  bottom: 29%;
  left: 13%;
  right: auto;
  top: auto;
}

.safe-place-keywords > span:nth-child(10) {
  top: 28%;
  right: 18%;
  left: auto;
  bottom: auto;
}

.safe-place-keywords > span:nth-child(11) {
  right: 15%;
  bottom: 29%;
  top: auto;
  left: auto;
}

@media (max-width: 767px) {
  .safe-place-keywords {
    min-height: 420px;
  }

  .safe-place-keywords > span.safe-place-keywords__logo,
  .safe-place-keywords span.safe-place-keywords__logo:nth-child(1) {
    width: 88px;
    height: 88px;
  }

  .safe-place-keywords > span:not(.safe-place-keywords__logo) {
    min-height: 36px;
    padding-inline: 10px;
    font-size: 0.56rem;
  }
}

/* MSP v2 : plus de mots, mais des libellés lisibles et non empilés */

.safe-place-keywords {
  min-height: clamp(520px, 56vw, 640px);
  overflow: hidden;
}

.safe-place-keywords::before {
  inset: 16% 12%;
}

.safe-place-keywords::after {
  inset: 31% 23%;
}

.safe-place-keywords > span.safe-place-keywords__logo,
.safe-place-keywords span.safe-place-keywords__logo:nth-child(1) {
  z-index: 5;
  width: clamp(104px, 10.5vw, 128px);
  height: clamp(104px, 10.5vw, 128px);
  border-radius: 50%;
}

.safe-place-keywords > span:not(.safe-place-keywords__logo) {
  z-index: 4;
  min-height: 40px;
  padding-inline: clamp(10px, 1.05vw, 14px);
  font-size: clamp(0.5rem, 0.7vw, 0.68rem);
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.safe-place-keywords > span:nth-child(2) {
  top: 8.5%;
  left: 9%;
  right: auto;
  bottom: auto;
}

.safe-place-keywords > span:nth-child(3) {
  top: 8.5%;
  right: 6%;
  left: auto;
  bottom: auto;
}

.safe-place-keywords > span:nth-child(4) {
  right: 5%;
  bottom: 10%;
  top: auto;
  left: auto;
}

.safe-place-keywords > span:nth-child(5) {
  bottom: 7.5%;
  left: 8%;
  top: auto;
  right: auto;
}

.safe-place-keywords > span:nth-child(6) {
  top: 43%;
  left: 1.5%;
  right: auto;
  bottom: auto;
}

.safe-place-keywords > span:nth-child(7) {
  top: 43%;
  right: 1.5%;
  left: auto;
  bottom: auto;
}

.safe-place-keywords > span:nth-child(8) {
  top: 23%;
  left: 16%;
  right: auto;
  bottom: auto;
}

.safe-place-keywords > span:nth-child(9) {
  bottom: 27%;
  left: 4%;
  right: auto;
  top: auto;
}

.safe-place-keywords > span:nth-child(10) {
  top: 23%;
  right: 15%;
  left: auto;
  bottom: auto;
}

.safe-place-keywords > span:nth-child(11) {
  right: 4%;
  bottom: 27%;
  top: auto;
  left: auto;
}

.safe-place-keywords > span:nth-child(12) {
  top: 58%;
  left: 5%;
  right: auto;
  bottom: auto;
}

.safe-place-keywords > span:nth-child(13) {
  top: 33%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translateX(-50%);
}

.safe-place-keywords > span:nth-child(14) {
  top: 58%;
  right: 5%;
  left: auto;
  bottom: auto;
}

.safe-place-keywords > span:nth-child(15) {
  bottom: 19%;
  left: 27%;
  right: auto;
  top: auto;
}

.safe-place-keywords > span:nth-child(16) {
  right: 21%;
  bottom: 19%;
  top: auto;
  left: auto;
}

.safe-place-keywords > span:nth-child(n + 12) {
  min-height: 34px;
  padding-inline: 10px;
  font-size: clamp(0.46rem, 0.62vw, 0.6rem);
  opacity: 0.94;
}

@media (max-width: 767px) {
  .safe-place-keywords {
    min-height: 500px;
  }

  .safe-place-keywords > span.safe-place-keywords__logo,
  .safe-place-keywords span.safe-place-keywords__logo:nth-child(1) {
    width: 92px;
    height: 92px;
  }

  .safe-place-keywords > span:not(.safe-place-keywords__logo) {
    min-height: 34px;
    padding-inline: 8px;
    font-size: 0.49rem;
  }

  .safe-place-keywords > span:nth-child(n + 12) {
    min-height: 30px;
    font-size: 0.44rem;
  }

  .safe-place-keywords > span:nth-child(8) {
    left: 13%;
  }

  .safe-place-keywords > span:nth-child(10) {
    right: 12%;
  }

  .safe-place-keywords > span:nth-child(15) {
    left: 22%;
  }

  .safe-place-keywords > span:nth-child(16) {
    right: 17%;
  }
}

/* Prévention v2 : plus de risques, sans mots coupés */

.prevention-stage {
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr);
}

.prevention-risk-cloud {
  position: relative;
  display: block;
  min-height: clamp(430px, 42vw, 530px);
  overflow: hidden;
  padding: 0;
}

.prevention-risk-cloud::before {
  inset: 13% 4%;
}

.prevention-risk-cloud span {
  position: absolute;
  display: inline-block;
  max-width: 96%;
  white-space: nowrap;
  transform-origin: 50% 100%;
}

.prevention-risk-cloud span:nth-child(1) {
  top: 8%;
  left: 4%;
  font-size: clamp(0.88rem, 1.55vw, 1.55rem);
}

.prevention-risk-cloud span:nth-child(2) {
  top: 21%;
  right: 6%;
  font-size: clamp(1.9rem, 3.75vw, 3.75rem);
}

.prevention-risk-cloud span:nth-child(3) {
  top: 46%;
  left: 12%;
  font-size: clamp(0.9rem, 1.55vw, 1.55rem);
}

.prevention-risk-cloud span:nth-child(4) {
  top: 62%;
  left: 6%;
  font-size: clamp(1.28rem, 2.45vw, 2.45rem);
}

.prevention-risk-cloud span:nth-child(5) {
  top: 82%;
  right: 8%;
  font-size: clamp(0.95rem, 1.45vw, 1.35rem);
}

.prevention-risk-cloud span:nth-child(6) {
  top: 9%;
  right: 9%;
  font-size: clamp(0.82rem, 1.25vw, 1.2rem);
}

.prevention-risk-cloud span:nth-child(7) {
  top: 36%;
  right: 6%;
  font-size: clamp(0.82rem, 1.2vw, 1.18rem);
}

.prevention-risk-cloud span:nth-child(8) {
  top: 78%;
  left: 29%;
  font-size: clamp(0.82rem, 1.25vw, 1.2rem);
}

@media (max-width: 767px) {
  .prevention-stage {
    grid-template-columns: 1fr;
  }

  .prevention-risk-cloud {
    min-height: 330px;
  }

  .prevention-risk-cloud span:nth-child(1) {
    left: 2%;
    font-size: clamp(0.64rem, 3vw, 0.86rem);
  }

  .prevention-risk-cloud span:nth-child(2) {
    right: 0;
    font-size: clamp(1.75rem, 9vw, 2.55rem);
  }

  .prevention-risk-cloud span:nth-child(3) {
    left: 4%;
    font-size: clamp(0.58rem, 2.7vw, 0.78rem);
  }

  .prevention-risk-cloud span:nth-child(4) {
    left: 0;
    font-size: clamp(1.25rem, 7vw, 1.75rem);
  }

  .prevention-risk-cloud span:nth-child(n + 5) {
    font-size: clamp(0.58rem, 2.75vw, 0.8rem);
  }
}

/* Retours visuels 2026-07-24 */

.x-logo {
  position: relative;
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  color: currentColor;
  font: inherit;
  line-height: 1;
}

.x-logo::before,
.x-logo::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.08em;
  height: 0.13em;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform-origin: center;
}

.x-logo::before {
  transform: translate(-50%, -50%) rotate(36deg);
}

.x-logo::after {
  transform: translate(-50%, -50%) rotate(-36deg);
}

.social-logo-grid {
  flex-wrap: nowrap;
  gap: clamp(8px, 1.35vw, 14px);
}

.social-logo-grid a {
  flex: 0 0 clamp(50px, 6vw, 58px);
  width: clamp(50px, 6vw, 58px);
  height: clamp(50px, 6vw, 58px);
}

.trust-panel h2,
.membership-benefit-board__intro h3 {
  max-width: 780px;
  font-size: clamp(1.85rem, 3vw, 3.2rem);
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

.membership-benefit-board__intro h3 {
  font-size: clamp(1.8rem, 2.85vw, 3rem);
}

.home-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-action-card__icon,
.home-action-card a {
  margin-inline: auto;
}

.home-action-card p {
  max-width: 34ch;
}

.echo-conversation__message {
  min-height: 7.2em;
  white-space: pre-line;
}

.echo-conversation__message.is-typing::after {
  display: inline-block;
  width: 0.08em;
  height: 1em;
  margin-left: 0.14em;
  border-radius: 999px;
  background: currentColor;
  content: "";
  vertical-align: -0.14em;
  animation: echo-caret 0.78s steps(1, end) infinite;
}

@keyframes echo-caret {
  50% { opacity: 0; }
}

.prevention-stage {
  grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr);
}

.prevention-risk-cloud {
  min-height: clamp(500px, 45vw, 610px);
  isolation: isolate;
}

.prevention-risk-cloud span {
  z-index: 2;
  color: var(--red-vivid);
  font-family: var(--brand);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.86), 0 14px 34px rgba(130, 24, 18, 0.12);
  text-transform: uppercase;
}

.prevention-risk-cloud span:nth-child(3),
.prevention-risk-cloud span:nth-child(6),
.prevention-risk-cloud span:nth-child(8),
.prevention-risk-cloud span:nth-child(10),
.prevention-risk-cloud span:nth-child(13) {
  color: var(--ink);
}

html[data-theme="dark"] .prevention-risk-cloud span:nth-child(3),
html[data-theme="dark"] .prevention-risk-cloud span:nth-child(6),
html[data-theme="dark"] .prevention-risk-cloud span:nth-child(8),
html[data-theme="dark"] .prevention-risk-cloud span:nth-child(10),
html[data-theme="dark"] .prevention-risk-cloud span:nth-child(13) {
  color: #f5f5f5;
}

.prevention-risk-cloud span:nth-child(1) {
  top: 8%;
  left: 4%;
  font-size: clamp(0.9rem, 1.55vw, 1.55rem);
  transform: rotate(-3deg);
}

.prevention-risk-cloud span:nth-child(2) {
  top: 20%;
  left: 3%;
  right: auto;
  font-size: clamp(3.1rem, 7.2vw, 6.25rem);
  transform: rotate(2deg);
}

.prevention-risk-cloud span:nth-child(3) {
  top: 9%;
  right: 5%;
  left: auto;
  font-size: clamp(1rem, 1.75vw, 1.65rem);
  transform: rotate(2deg);
}

.prevention-risk-cloud span:nth-child(4) {
  top: 62%;
  left: 5%;
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  transform: rotate(4deg);
}

.prevention-risk-cloud span:nth-child(5) {
  top: auto;
  right: 7%;
  bottom: 8%;
  font-size: clamp(1rem, 1.8vw, 1.7rem);
}

.prevention-risk-cloud span:nth-child(6) {
  top: 36%;
  right: 10%;
  font-size: clamp(0.9rem, 1.4vw, 1.32rem);
}

.prevention-risk-cloud span:nth-child(7) {
  top: auto;
  right: auto;
  bottom: 10%;
  left: 28%;
  font-size: clamp(0.86rem, 1.35vw, 1.25rem);
}

.prevention-risk-cloud span:nth-child(8) {
  top: 48%;
  left: 12%;
  font-size: clamp(1.2rem, 2.4vw, 2.25rem);
}

.prevention-risk-cloud span:nth-child(9) {
  top: 43%;
  left: 2%;
  font-size: clamp(0.72rem, 1.1vw, 1rem);
  transform: rotate(-2deg);
}

.prevention-risk-cloud span:nth-child(10) {
  top: 30%;
  left: 43%;
  font-size: clamp(0.7rem, 1.05vw, 0.96rem);
}

.prevention-risk-cloud span:nth-child(11) {
  top: 55%;
  right: 1%;
  font-size: clamp(0.75rem, 1.15vw, 1.05rem);
  transform: rotate(-2deg);
}

.prevention-risk-cloud span:nth-child(12) {
  top: auto;
  bottom: 21%;
  left: 5%;
  font-size: clamp(0.72rem, 1.1vw, 1rem);
}

.prevention-risk-cloud span:nth-child(13) {
  top: auto;
  right: 7%;
  bottom: 24%;
  font-size: clamp(0.82rem, 1.22vw, 1.12rem);
}

.prevention-risk-cloud span:nth-child(14) {
  top: 13%;
  left: 37%;
  font-size: clamp(0.64rem, 0.95vw, 0.88rem);
}

@media (max-width: 767px) {
  .social-logo-grid {
    gap: 8px;
  }

  .social-logo-grid a {
    flex-basis: clamp(46px, 15vw, 52px);
    width: clamp(46px, 15vw, 52px);
    height: clamp(46px, 15vw, 52px);
  }

  .trust-panel h2,
  .membership-benefit-board__intro h3 {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }

  .echo-conversation__message {
    min-height: 9.5em;
  }

  .prevention-stage {
    grid-template-columns: 1fr;
  }

  .prevention-risk-cloud {
    min-height: 390px;
  }

  .prevention-risk-cloud span:nth-child(1) {
    left: 2%;
    font-size: clamp(0.62rem, 3vw, 0.86rem);
  }

  .prevention-risk-cloud span:nth-child(2) {
    top: 21%;
    left: 1%;
    font-size: clamp(2.3rem, 12vw, 3.55rem);
  }

  .prevention-risk-cloud span:nth-child(3) {
    right: 2%;
    font-size: clamp(0.68rem, 3.2vw, 0.94rem);
  }

  .prevention-risk-cloud span:nth-child(4) {
    left: 0;
    font-size: clamp(1.45rem, 8vw, 2.35rem);
  }

  .prevention-risk-cloud span:nth-child(n + 5) {
    font-size: clamp(0.52rem, 2.9vw, 0.78rem);
  }

  .prevention-risk-cloud span:nth-child(8) {
    left: 5%;
    font-size: clamp(0.8rem, 4vw, 1.18rem);
  }
}

/* Retours visuels 2026-07-24 bis */

.x-logo {
  display: inline-grid;
  width: 1em;
  height: 1em;
  place-items: center;
  line-height: 1;
}

.x-logo::before,
.x-logo::after {
  display: none;
  content: none;
}

.x-logo svg {
  display: block;
  width: 0.82em;
  height: 0.82em;
}

.social-logo-grid {
  --social-button-size: clamp(38px, 6vw, 58px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(6px, 1.2vw, 12px);
  width: min(100%, 390px);
  max-width: 100%;
  margin-inline: 0 auto;
}

.social-logo-grid a {
  width: var(--social-button-size);
  height: var(--social-button-size);
  min-width: 0;
  justify-self: center;
  font-size: clamp(0.9rem, 2.2vw, 1.22rem);
}

.prevention-stage {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.prevention-risk-cloud {
  display: flex;
  min-height: clamp(360px, 36vw, 470px);
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: clamp(8px, 1.25vw, 16px) clamp(12px, 2vw, 28px);
  overflow: hidden;
  padding: clamp(24px, 4vw, 44px);
}

.prevention-risk-cloud::before {
  display: none;
}

.prevention-risk-cloud span {
  position: static;
  display: inline-block;
  max-width: 100%;
  color: var(--red-vivid);
  font-family: var(--brand);
  font-size: clamp(0.82rem, 1.35vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-shadow: none;
  text-transform: uppercase;
  transform: none;
  white-space: normal;
}

.prevention-risk-cloud span:nth-child(3),
.prevention-risk-cloud span:nth-child(6),
.prevention-risk-cloud span:nth-child(8),
.prevention-risk-cloud span:nth-child(10),
.prevention-risk-cloud span:nth-child(13) {
  color: var(--ink);
}

html[data-theme="dark"] .prevention-risk-cloud span:nth-child(3),
html[data-theme="dark"] .prevention-risk-cloud span:nth-child(6),
html[data-theme="dark"] .prevention-risk-cloud span:nth-child(8),
html[data-theme="dark"] .prevention-risk-cloud span:nth-child(10),
html[data-theme="dark"] .prevention-risk-cloud span:nth-child(13) {
  color: #f5f5f5;
}

.prevention-risk-cloud span:nth-child(2),
.prevention-risk-cloud span:nth-child(4) {
  flex-basis: 100%;
  font-size: clamp(2rem, 4.4vw, 3.8rem);
}

.prevention-risk-cloud span:nth-child(8) {
  flex-basis: 100%;
  font-size: clamp(1.25rem, 2.7vw, 2.35rem);
}

.prevention-risk-cloud span:nth-child(1),
.prevention-risk-cloud span:nth-child(7) {
  font-size: clamp(1rem, 2vw, 1.8rem);
}

.prevention-risk-cloud span:nth-child(5),
.prevention-risk-cloud span:nth-child(6),
.prevention-risk-cloud span:nth-child(9),
.prevention-risk-cloud span:nth-child(10),
.prevention-risk-cloud span:nth-child(11),
.prevention-risk-cloud span:nth-child(12),
.prevention-risk-cloud span:nth-child(13),
.prevention-risk-cloud span:nth-child(14) {
  font-size: clamp(0.72rem, 1.1vw, 1.05rem);
}

.membership-benefit-board__intro h3 {
  max-width: 900px;
  font-size: clamp(1.8rem, 2.45vw, 2.65rem);
  line-height: 1.1;
  overflow-wrap: normal;
}

@media (max-width: 767px) {
  .social-logo-grid {
    --social-button-size: clamp(36px, 12.5vw, 48px);
    width: min(100%, 300px);
    gap: 6px;
  }

  .prevention-stage {
    grid-template-columns: 1fr;
  }

  .prevention-risk-cloud {
    min-height: auto;
    padding: 22px 14px;
    gap: 9px 14px;
  }

  .prevention-risk-cloud span {
    font-size: clamp(0.64rem, 3vw, 0.86rem);
  }

  .prevention-risk-cloud span:nth-child(2),
  .prevention-risk-cloud span:nth-child(4) {
    font-size: clamp(1.35rem, 7vw, 2.15rem);
  }

  .prevention-risk-cloud span:nth-child(8) {
    font-size: clamp(0.94rem, 4.4vw, 1.35rem);
  }

  .membership-benefit-board__intro h3 {
    font-size: clamp(1.5rem, 6.6vw, 2rem);
  }
}

/* Retours visuels 2026-07-24 ter */

.social-logo-grid {
  --social-gap: clamp(6px, 1vw, 10px);
  gap: var(--social-gap);
  justify-content: start;
}

.social-logo-grid a {
  width: min(var(--social-button-size), 100%);
  height: auto;
  min-height: 0;
  flex-basis: auto;
  aspect-ratio: 1;
  box-sizing: border-box;
}

@media (max-width: 1080px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-panel,
  .contact-form {
    width: 100%;
  }

  .social-logo-grid {
    width: min(390px, 100%);
  }
}

@media (max-width: 767px) {
  .social-logo-grid {
    --social-gap: 6px;
  }
}

/* Prévention : composition impactante, oblique et strictement contenue */

.prevention-stage {
  align-items: center;
  overflow: hidden;
}

.prevention-risk-cloud {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  width: 100%;
  height: clamp(500px, 44vw, 590px);
  min-height: 0;
  align-self: center;
  align-content: center;
  gap: clamp(15px, 2.2cqw, 22px) clamp(4px, 1cqw, 10px);
  padding: clamp(32px, 5.2cqw, 48px) clamp(24px, 5cqw, 44px);
  container-type: inline-size;
  overflow: hidden;
}

.prevention-risk-cloud::before {
  display: none;
}

.prevention-risk-cloud span {
  position: static;
  z-index: 1;
  display: inline-block;
  width: max-content;
  max-width: 100%;
  align-self: center;
  justify-self: center;
  padding: 0;
  border: 0;
  color: var(--red-vivid);
  background: transparent;
  filter: none;
  font-family: var(--brand);
  font-size: clamp(0.7rem, 2.75cqw, 1rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.94;
  text-align: center;
  text-shadow: 0 0.045em 0 rgba(255, 255, 255, 0.92), 0 0.13em 0.2em rgba(130, 24, 18, 0.13);
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(var(--risk-rotation, 0deg));
  transform-origin: center;
}

.prevention-risk-cloud span:nth-child(3),
.prevention-risk-cloud span:nth-child(6),
.prevention-risk-cloud span:nth-child(8),
.prevention-risk-cloud span:nth-child(10),
.prevention-risk-cloud span:nth-child(13) {
  color: var(--ink);
}

html[data-theme="dark"] .prevention-risk-cloud span:nth-child(3),
html[data-theme="dark"] .prevention-risk-cloud span:nth-child(6),
html[data-theme="dark"] .prevention-risk-cloud span:nth-child(8),
html[data-theme="dark"] .prevention-risk-cloud span:nth-child(10),
html[data-theme="dark"] .prevention-risk-cloud span:nth-child(13) {
  color: #f5f5f5;
}

.prevention-risk-cloud span:nth-child(1) {
  --risk-rotation: -3deg;
  grid-column: 1 / -1;
  justify-self: start;
  font-size: clamp(0.95rem, 4.7cqw, 1.6rem);
}

.prevention-risk-cloud span:nth-child(2) {
  --risk-rotation: 2deg;
  grid-column: 1 / -1;
  font-size: clamp(1.7rem, 10.5cqw, 4rem);
}

.prevention-risk-cloud span:nth-child(3) {
  --risk-rotation: -1deg;
  grid-column: 1 / -1;
  justify-self: end;
  font-size: clamp(0.92rem, 4cqw, 1.45rem);
}

.prevention-risk-cloud span:nth-child(4) {
  --risk-rotation: -3deg;
  grid-column: 1 / -1;
  font-size: clamp(0.95rem, 6.55cqw, 3.05rem);
}

.prevention-risk-cloud span:nth-child(5) {
  --risk-rotation: 3deg;
  grid-column: 1 / 5;
  font-size: clamp(0.55rem, 3.1cqw, 1rem);
}

.prevention-risk-cloud span:nth-child(6) {
  --risk-rotation: -2deg;
  grid-column: 5 / 9;
  font-size: clamp(0.55rem, 3.1cqw, 1rem);
}

.prevention-risk-cloud span:nth-child(7) {
  --risk-rotation: 2deg;
  grid-column: 9 / 13;
  font-size: clamp(0.54rem, 2.6cqw, 1rem);
}

.prevention-risk-cloud span:nth-child(8) {
  --risk-rotation: -1deg;
  grid-column: 1 / -1;
  font-size: clamp(0.72rem, 5cqw, 2rem);
}

.prevention-risk-cloud span:nth-child(9) {
  --risk-rotation: 2deg;
  grid-column: 1 / 5;
  font-size: clamp(0.55rem, 3.1cqw, 1rem);
}

.prevention-risk-cloud span:nth-child(10) {
  --risk-rotation: -3deg;
  grid-column: 5 / 8;
  font-size: clamp(0.55rem, 3.1cqw, 1rem);
}

.prevention-risk-cloud span:nth-child(11) {
  --risk-rotation: 2deg;
  grid-column: 8 / 13;
  font-size: clamp(0.55rem, 3.1cqw, 1rem);
}

.prevention-risk-cloud span:nth-child(12) {
  --risk-rotation: -2deg;
  grid-column: 1 / 5;
  font-size: clamp(0.55rem, 3.1cqw, 1rem);
}

.prevention-risk-cloud span:nth-child(13) {
  --risk-rotation: 1deg;
  grid-column: 5 / 13;
  font-size: clamp(0.55rem, 3.1cqw, 1rem);
}

.prevention-risk-cloud span:nth-child(14) {
  --risk-rotation: -1deg;
  grid-column: 1 / -1;
  font-size: clamp(0.55rem, 3.1cqw, 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  .prevention-risk-cloud span {
    animation: risk-word-drop 0.76s cubic-bezier(0.17, 0.86, 0.2, 1.08) both;
    animation-delay: calc(var(--risk-order, 0) * 0.06s);
  }

  .prevention-risk-cloud span:nth-child(1) { --risk-order: 0; }
  .prevention-risk-cloud span:nth-child(2) { --risk-order: 1; }
  .prevention-risk-cloud span:nth-child(3) { --risk-order: 2; }
  .prevention-risk-cloud span:nth-child(4) { --risk-order: 3; }
  .prevention-risk-cloud span:nth-child(5) { --risk-order: 4; }
  .prevention-risk-cloud span:nth-child(6) { --risk-order: 5; }
  .prevention-risk-cloud span:nth-child(7) { --risk-order: 6; }
  .prevention-risk-cloud span:nth-child(8) { --risk-order: 7; }
  .prevention-risk-cloud span:nth-child(9) { --risk-order: 8; }
  .prevention-risk-cloud span:nth-child(10) { --risk-order: 9; }
  .prevention-risk-cloud span:nth-child(11) { --risk-order: 10; }
  .prevention-risk-cloud span:nth-child(12) { --risk-order: 11; }
  .prevention-risk-cloud span:nth-child(13) { --risk-order: 12; }
  .prevention-risk-cloud span:nth-child(14) { --risk-order: 13; }
}

@keyframes risk-word-drop {
  0% {
    opacity: 0;
    translate: 0 -62px;
    scale: 1.035 0.92;
  }

  72% {
    opacity: 1;
    translate: 0 7px;
    scale: 0.99 1.04;
  }

  100% {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

@media (max-width: 900px) {
  .prevention-stage {
    grid-template-columns: 1fr;
  }

  .prevention-risk-cloud {
    width: min(620px, 100%);
    justify-self: center;
  }
}

@media (max-width: 767px) {
  .prevention-risk-cloud {
    height: clamp(500px, 150vw, 590px);
    padding: 28px 18px;
    gap: 15px 4px;
  }

  .prevention-risk-cloud span {
    text-shadow: 0 0.045em 0 rgba(255, 255, 255, 0.9), 0 0.11em 0.18em rgba(130, 24, 18, 0.12);
  }
}

@media (max-width: 360px) {
  .prevention-risk-cloud {
    height: 620px;
    padding: 28px 14px;
    gap: 14px 6px;
  }

  .prevention-risk-cloud span:nth-child(1) {
    font-size: clamp(0.7rem, 4.7cqw, 1.6rem);
  }

  .prevention-risk-cloud span:nth-child(2) {
    font-size: clamp(1.45rem, 10.5cqw, 4rem);
  }

  .prevention-risk-cloud span:nth-child(4) {
    font-size: clamp(0.75rem, 6.55cqw, 3.05rem);
  }

  .prevention-risk-cloud span:nth-child(5),
  .prevention-risk-cloud span:nth-child(9),
  .prevention-risk-cloud span:nth-child(12) {
    grid-column: 1 / 7;
  }

  .prevention-risk-cloud span:nth-child(6),
  .prevention-risk-cloud span:nth-child(10) {
    grid-column: 7 / 13;
  }

  .prevention-risk-cloud span:nth-child(7),
  .prevention-risk-cloud span:nth-child(11),
  .prevention-risk-cloud span:nth-child(13) {
    grid-column: 1 / -1;
  }

  .prevention-risk-cloud span:nth-child(8) {
    font-size: clamp(0.65rem, 5cqw, 2rem);
  }
}

/* Accueil : préserver le marquage vidéo lors de l'arrivée de la carte */

.home-hero .page-hero__inner {
  transform-origin: top center;
}

body.is-home-arrival .home-hero .page-hero__inner {
  transform: scale(var(--home-arrival-scale, 1));
  transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 900px) {
  .home-hero__visual {
    max-height: 430px;
    transition: max-height 0.52s cubic-bezier(0.22, 1, 0.36, 1), min-height 0.52s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  }

  body.is-home-arrival .home-hero__visual {
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
  }
}

@media (max-width: 767px) {
  body.is-home-arrival .home-progress {
    width: 50px;
    min-width: 50px;
    padding: 7px;
    justify-content: center;
  }

  body.is-home-arrival .home-progress span {
    display: none;
  }
}

@media (max-width: 767px) {
  .home-video--desktop {
    display: none;
  }

  .home-video--mobile {
    display: block;
    object-position: center 115%;
  }
}

@media (max-width: 900px) and (max-height: 700px) {
  body.is-home-arrival .home-hero .page-hero__inner {
    gap: 14px;
    padding-block: 22px;
  }

  body.is-home-arrival .home-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  body.is-home-arrival .home-hero .page-hero__lead {
    margin-top: 14px;
    font-size: 0.82rem;
  }

  body.is-home-arrival .home-hero .hero-actions {
    gap: 8px;
    margin-top: 18px;
  }

  body.is-home-arrival .home-hero__partner-link {
    margin-top: 14px;
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-home-arrival .home-hero .page-hero__inner,
  .home-hero__visual {
    transition: none;
  }
}

/* Configuration runtime et correctifs du site */

@media (min-width: 768px) {
  .home-video--desktop {
    display: block;
  }

  .home-video--mobile {
    display: none;
  }
}

.external-link-icon {
  flex: 0 0 auto;
  margin-left: 0.36em;
  font-size: 0.72em;
}

.global-announcement {
  position: relative;
  z-index: 18;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(1180px, calc(100% - 32px));
  margin: 10px auto 0;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--glass-strong);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 12px 32px rgba(35, 31, 32, 0.12);
}

.global-announcement a {
  color: var(--red-deep);
  font-weight: 700;
  white-space: nowrap;
}

.contact-form__submit:disabled {
  cursor: wait;
  opacity: 0.55;
}

@media (max-width: 1180px) {
  html[data-theme="light"] .main-nav {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(22, 17, 19, 0.99);
    color: #fff;
  }

  html[data-theme="light"] .main-nav a,
  html[data-theme="light"] .main-nav button,
  html[data-theme="light"] .main-nav .main-submenu a,
  html[data-theme="light"] .nav-replay--mobile .replay-intro {
    color: #fff;
  }

  html[data-theme="light"] .main-nav .main-submenu {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  html[data-theme="light"] .main-nav__list > li > a:hover,
  html[data-theme="light"] .main-nav__list > li > a:focus-visible,
  html[data-theme="light"] .main-nav__list > li > a.is-current,
  html[data-theme="light"] .main-nav__list > li > button:hover,
  html[data-theme="light"] .main-nav__list > li > button:focus-visible,
  html[data-theme="light"] .main-nav .main-submenu a:hover,
  html[data-theme="light"] .main-nav .main-submenu a:focus-visible,
  html[data-theme="light"] .main-nav .main-submenu a.is-current {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }
}

@media (max-width: 620px) {
  .global-announcement {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    text-align: left;
  }
}

/* Alignement Figma 2026-09 : grille paire, cadres cohérents et sélecteurs en pilules */

:root {
  --layout-max: 1184px;
  --layout-wide: 1264px;
  --layout-gutter: clamp(16px, 4vw, 48px);
  --frame-padding: clamp(24px, 4vw, 48px);
  --section-space: clamp(72px, 8vw, 112px);
  --grid-gap: 16px;
  --radius-frame: 24px;
  --radius-card: 20px;
  --radius-control: 12px;
  --control-height: 48px;
  --selector-hover: rgba(227, 32, 24, 0.08);
  --selector-hover-strong: rgba(227, 32, 24, 0.14);
  --radius: var(--radius-frame);
}

/* Le footer reprend l'axe large du prototype. Le header conserve son design historique. */

.refonte-footer {
  padding-inline: var(--layout-gutter);
}

.refonte-footer__inner,
.refonte-footer__inner.glass {
  width: min(var(--layout-wide), 100%);
  border-radius: var(--radius-frame);
}

.global-announcement {
  width: min(var(--layout-max), calc(100% - 32px));
}

/* Toutes les pages reprennent les axes et proportions de l'accueil. */

.page-hero,
.section {
  padding-inline: var(--layout-gutter);
}

.home-hero {
  padding: 128px var(--layout-gutter) 64px;
}

.home-hero .page-hero__inner {
  gap: clamp(32px, 4vw, 64px);
  width: min(var(--layout-max), 100%);
  padding: clamp(48px, 5vw, 72px);
  border-radius: var(--radius-frame);
}

.home-hero h1 {
  display: grid;
  justify-items: center;
  max-width: 640px;
  text-align: center;
}

.page-content:not(.page-content--home) .page-hero {
  padding: 128px var(--layout-gutter) 32px;
}

.page-content:not(.page-content--home) .page-hero__inner {
  column-gap: clamp(32px, 6vw, 96px);
  width: min(var(--layout-max), 100%);
  padding: 32px 0 40px;
}

.page-content--home .section,
.page-content:not(.page-content--home) .section {
  padding-block: var(--section-space);
}

.page-content--home .section--compact,
.page-content:not(.page-content--home) .section--compact {
  padding-block: clamp(48px, 6vw, 72px);
}

.section-heading,
.section-heading--right {
  width: min(var(--layout-max), 100%);
  margin: 0 auto 40px;
  padding: var(--frame-padding);
  border-radius: var(--radius-frame);
}

.home-actions .section-heading h2,
.home-resources .section-heading h2 {
  max-width: 720px;
}

.card-grid,
.team-grid,
.home-action-grid,
.home-story__panel,
.home-audiences__panel,
.home-resource-grid,
.home-support__panel,
.origin-panel,
.safe-place-stage,
.prevention-stage,
.orientation-stage,
.trust-panel,
.history-carousel,
.membership-benefit-board,
.membership-flow,
.membership-route,
.split-panel,
.fact-strip,
.resource-list,
.cta-panel,
.partner-showcase,
.media-story,
.media-kit-index,
.contact-layout,
.contact-routes,
.legal-layout,
.content-accordion,
.donation-ethic-card {
  width: min(var(--layout-max), 100%);
}

.card-grid,
.team-grid,
.home-action-grid,
.home-resource-grid,
.membership-steps,
.membership-flow,
.contact-routes {
  gap: var(--grid-gap);
}

.home-story__panel,
.home-audiences__panel,
.home-support__panel,
.origin-panel,
.safe-place-stage,
.prevention-stage,
.orientation-stage,
.trust-panel,
.membership-benefit-board,
.membership-route,
.split-panel,
.cta-panel,
.partner-showcase,
.donation-ethic-card {
  border-radius: var(--radius-frame);
}

.info-card,
.home-action-card,
.team-card,
.history-card,
.legal-card,
.media-chapter,
.contact-panel,
.contact-form,
.membership-flow li,
.content-accordion__item {
  border-radius: var(--radius-frame);
}

.button,
.contact-form__submit {
  min-height: var(--control-height);
  padding-inline: 20px;
  border-radius: var(--radius-control);
}

.info-card__icon,
.home-action-card__icon,
.page-content:not(.page-content--home) .page-hero__symbol,
.home-audiences__grid i {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-card);
}

/* Les autres sélecteurs adoptent le même hover teinté, sans changer leur structure. */

.orientation-compass__points button,
.membership-route__step,
.media-kit-index a,
.legal-nav a,
.content-accordion__item h3 > button,
.home-support__actions a {
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.membership-route__step:hover,
.membership-route__step:focus-visible,
.media-kit-index a:hover,
.media-kit-index a:focus-visible,
.legal-nav a:hover,
.legal-nav a:focus-visible,
.content-accordion__item h3 > button:hover,
.content-accordion__item h3 > button:focus-visible {
  background: var(--selector-hover);
}

@media (max-width: 767px) {
  :root {
    --layout-gutter: 16px;
    --frame-padding: 24px;
    --section-space: 72px;
    --radius-frame: 20px;
    --radius-card: 16px;
  }

  .home-hero {
    padding: 92px 16px 32px;
  }

  .home-hero .page-hero__inner {
    gap: 24px;
    padding: 28px 20px;
  }

  .page-content:not(.page-content--home) .page-hero {
    padding: 94px 16px 24px;
  }

  .page-content:not(.page-content--home) .page-hero__inner {
    padding: 20px 0 32px;
  }

  .section-heading,
  .section-heading--right {
    margin-bottom: 32px;
    padding: 24px 20px;
  }

  .home-story__panel,
  .home-audiences__panel,
  .home-support__panel,
  .origin-panel,
  .safe-place-stage,
  .prevention-stage,
  .orientation-stage,
  .trust-panel,
  .membership-benefit-board,
  .membership-route,
  .split-panel,
  .cta-panel,
  .partner-showcase,
  .donation-ethic-card {
    padding: 24px 20px;
  }

  .info-card,
  .home-action-card,
  .team-card,
  .history-card,
  .legal-card,
  .media-chapter,
  .contact-panel,
  .contact-form,
  .membership-flow li {
    padding: 24px 20px;
  }

  .footer-main {
    padding: 32px 24px;
  }

  .footer-bottom {
    padding: 24px;
  }
}

/* Toutes les pages : les grandes frames partagent le même axe central. */
.page-content--home .home-story,
.page-content--home .home-audiences,
.page-content--home .home-support {
  justify-items: center;
}

.page-content .page-hero__inner,
.page-content .section-heading,
.page-content .card-grid,
.page-content .team-grid,
.page-content .home-action-grid,
.page-content .home-story__panel,
.page-content .home-audiences__panel,
.page-content .home-resource-grid,
.page-content .home-support__panel,
.page-content .origin-panel,
.page-content .safe-place-stage,
.page-content .prevention-stage,
.page-content .orientation-stage,
.page-content .trust-panel,
.page-content .history-carousel,
.page-content .membership-benefit-board,
.page-content .membership-steps,
.page-content .membership-flow,
.page-content .membership-route,
.page-content .split-panel,
.page-content .fact-strip,
.page-content .resource-list,
.page-content .cta-panel,
.page-content .partner-showcase,
.page-content .media-story,
.page-content .media-kit-index,
.page-content .contact-layout,
.page-content .contact-routes,
.page-content .legal-layout,
.page-content .content-accordion,
.page-content .donation-ethic-card,
.page-content .copy-panel,
.page-content .quote-panel {
  margin-right: auto;
  margin-left: auto;
}

/* Ajustements éditoriaux ciblés à partir des retours de mise en page. */
.page-content--safe-place .section--echo .echo-conversation {
  width: min(var(--layout-max), 100%);
}

.page-content--safe-place .echo-conversation__message {
  width: 100%;
  max-width: none;
}

.page-content--safe-place .echo-conversation__bubble {
  width: 100%;
  margin-top: 16px;
  padding: 20px 22px 22px;
  border-radius: 4px 20px 20px;
  background: var(--surface-soft);
}

.page-content--safe-place .echo-conversation__bubble .echo-conversation__message {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  line-height: 1.6;
}

.page-content--safe-place .echo-conversation__bubble .button-row {
  justify-content: flex-end;
  margin-top: 24px;
}

.page-content--association .mission-grid .info-card:nth-child(2) {
  transform: none;
}

@media (min-width: 1181px) {
  .page-content--prevention .prevention-objectives .section-heading h2,
  .page-content--prevention .prevention-channels .section-heading h2,
  .page-content--donation .donation-discover .section-heading h2,
  .page-content--association #missions .section-heading h2,
  .page-content--association .history-section .section-heading h2 {
    max-width: none;
    font-size: clamp(3.1rem, 4.2vw, 3.35rem);
    white-space: nowrap;
  }

  .page-content--prevention .cta-panel > div > p:last-child {
    font-size: 0.95rem;
    white-space: nowrap;
  }
}

/* Sous-menu : survol discret, page active clairement identifiée. */
.main-submenu a:hover,
.main-submenu a:focus-visible,
html[data-theme="light"] .main-submenu a:hover,
html[data-theme="light"] .main-submenu a:focus-visible {
  background: var(--selector-hover);
  color: var(--red-deep);
}

.main-submenu a.is-current,
html[data-theme="light"] .main-submenu a.is-current {
  background: var(--red-deep);
  color: #fff;
}

html[data-theme="dark"] .main-submenu a:hover,
html[data-theme="dark"] .main-submenu a:focus-visible {
  background: rgba(227, 32, 24, 0.12);
  color: #fff;
}

/* Mode nuit : palette GamEarth homogène et contrastes lisibles. */
html[data-theme="dark"] {
  --night-accent-text: var(--red-vivid);
  --night-eyebrow-text: var(--muted);
}

html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .partner-showcase .eyebrow,
html[data-theme="dark"] .cookie-consent__eyebrow {
  color: var(--night-eyebrow-text);
}

html[data-theme="dark"] .footer-column h2,
html[data-theme="dark"] .footer-column h3 {
  color: var(--night-accent-text);
}

html[data-theme="dark"] .info-card > a,
html[data-theme="dark"] .team-card__role,
html[data-theme="dark"] .history-deck__controls > span,
html[data-theme="dark"] .safe-place-keywords > span:not(.safe-place-keywords__logo),
html[data-theme="dark"] .orientation-compass__cardinal,
html[data-theme="dark"] .donation-ethic-card a,
html[data-theme="dark"] .download-list a,
html[data-theme="dark"] .media-visual--logos > span,
html[data-theme="dark"] .media-visual--identity small,
html[data-theme="dark"] .media-format,
html[data-theme="dark"] .legal-nav strong,
html[data-theme="dark"] .legal-card h2,
html[data-theme="dark"] .global-announcement a,
html[data-theme="dark"] .story-list__number,
html[data-theme="dark"] .timeline time {
  color: var(--night-accent-text);
}

html[data-theme="dark"] .team-card__role {
  color: var(--night-accent-text) !important;
}

html[data-theme="dark"] .button--light {
  border-color: var(--night-accent-text);
}

html[data-theme="dark"] :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline-color: var(--night-accent-text);
}

/* Les repères d'ouverture reprennent le rouge sombre des coins de carte. */
.eyebrow::before {
  background: var(--red-deep);
  box-shadow: 11px 0 var(--red-deep), 22px 0 var(--red-deep), 33px 0 var(--red-deep), 44px 0 var(--red-deep);
}

/* Navigation progressive : barre complète, puis deux bulles et un volet. */
.refonte-header {
  --header-collapse-progress: 0;
  --header-full-opacity: 1;
  --header-compact-opacity: 0;
  --header-shell-opacity: 1;
  --header-shell-scale: 1;
  --header-control-scale: 0.88;
  --header-full-shift: 0px;
  --header-compact-shift: -8px;
  --header-wing-width: 50%;
  --header-wing-height: 66px;
  --header-wing-top: 0px;
  --header-wing-edge: 0px;
  --header-wing-inner-radius: 0px;
  --header-wing-outer-radius: 22px;
  --header-wing-border-alpha: 0;
  --header-wing-shadow-alpha: 0;
  isolation: isolate;
  height: 66px;
  max-height: 66px;
  overflow: visible;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

.refonte-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  background: rgba(22, 17, 19, 0.86);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
  content: "";
  opacity: var(--header-shell-opacity);
  pointer-events: none;
  transform: scale(var(--header-shell-scale));
  transform-origin: top center;
}

html[data-theme="light"] .refonte-header::before {
  border-color: rgba(130, 24, 18, 0.14);
  background: rgba(249, 248, 247, 0.92);
  box-shadow: 0 18px 55px rgba(35, 31, 32, 0.16);
}

.header-morph-wings {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.header-morph-wing {
  position: absolute;
  top: var(--header-wing-top);
  width: var(--header-wing-width);
  height: var(--header-wing-height);
  border: 1px solid rgba(255, 255, 255, var(--header-wing-border-alpha));
  background: rgba(22, 17, 19, 0.9);
  box-shadow: 0 16px 44px rgba(0, 0, 0, var(--header-wing-shadow-alpha));
  opacity: var(--header-collapse-progress);
  pointer-events: none;
  backdrop-filter: blur(18px) saturate(135%);
}

.header-morph-wing--start {
  left: var(--header-wing-edge);
  border-radius: var(--header-wing-outer-radius) var(--header-wing-inner-radius) var(--header-wing-inner-radius) var(--header-wing-outer-radius);
}

.header-morph-wing--end {
  right: var(--header-wing-edge);
  border-radius: var(--header-wing-inner-radius) var(--header-wing-outer-radius) var(--header-wing-outer-radius) var(--header-wing-inner-radius);
}

html[data-theme="light"] .header-morph-wing {
  border-color: rgba(130, 24, 18, var(--header-wing-border-alpha));
  background: rgba(249, 248, 247, 0.95);
  box-shadow: 0 16px 44px rgba(35, 31, 32, var(--header-wing-shadow-alpha));
}

.refonte-header > .brand-link,
.refonte-header > .header-actions,
.refonte-header > .main-nav {
  position: relative;
  z-index: 2;
}

.refonte-header > .brand-link,
.refonte-header > .header-actions,
.refonte-header > .main-nav:not(.is-drawer) {
  opacity: var(--header-full-opacity);
  transform: translateY(var(--header-full-shift));
}

.refonte-header.is-collapsing > .brand-link,
.refonte-header.is-collapsing > .header-actions,
.refonte-header.is-collapsing > .main-nav:not(.is-drawer) {
  pointer-events: none;
}

.main-nav__drawer-head,
.header-compact-controls,
.nav-drawer-backdrop {
  display: none;
}

.header-compact-controls {
  position: absolute;
  z-index: 4;
  top: var(--header-wing-top);
  right: var(--header-wing-edge);
  left: var(--header-wing-edge);
  display: flex;
  height: var(--header-wing-height);
  align-items: center;
  justify-content: space-between;
  opacity: var(--header-compact-opacity);
  pointer-events: none;
  transform: translateY(var(--header-compact-shift));
}

.header-compact-controls::before,
.header-compact-controls::after {
  position: absolute;
  top: 50%;
  z-index: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--header-clearance-background, #0c0a0b) 0 64%, transparent 74%);
  content: "";
  opacity: var(--header-compact-opacity);
  pointer-events: none;
  transform: translateY(-50%);
}

.header-compact-controls::before {
  left: -5px;
}

.header-compact-controls::after {
  right: -5px;
}

.refonte-header.is-compact .header-compact-controls {
  pointer-events: none;
}

.header-compact-controls .menu-toggle--compact,
.header-compact-controls .theme-toggle--compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  box-shadow: none;
  pointer-events: none;
  position: relative;
  z-index: 1;
  transform: scale(var(--header-control-scale));
  backdrop-filter: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.refonte-header.is-compact .header-compact-controls .menu-toggle--compact,
.refonte-header.is-compact .header-compact-controls .theme-toggle--compact {
  pointer-events: auto;
}

.header-compact-controls .menu-toggle--compact:hover,
.header-compact-controls .menu-toggle--compact:focus-visible,
.header-compact-controls .theme-toggle--compact:hover,
.header-compact-controls .theme-toggle--compact:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
  box-shadow: none;
}

.header-compact-controls .menu-toggle--compact i,
.header-compact-controls .theme-toggle--compact i {
  font-size: 1rem;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.header-compact-controls .menu-toggle--compact[aria-expanded="true"] i {
  transform: rotate(90deg);
}

html[data-theme="light"] .header-compact-controls .menu-toggle--compact,
html[data-theme="light"] .header-compact-controls .theme-toggle--compact {
  border-color: transparent;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

html[data-theme="light"] .header-compact-controls .menu-toggle--compact:hover,
html[data-theme="light"] .header-compact-controls .menu-toggle--compact:focus-visible,
html[data-theme="light"] .header-compact-controls .theme-toggle--compact:hover,
html[data-theme="light"] .header-compact-controls .theme-toggle--compact:focus-visible {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.nav-drawer-backdrop {
  position: fixed;
  z-index: 1;
  inset: 0;
  display: block;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: none;
  transition: opacity 0.28s ease, visibility 0s linear 0.28s;
}

body.is-navigation-open .nav-drawer-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transition-delay: 0s;
}

.main-nav__label {
  position: relative;
  display: inline-flex;
  white-space: nowrap;
}

.refonte-header .main-nav .main-nav__label .nav-dots {
  right: 0;
  bottom: -8px;
  left: 0;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  transform: none;
  overflow: visible;
}

.main-nav.is-drawer {
  position: fixed;
  z-index: 3;
  top: calc(var(--header-wing-top) + var(--header-wing-height) + 8px);
  right: auto;
  left: var(--header-wing-edge);
  display: block;
  width: min(320px, calc(100vw - 32px));
  max-height: calc(100svh - 96px);
  padding: 14px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 24px;
  background: rgba(22, 17, 19, 0.96);
  color: #fff;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(-14px, -8px, 0) scale(0.975);
  transform-origin: top left;
  backdrop-filter: blur(24px) saturate(135%);
  transition: opacity 0.24s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.34s;
}

.main-nav.is-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: 0s;
}

html[data-theme="light"] .main-nav.is-drawer {
  border-color: rgba(130, 24, 18, 0.14);
  background: rgba(252, 251, 250, 0.97);
  color: var(--ink);
  box-shadow: 0 26px 70px rgba(35, 31, 32, 0.2);
}

.main-nav.is-drawer .main-nav__drawer-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 8px;
  padding: 4px 4px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

html[data-theme="light"] .main-nav.is-drawer .main-nav__drawer-head {
  border-color: rgba(130, 24, 18, 0.12);
}

.main-nav__drawer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  font-family: var(--brand);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.main-nav__drawer-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.main-nav.is-drawer .main-nav__list {
  display: grid;
  align-items: stretch;
  justify-content: stretch;
  gap: 4px;
  width: 100%;
}

.main-nav.is-drawer .main-nav__list > li {
  width: 100%;
}

.main-nav.is-drawer .main-nav__list > li > a,
.main-nav.is-drawer .main-nav__list > li > button,
.main-nav.is-drawer .nav-replay--drawer .replay-intro {
  position: relative;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  color: inherit;
  font-size: 0.82rem;
  text-align: left;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.24s ease;
}

.main-nav.is-drawer .main-nav__list > li > a:hover,
.main-nav.is-drawer .main-nav__list > li > a:focus-visible,
.main-nav.is-drawer .main-nav__list > li > button:hover,
.main-nav.is-drawer .main-nav__list > li > button:focus-visible {
  background: transparent;
  transform: none;
}

.main-nav.is-drawer .nav-replay--drawer .replay-intro:hover,
.main-nav.is-drawer .nav-replay--drawer .replay-intro:focus-visible {
  background: rgba(227, 32, 24, 0.1);
  transform: translateX(3px);
}

.main-nav.is-drawer .main-nav__list > li > a.is-current,
.main-nav.is-drawer .main-nav__dropdown.is-current-group > button,
.main-nav.is-drawer .main-nav__dropdown.is-open > button {
  background: transparent;
}

.main-nav.is-drawer .main-nav__list > li > a::after,
.main-nav.is-drawer .main-nav__list > li > button::after {
  display: none;
  content: none;
}

.main-nav.is-drawer .main-nav__label .nav-dots {
  bottom: -10px;
}

.main-nav.is-drawer .main-nav__dropdown:hover > .main-submenu,
.main-nav.is-drawer .main-nav__dropdown:focus-within > .main-submenu {
  opacity: 0;
  visibility: hidden;
}

.main-nav.is-drawer .main-nav__dropdown.is-open > .main-submenu {
  display: block;
  opacity: 1;
  visibility: visible;
}

.main-nav.is-drawer .main-submenu,
.main-nav.is-drawer .main-nav__dropdown:hover > .main-submenu,
.main-nav.is-drawer .main-nav__dropdown:focus-within > .main-submenu,
.main-nav.is-drawer .main-nav__dropdown.is-open > .main-submenu {
  position: static;
  width: auto;
  min-width: 0;
  padding: 2px 0 7px 14px !important;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  backdrop-filter: none;
}

.main-nav.is-drawer .main-submenu {
  display: none;
}

.main-nav.is-drawer .main-submenu a {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  color: inherit;
  font-size: 0.77rem;
}

.main-nav.is-drawer .main-submenu a:hover,
.main-nav.is-drawer .main-submenu a:focus-visible {
  background: rgba(227, 32, 24, 0.1);
  color: inherit;
}

.main-nav.is-drawer .main-submenu a.is-current {
  background: var(--red-deep);
  color: #fff;
}

.main-nav.is-drawer .nav-replay--drawer {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.main-nav.is-drawer .nav-replay--drawer .replay-intro {
  justify-content: center;
  gap: 10px;
  width: auto;
  padding-inline: 18px;
}

html[data-theme="light"] .main-nav.is-drawer .nav-replay--drawer {
  border-color: rgba(130, 24, 18, 0.12);
}

@media (max-width: 1180px) {
  .refonte-header {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle--full {
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  .header-compact-controls .menu-toggle--compact,
  .header-compact-controls .theme-toggle--compact {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .main-nav.is-drawer {
    width: min(320px, calc(100vw - 32px));
    max-height: calc(100svh - 80px);
    border-radius: 20px;
  }

  .refonte-header > .brand-link {
    max-width: min(48vw, 210px);
  }

  .refonte-header > .header-actions {
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav.is-drawer,
  .nav-drawer-backdrop,
  .header-compact-controls .menu-toggle--compact,
  .header-compact-controls .theme-toggle--compact {
    transition-duration: 0.001ms !important;
  }
}

/* Accueil : accès directs et repères d'impact, alignés sur la grille commune. */
.home-pathways-impact {
  display: grid;
  justify-items: center;
  gap: var(--grid-gap);
}

.home-pathways__panel,
.home-impact__panel {
  position: relative;
  width: min(var(--layout-max), 100%);
  margin-inline: auto;
  padding: var(--frame-padding);
  overflow: hidden;
  border-radius: var(--radius-frame);
}

.home-pathways__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: 32px;
}

.home-pathways__header h2,
.home-impact__intro h2 {
  margin: 12px 0 0;
  font-size: clamp(2.15rem, 5vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.home-pathways__header > p,
.home-impact__intro > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
}

.home-pathways__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.home-pathway-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: 24px;
  min-height: 250px;
  padding: 28px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.home-pathway-card:hover,
.home-pathway-card:focus-visible {
  border-color: rgba(130, 24, 18, 0.5);
  background: rgba(130, 24, 18, 0.08);
  color: var(--ink);
  transform: translateY(-4px);
}

.home-pathway-card__icon,
.home-pathway-card__arrow,
.home-impact__facts > div > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: var(--red-deep);
  color: #fff;
}

.home-pathway-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(130, 24, 18, 0.2);
  font-size: 1.55rem;
}

.home-pathway-card strong {
  align-self: center;
  max-width: 210px;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.3;
}

.home-pathway-card__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 0.95rem;
}

.home-impact__intro {
  max-width: 850px;
  margin-bottom: 32px;
}

.home-impact__intro h2 {
  font-size: clamp(2rem, 4.3vw, 3.9rem);
}

.home-impact__intro > p {
  max-width: 760px;
  margin-top: 16px;
}

.home-impact__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.home-impact__facts > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
}

.home-impact__facts > div > span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(130, 24, 18, 0.16);
  color: var(--red-deep);
  font-size: 1.2rem;
}

.home-impact__facts p,
.home-impact__facts strong,
.home-impact__facts small {
  display: block;
  margin: 0;
}

.home-impact__facts strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.home-impact__facts small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.home-impact__actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.home-pathways-impact .button--primary,
.safe-place-overview .button--primary {
  border-color: var(--red-deep);
  background: var(--red-deep);
}

.home-pathways-impact .button--primary:hover,
.home-pathways-impact .button--primary:focus-visible,
.safe-place-overview .button--primary:hover,
.safe-place-overview .button--primary:focus-visible {
  border-color: var(--red);
  background: var(--red);
}

html[data-theme="dark"] .home-impact__facts > div > span {
  background: rgba(227, 32, 24, 0.13);
  color: #fff;
}

/* Ma Safe Place : Echo, cadre de confiance et événements Discord. */
.page-content--safe-place .safe-place-overview {
  padding-bottom: var(--grid-gap);
}

.safe-place-overview__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  width: min(var(--layout-max), 100%);
  min-height: 500px;
  margin-inline: auto;
  padding: var(--frame-padding);
  overflow: hidden;
  border-radius: var(--radius-frame);
}

.safe-place-overview__copy {
  position: relative;
  z-index: 1;
}

.safe-place-overview__copy h1 {
  max-width: 760px;
  margin: 14px 0 22px;
  font-size: clamp(3rem, 6.4vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.safe-place-overview__copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.26rem);
  line-height: 1.65;
}

.safe-place-overview__copy .hero-actions {
  margin-top: 28px;
}

.safe-place-overview__echo {
  display: grid;
  place-items: center;
  min-width: 0;
}

.safe-place-overview__echo img {
  display: block;
  width: min(100%, 340px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(26, 8, 8, 0.2));
}

.page-content--safe-place .safe-place-trust {
  padding-top: 0;
  padding-bottom: var(--grid-gap);
}

.safe-place-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
  width: min(var(--layout-max), 100%);
  margin-inline: auto;
}

.safe-place-trust__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 18px;
  min-height: 190px;
  padding: 24px;
  border-radius: var(--radius-card);
}

.safe-place-trust__card > span,
.safe-place-event-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--red-deep);
  color: #fff;
  font-size: 1.2rem;
}

.safe-place-trust__card h2 {
  margin: 2px 0 8px;
  font-size: 1.12rem;
  line-height: 1.3;
}

.safe-place-trust__card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
}

.safe-place-trust__card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--red-deep);
  font-size: 0.85rem;
  font-weight: 700;
}

.safe-place-events[hidden] {
  display: none !important;
}

.page-content--safe-place .safe-place-events {
  padding-top: 0;
  padding-bottom: var(--grid-gap);
}

.safe-place-events__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.75fr);
  align-items: stretch;
  gap: 24px;
  width: min(var(--layout-max), 100%);
  margin-inline: auto;
  padding: var(--frame-padding);
  overflow: hidden;
  border-radius: var(--radius-frame);
}

.safe-place-events__intro h2 {
  margin: 12px 0 14px;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.04;
}

.safe-place-events__intro > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.safe-place-events__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.safe-place-event-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 14px;
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.safe-place-event-card:hover,
.safe-place-event-card:focus-visible {
  border-color: rgba(130, 24, 18, 0.5);
  background: rgba(130, 24, 18, 0.08);
  color: var(--ink);
  transform: translateY(-3px);
}

.safe-place-event-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 1rem;
}

.safe-place-event-card time,
.safe-place-event-card strong,
.safe-place-event-card small {
  display: block;
}

.safe-place-event-card time {
  color: var(--red-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.safe-place-event-card strong {
  margin-top: 6px;
  font-size: 1rem;
  line-height: 1.35;
}

.safe-place-event-card small {
  margin-top: 3px;
  color: var(--muted);
}

.safe-place-event-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

html[data-theme="dark"] .safe-place-trust__card a,
html[data-theme="dark"] .safe-place-event-card time {
  color: var(--red-vivid);
}

@media (max-width: 1040px) {
  .home-pathways__grid,
  .home-impact__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-impact__facts > div:last-child {
    grid-column: 1 / -1;
  }

  .safe-place-overview__panel {
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  }

  .safe-place-trust__grid,
  .safe-place-events__grid {
    grid-template-columns: 1fr;
  }

  .safe-place-trust__card {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .refonte-header {
    --header-full-opacity: 1 !important;
    --header-compact-opacity: 0 !important;
    --header-shell-opacity: 1 !important;
    --header-shell-scale: 1 !important;
    --header-full-shift: 0px !important;
  }

  .refonte-header .header-morph-wings,
  .refonte-header .header-compact-controls {
    display: none !important;
  }

  .refonte-header > .brand-link,
  .refonte-header > .header-actions {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .home-pathways__panel,
  .home-impact__panel,
  .safe-place-overview__panel,
  .safe-place-events__panel {
    padding: 24px 20px;
  }

  .home-pathways__header,
  .safe-place-events__panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-pathways__header {
    align-items: start;
    margin-bottom: 24px;
  }

  .home-pathways__header h2,
  .home-impact__intro h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .home-pathways__grid,
  .home-impact__facts,
  .safe-place-overview__panel,
  .safe-place-trust__grid,
  .safe-place-events__grid {
    grid-template-columns: 1fr;
  }

  .home-pathway-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto;
    justify-items: start;
    align-items: center;
    gap: 16px;
    min-height: 0;
    padding: 18px;
    text-align: left;
  }

  .home-pathway-card__icon {
    width: 56px;
    height: 56px;
    font-size: 1.15rem;
  }

  .home-pathway-card strong {
    max-width: none;
  }

  .home-impact__facts > div:last-child {
    grid-column: auto;
  }

  .safe-place-overview__panel {
    min-height: 0;
  }

  .safe-place-overview__copy h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .safe-place-overview__echo img {
    width: min(62vw, 220px);
  }

  .safe-place-trust__card,
  .safe-place-event-card {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 0;
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-pathway-card,
  .safe-place-event-card {
    transition-duration: 0.001ms !important;
  }
}

/* Prévention : point d'entrée, ressources du blog et aide plein écran. */

.prevention-guidance__panel {
  width: min(var(--layout-max), 100%);
  margin-inline: auto;
  padding: var(--frame-padding);
  border-radius: var(--radius-frame);
  overflow: hidden;
}

.prevention-guidance__header {
  max-width: 920px;
  margin-bottom: 34px;
}

.prevention-guidance__header h2 {
  max-width: 880px;
  margin: 12px 0 16px;
  font-size: clamp(2.45rem, 5.2vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.prevention-guidance__header > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.prevention-guidance__actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.prevention-guidance__actions > :is(a, button) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
  color: var(--ink);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.prevention-guidance__actions > :is(a, button):hover,
.prevention-guidance__actions > :is(a, button):focus-visible {
  border-color: rgba(130, 24, 18, 0.46);
  background: rgba(130, 24, 18, 0.08);
  color: var(--ink);
  transform: translateY(-3px);
}

.prevention-guidance__actions > :is(a, button) > span:first-child,
.prevention-guidance__3018 > span,
.prevention-resource-card > span,
.prevention-help-dialog__grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--red-deep);
  color: #fff;
  box-shadow: 0 12px 28px rgba(130, 24, 18, 0.2);
}

.prevention-guidance__actions strong {
  font-size: 0.98rem;
  line-height: 1.35;
}

.prevention-guidance__actions > :is(a, button) > span:first-child > i {
  font-size: 1.42rem;
}

.prevention-guidance__actions > :is(a, button) > i {
  color: var(--red-deep);
  font-size: 0.85rem;
}

.prevention-guidance__3018 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-top: var(--grid-gap);
  padding: 20px;
  border: 1px solid rgba(130, 24, 18, 0.42);
  border-radius: var(--radius-card);
  background: linear-gradient(100deg, rgba(130, 24, 18, 0.12), rgba(130, 24, 18, 0.05));
}

.prevention-guidance__3018 strong {
  display: block;
  font-size: 1.05rem;
}

.prevention-guidance__3018 p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.prevention-guidance__resources {
  margin-top: clamp(42px, 6vw, 72px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.prevention-guidance__resources[hidden] {
  display: none;
}

.prevention-guidance__resources > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.prevention-guidance__resources h3 {
  margin: 9px 0 0;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.prevention-guidance__resources > header > a,
.prevention-resource-card a,
.prevention-help-dialog__grid article a {
  color: var(--red-deep);
  font-weight: 750;
  text-decoration: none;
}

.prevention-guidance__resources > header > a:hover,
.prevention-guidance__resources > header > a:focus-visible,
.prevention-resource-card a:hover,
.prevention-resource-card a:focus-visible,
.prevention-help-dialog__grid article a:hover,
.prevention-help-dialog__grid article a:focus-visible {
  color: var(--red-vivid);
}

.prevention-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.prevention-resource-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
}

.prevention-resource-card h4 {
  margin: 1px 0 8px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.prevention-resource-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.prevention-resource-card a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  font-size: 0.86rem;
}

body.is-prevention-dialog-open {
  overflow: hidden;
}

.prevention-help-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.prevention-help-dialog::backdrop {
  background: rgba(8, 5, 6, 0.76);
  backdrop-filter: blur(12px);
}

.prevention-help-dialog__shell {
  min-height: 100%;
  background:
    radial-gradient(circle at 85% 10%, rgba(130, 24, 18, 0.11), transparent 34%),
    var(--page-background);
}

.prevention-help-dialog__shell > header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px, 4vw, 48px) max(var(--layout-gutter), calc((100vw - var(--layout-max)) / 2));
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page-background) 91%, transparent);
  backdrop-filter: blur(22px);
}

.prevention-help-dialog__shell > header > div {
  max-width: 840px;
}

.prevention-help-dialog__shell > header h2 {
  margin: 9px 0 12px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.prevention-help-dialog__shell > header p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.prevention-help-dialog__shell > header > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 1.05rem;
  cursor: pointer;
}

.prevention-help-dialog__body {
  width: min(var(--layout-max), calc(100% - (2 * var(--layout-gutter))));
  margin-inline: auto;
  padding: clamp(32px, 5vw, 64px) 0 80px;
}

.prevention-help-dialog__emergency {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 22px;
  border: 1px solid rgba(227, 32, 24, 0.52);
  border-radius: var(--radius-card);
  background: rgba(227, 32, 24, 0.08);
}

.prevention-help-dialog__emergency > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--red-vivid);
  color: #fff;
}

.prevention-help-dialog__emergency h3 {
  margin: 0 0 5px;
  font-size: 1.1rem;
}

.prevention-help-dialog__emergency p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.prevention-help-dialog__emergency > div:last-child,
.prevention-help-dialog__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prevention-help-dialog__emergency a,
.prevention-help-dialog__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--red-deep);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.prevention-help-dialog__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin-top: var(--grid-gap);
}

.prevention-help-dialog__grid article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--glass);
}

.prevention-help-dialog__grid h3 {
  margin: 1px 0 8px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.prevention-help-dialog__grid p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.prevention-help-dialog__tip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: var(--grid-gap);
  padding: 20px 22px;
  border-radius: var(--radius-card);
  background: var(--surface-soft);
  color: var(--muted);
}

.prevention-help-dialog__tip i {
  color: var(--red-deep);
}

.prevention-help-dialog__tip p {
  margin: 0;
}

.prevention-help-dialog__reflexes {
  margin-top: var(--grid-gap);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--glass);
}

.prevention-help-dialog__reflexes h3 {
  margin: 0 0 20px;
  font-size: 1.25rem;
}

.prevention-help-dialog__reflexes ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: reflex;
}

.prevention-help-dialog__reflexes li {
  position: relative;
  min-height: 112px;
  padding: 18px 18px 18px 60px;
  border-radius: 16px;
  background: var(--surface-soft);
  counter-increment: reflex;
}

.prevention-help-dialog__reflexes li::before {
  position: absolute;
  top: 17px;
  left: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red-deep);
  color: #fff;
  font-weight: 800;
  content: counter(reflex);
}

.prevention-help-dialog__reflexes strong,
.prevention-help-dialog__reflexes span {
  display: block;
}

.prevention-help-dialog__reflexes span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

html[data-theme="dark"] .prevention-guidance__actions > :is(a, button) > i,
html[data-theme="dark"] .prevention-guidance__resources > header > a,
html[data-theme="dark"] .prevention-resource-card a,
html[data-theme="dark"] .prevention-help-dialog__grid article a,
html[data-theme="dark"] .prevention-help-dialog__tip i {
  color: var(--red-vivid);
}

html[data-theme="dark"] .prevention-help-dialog__shell {
  background:
    radial-gradient(circle at 85% 10%, rgba(130, 24, 18, 0.2), transparent 34%),
    var(--page-background);
}

html[data-theme="dark"] .prevention-help-dialog__grid article .prevention-help-dialog__links a {
  color: #fff;
}

@media (max-width: 1040px) {
  .prevention-guidance__actions,
  .prevention-resource-grid,
  .prevention-help-dialog__reflexes ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prevention-help-dialog__emergency {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .prevention-help-dialog__emergency > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .prevention-guidance__panel {
    padding: 24px 20px;
  }

  .prevention-guidance__header h2 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .prevention-guidance__actions,
  .prevention-resource-grid,
  .prevention-help-dialog__grid,
  .prevention-help-dialog__reflexes ol {
    grid-template-columns: 1fr;
  }

  .prevention-guidance__actions > :is(a, button) {
    min-height: 0;
  }

  .prevention-guidance__3018 {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .prevention-guidance__3018 .button {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .prevention-guidance__resources > header {
    align-items: start;
    flex-direction: column;
  }

  .prevention-help-dialog__shell > header {
    padding: 22px 18px;
  }

  .prevention-help-dialog__shell > header h2 {
    font-size: clamp(2rem, 11vw, 3.25rem);
  }

  .prevention-help-dialog__shell > header > button {
    width: 46px;
    height: 46px;
  }

  .prevention-help-dialog__body {
    width: calc(100% - 32px);
    padding-top: 24px;
  }

  .prevention-help-dialog__emergency {
    grid-template-columns: 1fr;
  }

  .prevention-help-dialog__emergency > div:last-child {
    grid-column: auto;
  }

  .prevention-help-dialog__grid article {
    padding: 20px;
  }

  .prevention-help-dialog__reflexes {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .prevention-guidance__actions > :is(a, button) {
    transition-duration: 0.001ms !important;
  }
}

/* Intégrations éditoriales 2026-09 : ressource, orientation et media kit. */
.nojs-page-fallback {
  width: min(920px, calc(100% - 40px));
  margin: clamp(100px, 14vw, 180px) auto 60px;
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
}

.nojs-page-fallback h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 1;
}

.nojs-page-fallback p {
  color: var(--muted);
  line-height: 1.7;
}

.nojs-page-fallback nav {
  margin-top: 24px;
  line-height: 2;
}

.home-featured-resource__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(26px, 5vw, 64px);
  overflow: hidden;
}

.home-featured-resource__visual {
  display: grid;
  place-items: center;
  min-height: clamp(240px, 32vw, 430px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 6px);
  background: linear-gradient(145deg, rgba(170, 31, 23, 0.2), rgba(130, 24, 18, 0.06));
  overflow: hidden;
}

.home-featured-resource__visual > i {
  color: var(--red);
  font-size: clamp(3.5rem, 7vw, 7rem);
}

.home-featured-resource__visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.home-featured-resource__content h2 {
  max-width: 16ch;
  margin: 12px 0 18px;
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  line-height: 0.98;
}

.home-featured-resource__content > p:not(.eyebrow) {
  max-width: 64ch;
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.75;
}

.orientation-entry__panel {
  position: relative;
  width: min(var(--layout-max), 100%);
  margin-inline: auto;
  padding: clamp(28px, 5vw, 68px);
  overflow: hidden;
}

.orientation-entry__panel > header {
  max-width: 880px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.orientation-entry__panel > header h2 {
  margin: 10px 0 14px;
  font-size: clamp(2.6rem, 6vw, 6rem);
  line-height: 0.96;
}

.orientation-entry__panel > header > p:last-child {
  max-width: 66ch;
  color: var(--muted);
  line-height: 1.7;
}

.orientation-entry__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.orientation-entry-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-column: span 2;
  gap: 18px;
  align-items: center;
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--glass-strong) 84%, transparent);
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.orientation-entry-card:nth-child(n + 4) {
  grid-column: span 3;
}

.orientation-entry-card:hover,
.orientation-entry-card:focus-visible {
  border-color: color-mix(in srgb, var(--red) 54%, transparent);
  background: color-mix(in srgb, var(--red) 7%, var(--glass-strong));
  transform: translateY(-3px);
}

.orientation-entry-card > span:first-child {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  background: var(--red);
  color: #fff;
  font-size: 1.25rem;
}

.orientation-entry-card h3 {
  margin: 0 0 7px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.orientation-entry-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.5;
}

.orientation-entry-card > i {
  color: var(--red);
}

.media-kit {
  display: grid;
  gap: clamp(72px, 10vw, 150px);
  justify-items: center;
}

.media-logo-section,
.media-palette-section,
.media-type-section,
.media-language-section,
.media-downloads {
  width: min(var(--layout-max), 100%);
  margin-inline: auto;
}

.media-logo-section,
.media-type-section,
.media-language-group,
.media-downloads {
  position: relative;
  padding: clamp(28px, 5vw, 68px);
  overflow: hidden;
}

.media-logo-section > header,
.media-palette-section > header,
.media-type-section > header,
.media-language-section > header {
  max-width: 850px;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.media-kit h2 {
  margin: 10px 0 16px;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.98;
}

.media-kit :is(header, .media-downloads) > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.media-logo-previews {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
}

.media-logo-previews--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-logo-previews--1 {
  grid-template-columns: minmax(0, 1fr);
}

.media-logo-preview {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  margin: 0;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.media-logo-preview--light {
  background: #f5f5f5;
  color: #231f20;
}

.media-logo-preview--dark {
  background: #231f20;
  color: #f5f5f5;
}

.media-logo-preview img {
  width: 100%;
  max-height: 130px;
  margin: auto;
  object-fit: contain;
}

.media-logo-preview figcaption {
  margin-top: 22px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.media-logo-section .download-list,
.media-palette-section .download-list {
  margin-top: 24px;
}

.media-palette-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.media-color-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--glass);
  overflow: hidden;
}

.media-color-card__swatch {
  display: block;
  min-height: 190px;
  background: var(--swatch);
}

.media-color-card > div {
  padding: 22px;
}

.media-color-card h3 {
  margin: 0;
  font-size: 1.04rem;
}

.media-color-card > div > p {
  min-height: 42px;
  margin: 5px 0 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.media-color-card dl,
.media-color-card dl div {
  margin: 0;
}

.media-color-card dl div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  border-top: 1px solid var(--line);
}

.media-color-card dt {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.media-color-card dd {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
}

.media-copy-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.media-color-card .media-copy-button {
  position: relative;
  min-width: 44px;
  width: 44px;
  padding: 0;
}

.media-color-card .media-copy-button.is-copied::after {
  position: absolute;
  right: 50%;
  bottom: calc(100% + 8px);
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--glass);
  content: "Copié !";
  font-size: 0.68rem;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(50%);
}

.media-color-card .media-copy-button [data-copy-label] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.media-copy-button:hover,
.media-copy-button:focus-visible,
.media-copy-button.is-copied {
  border-color: var(--red);
  background: color-mix(in srgb, var(--red) 10%, transparent);
  color: var(--red);
}

.media-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.media-type-sample {
  min-height: 390px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--glass-strong) 84%, transparent);
}

.media-type-sample h3 {
  margin: 12px 0 42px;
  font-size: 1.15rem;
}

.media-type-sample > strong {
  display: block;
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 1.04;
}

.media-type-sample > p:not(.eyebrow),
.media-type-sample small {
  display: block;
  color: var(--muted);
  line-height: 1.75;
}

.media-type-sample--ethnocentric :is(strong, p:not(.eyebrow), small) {
  font-family: var(--brand);
}

.media-type-sample--ethnocentric > p:not(.eyebrow),
.media-type-sample--ethnocentric small {
  font-size: 0.78rem;
  line-height: 2;
}

.media-language-group > h3,
.media-projects > h3 {
  margin: 0 0 28px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.media-language-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.media-language-card {
  min-height: 100%;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--glass-strong) 82%, transparent);
}

.media-language-card > div {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.media-language-card .eyebrow {
  margin: 0;
}

.media-language-card > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.media-projects {
  margin-top: clamp(44px, 7vw, 88px);
}

.media-project-copy {
  padding: clamp(28px, 4vw, 52px) 0;
  border-top: 1px solid var(--line);
}

.media-project-copy > header {
  display: block;
  margin-bottom: 24px;
}

.media-project-copy > header h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
}

.media-downloads {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}

html[data-theme="dark"] .orientation-entry-card,
html[data-theme="dark"] .media-type-sample,
html[data-theme="dark"] .media-language-card {
  background: rgba(255, 255, 255, 0.025);
}

html[data-theme="dark"] .media-color-card {
  background: rgba(27, 23, 24, 0.92);
}

@media (max-width: 1120px) {
  .media-palette-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .media-language-grid {
    grid-template-columns: 1fr;
  }

  .media-language-card {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .home-featured-resource__panel,
  .media-downloads {
    grid-template-columns: 1fr;
  }

  .orientation-entry__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .orientation-entry-card,
  .orientation-entry-card:nth-child(n + 4) {
    grid-column: auto;
  }

  .orientation-entry-card:last-child {
    grid-column: 1 / -1;
  }

  .media-logo-previews,
  .media-type-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .home-featured-resource__visual {
    min-height: 220px;
  }

  .orientation-entry__panel,
  .media-logo-section,
  .media-type-section,
  .media-language-group,
  .media-downloads {
    padding: 24px 20px;
  }

  .orientation-entry__grid,
  .media-palette-grid {
    grid-template-columns: 1fr;
  }

  .orientation-entry-card,
  .orientation-entry-card:last-child {
    grid-column: auto;
    min-height: 0;
  }

  .media-color-card__swatch {
    min-height: 140px;
  }

  .media-logo-preview,
  .media-type-sample {
    min-height: 280px;
  }

  .media-language-card > div {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Recette responsive multi-device : capacités tactiles, viewports dynamiques et media kit. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.is-navigation-open,
body.is-media-brand-dialog-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

.main-nav.is-drawer {
  max-height: calc(100dvh - 96px - env(safe-area-inset-bottom));
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.download-list :is(a, button) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--red-deep);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

html[data-theme="dark"] .download-list :is(a, button) {
  background: rgba(255, 255, 255, 0.04);
}

.media-copy-button,
.media-color-card .media-copy-button {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
}

.media-copy-button::before,
.media-color-card .media-copy-button::before {
  position: absolute;
  inset: 4px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--glass);
  content: "";
  transition: border-color 160ms ease, background-color 160ms ease;
}

.media-copy-button > i {
  position: relative;
  z-index: 1;
}

.media-copy-button:is(:hover, :focus-visible, .is-copied)::before {
  border-color: var(--red);
  background: color-mix(in srgb, var(--red) 10%, var(--glass));
}

.media-color-card dl div {
  grid-template-columns: 34px minmax(0, 1fr) 44px;
}

.media-type-credits {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--body);
}

.media-type-credits div {
  display: grid;
  grid-template-columns: minmax(72px, auto) minmax(0, 1fr);
  gap: 12px;
}

.media-type-credits dt {
  color: var(--red-deep);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.media-type-credits dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.media-type-source {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--red-deep);
  font-size: 0.76rem;
  font-weight: 700;
}

.media-brand-dialog {
  width: min(1080px, calc(100% - 32px));
  max-width: none;
  max-height: min(900px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--page-background);
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(14, 8, 10, 0.34);
  overflow: hidden;
}

.media-brand-dialog::backdrop {
  background: rgba(8, 5, 6, 0.76);
  backdrop-filter: blur(12px);
}

.media-brand-dialog__panel {
  max-height: inherit;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.media-brand-dialog__header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(24px, 5vw, 52px) 24px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page-background) 92%, transparent);
  backdrop-filter: blur(20px);
}

.media-brand-dialog__header h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.media-brand-dialog__close {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--ink);
  cursor: pointer;
}

.media-brand-dialog__content {
  padding: clamp(24px, 5vw, 52px);
  padding-bottom: max(clamp(24px, 5vw, 52px), env(safe-area-inset-bottom));
}

.media-brand-dialog__lead {
  max-width: 72ch;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.media-brand-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.media-brand-rules article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--glass);
}

.media-brand-rules h3 {
  margin: 14px 0 7px;
  font-size: 1.05rem;
}

.media-brand-rules p,
.media-brand-dialog__contact p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.media-brand-rule-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: color-mix(in srgb, var(--red) 11%, transparent);
  color: var(--red-deep);
}

.media-brand-rule-icon.is-forbidden {
  background: var(--red-deep);
  color: #fff;
}

.media-brand-examples {
  margin-top: 42px;
}

.media-brand-examples > h3 {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.media-brand-examples__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.media-brand-examples figure {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass);
}

.media-brand-examples figure > div {
  display: grid;
  min-height: 150px;
  place-items: center;
  border-radius: 12px;
  background: #f5f5f5;
  overflow: hidden;
}

.media-brand-examples img {
  width: min(112px, 78%);
  height: 112px;
  object-fit: contain;
}

.media-brand-examples .is-stretched img {
  transform: scaleX(1.5);
}

.media-brand-examples .is-rotated img {
  transform: rotate(18deg) scale(0.9);
}

.media-brand-examples .is-recolored img {
  filter: hue-rotate(160deg) saturate(1.35);
}

.media-brand-examples figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.76rem;
  font-weight: 700;
}

.media-brand-examples .is-correct figcaption {
  color: #197348;
}

.media-brand-examples .is-incorrect figcaption {
  color: var(--red-deep);
}

.media-brand-dialog__contact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 32px;
  padding: 20px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--red) 8%, var(--glass));
}

.media-brand-dialog__contact > i {
  margin-top: 4px;
  color: var(--red-deep);
}

@media (max-width: 900px) {
  .media-brand-examples__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .refonte-header {
    top: max(10px, env(safe-area-inset-top));
  }

  .main-nav.is-drawer {
    top: calc(var(--header-wing-top) + var(--header-wing-height) + max(8px, env(safe-area-inset-top)));
    max-height: calc(100dvh - 88px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  .media-brand-dialog {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .media-brand-dialog__header {
    padding-top: max(20px, env(safe-area-inset-top));
  }

  .media-brand-rules {
    grid-template-columns: 1fr;
  }

  .media-type-credits div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (max-width: 480px) {
  .media-brand-examples__grid {
    grid-template-columns: 1fr;
  }

  .media-brand-dialog__header {
    padding-inline: 20px;
  }

  .media-brand-dialog__header h2 {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
  }

  .media-brand-dialog__content {
    padding-inline: 20px;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .main-nav.is-drawer {
    max-height: calc(100dvh - 76px - env(safe-area-inset-bottom));
  }

  .page-hero,
  .home-hero {
    min-height: auto;
  }
}

@media (pointer: coarse) {
  .refonte-header > .brand-link,
  .header-actions :is(a, button),
  .menu-toggle,
  .theme-toggle,
  .orientation-compass__points button,
  .prevention-resource-card a,
  .prevention-help-dialog__grid article a,
  .prevention-help-dialog__links a,
  .legal-nav a,
  .footer-column a,
  .footer-legal a,
  .footer-cookie-button,
  .team-card__links a {
    min-height: 44px;
  }

  .footer-column a,
  .footer-legal a {
    display: inline-flex;
    align-items: center;
  }

  .footer-socials a {
    width: 44px;
    height: 44px;
  }
}

@media (hover: none) {
  :is(.orientation-entry-card, .project-card, .action-card, .media-kit-index a):hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .media-brand-dialog *,
  .media-brand-dialog *::before,
  .media-brand-dialog *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orientation-entry-card,
  .media-copy-button {
    transition-duration: 0.001ms !important;
  }
}

/* Page Presse & Médias : lisibilité, cohérence des cadres et actions compactes. */
.media-kit-index {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.media-kit-index__intro {
  grid-column: 1 / -1;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-soft) 72%, transparent);
}

.media-kit-index__intro > div {
  min-width: 0;
}

.media-kit-index__intro .eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 5px;
}

.media-kit-index__intro .eyebrow::before {
  display: none;
  content: none;
}

.media-kit-index__intro p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.media-kit-index__intro > i {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--red-deep);
  color: #fff;
}

.media-kit-index a,
.media-kit-index a:nth-child(3) {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 92px;
  align-items: center;
  align-content: center;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
  text-align: left;
}

.media-kit-index a:last-child {
  border-right: 0;
}

.media-kit-index a strong {
  line-height: 1.3;
}

.media-kit-index a > i {
  color: var(--red-deep);
  font-size: 0.72rem;
  transition: transform 160ms ease;
}

.media-kit-index a:hover > i,
.media-kit-index a:focus-visible > i {
  transform: translateY(3px);
}

.media-logo-section > header,
.media-palette-section > header,
.media-type-section > header,
.media-language-section > header {
  width: 100%;
  max-width: none;
}

.media-logo-section > header > p:last-child,
.media-language-section > header > p:last-child,
.media-downloads > div:first-child > p:last-child {
  max-width: 90ch;
}

.media-copy-button,
.media-color-card .media-copy-button {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  font-size: 0.68rem;
}

.media-copy-button [data-copy-label] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.media-copy-button.is-copied::after,
.media-color-card .media-copy-button.is-copied::after {
  position: absolute;
  right: 50%;
  bottom: calc(100% + 8px);
  z-index: 4;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--glass);
  content: "Copié !";
  font-size: 0.68rem;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(50%);
}

.media-color-card dl div {
  grid-template-columns: 34px minmax(0, 1fr) 28px;
  gap: 7px;
  min-height: 44px;
}

.media-color-card dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

.media-type-sample {
  min-width: 0;
  overflow: hidden;
  container-type: inline-size;
}

.media-type-sample > strong {
  max-width: 100%;
  font-size: clamp(1.75rem, 9cqw, 4rem);
  overflow-wrap: anywhere;
}

.media-type-sample--ethnocentric > strong {
  font-size: clamp(1.65rem, 8cqw, 3.45rem);
}

.media-type-sample > p:not(.eyebrow),
.media-type-sample small {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.media-language-section {
  position: relative;
  padding: clamp(28px, 5vw, 68px);
  overflow: hidden;
}

.media-palette-section {
  position: relative;
  padding: clamp(28px, 5vw, 68px);
  overflow: hidden;
}

.media-language-group {
  padding: 0;
  overflow: visible;
}

.media-language-grid {
  grid-template-columns: 1fr;
}

.media-language-card {
  min-height: 0;
}

.media-language-card > div {
  margin-bottom: 14px;
}

.media-projects {
  margin-top: clamp(48px, 7vw, 84px);
}

.media-downloads {
  grid-template-columns: 1fr;
  align-items: start;
}

.media-downloads > div:first-child,
.media-downloads h2 {
  width: 100%;
  max-width: none;
}

.media-downloads .button-row {
  justify-content: flex-start;
  margin-top: 4px;
}

@media (min-width: 901px) {
  .media-logo-section h2,
  .media-palette-section h2,
  .media-type-section h2,
  .media-language-section h2,
  .media-downloads h2 {
    white-space: nowrap;
  }

  .media-logo-section h2 {
    font-size: clamp(2.5rem, 3.4vw, 3.7rem);
  }

  .media-palette-section h2,
  .media-type-section h2,
  .media-downloads h2 {
    font-size: clamp(2.35rem, 3.15vw, 3.35rem);
  }

  .media-language-section h2 {
    max-width: calc(100% - 32px);
    font-size: clamp(2.2rem, 3vw, 3.15rem);
  }
}

.header-actions .theme-toggle--full {
  width: 40px;
  min-width: 40px;
  padding: 0;
}

@media (max-width: 1120px) {
  .media-kit-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .media-kit-index a,
  .media-kit-index a:nth-child(3) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .media-kit-index a:nth-of-type(3) {
    border-right: 0;
  }

  .media-kit-index a:nth-last-of-type(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 767px) {
  .media-kit-index {
    grid-template-columns: 1fr;
  }

  .media-kit-index__intro {
    padding: 20px;
  }

  .media-kit-index a,
  .media-kit-index a:nth-child(3),
  .media-kit-index a:nth-last-of-type(-n + 2) {
    min-height: 72px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .media-kit-index a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  .media-palette-section,
  .media-language-section {
    padding: 24px 20px;
  }

  .media-language-card > div {
    flex-direction: row;
    align-items: center;
  }

  .media-downloads .button-row {
    align-items: stretch;
  }

  .media-downloads .button {
    width: 100%;
  }
}

/* La cible reste tactile (44 px) tout en gardant un cercle visuel compact. */
.media-copy-button,
.media-color-card .media-copy-button {
  flex-basis: 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
}

.media-color-card dl div {
  grid-template-columns: 34px minmax(0, 1fr) 44px;
}

/* Garde-fous tactiles chargés après les variantes de page. */
.footer-socials a {
  width: 44px;
  height: 44px;
}

.header-actions :is(.theme-toggle--full, .menu-toggle--full),
.main-nav__dropdown > button,
.orientation-compass__points button {
  min-height: 44px;
}

.header-actions :is(.theme-toggle--full, .menu-toggle--full) {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
}

/* Audit d’accessibilité */
.page-content--accessibility {
  --a11y-green: #176b43;
  --a11y-amber: #8a5600;
}

[data-theme="dark"] .page-content--accessibility {
  --a11y-green: #71d4a2;
  --a11y-amber: #ffc76a;
}

.a11y-overview,
.a11y-scope,
.a11y-method,
.a11y-issues,
.a11y-results,
.a11y-roadmap,
.a11y-wcag,
.a11y-transparency {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.a11y-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(210px, 0.55fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(28px, 5vw, 72px);
}

.a11y-overview__intro h2,
.a11y-scope h2,
.a11y-method h2,
.a11y-roadmap h2,
.a11y-wcag h2,
.a11y-transparency h2 {
  max-width: 18ch;
  margin: 12px 0 18px;
  font-size: clamp(1.8rem, 4vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.a11y-overview__intro > p:last-child,
.a11y-scope > p,
.a11y-method > p,
.a11y-roadmap > div > p,
.a11y-wcag > div:first-child > p,
.a11y-transparency > div:first-child > p {
  max-width: 72ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
}

.a11y-rate {
  display: grid;
  place-content: center;
  min-height: 210px;
  padding: 24px;
  border-radius: 28px;
  color: #f5f5f5;
  text-align: center;
  background: linear-gradient(145deg, #821812, #231f20);
}

.a11y-rate strong {
  display: block;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
}

.a11y-rate strong span {
  font-size: 0.38em;
}

.a11y-rate p {
  margin: 12px 0 0;
  font-weight: 700;
}

.a11y-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.a11y-metrics article {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-soft);
}

.a11y-metrics strong,
.a11y-metrics span {
  display: block;
}

.a11y-metrics strong {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.a11y-metrics span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.a11y-rate-note {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 16px 18px;
  border-left: 4px solid var(--red-deep);
  border-radius: 10px;
  background: var(--surface-soft);
  line-height: 1.55;
}

.a11y-rate-note i {
  margin-top: 4px;
  color: var(--red-deep);
}

.a11y-two-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(18px, 3vw, 32px);
}

.a11y-scope,
.a11y-method,
.a11y-issues,
.a11y-results,
.a11y-roadmap,
.a11y-wcag,
.a11y-transparency {
  padding: clamp(24px, 4vw, 56px);
}

.a11y-scope ul,
.a11y-method ul,
.a11y-roadmap ol {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.a11y-scope li {
  display: grid;
  grid-template-columns: minmax(130px, 0.55fr) minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.a11y-scope li a {
  color: var(--red-deep);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

[data-theme="dark"] .a11y-scope li a {
  color: #ff9b95;
}

.a11y-scope li span {
  color: var(--muted);
}

.a11y-method > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.a11y-method section {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-soft);
}

.a11y-method h3 {
  margin: 0;
  font-size: 1.05rem;
}

.a11y-method li {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.a11y-method li i {
  flex: 0 0 18px;
  margin-top: 3px;
  color: var(--red-deep);
}

.a11y-issues {
  display: grid;
  gap: 0;
  margin-top: 28px;
}

.a11y-issue {
  display: grid;
  grid-template-columns: minmax(120px, 0.25fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 42px);
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.a11y-issue:first-child {
  padding-top: 0;
  border-top: 0;
}

.a11y-issue:last-child {
  padding-bottom: 0;
}

.a11y-issue > div:first-child {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
}

.a11y-issue > div:first-child span {
  flex-basis: 100%;
  color: var(--red-deep);
  font-size: 2.2rem;
  font-weight: 800;
}

.a11y-issue > div:first-child :is(strong, small) {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--surface-soft);
  font-size: 0.75rem;
  font-style: normal;
}

.a11y-issue h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.a11y-issue p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.a11y-issue__recommendation {
  display: flex;
  gap: 10px;
  color: var(--ink) !important;
  font-weight: 650;
}

.a11y-issue__recommendation i {
  margin-top: 4px;
  color: var(--red-deep);
}

.a11y-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.a11y-filters button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.a11y-filters button span {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  min-height: 26px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--surface-soft);
  font-size: 0.78rem;
}

.a11y-filters button[aria-pressed="true"] {
  color: #f5f5f5;
  border-color: var(--red-deep);
  background: var(--red-deep);
}

.a11y-filters button[aria-pressed="true"] span {
  color: var(--red-deep);
  background: #f5f5f5;
}

.a11y-themes {
  display: grid;
  gap: 12px;
}

.a11y-theme {
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-soft);
}

.a11y-theme summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 16px;
  min-height: 74px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}

.a11y-theme summary::-webkit-details-marker {
  display: none;
}

.a11y-theme summary small,
.a11y-theme summary h3 {
  display: block;
}

.a11y-theme summary small {
  color: var(--red-deep);
  font-weight: 800;
  text-transform: uppercase;
}

.a11y-theme summary h3 {
  margin: 3px 0 0;
  font-size: 1.18rem;
}

.a11y-theme__counts {
  color: var(--muted);
  font-size: 0.88rem;
}

.a11y-theme summary > i {
  transition: transform 0.2s ease;
}

.a11y-theme[open] summary > i {
  transform: rotate(180deg);
}

.a11y-theme__criteria {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 12px 12px;
}

.a11y-criterion {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass-strong);
}

.a11y-criterion[hidden],
.a11y-theme[hidden] {
  display: none;
}

.a11y-criterion header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.a11y-criterion__id {
  color: var(--red-deep);
  font-weight: 900;
}

.a11y-status {
  padding: 5px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.a11y-status--conforme {
  color: var(--a11y-green);
}

.a11y-status--non_conforme {
  color: var(--red-deep);
}

.a11y-status--a_verifier {
  color: var(--a11y-amber);
}

.a11y-status--non_applicable {
  color: var(--muted);
}

.a11y-criterion h4 {
  margin: 15px 0;
  font-size: 1rem;
  line-height: 1.45;
}

.a11y-criterion dl,
.a11y-criterion dl div {
  margin: 0;
}

.a11y-criterion dl div {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.a11y-criterion dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.a11y-criterion dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.a11y-roadmap {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 72px);
}

.a11y-roadmap ol {
  counter-reset: none;
}

.a11y-roadmap li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.a11y-roadmap li:first-child {
  border-top: 0;
}

.a11y-roadmap li > span {
  color: var(--red-deep);
  font-weight: 900;
}

.a11y-roadmap h3,
.a11y-roadmap p {
  margin: 0;
}

.a11y-roadmap h3 {
  font-size: 1rem;
}

.a11y-roadmap p,
.a11y-roadmap small {
  color: var(--muted);
  font-size: 0.78rem;
}

.a11y-roadmap li > strong,
.a11y-roadmap li > em {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--surface-soft);
  font-size: 0.72rem;
  font-style: normal;
}

.a11y-roadmap li > em {
  grid-column: 2 / -1;
  justify-self: start;
}

.a11y-wcag__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.a11y-wcag__grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}

.a11y-wcag__grid header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--red-deep);
  font-size: 0.75rem;
  font-weight: 800;
}

.a11y-wcag__grid h3 {
  margin: 16px 0 8px;
  font-size: 1rem;
}

.a11y-wcag__grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.a11y-future {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}

.a11y-future > i {
  flex: 0 0 22px;
  margin-top: 4px;
  color: var(--red-deep);
}

.a11y-future h3,
.a11y-future p {
  margin: 0;
}

.a11y-future p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.a11y-future a {
  display: inline-block;
  margin-top: 10px;
  color: var(--red-deep);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.a11y-transparency {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
}

.a11y-references {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
}

.a11y-references a {
  color: var(--red-deep);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

[data-theme="dark"] .a11y-references a,
[data-theme="dark"] .a11y-criterion__id,
[data-theme="dark"] .a11y-theme summary small,
[data-theme="dark"] .a11y-issue > div:first-child span {
  color: #ff9b95;
}

@media (max-width: 980px) {
  .a11y-two-columns,
  .a11y-roadmap {
    grid-template-columns: 1fr;
  }

  .a11y-wcag__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .a11y-transparency {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .a11y-overview,
  .a11y-method > div,
  .a11y-theme__criteria,
  .a11y-wcag__grid {
    grid-template-columns: 1fr;
  }

  .a11y-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .a11y-rate {
    min-height: 170px;
  }

  .a11y-theme summary {
    grid-template-columns: minmax(0, 1fr) 20px;
  }

  .a11y-theme__counts {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .a11y-theme summary > i {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 520px) {
  .a11y-overview,
  .a11y-scope,
  .a11y-method,
  .a11y-issues,
  .a11y-results,
  .a11y-roadmap,
  .a11y-wcag,
  .a11y-transparency {
    padding: 22px 18px;
  }

  .a11y-scope li,
  .a11y-issue {
    grid-template-columns: 1fr;
  }

  .a11y-roadmap li {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .a11y-roadmap li > small {
    display: none;
  }

  .a11y-roadmap li > em {
    grid-column: 2 / -1;
  }

  .a11y-transparency .button-row,
  .a11y-transparency .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .a11y-theme summary > i {
    transition: none;
  }
}

/* En-tête : centrage optique et commandes desktop uniformes. */
.refonte-header > .brand-link {
  min-height: 44px;
  font-family: var(--font);
  font-weight: 600;
  line-height: 1;
}

.refonte-header > .main-nav:not(.is-drawer) {
  display: flex;
  min-height: 44px;
  align-items: center;
}

.refonte-header > .main-nav:not(.is-drawer) .main-nav__list {
  width: 100%;
  min-height: 44px;
}

.refonte-header > .main-nav:not(.is-drawer) .main-nav__list > li > a,
.refonte-header > .main-nav:not(.is-drawer) .main-nav__list > li > button {
  min-height: 44px;
  padding-block: 0;
  line-height: 1.2;
}

.refonte-header > .header-actions {
  min-height: 44px;
}

.header-actions :is(.header-replay-intro, .theme-toggle--full, .menu-toggle--full) {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 11px;
}

.header-actions .menu-toggle--full > span {
  display: none;
}
