/*
  La Fabrique du Commun — base vitrine statique
  Police : le site est prêt pour Nourd. Ajoutez vos fichiers dans assets/fonts/
  puis activez les @font-face ci-dessous si vous disposez de la licence.
*/

/*
@font-face {
  font-family: "Nourd";
  src: url("assets/fonts/Nourd-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nourd";
  src: url("assets/fonts/Nourd-Bold.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
*/

:root {
  --font-main: "Nourd", "Avenir Next", "Montserrat", Arial, sans-serif;
  --navy: #0A345D;
  --navy-2: #0a2d55;
  --green: #08a66d;
  --green-dark: #078d5e;
  --orange: #f47a17;
  --orange-dark: #df6508;
  --yellow: #f6c70d;
  --cream: #fbf7ee;
  --paper: #fffdf8;
  --beige: #fbf5ec;
  --soft-grey: #edf1f3;
  --soft-green: #edf8f2;
  --soft-orange: #fff1e4;
  --text: #183050;
  --muted: #50657d;
  --shadow: 0 12px 28px rgba(6, 31, 66, .06);
  --shadow-hover: 0 16px 34px rgba(6, 31, 66, .10);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max: 1180px;

  /* Réglages faciles */
  --body-ref-size: 16px;
  --hero-text-size: var(--body-ref-size);
  --association-text-size: var(--body-ref-size);
  --intention-text-size: var(--body-ref-size);
  --hero-image-width: 97%;
  --hero-image-max: 720px;
  --section-title-size: 31px;
  --logo-header-width: 300px;
  --logo-header-tablet-width: 250px;
  --logo-header-mobile-width: 205px;
  --menu-weight: 500;
  --feature-subtext-weight: 500;
  --benefits-text-weight: 500;
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

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

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

p {
  line-height: 1.55;
}

.container {
  width: min(var(--max), calc(100% - 56px));
  margin-inline: auto;
}

.section-gap {
  margin-top: 54px;
}

.site-header {
  width: 100%;
  background: var(--paper);
  z-index: 20;
}

.header-inner {
  min-height: 146px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  width: var(--logo-header-width);
  flex: 0 0 auto;
}

.brand img {
  width: var(--logo-header-width);
  height: auto;
  border-radius: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.35vw, 36px);
  color: var(--navy);
  font-size: 14px;
  font-weight: var(--menu-weight);
  letter-spacing: .01em;
  white-space: nowrap;
}

.main-nav a,
.footer-links a {
  position: relative;
  transition: color 240ms ease;
}

.main-nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
  opacity: .8;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--green);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  transform: scaleX(1);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  padding: 12px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  width: 20px;
  background: #fff;
  border-radius: 3px;
  transition: transform 240ms ease, opacity 240ms ease;
}

.burger span + span {
  margin-top: 5px;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.two-cols {
  display: grid;
  grid-template-columns: .96fr 1.54fr;
  gap: 58px;
  align-items: center;
}

.hero-inner.two-cols {
  grid-template-columns: 435px minmax(0, 1fr);
  gap: 64px;
}

.hero {
  margin-top: 36px;
}

.hero-copy {
  min-width: 0;
}

.yellow-mark {
  width: 45px;
  height: 5px;
  border-radius: 999px;
  background: var(--yellow);
  display: inline-block;
  margin-bottom: 19px;
}

.hero h1 {
  color: var(--navy);
  font-size: clamp(42px, 3.7vw, 52px);
  line-height: .98;
  letter-spacing: .015em;
  font-weight: 900;
}

.hero-title .title-line {
  display: block;
  color: inherit;
  white-space: nowrap;
}

.hero-title .accent {
  color: var(--green);
}

.hero p {
  margin-top: 27px;
  color: var(--navy);
  font-size: var(--hero-text-size);
  font-weight: 400;
  max-width: 395px;
  text-align: justify;
}

.hero-highlight {
  color: var(--orange);
  font-weight: 900;
}

/* Correctif : saut de ligne mobile après l’accroche orange du hero */
.hero-mobile-break {
  display: none;
}

@media (max-width: 880px) {
  .hero-highlight {
    display: block;
    margin-bottom: 4px;
  }

  .hero-mobile-break {
    display: none;
  }
}

.hero-visual {
  width: var(--hero-image-width);
  max-width: var(--hero-image-max);
  justify-self: end;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 2730 / 1536;
  object-fit: cover;
  border-radius: 19px;
  box-shadow: 0 8px 22px rgba(6, 31, 66, .06);
}

.association-card {
  background: var(--beige);
  border-radius: var(--radius-lg);
  padding: 27px 38px 24px;
  display: grid;
  grid-template-columns: .92fr 1.05fr;
  gap: 54px;
  align-items: center;
  box-shadow: 0 4px 18px rgba(6, 31, 66, .025);
}

.eyebrow,
.mini-title {
  color: var(--green);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .065em;
  font-size: 17px;
  line-height: 1.1;
}

.association-card h2,
.intention h2,
.actions h2,
.join-copy h2 {
  color: var(--navy);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: .012em;
  font-size: var(--section-title-size);
}
.association-card h2 {
  margin-top: 10px;
  font-size: var(--section-title-size);
}
.association-copy > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--navy);
  font-size: var(--association-text-size);
  font-weight: 400;
  text-align: justify;
}

.association-copy blockquote {
  margin-top: 21px;
  color: var(--orange);
  font-weight: 900;
  font-style: italic;
  text-align: center;
  font-size: 16px;
}

.association-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 31px 42px;
}

.feature-item {
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: center;
  gap: 17px;
}

.feature-item h3 {
  color: var(--green);
  font-weight: 900;
  font-size: 17px;
  line-height: .95;
  letter-spacing: .02em;
}

.feature-item p {
  color: var(--navy);
  font-weight: var(--feature-subtext-weight);
  font-size: 12.5px;
  line-height: 1.05;
  margin-top: 2px;
}

.feature-icon {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.round-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  border: 3px solid currentColor;
}

.round-icon svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.round-icon.green { color: var(--green); }
.round-icon.orange { color: var(--orange); }
.round-icon.navy { color: #526178; }
.round-icon.yellow { color: var(--yellow); }

.intention-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.intention-copy {
  padding-left: 19px;
}

.intention h2 {
  margin-top: 9px;
  font-size: var(--section-title-size);
}
.lead {
  font-weight: 900;
  margin-top: 13px;
  font-style: italic;
}

.orange-text {
  color: var(--orange);
}

.intention-copy p:not(.eyebrow):not(.lead),
.intention-side > p {
  color: var(--navy);
  font-size: var(--intention-text-size);
  font-weight: 400;
  margin-top: 28px;
  text-align: justify;
}

.intention-side {
  padding-bottom: 0;
  padding-top: 58px;
}

.pillars {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.pillars article {
  display: grid;
  place-items: center;
  gap: 12px;
}

.pillar-icon {
  width: 54px;
  height: 54px;
  color: var(--green);
}

.pillar-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pillar-icon.orange { color: var(--orange); }
.pillar-icon.yellow { color: #ffcb58; }
.pillar-icon.navy { color: #43536e; }

.pillars h3 {
  color: var(--navy);
  font-weight: 900;
  font-size: 15px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading .eyebrow {
  font-size: 18px;
}

.actions h2 {
  max-width: 760px;
  margin: 7px auto 0;
  font-size: var(--section-title-size);
}
.action-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 42px;
}

.action-card {
  min-height: 236px;
  padding: 13px 13px 18px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: box-shadow 240ms ease, transform 240ms ease;
}

.action-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.action-card img {
  width: 100%;
  aspect-ratio: 1.72 / 1;
  object-fit: contain;
  border-radius: 14px;
  padding: 4px;
}

.action-card h3 {
  margin-top: 15px;
  color: var(--navy);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
}

.action-card p {
  margin: 10px auto 0;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 400;
  max-width: 210px;
}

.soft-orange { background: #fff1e7; }
.soft-grey { background: #eef2f4; }
.soft-green { background: #eef8f1; }
.soft-cream { background: #fff7e4; }

.contribute {
  margin-top: 70px;
}

.contribute-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.diagnostic-card {
  border-radius: var(--radius-md);
  padding: 26px 27px 25px;
  display: grid;
  grid-template-columns: 1.18fr .72fr;
  gap: 24px;
  align-items: center;
  transition: box-shadow 240ms ease, transform 240ms ease;
}

.diagnostic-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.diagnostic-card.residents {
  background: #eef1f4;
}

.diagnostic-card.youth {
  background: #fff6dc;
}

.diagnostic-card .mini-title {
  color: var(--orange);
  font-size: 13px;
  line-height: 1.15;
  margin-bottom: 9px;
}

.diagnostic-card h3 {
  color: var(--navy);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: .012em;
}

.diagnostic-card p:not(.mini-title) {
  color: var(--navy);
  margin-top: 15px;
  font-size: 13.5px;
  line-height: 1.43;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  transition: transform 230ms ease, box-shadow 230ms ease, background-color 230ms ease, color 230ms ease;
  box-shadow: 0 7px 15px rgba(6, 31, 66, .08);
  outline: none;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 11px 22px rgba(6, 31, 66, .14);
}

.btn:active {
  transform: translateY(0) scale(.995);
}

.btn:focus-visible {
  outline: 3px solid rgba(246, 199, 13, .55);
  outline-offset: 3px;
}

.btn-green {
  color: #fff;
  background: var(--green);
  margin-top: 20px;
}

.btn-green:hover,
.btn-green:focus-visible {
  background: var(--green-dark);
}

.btn-orange {
  color: #fff;
  background: var(--orange);
  margin-top: 20px;
}

.btn-orange:hover,
.btn-orange:focus-visible {
  background: var(--orange-dark);
}

.btn-navy {
  color: #fff;
  background: var(--navy);
  min-width: 183px;
  min-height: 47px;
  font-size: 15px;
}

.btn-navy:hover,
.btn-navy:focus-visible {
  background: var(--navy-2);
}

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

.benefits li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: center;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.18;
  font-weight: var(--benefits-text-weight);
}

.benefit-icon {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.small-icon {
  width: 29px;
  height: 29px;
  display: inline-block;
  position: relative;
  color: var(--green);
}

.small-icon::before,
.small-icon::after {
  content: "";
  position: absolute;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.small-icon::before {
  width: 18px;
  height: 18px;
  left: 4px;
  top: 2px;
}

.small-icon::after {
  width: 9px;
  height: 9px;
  right: 1px;
  bottom: 3px;
}

.small-icon.orange { color: var(--orange); }
.small-icon.navy { color: #5f7186; }
.small-icon.green { color: var(--green); }

.join-band {
  margin-top: 45px;
  margin-bottom: 32px;
}

.join-card {
  background: #edf1f4;
  border-radius: var(--radius-md);
  padding: 0;
  min-height: 112px;
  display: grid;
  grid-template-columns: 395px 1fr auto;
  gap: 28px;
  align-items: center;
  overflow: hidden;
}

.join-card img {
  height: 112px;
  width: 395px;
  object-fit: cover;
  border-radius: 16px;
}

.join-copy h2 {
  font-size: var(--section-title-size);
}

.join-copy p {
  color: var(--navy);
  margin-top: 7px;
  font-size: 14px;
  font-weight: 400;
}

.join-card .btn {
  margin-right: 26px;
}

.site-footer {
  background: var(--navy);
  color: #fff;
}

.footer-inner {
  min-height: 150px;
  display: grid;
  grid-template-columns: 300px 1fr auto;
  gap: 48px;
  align-items: center;
}

.footer-logo {
  width: 270px;
}

.footer-logo img {
  width: 270px;
  height: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, .86);
  white-space: nowrap;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.socials {
  display: flex;
  align-items: center;
  gap: 15px;
}

.socials a {
  width: 29px;
  height: 29px;
  color: #fff;
  opacity: .95;
  transition: transform 240ms ease, opacity 240ms ease;
}

.socials a:hover,
.socials a:focus-visible {
  transform: translateY(-1px);
  opacity: 1;
}

.socials svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.socials a:first-child svg,
.socials a:last-child svg {
  fill: currentColor;
  stroke: none;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1050px) {
  .header-inner {
    min-height: 124px;
  }

  .brand,
  .brand img {
    width: var(--logo-header-tablet-width);
  }

  .main-nav {
    gap: 18px;
    font-size: 12.5px;
  }

  .two-cols,
  .association-card,
  .intention-grid,
  .contribute-grid {
    gap: 34px;
  }

  .hero-inner.two-cols {
    grid-template-columns: 405px minmax(0, 1fr);
    gap: 36px;
  }

  .action-grid {
    gap: 24px;
  }

  .join-card {
    grid-template-columns: 300px 1fr;
  }

  .join-card img {
    width: 300px;
  }

  .join-card .btn {
    grid-column: 2;
    justify-self: start;
    margin: 0 0 22px 0;
  }

  .footer-inner {
    grid-template-columns: 260px 1fr auto;
  }

  .footer-logo,
  .footer-logo img {
    width: 220px;
  }
}

@media (max-width: 880px) {
  .container {
    width: min(100% - 38px, var(--max));
  }

  .section-gap {
    margin-top: 42px;
  }

  .header-inner {
    min-height: 98px;
  }

  .brand,
  .brand img {
    width: 158px;
  }

  .burger {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 88px;
    left: 19px;
    right: 19px;
    display: grid;
    gap: 0;
    padding: 10px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 240ms ease, transform 240ms ease, visibility 240ms ease;
    z-index: 40;
  }

  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 15px 16px;
    border-radius: 14px;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    background: var(--cream);
  }

  .main-nav a::after {
    display: none;
  }

  .two-cols,
  .association-card,
  .intention-grid,
  .contribute-grid,
  .hero-inner.two-cols {
    grid-template-columns: 1fr;
  }

  .hero {
    margin-top: 18px;
  }

  .hero-visual {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .hero p {
    max-width: none;
    text-align: left;
  }

  .association-card {
    padding: 28px 25px;
  }

  .association-features {
    grid-template-columns: 1fr 1fr;
    gap: 24px 22px;
  }

  .intention-copy {
    padding-left: 0;
  }

  .intention-copy p:not(.eyebrow):not(.lead),
  .intention-side > p,
  .association-copy > p:not(.eyebrow) {
    text-align: left;
  }

  .action-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .join-card {
    grid-template-columns: 1fr;
    padding-bottom: 25px;
    gap: 20px;
  }

  .join-card img {
    width: 100%;
    height: 180px;
    border-radius: 16px;
  }

  .join-copy,
  .join-card .btn {
    margin-inline: 24px;
  }

  .join-card .btn {
    grid-column: auto;
  }

  .footer-inner {
    min-height: auto;
    padding: 34px 0;
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 18px 28px;
  }
  .intention-side {
    padding-top: 0;
  }

  .intention-quote {
    margin-top: 21px;
    margin-bottom: 28px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .brand,
  .brand img {
    width: var(--logo-header-mobile-width);
  }

  .hero h1 {
    font-size: clamp(33px, 10.5vw, 42px);
  }

  .hero p,
  .association-copy > p:not(.eyebrow),
  .intention-copy p:not(.eyebrow):not(.lead),
  .intention-side > p,
  .join-copy p {
    font-size: 14.5px;
    line-height: 1.5;
  }

  .association-features,
  .action-grid,
  .diagnostic-card {
    grid-template-columns: 1fr;
  }

  .feature-item {
    gap: 14px;
  }

  .intention-grid {
    gap: 18px;
  }

  .intention-copy p:not(.eyebrow):not(.lead) {
    margin-top: 18px;
  }

  .intention-copy p:not(.eyebrow):not(.lead) + p {
    margin-top: 18px;
  }

  .intention-side {
    padding-top: 0;
  }

  .intention-side > p {
    margin-top: 0;
  }

  .pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 34px;
    margin-top: 34px;
  }

  .pillar-icon {
    width: 54px;
    height: 54px;
  }

  .pillars h3 {
    font-size: 17px;
  }

  .round-icon {
    width: 54px;
    height: 54px;
  }

  .round-icon svg {
    width: 34px;
    height: 34px;
  }

  .diagnostic-card {
    padding: 24px 22px;
  }

  .benefits {
    margin-top: 4px;
  }

  .join-copy,
  .join-card .btn {
    margin-inline: 20px;
  }

  .join-card .btn {
    width: calc(100% - 40px);
  }

  .footer-logo,
  .footer-logo img {
    width: 220px;
  }
}

/* ============ PAGES LÉGALES ============ */
.legal-hero {
  margin-top: 36px;
}

.legal-hero-inner {
  max-width: 940px;
  margin-inline: auto;
}

.legal-heading {
  max-width: 880px;
}

.legal-title {
  color: var(--navy);
  font-size: clamp(42px, 4.2vw, 58px);
  line-height: .98;
  letter-spacing: .015em;
  font-weight: 900;
  margin-top: 10px;
}

.legal-hero-inner.two-cols {
  grid-template-columns: minmax(0, .95fr) minmax(320px, .72fr);
  gap: 64px;
  align-items: center;
}


.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.legal-summary-card {
  background: var(--beige);
  border-radius: var(--radius-lg);
  padding: 34px 36px;
  box-shadow: 0 4px 18px rgba(6, 31, 66, .025);
}

.legal-summary-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.legal-summary-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}

.legal-summary-list span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
}

.legal-summary-list p {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}

.legal-section {
  margin-bottom: 62px;
}

.legal-card {
  max-width: 940px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 44px 52px;
  box-shadow: 0 10px 30px rgba(6, 31, 66, .06);
}

.legal-note {
  background: var(--soft-orange);
  border-left: 5px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 34px;
}

.legal-card h2 {
  color: var(--green);
  font-size: 23px;
  line-height: 1.15;
  font-weight: 900;
  margin-top: 34px;
  margin-bottom: 12px;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--navy);
  font-size: 16px;
  line-height: 1.68;
}

.legal-card p + p {
  margin-top: 12px;
}

.legal-card ul {
  margin: 12px 0 0 22px;
  padding: 0;
}

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

.legal-card a:not(.btn) {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-placeholder {
  color: var(--orange);
  font-weight: 800;
}

.legal-updated {
  margin-top: 34px;
  font-weight: 800;
  color: var(--muted) !important;
}

.legal-actions-bottom {
  margin-top: 36px;
}

@media (max-width: 880px) {
  .legal-hero-inner.two-cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-summary-card {
    padding: 28px 25px;
  }

  .legal-card {
    padding: 34px 28px;
  }
}

@media (max-width: 600px) {
  .legal-hero {
    margin-top: 18px;
  }

  .legal-title {
    font-size: clamp(34px, 10vw, 42px);
  }

  .legal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .legal-actions .btn {
    width: 100%;
  }

  .legal-card {
    padding: 28px 22px;
  }

  .legal-card h2 {
    font-size: 20px;
  }

  .legal-card p,
  .legal-card li,
  .legal-summary-list p {
    font-size: 14.5px;
  }
}

/* Correctif mobile : conserver la justification des paragraphes */
@media (max-width: 880px) {
  .hero p,
  .association-copy > p:not(.eyebrow),
  .intention-copy p:not(.eyebrow):not(.lead),
  .intention-side > p,
  .diagnostic-card p:not(.mini-title) {
    text-align: justify;
    text-align-last: left;
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
  }
}

/* Correctif mobile : placer la phrase d'accroche du hero sur sa propre ligne */
@media (max-width: 600px) {
  .hero-highlight {
    display: block;
    margin-bottom: 4px;
  }
}
