/* ==========================================================================
   RedSoc : DA ava6
   Traduction en CSS pur de ava6.ch/dotbase/resources/styles (SCSS).
   Les noms de classes sont ceux d'ava6 pour faciliter les allers-retours.

   Points de rupture (identiques à ava6) :
     desktop  ≥ 1080px   |  phablet < 1080px  |  mobile < 810px  |  mobileXS < 420px
   1rem = 10px (comme ava6), mis à l'échelle au-delà de 1366px.
   ========================================================================== */

/* ---------------------------------------------------------------- Polices (settings/_fonts.scss) */
@font-face { font-display: swap; font-family: Poppins; font-style: normal; font-weight: 700; src: url("../fonts/poppins/poppins-700.woff2") format("woff2"); }
@font-face { font-display: swap; font-family: Poppins; font-style: normal; font-weight: 600; src: url("../fonts/poppins/poppins-600.woff2") format("woff2"); }
@font-face { font-display: swap; font-family: Poppins; font-style: normal; font-weight: 500; src: url("../fonts/poppins/poppins-500.woff2") format("woff2"); }
@font-face { font-display: swap; font-family: "DM Sans"; font-style: normal; font-weight: 400; src: url("../fonts/dm-sans/dm-sans-regular.woff2") format("woff2"); }

/* ---------------------------------------------------------------- Variables (settings/*.scss) */
:root {
  font-size: 10px;

  /* Couleurs : _colors.scss */
  --c-primary: #33455c;
  --c-secondary: #da3337;
  --c-secondary-hover: #bd2c2f;
  --c-lightBlue: #f2f6fa;
  --c-blue: #33455c;
  --c-darkBlue: #202e3e;
  --c-red: #da3337;
  --c-black: #1d1d1d;
  --c-grey: #939393;
  --c-grey-text: #606060;
  --c-border: #e4e4e4; /* darken(#f5f5f5, 7%) */
  --c-line: #e9eef3;
  --c-white: #fff;

  /* Typo */
  --f-main: Poppins, sans-serif;
  --f-text: "DM Sans", sans-serif;

  /* Espacements : _sizes.scss */
  --g-side: 3rem;
  --g-default: 5rem;
  --g-section: 8rem;
  --g-section-mobile: 3rem;
  --g-linebreak: 2rem;

  /* Rayons : _radiuses.scss */
  --r-button: 0.5rem;
  --r-card: 0.7rem;
  --r-media: 1.6rem;

  /* Ombres récurrentes */
  --shadow-header: 0 2px 10px #0000001c;
  --shadow-icon: 0 2px 4px #202e3e2e;
  --shadow-btn: 0 3px 10px rgb(214 77 80 / 33%);

  /* Courbes : _eases.scss */
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-inout: cubic-bezier(0.645, 0.045, 0.355, 1);

  --header-h: 10rem;
}

@media (width >= 1366px) { :root { font-size: clamp(0.625rem, 0.542vw + 0.163rem, 0.813rem); } }
@media (width >= 1920px) { :root { font-size: 13px; } }
@media (width < 1080px) { :root { --header-h: 6.9rem; } }

/* ---------------------------------------------------------------- Reset léger */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 2rem); }

/* ---------------------------------------------------------------- Globals (base/_globals.scss) */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: proportional-nums;
  line-height: 1.2;
  min-height: 100%;
}

body {
  background: var(--c-white);
  color: var(--c-primary);
  font-family: var(--f-main);
  font-size: 1.8rem;
  font-weight: 300;
  text-rendering: optimizelegibility;
}

::selection { background-color: var(--c-secondary); color: var(--c-white); }

a { color: var(--c-primary); text-decoration: none; transition: color 0.3s ease; }
a:hover, a:focus-visible { color: var(--c-secondary-hover); }
:focus-visible { outline: 2px solid var(--c-secondary); outline-offset: 3px; }

.sr-only {
  border-width: 0; clip: rect(0, 0, 0, 0); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px;
}
.sr-only:focus { clip: auto; height: auto; width: auto; margin: 0; padding: 1rem 2rem; z-index: 200; background: var(--c-white); top: 0; left: 0; }

.main { padding-top: var(--header-h); }
.u-red { color: var(--c-secondary); }
.u-center { text-align: center; display: flex; justify-content: center; }

/* ---------------------------------------------------------------- Typographie (base/_typography.scss) */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { font-weight: 700; margin-bottom: 1rem; margin-top: 1rem; }
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child { margin-top: 0; }

h1, .h1 { font-size: 4.3rem; line-height: 5.7rem; }
h2, .h2 { font-size: 3.1rem; line-height: 4.3rem; }
h3, .h3 { font-size: 2.2rem; line-height: 3.3rem; }
h4, .h4 { font-size: 2rem; line-height: 1.2; font-weight: 600; }
h5, .h5 { font-size: 1.6rem; line-height: 1.2; font-weight: 600; }
h6, .h6 { font-size: 1.6rem; }

@media (width < 810px) {
  h1, .h1 { font-size: 3rem; line-height: normal; }
  h2, .h2 { font-size: 2.5rem; line-height: normal; }
  h3, .h3 { font-size: 2rem; line-height: normal; }
}

main li, p { font-family: var(--f-text); font-weight: 400; font-size: 1.6rem; }
p, ol, ul, blockquote { line-height: 1.5; margin-bottom: var(--g-linebreak); }
p:last-child, ol:last-child, ul:last-child, blockquote:last-child { margin-bottom: 0; }
ul li { list-style-position: inside; }
strong, b { font-weight: 700; }

/* ---------------------------------------------------------------- Conteneurs (base/_container.scss) */
.block__inner,
.footer__inner {
  margin-inline: auto;
  padding-inline: var(--g-side);
}
@media (width >= 1080px) { .block__inner, .footer__inner { max-width: 120rem; } }
@media (width < 810px) { .block__inner, .footer__inner { padding-inline: var(--g-linebreak); } }

/* ---------------------------------------------------------------- Boutons (components/_buttons.scss) */
.myButton {
  cursor: pointer;
  display: inline-block;
  padding: 1.25rem 3rem;
  text-decoration: none;
  font-family: var(--f-main);
  font-weight: 600;
  font-size: 1.5rem;
  border-radius: var(--r-button);
  white-space: nowrap;
  transition: all 0.5s ease;
  border: none;
}
.myButton__inner { display: flex; align-items: center; line-height: normal; }
.myButton svg { margin-left: 1rem; transition: transform 0.3s ease; }
.myButton svg path { fill: currentcolor; }
.myButton--simple:hover svg { transform: translateX(0.8rem); }

.myButton--default { box-shadow: var(--shadow-btn); background-color: var(--c-secondary); }
.myButton--default:hover { background-color: var(--c-secondary-hover); }
.myButton--blue { background-color: var(--c-primary); }
.myButton--blue:hover { background-color: #222e3d; }
.myButton--white { background-color: var(--c-white); color: var(--c-primary); }
.myButton--white:hover { background-color: #ffffffb3; color: var(--c-primary); }
.myButton--outline { color: var(--c-white); box-shadow: inset 0 0 0 1px #fff9; }
.myButton--outline:hover { color: var(--c-white); box-shadow: inset 0 0 0 2px var(--c-white); }
.myButton--colorWhite, .myButton--colorWhite:hover { color: var(--c-white); }

/* ---------------------------------------------------------------- Header (components/_header.scss) */
.header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 100;
  background-color: var(--c-white);
  font-size: 1.3rem;
  box-shadow: var(--shadow-header);
}
.admin-bar .header { top: 32px; }
@media screen and (width <= 782px) { .admin-bar .header { top: 46px; } }

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--g-linebreak);
  margin-inline: auto;
  padding-inline: var(--g-side);
  min-height: var(--header-h);
}
@media (width >= 1080px) { .header__inner { max-width: 160rem; } }
@media (width < 810px) { .header__inner { gap: 1rem; padding-inline: 2rem; } }

.header li { list-style: none; }
.header__logoWrapper { display: flex; align-items: center; gap: 2rem; }

.header__logo { display: flex; align-items: center; gap: 1rem; color: var(--c-primary); }
.header__logo:hover { color: var(--c-primary); }
.header__logo img { height: 5.2rem; width: auto; }
.header__wordmark { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.header__wordmarkMain { font-size: 2.9rem; font-weight: 700; letter-spacing: -0.04em; color: var(--c-primary); }
.header__wordmarkMain b { color: var(--c-secondary); }
.header__wordmarkSub { font-size: 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-primary); margin-top: 0.3rem; }
@media (width < 1080px) { .header__logo img { height: 4.4rem; } .header__wordmarkMain { font-size: 2.4rem; } }
@media (width < 420px) { .header__wordmarkSub { display: none; } }

/* Burger */
.header__burger { display: none; }
.header__burgerClose { display: none; }
.header__burger.open .header__burgerIcon { display: none; }
.header__burger.open .header__burgerClose { display: flex; }
@media (width < 1080px) {
  .header__burger { display: flex; align-items: center; justify-content: center; height: 40px; width: 40px; }
}

/* Menu niveau 1 */
.header__menu > nav { display: flex; }
.header__menu ul { display: flex; align-items: center; margin: 0; }
.header__menu ul > li { padding: 4rem 1rem; }
.header__menu ul > li > a {
  position: relative;
  color: var(--c-grey-text);
  font-weight: 500;
}
.header__menu ul > li > a:hover,
.header__menu ul > li.current-menu-item:not(.--mega) > a { color: var(--c-darkBlue); }
.header__menu ul > li > a::before {
  content: "";
  position: absolute; bottom: -1rem; left: 20%;
  height: 0.2rem; width: 0%;
  background-color: var(--c-secondary);
  transition: width 0.3s ease-in-out;
}
.header__menu ul > li:not(.--mega) > a:hover::before,
.header__menu ul > li.current-menu-item:not(.--mega) > a::before { width: 60%; }

/* Lien « pilule » (li.--mega dans ava6) */
.header__menu ul > li.--mega > a {
  display: inline-block;
  padding: 1rem 2rem;
  margin-right: 1.3rem;
  background: linear-gradient(0deg, #2a364e 0%, #3a4b6b 100%);
  border-radius: 2rem;
  color: var(--c-white);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.header__menu ul > li.--mega > a:hover { color: var(--c-white); }
.header__menu ul > li.--mega > a::before { display: none; }

@media (width < 1080px) {
  .header__menu ul {
    display: none;
    position: absolute; left: 0; top: 100%;
    height: calc(100vh - var(--header-h));
    width: 100vw;
    background-color: var(--c-lightBlue);
    flex-direction: column; align-items: stretch;
    padding: 2.4rem 2rem;
    z-index: 999;
  }
  .header__menu ul.open { display: flex; }
  .header__menu ul > li { padding: 1rem 0; width: 100%; }
  .header__menu ul > li > a { font-size: 1.8rem; display: block; }
  .header__menu ul > li > a::before { display: none; }
  .header__menu ul > li.--mega > a { display: inline-block; margin: 0 0 1rem; border-radius: 3rem; }
}

/* Boutons ronds Assistance / Contact */
.header__cta { display: flex; gap: 1.6rem; }
.header__ctaLink {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  text-align: center; color: var(--c-grey-text); white-space: nowrap; font-weight: 500;
}
.header__ctaLink:hover { color: var(--c-darkBlue); }
.header__svgWrapper {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  height: 40px; width: 40px;
  background-color: var(--c-primary);
  border-radius: 50%;
  box-shadow: var(--shadow-icon);
}
.header__svgWrapper--red { background-color: var(--c-secondary); }
.header__svgWrapper--light { background-color: #ffffff26; box-shadow: none; }
.header__svgWrapper::after {
  position: absolute; content: "";
  height: 48px; width: 48px; top: -4px; left: -4px;
  border: 2px solid var(--c-secondary); border-radius: 50%;
  opacity: 0; transform: scale(0.9);
  transition: all 0.5s ease;
}
.header__ctaLink:hover .header__svgWrapper::after { opacity: 1; transform: scale(1); }
@media (width < 1080px) { .header__ctaText { display: none; } }

/* ---------------------------------------------------------------- Blocs (blocks/_block.scss) */
.block { position: relative; overflow: hidden; }
.block > .block__inner { padding-top: var(--g-section); padding-bottom: var(--g-section); position: relative; z-index: 1; }
@media (width < 810px) { .block > .block__inner { padding-top: var(--g-section-mobile); padding-bottom: var(--g-section-mobile); } }

.block--bg-lightblue { background-color: var(--c-lightBlue); }
.block--bg-blue { background-color: var(--c-blue); color: var(--c-white); }
.block--bg-darkblue { background-color: var(--c-darkBlue); color: var(--c-white); }
.block--bg-red { background-color: var(--c-red); color: var(--c-white); }

/* ---------------------------------------------------------------- Titres de section (components/_heading.scss) */
.heading { position: relative; margin-bottom: 2.5rem; }
.heading__surtitle {
  font-family: var(--f-main);
  font-size: 1.3rem; font-weight: 600;
  letter-spacing: 0.2rem; text-transform: uppercase;
  opacity: 0.5; margin-bottom: 1rem;
}
.heading__title { font-weight: 700; max-width: 75rem; }
.heading__title span { color: var(--c-secondary); }
.block--bg-blue .heading__title span, .block--bg-red .heading__title span { color: inherit; }

/* ---------------------------------------------------------------- Hero (blocks/_blockHero.scss) */
.block--hero { background-color: var(--c-lightBlue); }
.block--hero > .block__inner { padding-top: 6rem; padding-bottom: 6rem; }

.blockHero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--g-linebreak);
  align-items: stretch;
}
.blockHero .heading { margin-bottom: 1.6rem; }
.blockHero .heading__title {
  font-size: 4.3rem; line-height: 1.06; max-width: none;
  color: var(--c-primary);
  overflow-wrap: break-word;
}
@media (width >= 1080px) { .blockHero .heading__title { font-size: 5.2rem; } }
.blockHero__textWrapper { grid-column: span 5; display: flex; flex-direction: column; justify-content: center; }
.blockHero__text { color: var(--c-primary); }
.blockHero__text p { font-size: 1.7rem; }
.blockHero__buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.4rem; }

.blockHero__imageWrapper { position: relative; grid-column: span 4; min-height: 42rem; overflow: hidden; border-radius: var(--r-media); }
.blockHero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.blockHero__imageWrapper::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(32 46 62 / 0%) 40%, rgb(32 46 62 / 70%) 100%); }
.blockHero__badge { position: absolute; left: 2.4rem; bottom: 2.4rem; width: 9rem; z-index: 1; filter: drop-shadow(0 4px 10px #0006); }

.blockHero__aside { grid-column: span 3; display: flex; flex-direction: column; gap: var(--g-linebreak); }
.blockHero__partners {
  flex: 1 1 0; min-height: 18rem;
  border-radius: var(--r-media);
  background-color: var(--c-primary);
  color: var(--c-white);
  overflow: hidden;
}
.blockHero__partners:hover { color: var(--c-white); }
.blockHero__partnerLink { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem; height: 100%; padding: 2.4rem; text-align: center; }
.blockHero__partnerImg { width: 100%; max-width: 20rem; border-radius: 0.8rem; background: var(--c-white); }
.blockHero__partnerCta { display: flex; align-items: center; font-size: 1.4rem; font-weight: 600; }
.blockHero__partnerCta svg { width: 1.8rem; height: 1.8rem; margin-left: 0.6rem; fill: currentcolor; transition: transform 0.3s ease; }
.blockHero__partners:hover .blockHero__partnerCta svg { transform: translateX(0.8rem); }

.blockHero__newsCard { position: relative; flex: 1 1 0; min-height: 18rem; overflow: hidden; border-radius: var(--r-media); color: var(--c-white); }
.blockHero__newsCard:hover { color: var(--c-white); }
.blockHero__newsCardMedia { position: absolute; inset: 0; }
.blockHero__newsCardMedia::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(32 46 62 / 0%) 20%, rgb(32 46 62 / 82%) 100%); }
.blockHero__newsImage { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.blockHero__newsCardInner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.6rem; height: 100%; padding: 2.4rem; }
.blockHero__newsDate { font-size: 1.3rem; opacity: 0.85; font-family: var(--f-text); }
.blockHero__newsTitle { font-size: 1.6rem; font-weight: 600; line-height: 1.3; }

@media (width < 1080px) {
  .blockHero__textWrapper { grid-column: 1 / -1; }
  .blockHero__imageWrapper { grid-column: span 7; }
  .blockHero__aside { grid-column: span 5; }
}
@media (width < 810px) {
  .blockHero { grid-template-columns: minmax(0, 1fr); }
  .blockHero__textWrapper, .blockHero__imageWrapper, .blockHero__aside { grid-column: 1 / -1; }
  .blockHero .heading__title { font-size: 3.4rem; }
  .blockHero__imageWrapper { display: none; }
  .blockHero__buttons { flex-direction: column; align-items: flex-start; }
  .blockHero__aside { flex-direction: column-reverse; }
}

/* ---------------------------------------------------------------- Texte d'emphase (blocks/_blockTextEmphasis.scss) */
.blockTextEmphasis__textWrapper { display: flex; justify-content: space-between; gap: var(--g-default); }
.blockTextEmphasis__textWrapper > * { flex: 1 1 0; }
.blockTextEmphasis__emphasis {
  font-family: var(--f-main);
  font-size: 2.5rem; font-weight: 700; line-height: 1.4;
  padding-left: 2.6rem; position: relative;
}
.blockTextEmphasis__emphasis::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background-color: var(--c-secondary); }
.blockTextEmphasis__buttons { margin-top: 2.4rem; }
.blockTextEmphasis__text--media { display: flex; justify-content: center; align-items: center; }
.blockTextEmphasis__text--media img { max-height: 22rem; width: auto; }
@media (width < 810px) { .blockTextEmphasis__textWrapper { flex-direction: column; gap: 2.5rem; } }

/* ---------------------------------------------------------------- Alliance AVA6 + EPDR = RedSoc (variante du slider partenaires) */
.blockPartners__heading { text-align: center; margin-bottom: 4rem; }
.blockPartners__heading .heading__title { margin-inline: auto; }
.blockPartners__list { display: flex; align-items: center; justify-content: center; gap: 4rem; flex-wrap: wrap; }
.blockPartners__logo { height: 8rem; width: auto; transition: transform 0.5s var(--ease-out); }
.blockPartners__logo--icon { height: 10rem; }
.blockPartners__op {
  display: flex; align-items: center; justify-content: center;
  width: 5.4rem; height: 5.4rem; border-radius: 50%;
  background: var(--c-white); box-shadow: 0 0 0 1px var(--c-border), var(--shadow-icon);
}
.blockPartners__op svg { fill: var(--c-secondary); }
@media (width < 810px) { .blockPartners__list { gap: 2rem; } .blockPartners__logo { height: 5rem; } .blockPartners__logo--icon { height: 6.4rem; } }

/* ---------------------------------------------------------------- Deux cartes (blocks/_blockTwoCards.scss) */
.blockTwoCards__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--g-linebreak); }
.blockTwoCards__card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 3rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  background-color: var(--c-white);
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}
.blockTwoCards__card--muted { background: var(--c-lightBlue); }
.blockTwoCards__card--highlight { border-color: var(--c-secondary); }
.blockTwoCards__icon {
  width: 6rem; height: 6rem; margin-bottom: 1.9rem; padding: 1rem;
  border-radius: 50%; background-color: var(--c-white); box-shadow: var(--shadow-icon);
}
.blockTwoCards__icon img { width: 100%; height: 100%; object-fit: contain; }
.blockTwoCards__title { color: var(--c-primary); font-size: 2.6rem; line-height: 1.3; }
.blockTwoCards__description { color: var(--c-grey-text); }
.blockTwoCards__description ul { margin-top: 2rem; list-style: none; }
.blockTwoCards__description li { position: relative; padding-left: 1.4rem; list-style: none; margin-bottom: 0.4rem; }
.blockTwoCards__description li::before { content: "•"; position: absolute; left: 0; color: var(--c-secondary); }
.blockTwoCards__description ul.--cons li::before { content: "×"; color: var(--c-grey); }
.blockTwoCards__footer { display: flex; align-items: center; flex-wrap: wrap; gap: var(--g-linebreak); width: 100%; margin-top: auto; padding-top: 2.4rem; }
.blockTwoCards__example { margin: 0; color: var(--c-grey-text); opacity: 0.8; }
@media (width < 810px) {
  .blockTwoCards__cards { grid-template-columns: 1fr; }
  .blockTwoCards__card { padding: 2rem; }
}

/* ---------------------------------------------------------------- Texte + média (blocks/_blockTextMedia.scss) */
.blockTextMedia { display: flex; justify-content: space-between; align-items: center; gap: var(--g-default); }
.blockTextMedia--imageLeft { flex-direction: row-reverse; }
.blockTextMedia__textWrapper { width: 50%; padding-block: 1.5rem; }
.blockTextMedia__media { width: 50%; }
.blockTextMedia__media--duo { display: flex; align-items: center; justify-content: center; gap: 3rem; }
.blockTextMedia__media--duo img { width: auto; max-width: calc(50% - 1.5rem); max-height: 24rem; object-fit: contain; }
.media--card { border-radius: var(--r-media); overflow: hidden; box-shadow: 0 10px 30px #202e3e1a; background: var(--c-white); }
.media--card img { width: 100%; height: auto; }
/* Jamais agrandie au-delà de sa taille réelle : une image trop petite reste nette au lieu de devenir floue. */
.media--card:not(.media--wide):not(.media--icon) { width: fit-content; max-width: 100%; margin-inline: auto; }
.media--card:not(.media--wide):not(.media--icon) img { width: auto; max-width: 100%; }
/* Icône vectorielle (SVG) : panneau bleu clair, icône centrée. */
.media--icon { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 11; padding: 4rem; background: var(--c-lightBlue); box-shadow: none; }
.media--icon img { width: min(100%, 30rem); height: auto; }
.media--wide img { max-height: 52rem; object-fit: cover; }
@media (width < 810px) {
  .blockTextMedia, .blockTextMedia--imageLeft { flex-direction: column-reverse; gap: var(--g-linebreak); }
  .blockTextMedia__textWrapper, .blockTextMedia__media { width: 100%; padding: 0; }
}

.checkList { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 2rem; }
.checkList li { list-style: none; position: relative; padding: 1.2rem 1.6rem 1.2rem 4.4rem; background: var(--c-lightBlue); border-radius: var(--r-card); font-weight: 600; font-family: var(--f-main); font-size: 1.5rem; }
.checkList li::before {
  content: ""; position: absolute; left: 1.4rem; top: 50%; translate: 0 -50%;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--c-secondary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='m9.5 16.2-4.2-4.2-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") center / 1.4rem no-repeat;
}
.checkList--defs { grid-template-columns: 1fr; }
.checkList--defs li { font-weight: 400; font-family: var(--f-text); background: none; padding: 0.4rem 0 0.4rem 3.4rem; }
.checkList--defs li::before { left: 0; top: 0.6rem; translate: none; }
.block--bg-lightblue .checkList li { background: var(--c-white); }
@media (width < 420px) { .checkList { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Chiffres clés (blocks/_blockKeyFigures.scss) */
.BlockKeyFigures__quote {
  max-width: 82rem; margin: 0 auto 6rem; text-align: center;
  border: 0; padding: 0;
}
.BlockKeyFigures__quote p { font-family: var(--f-main); font-size: 2.6rem; line-height: 1.4; font-weight: 500; }
.BlockKeyFigures__quote strong { color: var(--c-secondary); }
.BlockKeyFigures__quote cite { display: block; margin-top: 1.2rem; font-style: normal; font-size: 1.4rem; opacity: 0.6; font-family: var(--f-text); }

.BlockKeyFigures__list { display: flex; gap: var(--g-default); }
.BlockKeyFigures__item { flex: 1 1 0; text-align: center; }
.BlockKeyFigures__number { font-size: 7rem; line-height: 10rem; font-weight: 700; position: relative; white-space: nowrap; }
.BlockKeyFigures__number > span { display: block; }
.BlockKeyFigures__number > span:first-child { position: relative; z-index: 1; opacity: 0.5; }
.BlockKeyFigures__number > span:last-child {
  position: absolute; inset: 0 0 auto 0; z-index: 2;
  clip-path: polygon(0 0, 0 0, -25% 100%, 0 100%);
  transition: clip-path 1.5s var(--ease-inout);
}
.BlockKeyFigures__number > span:last-child.--visible { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.BlockKeyFigures__label { font-size: 1.6rem; font-family: var(--f-text); max-width: 30rem; margin-inline: auto; }
@media (width < 1080px) { .BlockKeyFigures__number { font-size: 5rem; line-height: 7rem; } }
@media (width < 810px) {
  .BlockKeyFigures__list { flex-wrap: wrap; justify-content: center; }
  .BlockKeyFigures__item { min-width: 45%; }
  .BlockKeyFigures__quote p { font-size: 2rem; }
}

/* ---------------------------------------------------------------- Réassurances (blocks/_blockReassurances.scss) */
.blockReassurances__heading { text-align: center; }
.blockReassurances__heading .heading__title { margin-inline: auto; }
.blockReassurances__reassurancesWrapper { display: grid; gap: var(--g-linebreak); margin-top: 2.4rem; }
.blockReassurances__reassurancesWrapper--3cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blockReassurances__reassurancesWrapper--4cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.blockReassurances__reassurance {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 3rem 2rem; border-radius: var(--r-card);
  background: var(--c-white);
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}
.blockReassurances__icon {
  display: flex; align-items: center; justify-content: center;
  width: 8rem; height: 8rem; padding: 1.2rem;
  border-radius: 50%; background: var(--c-white); box-shadow: var(--shadow-icon);
}
.blockReassurances__icon--lg { width: 11rem; height: 11rem; padding: 1rem; }
.blockReassurances__icon img { width: 100%; height: 100%; object-fit: contain; }
.blockReassurances__title { font-size: 1.8rem; font-weight: 600; margin-top: 1.8rem; margin-bottom: 0.6rem; }
.blockReassurances__text { color: var(--c-grey-text); }
@media (width < 1080px) { .blockReassurances__reassurancesWrapper--4cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width < 810px) {
  .blockReassurances__reassurancesWrapper--3cols,
  .blockReassurances__reassurancesWrapper--4cols { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- CTA (blocks/_blockCta.scss) */
.blockCta__ctaWrapper { display: flex; flex-direction: column; align-items: center; text-align: center; }
.blockCta__title { max-width: 82rem; color: currentcolor; }
.blockCta__description { margin-bottom: 0; }
.blockCta__buttons { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.block--cta::before, .block--cta::after {
  content: ""; position: absolute; border-radius: 50%; border: 2px solid #ffffff1f; pointer-events: none;
}
.block--cta::before { width: 46rem; height: 46rem; left: -16rem; top: -22rem; }
.block--cta::after { width: 30rem; height: 30rem; right: -8rem; bottom: -16rem; }

/* ---------------------------------------------------------------- Accordéon (blocks/_blockAccordion.scss) */
.blockAccordion { max-width: 90rem; }
.blockAccordion__item { padding: 2rem 0 1rem; border-bottom: 1px solid #dfe6ee; }
.blockAccordion__btn {
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  width: 100%; text-align: left;
  font-family: var(--f-main); font-size: 1.8rem; font-weight: 600; color: var(--c-primary);
  padding-bottom: 1rem;
}
.blockAccordion__btn::after { content: ">"; display: inline-block; transform: rotate(90deg); transition: transform 0.3s ease-in-out; color: var(--c-secondary); }
.blockAccordion__item.--active .blockAccordion__btn::after { transform: rotate(270deg); }
.blockAccordion__content { display: none; overflow: hidden; color: var(--c-grey-text); }
.blockAccordion__content.--animating { display: block; transition: height 0.5s var(--ease-out); }
.blockAccordion__item.--active .blockAccordion__content { display: block; }
.blockAccordion__content > :last-child { padding-bottom: 1.5rem; }
.blockAccordion__content p { margin-bottom: 1rem; }
.blockAccordion__content ul { list-style: none; }
.blockAccordion__content li { list-style: none; position: relative; padding-left: 1.4rem; margin-bottom: 0.6rem; }
.blockAccordion__content li::before { content: "•"; position: absolute; left: 0; color: var(--c-secondary); }

/* ---------------------------------------------------------------- Bandeau de page (components/_pageHeader.scss + _breadcrumb.scss) */
.pageHeader {
  background-color: var(--c-lightBlue);
  text-align: center;
  padding: 6rem 2rem 7rem;
  display: flex; flex-direction: column; align-items: center;
  position: relative; overflow: hidden;
}
.pageHeader::after {
  content: ""; position: absolute; right: -10rem; top: -10rem;
  width: 36rem; height: 36rem; border-radius: 50%;
  border: 2px solid #33455c12; pointer-events: none;
}
.pageHeader__content { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.pageHeader__imageWrapper {
  height: 8rem; width: 8rem; padding: 1rem; margin-bottom: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--c-white); border-radius: 50%; box-shadow: var(--shadow-icon);
}
.pageHeader__image { height: 100%; width: 100%; object-fit: contain; }
.pageHeader__title { max-width: 82rem; }
.pageHeader__title span { color: var(--c-secondary); }
.pageHeader__desc { max-width: 82rem; font-size: 1.8rem; line-height: 2.7rem; }
@media (width < 810px) { .pageHeader { padding: 3rem 2rem; } }

.breadcrumb { margin-bottom: 1.5rem; font-family: var(--f-text); }
.breadcrumb p { font-size: 1.3rem; }
.breadcrumb span { padding-inline: 0.5rem; }
.breadcrumb span:first-child { padding-left: 0; }
.breadcrumb .last { opacity: 0.7; }

/* ---------------------------------------------------------------- Formulaires (components/_forms.scss) */
.BlockForm { display: flex; flex-direction: column; align-items: center; }
.BlockForm__text { text-align: center; max-width: 82rem; margin-bottom: 2.4rem; }
.BlockForm__text .heading__title { margin-inline: auto; }

.form { font-family: var(--f-text); font-size: 1.6rem; color: var(--c-primary); width: 100%; display: flex; justify-content: center; }
.form__wrapper { width: 64rem; max-width: 100%; }
.contactLayout .form { justify-content: flex-start; }
.contactLayout .form__wrapper { width: 100%; }
.form p { position: relative; margin-bottom: 1.2rem; }
.form-2cols { display: flex; gap: var(--g-linebreak); }
.form-2cols > * { flex: 1 1 0; min-width: 0; }
@media (width < 810px) { .form-2cols { flex-direction: column; gap: 0; } }

.form span.label {
  color: #838383; position: absolute; top: 1.3rem; left: 1.1rem; z-index: 2;
  font-size: 1.6rem; pointer-events: none;
  transition: all 0.2s ease-in-out;
}
.form .focused span.label { color: var(--c-primary); font-size: 1.2rem; top: 0.5rem; }
.form .notEmpty span.label { font-size: 1.2rem; top: 0.5rem; }

.form input:not([type="checkbox"]),
.form textarea {
  width: 100%;
  padding: 2.4rem 1rem 0.6rem;
  font-family: var(--f-text); font-size: 1.6rem;
  border: 1px solid #ccc; border-radius: var(--r-button);
  color: var(--c-primary); background: var(--c-white);
}
.form textarea { resize: vertical; min-height: 14rem; }
.form input:not([type="checkbox"]):focus,
.form textarea:focus { border: 2px solid var(--c-primary); outline: none; padding: 2.3rem 0.9rem 0.5rem; }
.form-accept label { display: flex; align-items: flex-start; gap: 1rem; font-size: 1.4rem; color: var(--c-grey-text); line-height: 1.5; }
.form-accept input { width: 1.6rem; height: 1.6rem; margin-top: 0.3rem; accent-color: var(--c-secondary); flex: 0 0 auto; }
.form-accept a { text-decoration: underline; }
.form__hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }

.alert { padding: 1.4rem 1.8rem; border-radius: var(--r-button); margin-bottom: 2rem; font-size: 1.5rem; font-weight: 600; font-family: var(--f-main); }
.alert--ok { background: #e7f6ec; color: #1e6b3a; }
.alert--error { background: #fdeaea; color: var(--c-secondary-hover); }

/* ---------------------------------------------------------------- Page contact (pages/_contact.scss) */
.contactLayout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--g-default); align-items: start; }
.contactLayout__card {
  background: var(--c-primary); color: var(--c-white);
  border-radius: var(--r-media); padding: 4rem 3.2rem;
  position: sticky; top: calc(var(--header-h) + 2rem);
}
.contactLayout__logo { width: 8rem; margin-bottom: 2rem; }
.contactLayout__list { list-style: none; margin-top: 2rem; display: grid; gap: 2rem; }
.contactLayout__list li { list-style: none; display: flex; align-items: center; gap: 1.6rem; font-size: 1.6rem; }
.contactLayout__list a { color: var(--c-white); }
.contactLayout__list a:hover { color: var(--c-white); text-decoration: underline; text-underline-offset: 0.3rem; }
@media (width < 810px) { .contactLayout { grid-template-columns: 1fr; } .contactLayout__card { position: static; } }

/* ---------------------------------------------------------------- Contenu éditorial (pages légales) */
.block--article > .block__inner { max-width: 88rem; }
.entry-content { color: var(--c-black); }
.entry-content p, .entry-content li { color: #2c2c2c; }
.entry-content p:has(> strong:only-child) { margin-top: 3rem; }
.entry-content strong { color: var(--c-primary); }
.entry-content a { color: var(--c-secondary); text-decoration: underline; text-underline-offset: 0.2rem; }
.cardPost { padding: 2rem 0; border-bottom: 1px solid var(--c-line); }

/* ---------------------------------------------------------------- Footer (components/_footer.scss) */
.footer { background-color: var(--c-darkBlue); color: var(--c-white); }
.footer a { color: var(--c-white); }
.footer__inner { display: flex; justify-content: space-between; gap: var(--g-linebreak); }
.footer__main { padding: 8rem 0; }
.footer__logo { display: inline-flex; align-items: center; gap: 1.2rem; margin-bottom: 2rem; }
.footer__logo img { width: 6.4rem; }
.footer__wordmark { font-size: 3rem; font-weight: 700; letter-spacing: -0.04em; }
.footer__wordmark b { color: var(--c-secondary); }
.footer__address { font-size: 1.6rem; }
.footer__address p { margin: 0; font-size: 1.5rem; opacity: 0.85; }
.footer__address p + p { margin-top: 0.4rem; }
.footer__address a:hover { text-decoration: underline; text-underline-offset: 0.2rem; color: var(--c-white); }
.footer__contact { width: 30%; }
.footer__contact .myButton { margin-top: 2.4rem; }
.footer h5 { font-size: 1.6rem; margin-bottom: 2rem; }
.footer nav { flex: 1 1 0; min-width: 0; padding-left: 1rem; }
.footer nav ul { list-style: none; }
.footer nav ul li { list-style: none; width: fit-content; margin-bottom: 1rem; position: relative; }
.footer nav ul li::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0.2rem;
  background-color: var(--c-red);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s cubic-bezier(0, 0.01, 0, 1);
}
.footer nav ul li:hover::after { transform: scaleX(1); transform-origin: left; }
.footer nav ul li a { font-size: 1.6rem; padding: 0.3rem 0; opacity: 0.7; font-family: var(--f-text); transition: opacity 0.3s linear; display: inline-block; }
.footer nav ul li a:hover { opacity: 1; color: var(--c-white); }

.footer__sub { padding: 2rem 0; border-top: 1px solid var(--c-primary); }
.footer__sub div { font-size: 1.3rem; color: #fff9; font-family: var(--f-text); }
.footer__links { display: flex; gap: 3rem; align-items: center; }
.footer__sub a { font-size: 1.3rem; }
.footer__sub a:hover { color: var(--c-white); text-decoration: underline; text-underline-offset: 0.2rem; }

@media (width < 810px) {
  .footer__main { padding: 4rem 0; }
  .footer__inner { flex-direction: column; gap: 2.4rem; }
  .footer__contact { width: 100%; }
  .footer nav { padding-left: 0; border-top: 1px solid #ffffff1a; padding-top: 2rem; }
  .footer [data-footer="btn"] { display: flex; justify-content: space-between; cursor: pointer; margin-bottom: 0; }
  .footer [data-footer="btn"]::after { content: ">"; transform: rotate(90deg); transition: transform 0.3s ease-in-out; }
  .footer [data-footer="btn"].open::after { transform: rotate(270deg); }
  .footer [data-footer="content"] { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out; }
  .footer [data-footer="content"].open { max-height: 50rem; padding-top: 1.6rem; }
  .footer__inner--sub { align-items: center; text-align: center; gap: 1rem; }
}

/* ---------------------------------------------------------------- Apparition au scroll */
@media (prefers-reduced-motion: reduce) {
  .BlockKeyFigures__number > span:last-child { clip-path: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- Impression */
@media print { .header, .footer, .block--cta, .form { display: none; } .main { padding-top: 0; } }

/* ---------------------------------------------------------------- Champs laissés vides dans l'admin : rien n'est affiché */
.heading__surtitle:empty, .heading__title:empty, .heading:not(:has(:not(:empty))), .blockReassurances__text:empty, .blockTwoCards__example:empty, .blockTwoCards__description ul:empty, .contactLayout__card h2:empty, .contactLayout__card h3:empty, .contactLayout__form h2:empty { display: none; }
/* Chiffres clés : phrase complète sous le chiffre */
.BlockKeyFigures__label { max-width: 34rem; line-height: 1.5; }
h2:empty, h3:empty, p:empty { display: none; }
