/* ============================================================
   CSS Custom Properties (Design Tokens)
   ============================================================ */
:root {
  --white: #fff;
  --Meilleurtaux-Tertiary-500: #868686;
  --Meilleurtaux-Tertiary-100: #f9f4f1;
  --black: #302e2d;
  --color-black-900: #302e2d;
  --color-black-200: #302e2d;
  --color-default-white: #fdfdfd;
  --secondary-70: #535353;
  --color-state-bg-primary: #f9f4f1;
  --color-state-red: #f84141;
  --Couleurs-Marron-500: #6d3311;
}

/* ============================================================
   Hero Section
   ============================================================ */
.auto-cards-hero {
  background: #f9f4f1;
  color: #302e2d;
  font-family:
    DM Sans,
    sans-serif;
  padding: 40px 20px 48px;

  .NewtsBloc.TrustReview {
    justify-content: center;
  }
}

.auto-cards-hero__container {
  margin: 0 auto 20px;
  max-width: 1175px;
  text-align: center;
}

.auto-cards-hero__title {
  color: #302e2d;
  font-size: 30px;
  font-weight: 800;
  line-height: 140%;
  margin: 0 0 28px;
  text-align: left;
}

.auto-cards-hero__title span {
  color: #c0543a;
  font-weight: inherit;
}

.auto-cards-hero__content {
  position: relative;
}

.auto-cards-hero__cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.auto-cards-hero__laurel {
  display: none;
}

.auto-cards-hero__cta {
  align-items: center;
  background: #c0543a;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 18px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.2;
  margin-top: 32px;
  min-height: 56px;
  padding: 19px 30px;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  width: 100%;
  height: 56px;
}

.auto-cards-hero__cta:focus,
.auto-cards-hero__cta:hover {
  background: #9a432e;
  transform: translateY(-1px);
}

.auto-insurance-hero__trust {
  align-items: center;
  color: #302e2d;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px 8px;
  justify-content: center;
  margin-top: 24px;
}

.auto-insurance-hero__trust strong {
  color: #6d3311;
  font-size: 22px;
  line-height: 1;
}
.auto-insurance-hero__trust a {
  color: #6d3311 !important;
  font-weight: 600;
  text-decoration: underline;
}

.auto-insurance-hero__trust-brand {
  font-weight: 600;
}
.auto-insurance-hero__trust-brand img {
  width: 96px;
}

.auto-insurance-hero__trust-stars {
  color: #fff;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
  padding: 0 1px;
  gap: 2px;
  display: flex;
}
.auto-insurance-hero__trust-stars img {
  height: 18px;
  width: 18px;
}

/* ============================================================
  Trustpilot — Surcharge au composant de PROD (.NewtsBloc.TrustReview)
============================================================ */
:where(.sous-home-section, .hero-section) .NewtsBloc.TrustReview {
  flex-direction: row;
  height: 38px;
  gap: 23px;
  justify-content: center;
}
:where(.sous-home-section, .hero-section) .NewtsBloc.TrustReview .TsImages {
  display: flex;
  align-items: center;
  gap: 10px;
}
:where(.sous-home-section, .hero-section)
  .NewtsBloc.TrustReview
  .TsImages
  .logoTs {
  width: 90px;
  height: auto;
}
:where(.sous-home-section, .hero-section)
  .NewtsBloc.TrustReview
  .TsImages
  .imgStars {
  display: flex;
  align-items: center;
  height: auto;
  gap: 2px;
}
:where(.sous-home-section, .hero-section)
  .NewtsBloc.TrustReview
  .TsImages
  .imgStars
  img {
  width: 16px;
  height: 16px;
  margin: 6px 0 0 !important;
}
:where(.sous-home-section, .hero-section) .NewtsBloc.TrustReview .TsNote {
  color: #6d3311;
  font-weight: 600;
  font-size: 14px;
  line-height: 160%;
  margin-top: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 992px) {
  :where(.sous-home-section, .hero-section) .NewtsBloc.TrustReview {
    gap: 16px;
    justify-content: start;
  }

  :where(.sous-home-section, .hero-section)
    .NewtsBloc.TrustReview
    .TsImages
    .logoTs {
    width: 97px;
  }

  :where(.sous-home-section, .hero-section)
    .NewtsBloc.TrustReview
    .TsImages
    .imgStars
    img {
    width: 18px;
    height: 18px;
  }
}

/* ============================================================
   Cards
   ============================================================ */
.auto-cards-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(48, 46, 45, 0.16);
  margin: 0 auto;
  min-height: unset;
  overflow: hidden;
  padding: 19px 24px 28px;
  position: relative;
  width: 100%;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  flex-direction: wrap;
}

.sous-home-page-section .container .container {
  padding: 0;
}

.auto-cards-card .logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 68px;
  margin-bottom: 2px;
  width: 68px;
  padding: 26px;
  box-sizing: content-box;
}
.auto-cards-card .logo-wrapper img {
  width: 100%;
  height: auto;
}
.auto-cards-card__badge {
  background: #fff0ec;
  color: #c0543a;
  font-size: 14px;
  left: 0;
  line-height: 1.2;
  flex: calc(100% + 48px) 0 0;
  margin: -20px -24px 15px;
  padding: 5px 16px;
  font-weight: 700;
  position: relative;
  right: 0;
  top: 0;
}

.auto-cards-card__logo {
  display: block;
  margin: 0 auto 2px;
  height: 88px;
  width: 88px;
  -o-object-fit: contain;
  object-fit: contain;
}

.auto-cards-card__label {
  color: #302e2d;
  font-size: 16px;
  line-height: 1.35;
  margin: 0 0 6px;
}

.auto-cards-card__target {
  color: #302e2d;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 8px;
  display: block;
}

.auto-cards-card__from {
  color: #c0543a;
  font-size: 12px;
  line-height: 1.2;
  margin: 0;
}

.auto-cards-card__price {
  color: #c0543a;
  font-weight: 800;
  line-height: 0.9;
  margin: 2px 0 10px;
  min-height: 58px;
}

.auto-cards-card__price span {
  font-size: 60px;
  letter-spacing: 0;
  font-weight: 700;
}

.auto-cards-card__price sup {
  font-size: 20px;
  margin-left: 9px;
  vertical-align: 18px;
  transform: translateY(-6px);
  display: inline-block;
}

.auto-cards-card__price small {
  display: inline-block;
  font-size: 16px;
  font-weight: 400;
  margin-left: -27px;
  vertical-align: 0;
  transform: translateX(-14px);
}

.auto-cards-card__rating {
  color: #f7a900;
  font-size: 18px;
  letter-spacing: 2px;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero.hero-section .hero__cards-row {
  max-width: unset;
}
.hero.hero-section .hero__cards-row [class*="btn-primary--rounded"] {
  flex: 1;
}
.hero.hero-section .hero__cards-row.gap-24 {
  gap: 24px;
}

.hero.hero-section .hero__title .hero__title--dark {
  line-height: 110%;
  display: inline-block;
  font-size: 40px;
}
.hero.hero-section .hero__subtitle span {
  font-size: inherit;
}

.hero.hero-section .hero__tunnel + .auto-insurance-hero__trust {
  margin-top: 0;
  display: none;
  justify-content: center;
}
.hero__tunnel-tablette .hero__cards-row.full-tablette {
  flex-direction: column;
}

.hero.hero-section .hero__tunnel-tablette + .auto-insurance-hero__trust {
  display: flex;
  justify-content: center;
}

.hero.hero-section .hero__tunnel-title {
  font-size: 20px;
}

.hero.hero-section .hero__tunnel-tablette {
  align-items: start;
}
.hero.hero-section .hero__tunnel-tablette.full-width {
  max-width: unset;
  width: 100%;
}
.hero.hero-section .hero__tunnel-tablette.pt-48 {
  padding-top: 48px;
}
.hero.hero-section .container.media-container {
  padding: 0;
}
.btn.btn-primary--rounded-full {
  height: 56px;
  border-radius: 33px;
  font-size: 18px;
  background-color: #c0543a;
  display: flex;
}

.btn.btn-primary--rounded-full:hover {
  background-color: #9a432e;
}
.btn.btn-primary--rounded-full .hero__card-label {
  font-size: inherit;
}

.btn.btn-primary--rounded-full-outline {
  height: 64px;
  border-radius: 33px;
  font-size: 20px;
  background-color: transparent;
  border: 1px solid #c0543a;
  color: #c0543a;
  text-align: center;
  display: flex;
}
.btn.btn-primary--rounded-full-outline .hero__card-label {
  color: inherit;
  font-size: inherit;
}
.btn.btn-primary--rounded-full-outline:hover {
  border-color: #9a432e;
  color: #9a432e;
  background-color: transparent;
}
.btn.btn-primary--rounded-full-outline,
.btn.btn-primary--rounded-full {
  display: flex;
  margin: 0;
  width: 100%;
  justify-content: center;
}
/* ignore style Bloc Bilan en prod */
.bandeau-cta__content span {
  font-size: unset;
  line-height: unset;
}
/* Eviter le scroll horizontal sur la section tableau dans contenu SEO */
.sous-home-page-section .tab_mass .container {
  padding: 0;
}
/* ============================================================
   Responsive — Large (≥ 1200px)
   ============================================================ */
@media (min-width: 1200px) {
  .auto-cards-card__logo {
    width: 120px;
    height: 120px;
  }
  .auto-cards-card__badge {
    flex: unset;
    margin: 0;
    position: absolute;
    right: 0;
    top: 0;
  }
  .hero.hero-section .hero__cards-row.row-cols3 .hero__card {
    max-width: 182px;
  }

  .hero.hero-section .hero__card-label {
    font-size: 16px;
  }
  .hero.hero-section .btn.btn-primary--rounded-full .hero__card-label,
  .hero.hero-section .btn.btn-primary--rounded-full-outline .hero__card-label {
    font-size: 20px;
  }
  .auto-cards-hero__laurel--left {
    left: -4px;
  }

  .auto-cards-hero__laurel--right {
    right: -4px;
  }
  .btn.btn-primary--rounded-full-outline,
  .btn.btn-primary--rounded-full {
    display: inline-flex;
    width: unset;
    justify-content: center;
  }
}

.hero.hero-section .hero__title .hero__title--accent {
  display: block;
  font-size: 30px;
}

.hero.hero-section .container > .row > .hero__text-zone {
  gap: 20px;
}
.hero.hero-section .hero__subtitle {
  font-size: 18px;
}
.hero.hero-section .hero__tunnel {
  gap: 18px;
}
.hero.hero-section .hero__tunnel .hero__cards-row .hero__card {
  min-height: 56px;
  white-space: nowrap;
}

.hero.hero-section .auto-insurance-hero__trust {
  justify-content: start;
}

.simulator-hub {
  background: #f9f4f1;
  padding: 32px 13px;
  font-family: "DM Sans", sans-serif;
  overflow: hidden;
}

.simulator-hub__nav {
  max-width: 1384px;
  margin: 0 auto;
}

.simulator-hub__header {
  margin-bottom: 24px;
}

.simulator-hub__title {
  display: block;
  color: #302e2d;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.simulator-hub__arrows {
  display: none;
}

.simulator-hub__viewport {
  overflow: visible;
}

.simulator-hub__list {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

.simulator-hub__item {
  flex: 0 0 calc((100% - 14px) / 2);
  min-width: 0;
}

.simulator-card {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  min-height: 104px;
  height: 100%;
  padding: 22px 18px;
  border-radius: 22px;
  background: #ffffff;
  color: #302e2d;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(48, 46, 45, 0.14);
  flex-direction: column;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.simulator-card__label {
  min-width: 0;
  color: #302e2d;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.simulator-card__icon {
  display: inline-flex;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--Couleurs-Marron-50, #f9f4f1);
  color: #c0543a;
  font-size: 20px;
  line-height: 1;
}

.simulator-hub__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.simulator-hub__dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #ffd1c5;
  cursor: pointer;
  transition:
    width 0.2s ease,
    background 0.2s ease;
}

.simulator-hub__dot.is-active {
  background: #9a432e;
}

.simulator-hub__dot:focus-visible {
  outline: 2px solid #c0543a;
  outline-offset: 4px;
}

@media (min-width: 768px) {
  .simulator-hub__title {
    font-size: 26px;
  }
  .simulator-hub__item {
    flex-basis: 320px;
  }
  .auto-cards-card__label {
    font-size: 18px;
  }
  .auto-cards-card__target {
    font-size: 24px;
  }
  .hero.hero-section .hero__title .hero__title--accent {
    font-size: 40px;
  }
}

@media (min-width: 992px) {
  .simulator-hub {
    padding: 36px 90px;
  }

  .simulator-hub__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
  }

  .simulator-hub__title {
    font-size: 26px;
  }

  .simulator-hub__arrows {
    display: flex;
    gap: 22px;
    flex-shrink: 0;
  }

  .simulator-hub__arrow {
    display: inline-flex;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #c0543a;
    box-shadow: 0 8px 18px rgba(48, 46, 45, 0.18);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    transition:
      background 0.2s ease,
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }

  .simulator-hub__arrow:hover {
    background: var(--totem-color-primary-500);
    svg path {
      fill: #ffffff;
    }
  }

  .simulator-hub__arrow:focus-visible {
    outline: 2px solid #c0543a;
    outline-offset: 4px;
  }

  .simulator-hub__item {
    flex: 0 0 288px;
  }

  .simulator-card {
    min-height: 105px;
    padding: 24px;
  }

  .simulator-card__label {
    font-size: 18px;
  }

  .simulator-hub__dots {
    display: none;
  }
}

@media (min-width: 1200px) {
  .simulator-hub__item {
    flex-basis: 289px;
  }
}

/* ============================================================
  Ancres de navigation rapide — décalage de scroll sous la nav fixe.
============================================================ */
html {
  scroll-padding-top: 120px;
}

/* ============================================================
   FAQ Section
   ============================================================ */
.sous-home-section-faq.variant {
  background-color: #ffffff;
}
.sous-home-section-faq.variant .faq-item {
  background-color: #f9f4f1;
}
.sous-home-section-faq .row {
  padding: 25px 0;
  max-width: 1280px;
  gap: 0;
}
.sous-home-section-faq .faq-list {
  padding: 0;
  gap: 23px;
}
.sous-home-section-faq .faq-list .faq-item {
  padding: 26px 16px;
}
.sous-home-section-faq .faq-title-section {
  text-align: left;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}
.sous-home-section-faq .faq-item img {
  transition: transform 0.2s ease;
}
.sous-home-section-faq .faq-item[open] img {
  transform: rotate(180deg);
}
.sous-home-section-faq .faq-title-section h2 {
  font-size: var(--font-heading-size-2, 30px);
  font-weight: 700;
  margin: 2px;
  line-height: 140%;
}
.sous-home-section-faq .faq-item-icon {
  flex-basis: 36px;
  height: 36px;
  width: 36px;
}
.sous-home-section-faq .faq-item h3:hover {
  color: var(--Couleurs-Marron-700, #411f0a);
}
.sous-home-page-section.ariane ul.breadcrumbs {
  padding-left: 0;
}
.sous-home-page-section.ariane .breadcrumbs li {
  list-style: none;
}
.sous-home-page-section.ariane .breadcrumbs li a {
  text-decoration: none;
  font-weight: 400;
}

/* ============================================================
   Responsive — Small (≥ 576px)
   ============================================================ */
@media (min-width: 576px) {
  .simulator-hub {
    padding: 32px 20px;
  }
  .simulator-card {
    min-height: 105px;
    padding: 24px;
    flex-direction: row;
    align-items: center;
  }
  .btn.btn-primary--rounded-full {
    height: 64px;
    font-size: 20px;
  }
  .hero.hero-section .hero__tunnel .hero__cards-row .hero__card {
    min-height: 82px;
  }
  .hero.hero-section .hero__title .hero__title--dark {
    font-size: 50px;
  }
  .auto-cards-hero {
    padding: 56px 24px 64px;
  }
  .hero.hero-section .container.media-container {
    padding: 0 25px;
  }
  .auto-cards-hero__title {
    font-size: 40px;
    text-align: center;
    line-height: 110%;
    margin-bottom: 32px;
  }

  .auto-cards-hero__cta {
    font-size: 20px;
    margin-top: 40px;
    min-width: 396px;
    width: auto;
    height: 62px;
  }
}
.sous-home-section.ct-projet-homeMetier
  .content-caroussel
  .slider-hm
  .accHorizontal__item
  .acc_cBox
  .acc_cImg
  .caption
  .h3,
.sous-home-section.ct-projet-homeMetier
  .content-caroussel
  .slider-hm
  .accHorizontal__item
  .acc_cBox
  .acc_cImg
  .caption
  a.h3,
.sous-home-section.ct-projet-homeMetier
  .content-caroussel
  .slider-hm
  .accHorizontal__item
  .acc_cBox
  .acc_cImg
  .caption
  b.h3 {
  font-size: 18px !important;
}
.sous-home-section.ct-projet-homeMetier
  .content-caroussel
  .slider-hm
  .accHorizontal__item
  .acc_cBox
  .acc_cImg
  .caption
  .h3
  p,
.sous-home-section.ct-projet-homeMetier
  .content-caroussel
  .slider-hm
  .accHorizontal__item
  .acc_cBox
  .acc_cImg
  .caption
  a.h3
  p,
.sous-home-section.ct-projet-homeMetier
  .content-caroussel
  .slider-hm
  .accHorizontal__item
  .acc_cBox
  .acc_cImg
  .caption
  b.h3
  p {
  font-size: 14px;
}
@media (min-width: 768px) {
  
  .sous-home-section .actu-content {
    padding-left: 0;
  }
  .sous-home-section-faq .faq-title-section {
    align-items: center;
  }
  .sous-home-section-faq .row {
    padding: 25px 0;
    gap: 0;
  }

  .hero.hero-section .hero__subtitle {
    font-size: 20px;
  }

  .sous-home-section-faq .faq-list {
    padding: 10px 9px;
    gap: 23px;
  }
  .sous-home-section-faq .faq-list .faq-item {
    padding: var(--totem-space-10) var(--totem-space-9);
  }
  .sous-home-section.sous-home-section-faq .faq-title-section h2 {
    font-size: var(--font-heading-size-2, 30px);
    margin: 2px;
    font-weight: 700;
    line-height: var(--font-heading-lineheight-1, 48px);
  }
}

@media (min-width: 992px) {
  .hero.hero-section .container.media-container {
    padding: 0;
  }

  .hero.hero-section .container > .row > .hero__text-zone {
    gap: 20px;
  }

  /* Zones texte et image de largeur égale (50/50) */
  .hero.hero-section .container > .row > .hero__text-zone,
  .hero.hero-section .container > .row > .hero__image-zone {
    flex: 1 1 0;
    max-width: none;
  }

  /* L'image remplit toute sa zone (sans plafond 504px ni alignement à droite) */
  .hero.hero-section .hero__image-zone {
    justify-content: stretch;
    align-items: stretch;
  }
  /* Hauteur de l'image alignée sur celle du texte (plus de plancher 464px) */
  .hero.hero-section .hero__image-wrapper {
    max-width: none;
    width: 100%;
    min-height: 0;
    height: 100%;
  }

  .hero.hero-section .hero__tunnel + .auto-insurance-hero__trust {
    display: flex;
    justify-content: start;
  }

  .hero.hero-section .hero__tunnel-tablette + .auto-insurance-hero__trust {
    display: none;
    justify-content: start;
  }

  .auto-insurance-hero__trust {
    gap: 8px 8px;
  }

  .auto-cards-card {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .auto-cards-hero {
    padding: 64px 32px 72px;
  }

  .auto-cards-hero__title {
    font-size: 40px;
    margin-bottom: 40px;
  }

  .auto-cards-hero__cards {
    display: flex;
    flex-direction: row;
    gap: 36px;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto;
    max-width: 938px;
  }

  .auto-cards-hero__laurel {
    border-bottom: 0;
    border-left: 0;
    display: block;
    height: 180px;
    opacity: 0.9;
    position: absolute;
    top: 84px;
    width: 90px;
  }

  .auto-cards-hero__laurel--left {
    left: 0;
  }

  .auto-cards-hero__laurel--right {
    right: 0;
  }
}

@media (min-width: 1200px) {
  .sous-home-section-faq .faq-title-section {
    align-items: flex-start;
  }
  .sous-home-section-faq .row {
    padding: 42px 0;
  }
  .sous-home-section-faq .faq-list {
    padding: 0;
    gap: 16px;
  }

  .sous-home-section-faq .faq-item-icon {
    flex-basis: 40px;
    height: 40px;
    width: 40px;
  }
  .sous-home-section-faq .faq-list .faq-item {
    padding: var(--totem-space-11) var(--totem-space-13);
  }
  .sous-home-section.sous-home-section-faq .faq-title-section h2 {
    font-size: var(--font-heading-size-3, 40px);
  }
}

/* CTA bas de page */
.sous-home-page-section--module-dynamique
  .cta-page
  .bandeau-cta__content
  :is(p, span) {
  font-size: 18px;
}
