/* ── Helvetica Neue — @font-face (client-provided, HelveticaNeue.ttc) ───────── */
@font-face {
  font-family: 'Helvetica Neue';
  src: url('../assets/fonts/HelveticaNeue-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-stretch: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('../assets/fonts/HelveticaNeue-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-stretch: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('../assets/fonts/HelveticaNeue-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('../assets/fonts/HelveticaNeue-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-stretch: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('../assets/fonts/HelveticaNeue-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('../assets/fonts/HelveticaNeue-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-stretch: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('../assets/fonts/HelveticaNeue-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-stretch: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('../assets/fonts/HelveticaNeue-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-stretch: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('../assets/fonts/HelveticaNeue-CondensedBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-stretch: condensed;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('../assets/fonts/HelveticaNeue-CondensedBlack.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-stretch: condensed;
  font-display: swap;
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #111;
  background: #fff;
}

/* Remove Gin's decorative arrow from the admin breadcrumb action. */
.gin-breadcrumb__link.gin-back-to-admin::before {
  content: none;
  display: none !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: var(--site-header-offset-top, 0);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 40;
  pointer-events: none;
}

.site-header__frame {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  display: grid;
}

.site-header__panel,
.site-header__brand {
  grid-area: 1 / 1;
  pointer-events: auto;
}

.site-header__panel {
  background: transparent;
  border-radius: 2px;
  box-shadow: none;
  min-height: 48px;
  transition:
    max-width 0.25s ease,
    min-height 0.25s ease,
    padding 0.25s ease,
    transform 0.25s ease,
    border-radius 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header__brand {
  position: absolute;
  top: -20px;
  left: 20px;
  z-index: 1;
  display: flex;
  align-items: center;
  transform: translateY(18px);
  transition:
    left 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.site-header__brand img {
  display: block;
  width: 256px;
  height: auto;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.45));
  transition: filter 0.25s ease;
}

body.has-scrolled .site-header__brand img {
  filter: none;
}

.site-header__nav {
  display: grid;
  grid-template-columns: minmax(140px, 300px) auto 1fr;
  align-items: center;
  gap: 100px;
  min-height: 48px;
  padding: 0;
  margin-top: 20px;
  transition:
    gap 0.28s ease,
    min-height 0.28s ease,
    padding 0.28s ease;
}

.site-header__nav-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-header__nav-group--primary {
  grid-column: 2;
  justify-self: start;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 4px;
  padding: 4px;
  min-height: 48px;
  min-width: max-content;
  width: max-content;
  margin-left: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.14),
    inset 0 0 0 1px rgba(17, 17, 17, 0.06);
}

.site-header__nav-group--primary.is-single-item {
  grid-template-columns: repeat(1, max-content);
}

.site-header__nav-group--primary.is-editor-hidden {
  display: none;
}

.site-header__nav-group--primary::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: var(--primary-pill-left, 4px);
  width: var(--primary-pill-width, calc(50% - 2px));
  border-radius: 999px;
  background: var(--seondary-color-bo, #f4e8bc);
  box-shadow: 0 6px 14px rgba(17, 17, 17, 0.08);
  transition:
    left 0.24s ease,
    width 0.24s ease,
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background-color 0.24s ease;
  z-index: 0;
}

.site-header__nav-group--primary.is-single-item::before {
  width: calc(100% - 2px);
}

.site-header__nav-group--primary.is-editor-hidden::before {
  display: none;
}

.site-header__nav-group--primary.is-assurance-vie::before {
  transform: none;
}

@media (min-width: 769px) {
  .site-header__nav-group--primary.is-editor-hidden {
    display: grid;
    visibility: hidden;
    pointer-events: none;
  }
}

.site-header__nav-group--anchors {
  grid-column: 3;
  justify-self: start;
  gap: 28px;
  margin-left: 12px;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.site-header__link {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #111;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.15;
  white-space: nowrap;
}

.site-header__nav-group--anchors .site-header__link {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
}

.layout-container.is-assurance-vie-page .site-header__nav-group--anchors .site-header__link {
  color: #fff;
}

.layout-container.is-legs-page .site-header__nav-group--anchors .site-header__link {
  color: #000;
}

.site-header__nav-group--primary .site-header__link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  min-height: 32px;
  border-radius: 999px;
  text-align: center;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.site-header__nav-group--primary .site-header__link.is-active {
  font-weight: 700;
}

.site-header__nav-group--primary .site-header__link:hover,
.site-header__nav-group--primary .site-header__link:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.site-header__nav-group--primary .site-header__link:not(.is-active):hover,
.site-header__nav-group--primary .site-header__link:not(.is-active):focus-visible {
  background: rgba(17, 17, 17, 0.04);
}

.site-header__nav-group--primary .site-header__link.is-active:hover,
.site-header__nav-group--primary .site-header__link.is-active:focus-visible {
  box-shadow: 0 6px 14px rgba(17, 17, 17, 0.08);
}

.site-header__link:hover {
  text-decoration: none;
}

.site-header__nav-group--anchors .site-header__link:hover,
.site-header__nav-group--anchors .site-header__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 1199px) {
  .site-header__nav-group.site-header__nav-group--anchors {
    padding-right: 40px;
  }
}

.layout-content {
  padding-top: 0;
}

.home-anchor-section {
  scroll-margin-top: 120px;
}

/* Paragraphs with an anchor get a scroll-margin so the header doesn't overlap */
[data-anchor-id] {
  scroll-margin-top: 120px;
}

/* ── Right-side padding for content strates when the form is sticky ────────── */
/*
 * When the sticky form is active, content sections that are NOT full-width
 * (i.e., not testimonies/slider) need right padding so their content is
 * visible beside the fixed form.
 * --hero-form-sticky-space is set by JS to (viewport width − form left edge).
 */

@media (min-width: 769px) {
  body.form-is-sticky .paragraph--type--image-texte,
  body.form-is-sticky .paragraph--type--rich-text,
  body.form-is-sticky .paragraph--type--amounts,
  body.form-is-sticky .paragraph--type--questions,
  body.form-is-sticky .paragraph--type--title-button {
    padding-right: var(--hero-form-sticky-space, 490px);
    box-sizing: border-box;
  }
}

/*
 * The desktop hero is isolated so its background can sit behind its content.
 * That also creates a stacking context, which would keep the fixed form and
 * appointment card below the following full-width strates while scrolling.
 * Raise the whole hero context only while the form is fixed.
 */
@media (min-width: 901px) {
  body.form-is-sticky .paragraph--type--hero {
    z-index: 30;
  }
}

body.toolbar-fixed {
  --site-header-offset-top: 6px;
}

body.toolbar-fixed.toolbar-horizontal.toolbar-tray-open {
  --site-header-offset-top: 43px;
}

body.toolbar-fixed.toolbar-vertical.toolbar-tray-open {
  --site-header-offset-top: 6px;
}

@media (min-width: 769px) {
  .gin-secondary-toolbar.gin-secondary-toolbar--frontend {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    max-height: 53px;
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .toolbar-id--toolbar-icon-admin-toolbar-tools-help,
  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .home-toolbar-tab {
    display: none !important;
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .contextual-toolbar-tab,
  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .contextual-toolbar-tab.hidden {
    display: none !important;
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend #toolbar-administration-secondary,
  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .toolbar-bar {
    background: transparent;
    box-shadow: none;
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .gin-breadcrumb-wrapper {
    display: block;
    flex: 0 0 auto;
    margin: 0;
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .region-breadcrumb,
  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .gin-breadcrumb,
  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .gin-breadcrumb__list,
  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .gin-breadcrumb__item {
    margin: 0;
    padding: 0;
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .gin-breadcrumb__list {
    list-style: none;
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .gin-back-to-admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(242, 10, 0, 0.24);
    border-radius: 999px;
    background: linear-gradient(180deg, #f20a00, #d90900);
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(242, 10, 0, 0.2);
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .gin-back-to-admin::after {
    content: "Modifier le contenu";
    font-size: 11px;
    letter-spacing: 0.01em;
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .gin-back-to-admin::before {
    display: none;
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .gin-back-to-admin .placeholder {
    display: none;
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend #toolbar-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-height: 34px;
    padding: 0;
    flex: 0 0 auto;
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend #toolbar-administration-secondary {
    margin-left: 20px;
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend #toolbar-bar > .toolbar-tab {
    margin: 0;
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend #toolbar-bar > .toolbar-tab > .toolbar-item {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 2px solid black;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #1d1d1b;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(29, 29, 27, 0.08);
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend #toolbar-bar > .toolbar-tab > .toolbar-item::before {
    display: none;
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend #toolbar-bar > .toolbar-tab > .toolbar-item:hover,
  .gin-secondary-toolbar.gin-secondary-toolbar--frontend #toolbar-bar > .toolbar-tab > .toolbar-item:focus-visible {
    background: #fff;
    border-color: rgba(242, 10, 0, 0.24);
    box-shadow: 0 8px 20px rgba(29, 29, 27, 0.1);
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .user-menu > .toolbar-item {
    padding-right: 16px;
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .user-menu {
    position: relative;
    margin-bottom: -10px;
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .user-menu .toolbar-tray {
    top: calc(100% + 2px);
    right: 0;
    left: auto;
    min-width: 220px;
    border: 1px solid rgba(29, 29, 27, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 36px rgba(29, 29, 27, 0.14);
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .user-menu .toolbar-menu {
    margin: 0;
    padding: 8px;
    list-style: none;
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .user-menu .toolbar-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #1d1d1b;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
  }

  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .user-menu .toolbar-menu a:hover,
  .gin-secondary-toolbar.gin-secondary-toolbar--frontend .user-menu .toolbar-menu a:focus-visible {
    background: rgba(242, 10, 0, 0.08);
  }
}

@media (max-width: 768px) {
  #toolbar-administration,
  #toolbar-administration-secondary,
  .gin-secondary-toolbar.gin-secondary-toolbar--frontend,
  .toolbar-bar,
  .toolbar-tray {
    display: none !important;
  }

  body.toolbar-fixed,
  body.toolbar-fixed.toolbar-horizontal.toolbar-tray-open,
  body.toolbar-fixed.toolbar-vertical.toolbar-tray-open {
    --site-header-offset-top: 0px;
    padding-top: 0 !important;
  }
}

/* for theming readability, to remove later */

.paragraph{
  position: relative;
  margin: 50px 0;
}

.paragraph--type--hero {
  margin-top: 0;
}


.flex-wrapper{
  display: flex;
  gap: 20px;
}

/* quick css */

.container{
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  display: block;
  padding: 0 24px;
  box-sizing: border-box;
}

img{
  max-width: 100%;
}

.btn {
  background-color: #000;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  line-height: 23px;
  font-weight: 600;
  border: none;
  border-radius: 2px;
  padding: 15px 24px;
  cursor: pointer;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.paragraph--type--hero{
  --hero-bg: url("../assets/hero/legs/hero-390.jpg");
  min-height: var(--hero-desktop-stable-height, 420px);
  margin-top: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  display: flex;
  align-items: stretch;
  width: 100vw;
  max-width: 100vw;
  padding: 0;
  box-sizing: border-box;
}

.hero-layout {
  width: 100%;
  min-height: var(--hero-desktop-stable-height, 420px);
  display: grid;
  position: relative;
  grid-template-columns: minmax(240px, 1fr) clamp(220px, 22vw, 295px) 440px;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  padding: 0;
  box-sizing: border-box;
}

/* Static responsive hero artwork. The element dimensions and layout remain
 * controlled by the rules below and by hero-webform.js. */
.layout-container.is-assurance-vie-page .paragraph--type--hero {
  --hero-bg: url("../assets/hero/assurance-vie/hero-390.jpg");
}

@media (min-width: 900px) {
  .layout-container.is-legs-page .paragraph--type--hero {
    --hero-bg: url("../assets/hero/legs/hero-900.jpg");
  }

  .layout-container.is-assurance-vie-page .paragraph--type--hero {
    --hero-bg: url("../assets/hero/assurance-vie/hero-900.jpg");
  }
}

@media (min-width: 1200px) {
  .layout-container.is-legs-page .paragraph--type--hero {
    --hero-bg: url("../assets/hero/legs/hero-1200.jpg");
  }

  .layout-container.is-assurance-vie-page .paragraph--type--hero {
    --hero-bg: url("../assets/hero/assurance-vie/hero-1200.jpg");
  }
}

@media (min-width: 1400px) {
  .layout-container.is-legs-page .paragraph--type--hero {
    --hero-bg: url("../assets/hero/legs/hero-1440.jpg");
  }

  .layout-container.is-assurance-vie-page .paragraph--type--hero {
    --hero-bg: url("../assets/hero/assurance-vie/hero-1440.jpg");
  }
}

@media (min-width: 1900px) {
  .layout-container.is-legs-page .paragraph--type--hero {
    --hero-bg: url("../assets/hero/legs/hero-1900.jpg");
  }

  .layout-container.is-assurance-vie-page .paragraph--type--hero {
    --hero-bg: url("../assets/hero/assurance-vie/hero-1900.jpg");
  }
}

/* Use the optimized AVIF artwork when supported, with JPG fallback for
 * Firefox versions or environments without AVIF decoding support. */
@supports (background-image: image-set(url("hero.avif") type("image/avif"))) {
  .paragraph--type--hero {
    --hero-bg: image-set(
      url("../assets/hero/legs/hero-390.avif") type("image/avif"),
      url("../assets/hero/legs/hero-390.jpg") type("image/jpeg")
    );
  }

  .layout-container.is-assurance-vie-page .paragraph--type--hero {
    --hero-bg: image-set(
      url("../assets/hero/assurance-vie/hero-390.avif") type("image/avif"),
      url("../assets/hero/assurance-vie/hero-390.jpg") type("image/jpeg")
    );
  }

  @media (min-width: 900px) {
    .layout-container.is-legs-page .paragraph--type--hero {
      --hero-bg: image-set(
        url("../assets/hero/legs/hero-900.avif") type("image/avif"),
        url("../assets/hero/legs/hero-900.jpg") type("image/jpeg")
      );
    }

    .layout-container.is-assurance-vie-page .paragraph--type--hero {
      --hero-bg: image-set(
        url("../assets/hero/assurance-vie/hero-900.avif") type("image/avif"),
        url("../assets/hero/assurance-vie/hero-900.jpg") type("image/jpeg")
      );
    }
  }

  @media (min-width: 1200px) {
    .layout-container.is-legs-page .paragraph--type--hero {
      --hero-bg: image-set(
        url("../assets/hero/legs/hero-1200.avif") type("image/avif"),
        url("../assets/hero/legs/hero-1200.jpg") type("image/jpeg")
      );
    }

    .layout-container.is-assurance-vie-page .paragraph--type--hero {
      --hero-bg: image-set(
        url("../assets/hero/assurance-vie/hero-1200.avif") type("image/avif"),
        url("../assets/hero/assurance-vie/hero-1200.jpg") type("image/jpeg")
      );
    }
  }

  @media (min-width: 1400px) {
    .layout-container.is-legs-page .paragraph--type--hero {
      --hero-bg: image-set(
        url("../assets/hero/legs/hero-1440.avif") type("image/avif"),
        url("../assets/hero/legs/hero-1440.jpg") type("image/jpeg")
      );
    }

    .layout-container.is-assurance-vie-page .paragraph--type--hero {
      --hero-bg: image-set(
        url("../assets/hero/assurance-vie/hero-1440.avif") type("image/avif"),
        url("../assets/hero/assurance-vie/hero-1440.jpg") type("image/jpeg")
      );
    }
  }

  @media (min-width: 1900px) {
    .layout-container.is-legs-page .paragraph--type--hero {
      --hero-bg: image-set(
        url("../assets/hero/legs/hero-1900.avif") type("image/avif"),
        url("../assets/hero/legs/hero-1900.jpg") type("image/jpeg")
      );
    }

    .layout-container.is-assurance-vie-page .paragraph--type--hero {
      --hero-bg: image-set(
        url("../assets/hero/assurance-vie/hero-1900.avif") type("image/avif"),
        url("../assets/hero/assurance-vie/hero-1900.jpg") type("image/jpeg")
      );
    }
  }
}

/* Some Firefox environments accept image-set() but fail to decode these AVIF
 * files without falling back to the second candidate. Use the JPG artwork
 * explicitly there so the hero remains visible. */
@supports (-moz-appearance: none) {
  .paragraph--type--hero {
    --hero-bg: url("../assets/hero/legs/hero-390.jpg");
  }

  .layout-container.is-assurance-vie-page .paragraph--type--hero {
    --hero-bg: url("../assets/hero/assurance-vie/hero-390.jpg");
  }

  @media (min-width: 900px) {
    .layout-container.is-legs-page .paragraph--type--hero {
      --hero-bg: url("../assets/hero/legs/hero-900.jpg");
    }

    .layout-container.is-assurance-vie-page .paragraph--type--hero {
      --hero-bg: url("../assets/hero/assurance-vie/hero-900.jpg");
    }
  }

  @media (min-width: 1200px) {
    .layout-container.is-legs-page .paragraph--type--hero {
      --hero-bg: url("../assets/hero/legs/hero-1200.jpg");
    }

    .layout-container.is-assurance-vie-page .paragraph--type--hero {
      --hero-bg: url("../assets/hero/assurance-vie/hero-1200.jpg");
    }
  }

  @media (min-width: 1400px) {
    .layout-container.is-legs-page .paragraph--type--hero {
      --hero-bg: url("../assets/hero/legs/hero-1440.jpg");
    }

    .layout-container.is-assurance-vie-page .paragraph--type--hero {
      --hero-bg: url("../assets/hero/assurance-vie/hero-1440.jpg");
    }
  }

  @media (min-width: 1900px) {
    .layout-container.is-legs-page .paragraph--type--hero {
      --hero-bg: url("../assets/hero/legs/hero-1900.jpg");
    }

    .layout-container.is-assurance-vie-page .paragraph--type--hero {
      --hero-bg: url("../assets/hero/assurance-vie/hero-1900.jpg");
    }
  }
}

@media (min-width: 901px) {
  .paragraph--type--hero {
    background-image: none;
    isolation: isolate;
  }

  .paragraph--type--hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--hero-desktop-stable-height, 100%);
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    pointer-events: none;
  }

  .hero-layout {
    grid-template-rows: auto auto;
    align-content: start;
    row-gap: 8px;
  }

  .paragraph--type--hero .hero-content-placeholder {
    align-self: start;
    margin-top: 92px;
  }
}

/* Keep the Legs 900px and 1200px artworks close to the desktop alignment,
 * while shifting them slightly right so the message is not cropped. */
@media (min-width: 901px) and (max-width: 1199px) {
  .layout-container.is-legs-page .paragraph--type--hero,
  .layout-container.is-legs-page .paragraph--type--hero::before {
    background-position: 75% center;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .layout-container.is-legs-page .paragraph--type--hero,
  .layout-container.is-legs-page .paragraph--type--hero::before {
    background-position: 50% center;
  }
}

@media (min-width: 1400px) {
  .layout-container.is-legs-page .paragraph--type--hero::before {
    background-size: contain;
    background-position: left center;
  }
}

@media (min-width: 1200px) {
  .hero-layout {
    align-content: start;
  }

  body:not(.form-is-sticky) .hero-content-placeholder {
    align-self: start;
    margin-top: 92px;
  }
}

.hero-content-placeholder {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  margin-right: 20px;
}

.hero-content-placeholder__contact {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  margin-right: 20px;
  margin-top: 4px;
}

.hero-sticky-column {
  display: contents;
}

@media (min-width: 1600px) {
  .hero-layout {
    align-content: start;
  }

  body:not(.form-is-sticky) .hero-content-placeholder__contact {
    transition: box-shadow 0.25s ease;
  }

  body:not(.form-is-sticky) .hero-content-placeholder {
    align-self: start;
    margin-top: 75px;
    transform: translateX(-20px);
  }

  body:not(.form-is-sticky) .hero-content-placeholder__contact {
    transform: translateX(-20px);
  }
}

body.form-is-sticky .hero-sticky-column .hero-content-placeholder__contact {
  align-self: flex-start;
  justify-self: end;
  margin-right: 20px;
  margin-top: 10px;
}

@media (min-width: 901px) {
  .hero-content-placeholder__contact,
  body.form-is-sticky .hero-sticky-column .hero-content-placeholder__contact {
    margin-top: 0 !important;
  }

  body:not(.form-is-sticky) .hero-content-placeholder__contact {
    margin-right: 40px;
  }

}

.title-wrapper.main{
  width: unset;
  max-width: 680px;
  min-height: unset;
  position: relative;
  grid-row: 1 / span 2;
  top: 100px;
  left: 300px;
  padding: 0;
  box-sizing: border-box;
  max-height: 380px;
  height: 380px;
  flex: 0 0 680px;
  align-self: center;
}

@media (min-width: 901px) {
  .layout-container.is-assurance-vie-page .title-wrapper.main {
    top: 300px !important;
  }

  .layout-container.is-assurance-vie-page .title-wrapper.main .maintitle {
    left: -20px !important;
    line-height: 1;
  }

  .layout-container.is-assurance-vie-page .title-wrapper.main::before {
    transform: scale(1.2);
    transform-origin: center;
  }

  .layout-container.is-assurance-vie-page .title-wrapper.main .hero-heading {
    position: absolute;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    left: 70px;
    right: 170px;
    top: 43%;
    transform: translateY(-52%);
    margin: 0;
  }

  .layout-container.is-legs-page .title-wrapper.main .maintitle {
    line-height: 1;
  }
}

.title-wrapper.main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/svg-hero.svg") left top / 100% 100% no-repeat;
  mix-blend-mode: multiply;
  z-index: -1;
}

.layout-container.is-assurance-vie-page .title-wrapper.main::before {
  background: url("../assets/svg-hero-av.svg") left top / 100% 100% no-repeat;
}

.layout-container.is-legs-page .title-wrapper.main::before {
  background: url("../assets/svg-hero-leg.svg") left top / 100% 100% no-repeat;
  transform: scale(1.6);
  transform-origin: center;
}

.title-wrapper.main .hero-heading{
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  left: 0px;
  right: 170px;
  top: 43%;
  transform: translateY(-52%);
  margin: 0;
}

.title-wrapper.main .uppertitle,
.title-wrapper.main .maintitle{
  text-align: center;
  color: #fff;
  display: block;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.title-wrapper.main .uppertitle p,
.title-wrapper.main .maintitle p{
  display: block;
  margin-top: 0;
  margin-bottom: 0;
}

.title-wrapper.main .uppertitle {
  --hero-cascade-step: 40px;
}

.title-wrapper.main .maintitle {
  --hero-cascade-step: 50px;
}

.title-wrapper.main .uppertitle p:nth-child(2),
.title-wrapper.main .maintitle p:nth-child(2) {
  transform: translateX(var(--hero-cascade-step));
}

.title-wrapper.main .uppertitle p:nth-child(3),
.title-wrapper.main .maintitle p:nth-child(3) {
  transform: translateX(calc(var(--hero-cascade-step) * 2));
}

.title-wrapper.main .uppertitle p:nth-child(4),
.title-wrapper.main .maintitle p:nth-child(4) {
  transform: translateX(calc(var(--hero-cascade-step) * 3));
}

.title-wrapper.main .uppertitle p:nth-child(5),
.title-wrapper.main .maintitle p:nth-child(5) {
  transform: translateX(calc(var(--hero-cascade-step) * 4));
}

.title-wrapper.main .uppertitle p:nth-child(6),
.title-wrapper.main .maintitle p:nth-child(6) {
  transform: translateX(calc(var(--hero-cascade-step) * 5));
}

.layout-container.is-legs-page .title-wrapper.main .hero-heading {
  align-items: flex-end;
  top: 57%;
}

.layout-container.is-legs-page .title-wrapper.main .maintitle {
  left: 0;
}

.layout-container.is-legs-page .title-wrapper.main .uppertitle,
.layout-container.is-legs-page .title-wrapper.main .maintitle {
  text-align: right;
}

.layout-container.is-legs-page .title-wrapper.main .uppertitle p:nth-child(n),
.layout-container.is-legs-page .title-wrapper.main .maintitle p:nth-child(n) {
  transform: none;
  text-align: right;
}

@media (min-width: 1900px) {
  .layout-container.is-legs-page .title-wrapper.main {
    position: absolute;
    top: 340px;
    left: 140px;
    width: 680px;
    height: 380px;
    max-width: 680px;
  }
}

.title-wrapper.main .maintitle{
  text-transform: uppercase;
  font-size: 42px;
  line-height: 0.92;
  font-weight: 700;
  font-stretch: condensed;
  text-align: right;
  position: relative;
  left: 65px;
}

.layout-container.is-assurance-vie-page .title-wrapper.main .maintitle {
  left: -60px;
}

.title-wrapper.main .uppertitle{
  font-weight: 300;
  text-transform: none;
  font-size: 28px;
  line-height: 1.08;
  margin-bottom: 10px;
  text-align: right;
}

.hero-content-placeholder {
  align-self: stretch;
  min-height: 0;
  min-width: 440px;
  width: 440px;
  max-width: 440px;
  margin: 0 40px 0 0;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.20), 0 0 0 1px rgba(255, 255, 255, 0.18), inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  text-align: center;
  padding: 24px 28px 22px;
  box-sizing: border-box;
}

.paragraph--type--hero .hero-content-placeholder {
  align-self: start;
}

.hero-content-placeholder__inner {
  width: 100%;
  max-width: none;
}

.hero-content-placeholder__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-content-placeholder__title span {
  display: block;
}

.hero-content-placeholder__subtitle {
  margin-top: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 400;
}

.hero-content-placeholder__form {
  margin-top: 18px;
}

.documentation-webform-page {
  width: 100%;
  max-width: 488px;
  margin: 72px auto 56px;
  padding: 0 24px;
  box-sizing: border-box;
}

.documentation-webform-page .hero-content-placeholder {
  width: 100%;
  max-width: 440px;
  min-width: 0;
  margin: 0 auto;
}

.documentation-webform-page .contextual {
  display: none !important;
}

.hero-content-placeholder .hero-webform__submission-form,
.hero-content-placeholder .hero-webform {
  width: 100%;
}

.hero-content-placeholder .contextual {
  display: none !important;
}

.hero-content-placeholder .webform-submission-form {
  display: grid;
  grid-template-columns: unset;
  column-gap: 8px;
  row-gap: 8px;
}

.hero-content-placeholder .hero-webform__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 8px;
  row-gap: 8px;
}

@media (min-width: 901px) {
  .hero-content-placeholder .hero-webform__submission-form:not(.hero-webform--details-revealed) .form-item-adresse-postale,
  .hero-content-placeholder .hero-webform__submission-form:not(.hero-webform--details-revealed) .form-item-code-postal,
  .hero-content-placeholder .hero-webform__submission-form:not(.hero-webform--details-revealed) .form-item-ville,
  .hero-content-placeholder .hero-webform__submission-form:not(.hero-webform--details-revealed) .form-item-telephone,
  .hero-content-placeholder .hero-webform__submission-form:not(.hero-webform--details-revealed) .form-item-email {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-content-placeholder .hero-webform__submission-form:not(.hero-webform--details-revealed) .form-item-adresse-postale,
  .hero-content-placeholder .hero-webform__submission-form:not(.hero-webform--details-revealed) .form-item-code-postal,
  .hero-content-placeholder .hero-webform__submission-form:not(.hero-webform--details-revealed) .form-item-ville,
  .hero-content-placeholder .hero-webform__submission-form:not(.hero-webform--details-revealed) .form-item-telephone,
  .hero-content-placeholder .hero-webform__submission-form:not(.hero-webform--details-revealed) .form-item-email {
    display: none;
  }
}

.hero-content-placeholder .webform-submission-form > .js-form-item,
.hero-content-placeholder .webform-submission-form > .js-form-wrapper,
.hero-content-placeholder .webform-submission-form > .form-actions {
  min-width: 0;
}

.hero-content-placeholder .hero-webform__field--recevoir-par,
.hero-content-placeholder [id^="edit-recevoir-par"][id$="--wrapper"],
.hero-content-placeholder .form-item-adresse-postale,
.hero-content-placeholder .hero-webform__required-note,
.hero-content-placeholder .hero-webform__field--turnstile,
.hero-content-placeholder .hero-webform__disclaimer,
.hero-content-placeholder .form-actions {
  grid-column: 1 / -1;
}

.hero-content-placeholder .hero-webform__field--turnstile {
  order: 90;
}

.hero-content-placeholder .hero-webform__field--actions,
.hero-content-placeholder .form-actions {
  order: 91;
}

.hero-content-placeholder .hero-webform__field--disclaimer,
.hero-content-placeholder .form-item-disclaimer {
  order: 92;
}

.hero-content-placeholder .form-item-civilite {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  max-width: 190px;
}

.hero-content-placeholder .form-item-prenom,
.hero-content-placeholder .form-item-nom,
.hero-content-placeholder .form-item-code-postal,
.hero-content-placeholder .form-item-ville {
  grid-column: span 1;
}

.hero-content-placeholder .js-form-item {
  margin: 0;
}

.hero-content-placeholder .form-item-adresse-postale {
  position: relative;
}

.hero-content-placeholder .form-item-civilite {
  position: relative;
}

.hero-content-placeholder .form-item-civilite label {
  order: 1;
}

.hero-content-placeholder .form-item-civilite .hero-webform__dropdown {
  order: 2;
}

.hero-content-placeholder .form-item-civilite > .form-item--error-message,
.hero-content-placeholder .form-item-civilite > .hero-webform__inline-error {
  order: 3;
  margin-top: 6px;
}

.hero-content-placeholder .js-form-item label,
.hero-content-placeholder legend span {
  display: block;
  margin-bottom: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 500;
  text-align: left;
}

.hero-content-placeholder .hero-webform__choice-inline-label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 500;
}

.hero-content-placeholder .form-required::after {
  content: " *";
}

.hero-content-placeholder .hero-webform__field--recevoir-par,
.hero-content-placeholder [id^="edit-recevoir-par"][id$="--wrapper"] {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.hero-content-placeholder .hero-webform__field--recevoir-par .fieldset-wrapper,
.hero-content-placeholder [id^="edit-recevoir-par"][id$="--wrapper"] .fieldset-wrapper {
  min-width: 0;
  flex: 1 1 auto;
  display: block;
  width: 100%;
}

.hero-content-placeholder .hero-webform__field--recevoir-par,
.hero-content-placeholder [id^="edit-recevoir-par"][id$="--wrapper"] {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
  width: 100%;
  position: relative;
  min-height: 28px;
}

.hero-content-placeholder .hero-webform__choice-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.hero-content-placeholder .hero-webform__choice-inline-label {
  flex: 0 0 140px;
  max-width: 140px;
  white-space: nowrap;
  pointer-events: none;
}

.hero-content-placeholder .hero-webform__choice-inline-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  flex: 0 1 204px;
  min-width: 0;
  max-width: 204px;
}

.hero-content-placeholder .hero-webform__field--recevoir-par legend,
.hero-content-placeholder [id^="edit-recevoir-par"][id$="--wrapper"] legend {
  border: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: auto;
  max-width: 140px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  pointer-events: none; /* never intercept clicks on the radio options */
}

.hero-content-placeholder .hero-webform__field--recevoir-par legend span,
.hero-content-placeholder [id^="edit-recevoir-par"][id$="--wrapper"] legend span {
  margin-bottom: 0;
}

.hero-content-placeholder .hero-webform__field--recevoir-par .fieldset-wrapper,
.hero-content-placeholder [id^="edit-recevoir-par"][id$="--wrapper"] .fieldset-wrapper {
  margin-left: calc(140px + 12px);
}

.hero-content-placeholder .form-text,
.hero-content-placeholder .form-email,
.hero-content-placeholder .form-tel,
.hero-content-placeholder .form-select {
  width: 100%;
  height: 29px;
  padding: 6px 9px;
  border: 1px solid #b9b9b9;
  border-radius: 3px;
  box-sizing: border-box;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
  color: #111;
  background: #fff;
}

.hero-content-placeholder .hero-webform__native-select {
  position: absolute;
  inset: auto;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hero-content-placeholder .form-text::placeholder,
.hero-content-placeholder .form-email::placeholder,
.hero-content-placeholder .form-tel::placeholder {
  color: #757575;
  opacity: 1;
}

.hero-content-placeholder [id^="edit-recevoir-par"]:not([id$="--wrapper"]) {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 215px;
  padding: 4px;
  border: 1px solid #1d1d1b;
  border-radius: 90px;
  box-sizing: border-box;
}

.hero-content-placeholder .hero-webform__field--recevoir-par > .form-item--error-message,
.hero-content-placeholder [id^="edit-recevoir-par"][id$="--wrapper"] > .form-item--error-message {
  width: 100%;
  margin-top: 4px;
  margin-left: calc(140px + 12px);
}

.hero-content-placeholder [id^="edit-recevoir-par"]:not([id$="--wrapper"]) .form-item {
  margin: 0;
}

.hero-content-placeholder .hero-webform__choice-inline-options .form-item {
  margin: 0;
}

.hero-content-placeholder .form-type-radio {
  margin: 0;
}

.hero-content-placeholder .form-type-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hero-content-placeholder .form-type-radio .option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  min-width: 100px;
  max-width: 100px;
  height: 28px;
  margin: 0;
  padding: 0 8px;
  border: 0;
  border-radius: 90px;
  box-sizing: border-box;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-transform: lowercase;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hero-content-placeholder .form-type-radio input:checked + .option {
  background: #f20a00;
  border-color: #f20a00;
  color: #fff;
}

.hero-content-placeholder .form-type-radio {
  flex: 0 0 100px;
}

.hero-content-placeholder .fieldset-wrapper,
.hero-content-placeholder fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}

.hero-content-placeholder .hero-webform__required-note {
  margin-top: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 13.8px;
  color: #1d1d1b;
  text-align: right;
}

.hero-content-placeholder .hero-webform__field--turnstile {
}

.hero-content-placeholder .hero-webform__turnstile-widget {
  min-height: 69px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  background: transparent;
  border-radius: 8px;
}

.hero-content-placeholder .form-item-required-note {
  grid-column: 1 / -1;
  margin-top: 0;
  width: 100%;
  text-align: right;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 13.8px;
  color: #1d1d1b;
}

.hero-content-placeholder .form-actions {
  margin: 6px 0 0;
}

.hero-content-placeholder .form-actions .button,
.hero-content-placeholder .form-actions input[type="submit"] {
  width: 100%;
  min-height: 53px;
  padding: 15px 24px;
  border: 0;
  border-radius: 4px;
  background: #ee0200;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 23px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  transform-origin: center;
}

.hero-content-placeholder .form-actions .button:hover,
.hero-content-placeholder .form-actions input[type="submit"]:hover {
  background: #d40900;
  box-shadow: 0 14px 28px rgba(242, 10, 0, 0.2);
  transform: scale(1.03);
}

.hero-content-placeholder .form-actions .button:focus-visible,
.hero-content-placeholder .form-actions input[type="submit"]:focus-visible {
  background: #d40900;
  box-shadow:
    0 14px 28px rgba(242, 10, 0, 0.2),
    0 0 0 3px rgba(242, 10, 0, 0.16);
  outline: none;
  transform: scale(1.03);
}

.hero-content-placeholder .form-item--error .form-text,
.hero-content-placeholder .form-item--error .form-email,
.hero-content-placeholder .form-item--error .form-tel,
.hero-content-placeholder .form-item--error .form-select,
.hero-content-placeholder .form-item--error .option,
.hero-content-placeholder .hero-webform__fieldset.form-item--error .option {
  border-color: #f20a00;
}

.hero-content-placeholder .form-item--error-message,
.hero-content-placeholder .hero-webform__fieldset-error {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.25;
  color: #f20a00;
  text-align: left;
}

.hero-content-placeholder .hero-webform__dropdown .form-item--error-message {
  display: block;
  width: 100%;
  margin-top: 6px;
  white-space: normal;
}

.hero-content-placeholder .hero-webform__dropdown-trigger.hero-webform__has-error {
  border-color: #f20a00;
}

.hero-content-placeholder .hero-webform__has-error {
  position: relative;
}

.hero-content-placeholder .hero-webform__submission-form [data-drupal-messages],
.hero-content-placeholder .hero-webform__submission-form .leguez-message {
  display: none;
}

.hero-content-placeholder .hero-webform__submission-form [data-drupal-messages].hero-webform__global-message,
.hero-content-placeholder .hero-webform__submission-form .hero-webform__global-message .leguez-message {
  display: block;
}

.hero-content-placeholder .hero-webform__autocomplete-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  padding: 4px 0;
  border: 1px solid #d7cdc7;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(29, 29, 27, 0.12);
}

.hero-content-placeholder .hero-webform__autocomplete-list[hidden] {
  display: none;
}

.hero-content-placeholder .hero-webform__dropdown {
  position: relative;
}

.hero-content-placeholder .hero-webform__dropdown-trigger {
  position: relative;
  width: 100%;
  height: 29px;
  padding: 6px 32px 6px 9px;
  border: 1px solid #b9b9b9;
  border-radius: 3px;
  background: #fff;
  color: #111;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
  text-align: left;
}

.hero-content-placeholder .hero-webform__dropdown-trigger.is-placeholder {
  color: #757575;
}

.hero-content-placeholder .hero-webform__dropdown-trigger::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #1d1d1b;
  border-bottom: 1.5px solid #1d1d1b;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

@media (min-width: 901px) {
  .hero-content-placeholder .hero-webform__grid {
    row-gap: 6px;
  }

  .hero-content-placeholder .js-form-item label,
  .hero-content-placeholder legend span,
  .hero-content-placeholder .hero-webform__choice-inline-label {
    font-size: 14px;
  }

  .hero-content-placeholder .form-text,
  .hero-content-placeholder .form-email,
  .hero-content-placeholder .form-tel,
  .hero-content-placeholder .form-select {
    height: 25px;
    padding: 3px 9px;
  }

  .hero-content-placeholder .hero-webform__dropdown-trigger {
    height: 25px;
    padding: 3px 32px 3px 9px;
  }
}

.hero-content-placeholder .hero-webform__dropdown-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  display: none;
  flex-direction: column;
  padding: 4px 0;
  border: 1px solid #d7cdc7;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(29, 29, 27, 0.12);
}

.hero-content-placeholder .hero-webform__dropdown.is-open .hero-webform__dropdown-list {
  display: flex;
}

.hero-content-placeholder .hero-webform__autocomplete-option {
  width: 100%;
  border: 0;
  padding: 10px 12px;
  background: transparent;
  color: #1d1d1b;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.hero-content-placeholder .hero-webform__dropdown-option {
  width: 100%;
  border: 0;
  padding: 10px 12px;
  background: transparent;
  color: #1d1d1b;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.hero-content-placeholder .hero-webform__autocomplete-option:hover,
.hero-content-placeholder .hero-webform__autocomplete-option.is-active,
.hero-content-placeholder .hero-webform__dropdown-option:hover {
  background: #f7f2ee;
}

.hero-content-placeholder .hero-webform__confirmation-shell {
  width: 100%;
  grid-column: 1 / -1;
}

.hero-content-placeholder .webform-ajax-form-wrapper {
  position: relative;
}

.hero-content-placeholder .hero-webform__confirmation-message,
.hero-content-placeholder .hero-webform__confirmation {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 24px;
  box-sizing: border-box;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 400;
  color: #1d1d1b;
}

.hero-content-placeholder .hero-webform__confirmation-message::before {
  content: "";
  display: block;
  position: relative;
  top: 150px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%233a8c3f'/%3E%3Cpolyline points='6,12.5 10,16.5 18,8.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.hero-content-placeholder .webform-ajax-form-wrapper:has(.hero-webform__confirmation-message) .hero-webform__field--turnstile,
.hero-content-placeholder .webform-ajax-form-wrapper:has(.hero-webform__confirmation-message) .hero-webform__turnstile-widget {
  display: none;
}

.hero-content-placeholder .webform-ajax-form-wrapper:has(.ajax-progress--throbber)::after,
.hero-content-placeholder .webform-ajax-form-wrapper:has(.ajax-progress-throbber)::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(3px);
  z-index: 20;
}

.hero-content-placeholder .webform-ajax-form-wrapper .ajax-progress--throbber,
.hero-content-placeholder .webform-ajax-form-wrapper .ajax-progress-throbber {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.14);
  z-index: 21;
}

.hero-content-placeholder .webform-ajax-form-wrapper .ajax-progress--throbber .message,
.hero-content-placeholder .webform-ajax-form-wrapper .ajax-progress-throbber .message,
.hero-content-placeholder .webform-ajax-form-wrapper .ajax-progress--throbber .ajax-progress__message,
.hero-content-placeholder .webform-ajax-form-wrapper .ajax-progress-throbber .ajax-progress__message {
  display: none;
}

.hero-content-placeholder .webform-ajax-form-wrapper .ajax-progress-throbber .throbber,
.hero-content-placeholder .webform-ajax-form-wrapper .ajax-progress--throbber .ajax-progress__throbber {
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  display: block;
  border: 2.5px solid rgba(153, 126, 111, 0.2);
  border-top-color: #997e6f;
  border-right-color: #1d1d1b;
  border-radius: 999px;
  background: none;
  animation: leguez-form-spinner 0.75s linear infinite;
}

@keyframes leguez-form-spinner {
  to {
    transform: rotate(360deg);
  }
}

.hero-content-placeholder .hero-webform__disclaimer,
.hero-content-placeholder .hero-webform__disclaimer a,
.hero-content-placeholder .form-item-disclaimer,
.hero-content-placeholder .form-item-disclaimer a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 13.8px;
  color: #1d1d1b;
  text-align: left;
}

.hero-content-placeholder .hero-webform__disclaimer,
.hero-content-placeholder .form-item-disclaimer {
  width: 100%;
  max-width: none;
  grid-column: 1 / -1;
}

.hero-content-placeholder .js-webform-type-webform-markup.form-item-disclaimer {
  display: none;
}

.hero-content-placeholder .hero-webform__disclaimer {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 13.8px;
  color: #1d1d1b;
  text-align: left;
}

.hero-content-placeholder .hero-webform__disclaimer-toggle {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0 0 0 4px;
  background: none;
  color: #1d1d1b;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.hero-content-placeholder .hero-webform__disclaimer-toggle[hidden] {
  display: none;
}

.hero-content-placeholder .hero-webform__disclaimer-more[hidden] {
  display: none;
}

.hero-content-placeholder .hero-webform__disclaimer a,
.hero-content-placeholder .form-item-disclaimer a {
  text-decoration: underline;
}

.hero-content-placeholder__contact {
  position: relative;
  width: 295px;
  margin: 0;
  align-self: end;
  padding: 8px;
  display: grid;
  grid-template-columns: 69px minmax(0, 1fr);
  grid-auto-rows: min-content;
  column-gap: 10px;
  row-gap: 0;
  box-sizing: border-box;
  background: var(--seondary-color-bo, #f4e8bc);
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow 0.25s ease;
}

.hero-content-placeholder__contact:hover {
  box-shadow: 0 10px 28px rgba(242, 10, 0, 0.12);
}

.hero-content-placeholder__contact:focus-visible {
  outline: 2px solid #f20a00;
  outline-offset: 2px;
}

.hero-content-placeholder__contact-visuals {
  position: relative;
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 69px;
  min-height: 69px;
}

.hero-content-placeholder__contact-content {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content-placeholder__contact-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: 8px;
  object-fit: cover;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: none;
}

.hero-content-placeholder__contact-image--small {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.hero-content-placeholder__contact-image--big {
  opacity: 1;
  transform: scale(0.92);
  z-index: 1;
}

.hero-content-placeholder__contact-text {
  color: #1d1d1b;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  text-align: left;
}

.hero-content-placeholder__contact-panel {
  width: 100%;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease, margin-top 0.25s ease;
}

.hero-content-placeholder__contact-description {
  margin: 0 0 10px;
  color: #1d1d1b;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
}

.hero-content-placeholder__contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.hero-content-placeholder__contact-line--phone {
  margin-top: 4px;
}

.hero-content-placeholder__contact .contact-link {
  color: #f20a00;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 500;
}

.hero-content-placeholder__contact.is-open {
  width: 440px;
  grid-template-columns: 85px minmax(0, 1fr);
  column-gap: 12px;
  background: var(--seondary-color-bo, #f4e8bc);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-content {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-content: flex-start;
}

.hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-visuals {
  width: 85px;
  min-height: 109px;
}

.hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-text {
  color: #1d1d1b;
  padding-top: 0;
}

.hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-panel {
  padding-left: 0;
}

.hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-image--small {
  opacity: 0;
  transform: scale(0.92);
}

.hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-image--big {
  opacity: 1;
  transform: scale(1);
}

.hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-panel {
  max-height: 200px;
  margin-top: 10px;
  opacity: 1;
  transform: translateY(0);
}

/* Center phone and email lines (with icons) in open state */
.hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-line {
  justify-content: center;
}

/* Close (×) button — red, transparent bg, red border, top-right, open state only */
.hero-contact-close {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1.5px solid #f20a00;
  border-radius: 50%;
  background: transparent;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: #f20a00;
  z-index: 1;
  transition: background 0.15s ease;
}

.hero-contact-close:hover {
  background: rgba(242, 10, 0, 0.08);
}

.hero-content-placeholder__contact.is-open .hero-contact-close {
  display: flex;
}

@media (max-width: 768px) {
  .hero-content-placeholder__contact-image {
    transition: none;
  }

  .hero-content-placeholder__contact-image--small,
  .hero-content-placeholder__contact-image--big,
  .hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-image--small,
  .hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-image--big {
    transform: none;
  }

  .hero-content-placeholder__contact-image--small,
  .hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-image--small {
    opacity: 0;
  }

  .hero-content-placeholder__contact-image--big,
  .hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-image--big {
    opacity: 1;
  }

  .hero-content-placeholder__contact.is-open {
    grid-template-columns: 70px minmax(0, 1fr);
    column-gap: 8px;
    align-items: start;
  }

  .hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-visuals {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 70px;
    min-height: 90px;
  }

  .hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-content,
  .hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-panel {
    display: contents;
    padding-left: 0;
  }

  .hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-text {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }

  .hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-description {
    grid-column: 2;
    grid-row: 2;
    margin: 2px 0 0;
  }

  .hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-line {
    grid-column: 1 / -1;
  }

  .hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-line:first-of-type {
    margin-top: 12px;
  }
}

@media (min-width: 769px) {
  .site-header__brand {
    top: -5px;
  }

  .paragraph--type--rich-text p,
  .paragraph--type--rich-text li {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.45;
  }

  .paragraph--type--image-texte .title {
    margin: 0 0 20px;
    margin-left: auto;
    color: #f20a00;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 32px;
    line-height: 1.05;
    font-weight: 900;
    font-stretch: condensed;
    text-align: right;
    text-transform: uppercase;
    width: 305px;
    max-width: 305px;
  }

  .paragraph--type--image-texte .text-body {
    width: 356px;
    max-width: 356px;
    margin-left: auto;
  }

  .paragraph--type--image-texte .text p,
  .paragraph--type--image-texte .text li {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    text-align: right;
  }

  .paragraph--type--image-texte .text strong,
  .paragraph--type--image-texte .text b {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
  }

  .paragraph--type--image-texte .text-body p:first-child {
    margin-top: 0;
  }

  .paragraph--type--image-texte .text-body p:last-child {
    margin-bottom: 0;
  }

  .paragraph--type--image-texte .btn,
  .paragraph--type--image-texte .btn.btn-red {
    background-color: #fff;
    color: #f20a00;
    border: 2px solid #f20a00;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
  }
}

@media (max-width: 900px) {
  .site-header__nav-group--anchors {
    display: none;
  }
}

@media (max-width: 768px) {
  .site-header,
  body.has-scrolled .site-header {
    position: fixed;
    top: max(var(--site-header-offset-top, 0px), env(safe-area-inset-top, 0px));
  }

  .site-header__panel,
  .site-header__nav,
  .site-header__brand {
    transition: none;
  }

  .site-header__frame,
  body.has-scrolled .site-header__frame {
    min-height: 48px;
  }

  .site-header__brand {
    top: 6px !important;
    left: 14px !important;
    transform: translateY(0);
  }

  .site-header__brand img {
    width: 165px;
    height: auto;
  }

  body.has-scrolled .site-header__frame {
    padding: 0;
  }

  body.has-scrolled .site-header__panel {
    width: 100%;
    min-height: 48px;
  }

  body.has-scrolled .site-header__nav {
    min-height: 60px;
    padding: 0 10px 0 0;
    margin: 0;
  }

  body.has-scrolled .site-header__brand {
    top: 10px !important;
    left: 14px !important;
    transform: translateY(0);
  }

  body.has-scrolled .site-header__brand img {
    width: 180px;
    height: auto;
  }

  .paragraph--type--rich-text p {
    margin-left: auto;
    margin-right: auto;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    margin-top: 70px;
    margin-bottom: 70px;
    max-width: 310px;
  }

  .paragraph--type--image-texte .title {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    color: #f20a00;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 32px;
    line-height: 1.05;
    font-weight: 900;
    font-stretch: condensed;
    text-align: right;
    text-transform: uppercase;
    max-width: 210px;
  }

  .paragraph--type--image-texte .text-image-wrapper {
    flex-direction: column-reverse;
  }

  .site-header__frame {
    max-width: 100%;
    padding: 0;
  }

  .site-header__panel {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-height: 60px;
  }

  .site-header__nav {
    display: flex;
    justify-content: right;
    min-height: 60px;
    padding: 0 10px 0 0;
    margin: 0;
  }

  .site-header__nav-group--anchors {
    display: none;
  }

  .site-header__nav-group--primary {
    gap: 0;
    min-height: 0;
    margin-left: 0;
    padding: 0;
    width: fit-content;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    border-radius: 999px;
    box-shadow:
      0 8px 18px rgba(0, 0, 0, 0.12),
      inset 0 0 0 1px rgba(17, 17, 17, 0.06);
  }

  /* Re-enable the sliding pill — adjusted for mobile padding: 2px */
  .site-header__nav-group--primary::before {
    display: block;
    top: 2px;
    bottom: 2px;
    left: var(--primary-pill-left, 2px);
    width: var(--primary-pill-width, calc(50% - 1px));
  }

  .site-header__nav-group--primary.is-assurance-vie::before {
    display: block;
  }

  .site-header__nav-group--primary .site-header__link {
    min-height: 26px;
    padding: 4px 9px;
    font-size: 14px;
    line-height: 1;
    border-radius: 999px;
  }

  /* Décalage optique du texte "Assurance-vie" vers la droite */
  .site-header__nav-group--primary .site-header__link:last-child {
    padding-left: 13px;
    padding-right: 13px;
  }

  .site-header__nav-group--primary .site-header__link.is-active {
    background: transparent;
    box-shadow: none;
    font-weight: 500;
  }

  .paragraph--type--hero {
    background-image: var(--hero-bg);
    background-position: left center;
    background-size: cover;
    min-height: 100dvh;
    height: 100dvh;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .hero-layout {
    min-height: 100%;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 18px 30px;
  }

  .title-wrapper.main {
    width: 100%;
    max-width: 100%;
    min-height: unset;
    padding: 0;
    max-height: 220px;
    height: 220px;
    flex: 0 0 220px;
    align-self: start;
    top: 250px;
    left: unset;
  }

  .title-wrapper.main .hero-heading {
    left: -50px;
    right: 90px;
    top: 42%;
    transform: translateY(-50%);
    width: auto;
    max-width: none;
  }

  .title-wrapper.main .maintitle {
    font-size: 26px;
    --hero-cascade-step: 30px;
  }

  .title-wrapper.main .uppertitle {
    font-size: 18px;
    --hero-cascade-step: 30px;
  }

  .hero-content-placeholder {
    min-height: 180px;
    min-width: 0;
    max-width: none;
    margin: 0;
  }

  .hero-content-placeholder__title {
    font-size: 20px;
  }

  .hero-content-placeholder__subtitle {
    font-size: 14px;
  }

  .hero-content-placeholder__contact {
    display: none;
  }

  .hero-content-placeholder .webform-submission-form {
    grid-template-columns: 1fr;
  }

  .hero-content-placeholder .hero-webform__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content-placeholder .hero-webform__disclaimer,
  .hero-content-placeholder .form-item-disclaimer,
  .hero-content-placeholder .hero-webform__disclaimer a,
  .hero-content-placeholder .form-item-disclaimer a {
    font-size: 11px;
  }

  .hero-content-placeholder .hero-webform__field--recevoir-par,
  .hero-content-placeholder [id^="edit-recevoir-par"][id$="--wrapper"] {
    display: flex;
  }

  .hero-content-placeholder .hero-webform__field--recevoir-par legend,
  .hero-content-placeholder [id^="edit-recevoir-par"][id$="--wrapper"] legend {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: auto;
    display: block;
    margin-bottom: 0;
    max-width: 92px;
    white-space: nowrap;
  }

  .hero-content-placeholder .hero-webform__field--recevoir-par .fieldset-wrapper,
  .hero-content-placeholder [id^="edit-recevoir-par"][id$="--wrapper"] .fieldset-wrapper {
    display: block;
    margin-left: calc(92px + 8px);
  }

  .hero-content-placeholder [id^="edit-recevoir-par"][id$="--wrapper"] .fieldset-wrapper {
    margin-left: calc(120px + 8px);
  }

  .hero-content-placeholder .hero-webform__field--recevoir-par > .form-item--error-message,
  .hero-content-placeholder [id^="edit-recevoir-par"][id$="--wrapper"] > .form-item--error-message {
    margin-left: calc(92px + 8px);
  }

  .hero-content-placeholder .form-item-civilite,
  .hero-content-placeholder .form-item-email,
  .hero-content-placeholder .form-item-telephone,
  .hero-content-placeholder .form-item-prenom,
  .hero-content-placeholder .form-item-nom,
  .hero-content-placeholder .form-item-code-postal,
  .hero-content-placeholder .form-item-ville {
    grid-column: span 1;
    max-width: none;
  }

  .hero-content-placeholder .form-item-adresse-postale,
  .hero-content-placeholder .hero-webform__required-note,
  .hero-content-placeholder .hero-webform__field--turnstile,
  .hero-content-placeholder .hero-webform__disclaimer,
  .hero-content-placeholder .form-actions {
    grid-column: 1 / -1;
  }

  .hero-content-placeholder .form-item-civilite {
    grid-column: 1 / -1;
  }

  .hero-content-placeholder .hero-webform__choice-inline {
    gap: 8px;
  }

  .hero-content-placeholder .hero-webform__choice-inline-label {
    flex-basis: 92px;
    max-width: 92px;
    font-size: 14px;
  }

  .hero-content-placeholder .hero-webform__choice-inline-options {
    flex: 1 1 auto;
    max-width: none;
    justify-content: flex-start;
  }

  .hero-content-placeholder [id^="edit-recevoir-par"]:not([id$="--wrapper"]) {
    max-width: 200px;
    border: 0.5px solid black;
  }

  .hero-content-placeholder .form-type-radio {
    flex: 0 0 90px;
  }

  .hero-content-placeholder .form-type-radio .option {
    width: auto;
    min-width: 0;
    max-width: none;
    flex: 1 1 0;
    padding: 0 10px;
    font-size: 14px;
  }

  .hero-content-placeholder .hero-webform__choice-inline-options .form-item:first-child {
    flex: 0 0 91px;
  }

  .hero-content-placeholder .hero-webform__choice-inline-options .form-item:first-child .option {
    width: 91px;
    flex: 0 0 91px;
  }

  .hero-content-placeholder .hero-webform__choice-inline-options .form-item:last-child {
    flex: 0 0 99px;
  }

  .hero-content-placeholder .hero-webform__choice-inline-options .form-item:last-child .option {
    width: 99px;
    flex: 0 0 99px;
  }

  body.has-scrolled .site-header__frame {
    padding: 0;
  }

  body.has-scrolled .site-header__panel {
    width: 100%;
  }

  body.has-scrolled .site-header__nav {
    min-height: 60px;
    padding: 0 10px 0 0;
  }

  body.has-scrolled .site-header__brand {
    left: 14px;
    top: 10px;
    transform: translateY(0);
  }

  body.has-scrolled .site-header__brand img {
    width: 180px;
  }

  .container {
    padding: 0 18px;
  }
}

@media (max-width: 610px) {
  body.toolbar-fixed {
    --site-header-offset-top: 0px;
  }

  body.toolbar-fixed.toolbar-horizontal.toolbar-tray-open {
    --site-header-offset-top: 39px;
  }
}

@media (max-width: 480px) {
  .site-header__brand img {
    width: 230px !important;
    height: auto !important;
  }

  body.has-scrolled .site-header__brand img {
    width: 90px !important;
    height: auto !important;
  }

  .site-header__nav-group--primary {
    width: fit-content;
    grid-template-columns: repeat(2, 1fr);
    padding: 0 !important;
  }

  body.has-scrolled .site-header__nav-group--primary {
    padding: 0 10px 0 0;
  }

  .site-header__nav-group--primary.is-single-item {
    grid-template-columns: repeat(1, max-content);
  }

  .site-header__nav-group--primary .site-header__link {
    min-height: 24px;
    padding: 10px 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  .layout-container.is-assurance-vie-page .title-wrapper.main .maintitle {
    left: -20px;
  }
}

@media (min-width: 769px) {
  body.toolbar-fixed,
  body.toolbar-fixed.toolbar-horizontal.toolbar-tray-open,
  body.toolbar-fixed.toolbar-vertical.toolbar-tray-open {
    --site-header-offset-top: 53px;
  }
}

@media (min-width: 769px) {
  body.has-scrolled .site-header__frame {
    max-width: 100%;
    padding: 0;
  }

  body.has-scrolled .site-header__panel {
    background: rgba(255, 255, 255, 0.97);
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    border-radius: 0;
    min-height: 48px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  }

  body.has-scrolled .site-header__nav {
    display: grid;
    grid-template-columns: minmax(140px, 300px) auto 1fr;
    align-items: center;
    gap: 100px;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    min-height: 48px;
    padding: 0;
  }

  body.has-scrolled .site-header__nav-group--primary {
    gap: 4px;
    padding: 4px;
    min-height: 48px;
    margin-left: 0;
  }

  body.has-scrolled .site-header__nav-group--primary .site-header__link {
    font-size: 16px;
    padding: 8px 20px;
  }

  body.has-scrolled .site-header__nav-group--anchors {
    opacity: 1;
    visibility: visible;
    transform: none;
    position: static;
    pointer-events: auto;
  }

  body.has-scrolled .site-header__nav-group--anchors .site-header__link {
    color: #000;
  }

  body.has-scrolled .site-header__brand {
    left: 20px;
    top: 8px;
    transform: translateY(0);
  }

  body.has-scrolled .site-header__brand img {
    width: 90px;
  }
}

/* ─── Auth pages (login / password / register) ───────────────────────────── */

body.gin-login {
  --gin-color-primary: #f20a00;
  --gin-color-primary-hover: #d40900;
  --gin-color-primary-active: #b30800;
  background: #f5f5f5;
}

.leguez-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 32px 24px;
  box-sizing: border-box;
}

.leguez-auth__panel {
  flex: 0 0 420px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  padding: 48px 40px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  justify-content: center;
}

.leguez-auth__logo {
  margin: 0 0 32px;
  text-align: center;
}

.leguez-auth__logo img {
  width: 280px;
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.leguez-auth__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: #1d1d1b;
  margin: 0 0 24px;
  text-align: center;
}

.leguez-auth__help {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.leguez-auth__form .form-item {
  margin-bottom: 16px;
}

.leguez-auth__form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1d1d1b;
}

.leguez-auth__form input[type="text"],
.leguez-auth__form input[type="password"],
.leguez-auth__form input[type="email"] {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.leguez-auth__form input[type="text"]:focus,
.leguez-auth__form input[type="password"]:focus,
.leguez-auth__form input[type="email"]:focus {
  outline: none;
  border-color: #f20a00;
  box-shadow: 0 0 0 3px rgba(242, 10, 0, 0.12);
}

.leguez-auth__form .form-actions {
  margin-top: 24px;
  margin-bottom: 14px;
  text-align: center;
}

.leguez-auth__main {
  width: 100%;
}

.leguez-auth__form {
  max-width: 320px;
  margin: 0 auto;
  text-align: center;
}

.leguez-auth__form .button--primary,
.leguez-auth__form input[type="submit"] {
  width: auto;
  min-width: 180px;
  min-height: 44px;
  padding: 10px 18px;
  appearance: none;
  -webkit-appearance: none;
  background: #f20a00;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  box-sizing: border-box;
}

.leguez-auth__form #edit-actions {
  text-align: center;
}

.leguez-auth__form #edit-actions .button--primary,
.leguez-auth__form #edit-actions input[type="submit"],
.leguez-auth__form #edit-submit {
  width: auto;
  min-width: 180px;
  margin: 0 auto;
  padding: 10px 18px;
}

.leguez-auth__form .button--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.leguez-auth__form input[type="submit"] {
  display: inline-block;
}

.leguez-auth__form .button--primary:hover,
.leguez-auth__form input[type="submit"]:hover {
  background: #d40900;
  box-shadow: 0 12px 24px rgba(242, 10, 0, 0.22);
  transform: translateY(-2px);
}

.leguez-auth__form .button--primary:focus-visible,
.leguez-auth__form input[type="submit"]:focus-visible {
  background: #d40900;
  box-shadow:
    0 12px 24px rgba(242, 10, 0, 0.22),
    0 0 0 3px rgba(242, 10, 0, 0.18);
  outline: none;
  transform: translateY(-2px);
}

.leguez-auth__form a {
  color: #f20a00;
  font-size: 13px;
}

.leguez-auth__form a:hover {
  color: #d40900;
}

.leguez-auth__form .description,
.leguez-auth__form .form-item__description,
.leguez-auth__form .claro-description,
.leguez-auth__form .gin-description {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.4;
  color: #777;
  text-align: left;
}

.leguez-auth__form .form-item + p {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: #777;
  text-align: left;
}

@media (max-width: 700px) {
  .leguez-auth__panel {
    flex: none;
    max-width: 100%;
    padding: 32px 24px;
  }
}

/* ─── Access pages (401 / 403) ───────────────────────────────────────────── */

.layout-container--access {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(244, 232, 188, 0.55), transparent 30%),
    linear-gradient(180deg, #f9f6ef 0%, #fff 48%);
}

.access-page {
  position: relative;
  padding: 80px 24px 96px;
}

.access-page__shell {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.access-page__panel {
  position: relative;
  overflow: hidden;
  padding: 56px 64px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  box-shadow:
    0 24px 48px rgba(17, 17, 17, 0.08),
    inset 0 0 0 1px rgba(17, 17, 17, 0.05);
}

.access-page__panel::after {
  content: '';
  position: absolute;
  top: -56px;
  right: -56px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(242, 10, 0, 0.08);
}

.access-page__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #997e6f;
}

.access-page__title {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 0.98;
  text-transform: uppercase;
  color: #f20a00;
}

.access-page__help,
.access-page__content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.access-page__help,
.access-page__content,
.access-page__content p {
  font-size: 18px;
  line-height: 1.65;
  color: #3f3b37;
}

.access-page__content > :first-child {
  margin-top: 0;
}

.access-page__content > :last-child {
  margin-bottom: 0;
}

.access-page__actions {
  position: relative;
  z-index: 1;
  margin-top: 32px;
}

.access-page__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 53px;
  padding: 15px 24px;
  border-radius: 4px;
  background: #f20a00;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.access-page__link:hover,
.access-page__link:focus-visible {
  background: #d40900;
  box-shadow: 0 14px 28px rgba(242, 10, 0, 0.2);
  outline: none;
  transform: translateY(-2px);
}

.access-page--compact .access-page__shell {
  max-width: 700px;
}

.access-page--compact .access-page__panel {
  padding: 48px 56px;
}

.access-page--compact .access-page__title {
  font-size: clamp(28px, 4.4vw, 42px);
  margin-bottom: 16px;
}

.access-page--compact .access-page__link {
  min-height: 46px;
  padding: 12px 18px;
  font-size: 15px;
}

@media (max-width: 700px) {
  .access-page {
    padding: 56px 16px 72px;
  }

  .access-page__panel {
    padding: 36px 24px 32px;
  }

  .access-page__panel::after {
    top: -36px;
    right: -36px;
    width: 112px;
    height: 112px;
  }

  .access-page__title {
    margin-bottom: 14px;
  }

  .access-page__help,
  .access-page__content,
  .access-page__content p {
    font-size: 16px;
    line-height: 1.6;
  }

  .access-page__link {
    width: 100%;
  }

  .access-page--compact .access-page__panel {
    padding: 32px 22px 28px;
  }

  .access-page--compact .access-page__title {
    font-size: 32px;
  }

  .access-page--compact .access-page__link {
    min-height: 42px;
    padding: 11px 16px;
    font-size: 14px;
  }
}

/* ─── Status messages ─────────────────────────────────────────────────────── */

[data-drupal-messages]:empty {
  display: none;
}

.leguez-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 6px;
  margin: 12px 0;
  font-size: 14px;
  line-height: 1.45;
  border-left: 4px solid currentColor;
}

.leguez-message + .leguez-message {
  margin-top: 8px;
}

.leguez-message--success {
  background: #f0faf4;
  color: #1a7a40;
  border-color: #2da55a;
}

.leguez-message--warning {
  background: #fffbf0;
  color: #8a5a00;
  border-color: #e09800;
}

/* Validation error summary hidden — inline field errors used instead */
.leguez-message--error {
  display: none !important;
  border-color: #f20a00;
}

.leguez-message--info {
  background: #f0f6ff;
  color: #1a4fa0;
  border-color: #2266cc;
}

.leguez-message__icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: currentColor;
  color: inherit;
  position: relative;
  margin-top: 1px;
}

.leguez-message__icon::after {
  position: absolute;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
}

.leguez-message--success .leguez-message__icon {
  background: #2da55a;
  color: #fff;
}
.leguez-message--success .leguez-message__icon::after {
  content: "✓";
  color: #fff;
}

.leguez-message--warning .leguez-message__icon {
  background: #e09800;
  color: #fff;
}
.leguez-message--warning .leguez-message__icon::after {
  content: "!";
  color: #fff;
}

.leguez-message--error .leguez-message__icon {
  background: #f20a00;
  color: #fff;
  display: none;
}
.leguez-message--error .leguez-message__icon::after {
  content: "✕";
  color: #fff;
  font-size: 9px;
}

.leguez-message--info .leguez-message__icon {
  background: #2266cc;
  color: #fff;
}
.leguez-message--info .leguez-message__icon::after {
  content: "i";
  color: #fff;
  font-style: italic;
}

.leguez-message__body {
  flex: 1;
  min-width: 0;
}

.leguez-message__list {
  margin: 0;
  padding-left: 18px;
}

.leguez-message__list li + li {
  margin-top: 4px;
}

/* ─── Image-texte paragraph ───────────────────────────────────────────────── */

.image--with-circle {
  position: relative;
  flex: 0 0 420px;
  width: 420px;
}

.image--with-circle img:first-child {
  display: block;
  width: 420px;
  height: 550px;
  object-fit: cover;
}

.image__red-circle {
  position: absolute;
  top: -42px;
  right: -42px;
  width: 84px;
  height: 84px;
  display: block;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.image__red-circle img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* ─── Testimony / contact paragraph ──────────────────────────────────────── */

.paragraph--type--testimonies.has-background {
  margin-top: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  padding: 0;
  min-height: 520px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.testimonies-shell {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 520px;
  padding: 54px 24px 42px;
  box-sizing: border-box;
}

.testimonies-lane {
  width: min(100%, 760px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 22px 18px;
}

.testimonies-lane > .paragraph--type--testimony {
  position: relative;
  width: min(100%, 330px);
  max-width: 330px;
}

.testimonies-lane > .paragraph--type--testimony {
  margin: 0;
  background: var(--seondary-color-bo, #efcccc);
  border-radius: 4px;
  padding: 30px 22px 16px;
  box-sizing: border-box;
  box-shadow: 0 10px 22px rgba(29, 29, 27, 0.16);
  overflow: visible;
}

.testimonies-lane > .paragraph--type--testimony:nth-child(1)::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 0 solid transparent;
  border-right: 22px solid transparent;
  border-top: 15px solid var(--seondary-color-bo, #efcccc);
}

.testimonies-lane > .paragraph--type--testimony:nth-child(2)::after {
  content: '';
  position: absolute;
  bottom: -14px;
  right: 0;
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-right: 0 solid transparent;
  border-top: 15px solid var(--seondary-color-bo, #efcccc);
}

.testimonies-lane > .paragraph--type--testimony:nth-child(1) {
  margin-top: 22px;
  border-bottom-left-radius: 0;
}

.testimonies-lane > .paragraph--type--testimony:nth-child(2) {
  margin-top: 180px;
  max-width: 330px;
  border-bottom-right-radius: 0;
}

.paragraph--type--testimonies.has-background .testimonies-lane > .paragraph--type--testimony.has-sequential-reveal {
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    visibility 0s linear 0.55s;
}

.paragraph--type--testimonies.has-background .testimonies-lane > .paragraph--type--testimony.has-sequential-reveal.has-sequential-reveal-left {
  transform: translateX(-56px);
}

.paragraph--type--testimonies.has-background .testimonies-lane > .paragraph--type--testimony.has-sequential-reveal.has-sequential-reveal-right {
  transform: translateX(56px);
}

@media (max-width: 900px) {
  .paragraph--type--testimonies.has-background .testimonies-lane > .paragraph--type--testimony.has-sequential-reveal.has-sequential-reveal-left {
    transform: translateX(-24px);
  }

  .paragraph--type--testimonies.has-background .testimonies-lane > .paragraph--type--testimony.has-sequential-reveal.has-sequential-reveal-right {
    transform: translateX(24px);
  }

  .paragraph--type--testimonies.has-background {
    overflow-x: hidden;
  }
}

.paragraph--type--testimonies.has-background .testimonies-lane > .paragraph--type--testimony.has-sequential-reveal.is-sequential-reveal-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition-delay: 0s;
}

.testimonies-lane > .paragraph--type--testimony.contact-mode {
  padding: 26px 22px 16px;
}

.paragraph--type--testimony.contact-mode {
  background: var(--seondary-color-bo, #efcccc);
  border-radius: 8px;
  padding: 32px;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

@media (min-width: 769px) {
  .paragraph--type--testimony.contact-mode {
    padding: 32px 32px 0 32px;
  }
}

.paragraph--type--testimony.paragraph--view-mode--default.contact-mode {
  margin-top: -30px;
  transition: margin-top 0.28s ease;
}

.paragraph--type--image-texte .testimony-wrapper > .paragraph--type--testimony.paragraph--view-mode--default.contact-mode {
  margin-top: 0;
}

.paragraph--type--image-texte.is-read-more-expanded .testimony-wrapper > .paragraph--type--testimony.paragraph--view-mode--default.contact-mode {
  margin-top: 0;
}

@media (min-width: 769px) {
  .paragraph--type--image-texte .testimony-wrapper > .paragraph--type--testimony.paragraph--view-mode--default.contact-mode.has-scroll-reveal {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-56px);
    transition:
      margin-top 0.28s ease,
      opacity 0.55s ease,
      transform 0.55s ease,
      visibility 0s linear 0.55s;
  }

  .paragraph--type--image-texte .testimony-wrapper > .paragraph--type--testimony.paragraph--view-mode--default.contact-mode.has-scroll-reveal.is-scroll-reveal-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition-delay: 0s;
    bottom: 65px;
  }
}

.paragraph--type--testimony.text-mode {
  background: var(--seondary-color-bo, #efcccc);
  border-radius: 8px;
  padding: 32px;
  box-sizing: border-box;
}

.testimony-contact {
  align-items: stretch;
  gap: 0;
}

/* Image : flush top / left / bottom, gap de 28px à droite */
.testimony-image-wrapper {
  flex: 0 0 135px;
  width: 135px;
  margin: -32px 28px -32px -32px;
}

.testimony-image {
  display: block;
  width: 135px;
  height: 100%;
  min-height: 345px;
  object-fit: cover;
}

.testimony-body {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

/* Quote icon positionné en absolu, déborde légèrement sur l'image */
.testimony-quote-icon {
  position: absolute;
  left: -60px;
  top: 8px;
  width: 50px;
  height: 40px;
  pointer-events: none;
  z-index: 1;
}

.testimony-quote-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Rangée texte — plus d'icône inline */
.testimony-text-row {
  display: block;
}

.testimony-text-row .text {
  min-width: 0;
  font-size: 15px;
  line-height: 1.35;
  font-style: italic;
}

.testimony-body--text {
  padding-left: 0;
}

.testimony-text-row .text p {
  margin: 0;
}

.testimony-text-row .text strong + br {
  display: none;
}

.testimony-text-row .text strong + br + strong {
  margin-top: 2px;
}

.testimony-text-row .text strong,
.testimony-text-row .text b {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 700;
}

.testimonies-lane > .paragraph--type--testimony.text-mode:nth-child(1) .testimony-quote-icon {
  left: -56px;
  right: auto;
  top: -56px;
}

.testimonies-lane > .paragraph--type--testimony.text-mode:nth-child(2) .testimony-quote-icon {
  left: auto;
  right: -58px;
  top: -47px;
}

/* Mail & phone : rouge, non gras, alignés avec le bord gauche du texte */
.testimony-body .mail,
.testimony-body .phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 15px;
}

/* Icônes à largeur fixe pour aligner les liens */
.contact-icon {
  flex: 0 0 20px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon img {
  display: block;
  width: auto;
  height: 16px;
}

/* Liens mail/phone : rouge, clicables */
.contact-link {
  color: #f20a00;
  font-weight: 400;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

@media (min-width: 769px) {
  a.contact-link--phone {
    pointer-events: none;
    cursor: default;
  }

  a.contact-link--phone:hover,
  a.contact-link--phone:focus-visible {
    text-decoration: none;
  }

  body.form-is-sticky .testimonies-lane {
    width: min(100%, calc(1240px - var(--hero-form-sticky-space, 490px) - 54px));
  }
}

@media (max-width: 768px) {
  .paragraph--type--testimonies.has-background {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    min-height: 900px;
    display: flex;
    align-items: center;
  }

  .testimonies-shell {
    padding: 32px 20px;
    min-height: auto;
    width: 100%;
  }

  .testimonies-lane {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    gap: 38px;
  }

  .testimonies-lane > .paragraph--type--testimony {
    position: relative;
    width: 265px;
    max-width: 265px;
  }

  .testimonies-lane > .paragraph--type--testimony:nth-child(1)::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 0 solid transparent;
    border-right: 22px solid transparent;
    border-top: 15px solid var(--seondary-color-bo, #efcccc);
  }

  .testimonies-lane > .paragraph--type--testimony:nth-child(2)::after {
    content: '';
    position: absolute;
    bottom: -14px;
    right: 0;
    width: 0;
    height: 0;
    border-left: 22px solid transparent;
    border-right: 0 solid transparent;
    border-top: 15px solid var(--seondary-color-bo, #efcccc);
  }

  .testimonies-lane > .paragraph--type--testimony:nth-child(1) {
    left: -20px;
    margin-top: 0;
    border-bottom-left-radius: 0;
  }

  .testimonies-lane > .paragraph--type--testimony:nth-child(2) {
    left: 20px;
    margin-top: 0;
    border-bottom-right-radius: 0;
  }
}

/* ─── Amounts paragraph ───────────────────────────────────────────────────── */

.paragraph--type--amounts {
  text-align: center;
  background: #f4f4f4;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0;
  padding: 60px calc(50vw - 50%);
  box-sizing: border-box;
}

.paragraph--type--amounts.paragraph--view-mode--default {
  background-color: #f4f4f4;
  background-image: url('../assets/fond-equivalences.webp');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.amounts-header {
  max-width: 600px;
  margin: 0 auto 40px;
}

.amounts-uppertitle {
  margin: 0 0 8px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 27px;
  font-weight: 500;
  font-stretch: normal;
  color: #1d1d1b;
  line-height: 115%;
  text-align: center;
}

.amounts-maintitle {
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 32px;
  font-weight: 900;
  font-stretch: condensed;
  color: #EE0200;
  text-transform: uppercase;
  line-height: 115%;
  text-align: center;
}

.amounts-circles {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.amounts-widget {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

@media (min-width: 769px) {
  body.form-is-sticky .paragraph--type--amounts.paragraph--view-mode--default {
    padding-right: calc((50vw - 50%) + var(--hero-form-sticky-space, 490px));
  }

  .amounts-header,
  .amounts-widget {
    position: relative;
    transform: translateX(-56px);
  }
}

/* Chaque cercle montant */
.paragraph--type--amount {
  margin: 0;
}

.amount-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.amount-trigger:focus-visible {
  outline: 2px solid #f20a00;
  outline-offset: 8px;
}

.amount-circle {
  --amount-fill: 0;
  width: 200px;
  height: 200px;
  position: relative;
  overflow: hidden;
  border: 1px solid #f20a00;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  box-sizing: border-box;
  box-shadow: 0 10px 22px rgba(29, 29, 27, 0.12);
}

.amount-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    #f20a00 0turn calc(var(--amount-fill) * 1turn),
    transparent calc(var(--amount-fill) * 1turn) 1turn
  );
}

.amount-circle > * {
  position: relative;
  z-index: 1;
}

.amount-value {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  font-stretch: condensed;
  color: #1d1d1b;
  line-height: 1;
  text-align: center;
}

.amount-plus {
  display: block;
  width: 28px;
  height: 28px;
}

.amount-plus img {
  display: block;
  width: 100%;
  height: 100%;
}

.amount-trigger.is-hovered .amount-circle,
.amount-trigger.is-open .amount-circle {
  --amount-fill: var(--amount-fill-hover);
}

.amounts-details {
  width: 100%;
  transition: height 0.32s ease;
}

.amount-detail {
  position: relative;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  padding: 36px 72px 36px 28px;
  background: var(--seondary-color-bo, #efcccc);
  border-radius: 8px;
}

.amount-detail.is-entering {
  animation: amountDetailSlideInDown 0.42s ease both;
}

.amount-detail.is-leaving {
  animation: amountDetailSlideOutUp 0.32s ease both;
}

.amount-detail[hidden] {
  display: none;
}

@keyframes amountDetailSlideInDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes amountDetailSlideOutUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-18px);
  }
}

.amount-detail__media {
  width: 250px;
}

.amount-detail__media img {
  display: block;
  width: 250px;
  height: 140px;
  object-fit: cover;
}

.amount-detail__content {
  min-width: 0;
  text-align: left;
}

.amount-detail__eyebrow {
  margin: 0 0 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: #1d1d1b;
}

.amount-detail__text {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  color: #1d1d1b;
  text-align: left;
}

.amount-detail__text p {
  margin: 0;
  font-size: 21px;
}

.amount-detail__text strong {
  font-weight: 700;
}

.amount-detail__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.amount-detail__close img {
  display: block;
  width: 28px;
  height: 28px;
}

/* ─── Questions paragraph ─────────────────────────────────────────────────── */

.paragraph--type--questions {
  margin-bottom: 80px;
}

.questions-shell {
  max-width: 780px;
}

.questions-header {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.questions-uppertitle {
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
  color: #1d1d1b;
}

.questions-maintitle {
  margin: 8px 0 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 32px;
  font-weight: 900;
  font-stretch: condensed;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #f20a00;
}

.questions-grid {
  display: grid;
  grid-template-columns: repeat(2, 340px);
  gap: 30px;
  margin-top: 40px;
}

.question-card {
  position: relative;
  width: 340px;
  height: 320px;
  margin: 0;
  padding: 0;
  border: 3px solid transparent;
  box-sizing: border-box;
  background: transparent;
  overflow: visible;
  isolation: isolate;
  cursor: pointer;
  perspective: 1200px;
  transition: border-color 0.28s ease;
}

.question-card:hover,
.question-card:focus-visible {
  border-color: #f20a00;
  border-width: 3px;
}

.question-card__face--front {
  border: 1px solid #c8c8c8;
}

.question-card__flip {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
}

.question-card.is-open .question-card__flip {
  transform: rotateY(180deg);
}

.question-card__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 32px;
  box-sizing: border-box;
  background: #fff;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.question-card__face--back {
  transform: rotateY(180deg);
  background: var(--seondary-color-bo, #f4e8bc);
}

.question-card__face--back .question-card__body,
.question-card__face--back .question-card__title,
.question-card__face--back .question-card__text,
.question-card__face--back .question-card__icon,
.question-card__face--back img {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@supports (-moz-appearance: none) {
  .question-card__flip {
    transform-style: flat;
  }

  .question-card.is-open .question-card__flip {
    transform: none;
  }

  .question-card__face--front,
  .question-card__face--back {
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  .question-card__face--front {
    transform: none;
    opacity: 1;
    visibility: visible;
    z-index: 2;
  }

  .question-card__face--back {
    transform: none;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
  }

  .question-card.is-open .question-card__face--front {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
  }

  .question-card.is-open .question-card__face--back {
    opacity: 1;
    visibility: visible;
    z-index: 2;
  }
}

.question-card__corner-circle {
  position: absolute;
  top: -42px;
  left: -42px;
  width: 84px;
  height: 84px;
  display: block;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.question-card__flip,
.question-card__body,
.question-card__icon {
  position: relative;
  z-index: 1;
}

.question-card__corner-circle img,
.question-card__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.question-card__title {
  width: 100%;
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  color: #1d1d1b;
  text-align: center;
}

.question-card__title-tail {
  white-space: nowrap;
}

.question-card__body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.question-card__body--back {
  height: 100%;
  align-items: flex-start;
  justify-content: center;
}

.question-card__icon {
  width: 100px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.question-card__icon--circle {
  mix-blend-mode: multiply;
}

.question-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.question-card__text {
  width: 100%;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: #1d1d1b;
  text-align: left;
  opacity: 1;
  max-height: none;
  overflow: visible;
  visibility: visible;
  transform: none;
}

.question-card__title--back {
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 700;
  text-align: left;
}

.question-card__text p {
  margin: 0;
}

.question-card.is-open {
  border-color: var(--seondary-color-bo, #f4e8bc);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
}

/* ─── Title + button paragraph ────────────────────────────────────────────── */

.title-button-block {
  width: min(100%, 720px);
  text-align: center;
}

.title-button-block__text {
  width: min(100%, 400px);
  margin: 0 auto;
}

.title-button-block__subtitle {
  margin: 10px 0 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
  color: #1d1d1b;
}

.title-button-block__title {
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 40px;
  font-weight: 900;
  font-stretch: condensed;
  line-height: 1.05;
  text-transform: uppercase;
  color: #f20a00;
}

.title-button-block__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 15px 22px;
  color: #111;
  background-color: var(--other-seondary-color-bo, #997e6f);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  transform-origin: center;
}

.title-button-block__link:hover {
  background-color: color-mix(in srgb, var(--other-seondary-color-bo, #997e6f) 85%, #000);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.14);
  transform: scale(1.03);
}

.title-button-block__link:focus-visible {
  background-color: color-mix(in srgb, var(--other-seondary-color-bo, #997e6f) 85%, #000);
  box-shadow:
    0 12px 24px rgba(17, 17, 17, 0.14),
    0 0 0 3px rgba(242, 10, 0, 0.18);
  outline: none;
  transform: scale(1.03);
}

.title-button-block__link-icon {
  width: 18px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.title-button-block__link-icon img {
  display: block;
  width: 18px;
  height: 15px;
  filter: brightness(0) saturate(100%);
}

/* ─── Slider ──────────────────────────────────────────────────────────────── */

.paragraph--type--slider.slider-block {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  width: auto;
  max-width: none;
  display: block;
}

.slider-block {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.slider-block__viewport {
  position: relative;
  width: 100%;
  margin: 0;
  min-height: 535px;
}

.slider-block__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.slider-block__slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.slider-block__media,
.slider-block__media img,
.slider-block__media picture {
  width: 100%;
  height: 535px;
  display: block;
}

.slider-block__media picture img {
  display: block;
  width: 100%;
  height: 535px;
  object-fit: cover;
}

.slider-block__media {
  position: relative;
  line-height: 0;
}

.slider-block__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.2);
}

.slider-block__media img {
  display: block;
  object-fit: cover;
}

.slider-block__content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 90px;
  max-width: 400px;
  display: flex;
  align-items: center;
}

.slider-block__panel-wrap {
  position: relative;
  width: 250px;
}

.slider-block__slide-title {
  margin: 0 0 20px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  font-stretch: condensed;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
}

.slider-block__panel {
  position: relative;
  width: 250px;
  min-height: 215px;
  padding: 40px;
  box-sizing: border-box;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slider-block__eyebrow {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  color: #f20a00;
}

.slider-block__title {
  margin: 5px 0 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
  color: #1d1d1b;
}

.slider-block__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.slider-block__dot {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  min-width: 13px;
  min-height: 13px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e6e1dc;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 0.2s ease;
}

.slider-block__dot.is-active,
.slider-block__dot[aria-pressed='true'],
.slider-block__dot:hover {
  background: #111;
}

.slider-block__red-circle {
  top: auto;
  right: -42px;
  bottom: -42px;
  left: auto;
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */

.site-footer {
  margin-top: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #111;
  color: #fff;
}

.site-footer__shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 42px 24px 46px;
  box-sizing: border-box;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 220px 235px 355px;
  gap: 36px;
  align-items: start;
  width: 882px;
  max-width: 100%;
}

.site-footer__column {
  text-align: center;
}

.site-footer__brand {
  display: inline-block;
  width: 245px;
  max-width: 100%;
}

.site-footer__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer__address,
.site-footer__title,
.site-footer__credits,
.site-footer__legal-link,
.site-footer__phone {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.site-footer__address {
  margin: 18px 0 0;
}

.site-footer__phone {
  color: inherit;
  text-decoration: none;
}

.site-footer__phone:hover,
.site-footer__phone:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__title {
  margin: 0;
  font-weight: 400;
}

.site-footer__title-line {
  white-space: nowrap;
}

.site-footer__socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.site-footer__social {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f20a00;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.site-footer__social img {
  display: block;
  max-width: 24px;
  max-height: 24px;
  width: auto;
  height: auto;
}

.site-footer__legal-link {
  display: inline-block;
  margin: 0;
  color: #fff;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__credits {
  margin: 16px 0 0;
}

.site-footer__region {
  margin-top: 24px;
}

@media (min-width: 769px) {
  .site-footer__grid {
    margin-right: auto;
  }

  .site-footer__shell {
    max-width: calc(882px + 48px);
    margin-left: max(24px, calc((100vw - 1500px) / 2 + 24px));
    margin-right: auto;
    padding-right: 24px;
  }
}

/* Laptop < 1440px : mentions + crédits passent sous les 2 premières colonnes */
@media (min-width: 769px) and (max-width: 1439px) {
  .site-footer__grid {
    grid-template-columns: 220px 235px;
    width: auto;
  }

  .site-footer__column--legal {
    grid-column: 1 / -1;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    gap: 0 32px;
    align-items: baseline;
  }

  .site-footer__credits {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .amounts-circles {
    gap: 24px;
  }

  .amount-detail {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 24px 28px;
  }

  .amount-detail__media,
  .amount-detail__media img {
    width: min(250px, 100%);
  }

  .amount-detail__text p {
    font-size: 17px;
  }

  .questions-shell {
    max-width: 100%;
  }

  .questions-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .question-card {
    width: min(100%, 340px);
  }

  .paragraph--type--questions {
    margin-bottom: 0;
  }

  .paragraph--type--title-button {
    margin-bottom: 80px;
  }

  .title-button-block__title {
    font-size: 32px;
  }

  .slider-block__viewport {
    min-height: 420px;
  }

  .slider-block__media,
  .slider-block__media img {
    height: 420px;
  }

  .slider-block__panel {
    width: 250px;
    min-height: 215px;
    padding: 32px;
  }

  .slider-block__panel-wrap {
    width: 250px;
  }

  .slider-block__content {
    top: 0;
    bottom: 0;
    left: 24px;
    max-width: min(400px, calc(100vw - 48px));
  }

  .slider-block__slide-title {
    font-size: 32px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__shell {
    padding-top: 36px;
    padding-bottom: calc(56px + max(22px, env(safe-area-inset-bottom, 0px)) + 24px);
  }
}

@media (max-width: 520px) {
  .amount-circle {
    width: 170px;
    height: 170px;
  }

  .amount-value {
    font-size: 32px;
  }

  .slider-block__viewport {
    min-height: 360px;
  }

  .slider-block__media,
  .slider-block__media img {
    height: 360px;
  }

  .slider-block__panel {
    width: auto;
    min-height: 0;
    padding: 24px;
  }

  .slider-block__panel-wrap {
    width: auto;
  }

  .slider-block__content {
    top: auto;
    display: block;
    right: 20px;
    bottom: 20px;
    left: 20px;
    max-width: none;
  }

  .slider-block__slide-title {
    margin-bottom: 14px;
    font-size: 24px;
  }

  .slider-block__panel {
    width: auto;
  }

  .slider-block__eyebrow {
    font-size: 28px;
  }
}

/* ─── Testimony wrapper (inside image-texte) ─────────────────────────────── */

.paragraph--type--image-texte .testimony-wrapper {
  max-width: 665px;
  margin-top: 28px;
}

@media (min-width: 769px) {
  .layout-container.is-assurance-vie-page .paragraph--type--image-texte .testimony-wrapper.horizontal {
    margin-top: 48px;
  }
}

.paragraph--type--image-texte .testimony-wrapper .testimony-text-row .text,
.paragraph--type--image-texte .testimony-wrapper .testimony-text-row .text p,
.paragraph--type--image-texte .testimony-wrapper .testimony-text-row .text strong,
.paragraph--type--image-texte .testimony-wrapper .testimony-text-row .text b,
.paragraph--type--image-texte .testimony-wrapper .mail,
.paragraph--type--image-texte .testimony-wrapper .phone,
.paragraph--type--image-texte .testimony-wrapper .contact-link {
  text-align: left;
}

/* ─── Read-more (image-texte) ─────────────────────────────────────────────── */

/* L'image reste à sa hauteur naturelle, le texte s'étend indépendamment */
.paragraph--type--image-texte .text-image-wrapper {
  align-items: flex-start;
}

.paragraph--type--image-texte .text-body {
  overflow: visible;
}

.paragraph--type--image-texte .text-body:not(.is-expanded) > p:last-of-type {
  display: none;
}

.paragraph--type--image-texte .btn-read-more {
  display: block;
  margin: 20px 0 0 auto;
  background: transparent;
  color: #f20a00;
  border: 1px solid #f20a00;
  border-radius: 4px;
  padding: 15px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  line-height: 23px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.paragraph--type--image-texte .btn-read-more:hover {
  background: #f20a00;
  color: #fff;
}

.btn-less {
  display: block;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

@media (min-width: 769px) {
  .btn-less {
    margin: 20px 0 50px auto;
  }
}

.btn-less img {
  display: block;
  width: 50px;
  height: 50px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE OPTIMIZATIONS  (max-width: 768px)
   Desktop (≥ 769px) is untouched above.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero — mobile image + hide form in hero ──────────────────────────────── */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  @supports (overflow: clip) {
    html,
    body {
      overflow-x: clip;
    }
  }

  .paragraph--type--hero {
    background-image: var(--hero-bg);
    background-position: left center;
    background-size: cover;
    min-height: 100dvh;
    height: 100dvh;
    position: relative;
  }

  .hero-layout {
    min-height: 100%;
    padding: 0 18px 24px;
    position: relative;
  }

  .title-wrapper.main {
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 56px + 40px);
    width: min(100%, 320px);
    max-width: 320px;
    max-height: 240px;
    height: 240px;
    flex: 0 0 240px;
    margin: 0 auto;
    transform: none;
    align-self: auto;
  }

  .layout-container.is-assurance-vie-page .title-wrapper.main {
    position: absolute !important;
    left: 0 !important;
    right: 0;
    top: auto !important;
    bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 56px + 40px);
    width: min(100%, 320px) !important;
    max-width: 320px !important;
    max-height: 240px;
    height: 240px;
    flex: 0 0 240px;
    margin: 0 auto;
    transform: none;
    align-self: auto;
  }

  .layout-container.is-assurance-vie-page .title-wrapper.main::before {
    z-index: 0 !important;
    transform: scale(1.1);
    transform-origin: center;
  }

  .layout-container.is-legs-page .title-wrapper.main::before {
    z-index: 0;
    transform: scale(1.4);
  }

  .layout-container.is-legs-page .title-wrapper.main {
    left: auto;
    right: 120px;
    top: auto;
    bottom: 135px;
    transform: none;
  }

  .title-wrapper.main .hero-heading {
    left: 18px;
    right: 28px;
    top: 50%;
    width: auto;
    max-width: none;
    transform: translateY(-50%);
    text-align: right;
    align-items: flex-end;
  }

  .title-wrapper.main .maintitle {
    left: 0;
    font-size: 26px;
    --hero-cascade-step: 18px;
  }

  .title-wrapper.main .uppertitle {
    font-size: 18px;
    --hero-cascade-step: 18px;
  }

  .layout-container.is-legs-page .title-wrapper.main .uppertitle {
    position: relative;
    left: 0;
    font-size: 15px;
    margin-bottom: 5px;
  }

  .layout-container.is-legs-page .title-wrapper.main .maintitle {
    left: 0;
    font-size: 21px;
    --hero-cascade-step: 18px;
    line-height: 22px;
  }

  .layout-container.is-assurance-vie-page .title-wrapper.main .uppertitle {
    position: relative;
    left: 0;
    font-size: 15px;
    margin-bottom: 5px;
  }

  .layout-container.is-assurance-vie-page .title-wrapper.main .maintitle {
    left: 0;
    font-size: 21px;
    line-height: 22px;
  }

  .layout-container.is-legs-page .title-wrapper.main .hero-heading {
    left: 20px;
    right: 68px;
    top: 57%;
    width: auto;
    max-width: none;
    transform: translateY(-50%);
    text-align: right;
    align-items: flex-end;
  }

  .layout-container.is-assurance-vie-page .title-wrapper.main .uppertitle {
    position: relative;
    left: -95px;
  }

  .layout-container.is-assurance-vie-page .title-wrapper.main .hero-heading {
    left: 18px;
    right: 53px;
    top: 43%;
    width: auto;
    max-width: none;
    transform: translateY(-50%);
    text-align: right;
    align-items: flex-end;
  }

  /* Form hidden inside hero — will be shown as bottom-sheet via JS */
  .paragraph--type--hero .hero-content-placeholder {
    display: none;
  }

  .paragraph--type--hero .hero-content-placeholder__contact {
    display: none;
  }
}

/* ── Header brand micro-fix on very small screens ─────────────────────────── */
@media (max-width: 480px) {
  .layout-container.is-assurance-vie-page .title-wrapper.main .maintitle {
    left: -56px;
  }

  .site-header__brand img {
    width: 230px;
    height: auto;
  }

  .site-header__nav-group--primary .site-header__link {
    padding: 10px 10px;
    font-size: 13px;
  }
}

@media (max-width: 400px) {
  .site-header__brand {
    top: 6px !important;
    left: 0 !important;
    transform: translateY(0);
  }

  .site-header__brand img {
    width: 220px !important;
    height: auto !important;
  }
}

@media (max-width: 342px) {
  .site-header__brand {
    top: 6px !important;
    left: -5px !important;
    transform: translateY(0);
  }

  .site-header__brand img {
    width: 200px !important;
    height: auto !important;
  }

  body.has-scrolled .site-header__brand {
    top: 14px !important;
    left: 9px !important;
    transform: translateY(0);
  }

  body.has-scrolled .site-header__brand img {
    width: 75px !important;
    height: auto !important;
  }

  .amount-detail__close {
    top: 3px;
    right: 3px;
  }

  .testimonies-lane > .paragraph--type--testimony.text-mode:nth-child(1) .testimony-quote-icon {
    left: -47px;
    right: auto;
    top: -47px;
  }

  .testimonies-lane > .paragraph--type--testimony.text-mode:nth-child(2) .testimony-quote-icon {
    left: auto;
    right: -47px;
    top: -46px;
  }

  .question-card__title {
    width: 100%;
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 22px;
  }

  .question-card__icon {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 372px) {
  .hero-content-placeholder__title {
    font-size: 18px;
  }

  .hero-content-placeholder__form {
    margin-top: 10px;
  }

  .hero-content-placeholder .js-form-item label,
  .hero-content-placeholder legend span {
    font-size: 14px;
  }

  .hero-content-placeholder [id^="edit-recevoir-par"][id$="--wrapper"] .fieldset-wrapper {
    margin-left: calc(110px + 8px);
  }

  .hero-content-placeholder [id^="edit-recevoir-par"]:not([id$="--wrapper"]) {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: nowrap;
    max-width: 215px;
    padding: 2px 4px;
    border: 0.5px solid #1d1d1b;
    border-radius: 90px;
    box-sizing: border-box;
  }

  .hero-content-placeholder .form-type-radio input:checked + .option {
    background: #f20a00;
    border-color: #f20a00;
    color: #fff;
    font-size: 14px;
    width: auto;
  }

  .hero-content-placeholder .hero-webform__choice-inline-options .form-item:last-child .option {
    position: relative;
    left: -5px;
  }

  .hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-visuals {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 65px;
    min-height: 80px;
  }

  .hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-text {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    font-size: 15px;
  }

  .hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-description {
    grid-column: 2;
    grid-row: 2;
    margin: 2px 0 0;
    font-size: 14px;
  }

  .hero-content-placeholder__contact .contact-link {
    font-size: 14px;
  }

  .hero-contact-close {
    top: 4px;
    right: 4px;
  }

  .doc-sheet-close {
    top: 2px;
    right: 5px;
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 768px) {
  .hero-content-placeholder [id^="edit-recevoir-par"]:not([id$="--wrapper"]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    gap: 2px;
    padding: 2px;
  }

  .hero-content-placeholder .hero-webform__choice-inline-options {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .hero-content-placeholder .hero-webform__choice-inline-options .form-item,
  .hero-content-placeholder .form-type-radio,
  .hero-content-placeholder .hero-webform__choice-inline-options .form-item:first-child,
  .hero-content-placeholder .hero-webform__choice-inline-options .form-item:last-child {
    min-width: 0;
    flex: 1 1 0;
  }

  .hero-content-placeholder .form-type-radio .option,
  .hero-content-placeholder .hero-webform__choice-inline-options .form-item:first-child .option,
  .hero-content-placeholder .hero-webform__choice-inline-options .form-item:last-child .option,
  .hero-content-placeholder .form-type-radio input:checked + .option {
    width: 100%;
    min-width: 0;
    max-width: none;
    flex: 1 1 auto;
    padding: 0 6px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-content-placeholder .hero-webform__choice-inline-options .form-item:last-child .option {
    position: static;
  }
}

@media (min-width: 1100px) and (max-height: 900px) {
  .hero-layout {
    grid-template-columns: minmax(240px, 1fr) 440px 295px;
    gap: 8px;
    align-items: end;
    margin-top: -8px;
    padding-top: 20px;
  }

  .hero-content-placeholder {
    grid-column: 3;
    grid-row: 1;
    min-width: 440px;
    width: 440px;
    max-width: 440px;
    margin-top: -20px;
    padding: 18px 20px;
  }

  .hero-content-placeholder__contact {
    grid-column: 3;
    grid-row: 2;
    width: 295px;
    min-height: 85px;
    margin: 10px 20px 0 0;
    align-self: start;
    justify-self: end;
    grid-template-columns: 69px minmax(0, 1fr);
  }

  .hero-content-placeholder__contact.is-open {
    width: 430px;
    /* min-height: 180px; */
  }
}

/* ── Amounts — scroll-snap carousel with peek ─────────────────────────────── */
@media (max-width: 768px) {
  .amounts-header {
    max-width: 310px;
    margin-left: auto;
    margin-right: auto;
  }

  .amounts-uppertitle {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 300;
  }

  .amounts-maintitle {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 32px;
    font-weight: 900;
    font-stretch: condensed;
    color: #EE0200;
    text-transform: uppercase;
    line-height: 115%;
  }

  .paragraph--type--amounts {
    padding: 40px 0 50px;
  }

  .paragraph--type--amounts.paragraph--view-mode--default {
    background-position: center top;
  }

  /* Flex carousel: each trigger takes 65vw → ~35% of next circle peeks */
  .amounts-circles {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: calc((100vw - 200px) / 2);
    padding: 8px calc((100vw - 200px) / 2) 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
  }

  .amounts-circles::-webkit-scrollbar {
    display: none;
  }

  .amounts-circles .amount-trigger {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    scroll-snap-align: center;
  }

  .amount-circle {
    width: 200px;
    height: 200px;
  }

  .amount-value {
    font-size: 28px;
  }

  .amount-detail {
    margin: 0 18px;
  }

  /* Questions: horizontal scroll carousel — next card barely peeks on right */
  .questions-grid {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: unset;
    justify-items: unset;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 34px 20px 16px 48px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
    margin-top: 24px;
  }

  .questions-grid::-webkit-scrollbar {
    display: none;
  }

  .question-card {
    flex: 0 0 calc(100vw - 90px);
    width: calc(100vw - 90px);
    height: 320px;
    scroll-snap-align: start;
  }

  .question-card--ios-safari .question-card__flip {
    transform-style: flat;
  }

  .question-card--ios-safari.is-open .question-card__flip {
    transform: none;
  }

  .question-card--ios-safari .question-card__face--front,
  .question-card--ios-safari .question-card__face--back {
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  .question-card--ios-safari .question-card__face--front {
    transform: none;
    opacity: 1;
    visibility: visible;
    z-index: 2;
  }

  .question-card--ios-safari .question-card__face--back {
    transform: none;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
  }

  .question-card--ios-safari.is-open .question-card__face--front {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
  }

  .question-card--ios-safari.is-open .question-card__face--back {
    opacity: 1;
    visibility: visible;
    z-index: 2;
  }

  .question-card__corner-circle {
    top: -30px;
    left: -30px;
    width: 60px;
    height: 60px;
  }
}

/* ── Image-texte — stack on mobile ────────────────────────────────────────── */
@media (max-width: 768px) {
  .paragraph--type--image-texte {
    width: min(100%, 340px);
    max-width: 340px;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .paragraph--type--image-texte .text-image-wrapper {
    flex-direction: column;
    gap: 24px;
  }

  .paragraph--type--image-texte .text {
    display: contents;
  }

  .paragraph--type--image-texte .title {
    order: 1;
    overflow-wrap: break-word;
  }

  .paragraph--type--image-texte .image--with-circle {
    order: 2;
  }

  .paragraph--type--image-texte .text-body,
  .paragraph--type--image-texte .btn-read-more,
  .paragraph--type--image-texte .btn-less {
    order: 3;
  }

  .paragraph--type--image-texte .btn-read-more,
  .paragraph--type--image-texte .btn-less {
    margin-left: 0;
    margin-right: auto;
  }

  .paragraph--type--image-texte .text-body p:first-child {
    margin-top: 0;
  }

  .paragraph--type--image-texte .testimony-wrapper {
    order: 4;
    margin-top: 40px;
    width: min(100%, 340px);
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .paragraph--type--image-texte .testimony-wrapper > .paragraph--type--testimony.paragraph--view-mode--default.contact-mode {
    width: 100%;
  }

  .paragraph--type--testimony.contact-mode {
    background: var(--seondary-color-bo, #efcccc);
    border-radius: 8px;
    padding: 17px;
  }

  .paragraph--type--image-texte .testimony-wrapper .testimony-contact {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch;
  }

  .paragraph--type--image-texte .testimony-wrapper .testimony-image-wrapper {
    flex: 0 0 auto;
    width: calc(100% + 64px);
    margin: -32px -32px 20px -32px;
  }

  .paragraph--type--image-texte .testimony-wrapper .testimony-image {
    width: 100%;
    height: 190px;
    min-height: 190px;
    object-fit: cover;
  }

  .paragraph--type--image-texte .testimony-wrapper .testimony-body {
    flex: 1 1 auto;
    min-width: 0;
  }

  .paragraph--type--image-texte .testimony-wrapper .testimony-quote-icon {
    left: 0;
    top: -50px;
    width: 50px;
    height: 40px;
    z-index: 1;
  }

  .paragraph--type--image-texte .testimony-wrapper .mail,
  .paragraph--type--image-texte .testimony-wrapper .phone {
    gap: 8px;
  }

  .paragraph--type--image-texte .testimony-wrapper .phone {
    margin-top: 4px;
  }

  .image--with-circle {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .image--with-circle img:first-child {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
  }

  .image--with-circle .image__red-circle {
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    z-index: 2;
  }
}

/* ── Slider — portrait layout on mobile ──────────────────────────────────── */
@media (max-width: 768px) {
  .slider-block__viewport {
    min-height: 520px;
  }

  .slider-block__media,
  .slider-block__media img,
  .slider-block__media picture,
  .slider-block__media picture img {
    height: 520px;
    width: 100%;
    display: block;
    object-fit: cover;
  }

  .slider-block__content {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
  }

  .slider-block__content-inner {
    width: 215px;
  }

  .slider-block__panel-wrap,
  .slider-block__panel {
    width: 215px;
  }

  .slider-block__panel {
    padding: 20px;
    min-height: 215px;
    box-sizing: border-box;
  }

  .slider-block__slide-title {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .slider-block__eyebrow {
    font-size: 26px;
  }

  .slider-block__red-circle {
    width: 60px;
    height: 60px;
    right: -20px;
    bottom: -20px;
  }
}

/* ── Doc-sheet — fixed CTA + bottom-sheet ────────────────────────────────── */
@media (max-width: 900px) {
  /* The Hero uses the mobile layout up to the 900px breakpoint. */
  .paragraph--type--hero {
    background-image: var(--hero-bg);
    background-position: left center;
    background-size: cover;
    min-height: 100dvh;
    height: 100dvh;
    position: relative;
    overflow-x: hidden;
  }

  .layout-container.is-legs-page .paragraph--type--hero {
    background-position: left center;
  }

  .layout-container.is-assurance-vie-page .paragraph--type--hero {
    background-position: center center;
  }

  .hero-layout {
    min-height: 100%;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 18px 24px;
    position: relative;
  }

  /* The fixed CTA replaces the in-hero form on the whole mobile range. */
  .paragraph--type--hero .hero-content-placeholder,
  .paragraph--type--hero .hero-content-placeholder__contact {
    display: none;
  }

  .doc-sheet-trigger {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: max(22px, env(safe-area-inset-bottom, 0px));
    z-index: 30;
    height: 56px;
    border: 0;
    border-radius: 4px;
    background: #f20a00;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    transition:
      background-color 0.2s ease,
      box-shadow 0.2s ease,
      transform 0.2s ease;
  }

  .doc-sheet-trigger:hover {
    background: #d40900;
    box-shadow: 0 18px 34px rgba(242, 10, 0, 0.24);
    transform: translateY(-2px);
  }

  .doc-sheet-trigger:focus-visible {
    background: #d40900;
    box-shadow:
      0 18px 34px rgba(242, 10, 0, 0.24),
      0 0 0 3px rgba(242, 10, 0, 0.16);
    outline: none;
    transform: translateY(-2px);
  }

  body.has-doc-sheet-open {
    overflow: hidden;
  }

  body.has-doc-sheet-open .doc-sheet-trigger {
    display: none;
  }

  .doc-sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.76);
    z-index: 60;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
  }

  .doc-sheet-overlay:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
  }

  /* Bottom-sheet: hero placeholder becomes full-screen sheet when open */
  body.has-doc-sheet-open .hero-content-placeholder {
    display: grid;
    align-items: start;
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 122px;
    top: calc(max(var(--site-header-offset-top, 0px), env(safe-area-inset-top, 0px)) + 72px);
    z-index: 70;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    margin: 0;
    padding: 20px 10px max(8px, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    width: auto;
    max-width: none;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    transform: translateY(0);
    animation: docSheetIn 0.3s ease forwards;
  }

  body.has-doc-sheet-open .hero-content-placeholder .hero-content-placeholder__inner {
    width: 100%;
    min-height: 0;
    overflow: visible;
  }

  body.has-doc-sheet-open .hero-content-placeholder .hero-webform__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.has-doc-sheet-open .hero-content-placeholder .form-item-prenom,
  body.has-doc-sheet-open .hero-content-placeholder .form-item-nom {
    grid-column: span 1;
  }

  body.has-doc-sheet-open .paragraph--type--hero .hero-content-placeholder__contact {
    display: grid;
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 20px;
    z-index: 70;
    width: auto !important;
    max-width: none;
    box-sizing: border-box;
    min-height: 86px;
    margin: 0;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  }

  body.has-doc-sheet-open .paragraph--type--hero .hero-content-placeholder__contact.is-open {
    width: auto;
  }

  .doc-sheet-close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d1d1b;
    z-index: 1;
  }

  .doc-sheet-close:hover {
    background: rgba(0, 0, 0, 0.14);
  }
}

@media (max-width: 480px) {
  .sd-cmp-nkWFW.sd-cmp-M1Z0E {
    left: 10px !important;
    bottom: 85px !important;
  }
}

@media (max-width: 430px) {
  body.has-doc-sheet-open .hero-content-placeholder {
    left: 12px;
    right: 12px;
    padding-right: max(6px, env(safe-area-inset-right, 0px));
    padding-left: max(6px, env(safe-area-inset-left, 0px));
  }

  body.has-doc-sheet-open .paragraph--type--hero .hero-content-placeholder__contact {
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
  }
}

@media (max-width: 375px) {
  body.has-doc-sheet-open .hero-content-placeholder .form-actions input[type="submit"],
  body.has-doc-sheet-open .hero-content-placeholder .form-actions .button {
    margin-bottom: 10px;
  }
}

@keyframes docSheetIn {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

/* ── Hero contact card — backdrop + close button + mobile UX ─────────────── */
@media (max-width: 768px) {
  /* Backdrop that dims the form sheet when the contact card is open */
  .hero-contact-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 73;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  body.hero-contact-open .hero-contact-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  /* Lift the open contact card above the backdrop */
  body.has-doc-sheet-open.hero-contact-open .paragraph--type--hero .hero-content-placeholder__contact.is-open {
    z-index: 74;
  }

  /* Center email and phone in the expanded mobile card (reinforces global rule in grid-contents context) */
  body.has-doc-sheet-open .hero-content-placeholder__contact.is-open .hero-content-placeholder__contact-line {
    justify-content: center;
  }
}

/* ─── User profile page (/user) ──────────────────────────────────────────── */

.user-profile-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 160px);
  padding: 56px 24px;
  box-sizing: border-box;
  background: #f7f7f5;
}

.user-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.07);
  padding: 48px 56px 44px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.user-profile-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f20a00;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.user-profile-card__name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1d1d1b;
  margin: 0;
  line-height: 1.15;
}

.user-profile-card__since {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 13px;
  color: #888;
  margin: 0;
  line-height: 1.5;
}

.user-profile-card__since strong {
  color: #555;
  font-weight: 600;
}

.user-profile-card__cta {
  display: inline-block;
  margin-top: 12px;
  padding: 11px 28px;
  background: #f20a00;
  color: #fff;
  border-radius: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.user-profile-card__cta:hover {
  background: #d40900;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 480px) {
  .user-profile-card {
    padding: 36px 28px 32px;
  }
}
