/* =============================================
   MULTIME - CASDEN Banque Populaire
   Police : Ubuntu, 16px / 400
   ============================================= */

/* --- Polices locales Ubuntu --- */
@font-face {
  font-family: 'Ubuntu';
  src: url('../assets/fonts/Ubuntu-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ubuntu';
  src: url('../assets/fonts/Ubuntu-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Ubuntu';
  src: url('../assets/fonts/Ubuntu-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ubuntu';
  src: url('../assets/fonts/Ubuntu-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Ubuntu';
  src: url('../assets/fonts/Ubuntu-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ubuntu';
  src: url('../assets/fonts/Ubuntu-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Ubuntu';
  src: url('../assets/fonts/Ubuntu-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ubuntu';
  src: url('../assets/fonts/Ubuntu-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Ubuntu', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.5;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

sup {
  font-size: 0.65em;
}

/* --- Variables couleurs (maquettes VF) --- */
:root {
  --blue-navy:    #002855;   /* fond hero, footer, section expertises */
  --blue-primary: #0070b0;   /* liens actifs, accents */
  --blue-light:   #009ee0;
  --blue-bg:      #e8f4fb;
  --blue:         #004973;   /* badge MULTIME, CTA principal */
  --green-dark:   #5d9618;
  --grey-light:   #f7f7f7;
  --grey-border:  #e0e0e0;
  --grey-text:    #454545;
  --white:        #ffffff;
  --text-dark:    #000000;

  --max-width: 1200px;
  --gutter: 48px;           /* padding latéral desktop */
  --gutter-mob: 20px;       /* padding latéral mobile */
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--grey-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px var(--gutter);
  margin: 0 auto;
  gap: 16px;
}

.site-header__logos {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header__logo-casden {
  height: 38px;
  width: auto;
}

.site-header__logo-bp {
  height: 34px;
  width: auto;
}

.site-header__mention-group {
  display: flex;
  flex-direction: column;
  color: #000000;
}

.site-header__mention {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-text);
  text-align: right;
  line-height: 21px;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background-color: #092e99;
  background-image: url("../assets/images/background/nouvelleOffreFP.jpg");
  background-size: auto;
  background-repeat: no-repeat;
  background-position: center right 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 512px;
}

/* Image hero visible uniquement en mobile — cachée en desktop */
.hero__mobile-image {
  display: none;
}

.hero__inner {
  display: flex;
  align-items: stretch;
  margin: 0 auto;
  padding: 56px var(--gutter) 0;
  gap: 48px;
  min-height: 380px
}

.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding-bottom: 56px;
  max-width: 592px;
}

.hero__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.hero__desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0.88;
  max-width: 480px;
}

.hero__card {
  display: flex;
  flex-direction: row;
  padding: 16px;
  gap: 16px;
  min-width: 591px;

  background-color: white;
  color: var(--text-dark);

  border-radius: 4px;
  & .hero__card-text {
    font-weight: 400;
    line-height: 24px;
  }
}

/* CTA bleu */
.btn-blue {
  display: inline-flex;
  align-items: center;
  max-width: 215px;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  border-radius: 4px;
  padding: 8px 32px;
  width: fit-content;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

/* CTA bleu secondaire (outline blanc) */
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: 4px;
  padding: 13px 24px;
  width: fit-content;
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.hero__image {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  max-width: 500px;
}

.hero__image img,
.hero__image .img-placeholder {
  width: 100%;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  align-self: flex-end;
}

/* Logos en bas à droite du hero */
.hero__logos {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.hero__logos img {
  height: 28px;
  width: auto;
}

.hero__logos-sep {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,0.35);
}

/* =============================================
   SOUS-NAVIGATION
   ============================================= */
/* Wrapper sticky pleine largeur — ne s'anime pas */
.subnav-wrapper {
  position: sticky;
  top: 73px;
  z-index: 90;
  width: 100%;
  /* Hauteur = 0 pour ne pas pousser le contenu : la subnav flotte via translateY */
  height: 0;
  /* Pas de overflow:hidden sinon la subnav serait coupée */
  pointer-events: none;
}

/* La subnav elle-même s'anime */
.subnav {
  background: var(--white);
  pointer-events: auto;
  /* Centrage : max-width + margin auto */
  max-width: var(--max-width);
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 24px 0 #00000026;
  transform: translateY(-10%);
  transition:
    max-width     0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow    0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.subnav.is-anchored {
  max-width: 100%;
  border-radius: 0;
  box-shadow: 0 2px 12px 0 #00000018;
}

.subnav__inner {
  display: flex;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.subnav__inner::-webkit-scrollbar {
  display: none;
}

.subnav__btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Ubuntu', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 30px 0 30px 0;
  margin: 0 40px;
  white-space: nowrap;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.subnav__btn:hover,
.subnav__btn--active {
  color: var(--blue-primary);
  border-bottom-color: var(--blue-primary);
}

/* =============================================
   SECTION INTRO — La CASDEN et la Banque Populaire
   ============================================= */
.section-intro {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 123px 0 32px;
  /* Section pleine largeur — le texte est indenté par padding-left calculé */
  width: 100%;
}

.section-intro__inner {
  /* Pousse le texte pour qu'il s'aligne avec le gutter du max-width centré :
     padding-left = 50vw - max-width/2 + gutter */
  padding-left: max(var(--gutter), calc(50vw - var(--max-width) / 2));
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-intro__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

.section-intro__body {
  font-size: 16px;
  color: #000000;
  line-height: 1.5;
}

.section-intro__image {
  flex: 0 0 470px;
  align-self: stretch;
  overflow: hidden;
}

.section-intro__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: left center;
}

.section-intro__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-intro__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

.section-intro__body {
  font-size: 16px;
  color: #000000;
  line-height: 1.5;
}

.section-intro__image {
  flex: 0 0 auto;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.section-intro__image img {
  width: 470px;
  max-width: none;
  display: block;
  object-fit: cover;
}

/* =============================================
   SECTION POINTS — Jusqu'à 3 000 Points CASDEN
   ============================================= */
.section-points {
  background: #EDF5FA;
  padding: 24px var(--gutter);
}

.section-points__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Label de section (MULTIME, UN PARCOURS CLAIR…) */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
}

.section-label--steps {
  color: #0070B0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
}

.section-label--badge {
  display: inline-block;
  width: fit-content;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: #003BB2;
  background: #F9F9F9;
  border: 1px solid #0659FF;
  border-radius: 8px;
  padding: 0 12px;
}

.section-points__title {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-top: 4px;
}

.section-points__top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-points__intro {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.5;
}

.section-points__sub {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Sous-titre avant la grille */
.section-points__subtitle {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 16px;
}

.section-points__subdesc {
  font-size: 16px;
  color: var(--grey-text);
  line-height: 1.65;
  margin-bottom: 8px;
}

/* --- Grille 2×2 --- */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 8px 60px 0;
}

.card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: 4px;
  padding: 40px;
  flex: 1 1 calc(50% - 12px);
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

/* Badge centré sur la border-top */
.card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 400;
  padding: 2px 9px;
  border-radius: 8px;
  border: 1px solid;
}

.card__badge--bp {
  color: #003BB2;
  background: #EAF7FF;
  border-color: #C3DEFF;
}

.card__badge--casden {
  color: #843180;
  background: #FFF0FE;
  border-color: #FAB6F7;
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
}

.card__icon img {
  object-fit: contain;
}

/* Fallback si pas d'icône */
.icon-placeholder {
  width: 48px;
  height: 48px;
  background: var(--blue-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  font-weight: 700;
  font-size: 20px;
}

.card__title {
  font-size: 27px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  text-align: center;
}

.card__body {
  font-size: 16px;
  font-weight: 500;
  color: var(--grey-text);
  line-height: 24px;
}

/* Avertissement crédit — juste au-dessus du CTA section points */
.section-points__attention {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: var(--text-dark);
}

/* CTA centré sous la grille */
.section-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.section-cta__note {
  font-size: 13px;
  color: var(--grey-text);
  text-align: center;
}

/* =============================================
   SECTION ÉTAPES — Comment bénéficier
   ============================================= */
.section-steps {
  background: var(--white);
  padding: 80px var(--gutter);
}

.section-steps__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section-steps__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  align-items: center;
}

.section-steps__title {
  font-size: 21px;
  font-weight: 700;
  color: var(--text-dark);
}

.steps-list {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.step {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: 4px;
  padding: 32px 48px;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: visible;

  & > :nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
}

/* ---- Timeline desktop : horizontale ---- */
.step__timeline {
  position: relative;
  width: 100%;
  height: 20px;          /* hauteur = diamètre du dot */
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Barre horizontale pleine largeur */
.step__timeline-bar {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #666666;
  transform: translateY(-50%);
}

/* Rond concentrique (anneau bleu + centre blanc) */
.step__timeline-dot {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid #0070B0;
  background: var(--white);
  transform: translate(-50%, -50%);
  flex-shrink: 0;
}

/* Position horizontale du dot selon l'étape */
.step--1 .step__timeline-dot { left: 0; }
.step--2 .step__timeline-dot { left: 50%; }
.step--3 .step__timeline-dot { left: 100%; }

/* Segments mobiles masqués en desktop */
.step__seg-top,
.step__seg-bot {
  display: none;
}

/* Contenu texte de la step — flex column desktop */
.step__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.step__number {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-primary);
}

.step__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 24px;
  letter-spacing: -0.3px;
}

.step__body {
  font-size: 16px;
  font-weight: 500;
  color: var(--grey-text);
  padding-bottom: 16px;
  line-height: 1.65;
  flex: 1;
}

/* =============================================
   SECTION EXPERTISES — Le meilleur de trois expertises
   ============================================= */
.section-expertises {
  background: #EDF5FA;
  color: #000000;
  padding: 24px var(--gutter);
}

.section-expertises__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.section-expertises__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-expertises__label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #0070B0;
}

.section-expertises__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.section-expertises__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
}

.section-expertises__picto {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.section-expertises__body {
  font-size: 16px;
  line-height: 1.75;
  color: #000000;
  max-width: 86%;
}

.expertises-list {
  display: flex;
  gap: 24px;
}

.expertise-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: 4px;
  padding: 32px 40px;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.expertise-card__logo {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expertise-card__logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* Fallback logo texte ACEF */
.expertise-card__logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  letter-spacing: 1px;
}

.expertise-card__body {
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  flex: 1;
}

/* CTA sous la section expertises */
.section-expertises__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.section-expertises__cta-note {
  font-size: 13px;
  color: #454545;
  text-align: center;
}

/* =============================================
   SECTION FAQ
   ============================================= */
.section-faq {
  padding: 72px var(--gutter);
}

.section-faq__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
}

/* Div gauche : fond bleu clair, 50% de largeur, hauteur fixe */
.section-faq__left {
  width: 50%;
  height: 586px;
  flex-shrink: 0;
  background: #EDF5FA;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 80px 96px;
}

.section-faq__icon {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-faq__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-faq__heading {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

/* Div droite : fond blanc, shadow, superposée par-dessus la div gauche */
.section-faq__right {
  margin-left: -10%;
  right: 72px;
  transform: translateY(80px);
  width: 52%;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 4px 16px 0 #0000001F;
  padding: 64px 96px;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--grey-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--grey-border);
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  font-family: 'Ubuntu', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--text-dark);
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
}

.faq-item__chevron {
  flex-shrink: 0;
  color: var(--blue-primary);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.faq-item.is-open .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  font-size: 16px;
  color: var(--grey-text);
  line-height: 1.5;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item__answer-inner {
  padding-bottom: 24px;
}

/* =============================================
   SECTION MENTIONS LÉGALES
   ============================================= */
.section-mentions {
  background: var(--white);
  padding: 80px var(--gutter);
}

.section-mentions__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-mentions__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
}

.section-mentions__text {
  font-size: 13px;
  color: #888;
  line-height: 1.65;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #000000;
  color: var(--white);
  padding: 36px var(--gutter);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 36px;
}

/* Ligne haute : logo à gauche, réseaux à droite */
.site-footer__logo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer__logo img {
  height: 44px;
  width: auto;
}

/* Ligne basse : tagline | Nous contacter | Accessibilité */
.site-footer__bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer__tagline {
  font-size: 14px;
  color: var(--white);
}

.site-footer__link {
  font-size: 14px;
  color: var(--white);
  transition: color 0.2s;
}

.site-footer__link:hover {
  color: rgba(255,255,255,0.7);
}

.site-footer__socials {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.2s;
  text-decoration: none;
  flex-shrink: 0;
}

.social-icon:hover {
  opacity: 1;
}

.social-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.site-footer__divider {
  width: 100%;
  height: 1px;
  background: var(--white);
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 28px;
  font-size: 14px;
  color: var(--white);
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
}

.site-footer__bottom a {
  color: var(--white);
  transition: color 0.2s;
}

.site-footer__bottom a:hover {
  color: rgba(255,255,255,0.7);
}

/* =============================================
   PLACEHOLDERS IMAGE
   ============================================= */
.img-placeholder {
  background: #cde4f3;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  min-height: 200px;
  width: 100%;
}

/* =============================================
   RESPONSIVE — Mobile (≤ 960px)
   ============================================= */
@media (max-width: 960px) {
  :root {
    --gutter: var(--gutter-mob);
  }

  /* Header */
  .site-header__inner {
    padding: 12px var(--gutter-mob);
  }

  /* Hero */
  .hero {
    background-image: none;
    min-height: auto;
  }

  .hero__inner {
    flex-direction: column;
    padding: var(--gutter-mob);
    gap: 28px;
    min-height: auto;
    background-color: #004973;
    border-radius: 8px;
  }

  .hero__content {
    padding-bottom: 0;
    max-width: unset;
  }

  .hero__card {
    flex-direction: column;
    min-width: 0;
    width: 100%;
  }

  .hero__title {
    font-size: 31px;
  }

  .hero__desc {
    font-size: 16px;
  }

  .hero__image {
    max-width: 100%;
    width: 100%;
  }

  .hero__image .img-placeholder {
    min-height: 220px;
    border-radius: 8px 8px 0 0;
  }

  .hero__mobile-image {
    display: block;
    min-width: 100%;
    min-height: calc(100vw * 0.603);
    /*height: auto;*/
    background-image: url("../assets/images/background/nouvelleOffreFP-mobile.jpg");
    background-position: right center;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-color: #004973;
  }

  /* Subnav */
  .subnav-wrapper,
  .subnav {
    display: none;
  }

  .subnav__inner {
    padding: 0 var(--gutter-mob);
  }

  .subnav__btn {
    padding: 14px 16px;
    font-size: 13px;
  }

  /* Section intro */
  .section-intro {
    flex-direction: column;
    padding: 40px 0 0;
    gap: 24px;
  }

  .section-intro__inner {
    padding-left: var(--gutter-mob);
    padding-right: var(--gutter-mob);
  }

  .section-intro__title {
    font-size: 31px;
  }

  .section-intro__image {
    flex: none;
    width: 100%;
    align-self: auto;
  }

  .section-intro__image img {
    width: 100%;
    height: auto;
  }

  /* Section Points */
  .section-points {
    padding: 24px var(--gutter-mob);
  }

  .section-points__title {
    font-size: 31px;
  }

  .cards-grid {
    flex-direction: column;
    gap: 16px;
    margin-left: 0;
    margin-right: 0;
  }

  .card {
    flex: none;
    width: 100%;
    min-width: 0;
    padding: 24px 20px;
  }

  /* Section Steps */
  .section-steps {
    padding: 48px var(--gutter-mob);
  }

  .section-steps__title {
    font-size: 20px;
  }

  .steps-list {
    flex-direction: column;
    gap: 16px;
  }

  /* Card en flex-row : timeline à gauche, contenu à droite */
  .step {
    flex: none;
    width: 100%;
    padding: 24px 20px;
    flex-direction: row;
    gap: 16px;
    align-items: stretch;
  }

  /* Timeline verticale : colonne centrée */
  .step__timeline {
    width: 20px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    position: static;
    height: auto;
  }

  /* Cache la barre horizontale desktop en mobile */
  .step__timeline-bar {
    display: none;
  }

  /* Réaffiche les segments mobiles */
  .step__seg-top,
  .step__seg-bot {
    display: block;
  }

  /* Dot : cercle fixe, ne s'étire pas */
  .step__timeline-dot {
    position: static;
    transform: none;
    flex-shrink: 0;
  }

  /* Segment au-dessus du dot — bleu, 20px fixe — step 2 et 3 seulement */
  .step__seg-top {
    width: 1px;
    height: 20px;
    background: #0070B0;
    flex-shrink: 0;
  }

  /* Segment sous le dot — gris, prend le reste de la hauteur */
  .step__seg-bot {
    width: 1px;
    min-height: 0;
    flex-grow: 1;
    background: #666666;
  }

  /* Step 1 : pas de segment au-dessus */
  .step--1 .step__seg-top {
    display: none;
  }

  /* Step 3 : pas de barre grise en dessous */
  .step--3 .step__seg-bot {
    display: none;
  }

  .step__title {
    font-size: 18px;
  }

  /* Le contenu texte prend le reste de la largeur */
  .step__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Section Expertises */
  .section-expertises {
    padding: 48px var(--gutter-mob);
  }

  .section-expertises__title {
    font-size: 31px;
  }

  .expertises-list {
    flex-direction: column;
    gap: 16px;
  }

  .expertise-card {
    flex: none;
    width: 100%;
    padding: 24px 20px;
  }

  /* Section FAQ */
  .section-faq {
    padding: 48px var(--gutter-mob);
  }

  .section-faq__inner {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .section-faq__left {
    position: static;
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 32px 24px;
    gap: 20px;
  }

  .section-faq__right {
    margin: 0;
    position: static;
    width: 100%;
    transform: none;
    padding: 32px 24px;
  }

  .section-faq__icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
  }

  .section-faq__heading {
    font-size: 24px;
  }

  .faq-item__question {
    font-size: 20px;
  }

    /* Mentions */
  .section-mentions {
    padding: 32px var(--gutter-mob);
  }

  .section-mentions__title {
    font-size: 18px;
  }

  /* Footer */
  .site-footer {
    padding: 32px var(--gutter-mob);
  }

  .site-footer__inner {
    gap: 16px;
  }

  .site-footer__logo-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .site-footer__bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    padding-top: 20px;
  }
}
