/* Deux colonnes explicites pour éviter les largeurs et gouttières héritées. */
body.elf-site-refresh main#main-content .elf-home-hero .elf-home-hero-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 52px);
  align-items: center !important;
  margin: 0 !important;
}

body.elf-site-refresh main#main-content .elf-home-hero .elf-home-hero-row > :is(.elf-home-copy-col, .elf-home-visual-col):where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  flex: none !important;
}

body.elf-site-refresh main#main-content .elf-home-hero .elf-home-visual-panel {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.elf-site-refresh main#main-content .elf-home-hero .elf-home-photo-rotator {
  width: 100%;
  height: clamp(420px, 40vw, 620px) !important;
  min-height: 0 !important;
  max-height: 620px !important;
  aspect-ratio: auto !important;
}

body.elf-site-refresh main#main-content .elf-home-hero .elf-home-photo {
  object-position: 50% 20% !important;
}

body.elf-site-refresh main#main-content .elf-home-hero .elf-home-visual-copy strong:where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
  font-size: clamp(21px, 1.8vw, 29px) !important;
  line-height: 1.18 !important;
}

body.elf-site-refresh main#main-content .elf-home-hero .elf-home-visual-copy small:where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
  display: block;
  margin-top: 8px;
  color: #d0dce5 !important;
  -webkit-text-fill-color: #d0dce5 !important;
  font-size: 11px;
  line-height: 1.35;
}

/* Sélecteur compact à la place des anciens boutons de l’introduction. */
body.elf-site-refresh main#main-content .elf-home-submit-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: end;
  width: 100%;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.elf-site-refresh main#main-content .elf-home-submit-form > .form-group:where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
  min-width: 0;
  margin: 0 !important;
}

body.elf-site-refresh main#main-content .elf-home-submit-form .elf-form-label {
  display: block;
  margin: 0 0 5px !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}

body.elf-site-refresh main#main-content .elf-home-submit-form .form-control:where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 8px 32px 8px 12px !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
}

body.elf-site-refresh main#main-content .elf-home-submit-form > .form-text:where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

body.elf-site-refresh main#main-content .elf-home-submit-form > .btn-primary:where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
  grid-column: 3;
  grid-row: 1;
  width: auto !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 8px 14px !important;
  white-space: nowrap;
  font-size: 14px !important;
  line-height: 1.3 !important;
  background: #c62a08 !important;
  border: 1px solid #c62a08 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 8px 18px rgba(198, 42, 8, .16) !important;
  transform: none !important;
  transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease !important;
}

body.elf-site-refresh main#main-content .elf-home-submit-form > .btn-primary:is(:hover, :focus-visible):where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
  background: #b12408 !important;
  border-color: #b12408 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 10px 22px rgba(177, 36, 8, .20) !important;
}

body.elf-site-refresh main#main-content .elf-home-submit-form > p.small {
  grid-column: 1 / -1;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

body.elf-site-refresh main#main-content .elf-home-publication-section {
  padding: 28px 0 12px;
}

body.elf-site-refresh main#main-content .elf-home-publication-section .elf-home-publication-intro {
  max-width: 1120px;
}

body.elf-site-refresh main#main-content .elf-home-publication-intro h2:where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.3;
}

body.elf-site-refresh main#main-content .elf-home-publication-intro p:where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.65;
}

@media (min-width: 992px) and (max-width: 1199px) {
  body.elf-site-refresh main#main-content .elf-home-submit-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.elf-site-refresh main#main-content .elf-home-submit-form > .btn-primary:where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  body.elf-site-refresh main#main-content .elf-home-submit-form > .form-text:where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
    grid-row: 3;
  }
}

@media (max-width: 991px) {
  body.elf-site-refresh main#main-content .elf-home-hero .elf-home-hero-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  body.elf-site-refresh main#main-content .elf-home-hero .elf-home-visual-panel {
    max-width: 720px !important;
    margin-inline: auto !important;
  }
  body.elf-site-refresh main#main-content .elf-home-hero .elf-home-photo-rotator {
    height: clamp(380px, 100vw, 560px) !important;
    max-height: 560px !important;
  }
}

@media (max-width: 575px) {
  body.elf-site-refresh main#main-content .elf-home-submit-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.elf-site-refresh main#main-content .elf-home-submit-form > .btn-primary:where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  body.elf-site-refresh main#main-content .elf-home-submit-form > .form-text:where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
    grid-row: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.elf-site-refresh main#main-content .elf-home-submit-form > .btn-primary:where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
    transition: none !important;
  }
}

/* Accueil : les photos touchent leur cadre, le texte conserve son retrait. */
body.elf-site-refresh main#main-content .elf-home-hero {
  padding-top: 16px !important;
}

body.elf-site-refresh main#main-content .elf-home-hero .elf-home-visual-col {
  align-self: start;
}

body.elf-site-refresh main#main-content .elf-home-hero .elf-home-photo-rotator {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

body.elf-site-refresh main#main-content .elf-home-choice-grid > article:where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
  overflow: hidden;
  padding: 0 0 20px !important;
}

body.elf-site-refresh main#main-content .elf-home-choice-grid > article > :not(figure):where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
  margin-inline: 20px !important;
}

body.elf-site-refresh main#main-content section[aria-labelledby="envoi-title"] .elf-editorial-photo-figure {
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
}

@media (max-width: 767px) {
  body.elf-site-refresh main#main-content section[aria-labelledby="envoi-title"]:where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
    padding-block: 28px !important;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  main#main-content :is(#actualites-home-title, #faq-home-title) + .col-lg-12 > .row > .col-md-3:where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
  }
}

@layer elf-responsive-images {
  body.elf-site-refresh main#main-content .elf-home-hero .elf-home-photo {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: auto !important;
  }

  body.elf-site-refresh main#main-content .elf-home-choice-grid > article > figure.arvi-media {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  body.elf-site-refresh main#main-content section[aria-labelledby="envoi-title"] .elf-editorial-photo-figure > img:where(:not(:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]),:is(.fc-consent-root,[class^=fc-],[class*=\ fc-],.adsbygoogle,.google-auto-placed,.google-anno,google-anno,[id^=aswift_],[id^=google_ads_],[id^=div-gpt-ad],[data-google-query-id]) *,iframe[src*=fundingchoicesmessages],iframe[src*=googlesyndication],iframe[src*=doubleclick])) {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }
}
